2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
27 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
28 DUALCASE
=1; export DUALCASE
# for MKS sh
32 # Avoid depending upon Character Ranges.
33 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits
='0123456789'
37 as_cr_alnum
=$as_cr_Letters$as_cr_digits
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
44 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52 # Support unset when possible.
53 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
69 # Find who we are. Look in the path if we contain no directory separator.
71 *[\\/]* ) as_myself
=$0 ;;
72 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
76 test -z "$as_dir" && as_dir
=.
77 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x
; then
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var
in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C
; export $as_var
110 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
114 # Required to use basename.
115 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
122 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
129 # Name of the executable.
130 as_me
=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
153 if test "x$CONFIG_SHELL" = x
; then
154 if (eval ":") 2>/dev
/null
; then
160 if test $as_have_required = yes && (eval ":
170 as_func_ret_success () {
173 as_func_ret_failure () {
178 if as_func_success; then
182 echo as_func_success failed.
185 if as_func_failure; then
187 echo as_func_failure succeeded.
190 if as_func_ret_success; then
194 echo as_func_ret_success failed.
197 if as_func_ret_failure; then
199 echo as_func_ret_failure succeeded.
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 echo positional parameters were not saved.
209 test \$exitcode = 0) || { (exit 1); exit 1; }
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev
/null
; then
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
235 for as_shell
in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
250 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
251 DUALCASE
=1; export DUALCASE
# for MKS sh
256 CONFIG_SHELL
=$as_shell
258 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
268 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
270 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
271 DUALCASE
=1; export DUALCASE
# for MKS sh
283 as_func_ret_success
() {
286 as_func_ret_failure
() {
291 if as_func_success
; then
295 echo as_func_success failed.
298 if as_func_failure
; then
300 echo as_func_failure succeeded.
303 if as_func_ret_success
; then
307 echo as_func_ret_success failed.
310 if as_func_ret_failure
; then
312 echo as_func_ret_failure succeeded.
315 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
319 echo positional parameters were not saved.
322 test $exitcode = 0) || { (exit 1); exit 1; }
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
339 if test "x$CONFIG_SHELL" != x
; then
340 for as_var
in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 if test $as_have_required = no
; then
349 echo This
script requires a shell
more modern than all the
350 echo shells that I found on your system. Please
install a
351 echo modern shell
, or manually run the
script under such a
352 echo shell
if you
do have one.
353 { (exit 1); exit 1; }
363 (eval "as_func_return () {
372 as_func_ret_success () {
375 as_func_ret_failure () {
380 if as_func_success; then
384 echo as_func_success failed.
387 if as_func_failure; then
389 echo as_func_failure succeeded.
392 if as_func_ret_success; then
396 echo as_func_ret_success failed.
399 if as_func_ret_failure; then
401 echo as_func_ret_failure succeeded.
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 echo positional parameters were not saved.
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system
,
414 echo including any error possibly output before this
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x
"$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
463 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
469 ECHO_C
= ECHO_N
= ECHO_T
=
473 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
480 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
487 rm -f conf$$ conf$$.exe conf$$.
file
488 if test -d conf$$.dir
; then
489 rm -f conf$$.dir
/conf$$.
file
495 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
503 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir -p .
2>/dev
/null
; then
514 test -d .
/-p && rmdir .
/-p
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.
file <<_ASEOF
525 if test -x conf$$.
file >/dev
/null
2>&1; then
526 as_executable_p
="test -x"
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 exec 7<&0 </dev
/null
6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix
=/usr
/local
552 ac_config_libobj_dir
=.
558 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Identity of this package.
561 PACKAGE_NAME
='wxWidgets'
562 PACKAGE_TARNAME
='wxwidgets'
563 PACKAGE_VERSION
='2.9.0'
564 PACKAGE_STRING
='wxWidgets 2.9.0'
565 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
567 ac_unique_file
="wx-config.in"
568 # Factoring default headers for most tests.
569 ac_includes_default
="\
572 # include <sys/types.h>
575 # include <sys/stat.h>
586 # if !STDC_HEADERS && HAVE_MEMORY_H
592 # include <strings.h>
595 # include <inttypes.h>
613 program_transform_name
702 LIBGNOMEPRINTUI_CFLAGS
746 SAMPLES_RPATH_POSTLINK
792 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
793 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
794 COND_BUILD_DEBUG_UNICODE_0
795 COND_BUILD_DEBUG_UNICODE_1
797 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
798 COND_BUILD_RELEASE_UNICODE_0
799 COND_BUILD_RELEASE_UNICODE_1
808 COND_MONOLITHIC_0_SHARED_0
809 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
810 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
811 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
812 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
813 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
815 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
816 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
817 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
818 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
819 COND_MONOLITHIC_0_SHARED_1
820 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
826 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
827 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
829 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
830 COND_MONOLITHIC_0_USE_AUI_1
831 COND_MONOLITHIC_0_USE_GUI_1
832 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_USE_HTML_1
835 COND_MONOLITHIC_0_USE_MEDIA_1
836 COND_MONOLITHIC_0_USE_ODBC_1
837 COND_MONOLITHIC_0_USE_QA_1
838 COND_MONOLITHIC_0_USE_RICHTEXT_1
839 COND_MONOLITHIC_0_USE_STC_1
840 COND_MONOLITHIC_0_USE_XRC_1
842 COND_MONOLITHIC_1_SHARED_0
843 COND_MONOLITHIC_1_SHARED_1
844 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
845 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
846 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
847 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
848 COND_PLATFORM_MACOSX_1
849 COND_PLATFORM_MACOSX_1_TOOLKIT_
850 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
851 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
852 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
853 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
854 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
855 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
856 COND_PLATFORM_MACOSX_1_USE_GUI_1
857 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
858 COND_PLATFORM_MACOS_1
860 COND_PLATFORM_MSDOS_0
861 COND_PLATFORM_MSDOS_1
865 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
866 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
867 COND_PLATFORM_UNIX_1_USE_GUI_1
868 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
869 COND_PLATFORM_WIN32_0
870 COND_PLATFORM_WIN32_1
872 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
873 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
874 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
875 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
876 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
877 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
878 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
879 COND_SHARED_0_USE_XRC_1
880 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
881 COND_SHARED_0_WXUSE_ODBC_BUILTIN
882 COND_SHARED_0_WXUSE_REGEX_BUILTIN
883 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
885 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
886 COND_SHARED_1_USE_XRC_1
889 COND_TOOLKIT_COCOA_USE_GUI_1
890 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
892 COND_TOOLKIT_DFB_USE_GUI_1
894 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
895 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
896 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
897 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
898 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
899 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
900 COND_TOOLKIT_GTK_USE_GUI_1
902 COND_TOOLKIT_MAC_USE_GUI_1
903 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_MGL_USE_GUI_1
907 COND_TOOLKIT_MOTIF_USE_GUI_1
908 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_MSW_USE_GUI_1
911 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_MSW_WXUNIV_0
914 COND_TOOLKIT_PM_USE_GUI_1
915 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_WINCE_USE_GUI_1
918 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_WINCE_WXUNIV_0
921 COND_TOOLKIT_X11_USE_GUI_1
923 COND_USE_EXCEPTIONS_0
924 COND_USE_EXCEPTIONS_1
927 COND_USE_GUI_1_WXUNIV_0
928 COND_USE_GUI_1_WXUNIV_1
929 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
930 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
931 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
938 COND_USE_SOSYMLINKS_1
939 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
940 COND_USE_SOVERLINUX_1
942 COND_USE_SOVERSOLARIS_1
946 COND_WINDOWS_IMPLIB_1
947 COND_WITH_PLUGIN_SDL_1
950 COND_WXUSE_EXPAT_BUILTIN
951 COND_WXUSE_LIBJPEG_BUILTIN
952 COND_WXUSE_LIBPNG_BUILTIN
953 COND_WXUSE_LIBTIFF_BUILTIN
954 COND_WXUSE_ODBC_BUILTIN
955 COND_WXUSE_REGEX_BUILTIN
956 COND_WXUSE_ZLIB_BUILTIN
958 WX_LIBRARY_BASENAME_NOGUI
959 WX_LIBRARY_BASENAME_GUI
992 WX_RESOURCES_MACOSX_ASCII
993 WX_RESOURCES_MACOSX_DATA
1002 ac_precious_vars
='build_alias
1023 LIBGNOMEPRINTUI_CFLAGS
1024 LIBGNOMEPRINTUI_LIBS
1033 ac_subdirs_all
='src/expat'
1035 # Initialize some variables set by options.
1037 ac_init_version
=false
1038 # The variables have the same names as the options, with
1039 # dashes changed to underlines.
1040 cache_file
=/dev
/null
1047 program_transform_name
=s
,x
,x
,
1055 # Installation directory options.
1056 # These are left unexpanded so users can "make install exec_prefix=/foo"
1057 # and all the variables that are supposed to be based on exec_prefix
1058 # by default will actually change.
1059 # Use braces instead of parens because sh, perl, etc. also accept them.
1060 # (The list follows the same order as the GNU Coding Standards.)
1061 bindir
='${exec_prefix}/bin'
1062 sbindir
='${exec_prefix}/sbin'
1063 libexecdir
='${exec_prefix}/libexec'
1064 datarootdir
='${prefix}/share'
1065 datadir
='${datarootdir}'
1066 sysconfdir
='${prefix}/etc'
1067 sharedstatedir
='${prefix}/com'
1068 localstatedir
='${prefix}/var'
1069 includedir
='${prefix}/include'
1070 oldincludedir
='/usr/include'
1071 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1072 infodir
='${datarootdir}/info'
1077 libdir
='${exec_prefix}/lib'
1078 localedir
='${datarootdir}/locale'
1079 mandir
='${datarootdir}/man'
1085 # If the previous option needs an argument, assign it.
1086 if test -n "$ac_prev"; then
1087 eval $ac_prev=\
$ac_option
1093 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1097 # Accept the important Cygnus configure options, so we can diagnose typos.
1099 case $ac_dashdash$ac_option in
1103 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1105 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1106 bindir
=$ac_optarg ;;
1108 -build | --build | --buil | --bui | --bu)
1109 ac_prev
=build_alias
;;
1110 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1111 build_alias
=$ac_optarg ;;
1113 -cache-file | --cache-file | --cache-fil | --cache-fi \
1114 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1115 ac_prev
=cache_file
;;
1116 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1117 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1118 cache_file
=$ac_optarg ;;
1120 --config-cache | -C)
1121 cache_file
=config.cache
;;
1123 -datadir | --datadir | --datadi | --datad)
1125 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1126 datadir
=$ac_optarg ;;
1128 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1129 | --dataroo | --dataro | --datar)
1130 ac_prev
=datarootdir
;;
1131 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1132 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1133 datarootdir
=$ac_optarg ;;
1135 -disable-* | --disable-*)
1136 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1139 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1140 { (exit 1); exit 1; }; }
1141 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1142 eval enable_
$ac_feature=no
;;
1144 -docdir | --docdir | --docdi | --doc | --do)
1146 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1147 docdir
=$ac_optarg ;;
1149 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1151 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1152 dvidir
=$ac_optarg ;;
1154 -enable-* | --enable-*)
1155 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1158 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1159 { (exit 1); exit 1; }; }
1160 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1161 eval enable_
$ac_feature=\
$ac_optarg ;;
1163 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1164 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1165 | --exec | --exe | --ex)
1166 ac_prev
=exec_prefix
;;
1167 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1168 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1169 | --exec=* | --exe=* | --ex=*)
1170 exec_prefix
=$ac_optarg ;;
1172 -gas | --gas | --ga | --g)
1173 # Obsolete; use --with-gas.
1176 -help | --help | --hel | --he | -h)
1177 ac_init_help
=long
;;
1178 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1179 ac_init_help
=recursive
;;
1180 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1181 ac_init_help
=short
;;
1183 -host | --host | --hos | --ho)
1184 ac_prev
=host_alias
;;
1185 -host=* | --host=* | --hos=* | --ho=*)
1186 host_alias
=$ac_optarg ;;
1188 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1190 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1192 htmldir
=$ac_optarg ;;
1194 -includedir | --includedir | --includedi | --included | --include \
1195 | --includ | --inclu | --incl | --inc)
1196 ac_prev
=includedir
;;
1197 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1198 | --includ=* | --inclu=* | --incl=* | --inc=*)
1199 includedir
=$ac_optarg ;;
1201 -infodir | --infodir | --infodi | --infod | --info | --inf)
1203 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1204 infodir
=$ac_optarg ;;
1206 -libdir | --libdir | --libdi | --libd)
1208 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1209 libdir
=$ac_optarg ;;
1211 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1212 | --libexe | --libex | --libe)
1213 ac_prev
=libexecdir
;;
1214 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1215 | --libexe=* | --libex=* | --libe=*)
1216 libexecdir
=$ac_optarg ;;
1218 -localedir | --localedir | --localedi | --localed | --locale)
1219 ac_prev
=localedir
;;
1220 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1221 localedir
=$ac_optarg ;;
1223 -localstatedir | --localstatedir | --localstatedi | --localstated \
1224 | --localstate | --localstat | --localsta | --localst | --locals)
1225 ac_prev
=localstatedir
;;
1226 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1227 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1228 localstatedir
=$ac_optarg ;;
1230 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1232 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1233 mandir
=$ac_optarg ;;
1235 -nfp | --nfp | --nf)
1236 # Obsolete; use --without-fp.
1239 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1240 | --no-cr | --no-c | -n)
1243 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1244 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1247 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1248 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1249 | --oldin | --oldi | --old | --ol | --o)
1250 ac_prev
=oldincludedir
;;
1251 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1252 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1253 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1254 oldincludedir
=$ac_optarg ;;
1256 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1258 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1259 prefix
=$ac_optarg ;;
1261 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1262 | --program-pre | --program-pr | --program-p)
1263 ac_prev
=program_prefix
;;
1264 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1265 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1266 program_prefix
=$ac_optarg ;;
1268 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1269 | --program-suf | --program-su | --program-s)
1270 ac_prev
=program_suffix
;;
1271 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1272 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1273 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1283 -program-transform-name=* | --program-transform-name=* \
1284 | --program-transform-nam=* | --program-transform-na=* \
1285 | --program-transform-n=* | --program-transform-=* \
1286 | --program-transform=* | --program-transfor=* \
1287 | --program-transfo=* | --program-transf=* \
1288 | --program-trans=* | --program-tran=* \
1289 | --progr-tra=* | --program-tr=* | --program-t=*)
1290 program_transform_name
=$ac_optarg ;;
1292 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1294 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1295 pdfdir
=$ac_optarg ;;
1297 -psdir | --psdir | --psdi | --psd | --ps)
1299 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1303 | -silent | --silent | --silen | --sile | --sil)
1306 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1308 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1310 sbindir
=$ac_optarg ;;
1312 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1313 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1314 | --sharedst | --shareds | --shared | --share | --shar \
1316 ac_prev
=sharedstatedir
;;
1317 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1318 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1319 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1321 sharedstatedir
=$ac_optarg ;;
1323 -site | --site | --sit)
1325 -site=* | --site=* | --sit=*)
1328 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1330 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1331 srcdir
=$ac_optarg ;;
1333 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1334 | --syscon | --sysco | --sysc | --sys | --sy)
1335 ac_prev
=sysconfdir
;;
1336 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1337 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1338 sysconfdir
=$ac_optarg ;;
1340 -target | --target | --targe | --targ | --tar | --ta | --t)
1341 ac_prev
=target_alias
;;
1342 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1343 target_alias
=$ac_optarg ;;
1345 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1348 -version | --version | --versio | --versi | --vers | -V)
1349 ac_init_version
=: ;;
1352 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1353 # Reject names that are not valid shell variable names.
1354 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1355 { echo "$as_me: error: invalid package name: $ac_package" >&2
1356 { (exit 1); exit 1; }; }
1357 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1358 eval with_
$ac_package=\
$ac_optarg ;;
1360 -without-* | --without-*)
1361 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1362 # Reject names that are not valid shell variable names.
1363 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1364 { echo "$as_me: error: invalid package name: $ac_package" >&2
1365 { (exit 1); exit 1; }; }
1366 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1367 eval with_
$ac_package=no
;;
1370 # Obsolete; use --with-x.
1373 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1374 | --x-incl | --x-inc | --x-in | --x-i)
1375 ac_prev
=x_includes
;;
1376 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1377 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1378 x_includes
=$ac_optarg ;;
1380 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1381 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1382 ac_prev
=x_libraries
;;
1383 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1384 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1385 x_libraries
=$ac_optarg ;;
1387 -*) { echo "$as_me: error: unrecognized option: $ac_option
1388 Try \`$0 --help' for more information." >&2
1389 { (exit 1); exit 1; }; }
1393 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1394 # Reject names that are not valid shell variable names.
1395 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1396 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1397 { (exit 1); exit 1; }; }
1398 eval $ac_envvar=\
$ac_optarg
1399 export $ac_envvar ;;
1402 # FIXME: should be removed in autoconf 3.0.
1403 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1404 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1405 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1406 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1412 if test -n "$ac_prev"; then
1413 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1414 { echo "$as_me: error: missing argument to $ac_option" >&2
1415 { (exit 1); exit 1; }; }
1418 # Be sure to have absolute directory names.
1419 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1420 datadir sysconfdir sharedstatedir localstatedir includedir \
1421 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1422 libdir localedir mandir
1424 eval ac_val
=\$
$ac_var
1426 [\\/$
]* | ?
:[\\/]* ) continue;;
1427 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1429 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1430 { (exit 1); exit 1; }; }
1433 # There might be people who depend on the old broken behavior: `$host'
1434 # used to hold the argument of --host etc.
1435 # FIXME: To remove some day.
1438 target
=$target_alias
1440 # FIXME: To remove some day.
1441 if test "x$host_alias" != x
; then
1442 if test "x$build_alias" = x
; then
1443 cross_compiling
=maybe
1444 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1445 If a cross compiler is detected then cross compile mode will be used." >&2
1446 elif test "x$build_alias" != "x$host_alias"; then
1452 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1454 test "$silent" = yes && exec 6>/dev
/null
1457 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1458 ac_ls_di
=`ls -di .` &&
1459 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1460 { echo "$as_me: error: Working directory cannot be determined" >&2
1461 { (exit 1); exit 1; }; }
1462 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1463 { echo "$as_me: error: pwd does not report name of working directory" >&2
1464 { (exit 1); exit 1; }; }
1467 # Find the source files, if location was not specified.
1468 if test -z "$srcdir"; then
1469 ac_srcdir_defaulted
=yes
1470 # Try the directory containing this script, then the parent directory.
1471 ac_confdir
=`$as_dirname -- "$0" ||
1472 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1473 X"$0" : 'X\(//\)[^/]' \| \
1474 X"$0" : 'X\(//\)$' \| \
1475 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1499 ac_srcdir_defaulted
=no
1501 if test ! -r "$srcdir/$ac_unique_file"; then
1502 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1503 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1504 { (exit 1); exit 1; }; }
1506 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1508 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1509 { (exit 1); exit 1; }; }
1511 # When building in place, set srcdir=.
1512 if test "$ac_abs_confdir" = "$ac_pwd"; then
1515 # Remove unnecessary trailing slashes from srcdir.
1516 # Double slashes in file names in object file debugging info
1517 # mess up M-x gdb in Emacs.
1519 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1521 for ac_var
in $ac_precious_vars; do
1522 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1523 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1524 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1525 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1529 # Report the --help message.
1531 if test "$ac_init_help" = "long"; then
1532 # Omit some internal or obsolete options to make the list less imposing.
1533 # This message is too long to be a string in the A/UX 3.1 sh.
1535 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1537 Usage: $0 [OPTION]... [VAR=VALUE]...
1539 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1540 VAR=VALUE. See below for descriptions of some of the useful variables.
1542 Defaults for the options are specified in brackets.
1545 -h, --help display this help and exit
1546 --help=short display options specific to this package
1547 --help=recursive display the short help of all the included packages
1548 -V, --version display version information and exit
1549 -q, --quiet, --silent do not print \`checking...' messages
1550 --cache-file=FILE cache test results in FILE [disabled]
1551 -C, --config-cache alias for \`--cache-file=config.cache'
1552 -n, --no-create do not create output files
1553 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1555 Installation directories:
1556 --prefix=PREFIX install architecture-independent files in PREFIX
1557 [$ac_default_prefix]
1558 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1561 By default, \`make install' will install all the files in
1562 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1563 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1564 for instance \`--prefix=\$HOME'.
1566 For better control, use the options below.
1568 Fine tuning of the installation directories:
1569 --bindir=DIR user executables [EPREFIX/bin]
1570 --sbindir=DIR system admin executables [EPREFIX/sbin]
1571 --libexecdir=DIR program executables [EPREFIX/libexec]
1572 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1573 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1574 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1575 --libdir=DIR object code libraries [EPREFIX/lib]
1576 --includedir=DIR C header files [PREFIX/include]
1577 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1578 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1579 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1580 --infodir=DIR info documentation [DATAROOTDIR/info]
1581 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1582 --mandir=DIR man documentation [DATAROOTDIR/man]
1583 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1584 --htmldir=DIR html documentation [DOCDIR]
1585 --dvidir=DIR dvi documentation [DOCDIR]
1586 --pdfdir=DIR pdf documentation [DOCDIR]
1587 --psdir=DIR ps documentation [DOCDIR]
1593 --x-includes=DIR X include files are
in DIR
1594 --x-libraries=DIR X library files are
in DIR
1597 --build=BUILD configure
for building on BUILD
[guessed
]
1598 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1599 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1603 if test -n "$ac_init_help"; then
1604 case $ac_init_help in
1605 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1610 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1611 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1612 --enable-gui use GUI classes
1613 --enable-monolithic build wxWidgets as single library
1614 --enable-plugins build parts of wxWidgets as loadable components
1615 --enable-universal use wxWidgets GUI controls instead of native ones
1616 --enable-nanox use NanoX
1617 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
1618 --enable-gpe use GNOME PDA Environment features
if possible
1619 --enable-shared create shared library code
1620 --enable-optimise create optimised code
1621 --enable-debug same as debug_flag and debug_info
1622 --enable-stl use STL
for containers
1623 --enable-omf use OMF object format
1624 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
1625 --enable-debug_info create code with debugging information
1626 --enable-debug_gdb create code with extra GDB debugging information
1627 --enable-debug_cntxt use wxDebugContext
1628 --enable-mem_tracing create code with memory tracing
1629 --enable-profile create code with profiling information
1630 --enable-no_rtti create code without RTTI information
1631 --enable-no_exceptions create code without C
++ exceptions handling
1632 --enable-permissive compile code disregarding strict ANSI
1633 --enable-no_deps create code without dependency information
1634 --disable-vararg_macros don
't use vararg macros, even if they are supported
1635 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1636 --enable-compat26 enable wxWidgets 2.6 compatibility
1637 --disable-compat28 disable wxWidgets 2.8 compatibility
1638 --disable-rpath disable use of rpath for uninstalled builds
1639 --enable-intl use internationalization system
1640 --enable-config use wxConfig (and derived) classes
1641 --enable-protocols use wxProtocol and derived classes
1642 --enable-ftp use wxFTP (requires wxProtocol
1643 --enable-http use wxHTTP (requires wxProtocol
1644 --enable-fileproto use wxFileProto class (requires wxProtocol
1645 --enable-sockets use socket/network classes
1646 --enable-ole use OLE classes (Win32 only)
1647 --enable-dataobj use data object classes
1648 --enable-ipc use interprocess communication (wxSocket etc.)
1649 --enable-apple_ieee use the Apple IEEE codec
1650 --enable-arcstream use wxArchive streams
1651 --enable-backtrace use wxStackWalker class for getting backtraces
1652 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1653 --enable-cmdline use wxCmdLineParser class
1654 --enable-datetime use wxDateTime class
1655 --enable-debugreport use wxDebugReport class
1656 --enable-dialupman use dialup network classes
1657 --enable-dynlib use wxLibrary class for DLL loading
1658 --enable-dynamicloader use (new) wxDynamicLibrary class
1659 --enable-exceptions build exception-safe library
1660 --enable-ffile use wxFFile class
1661 --enable-file use wxFile class
1662 --enable-filesystem use virtual file systems classes
1663 --enable-fontmap use font encodings conversion classes
1664 --enable-fs_archive use virtual archive filesystems
1665 --enable-fs_inet use virtual HTTP/FTP filesystems
1666 --enable-fs_zip now replaced by fs_archive
1667 --enable-geometry use geometry class
1668 --enable-log use logging system
1669 --enable-longlong use wxLongLong class
1670 --enable-mimetype use wxMimeTypesManager
1671 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1672 --enable-snglinst use wxSingleInstanceChecker class
1673 --enable-std_iostreams use standard C++ stream classes
1674 --enable-std_string use standard C++ string classes
1675 --enable-stdpaths use wxStandardPaths class
1676 --enable-stopwatch use wxStopWatch class
1677 --enable-streams use wxStream etc classes
1678 --enable-sysoptions use wxSystemOptions
1679 --enable-tarstream use wxTar streams
1680 --enable-textbuf use wxTextBuffer class
1681 --enable-textfile use wxTextFile class
1682 --enable-timer use wxTimer class
1683 --enable-unicode compile wxString with Unicode support
1684 --enable-sound use wxSound class
1685 --enable-mediactrl use wxMediaCtrl class
1686 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1687 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1688 --enable-zipstream use wxZip streams
1689 --enable-url use wxURL class
1690 --enable-variant use wxVariant class
1691 --enable-protocol use wxProtocol class
1692 --enable-protocol-http HTTP support in wxProtocol
1693 --enable-protocol-ftp FTP support in wxProtocol
1694 --enable-protocol-file FILE support in wxProtocol
1695 --enable-threads use threads
1696 --enable-docview use document view architecture
1697 --enable-help use help subsystem
1698 --enable-mshtmlhelp use MS HTML Help (win32)
1699 --enable-html use wxHTML sub-library
1700 --enable-htmlhelp use wxHTML-based help
1701 --enable-xrc use XRC resources sub-library
1702 --enable-aui use AUI docking library
1703 --enable-stc use wxStyledTextCtrl library
1704 --enable-constraints use layout-constraints system
1705 --enable-printarch use printing architecture
1706 --enable-mdi use multiple document interface architecture
1707 --enable-mdidoc use docview architecture with MDI
1708 --enable-loggui use standard GUI logger
1709 --enable-logwin use wxLogWindow
1710 --enable-logdialog use wxLogDialog
1711 --enable-webkit use wxWebKitCtrl (Mac)
1712 --enable-richtext use wxRichTextCtrl
1713 --enable-graphics_ctx use graphics context 2D drawing API
1714 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1715 --enable-clipboard use wxClipboard class
1716 --enable-dnd use Drag'n
'Drop classes
1717 --enable-metafile use win32 metafiles
1718 --enable-controls use all usual controls
1719 --enable-accel use accelerators
1720 --enable-animatectrl use wxAnimationCtrl class
1721 --enable-button use wxButton class
1722 --enable-bmpbutton use wxBitmapButton class
1723 --enable-bmpcombobox use wxBitmapComboBox class
1724 --enable-calendar use wxCalendarCtrl class
1725 --enable-caret use wxCaret class
1726 --enable-checkbox use wxCheckBox class
1727 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1728 --enable-choice use wxChoice class
1729 --enable-choicebook use wxChoicebook class
1730 --enable-collpane use wxCollapsiblePane class
1731 --enable-colourpicker use wxColourPickerCtrl class
1732 --enable-combobox use wxComboBox class
1733 --enable-comboctrl use wxComboCtrl class
1734 --enable-datepick use wxDatePickerCtrl class
1735 --enable-dirpicker use wxDirPickerCtrl class
1736 --enable-display use wxDisplay class
1737 --enable-detect_sm use code to detect X11 session manager
1738 --enable-filepicker use wxFilePickerCtrl class
1739 --enable-fontpicker use wxFontPickerCtrl class
1740 --enable-gauge use wxGauge class
1741 --enable-grid use wxGrid class
1742 --enable-dataviewctrl use wxDataViewCtrl class
1743 --enable-hyperlink use wxHyperlinkCtrl class
1744 --enable-imaglist use wxImageList class
1745 --enable-listbook use wxListbook class
1746 --enable-listbox use wxListBox class
1747 --enable-listctrl use wxListCtrl class
1748 --enable-notebook use wxNotebook class
1749 --enable-odcombobox use wxOwnerDrawnComboBox class
1750 --enable-radiobox use wxRadioBox class
1751 --enable-radiobtn use wxRadioButton class
1752 --enable-sash use wxSashWindow class
1753 --enable-scrollbar use wxScrollBar class and scrollable windows
1754 --enable-searchctrl use wxSearchCtrl class
1755 --enable-slider use wxSlider class
1756 --enable-spinbtn use wxSpinButton class
1757 --enable-spinctrl use wxSpinCtrl class
1758 --enable-splitter use wxSplitterWindow class
1759 --enable-statbmp use wxStaticBitmap class
1760 --enable-statbox use wxStaticBox class
1761 --enable-statline use wxStaticLine class
1762 --enable-stattext use wxStaticText class
1763 --enable-statusbar use wxStatusBar class
1764 --enable-tabdialog use wxTabControl class
1765 --enable-textctrl use wxTextCtrl class
1766 --enable-togglebtn use wxToggleButton class
1767 --enable-toolbar use wxToolBar class
1768 --enable-tbarnative use native wxToolBar class
1769 --enable-treebook use wxTreebook class
1770 --enable-toolbook use wxToolbook class
1771 --enable-treectrl use wxTreeCtrl class
1772 --enable-tipwindow use wxTipWindow class
1773 --enable-popupwin use wxPopUpWindow class
1774 --enable-commondlg use all common dialogs
1775 --enable-aboutdlg use wxAboutBox
1776 --enable-choicedlg use wxChoiceDialog
1777 --enable-coldlg use wxColourDialog
1778 --enable-filedlg use wxFileDialog
1779 --enable-finddlg use wxFindReplaceDialog
1780 --enable-fontdlg use wxFontDialog
1781 --enable-dirdlg use wxDirDialog
1782 --enable-msgdlg use wxMessageDialog
1783 --enable-numberdlg use wxNumberEntryDialog
1784 --enable-splash use wxSplashScreen
1785 --enable-textdlg use wxTextDialog
1786 --enable-tipdlg use startup tips
1787 --enable-progressdlg use wxProgressDialog
1788 --enable-wizarddlg use wxWizard
1789 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1790 --enable-miniframe use wxMiniFrame class
1791 --enable-tooltips use wxToolTip class
1792 --enable-splines use spline drawing code
1793 --enable-mousewheel use mousewheel
1794 --enable-validators use wxValidator and derived classes
1795 --enable-busyinfo use wxBusyInfo
1796 --enable-joystick use wxJoystick
1797 --enable-metafiles use wxMetaFile (Win32 only)
1798 --enable-dragimage use wxDragImage
1799 --enable-accessibility enable accessibility support
1800 --enable-dccache cache temporary wxDC objects (Win32 only)
1801 --enable-palette use wxPalette class
1802 --enable-image use wxImage class
1803 --enable-gif use gif images (GIF file format)
1804 --enable-pcx use pcx images (PCX file format)
1805 --enable-tga use tga images (TGA file format)
1806 --enable-iff use iff images (IFF file format)
1807 --enable-pnm use pnm images (PNM file format)
1808 --enable-xpm use xpm images (XPM file format)
1809 --enable-icocur use Windows ICO and CUR formats
1810 --enable-official_build official build of wxWidgets (win32 DLL only)
1811 --enable-vendor=VENDOR vendor name (win32 DLL only)
1812 --disable-largefile omit support for large files
1813 --disable-gtktest do not try to compile and run a test GTK+ program
1814 --disable-gtktest Do not try to compile and run a test GTK program
1815 --disable-sdltest Do not try to compile and run a test SDL program
1816 --enable-omf use OMF object format (OS/2)
1817 --disable-dependency-tracking
1818 don't use dependency tracking even
if the compiler
1820 --disable-precomp-headers
1821 don
't use precompiled headers even if compiler can
1824 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1825 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1826 --without-subdirs don't generate makefiles
for samples
/demos
/...
1827 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1828 --with-motif use Motif
/Lesstif
1829 --with-mac use Mac OS X
1830 --with-cocoa use Cocoa
1831 --with-wine use Wine
1832 --with-msw use MS
-Windows
1833 --with-pm use OS
/2 Presentation Manager
1834 --with-mgl use SciTech MGL
1835 --with-directfb use DirectFB
1836 --with-microwin use MicroWindows
1838 --with-libpng use libpng
(PNG image format
)
1839 --with-libjpeg use libjpeg
(JPEG
file format
)
1840 --with-libtiff use libtiff
(TIFF
file format
)
1841 --with-libxpm use libxpm
(XPM
file format
)
1842 --with-libmspack use libmspack
(CHM
help files loading
)
1843 --with-sdl use SDL
for audio on Unix
1844 --with-gnomeprint use GNOME print
for printing under GNOME
1845 --with-gnomevfs use GNOME VFS
for associating MIME types
1846 --with-hildon use Hildon framework
for Nokia
770
1847 --with-opengl use OpenGL
(or Mesa
)
1848 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1849 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1850 --with-regex enable support
for wxRegEx class
1851 --with-zlib use zlib
for LZW compression
1852 --with-odbc use the IODBC and wxODBC classes
1853 --with-expat enable XML support using expat parser
1854 --with-flavour=NAME specify a name to identify this build
1855 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1856 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1857 --with-x use the X Window System
1858 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1859 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1860 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1861 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1862 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1864 Some influential environment variables
:
1865 CC C compiler
command
1866 CFLAGS C compiler flags
1867 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1868 nonstandard directory
<lib dir
>
1869 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1870 you have headers
in a nonstandard directory
<include dir
>
1872 CXX C
++ compiler
command
1873 CXXFLAGS C
++ compiler flags
1874 PKG_CONFIG path to pkg
-config utility
1876 C compiler flags
for DIRECTFB
, overriding pkg
-config
1878 linker flags
for DIRECTFB
, overriding pkg
-config
1879 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1881 C compiler flags
for PANGOX
, overriding pkg
-config
1882 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1884 C compiler flags
for PANGOFT2
, overriding pkg
-config
1886 linker flags
for PANGOFT2
, overriding pkg
-config
1888 C compiler flags
for PANGOXFT
, overriding pkg
-config
1890 linker flags
for PANGOXFT
, overriding pkg
-config
1891 LIBGNOMEPRINTUI_CFLAGS
1892 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1893 LIBGNOMEPRINTUI_LIBS
1894 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1896 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1898 linker flags
for GNOMEVFS
, overriding pkg
-config
1900 C compiler flags
for HILDON
, overriding pkg
-config
1901 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1903 C compiler flags
for CAIRO
, overriding pkg
-config
1904 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1905 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1906 GST_LIBS linker flags
for GST
, overriding pkg
-config
1908 Use these variables to override the choices made by
`configure' or to help
1909 it to find libraries and programs with nonstandard names/locations.
1911 Report bugs to <wx-dev@lists.wxwidgets.org>.
1916 if test "$ac_init_help" = "recursive"; then
1917 # If there are subdirs, report their specific --help.
1918 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1919 test -d "$ac_dir" || continue
1923 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1925 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1926 # A ".." for each directory in $ac_dir_suffix.
1927 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1928 case $ac_top_builddir_sub in
1929 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1930 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1933 ac_abs_top_builddir=$ac_pwd
1934 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1935 # for backward compatibility:
1936 ac_top_builddir=$ac_top_build_prefix
1939 .) # We are building in place.
1941 ac_top_srcdir=$ac_top_builddir_sub
1942 ac_abs_top_srcdir=$ac_pwd ;;
1943 [\\/]* | ?:[\\/]* ) # Absolute name.
1944 ac_srcdir=$srcdir$ac_dir_suffix;
1945 ac_top_srcdir=$srcdir
1946 ac_abs_top_srcdir=$srcdir ;;
1948 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1949 ac_top_srcdir=$ac_top_build_prefix$srcdir
1950 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1952 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1954 cd "$ac_dir" || { ac_status=$?; continue; }
1955 # Check for guested configure.
1956 if test -f "$ac_srcdir/configure.gnu"; then
1958 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1959 elif test -f "$ac_srcdir/configure"; then
1961 $SHELL "$ac_srcdir/configure" --help=recursive
1963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1965 cd "$ac_pwd" || { ac_status=$?; break; }
1969 test -n "$ac_init_help" && exit $ac_status
1970 if $ac_init_version; then
1972 wxWidgets configure 2.9.0
1973 generated by GNU Autoconf 2.60
1975 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1976 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1977 This configure script is free software; the Free Software Foundation
1978 gives unlimited permission to copy, distribute and modify it.
1982 cat >config.log <<_ACEOF
1983 This file contains any messages produced by compilers while
1984 running configure, to aid debugging if configure makes a mistake.
1986 It was created by wxWidgets $as_me 2.9.0, which was
1987 generated by GNU Autoconf 2.60. Invocation command line was
1999 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2000 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2001 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2002 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2003 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2005 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2006 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2008 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2009 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2010 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2011 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2012 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2013 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2014 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2022 test -z "$as_dir" && as_dir=.
2023 echo "PATH: $as_dir"
2039 # Keep a trace of the command line.
2040 # Strip out --no-create and --no-recursion so they do not pile up.
2041 # Strip out --silent because we don't want to record it for future runs.
2042 # Also quote any args containing shell meta-characters.
2043 # Make two passes to allow for proper duplicate-argument suppression.
2047 ac_must_keep_next=false
2053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2055 | -silent | --silent | --silen | --sile | --sil)
2058 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2063 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2064 if test $ac_must_keep_next = true; then
2065 ac_must_keep_next=false # Got value, back to normal.
2068 *=* | --config-cache | -C | -disable-* | --disable-* \
2069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2071 | -with-* | --with-* | -without-* | --without-* | --x)
2072 case "$ac_configure_args0 " in
2073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2076 -* ) ac_must_keep_next=true ;;
2079 ac_configure_args="$ac_configure_args '$ac_arg'"
2084 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2085 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2087 # When interrupted or exit'd, cleanup temporary files, and complete
2088 # config.log. We remove comments because anyway the quotes in there
2089 # would cause problems or look ugly.
2090 # WARNING: Use '\'' to represent an apostrophe within the trap.
2091 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2092 trap 'exit_status=$?
2093 # Save into config.log some information that might help in debugging.
2098 ## ---------------- ##
2099 ## Cache variables. ##
2100 ## ---------------- ##
2103 # The following way of writing the cache mishandles newlines in values,
2105 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2106 eval ac_val=\$$ac_var
2110 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2111 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2114 _ | IFS | as_nl) ;; #(
2115 *) $as_unset $ac_var ;;
2120 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2121 *${as_nl}ac_space=\ *)
2123 "s/'\''/'\''\\\\'\'''\''/g;
2124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2135 ## ----------------- ##
2136 ## Output variables. ##
2137 ## ----------------- ##
2140 for ac_var in $ac_subst_vars
2142 eval ac_val=\$$ac_var
2144 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2146 echo "$ac_var='\''$ac_val'\''"
2150 if test -n "$ac_subst_files"; then
2152 ## ------------------- ##
2153 ## File substitutions. ##
2154 ## ------------------- ##
2157 for ac_var in $ac_subst_files
2159 eval ac_val=\$$ac_var
2161 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2163 echo "$ac_var='\''$ac_val'\''"
2168 if test -s confdefs.h; then
2178 test "$ac_signal" != 0 &&
2179 echo "$as_me: caught signal $ac_signal"
2180 echo "$as_me: exit $exit_status"
2182 rm -f core *.core core.conftest.* &&
2183 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2186 for ac_signal in 1 2 13 15; do
2187 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2191 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2192 rm -f -r conftest* confdefs.h
2194 # Predefined preprocessor variables.
2196 cat >>confdefs.h <<_ACEOF
2197 #define PACKAGE_NAME "$PACKAGE_NAME"
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_STRING "$PACKAGE_STRING"
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2221 # Let the site file select an alternate cache file if it wants to.
2222 # Prefer explicitly selected file to automatically selected ones.
2223 if test -n "$CONFIG_SITE"; then
2224 set x "$CONFIG_SITE"
2225 elif test "x$prefix" != xNONE; then
2226 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2228 set x "$ac_default_prefix/share/config.site" \
2229 "$ac_default_prefix/etc/config.site"
2234 if test -r "$ac_site_file"; then
2235 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2236 echo "$as_me: loading site script $ac_site_file" >&6;}
2237 sed 's/^/| /' "$ac_site_file" >&5
2242 if test -r "$cache_file"; then
2243 # Some versions of bash will fail to source /dev/null (special
2244 # files actually), so we avoid doing that.
2245 if test -f "$cache_file"; then
2246 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2247 echo "$as_me: loading cache $cache_file" >&6;}
2249 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2250 *) . "./$cache_file";;
2254 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2255 echo "$as_me: creating cache $cache_file" >&6;}
2259 # Check that the precious variables saved in the cache have kept the same
2261 ac_cache_corrupted=false
2262 for ac_var in $ac_precious_vars; do
2263 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2264 eval ac_new_set=\$ac_env_${ac_var}_set
2265 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2266 eval ac_new_val=\$ac_env_${ac_var}_value
2267 case $ac_old_set,$ac_new_set in
2269 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2270 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2271 ac_cache_corrupted=: ;;
2273 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2274 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2275 ac_cache_corrupted=: ;;
2278 if test "x$ac_old_val" != "x$ac_new_val"; then
2279 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2280 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2281 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2282 echo "$as_me: former value
: $ac_old_val" >&2;}
2283 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2284 echo "$as_me: current value
: $ac_new_val" >&2;}
2285 ac_cache_corrupted=:
2288 # Pass precious variables to config.status.
2289 if test "$ac_new_set" = set; then
2291 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2292 *) ac_arg=$ac_var=$ac_new_val ;;
2294 case " $ac_configure_args " in
2295 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2296 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2300 if $ac_cache_corrupted; then
2301 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2302 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2303 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2304 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2305 { (exit 1); exit 1; }; }
2333 ac_cpp='$CPP $CPPFLAGS'
2334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2343 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2344 if test -f "$ac_dir/install-sh"; then
2346 ac_install_sh="$ac_aux_dir/install-sh -c"
2348 elif test -f "$ac_dir/install.sh"; then
2350 ac_install_sh="$ac_aux_dir/install.sh -c"
2352 elif test -f "$ac_dir/shtool"; then
2354 ac_install_sh="$ac_aux_dir/shtool install -c"
2358 if test -z "$ac_aux_dir"; then
2359 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2360 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2361 { (exit 1); exit 1; }; }
2364 # These three variables are undocumented and unsupported,
2365 # and are intended to be withdrawn in a future Autoconf release.
2366 # They can cause serious problems if a builder's source tree is in a directory
2367 # whose full name contains unusual characters.
2368 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2369 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2370 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2373 # Make sure we can run config.sub.
2374 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2375 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2376 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2377 { (exit 1); exit 1; }; }
2379 { echo "$as_me:$LINENO: checking build system type" >&5
2380 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2381 if test "${ac_cv_build+set}" = set; then
2382 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 ac_build_alias=$build_alias
2385 test "x$ac_build_alias" = x &&
2386 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2387 test "x$ac_build_alias" = x &&
2388 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2389 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2390 { (exit 1); exit 1; }; }
2391 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2392 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2393 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2394 { (exit 1); exit 1; }; }
2397 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2398 echo "${ECHO_T}$ac_cv_build" >&6; }
2399 case $ac_cv_build in
2401 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2402 echo "$as_me: error: invalid value of canonical build" >&2;}
2403 { (exit 1); exit 1; }; };;
2406 ac_save_IFS=$IFS; IFS='-'
2412 # Remember, the first character of IFS is used to create $*,
2413 # except with old shells:
2416 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2419 { echo "$as_me:$LINENO: checking host system type" >&5
2420 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2421 if test "${ac_cv_host+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 if test "x$host_alias" = x; then
2425 ac_cv_host=$ac_cv_build
2427 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2428 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2429 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2430 { (exit 1); exit 1; }; }
2434 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2435 echo "${ECHO_T}$ac_cv_host" >&6; }
2438 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2439 echo "$as_me: error: invalid value of canonical host" >&2;}
2440 { (exit 1); exit 1; }; };;
2443 ac_save_IFS=$IFS; IFS='-'
2449 # Remember, the first character of IFS is used to create $*,
2450 # except with old shells:
2453 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2456 { echo "$as_me:$LINENO: checking target system type" >&5
2457 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2458 if test "${ac_cv_target+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 if test "x$target_alias" = x; then
2462 ac_cv_target=$ac_cv_host
2464 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2465 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2466 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2467 { (exit 1); exit 1; }; }
2471 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2472 echo "${ECHO_T}$ac_cv_target" >&6; }
2473 case $ac_cv_target in
2475 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2476 echo "$as_me: error: invalid value of canonical target" >&2;}
2477 { (exit 1); exit 1; }; };;
2479 target=$ac_cv_target
2480 ac_save_IFS=$IFS; IFS='-'
2486 # Remember, the first character of IFS is used to create $*,
2487 # except with old shells:
2490 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2493 # The aliases save the names the user supplied, while $host etc.
2494 # will get canonicalized.
2495 test -n "$target_alias" &&
2496 test "$program_prefix$program_suffix$program_transform_name" = \
2498 program_prefix=${target_alias}-
2502 wx_major_version_number=2
2503 wx_minor_version_number=9
2505 wx_subrelease_number=0
2507 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2508 WX_VERSION=$WX_RELEASE.$wx_release_number
2509 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2511 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2514 wx_top_builddir="`pwd`"
2527 USE_BSD= USE_DARWIN= USE_FREEBSD=
2533 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2539 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2541 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2543 DEFAULT_wxUSE_COCOA=0
2547 DEFAULT_wxUSE_MICROWIN=0
2548 DEFAULT_wxUSE_MOTIF=0
2554 DEFAULT_DEFAULT_wxUSE_COCOA=0
2555 DEFAULT_DEFAULT_wxUSE_GTK=0
2556 DEFAULT_DEFAULT_wxUSE_MAC=0
2557 DEFAULT_DEFAULT_wxUSE_MGL=0
2558 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2559 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2560 DEFAULT_DEFAULT_wxUSE_MSW=0
2561 DEFAULT_DEFAULT_wxUSE_PM=0
2562 DEFAULT_DEFAULT_wxUSE_X11=0
2563 DEFAULT_DEFAULT_wxUSE_DFB=0
2568 SAMPLES_RPATH_POSTLINK=
2570 DEFAULT_STD_FLAG=yes
2575 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2576 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2578 cat >>confdefs.h <<\_ACEOF
2583 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2587 cat >>confdefs.h <<\_ACEOF
2592 if test "x$TMP" = "xalpha"; then
2594 cat >>confdefs.h <<\_ACEOF
2599 DEFAULT_DEFAULT_wxUSE_GTK=1
2601 *-*-gnu* | *-*-k*bsd*-gnu )
2604 if test "x$TMP" = "xalpha"; then
2606 cat >>confdefs.h <<\_ACEOF
2611 DEFAULT_DEFAULT_wxUSE_GTK=1
2613 *-*-irix5* | *-*-irix6* )
2616 cat >>confdefs.h <<\_ACEOF
2620 cat >>confdefs.h <<\_ACEOF
2624 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2630 cat >>confdefs.h <<\_ACEOF
2634 cat >>confdefs.h <<\_ACEOF
2635 #define __SOLARIS__ 1
2638 cat >>confdefs.h <<\_ACEOF
2642 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2643 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2649 cat >>confdefs.h <<\_ACEOF
2653 cat >>confdefs.h <<\_ACEOF
2657 cat >>confdefs.h <<\_ACEOF
2661 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2666 cat >>confdefs.h <<\_ACEOF
2667 #define __FREEBSD__ 1
2670 cat >>confdefs.h <<\_ACEOF
2674 DEFAULT_DEFAULT_wxUSE_GTK=1
2676 *-*-openbsd*|*-*-mirbsd*)
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __OPENBSD__ 1
2683 cat >>confdefs.h <<\_ACEOF
2687 DEFAULT_DEFAULT_wxUSE_GTK=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __NETBSD__ 1
2696 cat >>confdefs.h <<\_ACEOF
2700 DEFAULT_DEFAULT_wxUSE_GTK=1
2701 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2703 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2708 cat >>confdefs.h <<\_ACEOF
2712 cat >>confdefs.h <<\_ACEOF
2716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2717 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2722 cat >>confdefs.h <<\_ACEOF
2726 cat >>confdefs.h <<\_ACEOF
2730 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2735 cat >>confdefs.h <<\_ACEOF
2739 cat >>confdefs.h <<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2750 cat >>confdefs.h <<\_ACEOF
2754 cat >>confdefs.h <<\_ACEOF
2758 cat >>confdefs.h <<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __UNIXWARE__ 1
2775 *-*-cygwin* | *-*-mingw32* )
2778 DEFAULT_DEFAULT_wxUSE_MSW=1
2784 cat >>confdefs.h <<\_ACEOF
2789 DEFAULT_DEFAULT_wxUSE_MGL=1
2792 *-pc-os2_emx | *-pc-os2-emx )
2793 cat >>confdefs.h <<\_ACEOF
2798 cat >>confdefs.h <<\_ACEOF
2803 DEFAULT_DEFAULT_wxUSE_PM=1
2805 LDFLAGS="$LDFLAGS -Zcrtdll"
2806 ac_executable_extensions=".exe"
2807 export ac_executable_extensions
2811 for ac_dir in $PATH; do
2813 if test -z "$ac_TEMP_PATH"; then
2814 ac_TEMP_PATH="$ac_dir"
2816 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2819 export PATH="$ac_TEMP_PATH"
2828 cat >>confdefs.h <<\_ACEOF
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __DARWIN__ 1
2836 cat >>confdefs.h <<\_ACEOF
2837 #define TARGET_CARBON 1
2840 DEFAULT_DEFAULT_wxUSE_MAC=1
2843 powerpc-apple-macos* )
2845 ac_cv_c_bigendian=yes
2847 DEFAULT_DEFAULT_wxUSE_MAC=1
2853 cat >>confdefs.h <<\_ACEOF
2860 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2861 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2862 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2863 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2865 DEFAULT_DEFAULT_wxUSE_X11=1
2866 DEFAULT_wxUSE_SHARED=no
2872 wx_arg_cache_file="configarg.cache"
2873 echo "loading argument cache $wx_arg_cache_file"
2874 rm -f ${wx_arg_cache_file}.tmp
2875 touch ${wx_arg_cache_file}.tmp
2876 touch ${wx_arg_cache_file}
2880 if test $DEBUG_CONFIGURE = 1; then
2881 DEFAULT_wxUSE_UNIVERSAL=no
2882 DEFAULT_wxUSE_STL=no
2884 DEFAULT_wxUSE_NANOX=no
2886 DEFAULT_wxUSE_THREADS=yes
2888 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2889 DEFAULT_wxUSE_OPTIMISE=no
2890 DEFAULT_wxUSE_PROFILE=no
2891 DEFAULT_wxUSE_NO_DEPS=no
2892 DEFAULT_wxUSE_VARARG_MACROS=no
2893 DEFAULT_wxUSE_NO_RTTI=no
2894 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2895 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2896 DEFAULT_wxUSE_RPATH=yes
2897 DEFAULT_wxUSE_PERMISSIVE=no
2898 DEFAULT_wxUSE_DEBUG_FLAG=yes
2899 DEFAULT_wxUSE_DEBUG_INFO=yes
2900 DEFAULT_wxUSE_DEBUG_GDB=yes
2901 DEFAULT_wxUSE_MEM_TRACING=no
2902 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2903 DEFAULT_wxUSE_DMALLOC=no
2904 DEFAULT_wxUSE_APPLE_IEEE=no
2906 DEFAULT_wxUSE_EXCEPTIONS=no
2907 DEFAULT_wxUSE_LOG=yes
2908 DEFAULT_wxUSE_LOGWINDOW=no
2909 DEFAULT_wxUSE_LOGGUI=no
2910 DEFAULT_wxUSE_LOGDIALOG=no
2912 DEFAULT_wxUSE_GUI=yes
2913 DEFAULT_wxUSE_CONTROLS=no
2915 DEFAULT_wxUSE_REGEX=no
2916 DEFAULT_wxUSE_XML=no
2917 DEFAULT_wxUSE_EXPAT=no
2918 DEFAULT_wxUSE_ZLIB=no
2919 DEFAULT_wxUSE_LIBPNG=no
2920 DEFAULT_wxUSE_LIBJPEG=no
2921 DEFAULT_wxUSE_LIBTIFF=no
2922 DEFAULT_wxUSE_LIBXPM=no
2923 DEFAULT_wxUSE_LIBMSPACK=no
2924 DEFAULT_wxUSE_LIBSDL=no
2925 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2926 DEFAULT_wxUSE_LIBGNOMEVFS=no
2927 DEFAULT_wxUSE_LIBHILDON=no
2928 DEFAULT_wxUSE_ODBC=no
2929 DEFAULT_wxUSE_OPENGL=no
2931 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2932 DEFAULT_wxUSE_STACKWALKER=no
2933 DEFAULT_wxUSE_DEBUGREPORT=no
2934 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2935 DEFAULT_wxUSE_STD_IOSTREAM=no
2936 DEFAULT_wxUSE_STD_STRING=no
2937 DEFAULT_wxUSE_CMDLINE_PARSER=no
2938 DEFAULT_wxUSE_DATETIME=no
2939 DEFAULT_wxUSE_TIMER=no
2940 DEFAULT_wxUSE_STOPWATCH=no
2941 DEFAULT_wxUSE_FILE=no
2942 DEFAULT_wxUSE_FFILE=no
2943 DEFAULT_wxUSE_STDPATHS=no
2944 DEFAULT_wxUSE_TEXTBUFFER=no
2945 DEFAULT_wxUSE_TEXTFILE=no
2946 DEFAULT_wxUSE_SOUND=no
2947 DEFAULT_wxUSE_MEDIACTRL=no
2948 DEFAULT_wxUSE_GSTREAMER8=no
2949 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2950 DEFAULT_wxUSE_INTL=no
2951 DEFAULT_wxUSE_CONFIG=no
2952 DEFAULT_wxUSE_FONTMAP=no
2953 DEFAULT_wxUSE_STREAMS=no
2954 DEFAULT_wxUSE_SOCKETS=no
2955 DEFAULT_wxUSE_OLE=no
2956 DEFAULT_wxUSE_DATAOBJ=no
2957 DEFAULT_wxUSE_DIALUP_MANAGER=no
2958 DEFAULT_wxUSE_JOYSTICK=no
2959 DEFAULT_wxUSE_DYNLIB_CLASS=no
2960 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2961 DEFAULT_wxUSE_LONGLONG=no
2962 DEFAULT_wxUSE_GEOMETRY=no
2964 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2965 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2966 DEFAULT_wxUSE_POSTSCRIPT=no
2968 DEFAULT_wxUSE_CLIPBOARD=no
2969 DEFAULT_wxUSE_TOOLTIPS=no
2970 DEFAULT_wxUSE_DRAG_AND_DROP=no
2971 DEFAULT_wxUSE_DRAGIMAGE=no
2972 DEFAULT_wxUSE_SPLINES=no
2973 DEFAULT_wxUSE_MOUSEWHEEL=no
2975 DEFAULT_wxUSE_MDI=no
2976 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2977 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2978 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2980 DEFAULT_wxUSE_CONSTRAINTS=no
2981 DEFAULT_wxUSE_IPC=no
2982 DEFAULT_wxUSE_HELP=no
2983 DEFAULT_wxUSE_MS_HTML_HELP=no
2984 DEFAULT_wxUSE_WXHTML_HELP=no
2985 DEFAULT_wxUSE_TREELAYOUT=no
2986 DEFAULT_wxUSE_METAFILE=no
2987 DEFAULT_wxUSE_MIMETYPE=no
2988 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2989 DEFAULT_wxUSE_PROTOCOL=no
2990 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2991 DEFAULT_wxUSE_PROTOCOL_FTP=no
2992 DEFAULT_wxUSE_PROTOCOL_FILE=no
2993 DEFAULT_wxUSE_URL=no
2994 DEFAULT_wxUSE_VARIANT=no
2996 DEFAULT_wxUSE_ABOUTDLG=no
2997 DEFAULT_wxUSE_COMMONDLGS=no
2998 DEFAULT_wxUSE_CHOICEDLG=no
2999 DEFAULT_wxUSE_COLOURDLG=no
3000 DEFAULT_wxUSE_DIRDLG=no
3001 DEFAULT_wxUSE_FILEDLG=no
3002 DEFAULT_wxUSE_FINDREPLDLG=no
3003 DEFAULT_wxUSE_FONTDLG=no
3004 DEFAULT_wxUSE_MSGDLG=no
3005 DEFAULT_wxUSE_NUMBERDLG=no
3006 DEFAULT_wxUSE_TEXTDLG=no
3007 DEFAULT_wxUSE_SPLASH=no
3008 DEFAULT_wxUSE_STARTUP_TIPS=no
3009 DEFAULT_wxUSE_PROGRESSDLG=no
3010 DEFAULT_wxUSE_WIZARDDLG=no
3012 DEFAULT_wxUSE_MENUS=no
3013 DEFAULT_wxUSE_MINIFRAME=no
3014 DEFAULT_wxUSE_HTML=no
3015 DEFAULT_wxUSE_RICHTEXT=no
3016 DEFAULT_wxUSE_XRC=no
3017 DEFAULT_wxUSE_AUI=no
3018 DEFAULT_wxUSE_STC=no
3019 DEFAULT_wxUSE_WEBKIT=no
3020 DEFAULT_wxUSE_FILESYSTEM=no
3021 DEFAULT_wxUSE_FS_INET=no
3022 DEFAULT_wxUSE_FS_ZIP=no
3023 DEFAULT_wxUSE_FS_ARCHIVE=no
3024 DEFAULT_wxUSE_BUSYINFO=no
3025 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3026 DEFAULT_wxUSE_ZIPSTREAM=no
3027 DEFAULT_wxUSE_TARSTREAM=no
3028 DEFAULT_wxUSE_VALIDATORS=no
3030 DEFAULT_wxUSE_ACCEL=no
3031 DEFAULT_wxUSE_ANIMATIONCTRL=no
3032 DEFAULT_wxUSE_BUTTON=no
3033 DEFAULT_wxUSE_BMPBUTTON=no
3034 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3035 DEFAULT_wxUSE_CALCTRL=no
3036 DEFAULT_wxUSE_CARET=no
3037 DEFAULT_wxUSE_CHECKBOX=no
3038 DEFAULT_wxUSE_CHECKLST=no
3039 DEFAULT_wxUSE_CHOICE=no
3040 DEFAULT_wxUSE_CHOICEBOOK=no
3041 DEFAULT_wxUSE_COLLPANE=no
3042 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3043 DEFAULT_wxUSE_COMBOBOX=no
3044 DEFAULT_wxUSE_COMBOCTRL=no
3045 DEFAULT_wxUSE_DATEPICKCTRL=no
3046 DEFAULT_wxUSE_DISPLAY=no
3047 DEFAULT_wxUSE_DETECT_SM=no
3048 DEFAULT_wxUSE_DIRPICKERCTRL=no
3049 DEFAULT_wxUSE_FILEPICKERCTRL=no
3050 DEFAULT_wxUSE_FONTPICKERCTRL=no
3051 DEFAULT_wxUSE_GAUGE=no
3052 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3053 DEFAULT_wxUSE_GRID=no
3054 DEFAULT_wxUSE_HYPERLINKCTRL=no
3055 DEFAULT_wxUSE_DATAVIEWCTRL=no
3056 DEFAULT_wxUSE_IMAGLIST=no
3057 DEFAULT_wxUSE_LISTBOOK=no
3058 DEFAULT_wxUSE_LISTBOX=no
3059 DEFAULT_wxUSE_LISTCTRL=no
3060 DEFAULT_wxUSE_NOTEBOOK=no
3061 DEFAULT_wxUSE_ODCOMBOBOX=no
3062 DEFAULT_wxUSE_RADIOBOX=no
3063 DEFAULT_wxUSE_RADIOBTN=no
3064 DEFAULT_wxUSE_SASH=no
3065 DEFAULT_wxUSE_SCROLLBAR=no
3066 DEFAULT_wxUSE_SEARCHCTRL=no
3067 DEFAULT_wxUSE_SLIDER=no
3068 DEFAULT_wxUSE_SPINBTN=no
3069 DEFAULT_wxUSE_SPINCTRL=no
3070 DEFAULT_wxUSE_SPLITTER=no
3071 DEFAULT_wxUSE_STATBMP=no
3072 DEFAULT_wxUSE_STATBOX=no
3073 DEFAULT_wxUSE_STATLINE=no
3074 DEFAULT_wxUSE_STATTEXT=no
3075 DEFAULT_wxUSE_STATUSBAR=yes
3076 DEFAULT_wxUSE_TAB_DIALOG=no
3077 DEFAULT_wxUSE_TEXTCTRL=no
3078 DEFAULT_wxUSE_TOGGLEBTN=no
3079 DEFAULT_wxUSE_TOOLBAR=no
3080 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3081 DEFAULT_wxUSE_TREEBOOK=no
3082 DEFAULT_wxUSE_TOOLBOOK=no
3083 DEFAULT_wxUSE_TREECTRL=no
3084 DEFAULT_wxUSE_POPUPWIN=no
3085 DEFAULT_wxUSE_TIPWINDOW=no
3087 DEFAULT_wxUSE_UNICODE=no
3088 DEFAULT_wxUSE_UNICODE_MSLU=no
3089 DEFAULT_wxUSE_WCSRTOMBS=no
3091 DEFAULT_wxUSE_PALETTE=no
3092 DEFAULT_wxUSE_IMAGE=no
3093 DEFAULT_wxUSE_GIF=no
3094 DEFAULT_wxUSE_PCX=no
3095 DEFAULT_wxUSE_TGA=no
3096 DEFAULT_wxUSE_PNM=no
3097 DEFAULT_wxUSE_IFF=no
3098 DEFAULT_wxUSE_XPM=no
3099 DEFAULT_wxUSE_ICO_CUR=no
3100 DEFAULT_wxUSE_ACCESSIBILITY=no
3102 DEFAULT_wxUSE_MONOLITHIC=no
3103 DEFAULT_wxUSE_PLUGINS=no
3104 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3106 DEFAULT_wxUSE_UNIVERSAL=no
3107 DEFAULT_wxUSE_STL=no
3109 DEFAULT_wxUSE_NANOX=no
3111 DEFAULT_wxUSE_THREADS=yes
3113 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3114 DEFAULT_wxUSE_OPTIMISE=yes
3115 DEFAULT_wxUSE_PROFILE=no
3116 DEFAULT_wxUSE_NO_DEPS=no
3117 DEFAULT_wxUSE_VARARG_MACROS=yes
3118 DEFAULT_wxUSE_NO_RTTI=no
3119 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3120 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3121 DEFAULT_wxUSE_RPATH=yes
3122 DEFAULT_wxUSE_PERMISSIVE=no
3123 DEFAULT_wxUSE_DEBUG_FLAG=no
3124 DEFAULT_wxUSE_DEBUG_INFO=no
3125 DEFAULT_wxUSE_DEBUG_GDB=no
3126 DEFAULT_wxUSE_MEM_TRACING=no
3127 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3128 DEFAULT_wxUSE_DMALLOC=no
3129 DEFAULT_wxUSE_APPLE_IEEE=yes
3131 DEFAULT_wxUSE_EXCEPTIONS=yes
3132 DEFAULT_wxUSE_LOG=yes
3133 DEFAULT_wxUSE_LOGWINDOW=yes
3134 DEFAULT_wxUSE_LOGGUI=yes
3135 DEFAULT_wxUSE_LOGDIALOG=yes
3137 DEFAULT_wxUSE_GUI=yes
3139 DEFAULT_wxUSE_REGEX=yes
3140 DEFAULT_wxUSE_XML=yes
3141 DEFAULT_wxUSE_EXPAT=yes
3142 DEFAULT_wxUSE_ZLIB=yes
3143 DEFAULT_wxUSE_LIBPNG=yes
3144 DEFAULT_wxUSE_LIBJPEG=yes
3145 DEFAULT_wxUSE_LIBTIFF=yes
3146 DEFAULT_wxUSE_LIBXPM=yes
3147 DEFAULT_wxUSE_LIBMSPACK=yes
3148 DEFAULT_wxUSE_LIBSDL=no
3149 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3150 DEFAULT_wxUSE_LIBGNOMEVFS=no
3151 DEFAULT_wxUSE_LIBHILDON=no
3152 DEFAULT_wxUSE_ODBC=no
3153 DEFAULT_wxUSE_OPENGL=no
3155 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3156 DEFAULT_wxUSE_STACKWALKER=yes
3157 DEFAULT_wxUSE_DEBUGREPORT=yes
3158 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3159 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3160 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3161 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3162 DEFAULT_wxUSE_DATETIME=yes
3163 DEFAULT_wxUSE_TIMER=yes
3164 DEFAULT_wxUSE_STOPWATCH=yes
3165 DEFAULT_wxUSE_FILE=yes
3166 DEFAULT_wxUSE_FFILE=yes
3167 DEFAULT_wxUSE_STDPATHS=yes
3168 DEFAULT_wxUSE_TEXTBUFFER=yes
3169 DEFAULT_wxUSE_TEXTFILE=yes
3170 DEFAULT_wxUSE_SOUND=yes
3171 DEFAULT_wxUSE_MEDIACTRL=no
3172 DEFAULT_wxUSE_GSTREAMER8=no
3173 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3174 DEFAULT_wxUSE_INTL=yes
3175 DEFAULT_wxUSE_CONFIG=yes
3176 DEFAULT_wxUSE_FONTMAP=yes
3177 DEFAULT_wxUSE_STREAMS=yes
3178 DEFAULT_wxUSE_SOCKETS=yes
3179 DEFAULT_wxUSE_OLE=yes
3180 DEFAULT_wxUSE_DATAOBJ=yes
3181 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3182 DEFAULT_wxUSE_JOYSTICK=yes
3183 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3184 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3185 DEFAULT_wxUSE_LONGLONG=yes
3186 DEFAULT_wxUSE_GEOMETRY=yes
3188 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3189 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3190 DEFAULT_wxUSE_POSTSCRIPT=yes
3192 DEFAULT_wxUSE_CLIPBOARD=yes
3193 DEFAULT_wxUSE_TOOLTIPS=yes
3194 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3195 DEFAULT_wxUSE_DRAGIMAGE=yes
3196 DEFAULT_wxUSE_SPLINES=yes
3197 DEFAULT_wxUSE_MOUSEWHEEL=yes
3199 DEFAULT_wxUSE_MDI=yes
3200 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3201 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3202 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3204 DEFAULT_wxUSE_CONSTRAINTS=yes
3205 DEFAULT_wxUSE_IPC=yes
3206 DEFAULT_wxUSE_HELP=yes
3207 DEFAULT_wxUSE_MS_HTML_HELP=yes
3208 DEFAULT_wxUSE_WXHTML_HELP=yes
3209 DEFAULT_wxUSE_TREELAYOUT=yes
3210 DEFAULT_wxUSE_METAFILE=yes
3211 DEFAULT_wxUSE_MIMETYPE=yes
3212 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3213 DEFAULT_wxUSE_PROTOCOL=yes
3214 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3215 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3216 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3217 DEFAULT_wxUSE_URL=yes
3218 DEFAULT_wxUSE_VARIANT=yes
3220 DEFAULT_wxUSE_ABOUTDLG=yes
3221 DEFAULT_wxUSE_COMMONDLGS=yes
3222 DEFAULT_wxUSE_CHOICEDLG=yes
3223 DEFAULT_wxUSE_COLOURDLG=yes
3224 DEFAULT_wxUSE_DIRDLG=yes
3225 DEFAULT_wxUSE_FILEDLG=yes
3226 DEFAULT_wxUSE_FINDREPLDLG=yes
3227 DEFAULT_wxUSE_FONTDLG=yes
3228 DEFAULT_wxUSE_MSGDLG=yes
3229 DEFAULT_wxUSE_NUMBERDLG=yes
3230 DEFAULT_wxUSE_TEXTDLG=yes
3231 DEFAULT_wxUSE_SPLASH=yes
3232 DEFAULT_wxUSE_STARTUP_TIPS=yes
3233 DEFAULT_wxUSE_PROGRESSDLG=yes
3234 DEFAULT_wxUSE_WIZARDDLG=yes
3236 DEFAULT_wxUSE_MENUS=yes
3237 DEFAULT_wxUSE_MINIFRAME=yes
3238 DEFAULT_wxUSE_HTML=yes
3239 DEFAULT_wxUSE_RICHTEXT=yes
3240 DEFAULT_wxUSE_XRC=yes
3241 DEFAULT_wxUSE_AUI=yes
3242 DEFAULT_wxUSE_STC=yes
3243 DEFAULT_wxUSE_WEBKIT=yes
3244 DEFAULT_wxUSE_FILESYSTEM=yes
3245 DEFAULT_wxUSE_FS_INET=yes
3246 DEFAULT_wxUSE_FS_ZIP=yes
3247 DEFAULT_wxUSE_FS_ARCHIVE=yes
3248 DEFAULT_wxUSE_BUSYINFO=yes
3249 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3250 DEFAULT_wxUSE_ZIPSTREAM=yes
3251 DEFAULT_wxUSE_TARSTREAM=yes
3252 DEFAULT_wxUSE_VALIDATORS=yes
3254 DEFAULT_wxUSE_ACCEL=yes
3255 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3256 DEFAULT_wxUSE_BUTTON=yes
3257 DEFAULT_wxUSE_BMPBUTTON=yes
3258 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3259 DEFAULT_wxUSE_CALCTRL=yes
3260 DEFAULT_wxUSE_CARET=yes
3261 DEFAULT_wxUSE_CHECKBOX=yes
3262 DEFAULT_wxUSE_CHECKLST=yes
3263 DEFAULT_wxUSE_CHOICE=yes
3264 DEFAULT_wxUSE_CHOICEBOOK=yes
3265 DEFAULT_wxUSE_COLLPANE=yes
3266 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3267 DEFAULT_wxUSE_COMBOBOX=yes
3268 DEFAULT_wxUSE_COMBOCTRL=yes
3269 DEFAULT_wxUSE_DATEPICKCTRL=yes
3270 DEFAULT_wxUSE_DISPLAY=yes
3271 DEFAULT_wxUSE_DETECT_SM=yes
3272 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3273 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3274 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3275 DEFAULT_wxUSE_GAUGE=yes
3276 DEFAULT_wxUSE_GRID=yes
3277 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3278 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3279 DEFAULT_wxUSE_DATAVIEWCTRL=no
3280 DEFAULT_wxUSE_IMAGLIST=yes
3281 DEFAULT_wxUSE_LISTBOOK=yes
3282 DEFAULT_wxUSE_LISTBOX=yes
3283 DEFAULT_wxUSE_LISTCTRL=yes
3284 DEFAULT_wxUSE_NOTEBOOK=yes
3285 DEFAULT_wxUSE_ODCOMBOBOX=yes
3286 DEFAULT_wxUSE_RADIOBOX=yes
3287 DEFAULT_wxUSE_RADIOBTN=yes
3288 DEFAULT_wxUSE_SASH=yes
3289 DEFAULT_wxUSE_SCROLLBAR=yes
3290 DEFAULT_wxUSE_SEARCHCTRL=yes
3291 DEFAULT_wxUSE_SLIDER=yes
3292 DEFAULT_wxUSE_SPINBTN=yes
3293 DEFAULT_wxUSE_SPINCTRL=yes
3294 DEFAULT_wxUSE_SPLITTER=yes
3295 DEFAULT_wxUSE_STATBMP=yes
3296 DEFAULT_wxUSE_STATBOX=yes
3297 DEFAULT_wxUSE_STATLINE=yes
3298 DEFAULT_wxUSE_STATTEXT=yes
3299 DEFAULT_wxUSE_STATUSBAR=yes
3300 DEFAULT_wxUSE_TAB_DIALOG=no
3301 DEFAULT_wxUSE_TEXTCTRL=yes
3302 DEFAULT_wxUSE_TOGGLEBTN=yes
3303 DEFAULT_wxUSE_TOOLBAR=yes
3304 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3305 DEFAULT_wxUSE_TREEBOOK=yes
3306 DEFAULT_wxUSE_TOOLBOOK=yes
3307 DEFAULT_wxUSE_TREECTRL=yes
3308 DEFAULT_wxUSE_POPUPWIN=yes
3309 DEFAULT_wxUSE_TIPWINDOW=yes
3311 DEFAULT_wxUSE_UNICODE=no
3312 DEFAULT_wxUSE_UNICODE_MSLU=yes
3313 DEFAULT_wxUSE_WCSRTOMBS=no
3315 DEFAULT_wxUSE_PALETTE=yes
3316 DEFAULT_wxUSE_IMAGE=yes
3317 DEFAULT_wxUSE_GIF=yes
3318 DEFAULT_wxUSE_PCX=yes
3319 DEFAULT_wxUSE_TGA=yes
3320 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3321 DEFAULT_wxUSE_XPM=yes
3322 DEFAULT_wxUSE_ICO_CUR=yes
3323 DEFAULT_wxUSE_ACCESSIBILITY=no
3325 DEFAULT_wxUSE_MONOLITHIC=no
3326 DEFAULT_wxUSE_PLUGINS=no
3327 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3329 DEFAULT_wxUSE_GTK2=yes
3335 for toolkit in `echo $ALL_TOOLKITS`; do
3336 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3337 if test "x$LINE" != "x" ; then
3338 has_toolkit_in_cache=1
3339 eval "DEFAULT_$LINE"
3340 eval "CACHE_$toolkit=1"
3342 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3343 if test "x$LINE" != "x" ; then
3344 eval "DEFAULT_$LINE"
3352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3353 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3355 # Check whether --enable-gui was given.
3356 if test "${enable_gui+set}" = set; then
3357 enableval=$enable_gui;
3358 if test "$enableval" = yes; then
3359 ac_cv_use_gui='wxUSE_GUI=yes'
3361 ac_cv_use_gui='wxUSE_GUI=no'
3366 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x ; then
3368 eval "DEFAULT_$LINE"
3373 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3378 eval "$ac_cv_use_gui"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3383 if test "$wxUSE_GUI" = yes; then
3384 { echo "$as_me:$LINENO: result: yes" >&5
3385 echo "${ECHO_T}yes" >&6; }
3387 { echo "$as_me:$LINENO: result: no" >&5
3388 echo "${ECHO_T}no" >&6; }
3393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3396 # Check whether --enable-monolithic was given.
3397 if test "${enable_monolithic+set}" = set; then
3398 enableval=$enable_monolithic;
3399 if test "$enableval" = yes; then
3400 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3402 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3407 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x ; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3419 eval "$ac_cv_use_monolithic"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_MONOLITHIC" = yes; then
3425 { echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6; }
3428 { echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6; }
3434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3437 # Check whether --enable-plugins was given.
3438 if test "${enable_plugins+set}" = set; then
3439 enableval=$enable_plugins;
3440 if test "$enableval" = yes; then
3441 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3443 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3448 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x ; then
3450 eval "DEFAULT_$LINE"
3455 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3460 eval "$ac_cv_use_plugins"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_PLUGINS" = yes; then
3466 { echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6; }
3469 { echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6; }
3475 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3476 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3479 # Check whether --with-subdirs was given.
3480 if test "${with_subdirs+set}" = set; then
3481 withval=$with_subdirs;
3482 if test "$withval" = yes; then
3483 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3485 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3490 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3502 eval "$ac_cv_use_subdirs"
3503 if test "$no_cache" != 1; then
3504 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3507 if test "$wxWITH_SUBDIRS" = yes; then
3508 { echo "$as_me:$LINENO: result: yes" >&5
3509 echo "${ECHO_T}yes" >&6; }
3511 { echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6; }
3516 if test "$wxUSE_GUI" = "yes"; then
3520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3521 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3523 # Check whether --enable-universal was given.
3524 if test "${enable_universal+set}" = set; then
3525 enableval=$enable_universal;
3526 if test "$enableval" = yes; then
3527 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3529 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3534 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3535 if test "x$LINE" != x ; then
3536 eval "DEFAULT_$LINE"
3541 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3546 eval "$ac_cv_use_universal"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3551 if test "$wxUSE_UNIVERSAL" = yes; then
3552 { echo "$as_me:$LINENO: result: yes" >&5
3553 echo "${ECHO_T}yes" >&6; }
3555 { echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6; }
3560 # Check whether --with-gtk was given.
3561 if test "${with_gtk+set}" = set; then
3562 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3566 # Check whether --with-motif was given.
3567 if test "${with_motif+set}" = set; then
3568 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3572 # Check whether --with-mac was given.
3573 if test "${with_mac+set}" = set; then
3574 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3578 # Check whether --with-cocoa was given.
3579 if test "${with_cocoa+set}" = set; then
3580 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3584 # Check whether --with-wine was given.
3585 if test "${with_wine+set}" = set; then
3586 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3590 # Check whether --with-msw was given.
3591 if test "${with_msw+set}" = set; then
3592 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3596 # Check whether --with-pm was given.
3597 if test "${with_pm+set}" = set; then
3598 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3602 # Check whether --with-mgl was given.
3603 if test "${with_mgl+set}" = set; then
3604 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3608 # Check whether --with-directfb was given.
3609 if test "${with_directfb+set}" = set; then
3610 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3614 # Check whether --with-microwin was given.
3615 if test "${with_microwin+set}" = set; then
3616 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3620 # Check whether --with-x11 was given.
3621 if test "${with_x11+set}" = set; then
3622 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3628 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3630 # Check whether --enable-nanox was given.
3631 if test "${enable_nanox+set}" = set; then
3632 enableval=$enable_nanox;
3633 if test "$enableval" = yes; then
3634 ac_cv_use_nanox='wxUSE_NANOX=yes'
3636 ac_cv_use_nanox='wxUSE_NANOX=no'
3641 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x ; then
3643 eval "DEFAULT_$LINE"
3648 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3653 eval "$ac_cv_use_nanox"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_NANOX" = yes; then
3659 { echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6; }
3662 { echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6; }
3667 # Check whether --enable-gtk2 was given.
3668 if test "${enable_gtk2+set}" = set; then
3669 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3675 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3677 # Check whether --enable-gpe was given.
3678 if test "${enable_gpe+set}" = set; then
3679 enableval=$enable_gpe;
3680 if test "$enableval" = yes; then
3681 ac_cv_use_gpe='wxUSE_GPE=yes'
3683 ac_cv_use_gpe='wxUSE_GPE=no'
3688 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3689 if test "x$LINE" != x ; then
3690 eval "DEFAULT_$LINE"
3695 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3700 eval "$ac_cv_use_gpe"
3701 if test "$no_cache" != 1; then
3702 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3705 if test "$wxUSE_GPE" = yes; then
3706 { echo "$as_me:$LINENO: result: yes" >&5
3707 echo "${ECHO_T}yes" >&6; }
3709 { echo "$as_me:$LINENO: result: no" >&5
3710 echo "${ECHO_T}no" >&6; }
3715 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3716 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3719 # Check whether --with-libpng was given.
3720 if test "${with_libpng+set}" = set; then
3721 withval=$with_libpng;
3722 if test "$withval" = yes; then
3723 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3724 elif test "$withval" = no; then
3725 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3726 elif test "$withval" = sys; then
3727 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3728 elif test "$withval" = builtin; then
3729 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3738 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x ; then
3740 eval "DEFAULT_$LINE"
3745 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3750 eval "$ac_cv_use_libpng"
3751 if test "$no_cache" != 1; then
3752 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3755 if test "$wxUSE_LIBPNG" = yes; then
3756 { echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6; }
3758 elif test "$wxUSE_LIBPNG" = no; then
3759 { echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6; }
3761 elif test "$wxUSE_LIBPNG" = sys; then
3762 { echo "$as_me:$LINENO: result: system version" >&5
3763 echo "${ECHO_T}system version" >&6; }
3764 elif test "$wxUSE_LIBPNG" = builtin; then
3765 { echo "$as_me:$LINENO: result: builtin version" >&5
3766 echo "${ECHO_T}builtin version" >&6; }
3768 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3769 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3770 { (exit 1); exit 1; }; }
3774 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3775 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3778 # Check whether --with-libjpeg was given.
3779 if test "${with_libjpeg+set}" = set; then
3780 withval=$with_libjpeg;
3781 if test "$withval" = yes; then
3782 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3783 elif test "$withval" = no; then
3784 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3785 elif test "$withval" = sys; then
3786 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3787 elif test "$withval" = builtin; then
3788 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3790 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3791 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3792 { (exit 1); exit 1; }; }
3797 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x ; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3809 eval "$ac_cv_use_libjpeg"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_LIBJPEG" = yes; then
3815 { echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6; }
3817 elif test "$wxUSE_LIBJPEG" = no; then
3818 { echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6; }
3820 elif test "$wxUSE_LIBJPEG" = sys; then
3821 { echo "$as_me:$LINENO: result: system version" >&5
3822 echo "${ECHO_T}system version" >&6; }
3823 elif test "$wxUSE_LIBJPEG" = builtin; then
3824 { echo "$as_me:$LINENO: result: builtin version" >&5
3825 echo "${ECHO_T}builtin version" >&6; }
3827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3828 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3829 { (exit 1); exit 1; }; }
3833 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3834 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3837 # Check whether --with-libtiff was given.
3838 if test "${with_libtiff+set}" = set; then
3839 withval=$with_libtiff;
3840 if test "$withval" = yes; then
3841 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3842 elif test "$withval" = no; then
3843 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3844 elif test "$withval" = sys; then
3845 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3846 elif test "$withval" = builtin; then
3847 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3849 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3850 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3851 { (exit 1); exit 1; }; }
3856 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3857 if test "x$LINE" != x ; then
3858 eval "DEFAULT_$LINE"
3863 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3868 eval "$ac_cv_use_libtiff"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3873 if test "$wxUSE_LIBTIFF" = yes; then
3874 { echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6; }
3876 elif test "$wxUSE_LIBTIFF" = no; then
3877 { echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6; }
3879 elif test "$wxUSE_LIBTIFF" = sys; then
3880 { echo "$as_me:$LINENO: result: system version" >&5
3881 echo "${ECHO_T}system version" >&6; }
3882 elif test "$wxUSE_LIBTIFF" = builtin; then
3883 { echo "$as_me:$LINENO: result: builtin version" >&5
3884 echo "${ECHO_T}builtin version" >&6; }
3886 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3887 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3888 { (exit 1); exit 1; }; }
3892 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3893 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3896 # Check whether --with-libxpm was given.
3897 if test "${with_libxpm+set}" = set; then
3898 withval=$with_libxpm;
3899 if test "$withval" = yes; then
3900 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3901 elif test "$withval" = no; then
3902 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3903 elif test "$withval" = sys; then
3904 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3905 elif test "$withval" = builtin; then
3906 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3908 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3909 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3910 { (exit 1); exit 1; }; }
3915 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x ; then
3917 eval "DEFAULT_$LINE"
3922 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3927 eval "$ac_cv_use_libxpm"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3932 if test "$wxUSE_LIBXPM" = yes; then
3933 { echo "$as_me:$LINENO: result: yes" >&5
3934 echo "${ECHO_T}yes" >&6; }
3935 elif test "$wxUSE_LIBXPM" = no; then
3936 { echo "$as_me:$LINENO: result: no" >&5
3937 echo "${ECHO_T}no" >&6; }
3938 elif test "$wxUSE_LIBXPM" = sys; then
3939 { echo "$as_me:$LINENO: result: system version" >&5
3940 echo "${ECHO_T}system version" >&6; }
3941 elif test "$wxUSE_LIBXPM" = builtin; then
3942 { echo "$as_me:$LINENO: result: builtin version" >&5
3943 echo "${ECHO_T}builtin version" >&6; }
3945 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3946 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3947 { (exit 1); exit 1; }; }
3952 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3953 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3956 # Check whether --with-libmspack was given.
3957 if test "${with_libmspack+set}" = set; then
3958 withval=$with_libmspack;
3959 if test "$withval" = yes; then
3960 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3962 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3967 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x ; then
3969 eval "DEFAULT_$LINE"
3974 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3979 eval "$ac_cv_use_libmspack"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_LIBMSPACK" = yes; then
3985 { echo "$as_me:$LINENO: result: yes" >&5
3986 echo "${ECHO_T}yes" >&6; }
3988 { echo "$as_me:$LINENO: result: no" >&5
3989 echo "${ECHO_T}no" >&6; }
3994 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3995 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3998 # Check whether --with-sdl was given.
3999 if test "${with_sdl+set}" = set; then
4001 if test "$withval" = yes; then
4002 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4004 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4009 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x ; then
4011 eval "DEFAULT_$LINE"
4016 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4021 eval "$ac_cv_use_sdl"
4022 if test "$no_cache" != 1; then
4023 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4026 if test "$wxUSE_LIBSDL" = yes; then
4027 { echo "$as_me:$LINENO: result: yes" >&5
4028 echo "${ECHO_T}yes" >&6; }
4030 { echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6; }
4036 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4037 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4040 # Check whether --with-gnomeprint was given.
4041 if test "${with_gnomeprint+set}" = set; then
4042 withval=$with_gnomeprint;
4043 if test "$withval" = yes; then
4044 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4046 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4051 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4052 if test "x$LINE" != x ; then
4053 eval "DEFAULT_$LINE"
4058 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4063 eval "$ac_cv_use_gnomeprint"
4064 if test "$no_cache" != 1; then
4065 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4068 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4069 { echo "$as_me:$LINENO: result: yes" >&5
4070 echo "${ECHO_T}yes" >&6; }
4072 { echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6; }
4078 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4079 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4082 # Check whether --with-gnomevfs was given.
4083 if test "${with_gnomevfs+set}" = set; then
4084 withval=$with_gnomevfs;
4085 if test "$withval" = yes; then
4086 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4088 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4093 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4094 if test "x$LINE" != x ; then
4095 eval "DEFAULT_$LINE"
4100 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4105 eval "$ac_cv_use_gnomevfs"
4106 if test "$no_cache" != 1; then
4107 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4110 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4111 { echo "$as_me:$LINENO: result: yes" >&5
4112 echo "${ECHO_T}yes" >&6; }
4114 { echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6; }
4120 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4121 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4124 # Check whether --with-hildon was given.
4125 if test "${with_hildon+set}" = set; then
4126 withval=$with_hildon;
4127 if test "$withval" = yes; then
4128 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4130 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4135 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x ; then
4137 eval "DEFAULT_$LINE"
4142 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4147 eval "$ac_cv_use_hildon"
4148 if test "$no_cache" != 1; then
4149 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4152 if test "$wxUSE_LIBHILDON" = yes; then
4153 { echo "$as_me:$LINENO: result: yes" >&5
4154 echo "${ECHO_T}yes" >&6; }
4156 { echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6; }
4162 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4163 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4166 # Check whether --with-opengl was given.
4167 if test "${with_opengl+set}" = set; then
4168 withval=$with_opengl;
4169 if test "$withval" = yes; then
4170 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4172 ac_cv_use_opengl='wxUSE_OPENGL=no'
4177 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4178 if test "x$LINE" != x ; then
4179 eval "DEFAULT_$LINE"
4184 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4189 eval "$ac_cv_use_opengl"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4194 if test "$wxUSE_OPENGL" = yes; then
4195 { echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6; }
4198 { echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6; }
4203 if test "$wxUSE_UNIVERSAL" = "yes"; then
4205 # Check whether --with-themes was given.
4206 if test "${with_themes+set}" = set; then
4207 withval=$with_themes; wxUNIV_THEMES="$withval"
4216 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4217 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4220 # Check whether --with-dmalloc was given.
4221 if test "${with_dmalloc+set}" = set; then
4222 withval=$with_dmalloc;
4223 if test "$withval" = yes; then
4224 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4226 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4231 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x ; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4243 eval "$ac_cv_use_dmalloc"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_DMALLOC" = yes; then
4249 { echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6; }
4252 { echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6; }
4257 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4258 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4261 # Check whether --with-regex was given.
4262 if test "${with_regex+set}" = set; then
4263 withval=$with_regex;
4264 if test "$withval" = yes; then
4265 ac_cv_use_regex='wxUSE_REGEX=yes'
4266 elif test "$withval" = no; then
4267 ac_cv_use_regex='wxUSE_REGEX=no'
4268 elif test "$withval" = sys; then
4269 ac_cv_use_regex='wxUSE_REGEX=sys'
4270 elif test "$withval" = builtin; then
4271 ac_cv_use_regex='wxUSE_REGEX=builtin'
4273 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4274 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4275 { (exit 1); exit 1; }; }
4280 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x ; then
4282 eval "DEFAULT_$LINE"
4287 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4292 eval "$ac_cv_use_regex"
4293 if test "$no_cache" != 1; then
4294 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4297 if test "$wxUSE_REGEX" = yes; then
4298 { echo "$as_me:$LINENO: result: yes" >&5
4299 echo "${ECHO_T}yes" >&6; }
4300 elif test "$wxUSE_REGEX" = no; then
4301 { echo "$as_me:$LINENO: result: no" >&5
4302 echo "${ECHO_T}no" >&6; }
4303 elif test "$wxUSE_REGEX" = sys; then
4304 { echo "$as_me:$LINENO: result: system version" >&5
4305 echo "${ECHO_T}system version" >&6; }
4306 elif test "$wxUSE_REGEX" = builtin; then
4307 { echo "$as_me:$LINENO: result: builtin version" >&5
4308 echo "${ECHO_T}builtin version" >&6; }
4310 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4311 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4312 { (exit 1); exit 1; }; }
4316 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4317 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4320 # Check whether --with-zlib was given.
4321 if test "${with_zlib+set}" = set; then
4323 if test "$withval" = yes; then
4324 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4325 elif test "$withval" = no; then
4326 ac_cv_use_zlib='wxUSE_ZLIB=no'
4327 elif test "$withval" = sys; then
4328 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4329 elif test "$withval" = builtin; then
4330 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4332 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4333 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4334 { (exit 1); exit 1; }; }
4339 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4340 if test "x$LINE" != x ; then
4341 eval "DEFAULT_$LINE"
4346 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4351 eval "$ac_cv_use_zlib"
4352 if test "$no_cache" != 1; then
4353 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4356 if test "$wxUSE_ZLIB" = yes; then
4357 { echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6; }
4359 elif test "$wxUSE_ZLIB" = no; then
4360 { echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6; }
4362 elif test "$wxUSE_ZLIB" = sys; then
4363 { echo "$as_me:$LINENO: result: system version" >&5
4364 echo "${ECHO_T}system version" >&6; }
4365 elif test "$wxUSE_ZLIB" = builtin; then
4366 { echo "$as_me:$LINENO: result: builtin version" >&5
4367 echo "${ECHO_T}builtin version" >&6; }
4369 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4370 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4371 { (exit 1); exit 1; }; }
4375 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4376 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4379 # Check whether --with-odbc was given.
4380 if test "${with_odbc+set}" = set; then
4382 if test "$withval" = yes; then
4383 ac_cv_use_odbc='wxUSE_ODBC=yes'
4384 elif test "$withval" = no; then
4385 ac_cv_use_odbc='wxUSE_ODBC=no'
4386 elif test "$withval" = sys; then
4387 ac_cv_use_odbc='wxUSE_ODBC=sys'
4388 elif test "$withval" = builtin; then
4389 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4391 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4392 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4393 { (exit 1); exit 1; }; }
4398 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x ; then
4400 eval "DEFAULT_$LINE"
4405 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4410 eval "$ac_cv_use_odbc"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_ODBC" = yes; then
4416 { echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6; }
4418 elif test "$wxUSE_ODBC" = no; then
4419 { echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6; }
4421 elif test "$wxUSE_ODBC" = sys; then
4422 { echo "$as_me:$LINENO: result: system version" >&5
4423 echo "${ECHO_T}system version" >&6; }
4424 elif test "$wxUSE_ODBC" = builtin; then
4425 { echo "$as_me:$LINENO: result: builtin version" >&5
4426 echo "${ECHO_T}builtin version" >&6; }
4428 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4429 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4430 { (exit 1); exit 1; }; }
4434 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4435 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4438 # Check whether --with-expat was given.
4439 if test "${with_expat+set}" = set; then
4440 withval=$with_expat;
4441 if test "$withval" = yes; then
4442 ac_cv_use_expat='wxUSE_EXPAT=yes'
4443 elif test "$withval" = no; then
4444 ac_cv_use_expat='wxUSE_EXPAT=no'
4445 elif test "$withval" = sys; then
4446 ac_cv_use_expat='wxUSE_EXPAT=sys'
4447 elif test "$withval" = builtin; then
4448 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4450 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4451 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4452 { (exit 1); exit 1; }; }
4457 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4464 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4469 eval "$ac_cv_use_expat"
4470 if test "$no_cache" != 1; then
4471 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4474 if test "$wxUSE_EXPAT" = yes; then
4475 { echo "$as_me:$LINENO: result: yes" >&5
4476 echo "${ECHO_T}yes" >&6; }
4477 elif test "$wxUSE_EXPAT" = no; then
4478 { echo "$as_me:$LINENO: result: no" >&5
4479 echo "${ECHO_T}no" >&6; }
4480 elif test "$wxUSE_EXPAT" = sys; then
4481 { echo "$as_me:$LINENO: result: system version" >&5
4482 echo "${ECHO_T}system version" >&6; }
4483 elif test "$wxUSE_EXPAT" = builtin; then
4484 { echo "$as_me:$LINENO: result: builtin version" >&5
4485 echo "${ECHO_T}builtin version" >&6; }
4487 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4488 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4489 { (exit 1); exit 1; }; }
4496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4499 # Check whether --enable-shared was given.
4500 if test "${enable_shared+set}" = set; then
4501 enableval=$enable_shared;
4502 if test "$enableval" = yes; then
4503 ac_cv_use_shared='wxUSE_SHARED=yes'
4505 ac_cv_use_shared='wxUSE_SHARED=no'
4510 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x ; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4522 eval "$ac_cv_use_shared"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4527 if test "$wxUSE_SHARED" = yes; then
4528 { echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6; }
4531 { echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6; }
4537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4540 # Check whether --enable-optimise was given.
4541 if test "${enable_optimise+set}" = set; then
4542 enableval=$enable_optimise;
4543 if test "$enableval" = yes; then
4544 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4546 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4551 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x ; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4563 eval "$ac_cv_use_optimise"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_OPTIMISE" = yes; then
4569 { echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6; }
4572 { echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6; }
4578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4581 # Check whether --enable-debug was given.
4582 if test "${enable_debug+set}" = set; then
4583 enableval=$enable_debug;
4584 if test "$enableval" = yes; then
4585 ac_cv_use_debug='wxUSE_DEBUG=yes'
4587 ac_cv_use_debug='wxUSE_DEBUG=no'
4592 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x ; then
4594 eval "DEFAULT_$LINE"
4599 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4604 eval "$ac_cv_use_debug"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4609 if test "$wxUSE_DEBUG" = yes; then
4610 { echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6; }
4613 { echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6; }
4619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4622 # Check whether --enable-stl was given.
4623 if test "${enable_stl+set}" = set; then
4624 enableval=$enable_stl;
4625 if test "$enableval" = yes; then
4626 ac_cv_use_stl='wxUSE_STL=yes'
4628 ac_cv_use_stl='wxUSE_STL=no'
4633 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x ; then
4635 eval "DEFAULT_$LINE"
4640 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4645 eval "$ac_cv_use_stl"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4650 if test "$wxUSE_STL" = yes; then
4651 { echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6; }
4654 { echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6; }
4658 if test "$USE_OS2" = "1"; then
4659 DEFAULT_wxUSE_OMF=no
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4665 # Check whether --enable-omf was given.
4666 if test "${enable_omf+set}" = set; then
4667 enableval=$enable_omf;
4668 if test "$enableval" = yes; then
4669 ac_cv_use_omf='wxUSE_OMF=yes'
4671 ac_cv_use_omf='wxUSE_OMF=no'
4676 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x ; then
4678 eval "DEFAULT_$LINE"
4683 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4688 eval "$ac_cv_use_omf"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4693 if test "$wxUSE_OMF" = yes; then
4694 { echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6; }
4697 { echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6; }
4703 if test "$wxUSE_DEBUG" = "yes"; then
4704 DEFAULT_wxUSE_DEBUG_FLAG=yes
4705 DEFAULT_wxUSE_DEBUG_INFO=yes
4707 elif test "$wxUSE_DEBUG" = "no"; then
4708 DEFAULT_wxUSE_DEBUG_FLAG=no
4709 DEFAULT_wxUSE_DEBUG_INFO=no
4715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4716 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4718 # Check whether --enable-debug_flag was given.
4719 if test "${enable_debug_flag+set}" = set; then
4720 enableval=$enable_debug_flag;
4721 if test "$enableval" = yes; then
4722 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4724 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4729 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4730 if test "x$LINE" != x ; then
4731 eval "DEFAULT_$LINE"
4736 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4741 eval "$ac_cv_use_debug_flag"
4742 if test "$no_cache" != 1; then
4743 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4746 if test "$wxUSE_DEBUG_FLAG" = yes; then
4747 { echo "$as_me:$LINENO: result: yes" >&5
4748 echo "${ECHO_T}yes" >&6; }
4750 { echo "$as_me:$LINENO: result: no" >&5
4751 echo "${ECHO_T}no" >&6; }
4756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4759 # Check whether --enable-debug_info was given.
4760 if test "${enable_debug_info+set}" = set; then
4761 enableval=$enable_debug_info;
4762 if test "$enableval" = yes; then
4763 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4765 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4770 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x ; then
4772 eval "DEFAULT_$LINE"
4777 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4782 eval "$ac_cv_use_debug_info"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4787 if test "$wxUSE_DEBUG_INFO" = yes; then
4788 { echo "$as_me:$LINENO: result: yes" >&5
4789 echo "${ECHO_T}yes" >&6; }
4791 { echo "$as_me:$LINENO: result: no" >&5
4792 echo "${ECHO_T}no" >&6; }
4797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4798 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4800 # Check whether --enable-debug_gdb was given.
4801 if test "${enable_debug_gdb+set}" = set; then
4802 enableval=$enable_debug_gdb;
4803 if test "$enableval" = yes; then
4804 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4806 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4811 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x ; then
4813 eval "DEFAULT_$LINE"
4818 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4823 eval "$ac_cv_use_debug_gdb"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4828 if test "$wxUSE_DEBUG_GDB" = yes; then
4829 { echo "$as_me:$LINENO: result: yes" >&5
4830 echo "${ECHO_T}yes" >&6; }
4832 { echo "$as_me:$LINENO: result: no" >&5
4833 echo "${ECHO_T}no" >&6; }
4838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4841 # Check whether --enable-debug_cntxt was given.
4842 if test "${enable_debug_cntxt+set}" = set; then
4843 enableval=$enable_debug_cntxt;
4844 if test "$enableval" = yes; then
4845 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4847 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4852 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4853 if test "x$LINE" != x ; then
4854 eval "DEFAULT_$LINE"
4859 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4864 eval "$ac_cv_use_debug_cntxt"
4865 if test "$no_cache" != 1; then
4866 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4869 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4870 { echo "$as_me:$LINENO: result: yes" >&5
4871 echo "${ECHO_T}yes" >&6; }
4873 { echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6; }
4879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4880 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4882 # Check whether --enable-mem_tracing was given.
4883 if test "${enable_mem_tracing+set}" = set; then
4884 enableval=$enable_mem_tracing;
4885 if test "$enableval" = yes; then
4886 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4888 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4893 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x ; then
4895 eval "DEFAULT_$LINE"
4900 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4905 eval "$ac_cv_use_mem_tracing"
4906 if test "$no_cache" != 1; then
4907 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4910 if test "$wxUSE_MEM_TRACING" = yes; then
4911 { echo "$as_me:$LINENO: result: yes" >&5
4912 echo "${ECHO_T}yes" >&6; }
4914 { echo "$as_me:$LINENO: result: no" >&5
4915 echo "${ECHO_T}no" >&6; }
4920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4923 # Check whether --enable-profile was given.
4924 if test "${enable_profile+set}" = set; then
4925 enableval=$enable_profile;
4926 if test "$enableval" = yes; then
4927 ac_cv_use_profile='wxUSE_PROFILE=yes'
4929 ac_cv_use_profile='wxUSE_PROFILE=no'
4934 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4935 if test "x$LINE" != x ; then
4936 eval "DEFAULT_$LINE"
4941 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4946 eval "$ac_cv_use_profile"
4947 if test "$no_cache" != 1; then
4948 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4951 if test "$wxUSE_PROFILE" = yes; then
4952 { echo "$as_me:$LINENO: result: yes" >&5
4953 echo "${ECHO_T}yes" >&6; }
4955 { echo "$as_me:$LINENO: result: no" >&5
4956 echo "${ECHO_T}no" >&6; }
4961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4962 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4964 # Check whether --enable-no_rtti was given.
4965 if test "${enable_no_rtti+set}" = set; then
4966 enableval=$enable_no_rtti;
4967 if test "$enableval" = yes; then
4968 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4970 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4975 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x ; then
4977 eval "DEFAULT_$LINE"
4982 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4987 eval "$ac_cv_use_no_rtti"
4988 if test "$no_cache" != 1; then
4989 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4992 if test "$wxUSE_NO_RTTI" = yes; then
4993 { echo "$as_me:$LINENO: result: yes" >&5
4994 echo "${ECHO_T}yes" >&6; }
4996 { echo "$as_me:$LINENO: result: no" >&5
4997 echo "${ECHO_T}no" >&6; }
5002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5003 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5005 # Check whether --enable-no_exceptions was given.
5006 if test "${enable_no_exceptions+set}" = set; then
5007 enableval=$enable_no_exceptions;
5008 if test "$enableval" = yes; then
5009 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5011 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5016 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x ; then
5018 eval "DEFAULT_$LINE"
5023 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5028 eval "$ac_cv_use_no_exceptions"
5029 if test "$no_cache" != 1; then
5030 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5033 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5034 { echo "$as_me:$LINENO: result: yes" >&5
5035 echo "${ECHO_T}yes" >&6; }
5037 { echo "$as_me:$LINENO: result: no" >&5
5038 echo "${ECHO_T}no" >&6; }
5043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5044 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5046 # Check whether --enable-permissive was given.
5047 if test "${enable_permissive+set}" = set; then
5048 enableval=$enable_permissive;
5049 if test "$enableval" = yes; then
5050 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5052 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5057 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x ; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5069 eval "$ac_cv_use_permissive"
5070 if test "$no_cache" != 1; then
5071 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5074 if test "$wxUSE_PERMISSIVE" = yes; then
5075 { echo "$as_me:$LINENO: result: yes" >&5
5076 echo "${ECHO_T}yes" >&6; }
5078 { echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6; }
5084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5085 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5087 # Check whether --enable-no_deps was given.
5088 if test "${enable_no_deps+set}" = set; then
5089 enableval=$enable_no_deps;
5090 if test "$enableval" = yes; then
5091 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5093 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5098 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x ; then
5100 eval "DEFAULT_$LINE"
5105 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5110 eval "$ac_cv_use_no_deps"
5111 if test "$no_cache" != 1; then
5112 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5115 if test "$wxUSE_NO_DEPS" = yes; then
5116 { echo "$as_me:$LINENO: result: yes" >&5
5117 echo "${ECHO_T}yes" >&6; }
5119 { echo "$as_me:$LINENO: result: no" >&5
5120 echo "${ECHO_T}no" >&6; }
5125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5126 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5128 # Check whether --enable-vararg_macros was given.
5129 if test "${enable_vararg_macros+set}" = set; then
5130 enableval=$enable_vararg_macros;
5131 if test "$enableval" = yes; then
5132 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5134 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5139 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x ; then
5141 eval "DEFAULT_$LINE"
5146 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5151 eval "$ac_cv_use_vararg_macros"
5152 if test "$no_cache" != 1; then
5153 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5156 if test "$wxUSE_VARARG_MACROS" = yes; then
5157 { echo "$as_me:$LINENO: result: yes" >&5
5158 echo "${ECHO_T}yes" >&6; }
5160 { echo "$as_me:$LINENO: result: no" >&5
5161 echo "${ECHO_T}no" >&6; }
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5169 # Check whether --enable-universal_binary was given.
5170 if test "${enable_universal_binary+set}" = set; then
5171 enableval=$enable_universal_binary;
5172 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5176 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5177 if test "x$LINE" != x ; then
5178 eval "DEFAULT_$LINE"
5179 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5182 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5188 eval "$wx_cv_use_universal_binary"
5189 if test "$no_cache" != 1; then
5190 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5193 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5194 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5200 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5202 # Check whether --enable-compat26 was given.
5203 if test "${enable_compat26+set}" = set; then
5204 enableval=$enable_compat26;
5205 if test "$enableval" = yes; then
5206 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5208 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5213 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x ; then
5215 eval "DEFAULT_$LINE"
5220 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5225 eval "$ac_cv_use_compat26"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5230 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5231 { echo "$as_me:$LINENO: result: yes" >&5
5232 echo "${ECHO_T}yes" >&6; }
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5239 enablestring=disable
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5243 # Check whether --enable-compat28 was given.
5244 if test "${enable_compat28+set}" = set; then
5245 enableval=$enable_compat28;
5246 if test "$enableval" = yes; then
5247 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5249 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5254 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x ; then
5256 eval "DEFAULT_$LINE"
5261 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5266 eval "$ac_cv_use_compat28"
5267 if test "$no_cache" != 1; then
5268 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5271 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5272 { echo "$as_me:$LINENO: result: yes" >&5
5273 echo "${ECHO_T}yes" >&6; }
5275 { echo "$as_me:$LINENO: result: no" >&5
5276 echo "${ECHO_T}no" >&6; }
5282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5285 # Check whether --enable-rpath was given.
5286 if test "${enable_rpath+set}" = set; then
5287 enableval=$enable_rpath;
5288 if test "$enableval" = yes; then
5289 ac_cv_use_rpath='wxUSE_RPATH=yes'
5291 ac_cv_use_rpath='wxUSE_RPATH=no'
5296 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5297 if test "x$LINE" != x ; then
5298 eval "DEFAULT_$LINE"
5303 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5308 eval "$ac_cv_use_rpath"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_RPATH" = yes; then
5314 { echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6; }
5317 { echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6; }
5326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5329 # Check whether --enable-intl was given.
5330 if test "${enable_intl+set}" = set; then
5331 enableval=$enable_intl;
5332 if test "$enableval" = yes; then
5333 ac_cv_use_intl='wxUSE_INTL=yes'
5335 ac_cv_use_intl='wxUSE_INTL=no'
5340 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5341 if test "x$LINE" != x ; then
5342 eval "DEFAULT_$LINE"
5347 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5352 eval "$ac_cv_use_intl"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_INTL" = yes; then
5358 { echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6; }
5361 { echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6; }
5367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5370 # Check whether --enable-config was given.
5371 if test "${enable_config+set}" = set; then
5372 enableval=$enable_config;
5373 if test "$enableval" = yes; then
5374 ac_cv_use_config='wxUSE_CONFIG=yes'
5376 ac_cv_use_config='wxUSE_CONFIG=no'
5381 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5382 if test "x$LINE" != x ; then
5383 eval "DEFAULT_$LINE"
5388 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5393 eval "$ac_cv_use_config"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_CONFIG" = yes; then
5399 { echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6; }
5402 { echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6; }
5409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5410 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5412 # Check whether --enable-protocols was given.
5413 if test "${enable_protocols+set}" = set; then
5414 enableval=$enable_protocols;
5415 if test "$enableval" = yes; then
5416 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5418 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5423 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5435 eval "$ac_cv_use_protocols"
5436 if test "$no_cache" != 1; then
5437 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5440 if test "$wxUSE_PROTOCOL" = yes; then
5441 { echo "$as_me:$LINENO: result: yes" >&5
5442 echo "${ECHO_T}yes" >&6; }
5444 { echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6; }
5450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5453 # Check whether --enable-ftp was given.
5454 if test "${enable_ftp+set}" = set; then
5455 enableval=$enable_ftp;
5456 if test "$enableval" = yes; then
5457 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5459 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5464 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5476 eval "$ac_cv_use_ftp"
5477 if test "$no_cache" != 1; then
5478 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5481 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5482 { echo "$as_me:$LINENO: result: yes" >&5
5483 echo "${ECHO_T}yes" >&6; }
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5492 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5494 # Check whether --enable-http was given.
5495 if test "${enable_http+set}" = set; then
5496 enableval=$enable_http;
5497 if test "$enableval" = yes; then
5498 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5500 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5505 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5517 eval "$ac_cv_use_http"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5522 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5523 { echo "$as_me:$LINENO: result: yes" >&5
5524 echo "${ECHO_T}yes" >&6; }
5526 { echo "$as_me:$LINENO: result: no" >&5
5527 echo "${ECHO_T}no" >&6; }
5532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5535 # Check whether --enable-fileproto was given.
5536 if test "${enable_fileproto+set}" = set; then
5537 enableval=$enable_fileproto;
5538 if test "$enableval" = yes; then
5539 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5541 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5546 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5558 eval "$ac_cv_use_fileproto"
5559 if test "$no_cache" != 1; then
5560 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5563 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5564 { echo "$as_me:$LINENO: result: yes" >&5
5565 echo "${ECHO_T}yes" >&6; }
5567 { echo "$as_me:$LINENO: result: no" >&5
5568 echo "${ECHO_T}no" >&6; }
5573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5574 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5576 # Check whether --enable-sockets was given.
5577 if test "${enable_sockets+set}" = set; then
5578 enableval=$enable_sockets;
5579 if test "$enableval" = yes; then
5580 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5582 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5587 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5599 eval "$ac_cv_use_sockets"
5600 if test "$no_cache" != 1; then
5601 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5604 if test "$wxUSE_SOCKETS" = yes; then
5605 { echo "$as_me:$LINENO: result: yes" >&5
5606 echo "${ECHO_T}yes" >&6; }
5608 { echo "$as_me:$LINENO: result: no" >&5
5609 echo "${ECHO_T}no" >&6; }
5614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5615 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5617 # Check whether --enable-ole was given.
5618 if test "${enable_ole+set}" = set; then
5619 enableval=$enable_ole;
5620 if test "$enableval" = yes; then
5621 ac_cv_use_ole='wxUSE_OLE=yes'
5623 ac_cv_use_ole='wxUSE_OLE=no'
5628 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5640 eval "$ac_cv_use_ole"
5641 if test "$no_cache" != 1; then
5642 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5645 if test "$wxUSE_OLE" = yes; then
5646 { echo "$as_me:$LINENO: result: yes" >&5
5647 echo "${ECHO_T}yes" >&6; }
5649 { echo "$as_me:$LINENO: result: no" >&5
5650 echo "${ECHO_T}no" >&6; }
5655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5658 # Check whether --enable-dataobj was given.
5659 if test "${enable_dataobj+set}" = set; then
5660 enableval=$enable_dataobj;
5661 if test "$enableval" = yes; then
5662 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5664 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5669 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5681 eval "$ac_cv_use_dataobj"
5682 if test "$no_cache" != 1; then
5683 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5686 if test "$wxUSE_DATAOBJ" = yes; then
5687 { echo "$as_me:$LINENO: result: yes" >&5
5688 echo "${ECHO_T}yes" >&6; }
5690 { echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6; }
5697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5698 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5700 # Check whether --enable-ipc was given.
5701 if test "${enable_ipc+set}" = set; then
5702 enableval=$enable_ipc;
5703 if test "$enableval" = yes; then
5704 ac_cv_use_ipc='wxUSE_IPC=yes'
5706 ac_cv_use_ipc='wxUSE_IPC=no'
5711 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5712 if test "x$LINE" != x ; then
5713 eval "DEFAULT_$LINE"
5718 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5723 eval "$ac_cv_use_ipc"
5724 if test "$no_cache" != 1; then
5725 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5728 if test "$wxUSE_IPC" = yes; then
5729 { echo "$as_me:$LINENO: result: yes" >&5
5730 echo "${ECHO_T}yes" >&6; }
5732 { echo "$as_me:$LINENO: result: no" >&5
5733 echo "${ECHO_T}no" >&6; }
5739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5742 # Check whether --enable-apple_ieee was given.
5743 if test "${enable_apple_ieee+set}" = set; then
5744 enableval=$enable_apple_ieee;
5745 if test "$enableval" = yes; then
5746 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5748 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5753 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5754 if test "x$LINE" != x ; then
5755 eval "DEFAULT_$LINE"
5760 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5765 eval "$ac_cv_use_apple_ieee"
5766 if test "$no_cache" != 1; then
5767 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5770 if test "$wxUSE_APPLE_IEEE" = yes; then
5771 { echo "$as_me:$LINENO: result: yes" >&5
5772 echo "${ECHO_T}yes" >&6; }
5774 { echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6; }
5780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5781 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5783 # Check whether --enable-arcstream was given.
5784 if test "${enable_arcstream+set}" = set; then
5785 enableval=$enable_arcstream;
5786 if test "$enableval" = yes; then
5787 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5789 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5794 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5795 if test "x$LINE" != x ; then
5796 eval "DEFAULT_$LINE"
5801 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5806 eval "$ac_cv_use_arcstream"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5811 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5812 { echo "$as_me:$LINENO: result: yes" >&5
5813 echo "${ECHO_T}yes" >&6; }
5815 { echo "$as_me:$LINENO: result: no" >&5
5816 echo "${ECHO_T}no" >&6; }
5821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5824 # Check whether --enable-backtrace was given.
5825 if test "${enable_backtrace+set}" = set; then
5826 enableval=$enable_backtrace;
5827 if test "$enableval" = yes; then
5828 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5830 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5835 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5836 if test "x$LINE" != x ; then
5837 eval "DEFAULT_$LINE"
5842 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5847 eval "$ac_cv_use_backtrace"
5848 if test "$no_cache" != 1; then
5849 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5852 if test "$wxUSE_STACKWALKER" = yes; then
5853 { echo "$as_me:$LINENO: result: yes" >&5
5854 echo "${ECHO_T}yes" >&6; }
5856 { echo "$as_me:$LINENO: result: no" >&5
5857 echo "${ECHO_T}no" >&6; }
5862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5863 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5865 # Check whether --enable-catch_segvs was given.
5866 if test "${enable_catch_segvs+set}" = set; then
5867 enableval=$enable_catch_segvs;
5868 if test "$enableval" = yes; then
5869 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5871 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5876 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5877 if test "x$LINE" != x ; then
5878 eval "DEFAULT_$LINE"
5883 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5888 eval "$ac_cv_use_catch_segvs"
5889 if test "$no_cache" != 1; then
5890 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5893 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5894 { echo "$as_me:$LINENO: result: yes" >&5
5895 echo "${ECHO_T}yes" >&6; }
5897 { echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6; }
5903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5904 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5906 # Check whether --enable-cmdline was given.
5907 if test "${enable_cmdline+set}" = set; then
5908 enableval=$enable_cmdline;
5909 if test "$enableval" = yes; then
5910 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5912 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5917 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5918 if test "x$LINE" != x ; then
5919 eval "DEFAULT_$LINE"
5924 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5929 eval "$ac_cv_use_cmdline"
5930 if test "$no_cache" != 1; then
5931 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5934 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5935 { echo "$as_me:$LINENO: result: yes" >&5
5936 echo "${ECHO_T}yes" >&6; }
5938 { echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6; }
5944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5945 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5947 # Check whether --enable-datetime was given.
5948 if test "${enable_datetime+set}" = set; then
5949 enableval=$enable_datetime;
5950 if test "$enableval" = yes; then
5951 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5953 ac_cv_use_datetime='wxUSE_DATETIME=no'
5958 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5959 if test "x$LINE" != x ; then
5960 eval "DEFAULT_$LINE"
5965 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5970 eval "$ac_cv_use_datetime"
5971 if test "$no_cache" != 1; then
5972 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5975 if test "$wxUSE_DATETIME" = yes; then
5976 { echo "$as_me:$LINENO: result: yes" >&5
5977 echo "${ECHO_T}yes" >&6; }
5979 { echo "$as_me:$LINENO: result: no" >&5
5980 echo "${ECHO_T}no" >&6; }
5985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5988 # Check whether --enable-debugreport was given.
5989 if test "${enable_debugreport+set}" = set; then
5990 enableval=$enable_debugreport;
5991 if test "$enableval" = yes; then
5992 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5994 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5999 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x ; then
6001 eval "DEFAULT_$LINE"
6006 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6011 eval "$ac_cv_use_debugreport"
6012 if test "$no_cache" != 1; then
6013 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6016 if test "$wxUSE_DEBUGREPORT" = yes; then
6017 { echo "$as_me:$LINENO: result: yes" >&5
6018 echo "${ECHO_T}yes" >&6; }
6020 { echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6; }
6026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6029 # Check whether --enable-dialupman was given.
6030 if test "${enable_dialupman+set}" = set; then
6031 enableval=$enable_dialupman;
6032 if test "$enableval" = yes; then
6033 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6035 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6040 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6041 if test "x$LINE" != x ; then
6042 eval "DEFAULT_$LINE"
6047 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6052 eval "$ac_cv_use_dialupman"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6057 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6058 { echo "$as_me:$LINENO: result: yes" >&5
6059 echo "${ECHO_T}yes" >&6; }
6061 { echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6; }
6067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6070 # Check whether --enable-dynlib was given.
6071 if test "${enable_dynlib+set}" = set; then
6072 enableval=$enable_dynlib;
6073 if test "$enableval" = yes; then
6074 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6076 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6081 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6082 if test "x$LINE" != x ; then
6083 eval "DEFAULT_$LINE"
6088 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6093 eval "$ac_cv_use_dynlib"
6094 if test "$no_cache" != 1; then
6095 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6098 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6099 { echo "$as_me:$LINENO: result: yes" >&5
6100 echo "${ECHO_T}yes" >&6; }
6102 { echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6; }
6108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6109 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6111 # Check whether --enable-dynamicloader was given.
6112 if test "${enable_dynamicloader+set}" = set; then
6113 enableval=$enable_dynamicloader;
6114 if test "$enableval" = yes; then
6115 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6117 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6122 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6123 if test "x$LINE" != x ; then
6124 eval "DEFAULT_$LINE"
6129 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6134 eval "$ac_cv_use_dynamicloader"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6139 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6140 { echo "$as_me:$LINENO: result: yes" >&5
6141 echo "${ECHO_T}yes" >&6; }
6143 { echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6; }
6149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6150 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6152 # Check whether --enable-exceptions was given.
6153 if test "${enable_exceptions+set}" = set; then
6154 enableval=$enable_exceptions;
6155 if test "$enableval" = yes; then
6156 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6158 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6163 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6164 if test "x$LINE" != x ; then
6165 eval "DEFAULT_$LINE"
6170 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6175 eval "$ac_cv_use_exceptions"
6176 if test "$no_cache" != 1; then
6177 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6180 if test "$wxUSE_EXCEPTIONS" = yes; then
6181 { echo "$as_me:$LINENO: result: yes" >&5
6182 echo "${ECHO_T}yes" >&6; }
6184 { echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6; }
6190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6193 # Check whether --enable-ffile was given.
6194 if test "${enable_ffile+set}" = set; then
6195 enableval=$enable_ffile;
6196 if test "$enableval" = yes; then
6197 ac_cv_use_ffile='wxUSE_FFILE=yes'
6199 ac_cv_use_ffile='wxUSE_FFILE=no'
6204 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6205 if test "x$LINE" != x ; then
6206 eval "DEFAULT_$LINE"
6211 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6216 eval "$ac_cv_use_ffile"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6221 if test "$wxUSE_FFILE" = yes; then
6222 { echo "$as_me:$LINENO: result: yes" >&5
6223 echo "${ECHO_T}yes" >&6; }
6225 { echo "$as_me:$LINENO: result: no" >&5
6226 echo "${ECHO_T}no" >&6; }
6231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6232 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6234 # Check whether --enable-file was given.
6235 if test "${enable_file+set}" = set; then
6236 enableval=$enable_file;
6237 if test "$enableval" = yes; then
6238 ac_cv_use_file='wxUSE_FILE=yes'
6240 ac_cv_use_file='wxUSE_FILE=no'
6245 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6246 if test "x$LINE" != x ; then
6247 eval "DEFAULT_$LINE"
6252 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6257 eval "$ac_cv_use_file"
6258 if test "$no_cache" != 1; then
6259 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6262 if test "$wxUSE_FILE" = yes; then
6263 { echo "$as_me:$LINENO: result: yes" >&5
6264 echo "${ECHO_T}yes" >&6; }
6266 { echo "$as_me:$LINENO: result: no" >&5
6267 echo "${ECHO_T}no" >&6; }
6272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6273 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6275 # Check whether --enable-filesystem was given.
6276 if test "${enable_filesystem+set}" = set; then
6277 enableval=$enable_filesystem;
6278 if test "$enableval" = yes; then
6279 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6281 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6286 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6287 if test "x$LINE" != x ; then
6288 eval "DEFAULT_$LINE"
6293 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6298 eval "$ac_cv_use_filesystem"
6299 if test "$no_cache" != 1; then
6300 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6303 if test "$wxUSE_FILESYSTEM" = yes; then
6304 { echo "$as_me:$LINENO: result: yes" >&5
6305 echo "${ECHO_T}yes" >&6; }
6307 { echo "$as_me:$LINENO: result: no" >&5
6308 echo "${ECHO_T}no" >&6; }
6313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6314 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6316 # Check whether --enable-fontmap was given.
6317 if test "${enable_fontmap+set}" = set; then
6318 enableval=$enable_fontmap;
6319 if test "$enableval" = yes; then
6320 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6322 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6327 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6328 if test "x$LINE" != x ; then
6329 eval "DEFAULT_$LINE"
6334 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6339 eval "$ac_cv_use_fontmap"
6340 if test "$no_cache" != 1; then
6341 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6344 if test "$wxUSE_FONTMAP" = yes; then
6345 { echo "$as_me:$LINENO: result: yes" >&5
6346 echo "${ECHO_T}yes" >&6; }
6348 { echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6; }
6354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6355 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6357 # Check whether --enable-fs_archive was given.
6358 if test "${enable_fs_archive+set}" = set; then
6359 enableval=$enable_fs_archive;
6360 if test "$enableval" = yes; then
6361 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6363 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6368 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6375 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6380 eval "$ac_cv_use_fs_archive"
6381 if test "$no_cache" != 1; then
6382 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6385 if test "$wxUSE_FS_ARCHIVE" = yes; then
6386 { echo "$as_me:$LINENO: result: yes" >&5
6387 echo "${ECHO_T}yes" >&6; }
6389 { echo "$as_me:$LINENO: result: no" >&5
6390 echo "${ECHO_T}no" >&6; }
6395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6396 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6398 # Check whether --enable-fs_inet was given.
6399 if test "${enable_fs_inet+set}" = set; then
6400 enableval=$enable_fs_inet;
6401 if test "$enableval" = yes; then
6402 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6404 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6409 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6410 if test "x$LINE" != x ; then
6411 eval "DEFAULT_$LINE"
6416 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6421 eval "$ac_cv_use_fs_inet"
6422 if test "$no_cache" != 1; then
6423 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6426 if test "$wxUSE_FS_INET" = yes; then
6427 { echo "$as_me:$LINENO: result: yes" >&5
6428 echo "${ECHO_T}yes" >&6; }
6430 { echo "$as_me:$LINENO: result: no" >&5
6431 echo "${ECHO_T}no" >&6; }
6436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6437 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6439 # Check whether --enable-fs_zip was given.
6440 if test "${enable_fs_zip+set}" = set; then
6441 enableval=$enable_fs_zip;
6442 if test "$enableval" = yes; then
6443 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6445 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6450 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x ; then
6452 eval "DEFAULT_$LINE"
6457 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6462 eval "$ac_cv_use_fs_zip"
6463 if test "$no_cache" != 1; then
6464 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6467 if test "$wxUSE_FS_ZIP" = yes; then
6468 { echo "$as_me:$LINENO: result: yes" >&5
6469 echo "${ECHO_T}yes" >&6; }
6471 { echo "$as_me:$LINENO: result: no" >&5
6472 echo "${ECHO_T}no" >&6; }
6477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6480 # Check whether --enable-geometry was given.
6481 if test "${enable_geometry+set}" = set; then
6482 enableval=$enable_geometry;
6483 if test "$enableval" = yes; then
6484 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6486 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6491 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6492 if test "x$LINE" != x ; then
6493 eval "DEFAULT_$LINE"
6498 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6503 eval "$ac_cv_use_geometry"
6504 if test "$no_cache" != 1; then
6505 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6508 if test "$wxUSE_GEOMETRY" = yes; then
6509 { echo "$as_me:$LINENO: result: yes" >&5
6510 echo "${ECHO_T}yes" >&6; }
6512 { echo "$as_me:$LINENO: result: no" >&5
6513 echo "${ECHO_T}no" >&6; }
6518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6521 # Check whether --enable-log was given.
6522 if test "${enable_log+set}" = set; then
6523 enableval=$enable_log;
6524 if test "$enableval" = yes; then
6525 ac_cv_use_log='wxUSE_LOG=yes'
6527 ac_cv_use_log='wxUSE_LOG=no'
6532 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6533 if test "x$LINE" != x ; then
6534 eval "DEFAULT_$LINE"
6539 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6544 eval "$ac_cv_use_log"
6545 if test "$no_cache" != 1; then
6546 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6549 if test "$wxUSE_LOG" = yes; then
6550 { echo "$as_me:$LINENO: result: yes" >&5
6551 echo "${ECHO_T}yes" >&6; }
6553 { echo "$as_me:$LINENO: result: no" >&5
6554 echo "${ECHO_T}no" >&6; }
6559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6562 # Check whether --enable-longlong was given.
6563 if test "${enable_longlong+set}" = set; then
6564 enableval=$enable_longlong;
6565 if test "$enableval" = yes; then
6566 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6568 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6573 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6574 if test "x$LINE" != x ; then
6575 eval "DEFAULT_$LINE"
6580 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6585 eval "$ac_cv_use_longlong"
6586 if test "$no_cache" != 1; then
6587 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6590 if test "$wxUSE_LONGLONG" = yes; then
6591 { echo "$as_me:$LINENO: result: yes" >&5
6592 echo "${ECHO_T}yes" >&6; }
6594 { echo "$as_me:$LINENO: result: no" >&5
6595 echo "${ECHO_T}no" >&6; }
6600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6601 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6603 # Check whether --enable-mimetype was given.
6604 if test "${enable_mimetype+set}" = set; then
6605 enableval=$enable_mimetype;
6606 if test "$enableval" = yes; then
6607 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6609 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6614 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6615 if test "x$LINE" != x ; then
6616 eval "DEFAULT_$LINE"
6621 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6626 eval "$ac_cv_use_mimetype"
6627 if test "$no_cache" != 1; then
6628 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6631 if test "$wxUSE_MIMETYPE" = yes; then
6632 { echo "$as_me:$LINENO: result: yes" >&5
6633 echo "${ECHO_T}yes" >&6; }
6635 { echo "$as_me:$LINENO: result: no" >&5
6636 echo "${ECHO_T}no" >&6; }
6641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6642 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6644 # Check whether --enable-mslu was given.
6645 if test "${enable_mslu+set}" = set; then
6646 enableval=$enable_mslu;
6647 if test "$enableval" = yes; then
6648 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6650 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6655 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x ; then
6657 eval "DEFAULT_$LINE"
6662 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6667 eval "$ac_cv_use_mslu"
6668 if test "$no_cache" != 1; then
6669 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6672 if test "$wxUSE_UNICODE_MSLU" = yes; then
6673 { echo "$as_me:$LINENO: result: yes" >&5
6674 echo "${ECHO_T}yes" >&6; }
6676 { echo "$as_me:$LINENO: result: no" >&5
6677 echo "${ECHO_T}no" >&6; }
6682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6685 # Check whether --enable-snglinst was given.
6686 if test "${enable_snglinst+set}" = set; then
6687 enableval=$enable_snglinst;
6688 if test "$enableval" = yes; then
6689 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6691 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6696 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6703 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6708 eval "$ac_cv_use_snglinst"
6709 if test "$no_cache" != 1; then
6710 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6713 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6714 { echo "$as_me:$LINENO: result: yes" >&5
6715 echo "${ECHO_T}yes" >&6; }
6717 { echo "$as_me:$LINENO: result: no" >&5
6718 echo "${ECHO_T}no" >&6; }
6723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6724 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6726 # Check whether --enable-std_iostreams was given.
6727 if test "${enable_std_iostreams+set}" = set; then
6728 enableval=$enable_std_iostreams;
6729 if test "$enableval" = yes; then
6730 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6732 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6737 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x ; then
6739 eval "DEFAULT_$LINE"
6744 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6749 eval "$ac_cv_use_std_iostreams"
6750 if test "$no_cache" != 1; then
6751 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6754 if test "$wxUSE_STD_IOSTREAM" = yes; then
6755 { echo "$as_me:$LINENO: result: yes" >&5
6756 echo "${ECHO_T}yes" >&6; }
6758 { echo "$as_me:$LINENO: result: no" >&5
6759 echo "${ECHO_T}no" >&6; }
6764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6765 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6767 # Check whether --enable-std_string was given.
6768 if test "${enable_std_string+set}" = set; then
6769 enableval=$enable_std_string;
6770 if test "$enableval" = yes; then
6771 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6773 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6778 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6779 if test "x$LINE" != x ; then
6780 eval "DEFAULT_$LINE"
6785 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6790 eval "$ac_cv_use_std_string"
6791 if test "$no_cache" != 1; then
6792 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6795 if test "$wxUSE_STD_STRING" = yes; then
6796 { echo "$as_me:$LINENO: result: yes" >&5
6797 echo "${ECHO_T}yes" >&6; }
6799 { echo "$as_me:$LINENO: result: no" >&5
6800 echo "${ECHO_T}no" >&6; }
6805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6808 # Check whether --enable-stdpaths was given.
6809 if test "${enable_stdpaths+set}" = set; then
6810 enableval=$enable_stdpaths;
6811 if test "$enableval" = yes; then
6812 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6814 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6819 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6826 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6831 eval "$ac_cv_use_stdpaths"
6832 if test "$no_cache" != 1; then
6833 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6836 if test "$wxUSE_STDPATHS" = yes; then
6837 { echo "$as_me:$LINENO: result: yes" >&5
6838 echo "${ECHO_T}yes" >&6; }
6840 { echo "$as_me:$LINENO: result: no" >&5
6841 echo "${ECHO_T}no" >&6; }
6846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6847 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6849 # Check whether --enable-stopwatch was given.
6850 if test "${enable_stopwatch+set}" = set; then
6851 enableval=$enable_stopwatch;
6852 if test "$enableval" = yes; then
6853 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6855 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6860 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x ; then
6862 eval "DEFAULT_$LINE"
6867 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6872 eval "$ac_cv_use_stopwatch"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6877 if test "$wxUSE_STOPWATCH" = yes; then
6878 { echo "$as_me:$LINENO: result: yes" >&5
6879 echo "${ECHO_T}yes" >&6; }
6881 { echo "$as_me:$LINENO: result: no" >&5
6882 echo "${ECHO_T}no" >&6; }
6887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6888 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6890 # Check whether --enable-streams was given.
6891 if test "${enable_streams+set}" = set; then
6892 enableval=$enable_streams;
6893 if test "$enableval" = yes; then
6894 ac_cv_use_streams='wxUSE_STREAMS=yes'
6896 ac_cv_use_streams='wxUSE_STREAMS=no'
6901 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6902 if test "x$LINE" != x ; then
6903 eval "DEFAULT_$LINE"
6908 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6913 eval "$ac_cv_use_streams"
6914 if test "$no_cache" != 1; then
6915 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6918 if test "$wxUSE_STREAMS" = yes; then
6919 { echo "$as_me:$LINENO: result: yes" >&5
6920 echo "${ECHO_T}yes" >&6; }
6922 { echo "$as_me:$LINENO: result: no" >&5
6923 echo "${ECHO_T}no" >&6; }
6928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6929 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6931 # Check whether --enable-system_options was given.
6932 if test "${enable_system_options+set}" = set; then
6933 enableval=$enable_system_options;
6934 if test "$enableval" = yes; then
6935 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6937 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6942 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x ; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6954 eval "$ac_cv_use_system_options"
6955 if test "$no_cache" != 1; then
6956 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6959 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6960 { echo "$as_me:$LINENO: result: yes" >&5
6961 echo "${ECHO_T}yes" >&6; }
6963 { echo "$as_me:$LINENO: result: no" >&5
6964 echo "${ECHO_T}no" >&6; }
6969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6970 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6972 # Check whether --enable-tarstream was given.
6973 if test "${enable_tarstream+set}" = set; then
6974 enableval=$enable_tarstream;
6975 if test "$enableval" = yes; then
6976 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6978 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6983 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x ; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6995 eval "$ac_cv_use_tarstream"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7000 if test "$wxUSE_TARSTREAM" = yes; then
7001 { echo "$as_me:$LINENO: result: yes" >&5
7002 echo "${ECHO_T}yes" >&6; }
7004 { echo "$as_me:$LINENO: result: no" >&5
7005 echo "${ECHO_T}no" >&6; }
7010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7011 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7013 # Check whether --enable-textbuf was given.
7014 if test "${enable_textbuf+set}" = set; then
7015 enableval=$enable_textbuf;
7016 if test "$enableval" = yes; then
7017 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7019 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7024 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7036 eval "$ac_cv_use_textbuf"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7041 if test "$wxUSE_TEXTBUFFER" = yes; then
7042 { echo "$as_me:$LINENO: result: yes" >&5
7043 echo "${ECHO_T}yes" >&6; }
7045 { echo "$as_me:$LINENO: result: no" >&5
7046 echo "${ECHO_T}no" >&6; }
7051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7054 # Check whether --enable-textfile was given.
7055 if test "${enable_textfile+set}" = set; then
7056 enableval=$enable_textfile;
7057 if test "$enableval" = yes; then
7058 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7060 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7065 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7072 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7077 eval "$ac_cv_use_textfile"
7078 if test "$no_cache" != 1; then
7079 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7082 if test "$wxUSE_TEXTFILE" = yes; then
7083 { echo "$as_me:$LINENO: result: yes" >&5
7084 echo "${ECHO_T}yes" >&6; }
7086 { echo "$as_me:$LINENO: result: no" >&5
7087 echo "${ECHO_T}no" >&6; }
7092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7093 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7095 # Check whether --enable-timer was given.
7096 if test "${enable_timer+set}" = set; then
7097 enableval=$enable_timer;
7098 if test "$enableval" = yes; then
7099 ac_cv_use_timer='wxUSE_TIMER=yes'
7101 ac_cv_use_timer='wxUSE_TIMER=no'
7106 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7118 eval "$ac_cv_use_timer"
7119 if test "$no_cache" != 1; then
7120 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7123 if test "$wxUSE_TIMER" = yes; then
7124 { echo "$as_me:$LINENO: result: yes" >&5
7125 echo "${ECHO_T}yes" >&6; }
7127 { echo "$as_me:$LINENO: result: no" >&5
7128 echo "${ECHO_T}no" >&6; }
7133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7134 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7136 # Check whether --enable-unicode was given.
7137 if test "${enable_unicode+set}" = set; then
7138 enableval=$enable_unicode;
7139 if test "$enableval" = yes; then
7140 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7142 ac_cv_use_unicode='wxUSE_UNICODE=no'
7147 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7159 eval "$ac_cv_use_unicode"
7160 if test "$no_cache" != 1; then
7161 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7164 if test "$wxUSE_UNICODE" = yes; then
7165 { echo "$as_me:$LINENO: result: yes" >&5
7166 echo "${ECHO_T}yes" >&6; }
7168 { echo "$as_me:$LINENO: result: no" >&5
7169 echo "${ECHO_T}no" >&6; }
7174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7177 # Check whether --enable-sound was given.
7178 if test "${enable_sound+set}" = set; then
7179 enableval=$enable_sound;
7180 if test "$enableval" = yes; then
7181 ac_cv_use_sound='wxUSE_SOUND=yes'
7183 ac_cv_use_sound='wxUSE_SOUND=no'
7188 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7200 eval "$ac_cv_use_sound"
7201 if test "$no_cache" != 1; then
7202 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7205 if test "$wxUSE_SOUND" = yes; then
7206 { echo "$as_me:$LINENO: result: yes" >&5
7207 echo "${ECHO_T}yes" >&6; }
7209 { echo "$as_me:$LINENO: result: no" >&5
7210 echo "${ECHO_T}no" >&6; }
7215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7218 # Check whether --enable-mediactrl was given.
7219 if test "${enable_mediactrl+set}" = set; then
7220 enableval=$enable_mediactrl;
7221 if test "$enableval" = yes; then
7222 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7224 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7229 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7241 eval "$ac_cv_use_mediactrl"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_MEDIACTRL" = yes; then
7247 { echo "$as_me:$LINENO: result: yes" >&5
7248 echo "${ECHO_T}yes" >&6; }
7250 { echo "$as_me:$LINENO: result: no" >&5
7251 echo "${ECHO_T}no" >&6; }
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7259 # Check whether --enable-gstreamer8 was given.
7260 if test "${enable_gstreamer8+set}" = set; then
7261 enableval=$enable_gstreamer8;
7262 if test "$enableval" = yes; then
7263 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7265 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7270 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x ; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7282 eval "$ac_cv_use_gstreamer8"
7283 if test "$no_cache" != 1; then
7284 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7287 if test "$wxUSE_GSTREAMER8" = yes; then
7288 { echo "$as_me:$LINENO: result: yes" >&5
7289 echo "${ECHO_T}yes" >&6; }
7291 { echo "$as_me:$LINENO: result: no" >&5
7292 echo "${ECHO_T}no" >&6; }
7297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7300 # Check whether --enable-printfposparam was given.
7301 if test "${enable_printfposparam+set}" = set; then
7302 enableval=$enable_printfposparam;
7303 if test "$enableval" = yes; then
7304 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7306 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7311 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x ; then
7313 eval "DEFAULT_$LINE"
7318 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7323 eval "$ac_cv_use_printfposparam"
7324 if test "$no_cache" != 1; then
7325 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7328 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7329 { echo "$as_me:$LINENO: result: yes" >&5
7330 echo "${ECHO_T}yes" >&6; }
7332 { echo "$as_me:$LINENO: result: no" >&5
7333 echo "${ECHO_T}no" >&6; }
7338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7341 # Check whether --enable-zipstream was given.
7342 if test "${enable_zipstream+set}" = set; then
7343 enableval=$enable_zipstream;
7344 if test "$enableval" = yes; then
7345 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7347 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7352 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x ; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7364 eval "$ac_cv_use_zipstream"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_ZIPSTREAM" = yes; then
7370 { echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6; }
7373 { echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6; }
7380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7383 # Check whether --enable-url was given.
7384 if test "${enable_url+set}" = set; then
7385 enableval=$enable_url;
7386 if test "$enableval" = yes; then
7387 ac_cv_use_url='wxUSE_URL=yes'
7389 ac_cv_use_url='wxUSE_URL=no'
7394 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x ; then
7396 eval "DEFAULT_$LINE"
7401 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7406 eval "$ac_cv_use_url"
7407 if test "$no_cache" != 1; then
7408 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7411 if test "$wxUSE_URL" = yes; then
7412 { echo "$as_me:$LINENO: result: yes" >&5
7413 echo "${ECHO_T}yes" >&6; }
7415 { echo "$as_me:$LINENO: result: no" >&5
7416 echo "${ECHO_T}no" >&6; }
7421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7424 # Check whether --enable-variant was given.
7425 if test "${enable_variant+set}" = set; then
7426 enableval=$enable_variant;
7427 if test "$enableval" = yes; then
7428 ac_cv_use_variant='wxUSE_VARIANT=yes'
7430 ac_cv_use_variant='wxUSE_VARIANT=no'
7435 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x ; then
7437 eval "DEFAULT_$LINE"
7442 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7447 eval "$ac_cv_use_variant"
7448 if test "$no_cache" != 1; then
7449 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7452 if test "$wxUSE_VARIANT" = yes; then
7453 { echo "$as_me:$LINENO: result: yes" >&5
7454 echo "${ECHO_T}yes" >&6; }
7456 { echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6; }
7462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7465 # Check whether --enable-protocol was given.
7466 if test "${enable_protocol+set}" = set; then
7467 enableval=$enable_protocol;
7468 if test "$enableval" = yes; then
7469 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7471 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7476 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x ; then
7478 eval "DEFAULT_$LINE"
7483 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7488 eval "$ac_cv_use_protocol"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7493 if test "$wxUSE_PROTOCOL" = yes; then
7494 { echo "$as_me:$LINENO: result: yes" >&5
7495 echo "${ECHO_T}yes" >&6; }
7497 { echo "$as_me:$LINENO: result: no" >&5
7498 echo "${ECHO_T}no" >&6; }
7503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7506 # Check whether --enable-protocol_http was given.
7507 if test "${enable_protocol_http+set}" = set; then
7508 enableval=$enable_protocol_http;
7509 if test "$enableval" = yes; then
7510 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7512 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7517 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x ; then
7519 eval "DEFAULT_$LINE"
7524 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7529 eval "$ac_cv_use_protocol_http"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7534 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7535 { echo "$as_me:$LINENO: result: yes" >&5
7536 echo "${ECHO_T}yes" >&6; }
7538 { echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6; }
7544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7545 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7547 # Check whether --enable-protocol_ftp was given.
7548 if test "${enable_protocol_ftp+set}" = set; then
7549 enableval=$enable_protocol_ftp;
7550 if test "$enableval" = yes; then
7551 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7553 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7558 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x ; then
7560 eval "DEFAULT_$LINE"
7565 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7570 eval "$ac_cv_use_protocol_ftp"
7571 if test "$no_cache" != 1; then
7572 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7575 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7576 { echo "$as_me:$LINENO: result: yes" >&5
7577 echo "${ECHO_T}yes" >&6; }
7579 { echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6; }
7585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7586 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7588 # Check whether --enable-protocol_file was given.
7589 if test "${enable_protocol_file+set}" = set; then
7590 enableval=$enable_protocol_file;
7591 if test "$enableval" = yes; then
7592 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7594 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7599 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x ; then
7601 eval "DEFAULT_$LINE"
7606 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7611 eval "$ac_cv_use_protocol_file"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7616 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7617 { echo "$as_me:$LINENO: result: yes" >&5
7618 echo "${ECHO_T}yes" >&6; }
7620 { echo "$as_me:$LINENO: result: no" >&5
7621 echo "${ECHO_T}no" >&6; }
7629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7630 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7632 # Check whether --enable-threads was given.
7633 if test "${enable_threads+set}" = set; then
7634 enableval=$enable_threads;
7635 if test "$enableval" = yes; then
7636 ac_cv_use_threads='wxUSE_THREADS=yes'
7638 ac_cv_use_threads='wxUSE_THREADS=no'
7643 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7655 eval "$ac_cv_use_threads"
7656 if test "$no_cache" != 1; then
7657 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7660 if test "$wxUSE_THREADS" = yes; then
7661 { echo "$as_me:$LINENO: result: yes" >&5
7662 echo "${ECHO_T}yes" >&6; }
7664 { echo "$as_me:$LINENO: result: no" >&5
7665 echo "${ECHO_T}no" >&6; }
7669 if test "$wxUSE_GUI" = "yes"; then
7674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7675 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7677 # Check whether --enable-docview was given.
7678 if test "${enable_docview+set}" = set; then
7679 enableval=$enable_docview;
7680 if test "$enableval" = yes; then
7681 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7683 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7688 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x ; then
7690 eval "DEFAULT_$LINE"
7695 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7700 eval "$ac_cv_use_docview"
7701 if test "$no_cache" != 1; then
7702 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7705 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7706 { echo "$as_me:$LINENO: result: yes" >&5
7707 echo "${ECHO_T}yes" >&6; }
7709 { echo "$as_me:$LINENO: result: no" >&5
7710 echo "${ECHO_T}no" >&6; }
7715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7716 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7718 # Check whether --enable-help was given.
7719 if test "${enable_help+set}" = set; then
7720 enableval=$enable_help;
7721 if test "$enableval" = yes; then
7722 ac_cv_use_help='wxUSE_HELP=yes'
7724 ac_cv_use_help='wxUSE_HELP=no'
7729 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7730 if test "x$LINE" != x ; then
7731 eval "DEFAULT_$LINE"
7736 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7741 eval "$ac_cv_use_help"
7742 if test "$no_cache" != 1; then
7743 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7746 if test "$wxUSE_HELP" = yes; then
7747 { echo "$as_me:$LINENO: result: yes" >&5
7748 echo "${ECHO_T}yes" >&6; }
7750 { echo "$as_me:$LINENO: result: no" >&5
7751 echo "${ECHO_T}no" >&6; }
7756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7759 # Check whether --enable-mshtmlhelp was given.
7760 if test "${enable_mshtmlhelp+set}" = set; then
7761 enableval=$enable_mshtmlhelp;
7762 if test "$enableval" = yes; then
7763 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7765 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7770 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7771 if test "x$LINE" != x ; then
7772 eval "DEFAULT_$LINE"
7777 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7782 eval "$ac_cv_use_mshtmlhelp"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7787 if test "$wxUSE_MS_HTML_HELP" = yes; then
7788 { echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6; }
7791 { echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6; }
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7800 # Check whether --enable-html was given.
7801 if test "${enable_html+set}" = set; then
7802 enableval=$enable_html;
7803 if test "$enableval" = yes; then
7804 ac_cv_use_html='wxUSE_HTML=yes'
7806 ac_cv_use_html='wxUSE_HTML=no'
7811 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7812 if test "x$LINE" != x ; then
7813 eval "DEFAULT_$LINE"
7818 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7823 eval "$ac_cv_use_html"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7828 if test "$wxUSE_HTML" = yes; then
7829 { echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6; }
7832 { echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6; }
7838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7841 # Check whether --enable-htmlhelp was given.
7842 if test "${enable_htmlhelp+set}" = set; then
7843 enableval=$enable_htmlhelp;
7844 if test "$enableval" = yes; then
7845 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7847 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7852 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x ; then
7854 eval "DEFAULT_$LINE"
7859 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7864 eval "$ac_cv_use_htmlhelp"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7869 if test "$wxUSE_WXHTML_HELP" = yes; then
7870 { echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6; }
7873 { echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6; }
7879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7882 # Check whether --enable-xrc was given.
7883 if test "${enable_xrc+set}" = set; then
7884 enableval=$enable_xrc;
7885 if test "$enableval" = yes; then
7886 ac_cv_use_xrc='wxUSE_XRC=yes'
7888 ac_cv_use_xrc='wxUSE_XRC=no'
7893 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7894 if test "x$LINE" != x ; then
7895 eval "DEFAULT_$LINE"
7900 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7905 eval "$ac_cv_use_xrc"
7906 if test "$no_cache" != 1; then
7907 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7910 if test "$wxUSE_XRC" = yes; then
7911 { echo "$as_me:$LINENO: result: yes" >&5
7912 echo "${ECHO_T}yes" >&6; }
7914 { echo "$as_me:$LINENO: result: no" >&5
7915 echo "${ECHO_T}no" >&6; }
7920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7921 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7923 # Check whether --enable-aui was given.
7924 if test "${enable_aui+set}" = set; then
7925 enableval=$enable_aui;
7926 if test "$enableval" = yes; then
7927 ac_cv_use_aui='wxUSE_AUI=yes'
7929 ac_cv_use_aui='wxUSE_AUI=no'
7934 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7935 if test "x$LINE" != x ; then
7936 eval "DEFAULT_$LINE"
7941 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7946 eval "$ac_cv_use_aui"
7947 if test "$no_cache" != 1; then
7948 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7951 if test "$wxUSE_AUI" = yes; then
7952 { echo "$as_me:$LINENO: result: yes" >&5
7953 echo "${ECHO_T}yes" >&6; }
7955 { echo "$as_me:$LINENO: result: no" >&5
7956 echo "${ECHO_T}no" >&6; }
7961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7964 # Check whether --enable-stc was given.
7965 if test "${enable_stc+set}" = set; then
7966 enableval=$enable_stc;
7967 if test "$enableval" = yes; then
7968 ac_cv_use_stc='wxUSE_STC=yes'
7970 ac_cv_use_stc='wxUSE_STC=no'
7975 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x ; then
7977 eval "DEFAULT_$LINE"
7982 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
7987 eval "$ac_cv_use_stc"
7988 if test "$no_cache" != 1; then
7989 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7992 if test "$wxUSE_STC" = yes; then
7993 { echo "$as_me:$LINENO: result: yes" >&5
7994 echo "${ECHO_T}yes" >&6; }
7996 { echo "$as_me:$LINENO: result: no" >&5
7997 echo "${ECHO_T}no" >&6; }
8002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8003 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8005 # Check whether --enable-constraints was given.
8006 if test "${enable_constraints+set}" = set; then
8007 enableval=$enable_constraints;
8008 if test "$enableval" = yes; then
8009 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8011 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8016 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8017 if test "x$LINE" != x ; then
8018 eval "DEFAULT_$LINE"
8023 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8028 eval "$ac_cv_use_constraints"
8029 if test "$no_cache" != 1; then
8030 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8033 if test "$wxUSE_CONSTRAINTS" = yes; then
8034 { echo "$as_me:$LINENO: result: yes" >&5
8035 echo "${ECHO_T}yes" >&6; }
8037 { echo "$as_me:$LINENO: result: no" >&5
8038 echo "${ECHO_T}no" >&6; }
8043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8044 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8046 # Check whether --enable-printarch was given.
8047 if test "${enable_printarch+set}" = set; then
8048 enableval=$enable_printarch;
8049 if test "$enableval" = yes; then
8050 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8052 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8057 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8058 if test "x$LINE" != x ; then
8059 eval "DEFAULT_$LINE"
8064 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8069 eval "$ac_cv_use_printarch"
8070 if test "$no_cache" != 1; then
8071 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8074 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8075 { echo "$as_me:$LINENO: result: yes" >&5
8076 echo "${ECHO_T}yes" >&6; }
8078 { echo "$as_me:$LINENO: result: no" >&5
8079 echo "${ECHO_T}no" >&6; }
8084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8085 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8087 # Check whether --enable-mdi was given.
8088 if test "${enable_mdi+set}" = set; then
8089 enableval=$enable_mdi;
8090 if test "$enableval" = yes; then
8091 ac_cv_use_mdi='wxUSE_MDI=yes'
8093 ac_cv_use_mdi='wxUSE_MDI=no'
8098 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8099 if test "x$LINE" != x ; then
8100 eval "DEFAULT_$LINE"
8105 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8110 eval "$ac_cv_use_mdi"
8111 if test "$no_cache" != 1; then
8112 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8115 if test "$wxUSE_MDI" = yes; then
8116 { echo "$as_me:$LINENO: result: yes" >&5
8117 echo "${ECHO_T}yes" >&6; }
8119 { echo "$as_me:$LINENO: result: no" >&5
8120 echo "${ECHO_T}no" >&6; }
8125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8126 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8128 # Check whether --enable-mdidoc was given.
8129 if test "${enable_mdidoc+set}" = set; then
8130 enableval=$enable_mdidoc;
8131 if test "$enableval" = yes; then
8132 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8134 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8139 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8140 if test "x$LINE" != x ; then
8141 eval "DEFAULT_$LINE"
8146 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8151 eval "$ac_cv_use_mdidoc"
8152 if test "$no_cache" != 1; then
8153 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8156 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8157 { echo "$as_me:$LINENO: result: yes" >&5
8158 echo "${ECHO_T}yes" >&6; }
8160 { echo "$as_me:$LINENO: result: no" >&5
8161 echo "${ECHO_T}no" >&6; }
8166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8167 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8169 # Check whether --enable-loggui was given.
8170 if test "${enable_loggui+set}" = set; then
8171 enableval=$enable_loggui;
8172 if test "$enableval" = yes; then
8173 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8175 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8180 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8181 if test "x$LINE" != x ; then
8182 eval "DEFAULT_$LINE"
8187 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8192 eval "$ac_cv_use_loggui"
8193 if test "$no_cache" != 1; then
8194 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8197 if test "$wxUSE_LOGGUI" = yes; then
8198 { echo "$as_me:$LINENO: result: yes" >&5
8199 echo "${ECHO_T}yes" >&6; }
8201 { echo "$as_me:$LINENO: result: no" >&5
8202 echo "${ECHO_T}no" >&6; }
8207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8208 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8210 # Check whether --enable-logwin was given.
8211 if test "${enable_logwin+set}" = set; then
8212 enableval=$enable_logwin;
8213 if test "$enableval" = yes; then
8214 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8216 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8221 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x ; then
8223 eval "DEFAULT_$LINE"
8228 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8233 eval "$ac_cv_use_logwin"
8234 if test "$no_cache" != 1; then
8235 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8238 if test "$wxUSE_LOGWINDOW" = yes; then
8239 { echo "$as_me:$LINENO: result: yes" >&5
8240 echo "${ECHO_T}yes" >&6; }
8242 { echo "$as_me:$LINENO: result: no" >&5
8243 echo "${ECHO_T}no" >&6; }
8248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8249 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8251 # Check whether --enable-logdialog was given.
8252 if test "${enable_logdialog+set}" = set; then
8253 enableval=$enable_logdialog;
8254 if test "$enableval" = yes; then
8255 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8257 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8262 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8263 if test "x$LINE" != x ; then
8264 eval "DEFAULT_$LINE"
8269 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8274 eval "$ac_cv_use_logdialog"
8275 if test "$no_cache" != 1; then
8276 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8279 if test "$wxUSE_LOGDIALOG" = yes; then
8280 { echo "$as_me:$LINENO: result: yes" >&5
8281 echo "${ECHO_T}yes" >&6; }
8283 { echo "$as_me:$LINENO: result: no" >&5
8284 echo "${ECHO_T}no" >&6; }
8289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8290 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8292 # Check whether --enable-webkit was given.
8293 if test "${enable_webkit+set}" = set; then
8294 enableval=$enable_webkit;
8295 if test "$enableval" = yes; then
8296 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8298 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8303 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8304 if test "x$LINE" != x ; then
8305 eval "DEFAULT_$LINE"
8310 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8315 eval "$ac_cv_use_webkit"
8316 if test "$no_cache" != 1; then
8317 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8320 if test "$wxUSE_WEBKIT" = yes; then
8321 { echo "$as_me:$LINENO: result: yes" >&5
8322 echo "${ECHO_T}yes" >&6; }
8324 { echo "$as_me:$LINENO: result: no" >&5
8325 echo "${ECHO_T}no" >&6; }
8330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8331 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8333 # Check whether --enable-richtext was given.
8334 if test "${enable_richtext+set}" = set; then
8335 enableval=$enable_richtext;
8336 if test "$enableval" = yes; then
8337 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8339 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8344 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x ; then
8346 eval "DEFAULT_$LINE"
8351 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8356 eval "$ac_cv_use_richtext"
8357 if test "$no_cache" != 1; then
8358 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8361 if test "$wxUSE_RICHTEXT" = yes; then
8362 { echo "$as_me:$LINENO: result: yes" >&5
8363 echo "${ECHO_T}yes" >&6; }
8365 { echo "$as_me:$LINENO: result: no" >&5
8366 echo "${ECHO_T}no" >&6; }
8371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8372 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8374 # Check whether --enable-graphics_ctx was given.
8375 if test "${enable_graphics_ctx+set}" = set; then
8376 enableval=$enable_graphics_ctx;
8377 if test "$enableval" = yes; then
8378 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8380 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8385 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8392 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8397 eval "$ac_cv_use_graphics_ctx"
8398 if test "$no_cache" != 1; then
8399 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8402 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8403 { echo "$as_me:$LINENO: result: yes" >&5
8404 echo "${ECHO_T}yes" >&6; }
8406 { echo "$as_me:$LINENO: result: no" >&5
8407 echo "${ECHO_T}no" >&6; }
8413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8414 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8416 # Check whether --enable-postscript was given.
8417 if test "${enable_postscript+set}" = set; then
8418 enableval=$enable_postscript;
8419 if test "$enableval" = yes; then
8420 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8422 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8427 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8428 if test "x$LINE" != x ; then
8429 eval "DEFAULT_$LINE"
8434 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8439 eval "$ac_cv_use_postscript"
8440 if test "$no_cache" != 1; then
8441 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8444 if test "$wxUSE_POSTSCRIPT" = yes; then
8445 { echo "$as_me:$LINENO: result: yes" >&5
8446 echo "${ECHO_T}yes" >&6; }
8448 { echo "$as_me:$LINENO: result: no" >&5
8449 echo "${ECHO_T}no" >&6; }
8457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8458 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8460 # Check whether --enable-clipboard was given.
8461 if test "${enable_clipboard+set}" = set; then
8462 enableval=$enable_clipboard;
8463 if test "$enableval" = yes; then
8464 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8466 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8471 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8472 if test "x$LINE" != x ; then
8473 eval "DEFAULT_$LINE"
8478 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8483 eval "$ac_cv_use_clipboard"
8484 if test "$no_cache" != 1; then
8485 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8488 if test "$wxUSE_CLIPBOARD" = yes; then
8489 { echo "$as_me:$LINENO: result: yes" >&5
8490 echo "${ECHO_T}yes" >&6; }
8492 { echo "$as_me:$LINENO: result: no" >&5
8493 echo "${ECHO_T}no" >&6; }
8498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8499 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8501 # Check whether --enable-dnd was given.
8502 if test "${enable_dnd+set}" = set; then
8503 enableval=$enable_dnd;
8504 if test "$enableval" = yes; then
8505 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8507 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8512 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8513 if test "x$LINE" != x ; then
8514 eval "DEFAULT_$LINE"
8519 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8524 eval "$ac_cv_use_dnd"
8525 if test "$no_cache" != 1; then
8526 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8529 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8530 { echo "$as_me:$LINENO: result: yes" >&5
8531 echo "${ECHO_T}yes" >&6; }
8533 { echo "$as_me:$LINENO: result: no" >&5
8534 echo "${ECHO_T}no" >&6; }
8539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8540 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8542 # Check whether --enable-metafile was given.
8543 if test "${enable_metafile+set}" = set; then
8544 enableval=$enable_metafile;
8545 if test "$enableval" = yes; then
8546 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8548 ac_cv_use_metafile='wxUSE_METAFILE=no'
8553 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8554 if test "x$LINE" != x ; then
8555 eval "DEFAULT_$LINE"
8560 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8565 eval "$ac_cv_use_metafile"
8566 if test "$no_cache" != 1; then
8567 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8570 if test "$wxUSE_METAFILE" = yes; then
8571 { echo "$as_me:$LINENO: result: yes" >&5
8572 echo "${ECHO_T}yes" >&6; }
8574 { echo "$as_me:$LINENO: result: no" >&5
8575 echo "${ECHO_T}no" >&6; }
8583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8584 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8586 # Check whether --enable-controls was given.
8587 if test "${enable_controls+set}" = set; then
8588 enableval=$enable_controls;
8589 if test "$enableval" = yes; then
8590 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8592 ac_cv_use_controls='wxUSE_CONTROLS=no'
8597 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8598 if test "x$LINE" != x ; then
8599 eval "DEFAULT_$LINE"
8604 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8609 eval "$ac_cv_use_controls"
8610 if test "$no_cache" != 1; then
8611 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8614 if test "$wxUSE_CONTROLS" = yes; then
8615 { echo "$as_me:$LINENO: result: yes" >&5
8616 echo "${ECHO_T}yes" >&6; }
8618 { echo "$as_me:$LINENO: result: no" >&5
8619 echo "${ECHO_T}no" >&6; }
8623 if test "$wxUSE_CONTROLS" = "yes"; then
8624 DEFAULT_wxUSE_ACCEL=yes
8625 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8626 DEFAULT_wxUSE_BMPBUTTON=yes
8627 DEFAULT_wxUSE_BUTTON=yes
8628 DEFAULT_wxUSE_CALCTRL=yes
8629 DEFAULT_wxUSE_CARET=yes
8630 DEFAULT_wxUSE_COMBOBOX=yes
8631 DEFAULT_wxUSE_CHECKBOX=yes
8632 DEFAULT_wxUSE_CHECKLISTBOX=yes
8633 DEFAULT_wxUSE_CHOICE=yes
8634 DEFAULT_wxUSE_CHOICEBOOK=yes
8635 DEFAULT_wxUSE_COLLPANE=yes
8636 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8637 DEFAULT_wxUSE_COMBOBOX=yes
8638 DEFAULT_wxUSE_DATEPICKCTRL=yes
8639 DEFAULT_wxUSE_DISPLAY=yes
8640 DEFAULT_wxUSE_DETECT_SM=yes
8641 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8642 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8643 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8644 DEFAULT_wxUSE_GAUGE=yes
8645 DEFAULT_wxUSE_GRID=yes
8646 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8647 DEFAULT_wxUSE_DATAVIEWCTRL=no
8648 DEFAULT_wxUSE_IMAGLIST=yes
8649 DEFAULT_wxUSE_LISTBOOK=yes
8650 DEFAULT_wxUSE_LISTBOX=yes
8651 DEFAULT_wxUSE_LISTCTRL=yes
8652 DEFAULT_wxUSE_NOTEBOOK=yes
8653 DEFAULT_wxUSE_RADIOBOX=yes
8654 DEFAULT_wxUSE_RADIOBTN=yes
8655 DEFAULT_wxUSE_SASH=yes
8656 DEFAULT_wxUSE_SCROLLBAR=yes
8657 DEFAULT_wxUSE_SEARCHCTRL=yes
8658 DEFAULT_wxUSE_SLIDER=yes
8659 DEFAULT_wxUSE_SPINBTN=yes
8660 DEFAULT_wxUSE_SPINCTRL=yes
8661 DEFAULT_wxUSE_SPLITTER=yes
8662 DEFAULT_wxUSE_STATBMP=yes
8663 DEFAULT_wxUSE_STATBOX=yes
8664 DEFAULT_wxUSE_STATLINE=yes
8665 DEFAULT_wxUSE_STATUSBAR=yes
8666 DEFAULT_wxUSE_TAB_DIALOG=yes
8667 DEFAULT_wxUSE_TOGGLEBTN=yes
8668 DEFAULT_wxUSE_TOOLBAR=yes
8669 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8670 DEFAULT_wxUSE_TOOLTIPS=yes
8671 DEFAULT_wxUSE_TREEBOOK=yes
8672 DEFAULT_wxUSE_TOOLBOOK=yes
8673 DEFAULT_wxUSE_TREECTRL=yes
8674 DEFAULT_wxUSE_POPUPWIN=yes
8675 DEFAULT_wxUSE_TIPWINDOW=yes
8676 elif test "$wxUSE_CONTROLS" = "no"; then
8677 DEFAULT_wxUSE_ACCEL=no
8678 DEFAULT_wxUSE_ANIMATIONCTRL=no
8679 DEFAULT_wxUSE_BMPBUTTON=no
8680 DEFAULT_wxUSE_BUTTON=no
8681 DEFAULT_wxUSE_CALCTRL=no
8682 DEFAULT_wxUSE_CARET=no
8683 DEFAULT_wxUSE_COLLPANE=no
8684 DEFAULT_wxUSE_COMBOBOX=no
8685 DEFAULT_wxUSE_CHECKBOX=no
8686 DEFAULT_wxUSE_CHECKLISTBOX=no
8687 DEFAULT_wxUSE_CHOICE=no
8688 DEFAULT_wxUSE_CHOICEBOOK=no
8689 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8690 DEFAULT_wxUSE_COMBOBOX=no
8691 DEFAULT_wxUSE_DATEPICKCTRL=no
8692 DEFAULT_wxUSE_DISPLAY=no
8693 DEFAULT_wxUSE_DETECT_SM=no
8694 DEFAULT_wxUSE_DIRPICKERCTRL=no
8695 DEFAULT_wxUSE_FILEPICKERCTRL=no
8696 DEFAULT_wxUSE_FONTPICKERCTRL=no
8697 DEFAULT_wxUSE_GAUGE=no
8698 DEFAULT_wxUSE_GRID=no
8699 DEFAULT_wxUSE_HYPERLINKCTRL=no
8700 DEFAULT_wxUSE_DATAVIEWCTRL=no
8701 DEFAULT_wxUSE_IMAGLIST=no
8702 DEFAULT_wxUSE_LISTBOOK=no
8703 DEFAULT_wxUSE_LISTBOX=no
8704 DEFAULT_wxUSE_LISTCTRL=no
8705 DEFAULT_wxUSE_NOTEBOOK=no
8706 DEFAULT_wxUSE_RADIOBOX=no
8707 DEFAULT_wxUSE_RADIOBTN=no
8708 DEFAULT_wxUSE_SASH=no
8709 DEFAULT_wxUSE_SCROLLBAR=no
8710 DEFAULT_wxUSE_SEARCHCTRL=no
8711 DEFAULT_wxUSE_SLIDER=no
8712 DEFAULT_wxUSE_SPINBTN=no
8713 DEFAULT_wxUSE_SPINCTRL=no
8714 DEFAULT_wxUSE_SPLITTER=no
8715 DEFAULT_wxUSE_STATBMP=no
8716 DEFAULT_wxUSE_STATBOX=no
8717 DEFAULT_wxUSE_STATLINE=no
8718 DEFAULT_wxUSE_STATUSBAR=no
8719 DEFAULT_wxUSE_TAB_DIALOG=no
8720 DEFAULT_wxUSE_TOGGLEBTN=no
8721 DEFAULT_wxUSE_TOOLBAR=no
8722 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8723 DEFAULT_wxUSE_TOOLTIPS=no
8724 DEFAULT_wxUSE_TREEBOOK=no
8725 DEFAULT_wxUSE_TOOLBOOK=no
8726 DEFAULT_wxUSE_TREECTRL=no
8727 DEFAULT_wxUSE_POPUPWIN=no
8728 DEFAULT_wxUSE_TIPWINDOW=no
8733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8736 # Check whether --enable-accel was given.
8737 if test "${enable_accel+set}" = set; then
8738 enableval=$enable_accel;
8739 if test "$enableval" = yes; then
8740 ac_cv_use_accel='wxUSE_ACCEL=yes'
8742 ac_cv_use_accel='wxUSE_ACCEL=no'
8747 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x ; then
8749 eval "DEFAULT_$LINE"
8754 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8759 eval "$ac_cv_use_accel"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8764 if test "$wxUSE_ACCEL" = yes; then
8765 { echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6; }
8768 { echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6; }
8774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8777 # Check whether --enable-animatectrl was given.
8778 if test "${enable_animatectrl+set}" = set; then
8779 enableval=$enable_animatectrl;
8780 if test "$enableval" = yes; then
8781 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8783 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8788 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8800 eval "$ac_cv_use_animatectrl"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8805 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8806 { echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6; }
8809 { echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6; }
8815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8818 # Check whether --enable-button was given.
8819 if test "${enable_button+set}" = set; then
8820 enableval=$enable_button;
8821 if test "$enableval" = yes; then
8822 ac_cv_use_button='wxUSE_BUTTON=yes'
8824 ac_cv_use_button='wxUSE_BUTTON=no'
8829 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x ; then
8831 eval "DEFAULT_$LINE"
8836 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8841 eval "$ac_cv_use_button"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8846 if test "$wxUSE_BUTTON" = yes; then
8847 { echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6; }
8850 { echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6; }
8856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8859 # Check whether --enable-bmpbutton was given.
8860 if test "${enable_bmpbutton+set}" = set; then
8861 enableval=$enable_bmpbutton;
8862 if test "$enableval" = yes; then
8863 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8865 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8870 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x ; then
8872 eval "DEFAULT_$LINE"
8877 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8882 eval "$ac_cv_use_bmpbutton"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8887 if test "$wxUSE_BMPBUTTON" = yes; then
8888 { echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6; }
8891 { echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6; }
8897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8900 # Check whether --enable-bmpcombobox was given.
8901 if test "${enable_bmpcombobox+set}" = set; then
8902 enableval=$enable_bmpcombobox;
8903 if test "$enableval" = yes; then
8904 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8906 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8911 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x ; then
8913 eval "DEFAULT_$LINE"
8918 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8923 eval "$ac_cv_use_bmpcombobox"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8928 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8929 { echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6; }
8932 { echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6; }
8938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8941 # Check whether --enable-calendar was given.
8942 if test "${enable_calendar+set}" = set; then
8943 enableval=$enable_calendar;
8944 if test "$enableval" = yes; then
8945 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8947 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8952 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x ; then
8954 eval "DEFAULT_$LINE"
8959 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8964 eval "$ac_cv_use_calendar"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8969 if test "$wxUSE_CALCTRL" = yes; then
8970 { echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6; }
8973 { echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6; }
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
8982 # Check whether --enable-caret was given.
8983 if test "${enable_caret+set}" = set; then
8984 enableval=$enable_caret;
8985 if test "$enableval" = yes; then
8986 ac_cv_use_caret='wxUSE_CARET=yes'
8988 ac_cv_use_caret='wxUSE_CARET=no'
8993 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x ; then
8995 eval "DEFAULT_$LINE"
9000 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9005 eval "$ac_cv_use_caret"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9010 if test "$wxUSE_CARET" = yes; then
9011 { echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6; }
9014 { echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6; }
9020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9023 # Check whether --enable-checkbox was given.
9024 if test "${enable_checkbox+set}" = set; then
9025 enableval=$enable_checkbox;
9026 if test "$enableval" = yes; then
9027 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9029 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9034 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x ; then
9036 eval "DEFAULT_$LINE"
9041 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9046 eval "$ac_cv_use_checkbox"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9051 if test "$wxUSE_CHECKBOX" = yes; then
9052 { echo "$as_me:$LINENO: result: yes" >&5
9053 echo "${ECHO_T}yes" >&6; }
9055 { echo "$as_me:$LINENO: result: no" >&5
9056 echo "${ECHO_T}no" >&6; }
9061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9062 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9064 # Check whether --enable-checklst was given.
9065 if test "${enable_checklst+set}" = set; then
9066 enableval=$enable_checklst;
9067 if test "$enableval" = yes; then
9068 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9070 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9075 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x ; then
9077 eval "DEFAULT_$LINE"
9082 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9087 eval "$ac_cv_use_checklst"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9092 if test "$wxUSE_CHECKLST" = yes; then
9093 { echo "$as_me:$LINENO: result: yes" >&5
9094 echo "${ECHO_T}yes" >&6; }
9096 { echo "$as_me:$LINENO: result: no" >&5
9097 echo "${ECHO_T}no" >&6; }
9102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9105 # Check whether --enable-choice was given.
9106 if test "${enable_choice+set}" = set; then
9107 enableval=$enable_choice;
9108 if test "$enableval" = yes; then
9109 ac_cv_use_choice='wxUSE_CHOICE=yes'
9111 ac_cv_use_choice='wxUSE_CHOICE=no'
9116 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x ; then
9118 eval "DEFAULT_$LINE"
9123 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9128 eval "$ac_cv_use_choice"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9133 if test "$wxUSE_CHOICE" = yes; then
9134 { echo "$as_me:$LINENO: result: yes" >&5
9135 echo "${ECHO_T}yes" >&6; }
9137 { echo "$as_me:$LINENO: result: no" >&5
9138 echo "${ECHO_T}no" >&6; }
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9146 # Check whether --enable-choicebook was given.
9147 if test "${enable_choicebook+set}" = set; then
9148 enableval=$enable_choicebook;
9149 if test "$enableval" = yes; then
9150 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9152 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9157 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x ; then
9159 eval "DEFAULT_$LINE"
9164 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9169 eval "$ac_cv_use_choicebook"
9170 if test "$no_cache" != 1; then
9171 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9174 if test "$wxUSE_CHOICEBOOK" = yes; then
9175 { echo "$as_me:$LINENO: result: yes" >&5
9176 echo "${ECHO_T}yes" >&6; }
9178 { echo "$as_me:$LINENO: result: no" >&5
9179 echo "${ECHO_T}no" >&6; }
9184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9185 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9187 # Check whether --enable-collpane was given.
9188 if test "${enable_collpane+set}" = set; then
9189 enableval=$enable_collpane;
9190 if test "$enableval" = yes; then
9191 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9193 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9198 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x ; then
9200 eval "DEFAULT_$LINE"
9205 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9210 eval "$ac_cv_use_collpane"
9211 if test "$no_cache" != 1; then
9212 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9215 if test "$wxUSE_COLLPANE" = yes; then
9216 { echo "$as_me:$LINENO: result: yes" >&5
9217 echo "${ECHO_T}yes" >&6; }
9219 { echo "$as_me:$LINENO: result: no" >&5
9220 echo "${ECHO_T}no" >&6; }
9225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9226 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9228 # Check whether --enable-colourpicker was given.
9229 if test "${enable_colourpicker+set}" = set; then
9230 enableval=$enable_colourpicker;
9231 if test "$enableval" = yes; then
9232 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9234 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9239 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x ; then
9241 eval "DEFAULT_$LINE"
9246 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9251 eval "$ac_cv_use_colourpicker"
9252 if test "$no_cache" != 1; then
9253 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9256 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9257 { echo "$as_me:$LINENO: result: yes" >&5
9258 echo "${ECHO_T}yes" >&6; }
9260 { echo "$as_me:$LINENO: result: no" >&5
9261 echo "${ECHO_T}no" >&6; }
9266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9267 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9269 # Check whether --enable-combobox was given.
9270 if test "${enable_combobox+set}" = set; then
9271 enableval=$enable_combobox;
9272 if test "$enableval" = yes; then
9273 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9275 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9280 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x ; then
9282 eval "DEFAULT_$LINE"
9287 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9292 eval "$ac_cv_use_combobox"
9293 if test "$no_cache" != 1; then
9294 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9297 if test "$wxUSE_COMBOBOX" = yes; then
9298 { echo "$as_me:$LINENO: result: yes" >&5
9299 echo "${ECHO_T}yes" >&6; }
9301 { echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6; }
9307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9308 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9310 # Check whether --enable-comboctrl was given.
9311 if test "${enable_comboctrl+set}" = set; then
9312 enableval=$enable_comboctrl;
9313 if test "$enableval" = yes; then
9314 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9316 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9321 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x ; then
9323 eval "DEFAULT_$LINE"
9328 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9333 eval "$ac_cv_use_comboctrl"
9334 if test "$no_cache" != 1; then
9335 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9338 if test "$wxUSE_COMBOCTRL" = yes; then
9339 { echo "$as_me:$LINENO: result: yes" >&5
9340 echo "${ECHO_T}yes" >&6; }
9342 { echo "$as_me:$LINENO: result: no" >&5
9343 echo "${ECHO_T}no" >&6; }
9348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9349 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9351 # Check whether --enable-datepick was given.
9352 if test "${enable_datepick+set}" = set; then
9353 enableval=$enable_datepick;
9354 if test "$enableval" = yes; then
9355 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9357 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9362 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x ; then
9364 eval "DEFAULT_$LINE"
9369 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9374 eval "$ac_cv_use_datepick"
9375 if test "$no_cache" != 1; then
9376 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9379 if test "$wxUSE_DATEPICKCTRL" = yes; then
9380 { echo "$as_me:$LINENO: result: yes" >&5
9381 echo "${ECHO_T}yes" >&6; }
9383 { echo "$as_me:$LINENO: result: no" >&5
9384 echo "${ECHO_T}no" >&6; }
9389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9390 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9392 # Check whether --enable-dirpicker was given.
9393 if test "${enable_dirpicker+set}" = set; then
9394 enableval=$enable_dirpicker;
9395 if test "$enableval" = yes; then
9396 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9398 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9403 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x ; then
9405 eval "DEFAULT_$LINE"
9410 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9415 eval "$ac_cv_use_dirpicker"
9416 if test "$no_cache" != 1; then
9417 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9420 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9421 { echo "$as_me:$LINENO: result: yes" >&5
9422 echo "${ECHO_T}yes" >&6; }
9424 { echo "$as_me:$LINENO: result: no" >&5
9425 echo "${ECHO_T}no" >&6; }
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9433 # Check whether --enable-display was given.
9434 if test "${enable_display+set}" = set; then
9435 enableval=$enable_display;
9436 if test "$enableval" = yes; then
9437 ac_cv_use_display='wxUSE_DISPLAY=yes'
9439 ac_cv_use_display='wxUSE_DISPLAY=no'
9444 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9451 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9456 eval "$ac_cv_use_display"
9457 if test "$no_cache" != 1; then
9458 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9461 if test "$wxUSE_DISPLAY" = yes; then
9462 { echo "$as_me:$LINENO: result: yes" >&5
9463 echo "${ECHO_T}yes" >&6; }
9465 { echo "$as_me:$LINENO: result: no" >&5
9466 echo "${ECHO_T}no" >&6; }
9471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9472 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9474 # Check whether --enable-detect_sm was given.
9475 if test "${enable_detect_sm+set}" = set; then
9476 enableval=$enable_detect_sm;
9477 if test "$enableval" = yes; then
9478 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9480 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9485 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x ; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9497 eval "$ac_cv_use_detect_sm"
9498 if test "$no_cache" != 1; then
9499 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9502 if test "$wxUSE_DETECT_SM" = yes; then
9503 { echo "$as_me:$LINENO: result: yes" >&5
9504 echo "${ECHO_T}yes" >&6; }
9506 { echo "$as_me:$LINENO: result: no" >&5
9507 echo "${ECHO_T}no" >&6; }
9512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9515 # Check whether --enable-filepicker was given.
9516 if test "${enable_filepicker+set}" = set; then
9517 enableval=$enable_filepicker;
9518 if test "$enableval" = yes; then
9519 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9521 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9526 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x ; then
9528 eval "DEFAULT_$LINE"
9533 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9538 eval "$ac_cv_use_filepicker"
9539 if test "$no_cache" != 1; then
9540 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9543 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9544 { echo "$as_me:$LINENO: result: yes" >&5
9545 echo "${ECHO_T}yes" >&6; }
9547 { echo "$as_me:$LINENO: result: no" >&5
9548 echo "${ECHO_T}no" >&6; }
9553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9554 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9556 # Check whether --enable-fontpicker was given.
9557 if test "${enable_fontpicker+set}" = set; then
9558 enableval=$enable_fontpicker;
9559 if test "$enableval" = yes; then
9560 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9562 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9567 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x ; then
9569 eval "DEFAULT_$LINE"
9574 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9579 eval "$ac_cv_use_fontpicker"
9580 if test "$no_cache" != 1; then
9581 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9584 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9585 { echo "$as_me:$LINENO: result: yes" >&5
9586 echo "${ECHO_T}yes" >&6; }
9588 { echo "$as_me:$LINENO: result: no" >&5
9589 echo "${ECHO_T}no" >&6; }
9594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9595 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9597 # Check whether --enable-gauge was given.
9598 if test "${enable_gauge+set}" = set; then
9599 enableval=$enable_gauge;
9600 if test "$enableval" = yes; then
9601 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9603 ac_cv_use_gauge='wxUSE_GAUGE=no'
9608 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x ; then
9610 eval "DEFAULT_$LINE"
9615 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9620 eval "$ac_cv_use_gauge"
9621 if test "$no_cache" != 1; then
9622 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9625 if test "$wxUSE_GAUGE" = yes; then
9626 { echo "$as_me:$LINENO: result: yes" >&5
9627 echo "${ECHO_T}yes" >&6; }
9629 { echo "$as_me:$LINENO: result: no" >&5
9630 echo "${ECHO_T}no" >&6; }
9635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9636 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9638 # Check whether --enable-grid was given.
9639 if test "${enable_grid+set}" = set; then
9640 enableval=$enable_grid;
9641 if test "$enableval" = yes; then
9642 ac_cv_use_grid='wxUSE_GRID=yes'
9644 ac_cv_use_grid='wxUSE_GRID=no'
9649 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x ; then
9651 eval "DEFAULT_$LINE"
9656 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9661 eval "$ac_cv_use_grid"
9662 if test "$no_cache" != 1; then
9663 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9666 if test "$wxUSE_GRID" = yes; then
9667 { echo "$as_me:$LINENO: result: yes" >&5
9668 echo "${ECHO_T}yes" >&6; }
9670 { echo "$as_me:$LINENO: result: no" >&5
9671 echo "${ECHO_T}no" >&6; }
9676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9677 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9679 # Check whether --enable-dataviewctrl was given.
9680 if test "${enable_dataviewctrl+set}" = set; then
9681 enableval=$enable_dataviewctrl;
9682 if test "$enableval" = yes; then
9683 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9685 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9690 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x ; then
9692 eval "DEFAULT_$LINE"
9697 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9702 eval "$ac_cv_use_dataviewctrl"
9703 if test "$no_cache" != 1; then
9704 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9707 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9708 { echo "$as_me:$LINENO: result: yes" >&5
9709 echo "${ECHO_T}yes" >&6; }
9711 { echo "$as_me:$LINENO: result: no" >&5
9712 echo "${ECHO_T}no" >&6; }
9717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9718 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9720 # Check whether --enable-hyperlink was given.
9721 if test "${enable_hyperlink+set}" = set; then
9722 enableval=$enable_hyperlink;
9723 if test "$enableval" = yes; then
9724 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9726 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9731 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x ; then
9733 eval "DEFAULT_$LINE"
9738 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9743 eval "$ac_cv_use_hyperlink"
9744 if test "$no_cache" != 1; then
9745 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9748 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9749 { echo "$as_me:$LINENO: result: yes" >&5
9750 echo "${ECHO_T}yes" >&6; }
9752 { echo "$as_me:$LINENO: result: no" >&5
9753 echo "${ECHO_T}no" >&6; }
9758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9759 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9761 # Check whether --enable-imaglist was given.
9762 if test "${enable_imaglist+set}" = set; then
9763 enableval=$enable_imaglist;
9764 if test "$enableval" = yes; then
9765 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9767 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9772 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9773 if test "x$LINE" != x ; then
9774 eval "DEFAULT_$LINE"
9779 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9784 eval "$ac_cv_use_imaglist"
9785 if test "$no_cache" != 1; then
9786 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9789 if test "$wxUSE_IMAGLIST" = yes; then
9790 { echo "$as_me:$LINENO: result: yes" >&5
9791 echo "${ECHO_T}yes" >&6; }
9793 { echo "$as_me:$LINENO: result: no" >&5
9794 echo "${ECHO_T}no" >&6; }
9799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9800 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9802 # Check whether --enable-listbook was given.
9803 if test "${enable_listbook+set}" = set; then
9804 enableval=$enable_listbook;
9805 if test "$enableval" = yes; then
9806 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9808 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9813 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9814 if test "x$LINE" != x ; then
9815 eval "DEFAULT_$LINE"
9820 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9825 eval "$ac_cv_use_listbook"
9826 if test "$no_cache" != 1; then
9827 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9830 if test "$wxUSE_LISTBOOK" = yes; then
9831 { echo "$as_me:$LINENO: result: yes" >&5
9832 echo "${ECHO_T}yes" >&6; }
9834 { echo "$as_me:$LINENO: result: no" >&5
9835 echo "${ECHO_T}no" >&6; }
9840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9841 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9843 # Check whether --enable-listbox was given.
9844 if test "${enable_listbox+set}" = set; then
9845 enableval=$enable_listbox;
9846 if test "$enableval" = yes; then
9847 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9849 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9854 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x ; then
9856 eval "DEFAULT_$LINE"
9861 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9866 eval "$ac_cv_use_listbox"
9867 if test "$no_cache" != 1; then
9868 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9871 if test "$wxUSE_LISTBOX" = yes; then
9872 { echo "$as_me:$LINENO: result: yes" >&5
9873 echo "${ECHO_T}yes" >&6; }
9875 { echo "$as_me:$LINENO: result: no" >&5
9876 echo "${ECHO_T}no" >&6; }
9881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9882 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9884 # Check whether --enable-listctrl was given.
9885 if test "${enable_listctrl+set}" = set; then
9886 enableval=$enable_listctrl;
9887 if test "$enableval" = yes; then
9888 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9890 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9895 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x ; then
9897 eval "DEFAULT_$LINE"
9902 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9907 eval "$ac_cv_use_listctrl"
9908 if test "$no_cache" != 1; then
9909 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9912 if test "$wxUSE_LISTCTRL" = yes; then
9913 { echo "$as_me:$LINENO: result: yes" >&5
9914 echo "${ECHO_T}yes" >&6; }
9916 { echo "$as_me:$LINENO: result: no" >&5
9917 echo "${ECHO_T}no" >&6; }
9922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9923 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9925 # Check whether --enable-notebook was given.
9926 if test "${enable_notebook+set}" = set; then
9927 enableval=$enable_notebook;
9928 if test "$enableval" = yes; then
9929 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9931 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9936 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9937 if test "x$LINE" != x ; then
9938 eval "DEFAULT_$LINE"
9943 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9948 eval "$ac_cv_use_notebook"
9949 if test "$no_cache" != 1; then
9950 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9953 if test "$wxUSE_NOTEBOOK" = yes; then
9954 { echo "$as_me:$LINENO: result: yes" >&5
9955 echo "${ECHO_T}yes" >&6; }
9957 { echo "$as_me:$LINENO: result: no" >&5
9958 echo "${ECHO_T}no" >&6; }
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
9966 # Check whether --enable-odcombobox was given.
9967 if test "${enable_odcombobox+set}" = set; then
9968 enableval=$enable_odcombobox;
9969 if test "$enableval" = yes; then
9970 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9972 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9977 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9978 if test "x$LINE" != x ; then
9979 eval "DEFAULT_$LINE"
9984 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9989 eval "$ac_cv_use_odcombobox"
9990 if test "$no_cache" != 1; then
9991 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9994 if test "$wxUSE_ODCOMBOBOX" = yes; then
9995 { echo "$as_me:$LINENO: result: yes" >&5
9996 echo "${ECHO_T}yes" >&6; }
9998 { echo "$as_me:$LINENO: result: no" >&5
9999 echo "${ECHO_T}no" >&6; }
10004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10005 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10007 # Check whether --enable-radiobox was given.
10008 if test "${enable_radiobox+set}" = set; then
10009 enableval=$enable_radiobox;
10010 if test "$enableval" = yes; then
10011 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10013 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10018 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10019 if test "x$LINE" != x ; then
10020 eval "DEFAULT_$LINE"
10025 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10030 eval "$ac_cv_use_radiobox"
10031 if test "$no_cache" != 1; then
10032 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10035 if test "$wxUSE_RADIOBOX" = yes; then
10036 { echo "$as_me:$LINENO: result: yes" >&5
10037 echo "${ECHO_T}yes" >&6; }
10039 { echo "$as_me:$LINENO: result: no" >&5
10040 echo "${ECHO_T}no" >&6; }
10045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10046 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10048 # Check whether --enable-radiobtn was given.
10049 if test "${enable_radiobtn+set}" = set; then
10050 enableval=$enable_radiobtn;
10051 if test "$enableval" = yes; then
10052 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10054 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10059 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10060 if test "x$LINE" != x ; then
10061 eval "DEFAULT_$LINE"
10066 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10071 eval "$ac_cv_use_radiobtn"
10072 if test "$no_cache" != 1; then
10073 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10076 if test "$wxUSE_RADIOBTN" = yes; then
10077 { echo "$as_me:$LINENO: result: yes" >&5
10078 echo "${ECHO_T}yes" >&6; }
10080 { echo "$as_me:$LINENO: result: no" >&5
10081 echo "${ECHO_T}no" >&6; }
10086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10087 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10089 # Check whether --enable-sash was given.
10090 if test "${enable_sash+set}" = set; then
10091 enableval=$enable_sash;
10092 if test "$enableval" = yes; then
10093 ac_cv_use_sash='wxUSE_SASH=yes'
10095 ac_cv_use_sash='wxUSE_SASH=no'
10100 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10101 if test "x$LINE" != x ; then
10102 eval "DEFAULT_$LINE"
10107 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10112 eval "$ac_cv_use_sash"
10113 if test "$no_cache" != 1; then
10114 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10117 if test "$wxUSE_SASH" = yes; then
10118 { echo "$as_me:$LINENO: result: yes" >&5
10119 echo "${ECHO_T}yes" >&6; }
10121 { echo "$as_me:$LINENO: result: no" >&5
10122 echo "${ECHO_T}no" >&6; }
10127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10128 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10130 # Check whether --enable-scrollbar was given.
10131 if test "${enable_scrollbar+set}" = set; then
10132 enableval=$enable_scrollbar;
10133 if test "$enableval" = yes; then
10134 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10136 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10141 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10142 if test "x$LINE" != x ; then
10143 eval "DEFAULT_$LINE"
10148 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10153 eval "$ac_cv_use_scrollbar"
10154 if test "$no_cache" != 1; then
10155 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10158 if test "$wxUSE_SCROLLBAR" = yes; then
10159 { echo "$as_me:$LINENO: result: yes" >&5
10160 echo "${ECHO_T}yes" >&6; }
10162 { echo "$as_me:$LINENO: result: no" >&5
10163 echo "${ECHO_T}no" >&6; }
10168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10169 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10171 # Check whether --enable-searchctrl was given.
10172 if test "${enable_searchctrl+set}" = set; then
10173 enableval=$enable_searchctrl;
10174 if test "$enableval" = yes; then
10175 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10177 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10182 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10183 if test "x$LINE" != x ; then
10184 eval "DEFAULT_$LINE"
10189 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10194 eval "$ac_cv_use_searchctrl"
10195 if test "$no_cache" != 1; then
10196 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10199 if test "$wxUSE_SEARCHCTRL" = yes; then
10200 { echo "$as_me:$LINENO: result: yes" >&5
10201 echo "${ECHO_T}yes" >&6; }
10203 { echo "$as_me:$LINENO: result: no" >&5
10204 echo "${ECHO_T}no" >&6; }
10209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10210 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10212 # Check whether --enable-slider was given.
10213 if test "${enable_slider+set}" = set; then
10214 enableval=$enable_slider;
10215 if test "$enableval" = yes; then
10216 ac_cv_use_slider='wxUSE_SLIDER=yes'
10218 ac_cv_use_slider='wxUSE_SLIDER=no'
10223 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10224 if test "x$LINE" != x ; then
10225 eval "DEFAULT_$LINE"
10230 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10235 eval "$ac_cv_use_slider"
10236 if test "$no_cache" != 1; then
10237 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10240 if test "$wxUSE_SLIDER" = yes; then
10241 { echo "$as_me:$LINENO: result: yes" >&5
10242 echo "${ECHO_T}yes" >&6; }
10244 { echo "$as_me:$LINENO: result: no" >&5
10245 echo "${ECHO_T}no" >&6; }
10250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10251 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10253 # Check whether --enable-spinbtn was given.
10254 if test "${enable_spinbtn+set}" = set; then
10255 enableval=$enable_spinbtn;
10256 if test "$enableval" = yes; then
10257 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10259 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10264 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10265 if test "x$LINE" != x ; then
10266 eval "DEFAULT_$LINE"
10271 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10276 eval "$ac_cv_use_spinbtn"
10277 if test "$no_cache" != 1; then
10278 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10281 if test "$wxUSE_SPINBTN" = yes; then
10282 { echo "$as_me:$LINENO: result: yes" >&5
10283 echo "${ECHO_T}yes" >&6; }
10285 { echo "$as_me:$LINENO: result: no" >&5
10286 echo "${ECHO_T}no" >&6; }
10291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10292 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10294 # Check whether --enable-spinctrl was given.
10295 if test "${enable_spinctrl+set}" = set; then
10296 enableval=$enable_spinctrl;
10297 if test "$enableval" = yes; then
10298 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10300 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10305 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x ; then
10307 eval "DEFAULT_$LINE"
10312 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10317 eval "$ac_cv_use_spinctrl"
10318 if test "$no_cache" != 1; then
10319 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10322 if test "$wxUSE_SPINCTRL" = yes; then
10323 { echo "$as_me:$LINENO: result: yes" >&5
10324 echo "${ECHO_T}yes" >&6; }
10326 { echo "$as_me:$LINENO: result: no" >&5
10327 echo "${ECHO_T}no" >&6; }
10332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10333 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10335 # Check whether --enable-splitter was given.
10336 if test "${enable_splitter+set}" = set; then
10337 enableval=$enable_splitter;
10338 if test "$enableval" = yes; then
10339 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10341 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10346 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10353 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10358 eval "$ac_cv_use_splitter"
10359 if test "$no_cache" != 1; then
10360 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10363 if test "$wxUSE_SPLITTER" = yes; then
10364 { echo "$as_me:$LINENO: result: yes" >&5
10365 echo "${ECHO_T}yes" >&6; }
10367 { echo "$as_me:$LINENO: result: no" >&5
10368 echo "${ECHO_T}no" >&6; }
10373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10374 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10376 # Check whether --enable-statbmp was given.
10377 if test "${enable_statbmp+set}" = set; then
10378 enableval=$enable_statbmp;
10379 if test "$enableval" = yes; then
10380 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10382 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10387 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x ; then
10389 eval "DEFAULT_$LINE"
10394 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10399 eval "$ac_cv_use_statbmp"
10400 if test "$no_cache" != 1; then
10401 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10404 if test "$wxUSE_STATBMP" = yes; then
10405 { echo "$as_me:$LINENO: result: yes" >&5
10406 echo "${ECHO_T}yes" >&6; }
10408 { echo "$as_me:$LINENO: result: no" >&5
10409 echo "${ECHO_T}no" >&6; }
10414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10415 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10417 # Check whether --enable-statbox was given.
10418 if test "${enable_statbox+set}" = set; then
10419 enableval=$enable_statbox;
10420 if test "$enableval" = yes; then
10421 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10423 ac_cv_use_statbox='wxUSE_STATBOX=no'
10428 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10429 if test "x$LINE" != x ; then
10430 eval "DEFAULT_$LINE"
10435 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10440 eval "$ac_cv_use_statbox"
10441 if test "$no_cache" != 1; then
10442 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10445 if test "$wxUSE_STATBOX" = yes; then
10446 { echo "$as_me:$LINENO: result: yes" >&5
10447 echo "${ECHO_T}yes" >&6; }
10449 { echo "$as_me:$LINENO: result: no" >&5
10450 echo "${ECHO_T}no" >&6; }
10455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10456 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10458 # Check whether --enable-statline was given.
10459 if test "${enable_statline+set}" = set; then
10460 enableval=$enable_statline;
10461 if test "$enableval" = yes; then
10462 ac_cv_use_statline='wxUSE_STATLINE=yes'
10464 ac_cv_use_statline='wxUSE_STATLINE=no'
10469 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10470 if test "x$LINE" != x ; then
10471 eval "DEFAULT_$LINE"
10476 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10481 eval "$ac_cv_use_statline"
10482 if test "$no_cache" != 1; then
10483 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10486 if test "$wxUSE_STATLINE" = yes; then
10487 { echo "$as_me:$LINENO: result: yes" >&5
10488 echo "${ECHO_T}yes" >&6; }
10490 { echo "$as_me:$LINENO: result: no" >&5
10491 echo "${ECHO_T}no" >&6; }
10496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10497 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10499 # Check whether --enable-stattext was given.
10500 if test "${enable_stattext+set}" = set; then
10501 enableval=$enable_stattext;
10502 if test "$enableval" = yes; then
10503 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10505 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10510 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10511 if test "x$LINE" != x ; then
10512 eval "DEFAULT_$LINE"
10517 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10522 eval "$ac_cv_use_stattext"
10523 if test "$no_cache" != 1; then
10524 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10527 if test "$wxUSE_STATTEXT" = yes; then
10528 { echo "$as_me:$LINENO: result: yes" >&5
10529 echo "${ECHO_T}yes" >&6; }
10531 { echo "$as_me:$LINENO: result: no" >&5
10532 echo "${ECHO_T}no" >&6; }
10537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10538 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10540 # Check whether --enable-statusbar was given.
10541 if test "${enable_statusbar+set}" = set; then
10542 enableval=$enable_statusbar;
10543 if test "$enableval" = yes; then
10544 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10546 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10551 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10552 if test "x$LINE" != x ; then
10553 eval "DEFAULT_$LINE"
10558 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10563 eval "$ac_cv_use_statusbar"
10564 if test "$no_cache" != 1; then
10565 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10568 if test "$wxUSE_STATUSBAR" = yes; then
10569 { echo "$as_me:$LINENO: result: yes" >&5
10570 echo "${ECHO_T}yes" >&6; }
10572 { echo "$as_me:$LINENO: result: no" >&5
10573 echo "${ECHO_T}no" >&6; }
10578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10579 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10581 # Check whether --enable-tabdialog was given.
10582 if test "${enable_tabdialog+set}" = set; then
10583 enableval=$enable_tabdialog;
10584 if test "$enableval" = yes; then
10585 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10587 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10592 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10593 if test "x$LINE" != x ; then
10594 eval "DEFAULT_$LINE"
10599 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10604 eval "$ac_cv_use_tabdialog"
10605 if test "$no_cache" != 1; then
10606 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10609 if test "$wxUSE_TAB_DIALOG" = yes; then
10610 { echo "$as_me:$LINENO: result: yes" >&5
10611 echo "${ECHO_T}yes" >&6; }
10613 { echo "$as_me:$LINENO: result: no" >&5
10614 echo "${ECHO_T}no" >&6; }
10619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10620 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10622 # Check whether --enable-textctrl was given.
10623 if test "${enable_textctrl+set}" = set; then
10624 enableval=$enable_textctrl;
10625 if test "$enableval" = yes; then
10626 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10628 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10633 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10640 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10645 eval "$ac_cv_use_textctrl"
10646 if test "$no_cache" != 1; then
10647 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10650 if test "$wxUSE_TEXTCTRL" = yes; then
10651 { echo "$as_me:$LINENO: result: yes" >&5
10652 echo "${ECHO_T}yes" >&6; }
10654 { echo "$as_me:$LINENO: result: no" >&5
10655 echo "${ECHO_T}no" >&6; }
10660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10661 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10663 # Check whether --enable-togglebtn was given.
10664 if test "${enable_togglebtn+set}" = set; then
10665 enableval=$enable_togglebtn;
10666 if test "$enableval" = yes; then
10667 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10669 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10674 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10681 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10686 eval "$ac_cv_use_togglebtn"
10687 if test "$no_cache" != 1; then
10688 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10691 if test "$wxUSE_TOGGLEBTN" = yes; then
10692 { echo "$as_me:$LINENO: result: yes" >&5
10693 echo "${ECHO_T}yes" >&6; }
10695 { echo "$as_me:$LINENO: result: no" >&5
10696 echo "${ECHO_T}no" >&6; }
10701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10702 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10704 # Check whether --enable-toolbar was given.
10705 if test "${enable_toolbar+set}" = set; then
10706 enableval=$enable_toolbar;
10707 if test "$enableval" = yes; then
10708 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10710 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10715 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10716 if test "x$LINE" != x ; then
10717 eval "DEFAULT_$LINE"
10722 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10727 eval "$ac_cv_use_toolbar"
10728 if test "$no_cache" != 1; then
10729 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10732 if test "$wxUSE_TOOLBAR" = yes; then
10733 { echo "$as_me:$LINENO: result: yes" >&5
10734 echo "${ECHO_T}yes" >&6; }
10736 { echo "$as_me:$LINENO: result: no" >&5
10737 echo "${ECHO_T}no" >&6; }
10742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10743 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10745 # Check whether --enable-tbarnative was given.
10746 if test "${enable_tbarnative+set}" = set; then
10747 enableval=$enable_tbarnative;
10748 if test "$enableval" = yes; then
10749 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10751 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10756 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10757 if test "x$LINE" != x ; then
10758 eval "DEFAULT_$LINE"
10763 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10768 eval "$ac_cv_use_tbarnative"
10769 if test "$no_cache" != 1; then
10770 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10773 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10774 { echo "$as_me:$LINENO: result: yes" >&5
10775 echo "${ECHO_T}yes" >&6; }
10777 { echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6; }
10783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10784 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10786 # Check whether --enable-treebook was given.
10787 if test "${enable_treebook+set}" = set; then
10788 enableval=$enable_treebook;
10789 if test "$enableval" = yes; then
10790 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10792 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10797 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10804 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10809 eval "$ac_cv_use_treebook"
10810 if test "$no_cache" != 1; then
10811 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10814 if test "$wxUSE_TREEBOOK" = yes; then
10815 { echo "$as_me:$LINENO: result: yes" >&5
10816 echo "${ECHO_T}yes" >&6; }
10818 { echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6; }
10824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10825 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10827 # Check whether --enable-toolbook was given.
10828 if test "${enable_toolbook+set}" = set; then
10829 enableval=$enable_toolbook;
10830 if test "$enableval" = yes; then
10831 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10833 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10838 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10839 if test "x$LINE" != x ; then
10840 eval "DEFAULT_$LINE"
10845 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10850 eval "$ac_cv_use_toolbook"
10851 if test "$no_cache" != 1; then
10852 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10855 if test "$wxUSE_TOOLBOOK" = yes; then
10856 { echo "$as_me:$LINENO: result: yes" >&5
10857 echo "${ECHO_T}yes" >&6; }
10859 { echo "$as_me:$LINENO: result: no" >&5
10860 echo "${ECHO_T}no" >&6; }
10865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10866 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10868 # Check whether --enable-treectrl was given.
10869 if test "${enable_treectrl+set}" = set; then
10870 enableval=$enable_treectrl;
10871 if test "$enableval" = yes; then
10872 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10874 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10879 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10880 if test "x$LINE" != x ; then
10881 eval "DEFAULT_$LINE"
10886 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10891 eval "$ac_cv_use_treectrl"
10892 if test "$no_cache" != 1; then
10893 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10896 if test "$wxUSE_TREECTRL" = yes; then
10897 { echo "$as_me:$LINENO: result: yes" >&5
10898 echo "${ECHO_T}yes" >&6; }
10900 { echo "$as_me:$LINENO: result: no" >&5
10901 echo "${ECHO_T}no" >&6; }
10906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10907 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10909 # Check whether --enable-tipwindow was given.
10910 if test "${enable_tipwindow+set}" = set; then
10911 enableval=$enable_tipwindow;
10912 if test "$enableval" = yes; then
10913 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10915 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10920 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10921 if test "x$LINE" != x ; then
10922 eval "DEFAULT_$LINE"
10927 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10932 eval "$ac_cv_use_tipwindow"
10933 if test "$no_cache" != 1; then
10934 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10937 if test "$wxUSE_TIPWINDOW" = yes; then
10938 { echo "$as_me:$LINENO: result: yes" >&5
10939 echo "${ECHO_T}yes" >&6; }
10941 { echo "$as_me:$LINENO: result: no" >&5
10942 echo "${ECHO_T}no" >&6; }
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10950 # Check whether --enable-popupwin was given.
10951 if test "${enable_popupwin+set}" = set; then
10952 enableval=$enable_popupwin;
10953 if test "$enableval" = yes; then
10954 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10956 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10961 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10962 if test "x$LINE" != x ; then
10963 eval "DEFAULT_$LINE"
10968 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10973 eval "$ac_cv_use_popupwin"
10974 if test "$no_cache" != 1; then
10975 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10978 if test "$wxUSE_POPUPWIN" = yes; then
10979 { echo "$as_me:$LINENO: result: yes" >&5
10980 echo "${ECHO_T}yes" >&6; }
10982 { echo "$as_me:$LINENO: result: no" >&5
10983 echo "${ECHO_T}no" >&6; }
10990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10991 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
10993 # Check whether --enable-commondlg was given.
10994 if test "${enable_commondlg+set}" = set; then
10995 enableval=$enable_commondlg;
10996 if test "$enableval" = yes; then
10997 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10999 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11004 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11005 if test "x$LINE" != x ; then
11006 eval "DEFAULT_$LINE"
11011 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11016 eval "$ac_cv_use_commondlg"
11017 if test "$no_cache" != 1; then
11018 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11021 if test "$wxUSE_COMMONDLGS" = yes; then
11022 { echo "$as_me:$LINENO: result: yes" >&5
11023 echo "${ECHO_T}yes" >&6; }
11025 { echo "$as_me:$LINENO: result: no" >&5
11026 echo "${ECHO_T}no" >&6; }
11031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11034 # Check whether --enable-aboutdlg was given.
11035 if test "${enable_aboutdlg+set}" = set; then
11036 enableval=$enable_aboutdlg;
11037 if test "$enableval" = yes; then
11038 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11040 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11045 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11046 if test "x$LINE" != x ; then
11047 eval "DEFAULT_$LINE"
11052 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11057 eval "$ac_cv_use_aboutdlg"
11058 if test "$no_cache" != 1; then
11059 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11062 if test "$wxUSE_ABOUTDLG" = yes; then
11063 { echo "$as_me:$LINENO: result: yes" >&5
11064 echo "${ECHO_T}yes" >&6; }
11066 { echo "$as_me:$LINENO: result: no" >&5
11067 echo "${ECHO_T}no" >&6; }
11072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11073 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11075 # Check whether --enable-choicedlg was given.
11076 if test "${enable_choicedlg+set}" = set; then
11077 enableval=$enable_choicedlg;
11078 if test "$enableval" = yes; then
11079 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11081 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11086 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11087 if test "x$LINE" != x ; then
11088 eval "DEFAULT_$LINE"
11093 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11098 eval "$ac_cv_use_choicedlg"
11099 if test "$no_cache" != 1; then
11100 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11103 if test "$wxUSE_CHOICEDLG" = yes; then
11104 { echo "$as_me:$LINENO: result: yes" >&5
11105 echo "${ECHO_T}yes" >&6; }
11107 { echo "$as_me:$LINENO: result: no" >&5
11108 echo "${ECHO_T}no" >&6; }
11113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11114 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11116 # Check whether --enable-coldlg was given.
11117 if test "${enable_coldlg+set}" = set; then
11118 enableval=$enable_coldlg;
11119 if test "$enableval" = yes; then
11120 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11122 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11127 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11128 if test "x$LINE" != x ; then
11129 eval "DEFAULT_$LINE"
11134 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11139 eval "$ac_cv_use_coldlg"
11140 if test "$no_cache" != 1; then
11141 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11144 if test "$wxUSE_COLOURDLG" = yes; then
11145 { echo "$as_me:$LINENO: result: yes" >&5
11146 echo "${ECHO_T}yes" >&6; }
11148 { echo "$as_me:$LINENO: result: no" >&5
11149 echo "${ECHO_T}no" >&6; }
11154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11155 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11157 # Check whether --enable-filedlg was given.
11158 if test "${enable_filedlg+set}" = set; then
11159 enableval=$enable_filedlg;
11160 if test "$enableval" = yes; then
11161 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11163 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11168 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11169 if test "x$LINE" != x ; then
11170 eval "DEFAULT_$LINE"
11175 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11180 eval "$ac_cv_use_filedlg"
11181 if test "$no_cache" != 1; then
11182 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11185 if test "$wxUSE_FILEDLG" = yes; then
11186 { echo "$as_me:$LINENO: result: yes" >&5
11187 echo "${ECHO_T}yes" >&6; }
11189 { echo "$as_me:$LINENO: result: no" >&5
11190 echo "${ECHO_T}no" >&6; }
11195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11196 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11198 # Check whether --enable-finddlg was given.
11199 if test "${enable_finddlg+set}" = set; then
11200 enableval=$enable_finddlg;
11201 if test "$enableval" = yes; then
11202 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11204 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11209 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11210 if test "x$LINE" != x ; then
11211 eval "DEFAULT_$LINE"
11216 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11221 eval "$ac_cv_use_finddlg"
11222 if test "$no_cache" != 1; then
11223 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11226 if test "$wxUSE_FINDREPLDLG" = yes; then
11227 { echo "$as_me:$LINENO: result: yes" >&5
11228 echo "${ECHO_T}yes" >&6; }
11230 { echo "$as_me:$LINENO: result: no" >&5
11231 echo "${ECHO_T}no" >&6; }
11236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11237 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11239 # Check whether --enable-fontdlg was given.
11240 if test "${enable_fontdlg+set}" = set; then
11241 enableval=$enable_fontdlg;
11242 if test "$enableval" = yes; then
11243 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11245 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11250 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11251 if test "x$LINE" != x ; then
11252 eval "DEFAULT_$LINE"
11257 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11262 eval "$ac_cv_use_fontdlg"
11263 if test "$no_cache" != 1; then
11264 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11267 if test "$wxUSE_FONTDLG" = yes; then
11268 { echo "$as_me:$LINENO: result: yes" >&5
11269 echo "${ECHO_T}yes" >&6; }
11271 { echo "$as_me:$LINENO: result: no" >&5
11272 echo "${ECHO_T}no" >&6; }
11277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11278 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11280 # Check whether --enable-dirdlg was given.
11281 if test "${enable_dirdlg+set}" = set; then
11282 enableval=$enable_dirdlg;
11283 if test "$enableval" = yes; then
11284 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11286 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11291 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11292 if test "x$LINE" != x ; then
11293 eval "DEFAULT_$LINE"
11298 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11303 eval "$ac_cv_use_dirdlg"
11304 if test "$no_cache" != 1; then
11305 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11308 if test "$wxUSE_DIRDLG" = yes; then
11309 { echo "$as_me:$LINENO: result: yes" >&5
11310 echo "${ECHO_T}yes" >&6; }
11312 { echo "$as_me:$LINENO: result: no" >&5
11313 echo "${ECHO_T}no" >&6; }
11318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11319 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11321 # Check whether --enable-msgdlg was given.
11322 if test "${enable_msgdlg+set}" = set; then
11323 enableval=$enable_msgdlg;
11324 if test "$enableval" = yes; then
11325 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11327 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11332 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11339 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11344 eval "$ac_cv_use_msgdlg"
11345 if test "$no_cache" != 1; then
11346 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11349 if test "$wxUSE_MSGDLG" = yes; then
11350 { echo "$as_me:$LINENO: result: yes" >&5
11351 echo "${ECHO_T}yes" >&6; }
11353 { echo "$as_me:$LINENO: result: no" >&5
11354 echo "${ECHO_T}no" >&6; }
11359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11360 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11362 # Check whether --enable-numberdlg was given.
11363 if test "${enable_numberdlg+set}" = set; then
11364 enableval=$enable_numberdlg;
11365 if test "$enableval" = yes; then
11366 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11368 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11373 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11374 if test "x$LINE" != x ; then
11375 eval "DEFAULT_$LINE"
11380 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11385 eval "$ac_cv_use_numberdlg"
11386 if test "$no_cache" != 1; then
11387 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11390 if test "$wxUSE_NUMBERDLG" = yes; then
11391 { echo "$as_me:$LINENO: result: yes" >&5
11392 echo "${ECHO_T}yes" >&6; }
11394 { echo "$as_me:$LINENO: result: no" >&5
11395 echo "${ECHO_T}no" >&6; }
11400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11401 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11403 # Check whether --enable-splash was given.
11404 if test "${enable_splash+set}" = set; then
11405 enableval=$enable_splash;
11406 if test "$enableval" = yes; then
11407 ac_cv_use_splash='wxUSE_SPLASH=yes'
11409 ac_cv_use_splash='wxUSE_SPLASH=no'
11414 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11415 if test "x$LINE" != x ; then
11416 eval "DEFAULT_$LINE"
11421 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11426 eval "$ac_cv_use_splash"
11427 if test "$no_cache" != 1; then
11428 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11431 if test "$wxUSE_SPLASH" = yes; then
11432 { echo "$as_me:$LINENO: result: yes" >&5
11433 echo "${ECHO_T}yes" >&6; }
11435 { echo "$as_me:$LINENO: result: no" >&5
11436 echo "${ECHO_T}no" >&6; }
11441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11442 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11444 # Check whether --enable-textdlg was given.
11445 if test "${enable_textdlg+set}" = set; then
11446 enableval=$enable_textdlg;
11447 if test "$enableval" = yes; then
11448 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11450 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11455 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11456 if test "x$LINE" != x ; then
11457 eval "DEFAULT_$LINE"
11462 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11467 eval "$ac_cv_use_textdlg"
11468 if test "$no_cache" != 1; then
11469 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11472 if test "$wxUSE_TEXTDLG" = yes; then
11473 { echo "$as_me:$LINENO: result: yes" >&5
11474 echo "${ECHO_T}yes" >&6; }
11476 { echo "$as_me:$LINENO: result: no" >&5
11477 echo "${ECHO_T}no" >&6; }
11482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11483 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11485 # Check whether --enable-tipdlg was given.
11486 if test "${enable_tipdlg+set}" = set; then
11487 enableval=$enable_tipdlg;
11488 if test "$enableval" = yes; then
11489 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11491 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11496 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11497 if test "x$LINE" != x ; then
11498 eval "DEFAULT_$LINE"
11503 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11508 eval "$ac_cv_use_tipdlg"
11509 if test "$no_cache" != 1; then
11510 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11513 if test "$wxUSE_STARTUP_TIPS" = yes; then
11514 { echo "$as_me:$LINENO: result: yes" >&5
11515 echo "${ECHO_T}yes" >&6; }
11517 { echo "$as_me:$LINENO: result: no" >&5
11518 echo "${ECHO_T}no" >&6; }
11523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11524 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11526 # Check whether --enable-progressdlg was given.
11527 if test "${enable_progressdlg+set}" = set; then
11528 enableval=$enable_progressdlg;
11529 if test "$enableval" = yes; then
11530 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11532 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11537 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11538 if test "x$LINE" != x ; then
11539 eval "DEFAULT_$LINE"
11544 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11549 eval "$ac_cv_use_progressdlg"
11550 if test "$no_cache" != 1; then
11551 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11554 if test "$wxUSE_PROGRESSDLG" = yes; then
11555 { echo "$as_me:$LINENO: result: yes" >&5
11556 echo "${ECHO_T}yes" >&6; }
11558 { echo "$as_me:$LINENO: result: no" >&5
11559 echo "${ECHO_T}no" >&6; }
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11567 # Check whether --enable-wizarddlg was given.
11568 if test "${enable_wizarddlg+set}" = set; then
11569 enableval=$enable_wizarddlg;
11570 if test "$enableval" = yes; then
11571 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11573 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11578 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11579 if test "x$LINE" != x ; then
11580 eval "DEFAULT_$LINE"
11585 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11590 eval "$ac_cv_use_wizarddlg"
11591 if test "$no_cache" != 1; then
11592 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11595 if test "$wxUSE_WIZARDDLG" = yes; then
11596 { echo "$as_me:$LINENO: result: yes" >&5
11597 echo "${ECHO_T}yes" >&6; }
11599 { echo "$as_me:$LINENO: result: no" >&5
11600 echo "${ECHO_T}no" >&6; }
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11610 # Check whether --enable-menus was given.
11611 if test "${enable_menus+set}" = set; then
11612 enableval=$enable_menus;
11613 if test "$enableval" = yes; then
11614 ac_cv_use_menus='wxUSE_MENUS=yes'
11616 ac_cv_use_menus='wxUSE_MENUS=no'
11621 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11622 if test "x$LINE" != x ; then
11623 eval "DEFAULT_$LINE"
11628 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11633 eval "$ac_cv_use_menus"
11634 if test "$no_cache" != 1; then
11635 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11638 if test "$wxUSE_MENUS" = yes; then
11639 { echo "$as_me:$LINENO: result: yes" >&5
11640 echo "${ECHO_T}yes" >&6; }
11642 { echo "$as_me:$LINENO: result: no" >&5
11643 echo "${ECHO_T}no" >&6; }
11648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11649 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11651 # Check whether --enable-miniframe was given.
11652 if test "${enable_miniframe+set}" = set; then
11653 enableval=$enable_miniframe;
11654 if test "$enableval" = yes; then
11655 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11657 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11662 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11663 if test "x$LINE" != x ; then
11664 eval "DEFAULT_$LINE"
11669 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11674 eval "$ac_cv_use_miniframe"
11675 if test "$no_cache" != 1; then
11676 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11679 if test "$wxUSE_MINIFRAME" = yes; then
11680 { echo "$as_me:$LINENO: result: yes" >&5
11681 echo "${ECHO_T}yes" >&6; }
11683 { echo "$as_me:$LINENO: result: no" >&5
11684 echo "${ECHO_T}no" >&6; }
11689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11692 # Check whether --enable-tooltips was given.
11693 if test "${enable_tooltips+set}" = set; then
11694 enableval=$enable_tooltips;
11695 if test "$enableval" = yes; then
11696 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11698 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11703 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11710 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11715 eval "$ac_cv_use_tooltips"
11716 if test "$no_cache" != 1; then
11717 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11720 if test "$wxUSE_TOOLTIPS" = yes; then
11721 { echo "$as_me:$LINENO: result: yes" >&5
11722 echo "${ECHO_T}yes" >&6; }
11724 { echo "$as_me:$LINENO: result: no" >&5
11725 echo "${ECHO_T}no" >&6; }
11730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11731 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11733 # Check whether --enable-splines was given.
11734 if test "${enable_splines+set}" = set; then
11735 enableval=$enable_splines;
11736 if test "$enableval" = yes; then
11737 ac_cv_use_splines='wxUSE_SPLINES=yes'
11739 ac_cv_use_splines='wxUSE_SPLINES=no'
11744 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11745 if test "x$LINE" != x ; then
11746 eval "DEFAULT_$LINE"
11751 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11756 eval "$ac_cv_use_splines"
11757 if test "$no_cache" != 1; then
11758 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11761 if test "$wxUSE_SPLINES" = yes; then
11762 { echo "$as_me:$LINENO: result: yes" >&5
11763 echo "${ECHO_T}yes" >&6; }
11765 { echo "$as_me:$LINENO: result: no" >&5
11766 echo "${ECHO_T}no" >&6; }
11771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11772 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11774 # Check whether --enable-mousewheel was given.
11775 if test "${enable_mousewheel+set}" = set; then
11776 enableval=$enable_mousewheel;
11777 if test "$enableval" = yes; then
11778 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11780 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11785 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11786 if test "x$LINE" != x ; then
11787 eval "DEFAULT_$LINE"
11792 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11797 eval "$ac_cv_use_mousewheel"
11798 if test "$no_cache" != 1; then
11799 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11802 if test "$wxUSE_MOUSEWHEEL" = yes; then
11803 { echo "$as_me:$LINENO: result: yes" >&5
11804 echo "${ECHO_T}yes" >&6; }
11806 { echo "$as_me:$LINENO: result: no" >&5
11807 echo "${ECHO_T}no" >&6; }
11812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11813 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11815 # Check whether --enable-validators was given.
11816 if test "${enable_validators+set}" = set; then
11817 enableval=$enable_validators;
11818 if test "$enableval" = yes; then
11819 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11821 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11826 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11827 if test "x$LINE" != x ; then
11828 eval "DEFAULT_$LINE"
11833 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11838 eval "$ac_cv_use_validators"
11839 if test "$no_cache" != 1; then
11840 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11843 if test "$wxUSE_VALIDATORS" = yes; then
11844 { echo "$as_me:$LINENO: result: yes" >&5
11845 echo "${ECHO_T}yes" >&6; }
11847 { echo "$as_me:$LINENO: result: no" >&5
11848 echo "${ECHO_T}no" >&6; }
11853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11854 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11856 # Check whether --enable-busyinfo was given.
11857 if test "${enable_busyinfo+set}" = set; then
11858 enableval=$enable_busyinfo;
11859 if test "$enableval" = yes; then
11860 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11862 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11867 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11868 if test "x$LINE" != x ; then
11869 eval "DEFAULT_$LINE"
11874 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11879 eval "$ac_cv_use_busyinfo"
11880 if test "$no_cache" != 1; then
11881 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11884 if test "$wxUSE_BUSYINFO" = yes; then
11885 { echo "$as_me:$LINENO: result: yes" >&5
11886 echo "${ECHO_T}yes" >&6; }
11888 { echo "$as_me:$LINENO: result: no" >&5
11889 echo "${ECHO_T}no" >&6; }
11894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11895 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11897 # Check whether --enable-joystick was given.
11898 if test "${enable_joystick+set}" = set; then
11899 enableval=$enable_joystick;
11900 if test "$enableval" = yes; then
11901 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11903 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11908 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11909 if test "x$LINE" != x ; then
11910 eval "DEFAULT_$LINE"
11915 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11920 eval "$ac_cv_use_joystick"
11921 if test "$no_cache" != 1; then
11922 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11925 if test "$wxUSE_JOYSTICK" = yes; then
11926 { echo "$as_me:$LINENO: result: yes" >&5
11927 echo "${ECHO_T}yes" >&6; }
11929 { echo "$as_me:$LINENO: result: no" >&5
11930 echo "${ECHO_T}no" >&6; }
11935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11936 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11938 # Check whether --enable-metafile was given.
11939 if test "${enable_metafile+set}" = set; then
11940 enableval=$enable_metafile;
11941 if test "$enableval" = yes; then
11942 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11944 ac_cv_use_metafile='wxUSE_METAFILE=no'
11949 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11950 if test "x$LINE" != x ; then
11951 eval "DEFAULT_$LINE"
11956 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11961 eval "$ac_cv_use_metafile"
11962 if test "$no_cache" != 1; then
11963 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11966 if test "$wxUSE_METAFILE" = yes; then
11967 { echo "$as_me:$LINENO: result: yes" >&5
11968 echo "${ECHO_T}yes" >&6; }
11970 { echo "$as_me:$LINENO: result: no" >&5
11971 echo "${ECHO_T}no" >&6; }
11976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11977 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
11979 # Check whether --enable-dragimage was given.
11980 if test "${enable_dragimage+set}" = set; then
11981 enableval=$enable_dragimage;
11982 if test "$enableval" = yes; then
11983 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11985 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11990 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11991 if test "x$LINE" != x ; then
11992 eval "DEFAULT_$LINE"
11997 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12002 eval "$ac_cv_use_dragimage"
12003 if test "$no_cache" != 1; then
12004 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12007 if test "$wxUSE_DRAGIMAGE" = yes; then
12008 { echo "$as_me:$LINENO: result: yes" >&5
12009 echo "${ECHO_T}yes" >&6; }
12011 { echo "$as_me:$LINENO: result: no" >&5
12012 echo "${ECHO_T}no" >&6; }
12017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12018 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12020 # Check whether --enable-accessibility was given.
12021 if test "${enable_accessibility+set}" = set; then
12022 enableval=$enable_accessibility;
12023 if test "$enableval" = yes; then
12024 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12026 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12031 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12032 if test "x$LINE" != x ; then
12033 eval "DEFAULT_$LINE"
12038 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12043 eval "$ac_cv_use_accessibility"
12044 if test "$no_cache" != 1; then
12045 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12048 if test "$wxUSE_ACCESSIBILITY" = yes; then
12049 { echo "$as_me:$LINENO: result: yes" >&5
12050 echo "${ECHO_T}yes" >&6; }
12052 { echo "$as_me:$LINENO: result: no" >&5
12053 echo "${ECHO_T}no" >&6; }
12057 if test "$wxUSE_MSW" = "1"; then
12060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12061 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12063 # Check whether --enable-dccache was given.
12064 if test "${enable_dccache+set}" = set; then
12065 enableval=$enable_dccache;
12066 if test "$enableval" = yes; then
12067 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12069 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12074 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12075 if test "x$LINE" != x ; then
12076 eval "DEFAULT_$LINE"
12081 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12086 eval "$ac_cv_use_dccache"
12087 if test "$no_cache" != 1; then
12088 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12091 if test "$wxUSE_DC_CACHEING" = yes; then
12092 { echo "$as_me:$LINENO: result: yes" >&5
12093 echo "${ECHO_T}yes" >&6; }
12095 { echo "$as_me:$LINENO: result: no" >&5
12096 echo "${ECHO_T}no" >&6; }
12104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12105 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12107 # Check whether --enable-palette was given.
12108 if test "${enable_palette+set}" = set; then
12109 enableval=$enable_palette;
12110 if test "$enableval" = yes; then
12111 ac_cv_use_palette='wxUSE_PALETTE=yes'
12113 ac_cv_use_palette='wxUSE_PALETTE=no'
12118 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12119 if test "x$LINE" != x ; then
12120 eval "DEFAULT_$LINE"
12125 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12130 eval "$ac_cv_use_palette"
12131 if test "$no_cache" != 1; then
12132 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12135 if test "$wxUSE_PALETTE" = yes; then
12136 { echo "$as_me:$LINENO: result: yes" >&5
12137 echo "${ECHO_T}yes" >&6; }
12139 { echo "$as_me:$LINENO: result: no" >&5
12140 echo "${ECHO_T}no" >&6; }
12145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12146 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12148 # Check whether --enable-image was given.
12149 if test "${enable_image+set}" = set; then
12150 enableval=$enable_image;
12151 if test "$enableval" = yes; then
12152 ac_cv_use_image='wxUSE_IMAGE=yes'
12154 ac_cv_use_image='wxUSE_IMAGE=no'
12159 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12160 if test "x$LINE" != x ; then
12161 eval "DEFAULT_$LINE"
12166 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12171 eval "$ac_cv_use_image"
12172 if test "$no_cache" != 1; then
12173 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12176 if test "$wxUSE_IMAGE" = yes; then
12177 { echo "$as_me:$LINENO: result: yes" >&5
12178 echo "${ECHO_T}yes" >&6; }
12180 { echo "$as_me:$LINENO: result: no" >&5
12181 echo "${ECHO_T}no" >&6; }
12186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12187 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12189 # Check whether --enable-gif was given.
12190 if test "${enable_gif+set}" = set; then
12191 enableval=$enable_gif;
12192 if test "$enableval" = yes; then
12193 ac_cv_use_gif='wxUSE_GIF=yes'
12195 ac_cv_use_gif='wxUSE_GIF=no'
12200 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12201 if test "x$LINE" != x ; then
12202 eval "DEFAULT_$LINE"
12207 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12212 eval "$ac_cv_use_gif"
12213 if test "$no_cache" != 1; then
12214 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12217 if test "$wxUSE_GIF" = yes; then
12218 { echo "$as_me:$LINENO: result: yes" >&5
12219 echo "${ECHO_T}yes" >&6; }
12221 { echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6; }
12227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12228 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12230 # Check whether --enable-pcx was given.
12231 if test "${enable_pcx+set}" = set; then
12232 enableval=$enable_pcx;
12233 if test "$enableval" = yes; then
12234 ac_cv_use_pcx='wxUSE_PCX=yes'
12236 ac_cv_use_pcx='wxUSE_PCX=no'
12241 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12242 if test "x$LINE" != x ; then
12243 eval "DEFAULT_$LINE"
12248 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12253 eval "$ac_cv_use_pcx"
12254 if test "$no_cache" != 1; then
12255 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12258 if test "$wxUSE_PCX" = yes; then
12259 { echo "$as_me:$LINENO: result: yes" >&5
12260 echo "${ECHO_T}yes" >&6; }
12262 { echo "$as_me:$LINENO: result: no" >&5
12263 echo "${ECHO_T}no" >&6; }
12268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12269 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12271 # Check whether --enable-tga was given.
12272 if test "${enable_tga+set}" = set; then
12273 enableval=$enable_tga;
12274 if test "$enableval" = yes; then
12275 ac_cv_use_tga='wxUSE_TGA=yes'
12277 ac_cv_use_tga='wxUSE_TGA=no'
12282 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12283 if test "x$LINE" != x ; then
12284 eval "DEFAULT_$LINE"
12289 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12294 eval "$ac_cv_use_tga"
12295 if test "$no_cache" != 1; then
12296 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12299 if test "$wxUSE_TGA" = yes; then
12300 { echo "$as_me:$LINENO: result: yes" >&5
12301 echo "${ECHO_T}yes" >&6; }
12303 { echo "$as_me:$LINENO: result: no" >&5
12304 echo "${ECHO_T}no" >&6; }
12309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12310 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12312 # Check whether --enable-iff was given.
12313 if test "${enable_iff+set}" = set; then
12314 enableval=$enable_iff;
12315 if test "$enableval" = yes; then
12316 ac_cv_use_iff='wxUSE_IFF=yes'
12318 ac_cv_use_iff='wxUSE_IFF=no'
12323 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12324 if test "x$LINE" != x ; then
12325 eval "DEFAULT_$LINE"
12330 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12335 eval "$ac_cv_use_iff"
12336 if test "$no_cache" != 1; then
12337 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12340 if test "$wxUSE_IFF" = yes; then
12341 { echo "$as_me:$LINENO: result: yes" >&5
12342 echo "${ECHO_T}yes" >&6; }
12344 { echo "$as_me:$LINENO: result: no" >&5
12345 echo "${ECHO_T}no" >&6; }
12350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12351 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12353 # Check whether --enable-pnm was given.
12354 if test "${enable_pnm+set}" = set; then
12355 enableval=$enable_pnm;
12356 if test "$enableval" = yes; then
12357 ac_cv_use_pnm='wxUSE_PNM=yes'
12359 ac_cv_use_pnm='wxUSE_PNM=no'
12364 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12365 if test "x$LINE" != x ; then
12366 eval "DEFAULT_$LINE"
12371 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12376 eval "$ac_cv_use_pnm"
12377 if test "$no_cache" != 1; then
12378 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12381 if test "$wxUSE_PNM" = yes; then
12382 { echo "$as_me:$LINENO: result: yes" >&5
12383 echo "${ECHO_T}yes" >&6; }
12385 { echo "$as_me:$LINENO: result: no" >&5
12386 echo "${ECHO_T}no" >&6; }
12391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12392 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12394 # Check whether --enable-xpm was given.
12395 if test "${enable_xpm+set}" = set; then
12396 enableval=$enable_xpm;
12397 if test "$enableval" = yes; then
12398 ac_cv_use_xpm='wxUSE_XPM=yes'
12400 ac_cv_use_xpm='wxUSE_XPM=no'
12405 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12406 if test "x$LINE" != x ; then
12407 eval "DEFAULT_$LINE"
12412 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12417 eval "$ac_cv_use_xpm"
12418 if test "$no_cache" != 1; then
12419 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12422 if test "$wxUSE_XPM" = yes; then
12423 { echo "$as_me:$LINENO: result: yes" >&5
12424 echo "${ECHO_T}yes" >&6; }
12426 { echo "$as_me:$LINENO: result: no" >&5
12427 echo "${ECHO_T}no" >&6; }
12432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12433 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12435 # Check whether --enable-ico_cur was given.
12436 if test "${enable_ico_cur+set}" = set; then
12437 enableval=$enable_ico_cur;
12438 if test "$enableval" = yes; then
12439 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12441 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12446 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12447 if test "x$LINE" != x ; then
12448 eval "DEFAULT_$LINE"
12453 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12458 eval "$ac_cv_use_ico_cur"
12459 if test "$no_cache" != 1; then
12460 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12463 if test "$wxUSE_ICO_CUR" = yes; then
12464 { echo "$as_me:$LINENO: result: yes" >&5
12465 echo "${ECHO_T}yes" >&6; }
12467 { echo "$as_me:$LINENO: result: no" >&5
12468 echo "${ECHO_T}no" >&6; }
12476 # Check whether --with-flavour was given.
12477 if test "${with_flavour+set}" = set; then
12478 withval=$with_flavour; WX_FLAVOUR="$withval"
12485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12486 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12488 # Check whether --enable-official_build was given.
12489 if test "${enable_official_build+set}" = set; then
12490 enableval=$enable_official_build;
12491 if test "$enableval" = yes; then
12492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12494 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12499 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12500 if test "x$LINE" != x ; then
12501 eval "DEFAULT_$LINE"
12506 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12511 eval "$ac_cv_use_official_build"
12512 if test "$no_cache" != 1; then
12513 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12516 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12517 { echo "$as_me:$LINENO: result: yes" >&5
12518 echo "${ECHO_T}yes" >&6; }
12520 { echo "$as_me:$LINENO: result: no" >&5
12521 echo "${ECHO_T}no" >&6; }
12524 # Check whether --enable-vendor was given.
12525 if test "${enable_vendor+set}" = set; then
12526 enableval=$enable_vendor; VENDOR="$enableval"
12529 if test "x$VENDOR" = "x"; then
12536 echo "saving argument cache $wx_arg_cache_file"
12537 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12541 { echo "$as_me:$LINENO: checking for toolkit" >&5
12542 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12544 # In Wine, we need to default to MSW, not GTK or MOTIF
12545 if test "$wxUSE_WINE" = "yes"; then
12546 DEFAULT_DEFAULT_wxUSE_GTK=0
12547 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12548 DEFAULT_DEFAULT_wxUSE_MSW=1
12551 CXX=${CXX:-wineg++}
12555 if test "$wxUSE_GUI" = "yes"; then
12557 if test "$USE_BEOS" = 1; then
12558 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12559 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12560 { (exit 1); exit 1; }; }
12563 if test "$TOOLKIT_GIVEN" = 1; then
12564 for toolkit in `echo $ALL_TOOLKITS`; do
12566 eval "value=\$${var}"
12567 if test "x$value" = "xno"; then
12569 elif test "x$value" != "x"; then
12573 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12574 eval "wx${toolkit}_VERSION=$value"
12578 for toolkit in `echo $ALL_TOOLKITS`; do
12579 if test "$has_toolkit_in_cache" != 1; then
12580 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12582 var=DEFAULT_wxUSE_$toolkit
12584 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12585 if test "x$version" != "x"; then
12586 eval "wx${toolkit}_VERSION=$version"
12589 eval "wxUSE_$toolkit=\$${var}"
12593 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12594 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12595 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12598 *-pc-os2_emx | *-pc-os2-emx )
12599 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12602 case "$NUM_TOOLKITS" in
12606 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12607 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12608 { (exit 1); exit 1; }; }
12611 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12612 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12613 { (exit 1); exit 1; }; }
12616 # to be removed when --disable-gtk2 isn't needed
12617 if test "x$wxUSE_GTK2" = "xyes"; then
12619 elif test "x$wxUSE_GTK2" = "xno"; then
12623 for toolkit in `echo $ALL_TOOLKITS`; do
12625 eval "value=\$${var}"
12626 if test "x$value" != x; then
12627 cache_var=CACHE_$toolkit
12628 eval "cache=\$${cache_var}"
12629 if test "$cache" = 1; then
12630 echo "$var=$value" >> ${wx_arg_cache_file}
12631 eval "version=\$wx${toolkit}_VERSION"
12632 if test "x$version" != "x"; then
12633 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12636 if test "$value" = 1; then
12637 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12638 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12639 echo "${ECHO_T}$toolkit_echo" >&6; }
12644 if test "x$host_alias" != "x"; then
12645 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12646 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12648 { echo "$as_me:$LINENO: result: base only" >&5
12649 echo "${ECHO_T}base only" >&6; }
12654 cat >confcache <<\_ACEOF
12655 # This file is a shell script that caches the results of configure
12656 # tests run on this system so they can be shared between configure
12657 # scripts and configure runs, see configure's option --config-cache.
12658 # It is not useful on other systems. If it contains results you don't
12659 # want to keep, you may remove or edit it.
12661 # config.status only pays attention to the cache file if you give it
12662 # the --recheck option to rerun configure.
12664 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12666 # following values.
12670 # The following way of writing the cache mishandles newlines in values,
12671 # but we know of no workaround that is simple, portable, and efficient.
12672 # So, we kill variables containing newlines.
12673 # Ultrix sh set writes to stderr and can't be redirected directly,
12674 # and sets the high bit in the cache file unless we assign to the vars.
12676 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12677 eval ac_val
=\$
$ac_var
12681 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12682 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12685 _
| IFS
| as_nl
) ;; #(
12686 *) $as_unset $ac_var ;;
12692 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12693 *${as_nl}ac_space
=\
*)
12694 # `set' does not quote correctly, so add quotes (double-quote
12695 # substitution turns \\\\ into \\, and sed turns \\ into \).
12698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12701 # `set' quotes correctly as required by POSIX, so do not add quotes.
12702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12711 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12713 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12715 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12716 if test -w "$cache_file"; then
12717 test "x$cache_file" != "x/dev/null" &&
12718 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12719 echo "$as_me: updating cache $cache_file" >&6;}
12720 cat confcache
>$cache_file
12722 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12723 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12733 ac_cpp
='$CPP $CPPFLAGS'
12734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12737 if test -n "$ac_tool_prefix"; then
12738 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12739 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12742 if test "${ac_cv_prog_CC+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12745 if test -n "$CC"; then
12746 ac_cv_prog_CC
="$CC" # Let the user override the test.
12748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12749 for as_dir
in $PATH
12752 test -z "$as_dir" && as_dir
=.
12753 for ac_exec_ext
in '' $ac_executable_extensions; do
12754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12755 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12766 if test -n "$CC"; then
12767 { echo "$as_me:$LINENO: result: $CC" >&5
12768 echo "${ECHO_T}$CC" >&6; }
12770 { echo "$as_me:$LINENO: result: no" >&5
12771 echo "${ECHO_T}no" >&6; }
12776 if test -z "$ac_cv_prog_CC"; then
12778 # Extract the first word of "gcc", so it can be a program name with args.
12779 set dummy gcc
; ac_word
=$2
12780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 if test -n "$ac_ct_CC"; then
12786 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12789 for as_dir
in $PATH
12792 test -z "$as_dir" && as_dir
=.
12793 for ac_exec_ext
in '' $ac_executable_extensions; do
12794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12795 ac_cv_prog_ac_ct_CC
="gcc"
12796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12805 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12806 if test -n "$ac_ct_CC"; then
12807 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12808 echo "${ECHO_T}$ac_ct_CC" >&6; }
12810 { echo "$as_me:$LINENO: result: no" >&5
12811 echo "${ECHO_T}no" >&6; }
12814 if test "x$ac_ct_CC" = x
; then
12817 case $cross_compiling:$ac_tool_warned in
12819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12820 whose name does not start with the host triplet. If you think this
12821 configuration is useful to you, please write to autoconf@gnu.org." >&5
12822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12823 whose name does not start with the host triplet. If you think this
12824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12825 ac_tool_warned
=yes ;;
12830 CC
="$ac_cv_prog_CC"
12833 if test -z "$CC"; then
12834 if test -n "$ac_tool_prefix"; then
12835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12836 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12839 if test "${ac_cv_prog_CC+set}" = set; then
12840 echo $ECHO_N "(cached) $ECHO_C" >&6
12842 if test -n "$CC"; then
12843 ac_cv_prog_CC
="$CC" # Let the user override the test.
12845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12846 for as_dir
in $PATH
12849 test -z "$as_dir" && as_dir
=.
12850 for ac_exec_ext
in '' $ac_executable_extensions; do
12851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12852 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12863 if test -n "$CC"; then
12864 { echo "$as_me:$LINENO: result: $CC" >&5
12865 echo "${ECHO_T}$CC" >&6; }
12867 { echo "$as_me:$LINENO: result: no" >&5
12868 echo "${ECHO_T}no" >&6; }
12874 if test -z "$CC"; then
12875 # Extract the first word of "cc", so it can be a program name with args.
12876 set dummy cc
; ac_word
=$2
12877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12879 if test "${ac_cv_prog_CC+set}" = set; then
12880 echo $ECHO_N "(cached) $ECHO_C" >&6
12882 if test -n "$CC"; then
12883 ac_cv_prog_CC
="$CC" # Let the user override the test.
12885 ac_prog_rejected
=no
12886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12887 for as_dir
in $PATH
12890 test -z "$as_dir" && as_dir
=.
12891 for ac_exec_ext
in '' $ac_executable_extensions; do
12892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12894 ac_prog_rejected
=yes
12898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12905 if test $ac_prog_rejected = yes; then
12906 # We found a bogon in the path, so make sure we never use it.
12907 set dummy
$ac_cv_prog_CC
12909 if test $# != 0; then
12910 # We chose a different compiler from the bogus one.
12911 # However, it has the same basename, so the bogon will be chosen
12912 # first if we set CC to just the basename; use the full file name.
12914 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12920 if test -n "$CC"; then
12921 { echo "$as_me:$LINENO: result: $CC" >&5
12922 echo "${ECHO_T}$CC" >&6; }
12924 { echo "$as_me:$LINENO: result: no" >&5
12925 echo "${ECHO_T}no" >&6; }
12930 if test -z "$CC"; then
12931 if test -n "$ac_tool_prefix"; then
12932 for ac_prog
in cl.exe
12934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12935 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12938 if test "${ac_cv_prog_CC+set}" = set; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 if test -n "$CC"; then
12942 ac_cv_prog_CC
="$CC" # Let the user override the test.
12944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12945 for as_dir
in $PATH
12948 test -z "$as_dir" && as_dir
=.
12949 for ac_exec_ext
in '' $ac_executable_extensions; do
12950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12951 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12962 if test -n "$CC"; then
12963 { echo "$as_me:$LINENO: result: $CC" >&5
12964 echo "${ECHO_T}$CC" >&6; }
12966 { echo "$as_me:$LINENO: result: no" >&5
12967 echo "${ECHO_T}no" >&6; }
12971 test -n "$CC" && break
12974 if test -z "$CC"; then
12976 for ac_prog
in cl.exe
12978 # Extract the first word of "$ac_prog", so it can be a program name with args.
12979 set dummy
$ac_prog; ac_word
=$2
12980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12982 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12983 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 if test -n "$ac_ct_CC"; then
12986 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12989 for as_dir
in $PATH
12992 test -z "$as_dir" && as_dir
=.
12993 for ac_exec_ext
in '' $ac_executable_extensions; do
12994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12995 ac_cv_prog_ac_ct_CC
="$ac_prog"
12996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13005 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13006 if test -n "$ac_ct_CC"; then
13007 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13008 echo "${ECHO_T}$ac_ct_CC" >&6; }
13010 { echo "$as_me:$LINENO: result: no" >&5
13011 echo "${ECHO_T}no" >&6; }
13015 test -n "$ac_ct_CC" && break
13018 if test "x$ac_ct_CC" = x
; then
13021 case $cross_compiling:$ac_tool_warned in
13023 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13024 whose name does not start with the host triplet. If you think this
13025 configuration is useful to you, please write to autoconf@gnu.org." >&5
13026 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13027 whose name does not start with the host triplet. If you think this
13028 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13029 ac_tool_warned
=yes ;;
13038 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13039 See \`config.log' for more details." >&5
13040 echo "$as_me: error: no acceptable C compiler found in \$PATH
13041 See \`config.log' for more details." >&2;}
13042 { (exit 1); exit 1; }; }
13044 # Provide some information about the compiler.
13045 echo "$as_me:$LINENO: checking for C compiler version" >&5
13046 ac_compiler
=`set X $ac_compile; echo $2`
13047 { (ac_try
="$ac_compiler --version >&5"
13048 case "(($ac_try" in
13049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13050 *) ac_try_echo=$ac_try;;
13052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13053 (eval "$ac_compiler --version >&5") 2>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }
13057 { (ac_try="$ac_compiler -v >&5"
13058 case "(($ac_try" in
13059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13060 *) ac_try_echo
=$ac_try;;
13062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13063 (eval "$ac_compiler -v >&5") 2>&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }
13067 { (ac_try
="$ac_compiler -V >&5"
13068 case "(($ac_try" in
13069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13070 *) ac_try_echo=$ac_try;;
13072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13073 (eval "$ac_compiler -V >&5") 2>&5
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }
13078 cat >conftest.$ac_ext <<_ACEOF
13081 cat confdefs.h >>conftest.$ac_ext
13082 cat >>conftest.$ac_ext <<_ACEOF
13083 /* end confdefs.h. */
13093 ac_clean_files_save=$ac_clean_files
13094 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13095 # Try to create an executable without -o first, disregard a.out.
13096 # It will help us diagnose broken compilers, and finding out an intuition
13098 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13099 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13100 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13102 # List of possible output files, starting from the most likely.
13103 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13104 # only as a last resort. b.out is created by i960 compilers.
13105 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13107 # The IRIX 6 linker writes into existing files which may not be
13108 # executable, retaining their permissions. Remove them first so a
13109 # subsequent execution test works.
13111 for ac_file in $ac_files
13114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13115 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13120 if { (ac_try="$ac_link_default"
13121 case "(($ac_try" in
13122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13123 *) ac_try_echo=$ac_try;;
13125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13126 (eval "$ac_link_default") 2>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); }; then
13130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13133 # so that the user can short-circuit this test for compilers unknown to
13135 for ac_file
in $ac_files
13137 test -f "$ac_file" || continue
13139 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13142 # We found the default executable, but exeext='' is most
13146 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13148 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13150 # We set ac_cv_exeext here because the later test for it is not
13151 # safe: cross compilers may not add the suffix if given an `-o'
13152 # argument, so we may need to know it at that point already.
13153 # Even if this section looks crufty: it has the advantage of
13154 # actually working.
13160 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.
$ac_ext >&5
13166 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13167 See \`config.log' for more details." >&5
13168 echo "$as_me: error: C compiler cannot create executables
13169 See \`config.log' for more details." >&2;}
13170 { (exit 77); exit 77; }; }
13173 ac_exeext
=$ac_cv_exeext
13174 { echo "$as_me:$LINENO: result: $ac_file" >&5
13175 echo "${ECHO_T}$ac_file" >&6; }
13177 # Check that the compiler produces executables we can run. If not, either
13178 # the compiler is broken, or we cross compile.
13179 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13180 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13181 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13182 # If not cross compiling, check that we can run a simple program.
13183 if test "$cross_compiling" != yes; then
13184 if { ac_try
='./$ac_file'
13185 { (case "(($ac_try" in
13186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13187 *) ac_try_echo=$ac_try;;
13189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13190 (eval "$ac_try") 2>&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); }; }; then
13196 if test "$cross_compiling" = maybe; then
13197 cross_compiling=yes
13199 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13200 If you meant to cross compile, use \`--host'.
13201 See \`config.log' for more details.
" >&5
13202 echo "$as_me: error
: cannot run C compiled programs.
13203 If you meant to cross compile
, use \
`--host'.
13204 See \`config.log
' for more details." >&2;}
13205 { (exit 1); exit 1; }; }
13209 { echo "$as_me:$LINENO: result: yes" >&5
13210 echo "${ECHO_T}yes" >&6; }
13212 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13213 ac_clean_files=$ac_clean_files_save
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 we are cross compiling" >&5
13217 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13218 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13219 echo "${ECHO_T}$cross_compiling" >&6; }
13221 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13222 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13223 if { (ac_try="$ac_link"
13224 case "(($ac_try" in
13225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13226 *) ac_try_echo=$ac_try;;
13228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13229 (eval "$ac_link") 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; then
13233 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13234 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13235 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13237 for ac_file
in conftest.exe conftest conftest.
*; do
13238 test -f "$ac_file" || continue
13240 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13241 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13247 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13248 See \`config.log' for more details." >&5
13249 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13250 See \`config.log' for more details." >&2;}
13251 { (exit 1); exit 1; }; }
13254 rm -f conftest
$ac_cv_exeext
13255 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13256 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13258 rm -f conftest.
$ac_ext
13259 EXEEXT
=$ac_cv_exeext
13261 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13262 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13263 if test "${ac_cv_objext+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13266 cat >conftest.
$ac_ext <<_ACEOF
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13281 rm -f conftest.o conftest.obj
13282 if { (ac_try
="$ac_compile"
13283 case "(($ac_try" in
13284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13285 *) ac_try_echo=$ac_try;;
13287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13288 (eval "$ac_compile") 2>&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); }; then
13292 for ac_file in conftest.o conftest.obj conftest.*; do
13293 test -f "$ac_file" || continue;
13295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13301 echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.$ac_ext >&5
13304 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13305 See \`config.log
' for more details." >&5
13306 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13307 See \`config.log' for more details.
" >&2;}
13308 { (exit 1); exit 1; }; }
13311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13313 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13314 echo "${ECHO_T}$ac_cv_objext" >&6; }
13315 OBJEXT=$ac_cv_objext
13317 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13318 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13319 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13320 echo $ECHO_N "(cached
) $ECHO_C" >&6
13322 cat >conftest.$ac_ext <<_ACEOF
13325 cat confdefs.h >>conftest.$ac_ext
13326 cat >>conftest.$ac_ext <<_ACEOF
13327 /* end confdefs.h. */
13340 rm -f conftest.$ac_objext
13341 if { (ac_try="$ac_compile"
13342 case "(($ac_try" in
13343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13344 *) ac_try_echo=$ac_try;;
13346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13347 (eval "$ac_compile") 2>conftest.er1
13349 grep -v '^ *+' conftest.er1 >conftest.err
13351 cat conftest.err >&5
13352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13353 (exit $ac_status); } &&
13354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13355 { (case "(($ac_try" in
13356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13357 *) ac_try_echo=$ac_try;;
13359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13360 (eval "$ac_try") 2>&5
13362 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13363 (exit $ac_status); }; } &&
13364 { ac_try='test -s conftest.$ac_objext'
13365 { (case "(($ac_try" in
13366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13367 *) ac_try_echo=$ac_try;;
13369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13370 (eval "$ac_try") 2>&5
13372 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13373 (exit $ac_status); }; }; then
13374 ac_compiler_gnu=yes
13376 echo "$as_me: failed program was
:" >&5
13377 sed 's/^/| /' conftest.$ac_ext >&5
13382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13383 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13386 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13387 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13388 GCC=`test $ac_compiler_gnu = yes && echo yes`
13389 ac_test_CFLAGS=${CFLAGS+set}
13390 ac_save_CFLAGS=$CFLAGS
13391 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13392 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13393 if test "${ac_cv_prog_cc_g+set}" = set; then
13394 echo $ECHO_N "(cached
) $ECHO_C" >&6
13396 ac_save_c_werror_flag=$ac_c_werror_flag
13397 ac_c_werror_flag=yes
13400 cat >conftest.$ac_ext <<_ACEOF
13403 cat confdefs.h >>conftest.$ac_ext
13404 cat >>conftest.$ac_ext <<_ACEOF
13405 /* end confdefs.h. */
13415 rm -f conftest.$ac_objext
13416 if { (ac_try="$ac_compile"
13417 case "(($ac_try" in
13418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13419 *) ac_try_echo=$ac_try;;
13421 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13422 (eval "$ac_compile") 2>conftest.er1
13424 grep -v '^ *+' conftest.er1 >conftest.err
13426 cat conftest.err >&5
13427 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13428 (exit $ac_status); } &&
13429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13430 { (case "(($ac_try" in
13431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13432 *) ac_try_echo=$ac_try;;
13434 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13435 (eval "$ac_try") 2>&5
13437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13438 (exit $ac_status); }; } &&
13439 { ac_try='test -s conftest.$ac_objext'
13440 { (case "(($ac_try" in
13441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13442 *) ac_try_echo=$ac_try;;
13444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13445 (eval "$ac_try") 2>&5
13447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13448 (exit $ac_status); }; }; then
13449 ac_cv_prog_cc_g=yes
13451 echo "$as_me: failed program was
:" >&5
13452 sed 's/^/| /' conftest.$ac_ext >&5
13455 cat >conftest.$ac_ext <<_ACEOF
13458 cat confdefs.h >>conftest.$ac_ext
13459 cat >>conftest.$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13470 rm -f conftest.$ac_objext
13471 if { (ac_try="$ac_compile"
13472 case "(($ac_try" in
13473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13474 *) ac_try_echo=$ac_try;;
13476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13477 (eval "$ac_compile") 2>conftest.er1
13479 grep -v '^ *+' conftest.er1 >conftest.err
13481 cat conftest.err >&5
13482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13483 (exit $ac_status); } &&
13484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13485 { (case "(($ac_try" in
13486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13487 *) ac_try_echo=$ac_try;;
13489 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13490 (eval "$ac_try") 2>&5
13492 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13493 (exit $ac_status); }; } &&
13494 { ac_try='test -s conftest.$ac_objext'
13495 { (case "(($ac_try" in
13496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13497 *) ac_try_echo=$ac_try;;
13499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13500 (eval "$ac_try") 2>&5
13502 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13503 (exit $ac_status); }; }; then
13506 echo "$as_me: failed program was
:" >&5
13507 sed 's/^/| /' conftest.$ac_ext >&5
13509 ac_c_werror_flag=$ac_save_c_werror_flag
13511 cat >conftest.$ac_ext <<_ACEOF
13514 cat confdefs.h >>conftest.$ac_ext
13515 cat >>conftest.$ac_ext <<_ACEOF
13516 /* end confdefs.h. */
13526 rm -f conftest.$ac_objext
13527 if { (ac_try="$ac_compile"
13528 case "(($ac_try" in
13529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13530 *) ac_try_echo=$ac_try;;
13532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13533 (eval "$ac_compile") 2>conftest.er1
13535 grep -v '^ *+' conftest.er1 >conftest.err
13537 cat conftest.err >&5
13538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13539 (exit $ac_status); } &&
13540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13541 { (case "(($ac_try" in
13542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13543 *) ac_try_echo=$ac_try;;
13545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13546 (eval "$ac_try") 2>&5
13548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13549 (exit $ac_status); }; } &&
13550 { ac_try='test -s conftest.$ac_objext'
13551 { (case "(($ac_try" in
13552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13553 *) ac_try_echo=$ac_try;;
13555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13556 (eval "$ac_try") 2>&5
13558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 ac_cv_prog_cc_g=yes
13562 echo "$as_me: failed program was
:" >&5
13563 sed 's/^/| /' conftest.$ac_ext >&5
13568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13575 ac_c_werror_flag=$ac_save_c_werror_flag
13577 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13578 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13579 if test "$ac_test_CFLAGS" = set; then
13580 CFLAGS=$ac_save_CFLAGS
13581 elif test $ac_cv_prog_cc_g = yes; then
13582 if test "$GCC" = yes; then
13588 if test "$GCC" = yes; then
13594 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13595 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13596 if test "${ac_cv_prog_cc_c89+set}" = set; then
13597 echo $ECHO_N "(cached
) $ECHO_C" >&6
13599 ac_cv_prog_cc_c89=no
13601 cat >conftest.$ac_ext <<_ACEOF
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 #include <stdarg.h>
13609 #include <sys/types.h>
13610 #include <sys/stat.h>
13611 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13612 struct buf { int x; };
13613 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13614 static char *e (p, i)
13620 static char *f (char * (*g) (char **, int), char **p, ...)
13625 s = g (p, va_arg (v,int));
13630 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13631 function prototypes and stuff, but not '\xHH' hex character constants.
13632 These don't provoke an error unfortunately, instead are silently treated
13633 as 'x'. The following induces an error, until -std is added to get
13634 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13635 array size at least. It's necessary to write '\x00'==0 to get something
13636 that's true only with -std. */
13637 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13639 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13640 inside strings and character constants. */
13642 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13644 int test (int i, double x);
13645 struct s1 {int (*f) (int a);};
13646 struct s2 {int (*f) (double a);};
13647 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13653 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13658 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13659 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13661 CC="$ac_save_CC $ac_arg"
13662 rm -f conftest.$ac_objext
13663 if { (ac_try="$ac_compile"
13664 case "(($ac_try" in
13665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13666 *) ac_try_echo=$ac_try;;
13668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13669 (eval "$ac_compile") 2>conftest.er1
13671 grep -v '^ *+' conftest.er1 >conftest.err
13673 cat conftest.err >&5
13674 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13675 (exit $ac_status); } &&
13676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13677 { (case "(($ac_try" in
13678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13679 *) ac_try_echo=$ac_try;;
13681 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13682 (eval "$ac_try") 2>&5
13684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13685 (exit $ac_status); }; } &&
13686 { ac_try='test -s conftest.$ac_objext'
13687 { (case "(($ac_try" in
13688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13689 *) ac_try_echo=$ac_try;;
13691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13692 (eval "$ac_try") 2>&5
13694 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13695 (exit $ac_status); }; }; then
13696 ac_cv_prog_cc_c89=$ac_arg
13698 echo "$as_me: failed program was
:" >&5
13699 sed 's/^/| /' conftest.$ac_ext >&5
13704 rm -f core conftest.err conftest.$ac_objext
13705 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13707 rm -f conftest.$ac_ext
13712 case "x
$ac_cv_prog_cc_c89" in
13714 { echo "$as_me:$LINENO: result
: none needed
" >&5
13715 echo "${ECHO_T}none needed
" >&6; } ;;
13717 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13718 echo "${ECHO_T}unsupported
" >&6; } ;;
13720 CC="$CC $ac_cv_prog_cc_c89"
13721 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13722 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13727 ac_cpp='$CPP $CPPFLAGS'
13728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13735 ac_cpp='$CPP $CPPFLAGS'
13736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13740 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13741 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13742 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13743 echo $ECHO_N "(cached
) $ECHO_C" >&6
13745 cat >conftest.$ac_ext <<_ACEOF
13748 cat confdefs.h >>conftest.$ac_ext
13749 cat >>conftest.$ac_ext <<_ACEOF
13750 /* end confdefs.h. */
13756 #ifndef __INTEL_COMPILER
13764 rm -f conftest.$ac_objext
13765 if { (ac_try="$ac_compile"
13766 case "(($ac_try" in
13767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13768 *) ac_try_echo=$ac_try;;
13770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13771 (eval "$ac_compile") 2>conftest.er1
13773 grep -v '^ *+' conftest.er1 >conftest.err
13775 cat conftest.err >&5
13776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13777 (exit $ac_status); } &&
13778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13779 { (case "(($ac_try" in
13780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13781 *) ac_try_echo=$ac_try;;
13783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13784 (eval "$ac_try") 2>&5
13786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13787 (exit $ac_status); }; } &&
13788 { ac_try='test -s conftest.$ac_objext'
13789 { (case "(($ac_try" in
13790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13791 *) ac_try_echo=$ac_try;;
13793 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13794 (eval "$ac_try") 2>&5
13796 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13797 (exit $ac_status); }; }; then
13798 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13800 echo "$as_me: failed program was
:" >&5
13801 sed 's/^/| /' conftest.$ac_ext >&5
13803 bakefile_cv_c_compiler___INTEL_COMPILER=no
13807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13811 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13812 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13814 ac_cpp='$CPP $CPPFLAGS'
13815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13819 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13826 if test "x
$GCC" != "xyes
"; then
13827 if test "xCC
" = "xC
"; then
13828 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13829 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13830 if test "${bakefile_cv_c_exto+set}" = set; then
13831 echo $ECHO_N "(cached
) $ECHO_C" >&6
13833 cat >conftest.$ac_ext <<_ACEOF
13836 cat confdefs.h >>conftest.$ac_ext
13837 cat >>conftest.$ac_ext <<_ACEOF
13838 /* end confdefs.h. */
13848 rm -f conftest.$ac_objext conftest.$ac_ext.o
13849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13850 (eval $ac_compile) 2>&5
13852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13853 (exit $ac_status); }; then
13854 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13856 conftest.$ac_ext.o)
13857 bakefile_cv_c_exto="-ext o
"
13864 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13865 See \
`config.log' for more details." >&5
13866 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13867 See \`config.log
' for more details." >&2;}
13868 { (exit 1); exit 1; }; }
13872 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13875 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13876 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13877 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13878 if test "c" = "c"; then
13879 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13881 if test "c" = "cxx"; then
13882 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13886 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13887 unset ac_cv_prog_cc_g
13888 ac_test_CFLAGS=${CFLAGS+set}
13889 ac_save_CFLAGS=$CFLAGS
13890 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13891 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13892 if test "${ac_cv_prog_cc_g+set}" = set; then
13893 echo $ECHO_N "(cached) $ECHO_C" >&6
13895 ac_save_c_werror_flag=$ac_c_werror_flag
13896 ac_c_werror_flag=yes
13899 cat >conftest.$ac_ext <<_ACEOF
13902 cat confdefs.h >>conftest.$ac_ext
13903 cat >>conftest.$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13914 rm -f conftest.$ac_objext
13915 if { (ac_try="$ac_compile"
13916 case "(($ac_try" in
13917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;;
13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13921 (eval "$ac_compile") 2>conftest.er1
13923 grep -v '^
*+' conftest.er1 >conftest.err
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
13929 { (case "(($ac_try" in
13930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13931 *) ac_try_echo=$ac_try;;
13933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13934 (eval "$ac_try") 2>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; } &&
13938 { ac_try='test -s conftest.
$ac_objext'
13939 { (case "(($ac_try" in
13940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13941 *) ac_try_echo=$ac_try;;
13943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13944 (eval "$ac_try") 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 ac_cv_prog_cc_g=yes
13950 echo "$as_me: failed program was:" >&5
13951 sed 's
/^
/| /' conftest.$ac_ext >&5
13954 cat >conftest.$ac_ext <<_ACEOF
13957 cat confdefs.h >>conftest.$ac_ext
13958 cat >>conftest.$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13969 rm -f conftest.$ac_objext
13970 if { (ac_try="$ac_compile"
13971 case "(($ac_try" in
13972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13973 *) ac_try_echo=$ac_try;;
13975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13976 (eval "$ac_compile") 2>conftest.er1
13978 grep -v '^
*+' conftest.er1 >conftest.err
13980 cat conftest.err >&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); } &&
13983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
13984 { (case "(($ac_try" in
13985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13986 *) ac_try_echo=$ac_try;;
13988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13989 (eval "$ac_try") 2>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; } &&
13993 { ac_try='test -s conftest.
$ac_objext'
13994 { (case "(($ac_try" in
13995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13996 *) ac_try_echo=$ac_try;;
13998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13999 (eval "$ac_try") 2>&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); }; }; then
14005 echo "$as_me: failed program was:" >&5
14006 sed 's
/^
/| /' conftest.$ac_ext >&5
14008 ac_c_werror_flag=$ac_save_c_werror_flag
14010 cat >conftest.$ac_ext <<_ACEOF
14013 cat confdefs.h >>conftest.$ac_ext
14014 cat >>conftest.$ac_ext <<_ACEOF
14015 /* end confdefs.h. */
14025 rm -f conftest.$ac_objext
14026 if { (ac_try="$ac_compile"
14027 case "(($ac_try" in
14028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14029 *) ac_try_echo=$ac_try;;
14031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14032 (eval "$ac_compile") 2>conftest.er1
14034 grep -v '^
*+' conftest.er1 >conftest.err
14036 cat conftest.err >&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } &&
14039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14040 { (case "(($ac_try" in
14041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14042 *) ac_try_echo=$ac_try;;
14044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14045 (eval "$ac_try") 2>&5
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); }; } &&
14049 { ac_try='test -s conftest.
$ac_objext'
14050 { (case "(($ac_try" in
14051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14052 *) ac_try_echo=$ac_try;;
14054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14055 (eval "$ac_try") 2>&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; }; then
14059 ac_cv_prog_cc_g=yes
14061 echo "$as_me: failed program was:" >&5
14062 sed 's
/^
/| /' conftest.$ac_ext >&5
14067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14074 ac_c_werror_flag=$ac_save_c_werror_flag
14076 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14077 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14078 if test "$ac_test_CFLAGS" = set; then
14079 CFLAGS=$ac_save_CFLAGS
14080 elif test $ac_cv_prog_cc_g = yes; then
14081 if test "$GCC" = yes; then
14087 if test "$GCC" = yes; then
14099 ac_cpp='$CPP $CPPFLAGS'
14100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14101 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14104 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14105 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14106 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14107 echo $ECHO_N "(cached) $ECHO_C" >&6
14109 cat >conftest.$ac_ext <<_ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14127 rm -f conftest.$ac_objext
14128 if { (ac_try="$ac_compile"
14129 case "(($ac_try" in
14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14131 *) ac_try_echo=$ac_try;;
14133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14134 (eval "$ac_compile") 2>conftest.er1
14136 grep -v '^
*+' conftest.er1 >conftest.err
14138 cat conftest.err >&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } &&
14141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14142 { (case "(($ac_try" in
14143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14144 *) ac_try_echo=$ac_try;;
14146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14147 (eval "$ac_try") 2>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }; } &&
14151 { ac_try='test -s conftest.
$ac_objext'
14152 { (case "(($ac_try" in
14153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14154 *) ac_try_echo=$ac_try;;
14156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14157 (eval "$ac_try") 2>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }; }; then
14161 bakefile_compiler_xlc=yes
14163 echo "$as_me: failed program was:" >&5
14164 sed 's
/^
/| /' conftest.$ac_ext >&5
14166 bakefile_compiler_xlc=no
14169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14170 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14173 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14174 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14176 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14178 ac_cpp='$CPP $CPPFLAGS'
14179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14180 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14188 ac_cpp='$CPP $CPPFLAGS'
14189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14190 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14193 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14194 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14195 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 cat >conftest.$ac_ext <<_ACEOF
14201 cat confdefs.h >>conftest.$ac_ext
14202 cat >>conftest.$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14216 rm -f conftest.$ac_objext
14217 if { (ac_try="$ac_compile"
14218 case "(($ac_try" in
14219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14220 *) ac_try_echo=$ac_try;;
14222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14223 (eval "$ac_compile") 2>conftest.er1
14225 grep -v '^
*+' conftest.er1 >conftest.err
14227 cat conftest.err >&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14231 { (case "(($ac_try" in
14232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14233 *) ac_try_echo=$ac_try;;
14235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14236 (eval "$ac_try") 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; } &&
14240 { ac_try='test -s conftest.
$ac_objext'
14241 { (case "(($ac_try" in
14242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14243 *) ac_try_echo=$ac_try;;
14245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14246 (eval "$ac_try") 2>&5
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; }; then
14250 bakefile_compiler_mwerks=yes
14252 echo "$as_me: failed program was:" >&5
14253 sed 's
/^
/| /' conftest.$ac_ext >&5
14255 bakefile_compiler_mwerks=no
14258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14259 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14262 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14263 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14265 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14267 ac_cpp='$CPP $CPPFLAGS'
14268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14269 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14274 ac_cpp='$CPP $CPPFLAGS'
14275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14276 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14279 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14280 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14281 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14282 echo $ECHO_N "(cached) $ECHO_C" >&6
14284 cat >conftest.$ac_ext <<_ACEOF
14287 cat confdefs.h >>conftest.$ac_ext
14288 cat >>conftest.$ac_ext <<_ACEOF
14289 /* end confdefs.h. */
14302 rm -f conftest.$ac_objext
14303 if { (ac_try="$ac_compile"
14304 case "(($ac_try" in
14305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14306 *) ac_try_echo=$ac_try;;
14308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14309 (eval "$ac_compile") 2>conftest.er1
14311 grep -v '^
*+' conftest.er1 >conftest.err
14313 cat conftest.err >&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } &&
14316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14317 { (case "(($ac_try" in
14318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14319 *) ac_try_echo=$ac_try;;
14321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14322 (eval "$ac_try") 2>&5
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); }; } &&
14326 { ac_try='test -s conftest.
$ac_objext'
14327 { (case "(($ac_try" in
14328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329 *) ac_try_echo=$ac_try;;
14331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14332 (eval "$ac_try") 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; }; then
14336 bakefile_compiler_xlc=yes
14338 echo "$as_me: failed program was:" >&5
14339 sed 's
/^
/| /' conftest.$ac_ext >&5
14341 bakefile_compiler_xlc=no
14344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14345 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14348 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14349 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14351 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14355 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14365 ac_cpp='$CPP $CPPFLAGS'
14366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14367 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14370 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14371 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14372 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 cat >conftest.$ac_ext <<_ACEOF
14378 cat confdefs.h >>conftest.$ac_ext
14379 cat >>conftest.$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14386 #ifndef _SGI_COMPILER_VERSION
14394 rm -f conftest.$ac_objext
14395 if { (ac_try="$ac_compile"
14396 case "(($ac_try" in
14397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14398 *) ac_try_echo=$ac_try;;
14400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14401 (eval "$ac_compile") 2>conftest.er1
14403 grep -v '^
*+' conftest.er1 >conftest.err
14405 cat conftest.err >&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14409 { (case "(($ac_try" in
14410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14411 *) ac_try_echo=$ac_try;;
14413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14414 (eval "$ac_try") 2>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }; } &&
14418 { ac_try='test -s conftest.
$ac_objext'
14419 { (case "(($ac_try" in
14420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14421 *) ac_try_echo=$ac_try;;
14423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14424 (eval "$ac_try") 2>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); }; }; then
14428 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14430 echo "$as_me: failed program was:" >&5
14431 sed 's
/^
/| /' conftest.$ac_ext >&5
14433 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14441 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14442 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14444 ac_cpp='$CPP $CPPFLAGS'
14445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14446 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14449 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14462 ac_cpp='$CPP $CPPFLAGS'
14463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14464 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14467 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14468 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14469 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14472 cat >conftest.$ac_ext <<_ACEOF
14475 cat confdefs.h >>conftest.$ac_ext
14476 cat >>conftest.$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14491 rm -f conftest.$ac_objext
14492 if { (ac_try="$ac_compile"
14493 case "(($ac_try" in
14494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14495 *) ac_try_echo=$ac_try;;
14497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14498 (eval "$ac_compile") 2>conftest.er1
14500 grep -v '^
*+' conftest.er1 >conftest.err
14502 cat conftest.err >&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14506 { (case "(($ac_try" in
14507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14508 *) ac_try_echo=$ac_try;;
14510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14511 (eval "$ac_try") 2>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try='test -s conftest.
$ac_objext'
14516 { (case "(($ac_try" in
14517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14518 *) ac_try_echo=$ac_try;;
14520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14521 (eval "$ac_try") 2>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; }; then
14525 bakefile_cv_c_compiler___HP_cc=yes
14527 echo "$as_me: failed program was:" >&5
14528 sed 's
/^
/| /' conftest.$ac_ext >&5
14530 bakefile_cv_c_compiler___HP_cc=no
14534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14538 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14539 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14541 ac_cpp='$CPP $CPPFLAGS'
14542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14543 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14546 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14559 ac_cpp='$CPP $CPPFLAGS'
14560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14561 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14564 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14565 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14566 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14567 echo $ECHO_N "(cached) $ECHO_C" >&6
14569 cat >conftest.$ac_ext <<_ACEOF
14572 cat confdefs.h >>conftest.$ac_ext
14573 cat >>conftest.$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14588 rm -f conftest.$ac_objext
14589 if { (ac_try="$ac_compile"
14590 case "(($ac_try" in
14591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14592 *) ac_try_echo=$ac_try;;
14594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14595 (eval "$ac_compile") 2>conftest.er1
14597 grep -v '^
*+' conftest.er1 >conftest.err
14599 cat conftest.err >&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); } &&
14602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14603 { (case "(($ac_try" in
14604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14605 *) ac_try_echo=$ac_try;;
14607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14608 (eval "$ac_try") 2>&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; } &&
14612 { ac_try='test -s conftest.
$ac_objext'
14613 { (case "(($ac_try" in
14614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14615 *) ac_try_echo=$ac_try;;
14617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14618 (eval "$ac_try") 2>&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); }; }; then
14622 bakefile_cv_c_compiler___DECC=yes
14624 echo "$as_me: failed program was:" >&5
14625 sed 's
/^
/| /' conftest.$ac_ext >&5
14627 bakefile_cv_c_compiler___DECC=no
14631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14635 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14636 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14638 ac_cpp='$CPP $CPPFLAGS'
14639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14640 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14643 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14656 ac_cpp='$CPP $CPPFLAGS'
14657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14658 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14661 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14662 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14663 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 cat >conftest.$ac_ext <<_ACEOF
14669 cat confdefs.h >>conftest.$ac_ext
14670 cat >>conftest.$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14685 rm -f conftest.$ac_objext
14686 if { (ac_try="$ac_compile"
14687 case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14689 *) ac_try_echo=$ac_try;;
14691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_compile") 2>conftest.er1
14694 grep -v '^
*+' conftest.er1 >conftest.err
14696 cat conftest.err >&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } &&
14699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
14700 { (case "(($ac_try" in
14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_try") 2>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; } &&
14709 { ac_try='test -s conftest.
$ac_objext'
14710 { (case "(($ac_try" in
14711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14712 *) ac_try_echo=$ac_try;;
14714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14715 (eval "$ac_try") 2>&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); }; }; then
14719 bakefile_cv_c_compiler___SUNPRO_C=yes
14721 echo "$as_me: failed program was:" >&5
14722 sed 's
/^
/| /' conftest.$ac_ext >&5
14724 bakefile_cv_c_compiler___SUNPRO_C=no
14728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14732 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14733 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14735 ac_cpp='$CPP $CPPFLAGS'
14736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14737 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14740 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14754 ac_cpp='$CPP $CPPFLAGS'
14755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14756 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14758 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14759 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14760 # On Suns, sometimes $CPP names a directory.
14761 if test -n "$CPP" && test -d "$CPP"; then
14764 if test -z "$CPP"; then
14765 if test "${ac_cv_prog_CPP+set}" = set; then
14766 echo $ECHO_N "(cached) $ECHO_C" >&6
14768 # Double quotes because CPP needs to be expanded
14769 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14771 ac_preproc_ok=false
14772 for ac_c_preproc_warn_flag in '' yes
14774 # Use a header file that comes with gcc, so configuring glibc
14775 # with a fresh cross-compiler works.
14776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14777 # <limits.h> exists even on freestanding compilers.
14778 # On the NeXT, cc -E runs the code through the compiler's parser
,
14779 # not just through cpp. "Syntax error" is here to catch this case.
14780 cat >conftest.
$ac_ext <<_ACEOF
14783 cat confdefs.h
>>conftest.
$ac_ext
14784 cat >>conftest.
$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14787 # include <limits.h>
14789 # include <assert.h>
14793 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14794 case "(($ac_try" in
14795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14796 *) ac_try_echo=$ac_try;;
14798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14801 grep -v '^ *+' conftest.er1 >conftest.err
14803 cat conftest.err >&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } >/dev/null; then
14806 if test -s conftest.err; then
14807 ac_cpp_err=$ac_c_preproc_warn_flag
14808 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14815 if test -z "$ac_cpp_err"; then
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.$ac_ext >&5
14821 # Broken: fails on valid input.
14825 rm -f conftest.err conftest.$ac_ext
14827 # OK, works on sane cases. Now check whether nonexistent headers
14828 # can be detected and how.
14829 cat >conftest.$ac_ext <<_ACEOF
14832 cat confdefs.h >>conftest.$ac_ext
14833 cat >>conftest.$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14835 #include <ac_nonexistent.h>
14837 if { (ac_try="$ac_cpp conftest.$ac_ext"
14838 case "(($ac_try" in
14839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14840 *) ac_try_echo
=$ac_try;;
14842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14845 grep -v '^ *+' conftest.er1
>conftest.err
14847 cat conftest.err
>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } >/dev
/null
; then
14850 if test -s conftest.err
; then
14851 ac_cpp_err
=$ac_c_preproc_warn_flag
14852 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14859 if test -z "$ac_cpp_err"; then
14860 # Broken: success on invalid input.
14863 echo "$as_me: failed program was:" >&5
14864 sed 's/^/| /' conftest.
$ac_ext >&5
14866 # Passes both tests.
14871 rm -f conftest.err conftest.
$ac_ext
14874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14875 rm -f conftest.err conftest.
$ac_ext
14876 if $ac_preproc_ok; then
14881 ac_cv_prog_CPP
=$CPP
14884 CPP
=$ac_cv_prog_CPP
14886 ac_cv_prog_CPP
=$CPP
14888 { echo "$as_me:$LINENO: result: $CPP" >&5
14889 echo "${ECHO_T}$CPP" >&6; }
14890 ac_preproc_ok
=false
14891 for ac_c_preproc_warn_flag
in '' yes
14893 # Use a header file that comes with gcc, so configuring glibc
14894 # with a fresh cross-compiler works.
14895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14896 # <limits.h> exists even on freestanding compilers.
14897 # On the NeXT, cc -E runs the code through the compiler's parser,
14898 # not just through cpp. "Syntax error" is here to catch this case.
14899 cat >conftest.
$ac_ext <<_ACEOF
14902 cat confdefs.h
>>conftest.
$ac_ext
14903 cat >>conftest.
$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14906 # include <limits.h>
14908 # include <assert.h>
14912 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14913 case "(($ac_try" in
14914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14915 *) ac_try_echo=$ac_try;;
14917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14920 grep -v '^ *+' conftest.er1 >conftest.err
14922 cat conftest.err >&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); } >/dev/null; then
14925 if test -s conftest.err; then
14926 ac_cpp_err=$ac_c_preproc_warn_flag
14927 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14934 if test -z "$ac_cpp_err"; then
14937 echo "$as_me: failed program was:" >&5
14938 sed 's/^/| /' conftest.$ac_ext >&5
14940 # Broken: fails on valid input.
14944 rm -f conftest.err conftest.$ac_ext
14946 # OK, works on sane cases. Now check whether nonexistent headers
14947 # can be detected and how.
14948 cat >conftest.$ac_ext <<_ACEOF
14951 cat confdefs.h >>conftest.$ac_ext
14952 cat >>conftest.$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 #include <ac_nonexistent.h>
14956 if { (ac_try="$ac_cpp conftest.$ac_ext"
14957 case "(($ac_try" in
14958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14959 *) ac_try_echo
=$ac_try;;
14961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14964 grep -v '^ *+' conftest.er1
>conftest.err
14966 cat conftest.err
>&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); } >/dev
/null
; then
14969 if test -s conftest.err
; then
14970 ac_cpp_err
=$ac_c_preproc_warn_flag
14971 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14978 if test -z "$ac_cpp_err"; then
14979 # Broken: success on invalid input.
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.
$ac_ext >&5
14985 # Passes both tests.
14990 rm -f conftest.err conftest.
$ac_ext
14993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14994 rm -f conftest.err conftest.
$ac_ext
14995 if $ac_preproc_ok; then
14998 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14999 See \`config.log' for more details." >&5
15000 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15001 See \`config.log' for more details." >&2;}
15002 { (exit 1); exit 1; }; }
15006 ac_cpp
='$CPP $CPPFLAGS'
15007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15012 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15013 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15014 if test "${ac_cv_path_GREP+set}" = set; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 # Extract the first word of "grep ggrep" to use in msg output
15018 if test -z "$GREP"; then
15019 set dummy
grep ggrep
; ac_prog_name
=$2
15020 if test "${ac_cv_path_GREP+set}" = set; then
15021 echo $ECHO_N "(cached) $ECHO_C" >&6
15023 ac_path_GREP_found
=false
15024 # Loop through the user's path and test for each of PROGNAME-LIST
15025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15026 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15029 test -z "$as_dir" && as_dir
=.
15030 for ac_prog
in grep ggrep
; do
15031 for ac_exec_ext
in '' $ac_executable_extensions; do
15032 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15033 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
15034 # Check for GNU ac_path_GREP and select it if it is found.
15035 # Check for GNU $ac_path_GREP
15036 case `"$ac_path_GREP" --version 2>&1` in
15038 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
15041 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15044 cat "conftest.in" "conftest.in" >"conftest.tmp"
15045 mv "conftest.tmp" "conftest.in"
15046 cp "conftest.in" "conftest.nl"
15047 echo 'GREP' >> "conftest.nl"
15048 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15049 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15050 ac_count
=`expr $ac_count + 1`
15051 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15052 # Best one so far, save it but keep looking for a better one
15053 ac_cv_path_GREP
="$ac_path_GREP"
15054 ac_path_GREP_max
=$ac_count
15056 # 10*(2^10) chars as input seems more than enough
15057 test $ac_count -gt 10 && break
15059 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15063 $ac_path_GREP_found && break 3
15073 GREP
="$ac_cv_path_GREP"
15074 if test -z "$GREP"; then
15075 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15076 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15077 { (exit 1); exit 1; }; }
15081 ac_cv_path_GREP
=$GREP
15086 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15087 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15088 GREP
="$ac_cv_path_GREP"
15091 { echo "$as_me:$LINENO: checking for egrep" >&5
15092 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15093 if test "${ac_cv_path_EGREP+set}" = set; then
15094 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
15097 then ac_cv_path_EGREP
="$GREP -E"
15099 # Extract the first word of "egrep" to use in msg output
15100 if test -z "$EGREP"; then
15101 set dummy
egrep; ac_prog_name
=$2
15102 if test "${ac_cv_path_EGREP+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 ac_path_EGREP_found
=false
15106 # Loop through the user's path and test for each of PROGNAME-LIST
15107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15108 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15111 test -z "$as_dir" && as_dir
=.
15112 for ac_prog
in egrep; do
15113 for ac_exec_ext
in '' $ac_executable_extensions; do
15114 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
15115 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
15116 # Check for GNU ac_path_EGREP and select it if it is found.
15117 # Check for GNU $ac_path_EGREP
15118 case `"$ac_path_EGREP" --version 2>&1` in
15120 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
15123 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15126 cat "conftest.in" "conftest.in" >"conftest.tmp"
15127 mv "conftest.tmp" "conftest.in"
15128 cp "conftest.in" "conftest.nl"
15129 echo 'EGREP' >> "conftest.nl"
15130 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15131 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15132 ac_count
=`expr $ac_count + 1`
15133 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15134 # Best one so far, save it but keep looking for a better one
15135 ac_cv_path_EGREP
="$ac_path_EGREP"
15136 ac_path_EGREP_max
=$ac_count
15138 # 10*(2^10) chars as input seems more than enough
15139 test $ac_count -gt 10 && break
15141 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15145 $ac_path_EGREP_found && break 3
15155 EGREP
="$ac_cv_path_EGREP"
15156 if test -z "$EGREP"; then
15157 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15158 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15159 { (exit 1); exit 1; }; }
15163 ac_cv_path_EGREP
=$EGREP
15169 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15170 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15171 EGREP
="$ac_cv_path_EGREP"
15174 if test $ac_cv_c_compiler_gnu = yes; then
15175 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15176 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15177 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15180 ac_pattern
="Autoconf.*'x'"
15181 cat >conftest.
$ac_ext <<_ACEOF
15184 cat confdefs.h
>>conftest.
$ac_ext
15185 cat >>conftest.
$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15191 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15192 ac_cv_prog_gcc_traditional
=yes
15194 ac_cv_prog_gcc_traditional
=no
15199 if test $ac_cv_prog_gcc_traditional = no
; then
15200 cat >conftest.
$ac_ext <<_ACEOF
15203 cat confdefs.h
>>conftest.
$ac_ext
15204 cat >>conftest.
$ac_ext <<_ACEOF
15205 /* end confdefs.h. */
15206 #include <termio.h>
15209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15210 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15211 ac_cv_prog_gcc_traditional
=yes
15217 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15218 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15219 if test $ac_cv_prog_gcc_traditional = yes; then
15220 CC
="$CC -traditional"
15225 CXXFLAGS
=${CXXFLAGS:=}
15230 ac_cpp
='$CXXCPP $CPPFLAGS'
15231 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15232 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15233 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15234 if test -z "$CXX"; then
15235 if test -n "$CCC"; then
15238 if test -n "$ac_tool_prefix"; then
15239 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15242 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15245 if test "${ac_cv_prog_CXX+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 if test -n "$CXX"; then
15249 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15252 for as_dir
in $PATH
15255 test -z "$as_dir" && as_dir
=.
15256 for ac_exec_ext
in '' $ac_executable_extensions; do
15257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15258 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15268 CXX
=$ac_cv_prog_CXX
15269 if test -n "$CXX"; then
15270 { echo "$as_me:$LINENO: result: $CXX" >&5
15271 echo "${ECHO_T}$CXX" >&6; }
15273 { echo "$as_me:$LINENO: result: no" >&5
15274 echo "${ECHO_T}no" >&6; }
15278 test -n "$CXX" && break
15281 if test -z "$CXX"; then
15283 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15285 # Extract the first word of "$ac_prog", so it can be a program name with args.
15286 set dummy
$ac_prog; ac_word
=$2
15287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15289 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15292 if test -n "$ac_ct_CXX"; then
15293 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15296 for as_dir
in $PATH
15299 test -z "$as_dir" && as_dir
=.
15300 for ac_exec_ext
in '' $ac_executable_extensions; do
15301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15302 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15312 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15313 if test -n "$ac_ct_CXX"; then
15314 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15315 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15317 { echo "$as_me:$LINENO: result: no" >&5
15318 echo "${ECHO_T}no" >&6; }
15322 test -n "$ac_ct_CXX" && break
15325 if test "x$ac_ct_CXX" = x
; then
15328 case $cross_compiling:$ac_tool_warned in
15330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15331 whose name does not start with the host triplet. If you think this
15332 configuration is useful to you, please write to autoconf@gnu.org." >&5
15333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15334 whose name does not start with the host triplet. If you think this
15335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15336 ac_tool_warned
=yes ;;
15344 # Provide some information about the compiler.
15345 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15346 ac_compiler
=`set X $ac_compile; echo $2`
15347 { (ac_try
="$ac_compiler --version >&5"
15348 case "(($ac_try" in
15349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15350 *) ac_try_echo=$ac_try;;
15352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15353 (eval "$ac_compiler --version >&5") 2>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); }
15357 { (ac_try="$ac_compiler -v >&5"
15358 case "(($ac_try" in
15359 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15360 *) ac_try_echo
=$ac_try;;
15362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15363 (eval "$ac_compiler -v >&5") 2>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }
15367 { (ac_try
="$ac_compiler -V >&5"
15368 case "(($ac_try" in
15369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15370 *) ac_try_echo=$ac_try;;
15372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15373 (eval "$ac_compiler -V >&5") 2>&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }
15378 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15379 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15380 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15381 echo $ECHO_N "(cached) $ECHO_C" >&6
15383 cat >conftest.$ac_ext <<_ACEOF
15386 cat confdefs.h >>conftest.$ac_ext
15387 cat >>conftest.$ac_ext <<_ACEOF
15388 /* end confdefs.h. */
15401 rm -f conftest.$ac_objext
15402 if { (ac_try="$ac_compile"
15403 case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15405 *) ac_try_echo
=$ac_try;;
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_compile") 2>conftest.er1
15410 grep -v '^ *+' conftest.er1
>conftest.err
15412 cat conftest.err
>&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); } &&
15415 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15416 { (case "(($ac_try" in
15417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_try") 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; } &&
15425 { ac_try='test -s conftest.$ac_objext'
15426 { (case "(($ac_try" in
15427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15428 *) ac_try_echo
=$ac_try;;
15430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15431 (eval "$ac_try") 2>&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; }; then
15435 ac_compiler_gnu
=yes
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.
$ac_ext >&5
15443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15444 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15447 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15448 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15449 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15450 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15451 ac_save_CXXFLAGS
=$CXXFLAGS
15452 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15453 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15454 if test "${ac_cv_prog_cxx_g+set}" = set; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15458 ac_cxx_werror_flag
=yes
15459 ac_cv_prog_cxx_g
=no
15461 cat >conftest.
$ac_ext <<_ACEOF
15464 cat confdefs.h
>>conftest.
$ac_ext
15465 cat >>conftest.
$ac_ext <<_ACEOF
15466 /* end confdefs.h. */
15476 rm -f conftest.
$ac_objext
15477 if { (ac_try
="$ac_compile"
15478 case "(($ac_try" in
15479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15480 *) ac_try_echo=$ac_try;;
15482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15483 (eval "$ac_compile") 2>conftest.er1
15485 grep -v '^ *+' conftest.er1 >conftest.err
15487 cat conftest.err >&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); } &&
15490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15491 { (case "(($ac_try" in
15492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15493 *) ac_try_echo
=$ac_try;;
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_try") 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try
='test -s conftest.$ac_objext'
15501 { (case "(($ac_try" in
15502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15503 *) ac_try_echo=$ac_try;;
15505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15506 (eval "$ac_try") 2>&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; }; then
15510 ac_cv_prog_cxx_g=yes
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.$ac_ext >&5
15516 cat >conftest.$ac_ext <<_ACEOF
15519 cat confdefs.h >>conftest.$ac_ext
15520 cat >>conftest.$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15531 rm -f conftest.$ac_objext
15532 if { (ac_try="$ac_compile"
15533 case "(($ac_try" in
15534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15535 *) ac_try_echo
=$ac_try;;
15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15538 (eval "$ac_compile") 2>conftest.er1
15540 grep -v '^ *+' conftest.er1
>conftest.err
15542 cat conftest.err
>&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } &&
15545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15546 { (case "(($ac_try" in
15547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15548 *) ac_try_echo=$ac_try;;
15550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15551 (eval "$ac_try") 2>&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; } &&
15555 { ac_try='test -s conftest.$ac_objext'
15556 { (case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15558 *) ac_try_echo
=$ac_try;;
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_try") 2>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; }; then
15567 echo "$as_me: failed program was:" >&5
15568 sed 's/^/| /' conftest.
$ac_ext >&5
15570 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15572 cat >conftest.
$ac_ext <<_ACEOF
15575 cat confdefs.h
>>conftest.
$ac_ext
15576 cat >>conftest.
$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15587 rm -f conftest.
$ac_objext
15588 if { (ac_try
="$ac_compile"
15589 case "(($ac_try" in
15590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15591 *) ac_try_echo=$ac_try;;
15593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15594 (eval "$ac_compile") 2>conftest.er1
15596 grep -v '^ *+' conftest.er1 >conftest.err
15598 cat conftest.err >&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } &&
15601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15602 { (case "(($ac_try" in
15603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15604 *) ac_try_echo
=$ac_try;;
15606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15607 (eval "$ac_try") 2>&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); }; } &&
15611 { ac_try
='test -s conftest.$ac_objext'
15612 { (case "(($ac_try" in
15613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_try") 2>&5
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); }; }; then
15621 ac_cv_prog_cxx_g=yes
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15636 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15638 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15639 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15640 if test "$ac_test_CXXFLAGS" = set; then
15641 CXXFLAGS=$ac_save_CXXFLAGS
15642 elif test $ac_cv_prog_cxx_g = yes; then
15643 if test "$GXX" = yes; then
15649 if test "$GXX" = yes; then
15656 ac_cpp='$CPP $CPPFLAGS'
15657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15664 ac_cpp='$CXXCPP $CPPFLAGS'
15665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15669 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15670 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15671 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 cat >conftest.$ac_ext <<_ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15685 #ifndef __INTEL_COMPILER
15693 rm -f conftest.$ac_objext
15694 if { (ac_try="$ac_compile"
15695 case "(($ac_try" in
15696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15697 *) ac_try_echo
=$ac_try;;
15699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15700 (eval "$ac_compile") 2>conftest.er1
15702 grep -v '^ *+' conftest.er1
>conftest.err
15704 cat conftest.err
>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15708 { (case "(($ac_try" in
15709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15710 *) ac_try_echo=$ac_try;;
15712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15713 (eval "$ac_try") 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try='test -s conftest.$ac_objext'
15718 { (case "(($ac_try" in
15719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15720 *) ac_try_echo
=$ac_try;;
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_try") 2>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15729 echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.
$ac_ext >&5
15732 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15740 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15741 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15743 ac_cpp
='$CPP $CPPFLAGS'
15744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15748 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15755 if test "x$GCXX" != "xyes"; then
15756 if test "xCXX" = "xC"; then
15757 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15758 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15759 if test "${bakefile_cv_c_exto+set}" = set; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 cat >conftest.
$ac_ext <<_ACEOF
15765 cat confdefs.h
>>conftest.
$ac_ext
15766 cat >>conftest.
$ac_ext <<_ACEOF
15767 /* end confdefs.h. */
15777 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15779 (eval $ac_compile) 2>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; then
15783 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15785 conftest.
$ac_ext.o
)
15786 bakefile_cv_c_exto
="-ext o"
15793 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15794 See \`config.log' for more details." >&5
15795 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15796 See \`config.log' for more details." >&2;}
15797 { (exit 1); exit 1; }; }
15801 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15804 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15805 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15806 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15807 if test "c" = "c"; then
15808 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15810 if test "c" = "cxx"; then
15811 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15815 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15816 unset ac_cv_prog_cc_g
15817 ac_test_CFLAGS
=${CFLAGS+set}
15818 ac_save_CFLAGS
=$CFLAGS
15819 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15820 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15821 if test "${ac_cv_prog_cc_g+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 ac_save_c_werror_flag
=$ac_c_werror_flag
15825 ac_c_werror_flag
=yes
15828 cat >conftest.
$ac_ext <<_ACEOF
15831 cat confdefs.h
>>conftest.
$ac_ext
15832 cat >>conftest.
$ac_ext <<_ACEOF
15833 /* end confdefs.h. */
15843 rm -f conftest.
$ac_objext
15844 if { (ac_try
="$ac_compile"
15845 case "(($ac_try" in
15846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15847 *) ac_try_echo=$ac_try;;
15849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15850 (eval "$ac_compile") 2>conftest.er1
15852 grep -v '^ *+' conftest.er1 >conftest.err
15854 cat conftest.err >&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15858 { (case "(($ac_try" in
15859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15860 *) ac_try_echo
=$ac_try;;
15862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15863 (eval "$ac_try") 2>&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; } &&
15867 { ac_try
='test -s conftest.$ac_objext'
15868 { (case "(($ac_try" in
15869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15870 *) ac_try_echo=$ac_try;;
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_try") 2>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 ac_cv_prog_cc_g=yes
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.$ac_ext >&5
15883 cat >conftest.$ac_ext <<_ACEOF
15886 cat confdefs.h >>conftest.$ac_ext
15887 cat >>conftest.$ac_ext <<_ACEOF
15888 /* end confdefs.h. */
15898 rm -f conftest.$ac_objext
15899 if { (ac_try="$ac_compile"
15900 case "(($ac_try" in
15901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15902 *) ac_try_echo
=$ac_try;;
15904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15905 (eval "$ac_compile") 2>conftest.er1
15907 grep -v '^ *+' conftest.er1
>conftest.err
15909 cat conftest.err
>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); } &&
15912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15913 { (case "(($ac_try" in
15914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15915 *) ac_try_echo=$ac_try;;
15917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15918 (eval "$ac_try") 2>&5
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); }; } &&
15922 { ac_try='test -s conftest.$ac_objext'
15923 { (case "(($ac_try" in
15924 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15925 *) ac_try_echo
=$ac_try;;
15927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15928 (eval "$ac_try") 2>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; }; then
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.
$ac_ext >&5
15937 ac_c_werror_flag
=$ac_save_c_werror_flag
15939 cat >conftest.
$ac_ext <<_ACEOF
15942 cat confdefs.h
>>conftest.
$ac_ext
15943 cat >>conftest.
$ac_ext <<_ACEOF
15944 /* end confdefs.h. */
15954 rm -f conftest.
$ac_objext
15955 if { (ac_try
="$ac_compile"
15956 case "(($ac_try" in
15957 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15958 *) ac_try_echo=$ac_try;;
15960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15961 (eval "$ac_compile") 2>conftest.er1
15963 grep -v '^ *+' conftest.er1 >conftest.err
15965 cat conftest.err >&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } &&
15968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15969 { (case "(($ac_try" in
15970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15971 *) ac_try_echo
=$ac_try;;
15973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15974 (eval "$ac_try") 2>&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; } &&
15978 { ac_try
='test -s conftest.$ac_objext'
15979 { (case "(($ac_try" in
15980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15981 *) ac_try_echo=$ac_try;;
15983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15984 (eval "$ac_try") 2>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15988 ac_cv_prog_cc_g=yes
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16003 ac_c_werror_flag=$ac_save_c_werror_flag
16005 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16006 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16007 if test "$ac_test_CFLAGS" = set; then
16008 CFLAGS=$ac_save_CFLAGS
16009 elif test $ac_cv_prog_cc_g = yes; then
16010 if test "$GCC" = yes; then
16016 if test "$GCC" = yes; then
16028 ac_cpp='$CXXCPP $CPPFLAGS'
16029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16033 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16034 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16035 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 cat >conftest.$ac_ext <<_ACEOF
16041 cat confdefs.h >>conftest.$ac_ext
16042 cat >>conftest.$ac_ext <<_ACEOF
16043 /* end confdefs.h. */
16056 rm -f conftest.$ac_objext
16057 if { (ac_try="$ac_compile"
16058 case "(($ac_try" in
16059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16060 *) ac_try_echo
=$ac_try;;
16062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063 (eval "$ac_compile") 2>conftest.er1
16065 grep -v '^ *+' conftest.er1
>conftest.err
16067 cat conftest.err
>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } &&
16070 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16071 { (case "(($ac_try" in
16072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16073 *) ac_try_echo=$ac_try;;
16075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16076 (eval "$ac_try") 2>&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); }; } &&
16080 { ac_try='test -s conftest.$ac_objext'
16081 { (case "(($ac_try" in
16082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16083 *) ac_try_echo
=$ac_try;;
16085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16086 (eval "$ac_try") 2>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; }; then
16090 bakefile_compiler_xlc
=yes
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.
$ac_ext >&5
16095 bakefile_compiler_xlc
=no
16098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16099 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
16102 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16103 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16105 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16107 ac_cpp
='$CPP $CPPFLAGS'
16108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16117 ac_cpp
='$CXXCPP $CPPFLAGS'
16118 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16119 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16120 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16122 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16123 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16124 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
16125 echo $ECHO_N "(cached) $ECHO_C" >&6
16127 cat >conftest.
$ac_ext <<_ACEOF
16130 cat confdefs.h
>>conftest.
$ac_ext
16131 cat >>conftest.
$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16145 rm -f conftest.
$ac_objext
16146 if { (ac_try
="$ac_compile"
16147 case "(($ac_try" in
16148 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16149 *) ac_try_echo=$ac_try;;
16151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16152 (eval "$ac_compile") 2>conftest.er1
16154 grep -v '^ *+' conftest.er1 >conftest.err
16156 cat conftest.err >&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } &&
16159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16160 { (case "(($ac_try" in
16161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16162 *) ac_try_echo
=$ac_try;;
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_try") 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; } &&
16169 { ac_try
='test -s conftest.$ac_objext'
16170 { (case "(($ac_try" in
16171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16172 *) ac_try_echo=$ac_try;;
16174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16175 (eval "$ac_try") 2>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16179 bakefile_compiler_mwerks=yes
16181 echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.$ac_ext >&5
16184 bakefile_compiler_mwerks=no
16187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16188 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
16191 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
16192 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
16194 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
16196 ac_cpp='$CPP $CPPFLAGS'
16197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16203 ac_cpp='$CXXCPP $CPPFLAGS'
16204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16208 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16209 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16210 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16213 cat >conftest.$ac_ext <<_ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16231 rm -f conftest.$ac_objext
16232 if { (ac_try="$ac_compile"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16235 *) ac_try_echo
=$ac_try;;
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_compile") 2>conftest.er1
16240 grep -v '^ *+' conftest.er1
>conftest.err
16242 cat conftest.err
>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } &&
16245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16246 { (case "(($ac_try" in
16247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_try") 2>&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; } &&
16255 { ac_try='test -s conftest.$ac_objext'
16256 { (case "(($ac_try" in
16257 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16258 *) ac_try_echo
=$ac_try;;
16260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16261 (eval "$ac_try") 2>&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 bakefile_compiler_xlc
=yes
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.
$ac_ext >&5
16270 bakefile_compiler_xlc
=no
16273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16274 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
16277 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16278 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16280 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16282 ac_cpp
='$CPP $CPPFLAGS'
16283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16294 ac_cpp
='$CXXCPP $CPPFLAGS'
16295 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16296 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16297 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16299 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16300 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16301 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16302 echo $ECHO_N "(cached) $ECHO_C" >&6
16304 cat >conftest.
$ac_ext <<_ACEOF
16307 cat confdefs.h
>>conftest.
$ac_ext
16308 cat >>conftest.
$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16315 #ifndef _SGI_COMPILER_VERSION
16323 rm -f conftest.
$ac_objext
16324 if { (ac_try
="$ac_compile"
16325 case "(($ac_try" in
16326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16327 *) ac_try_echo=$ac_try;;
16329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16330 (eval "$ac_compile") 2>conftest.er1
16332 grep -v '^ *+' conftest.er1 >conftest.err
16334 cat conftest.err >&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); } &&
16337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16338 { (case "(($ac_try" in
16339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16340 *) ac_try_echo
=$ac_try;;
16342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16343 (eval "$ac_try") 2>&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); }; } &&
16347 { ac_try
='test -s conftest.$ac_objext'
16348 { (case "(($ac_try" in
16349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16350 *) ac_try_echo=$ac_try;;
16352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16353 (eval "$ac_try") 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16362 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16370 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16371 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16373 ac_cpp='$CPP $CPPFLAGS'
16374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16378 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16396 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16397 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16398 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 cat >conftest.$ac_ext <<_ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16420 rm -f conftest.$ac_objext
16421 if { (ac_try="$ac_compile"
16422 case "(($ac_try" in
16423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16424 *) ac_try_echo
=$ac_try;;
16426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16427 (eval "$ac_compile") 2>conftest.er1
16429 grep -v '^ *+' conftest.er1
>conftest.err
16431 cat conftest.err
>&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } &&
16434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16435 { (case "(($ac_try" in
16436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16437 *) ac_try_echo=$ac_try;;
16439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16440 (eval "$ac_try") 2>&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; } &&
16444 { ac_try='test -s conftest.$ac_objext'
16445 { (case "(($ac_try" in
16446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16447 *) ac_try_echo
=$ac_try;;
16449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16450 (eval "$ac_try") 2>&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; }; then
16454 bakefile_cv_cxx_compiler___HP_aCC
=yes
16456 echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.
$ac_ext >&5
16459 bakefile_cv_cxx_compiler___HP_aCC
=no
16463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16467 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16468 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16470 ac_cpp
='$CPP $CPPFLAGS'
16471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16475 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16488 ac_cpp
='$CXXCPP $CPPFLAGS'
16489 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16490 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16491 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16493 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16494 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16495 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16496 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 cat >conftest.
$ac_ext <<_ACEOF
16501 cat confdefs.h
>>conftest.
$ac_ext
16502 cat >>conftest.
$ac_ext <<_ACEOF
16503 /* end confdefs.h. */
16517 rm -f conftest.
$ac_objext
16518 if { (ac_try
="$ac_compile"
16519 case "(($ac_try" in
16520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16521 *) ac_try_echo=$ac_try;;
16523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16524 (eval "$ac_compile") 2>conftest.er1
16526 grep -v '^ *+' conftest.er1 >conftest.err
16528 cat conftest.err >&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16532 { (case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16534 *) ac_try_echo
=$ac_try;;
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_try") 2>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; } &&
16541 { ac_try
='test -s conftest.$ac_objext'
16542 { (case "(($ac_try" in
16543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16544 *) ac_try_echo=$ac_try;;
16546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16547 (eval "$ac_try") 2>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; }; then
16551 bakefile_cv_cxx_compiler___DECCXX=yes
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.$ac_ext >&5
16556 bakefile_cv_cxx_compiler___DECCXX=no
16560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16564 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16565 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16567 ac_cpp='$CPP $CPPFLAGS'
16568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16572 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16585 ac_cpp='$CXXCPP $CPPFLAGS'
16586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16590 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16591 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16592 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16595 cat >conftest.$ac_ext <<_ACEOF
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16606 #ifndef __SUNPRO_CC
16614 rm -f conftest.$ac_objext
16615 if { (ac_try="$ac_compile"
16616 case "(($ac_try" in
16617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16618 *) ac_try_echo
=$ac_try;;
16620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16621 (eval "$ac_compile") 2>conftest.er1
16623 grep -v '^ *+' conftest.er1
>conftest.err
16625 cat conftest.err
>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); } &&
16628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16629 { (case "(($ac_try" in
16630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16631 *) ac_try_echo=$ac_try;;
16633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16634 (eval "$ac_try") 2>&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; } &&
16638 { ac_try='test -s conftest.$ac_objext'
16639 { (case "(($ac_try" in
16640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16641 *) ac_try_echo
=$ac_try;;
16643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16644 (eval "$ac_try") 2>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; }; then
16648 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16650 echo "$as_me: failed program was:" >&5
16651 sed 's/^/| /' conftest.
$ac_ext >&5
16653 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16661 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16662 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16664 ac_cpp
='$CPP $CPPFLAGS'
16665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16669 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16682 if test -n "$ac_tool_prefix"; then
16683 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16684 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16687 if test "${ac_cv_prog_RANLIB+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16690 if test -n "$RANLIB"; then
16691 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16694 for as_dir
in $PATH
16697 test -z "$as_dir" && as_dir
=.
16698 for ac_exec_ext
in '' $ac_executable_extensions; do
16699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16700 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16710 RANLIB
=$ac_cv_prog_RANLIB
16711 if test -n "$RANLIB"; then
16712 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16713 echo "${ECHO_T}$RANLIB" >&6; }
16715 { echo "$as_me:$LINENO: result: no" >&5
16716 echo "${ECHO_T}no" >&6; }
16721 if test -z "$ac_cv_prog_RANLIB"; then
16722 ac_ct_RANLIB
=$RANLIB
16723 # Extract the first word of "ranlib", so it can be a program name with args.
16724 set dummy ranlib
; ac_word
=$2
16725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16727 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16730 if test -n "$ac_ct_RANLIB"; then
16731 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16734 for as_dir
in $PATH
16737 test -z "$as_dir" && as_dir
=.
16738 for ac_exec_ext
in '' $ac_executable_extensions; do
16739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16740 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16750 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16751 if test -n "$ac_ct_RANLIB"; then
16752 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16753 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16755 { echo "$as_me:$LINENO: result: no" >&5
16756 echo "${ECHO_T}no" >&6; }
16759 if test "x$ac_ct_RANLIB" = x
; then
16762 case $cross_compiling:$ac_tool_warned in
16764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16765 whose name does not start with the host triplet. If you think this
16766 configuration is useful to you, please write to autoconf@gnu.org." >&5
16767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16768 whose name does not start with the host triplet. If you think this
16769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16770 ac_tool_warned
=yes ;;
16772 RANLIB
=$ac_ct_RANLIB
16775 RANLIB
="$ac_cv_prog_RANLIB"
16779 if test "x$SUNCXX" != xyes
; then
16780 if test -n "$ac_tool_prefix"; then
16781 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16782 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16785 if test "${ac_cv_prog_AR+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 if test -n "$AR"; then
16789 ac_cv_prog_AR
="$AR" # Let the user override the test.
16791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16792 for as_dir
in $PATH
16795 test -z "$as_dir" && as_dir
=.
16796 for ac_exec_ext
in '' $ac_executable_extensions; do
16797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16798 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16809 if test -n "$AR"; then
16810 { echo "$as_me:$LINENO: result: $AR" >&5
16811 echo "${ECHO_T}$AR" >&6; }
16813 { echo "$as_me:$LINENO: result: no" >&5
16814 echo "${ECHO_T}no" >&6; }
16819 if test -z "$ac_cv_prog_AR"; then
16821 # Extract the first word of "ar", so it can be a program name with args.
16822 set dummy
ar; ac_word
=$2
16823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16825 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 if test -n "$ac_ct_AR"; then
16829 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16832 for as_dir
in $PATH
16835 test -z "$as_dir" && as_dir
=.
16836 for ac_exec_ext
in '' $ac_executable_extensions; do
16837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16838 ac_cv_prog_ac_ct_AR
="ar"
16839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16848 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16849 if test -n "$ac_ct_AR"; then
16850 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16851 echo "${ECHO_T}$ac_ct_AR" >&6; }
16853 { echo "$as_me:$LINENO: result: no" >&5
16854 echo "${ECHO_T}no" >&6; }
16857 if test "x$ac_ct_AR" = x
; then
16860 case $cross_compiling:$ac_tool_warned in
16862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16863 whose name does not start with the host triplet. If you think this
16864 configuration is useful to you, please write to autoconf@gnu.org." >&5
16865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16866 whose name does not start with the host triplet. If you think this
16867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16868 ac_tool_warned
=yes ;;
16873 AR
="$ac_cv_prog_AR"
16876 if test "x$AR" = "x" ; then
16877 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16878 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16879 { (exit 1); exit 1; }; }
16883 # Find a good install program. We prefer a C program (faster),
16884 # so one script is as good as another. But avoid the broken or
16885 # incompatible versions:
16886 # SysV /etc/install, /usr/sbin/install
16887 # SunOS /usr/etc/install
16888 # IRIX /sbin/install
16890 # AmigaOS /C/install, which installs bootblocks on floppy discs
16891 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16892 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16893 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16894 # OS/2's system install, which has a completely different semantic
16895 # ./install, which can be erroneously created by make from ./install.sh.
16896 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16897 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16898 if test -z "$INSTALL"; then
16899 if test "${ac_cv_path_install+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16903 for as_dir
in $PATH
16906 test -z "$as_dir" && as_dir
=.
16907 # Account for people who put trailing slashes in PATH elements.
16909 .
/ | .
// | /cC
/* | \
16910 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16911 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16914 # OSF1 and SCO ODT 3.0 have their own names for install.
16915 # Don't use installbsd from OSF since it installs stuff as root
16917 for ac_prog
in ginstall scoinst
install; do
16918 for ac_exec_ext
in '' $ac_executable_extensions; do
16919 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
16920 if test $ac_prog = install &&
16921 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16922 # AIX install. It has an incompatible calling convention.
16924 elif test $ac_prog = install &&
16925 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16926 # program-specific install script used by HP pwplus--don't use.
16929 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16942 if test "${ac_cv_path_install+set}" = set; then
16943 INSTALL
=$ac_cv_path_install
16945 # As a last resort, use the slow shell script. Don't cache a
16946 # value for INSTALL within a source directory, because that will
16947 # break other packages using the cache if that directory is
16948 # removed, or if the value is a relative name.
16949 INSTALL
=$ac_install_sh
16952 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16953 echo "${ECHO_T}$INSTALL" >&6; }
16955 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16956 # It thinks the first close brace ends the variable substitution.
16957 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16959 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16961 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16967 ?
:* ) # Drive letter, considered as absolute.
16970 INSTALL
=`pwd`/${INSTALL} ;;
16977 INSTALL_PROGRAM
="cp -fp"
16978 INSTALL_DATA
="cp -fp"
16984 if test -n "$ac_tool_prefix"; then
16985 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16986 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16989 if test "${ac_cv_prog_STRIP+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 if test -n "$STRIP"; then
16993 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16996 for as_dir
in $PATH
16999 test -z "$as_dir" && as_dir
=.
17000 for ac_exec_ext
in '' $ac_executable_extensions; do
17001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17002 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
17003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17012 STRIP
=$ac_cv_prog_STRIP
17013 if test -n "$STRIP"; then
17014 { echo "$as_me:$LINENO: result: $STRIP" >&5
17015 echo "${ECHO_T}$STRIP" >&6; }
17017 { echo "$as_me:$LINENO: result: no" >&5
17018 echo "${ECHO_T}no" >&6; }
17023 if test -z "$ac_cv_prog_STRIP"; then
17025 # Extract the first word of "strip", so it can be a program name with args.
17026 set dummy strip
; ac_word
=$2
17027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17029 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 if test -n "$ac_ct_STRIP"; then
17033 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
17035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17036 for as_dir
in $PATH
17039 test -z "$as_dir" && as_dir
=.
17040 for ac_exec_ext
in '' $ac_executable_extensions; do
17041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17042 ac_cv_prog_ac_ct_STRIP
="strip"
17043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17052 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
17053 if test -n "$ac_ct_STRIP"; then
17054 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
17055 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
17057 { echo "$as_me:$LINENO: result: no" >&5
17058 echo "${ECHO_T}no" >&6; }
17061 if test "x$ac_ct_STRIP" = x
; then
17064 case $cross_compiling:$ac_tool_warned in
17066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17067 whose name does not start with the host triplet. If you think this
17068 configuration is useful to you, please write to autoconf@gnu.org." >&5
17069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17070 whose name does not start with the host triplet. If you think this
17071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17072 ac_tool_warned
=yes ;;
17077 STRIP
="$ac_cv_prog_STRIP"
17081 if test "$wxUSE_WINE" = "yes"; then
17082 if test -n "$ac_tool_prefix"; then
17083 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
17084 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
17085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17087 if test "${ac_cv_prog_WINDRES+set}" = set; then
17088 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 if test -n "$WINDRES"; then
17091 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
17093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17094 for as_dir
in $PATH
17097 test -z "$as_dir" && as_dir
=.
17098 for ac_exec_ext
in '' $ac_executable_extensions; do
17099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17100 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
17101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17110 WINDRES
=$ac_cv_prog_WINDRES
17111 if test -n "$WINDRES"; then
17112 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17113 echo "${ECHO_T}$WINDRES" >&6; }
17115 { echo "$as_me:$LINENO: result: no" >&5
17116 echo "${ECHO_T}no" >&6; }
17121 if test -z "$ac_cv_prog_WINDRES"; then
17122 ac_ct_WINDRES
=$WINDRES
17123 # Extract the first word of "wrc", so it can be a program name with args.
17124 set dummy wrc
; ac_word
=$2
17125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17127 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17128 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 if test -n "$ac_ct_WINDRES"; then
17131 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
17133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17134 for as_dir
in $PATH
17137 test -z "$as_dir" && as_dir
=.
17138 for ac_exec_ext
in '' $ac_executable_extensions; do
17139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17140 ac_cv_prog_ac_ct_WINDRES
="wrc"
17141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17150 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
17151 if test -n "$ac_ct_WINDRES"; then
17152 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17153 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17155 { echo "$as_me:$LINENO: result: no" >&5
17156 echo "${ECHO_T}no" >&6; }
17159 if test "x$ac_ct_WINDRES" = x
; then
17162 case $cross_compiling:$ac_tool_warned in
17164 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17165 whose name does not start with the host triplet. If you think this
17166 configuration is useful to you, please write to autoconf@gnu.org." >&5
17167 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17168 whose name does not start with the host triplet. If you think this
17169 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17170 ac_tool_warned
=yes ;;
17172 WINDRES
=$ac_ct_WINDRES
17175 WINDRES
="$ac_cv_prog_WINDRES"
17181 *-*-cygwin* | *-*-mingw32* )
17182 if test -n "$ac_tool_prefix"; then
17183 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17184 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
17185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17187 if test "${ac_cv_prog_WINDRES+set}" = set; then
17188 echo $ECHO_N "(cached) $ECHO_C" >&6
17190 if test -n "$WINDRES"; then
17191 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
17193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17194 for as_dir
in $PATH
17197 test -z "$as_dir" && as_dir
=.
17198 for ac_exec_ext
in '' $ac_executable_extensions; do
17199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17200 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
17201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17210 WINDRES
=$ac_cv_prog_WINDRES
17211 if test -n "$WINDRES"; then
17212 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17213 echo "${ECHO_T}$WINDRES" >&6; }
17215 { echo "$as_me:$LINENO: result: no" >&5
17216 echo "${ECHO_T}no" >&6; }
17221 if test -z "$ac_cv_prog_WINDRES"; then
17222 ac_ct_WINDRES
=$WINDRES
17223 # Extract the first word of "windres", so it can be a program name with args.
17224 set dummy windres
; ac_word
=$2
17225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17227 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 if test -n "$ac_ct_WINDRES"; then
17231 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
17233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17234 for as_dir
in $PATH
17237 test -z "$as_dir" && as_dir
=.
17238 for ac_exec_ext
in '' $ac_executable_extensions; do
17239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17240 ac_cv_prog_ac_ct_WINDRES
="windres"
17241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17250 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
17251 if test -n "$ac_ct_WINDRES"; then
17252 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17253 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17255 { echo "$as_me:$LINENO: result: no" >&5
17256 echo "${ECHO_T}no" >&6; }
17259 if test "x$ac_ct_WINDRES" = x
; then
17262 case $cross_compiling:$ac_tool_warned in
17264 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17265 whose name does not start with the host triplet. If you think this
17266 configuration is useful to you, please write to autoconf@gnu.org." >&5
17267 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17268 whose name does not start with the host triplet. If you think this
17269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17270 ac_tool_warned
=yes ;;
17272 WINDRES
=$ac_ct_WINDRES
17275 WINDRES
="$ac_cv_prog_WINDRES"
17279 if test -n "$ac_tool_prefix"; then
17280 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17281 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
17282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17284 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 if test -n "$DLLTOOL"; then
17288 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
17290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17291 for as_dir
in $PATH
17294 test -z "$as_dir" && as_dir
=.
17295 for ac_exec_ext
in '' $ac_executable_extensions; do
17296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17297 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
17298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17307 DLLTOOL
=$ac_cv_prog_DLLTOOL
17308 if test -n "$DLLTOOL"; then
17309 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17310 echo "${ECHO_T}$DLLTOOL" >&6; }
17312 { echo "$as_me:$LINENO: result: no" >&5
17313 echo "${ECHO_T}no" >&6; }
17318 if test -z "$ac_cv_prog_DLLTOOL"; then
17319 ac_ct_DLLTOOL
=$DLLTOOL
17320 # Extract the first word of "dlltool", so it can be a program name with args.
17321 set dummy dlltool
; ac_word
=$2
17322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17324 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17325 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 if test -n "$ac_ct_DLLTOOL"; then
17328 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
17330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17331 for as_dir
in $PATH
17334 test -z "$as_dir" && as_dir
=.
17335 for ac_exec_ext
in '' $ac_executable_extensions; do
17336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17337 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
17338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17347 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
17348 if test -n "$ac_ct_DLLTOOL"; then
17349 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17350 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17352 { echo "$as_me:$LINENO: result: no" >&5
17353 echo "${ECHO_T}no" >&6; }
17356 if test "x$ac_ct_DLLTOOL" = x
; then
17359 case $cross_compiling:$ac_tool_warned in
17361 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17362 whose name does not start with the host triplet. If you think this
17363 configuration is useful to you, please write to autoconf@gnu.org." >&5
17364 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17365 whose name does not start with the host triplet. If you think this
17366 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17367 ac_tool_warned
=yes ;;
17369 DLLTOOL
=$ac_ct_DLLTOOL
17372 DLLTOOL
="$ac_cv_prog_DLLTOOL"
17379 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17380 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17381 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17385 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
17386 $EGREP -s GNU
> /dev
/null
); then
17387 wx_cv_prog_makeisgnu
="yes"
17389 wx_cv_prog_makeisgnu
="no"
17393 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17394 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17396 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17404 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17405 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17406 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17407 if test "${wx_cv_prog_makevpath+set}" = set; then
17408 echo $ECHO_N "(cached) $ECHO_C" >&6
17411 cat - << EOF > confMake
17417 if test ! -d sub
; then
17420 echo dummy
> sub
/file
17421 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
17423 rm -f sub
/file check final_file confMake
17425 if test "$RESULT" = 0; then
17426 wx_cv_prog_makevpath
="yes"
17428 wx_cv_prog_makevpath
="no"
17432 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17433 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17435 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17436 { { echo "$as_me:$LINENO: error:
17437 You need a make-utility that is able to use the variable
17439 If your version of make does not support VPATH correctly,
17440 please install GNU-make (possibly as gmake), and start
17441 configure with the following command:
17442 export MAKE=gmake; ./configure for sh-type shells
17443 setenv MAKE gmake; ./configure for csh-type shells
17444 Also please do remember to use gmake in this case every time
17445 you are trying to compile.
17447 echo "$as_me: error:
17448 You need a make-utility that is able to use the variable
17450 If your version of make does not support VPATH correctly,
17451 please install GNU-make (possibly as gmake), and start
17452 configure with the following command:
17453 export MAKE=gmake; ./configure for sh-type shells
17454 setenv MAKE gmake; ./configure for csh-type shells
17455 Also please do remember to use gmake in this case every time
17456 you are trying to compile.
17458 { (exit 1); exit 1; }; }
17460 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17461 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17463 if test "$LN_S" = "ln -s"; then
17464 { echo "$as_me:$LINENO: result: yes" >&5
17465 echo "${ECHO_T}yes" >&6; }
17467 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17468 echo "${ECHO_T}no, using $LN_S" >&6; }
17474 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17475 CXXFLAGS
="-qunique $CXXFLAGS"
17479 powerpc
-*-darwin* )
17480 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17481 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17482 cat >conftest.
$ac_ext <<_ACEOF
17485 cat confdefs.h
>>conftest.
$ac_ext
17486 cat >>conftest.
$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17492 #ifndef __POWERPC__
17493 choke me for lack of PowerPC
17500 rm -f conftest.
$ac_objext
17501 if { (ac_try
="$ac_compile"
17502 case "(($ac_try" in
17503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17504 *) ac_try_echo=$ac_try;;
17506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507 (eval "$ac_compile") 2>conftest.er1
17509 grep -v '^ *+' conftest.er1 >conftest.err
17511 cat conftest.err >&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17515 { (case "(($ac_try" in
17516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17517 *) ac_try_echo
=$ac_try;;
17519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17520 (eval "$ac_try") 2>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; } &&
17524 { ac_try
='test -s conftest.$ac_objext'
17525 { (case "(($ac_try" in
17526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17527 *) ac_try_echo=$ac_try;;
17529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17530 (eval "$ac_try") 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 { echo "$as_me:$LINENO: result: yes" >&5
17535 echo "${ECHO_T}yes" >&6; }
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.$ac_ext >&5
17540 { echo "$as_me:$LINENO: result: no" >&5
17541 echo "${ECHO_T}no" >&6; }
17542 cat >>confdefs.h <<\_ACEOF
17543 #define __POWERPC__ 1
17549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17555 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17556 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17557 cat >conftest.$ac_ext <<_ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 #include <CoreFoundation/CFBase.h>
17573 rm -f conftest.$ac_objext
17574 if { (ac_try="$ac_compile"
17575 case "(($ac_try" in
17576 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17577 *) ac_try_echo
=$ac_try;;
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_compile") 2>conftest.er1
17582 grep -v '^ *+' conftest.er1
>conftest.err
17584 cat conftest.err
>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
17587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17588 { (case "(($ac_try" in
17589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17590 *) ac_try_echo=$ac_try;;
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_try") 2>&5
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); }; } &&
17597 { ac_try='test -s conftest.$ac_objext'
17598 { (case "(($ac_try" in
17599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17600 *) ac_try_echo
=$ac_try;;
17602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17603 (eval "$ac_try") 2>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; }; then
17607 { echo "$as_me:$LINENO: result: yes" >&5
17608 echo "${ECHO_T}yes" >&6; }
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.
$ac_ext >&5
17613 { echo "$as_me:$LINENO: result: no" >&5
17614 echo "${ECHO_T}no" >&6; }
17615 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17616 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17617 cat >conftest.
$ac_ext <<_ACEOF
17620 cat confdefs.h
>>conftest.
$ac_ext
17621 cat >>conftest.
$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17623 #define __CF_USE_FRAMEWORK_INCLUDES__
17624 #include <CoreFoundation/CFBase.h>
17634 rm -f conftest.
$ac_objext
17635 if { (ac_try
="$ac_compile"
17636 case "(($ac_try" in
17637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17638 *) ac_try_echo=$ac_try;;
17640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17641 (eval "$ac_compile") 2>conftest.er1
17643 grep -v '^ *+' conftest.er1 >conftest.err
17645 cat conftest.err >&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); } &&
17648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17649 { (case "(($ac_try" in
17650 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17651 *) ac_try_echo
=$ac_try;;
17653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17654 (eval "$ac_try") 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try
='test -s conftest.$ac_objext'
17659 { (case "(($ac_try" in
17660 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17661 *) ac_try_echo=$ac_try;;
17663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17664 (eval "$ac_try") 2>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; }; then
17668 { echo "$as_me:$LINENO: result: yes" >&5
17669 echo "${ECHO_T}yes" >&6; }
17670 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.$ac_ext >&5
17675 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17676 See \`config.log
' for more details." >&5
17677 echo "$as_me: error: no. CoreFoundation not available.
17678 See \`config.log' for more details.
" >&2;}
17679 { (exit 1); exit 1; }; }
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17693 doesnt_want_win32=0
17696 if test "$wxUSE_MSW" = 1 ; then
17699 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17700 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17701 if test "${wx_cv_nocygwin+set}" = set; then
17702 echo $ECHO_N "(cached
) $ECHO_C" >&6
17705 cat >conftest.$ac_ext <<_ACEOF
17708 cat confdefs.h >>conftest.$ac_ext
17709 cat >>conftest.$ac_ext <<_ACEOF
17710 /* end confdefs.h. */
17724 rm -f conftest.$ac_objext
17725 if { (ac_try="$ac_compile"
17726 case "(($ac_try" in
17727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17728 *) ac_try_echo=$ac_try;;
17730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17731 (eval "$ac_compile") 2>conftest.er1
17733 grep -v '^ *+' conftest.er1 >conftest.err
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17737 (exit $ac_status); } &&
17738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17739 { (case "(($ac_try" in
17740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17741 *) ac_try_echo=$ac_try;;
17743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17744 (eval "$ac_try") 2>&5
17746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17747 (exit $ac_status); }; } &&
17748 { ac_try='test -s conftest.$ac_objext'
17749 { (case "(($ac_try" in
17750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17751 *) ac_try_echo=$ac_try;;
17753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17754 (eval "$ac_try") 2>&5
17756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17757 (exit $ac_status); }; }; then
17760 echo "$as_me: failed program was
:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17772 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17774 if test "$wx_cv_nocygwin" = "yes"; then
17777 doesnt_want_win32=1
17780 if test "$wants_win32" = 1 ; then
17781 BAKEFILE_FORCE_PLATFORM=win32
17789 if test "$wxUSE_WINE" = "yes"; then
17791 LDFLAGS_GUI="-mwindows"
17794 if test "$wants_win32" = 1 ; then
17797 cat >>confdefs.h <<\_ACEOF
17798 #define __WIN32__ 1
17801 cat >>confdefs.h <<\_ACEOF
17802 #define __WIN95__ 1
17805 cat >>confdefs.h <<\_ACEOF
17806 #define __WINDOWS__ 1
17809 cat >>confdefs.h <<\_ACEOF
17810 #define __GNUWIN32__ 1
17813 cat >>confdefs.h <<\_ACEOF
17818 if test "$doesnt_want_win32" = 1 ; then
17823 if test "$USE_UNIX" = 1 ; then
17825 cat >>confdefs.h <<\_ACEOF
17832 *-pc-os2_emx | *-pc-os2-emx )
17833 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17834 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17835 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17836 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17837 echo $ECHO_N "(cached
) $ECHO_C" >&6
17839 ac_check_lib_save_LIBS=$LIBS
17840 LIBS="-lcExt $LIBS"
17841 cat >conftest.$ac_ext <<_ACEOF
17844 cat confdefs.h >>conftest.$ac_ext
17845 cat >>conftest.$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17848 /* Override any GCC internal prototype to avoid an error.
17849 Use char because int might match the return type of a GCC
17850 builtin and then its argument prototype would still apply. */
17863 rm -f conftest.$ac_objext conftest$ac_exeext
17864 if { (ac_try="$ac_link"
17865 case "(($ac_try" in
17866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17867 *) ac_try_echo=$ac_try;;
17869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17870 (eval "$ac_link") 2>conftest.er1
17872 grep -v '^ *+' conftest.er1 >conftest.err
17874 cat conftest.err >&5
17875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17876 (exit $ac_status); } &&
17877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17878 { (case "(($ac_try" in
17879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17880 *) ac_try_echo=$ac_try;;
17882 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17883 (eval "$ac_try") 2>&5
17885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17886 (exit $ac_status); }; } &&
17887 { ac_try='test -s conftest$ac_exeext'
17888 { (case "(($ac_try" in
17889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17890 *) ac_try_echo=$ac_try;;
17892 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17893 (eval "$ac_try") 2>&5
17895 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17896 (exit $ac_status); }; }; then
17897 ac_cv_lib_cExt_drand48=yes
17899 echo "$as_me: failed program was
:" >&5
17900 sed 's/^/| /' conftest.$ac_ext >&5
17902 ac_cv_lib_cExt_drand48=no
17905 rm -f core conftest.err conftest.$ac_objext \
17906 conftest$ac_exeext conftest.$ac_ext
17907 LIBS=$ac_check_lib_save_LIBS
17909 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17910 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17911 if test $ac_cv_lib_cExt_drand48 = yes; then
17912 LIBS="$LIBS -lcExt"
17916 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17918 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17919 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17920 if test "${wx_cv_gccversion+set}" = set; then
17921 echo $ECHO_N "(cached
) $ECHO_C" >&6
17924 if test "$cross_compiling" = yes; then
17925 wx_cv_gccversion="EMX2
"
17928 cat >conftest.$ac_ext <<_ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17939 FILE *f=fopen("conftestval
", "w
");
17944 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17946 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17956 rm -f conftest$ac_exeext
17957 if { (ac_try="$ac_link"
17958 case "(($ac_try" in
17959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17960 *) ac_try_echo=$ac_try;;
17962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17963 (eval "$ac_link") 2>&5
17965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17967 { (case "(($ac_try" in
17968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17969 *) ac_try_echo=$ac_try;;
17971 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17972 (eval "$ac_try") 2>&5
17974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17975 (exit $ac_status); }; }; then
17976 wx_cv_gccversion=`cat conftestval`
17978 echo "$as_me: program exited with status
$ac_status" >&5
17979 echo "$as_me: failed program was
:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17982 ( exit $ac_status )
17983 wx_cv_gccversion="EMX2
"
17985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17991 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
17992 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17993 if test "$wx_cv_gccversion" = "EMX2
"; then
17994 LIBS="$LIBS -lstdcpp"
17995 LDFLAGS="$LDFLAGS -Zsysv-signals"
17997 if test "$wx_cv_gccversion" = "EMX3
"; then
17998 LIBS="$LIBS -lstdcxx -lgcc"
17999 LDFLAGS="$LDFLAGS -Zsysv-signals"
18001 LIBS="$LIBS -lstdc++"
18004 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18005 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18006 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18013 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18014 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18015 if test "${ac_cv_string_strcasecmp+set}" = set; then
18016 echo $ECHO_N "(cached
) $ECHO_C" >&6
18019 cat >conftest.$ac_ext <<_ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18026 #include <string.h>
18032 strcasecmp("foo
", "bar
");
18038 rm -f conftest.$ac_objext conftest$ac_exeext
18039 if { (ac_try="$ac_link"
18040 case "(($ac_try" in
18041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18042 *) ac_try_echo=$ac_try;;
18044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18045 (eval "$ac_link") 2>conftest.er1
18047 grep -v '^ *+' conftest.er1 >conftest.err
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18053 { (case "(($ac_try" in
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18057 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_try") 2>&5
18060 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18061 (exit $ac_status); }; } &&
18062 { ac_try='test -s conftest$ac_exeext'
18063 { (case "(($ac_try" in
18064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18065 *) ac_try_echo=$ac_try;;
18067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18068 (eval "$ac_try") 2>&5
18070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18071 (exit $ac_status); }; }; then
18072 ac_cv_string_strcasecmp=yes
18074 echo "$as_me: failed program was
:" >&5
18075 sed 's/^/| /' conftest.$ac_ext >&5
18077 ac_cv_string_strcasecmp=no
18081 rm -f core conftest.err conftest.$ac_objext \
18082 conftest$ac_exeext conftest.$ac_ext
18085 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18086 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18088 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18089 cat >>confdefs.h <<\_ACEOF
18090 #define HAVE_STRCASECMP_IN_STRING_H 1
18094 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18095 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18096 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18097 echo $ECHO_N "(cached
) $ECHO_C" >&6
18100 cat >conftest.$ac_ext <<_ACEOF
18103 cat confdefs.h >>conftest.$ac_ext
18104 cat >>conftest.$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18107 #include <strings.h>
18113 strcasecmp("foo
", "bar
");
18119 rm -f conftest.$ac_objext conftest$ac_exeext
18120 if { (ac_try="$ac_link"
18121 case "(($ac_try" in
18122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18123 *) ac_try_echo=$ac_try;;
18125 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18126 (eval "$ac_link") 2>conftest.er1
18128 grep -v '^ *+' conftest.er1 >conftest.err
18130 cat conftest.err >&5
18131 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18132 (exit $ac_status); } &&
18133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18134 { (case "(($ac_try" in
18135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18136 *) ac_try_echo=$ac_try;;
18138 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18139 (eval "$ac_try") 2>&5
18141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18142 (exit $ac_status); }; } &&
18143 { ac_try='test -s conftest$ac_exeext'
18144 { (case "(($ac_try" in
18145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18146 *) ac_try_echo=$ac_try;;
18148 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18149 (eval "$ac_try") 2>&5
18151 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18152 (exit $ac_status); }; }; then
18153 ac_cv_strings_strcasecmp=yes
18155 echo "$as_me: failed program was
:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18158 ac_cv_strings_strcasecmp=no
18162 rm -f core conftest.err conftest.$ac_objext \
18163 conftest$ac_exeext conftest.$ac_ext
18166 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18167 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18169 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18170 cat >>confdefs.h <<\_ACEOF
18171 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18175 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18176 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18177 { (exit 1); exit 1; }; }
18185 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18186 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18187 if test "${ac_cv_header_stdc+set}" = set; then
18188 echo $ECHO_N "(cached
) $ECHO_C" >&6
18190 cat >conftest.$ac_ext <<_ACEOF
18193 cat confdefs.h >>conftest.$ac_ext
18194 cat >>conftest.$ac_ext <<_ACEOF
18195 /* end confdefs.h. */
18196 #include <stdlib.h>
18197 #include <stdarg.h>
18198 #include <string.h>
18209 rm -f conftest.$ac_objext
18210 if { (ac_try="$ac_compile"
18211 case "(($ac_try" in
18212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18213 *) ac_try_echo=$ac_try;;
18215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18216 (eval "$ac_compile") 2>conftest.er1
18218 grep -v '^ *+' conftest.er1 >conftest.err
18220 cat conftest.err >&5
18221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18222 (exit $ac_status); } &&
18223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18224 { (case "(($ac_try" in
18225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18226 *) ac_try_echo=$ac_try;;
18228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18229 (eval "$ac_try") 2>&5
18231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18232 (exit $ac_status); }; } &&
18233 { ac_try='test -s conftest.$ac_objext'
18234 { (case "(($ac_try" in
18235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18236 *) ac_try_echo=$ac_try;;
18238 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18239 (eval "$ac_try") 2>&5
18241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18242 (exit $ac_status); }; }; then
18243 ac_cv_header_stdc=yes
18245 echo "$as_me: failed program was
:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18248 ac_cv_header_stdc=no
18251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18253 if test $ac_cv_header_stdc = yes; then
18254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18255 cat >conftest.$ac_ext <<_ACEOF
18258 cat confdefs.h >>conftest.$ac_ext
18259 cat >>conftest.$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18261 #include <string.h>
18264 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18265 $EGREP "memchr
" >/dev/null 2>&1; then
18268 ac_cv_header_stdc=no
18274 if test $ac_cv_header_stdc = yes; then
18275 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18276 cat >conftest.$ac_ext <<_ACEOF
18279 cat confdefs.h >>conftest.$ac_ext
18280 cat >>conftest.$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 #include <stdlib.h>
18285 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18286 $EGREP "free
" >/dev/null 2>&1; then
18289 ac_cv_header_stdc=no
18295 if test $ac_cv_header_stdc = yes; then
18296 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18297 if test "$cross_compiling" = yes; then
18300 cat >conftest.$ac_ext <<_ACEOF
18303 cat confdefs.h >>conftest.$ac_ext
18304 cat >>conftest.$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18307 #include <stdlib.h>
18308 #if ((' ' & 0x0FF) == 0x020)
18309 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18310 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18312 # define ISLOWER(c) \
18313 (('a' <= (c) && (c) <= 'i') \
18314 || ('j' <= (c) && (c) <= 'r') \
18315 || ('s' <= (c) && (c) <= 'z'))
18316 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18319 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18324 for (i = 0; i < 256; i++)
18325 if (XOR (islower (i), ISLOWER (i))
18326 || toupper (i) != TOUPPER (i))
18331 rm -f conftest$ac_exeext
18332 if { (ac_try="$ac_link"
18333 case "(($ac_try" in
18334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18335 *) ac_try_echo=$ac_try;;
18337 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18338 (eval "$ac_link") 2>&5
18340 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18341 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18342 { (case "(($ac_try" in
18343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18344 *) ac_try_echo=$ac_try;;
18346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18347 (eval "$ac_try") 2>&5
18349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18350 (exit $ac_status); }; }; then
18353 echo "$as_me: program exited with status
$ac_status" >&5
18354 echo "$as_me: failed program was
:" >&5
18355 sed 's/^/| /' conftest.$ac_ext >&5
18357 ( exit $ac_status )
18358 ac_cv_header_stdc=no
18360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18366 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18367 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18368 if test $ac_cv_header_stdc = yes; then
18370 cat >>confdefs.h <<\_ACEOF
18371 #define STDC_HEADERS 1
18376 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18386 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18387 inttypes.h stdint.h unistd.h
18389 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18390 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18391 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18392 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18393 echo $ECHO_N "(cached
) $ECHO_C" >&6
18395 cat >conftest.$ac_ext <<_ACEOF
18398 cat confdefs.h >>conftest.$ac_ext
18399 cat >>conftest.$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18401 $ac_includes_default
18403 #include <$ac_header>
18405 rm -f conftest.$ac_objext
18406 if { (ac_try="$ac_compile"
18407 case "(($ac_try" in
18408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18409 *) ac_try_echo=$ac_try;;
18411 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18412 (eval "$ac_compile") 2>conftest.er1
18414 grep -v '^ *+' conftest.er1 >conftest.err
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18420 { (case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_try") 2>&5
18427 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18428 (exit $ac_status); }; } &&
18429 { ac_try='test -s conftest.$ac_objext'
18430 { (case "(($ac_try" in
18431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18432 *) ac_try_echo=$ac_try;;
18434 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18435 (eval "$ac_try") 2>&5
18437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18438 (exit $ac_status); }; }; then
18439 eval "$as_ac_Header=yes"
18441 echo "$as_me: failed program was
:" >&5
18442 sed 's/^/| /' conftest.$ac_ext >&5
18444 eval "$as_ac_Header=no
"
18447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18449 ac_res=`eval echo '${'$as_ac_Header'}'`
18450 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18451 echo "${ECHO_T}$ac_res" >&6; }
18452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18453 cat >>confdefs.h <<_ACEOF
18454 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18468 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18470 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18471 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18472 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18473 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18474 echo $ECHO_N "(cached
) $ECHO_C" >&6
18476 cat >conftest.$ac_ext <<_ACEOF
18479 cat confdefs.h >>conftest.$ac_ext
18480 cat >>conftest.$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482 $ac_includes_default
18484 #include <$ac_header>
18486 rm -f conftest.$ac_objext
18487 if { (ac_try="$ac_compile"
18488 case "(($ac_try" in
18489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18490 *) ac_try_echo=$ac_try;;
18492 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18493 (eval "$ac_compile") 2>conftest.er1
18495 grep -v '^ *+' conftest.er1 >conftest.err
18497 cat conftest.err >&5
18498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18499 (exit $ac_status); } &&
18500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18501 { (case "(($ac_try" in
18502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18503 *) ac_try_echo=$ac_try;;
18505 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18506 (eval "$ac_try") 2>&5
18508 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18509 (exit $ac_status); }; } &&
18510 { ac_try='test -s conftest.$ac_objext'
18511 { (case "(($ac_try" in
18512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18513 *) ac_try_echo=$ac_try;;
18515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18516 (eval "$ac_try") 2>&5
18518 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18519 (exit $ac_status); }; }; then
18520 eval "$as_ac_Header=yes"
18522 echo "$as_me: failed program was
:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18525 eval "$as_ac_Header=no
"
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530 ac_res=`eval echo '${'$as_ac_Header'}'`
18531 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18532 echo "${ECHO_T}$ac_res" >&6; }
18533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18534 cat >>confdefs.h <<_ACEOF
18535 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18543 if test "$ac_cv_header_wchar_h" != "yes"; then
18544 { echo "$as_me:$LINENO: checking
for wcstr.h
" >&5
18545 echo $ECHO_N "checking
for wcstr.h...
$ECHO_C" >&6; }
18546 if test "${ac_cv_header_wcstr_h+set}" = set; then
18547 echo $ECHO_N "(cached
) $ECHO_C" >&6
18549 cat >conftest.$ac_ext <<_ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555 $ac_includes_default
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18565 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18568 grep -v '^ *+' conftest.er1 >conftest.err
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18572 (exit $ac_status); } &&
18573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18574 { (case "(($ac_try" in
18575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18576 *) ac_try_echo=$ac_try;;
18578 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18579 (eval "$ac_try") 2>&5
18581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18582 (exit $ac_status); }; } &&
18583 { ac_try='test -s conftest.$ac_objext'
18584 { (case "(($ac_try" in
18585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18586 *) ac_try_echo=$ac_try;;
18588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18589 (eval "$ac_try") 2>&5
18591 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18592 (exit $ac_status); }; }; then
18593 ac_cv_header_wcstr_h=yes
18595 echo "$as_me: failed program was
:" >&5
18596 sed 's/^/| /' conftest.$ac_ext >&5
18598 ac_cv_header_wcstr_h=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18603 { echo "$as_me:$LINENO: result
: $ac_cv_header_wcstr_h" >&5
18604 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18610 *-pc-os2_emx | *-pc-os2-emx )
18611 if test $ac_cv_header_langinfo_h = "yes" \
18612 -a \( "$wx_cv_gccversion" = "EMX2
" \
18613 -o "$wx_cv_gccversion" = "EMX3
" \
18614 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18615 LIBS="$LIBS -lintl"
18620 if test "$USE_UNIX" = 1 ; then
18621 { echo "$as_me:$LINENO: checking
for sys
/select.h
" >&5
18622 echo $ECHO_N "checking
for sys
/select.h...
$ECHO_C" >&6; }
18623 if test "${ac_cv_header_sys_select_h+set}" = set; then
18624 echo $ECHO_N "(cached
) $ECHO_C" >&6
18626 cat >conftest.$ac_ext <<_ACEOF
18629 cat confdefs.h >>conftest.$ac_ext
18630 cat >>conftest.$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 $ac_includes_default
18634 #include <sys/select.h>
18636 rm -f conftest.$ac_objext
18637 if { (ac_try="$ac_compile"
18638 case "(($ac_try" in
18639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18640 *) ac_try_echo=$ac_try;;
18642 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18643 (eval "$ac_compile") 2>conftest.er1
18645 grep -v '^ *+' conftest.er1 >conftest.err
18647 cat conftest.err >&5
18648 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18649 (exit $ac_status); } &&
18650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18651 { (case "(($ac_try" in
18652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18653 *) ac_try_echo=$ac_try;;
18655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18656 (eval "$ac_try") 2>&5
18658 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18659 (exit $ac_status); }; } &&
18660 { ac_try='test -s conftest.$ac_objext'
18661 { (case "(($ac_try" in
18662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18663 *) ac_try_echo=$ac_try;;
18665 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18666 (eval "$ac_try") 2>&5
18668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18669 (exit $ac_status); }; }; then
18670 ac_cv_header_sys_select_h=yes
18672 echo "$as_me: failed program was
:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18675 ac_cv_header_sys_select_h=no
18678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18680 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_select_h" >&5
18681 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18687 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18688 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18689 if test "${ac_cv_c_const+set}" = set; then
18690 echo $ECHO_N "(cached
) $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. */
18702 /* FIXME: Include the comments suggested by Paul. */
18703 #ifndef __cplusplus
18704 /* Ultrix mips cc rejects this. */
18705 typedef int charset[2];
18707 /* SunOS 4.1.1 cc rejects this. */
18708 char const *const *ccp;
18710 /* NEC SVR4.0.2 mips cc rejects this. */
18711 struct point {int x, y;};
18712 static struct point const zero = {0,0};
18713 /* AIX XL C 1.02.0.0 rejects this.
18714 It does not let you subtract one const X* pointer from another in
18715 an arm of an if-expression whose if-part is not a constant
18717 const char *g = "string
";
18718 ccp = &g + (g ? g-g : 0);
18719 /* HPUX 7.0 cc rejects these. */
18722 ccp = (char const *const *) p;
18723 { /* SCO 3.2v4 cc rejects this. */
18725 char const *s = 0 ? (char *) 0 : (char const *) 0;
18730 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18731 int x[] = {25, 17};
18732 const int *foo = &x[0];
18735 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18736 typedef const int *iptr;
18740 { /* AIX XL C 1.02.0.0 rejects this saying
18741 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18742 struct s { int j; const int *ap[3]; };
18743 struct s *b; b->j = 5;
18745 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18746 const int foo = 10;
18747 if (!foo) return 0;
18749 return !x[0] && !zero.x;
18756 rm -f conftest.$ac_objext
18757 if { (ac_try="$ac_compile"
18758 case "(($ac_try" in
18759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18760 *) ac_try_echo=$ac_try;;
18762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18763 (eval "$ac_compile") 2>conftest.er1
18765 grep -v '^ *+' conftest.er1 >conftest.err
18767 cat conftest.err >&5
18768 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18769 (exit $ac_status); } &&
18770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18771 { (case "(($ac_try" in
18772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18773 *) ac_try_echo=$ac_try;;
18775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18776 (eval "$ac_try") 2>&5
18778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18779 (exit $ac_status); }; } &&
18780 { ac_try='test -s conftest.$ac_objext'
18781 { (case "(($ac_try" in
18782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 *) ac_try_echo=$ac_try;;
18785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18786 (eval "$ac_try") 2>&5
18788 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18789 (exit $ac_status); }; }; then
18792 echo "$as_me: failed program was
:" >&5
18793 sed 's/^/| /' conftest.$ac_ext >&5
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18801 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18802 if test $ac_cv_c_const = no; then
18804 cat >>confdefs.h <<\_ACEOF
18810 { echo "$as_me:$LINENO: checking
for inline
" >&5
18811 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18812 if test "${ac_cv_c_inline+set}" = set; then
18813 echo $ECHO_N "(cached
) $ECHO_C" >&6
18816 for ac_kw in inline __inline__ __inline; do
18817 cat >conftest.$ac_ext <<_ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 #ifndef __cplusplus
18825 static $ac_kw foo_t static_foo () {return 0; }
18826 $ac_kw foo_t foo () {return 0; }
18830 rm -f conftest.$ac_objext
18831 if { (ac_try="$ac_compile"
18832 case "(($ac_try" in
18833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18834 *) ac_try_echo=$ac_try;;
18836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18837 (eval "$ac_compile") 2>conftest.er1
18839 grep -v '^ *+' conftest.er1 >conftest.err
18841 cat conftest.err >&5
18842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18843 (exit $ac_status); } &&
18844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18845 { (case "(($ac_try" in
18846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18847 *) ac_try_echo=$ac_try;;
18849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18850 (eval "$ac_try") 2>&5
18852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18853 (exit $ac_status); }; } &&
18854 { ac_try='test -s conftest.$ac_objext'
18855 { (case "(($ac_try" in
18856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18857 *) ac_try_echo=$ac_try;;
18859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18860 (eval "$ac_try") 2>&5
18862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18863 (exit $ac_status); }; }; then
18864 ac_cv_c_inline=$ac_kw
18866 echo "$as_me: failed program was
:" >&5
18867 sed 's/^/| /' conftest.$ac_ext >&5
18872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18873 test "$ac_cv_c_inline" != no && break
18877 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18878 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18881 case $ac_cv_c_inline in
18884 case $ac_cv_c_inline in
18886 *) ac_val=$ac_cv_c_inline;;
18888 cat >>confdefs.h <<_ACEOF
18889 #ifndef __cplusplus
18890 #define inline $ac_val
18897 { echo "$as_me:$LINENO: checking
for short
" >&5
18898 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
18899 if test "${ac_cv_type_short+set}" = set; then
18900 echo $ECHO_N "(cached
) $ECHO_C" >&6
18902 cat >conftest.$ac_ext <<_ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 $ac_includes_default
18909 typedef short ac__type_new_;
18913 if ((ac__type_new_ *) 0)
18915 if (sizeof (ac__type_new_))
18921 rm -f conftest.$ac_objext
18922 if { (ac_try="$ac_compile"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_compile") 2>conftest.er1
18930 grep -v '^ *+' conftest.er1 >conftest.err
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18934 (exit $ac_status); } &&
18935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18936 { (case "(($ac_try" in
18937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18938 *) ac_try_echo=$ac_try;;
18940 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18941 (eval "$ac_try") 2>&5
18943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18944 (exit $ac_status); }; } &&
18945 { ac_try='test -s conftest.$ac_objext'
18946 { (case "(($ac_try" in
18947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18948 *) ac_try_echo=$ac_try;;
18950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18951 (eval "$ac_try") 2>&5
18953 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18954 (exit $ac_status); }; }; then
18955 ac_cv_type_short=yes
18957 echo "$as_me: failed program was
:" >&5
18958 sed 's/^/| /' conftest.$ac_ext >&5
18960 ac_cv_type_short=no
18963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18965 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
18966 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18968 { echo "$as_me:$LINENO: checking size of short
" >&5
18969 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
18970 if test "${ac_cv_sizeof_short+set}" = set; then
18971 echo $ECHO_N "(cached
) $ECHO_C" >&6
18973 if test "$ac_cv_type_short" = yes; then
18974 # The cast to long int works around a bug in the HP C Compiler
18975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18977 # This bug is HP SR number 8606223364.
18978 if test "$cross_compiling" = yes; then
18979 # Depending upon the size, compute the lo and hi bounds.
18980 cat >conftest.$ac_ext <<_ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 $ac_includes_default
18987 typedef short ac__type_sizeof_;
18991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18998 rm -f conftest.$ac_objext
18999 if { (ac_try="$ac_compile"
19000 case "(($ac_try" in
19001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19002 *) ac_try_echo=$ac_try;;
19004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19005 (eval "$ac_compile") 2>conftest.er1
19007 grep -v '^ *+' conftest.er1 >conftest.err
19009 cat conftest.err >&5
19010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19011 (exit $ac_status); } &&
19012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19013 { (case "(($ac_try" in
19014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19015 *) ac_try_echo=$ac_try;;
19017 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19018 (eval "$ac_try") 2>&5
19020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19021 (exit $ac_status); }; } &&
19022 { ac_try='test -s conftest.$ac_objext'
19023 { (case "(($ac_try" in
19024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19025 *) ac_try_echo=$ac_try;;
19027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19028 (eval "$ac_try") 2>&5
19030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19031 (exit $ac_status); }; }; then
19034 cat >conftest.$ac_ext <<_ACEOF
19037 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h. */
19040 $ac_includes_default
19041 typedef short ac__type_sizeof_;
19045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19052 rm -f conftest.$ac_objext
19053 if { (ac_try="$ac_compile"
19054 case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_compile") 2>conftest.er1
19061 grep -v '^ *+' conftest.er1 >conftest.err
19063 cat conftest.err >&5
19064 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19065 (exit $ac_status); } &&
19066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19067 { (case "(($ac_try" in
19068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19069 *) ac_try_echo=$ac_try;;
19071 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19072 (eval "$ac_try") 2>&5
19074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19075 (exit $ac_status); }; } &&
19076 { ac_try='test -s conftest.$ac_objext'
19077 { (case "(($ac_try" in
19078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19079 *) ac_try_echo=$ac_try;;
19081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19082 (eval "$ac_try") 2>&5
19084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19085 (exit $ac_status); }; }; then
19086 ac_hi=$ac_mid; break
19088 echo "$as_me: failed program was
:" >&5
19089 sed 's/^/| /' conftest.$ac_ext >&5
19091 ac_lo=`expr $ac_mid + 1`
19092 if test $ac_lo -le $ac_mid; then
19096 ac_mid=`expr 2 '*' $ac_mid + 1`
19099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19102 echo "$as_me: failed program was
:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19105 cat >conftest.$ac_ext <<_ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111 $ac_includes_default
19112 typedef short ac__type_sizeof_;
19116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19123 rm -f conftest.$ac_objext
19124 if { (ac_try="$ac_compile"
19125 case "(($ac_try" in
19126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19127 *) ac_try_echo=$ac_try;;
19129 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19130 (eval "$ac_compile") 2>conftest.er1
19132 grep -v '^ *+' conftest.er1 >conftest.err
19134 cat conftest.err >&5
19135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19136 (exit $ac_status); } &&
19137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19138 { (case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_try") 2>&5
19145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19146 (exit $ac_status); }; } &&
19147 { ac_try='test -s conftest.$ac_objext'
19148 { (case "(($ac_try" in
19149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_try") 2>&5
19155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19156 (exit $ac_status); }; }; then
19159 cat >conftest.$ac_ext <<_ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 $ac_includes_default
19166 typedef short ac__type_sizeof_;
19170 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19177 rm -f conftest.$ac_objext
19178 if { (ac_try="$ac_compile"
19179 case "(($ac_try" in
19180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19181 *) ac_try_echo=$ac_try;;
19183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19184 (eval "$ac_compile") 2>conftest.er1
19186 grep -v '^ *+' conftest.er1 >conftest.err
19188 cat conftest.err >&5
19189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19190 (exit $ac_status); } &&
19191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19192 { (case "(($ac_try" in
19193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19194 *) ac_try_echo=$ac_try;;
19196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19197 (eval "$ac_try") 2>&5
19199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19200 (exit $ac_status); }; } &&
19201 { ac_try='test -s conftest.$ac_objext'
19202 { (case "(($ac_try" in
19203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19204 *) ac_try_echo=$ac_try;;
19206 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19207 (eval "$ac_try") 2>&5
19209 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19210 (exit $ac_status); }; }; then
19211 ac_lo=$ac_mid; break
19213 echo "$as_me: failed program was
:" >&5
19214 sed 's/^/| /' conftest.$ac_ext >&5
19216 ac_hi=`expr '(' $ac_mid ')' - 1`
19217 if test $ac_mid -le $ac_hi; then
19221 ac_mid=`expr 2 '*' $ac_mid`
19224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19227 echo "$as_me: failed program was
:" >&5
19228 sed 's/^/| /' conftest.$ac_ext >&5
19233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19237 # Binary search between lo and hi bounds.
19238 while test "x
$ac_lo" != "x
$ac_hi"; do
19239 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19240 cat >conftest.$ac_ext <<_ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 $ac_includes_default
19247 typedef short ac__type_sizeof_;
19251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19258 rm -f conftest.$ac_objext
19259 if { (ac_try="$ac_compile"
19260 case "(($ac_try" in
19261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19262 *) ac_try_echo=$ac_try;;
19264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19265 (eval "$ac_compile") 2>conftest.er1
19267 grep -v '^ *+' conftest.er1 >conftest.err
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19273 { (case "(($ac_try" in
19274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19275 *) ac_try_echo=$ac_try;;
19277 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19278 (eval "$ac_try") 2>&5
19280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19281 (exit $ac_status); }; } &&
19282 { ac_try='test -s conftest.$ac_objext'
19283 { (case "(($ac_try" in
19284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19285 *) ac_try_echo=$ac_try;;
19287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19288 (eval "$ac_try") 2>&5
19290 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19291 (exit $ac_status); }; }; then
19294 echo "$as_me: failed program was
:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19297 ac_lo=`expr '(' $ac_mid ')' + 1`
19300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19303 ?*) ac_cv_sizeof_short=$ac_lo;;
19304 '') { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19305 See \
`config.log' for more details." >&5
19306 echo "$as_me: error: cannot compute sizeof (short)
19307 See \`config.log
' for more details." >&2;}
19308 { (exit 77); exit 77; }; } ;;
19311 cat >conftest.$ac_ext <<_ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 $ac_includes_default
19318 typedef short ac__type_sizeof_;
19319 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19320 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19322 #include <stdlib.h>
19327 FILE *f = fopen ("conftest.val", "w");
19330 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19332 long int i = longval ();
19333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19335 fprintf (f, "%ld\n", i);
19339 unsigned long int i = ulongval ();
19340 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19342 fprintf (f, "%lu\n", i);
19344 return ferror (f) || fclose (f) != 0;
19350 rm -f conftest$ac_exeext
19351 if { (ac_try="$ac_link"
19352 case "(($ac_try" in
19353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19354 *) ac_try_echo=$ac_try;;
19356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19357 (eval "$ac_link") 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19361 { (case "(($ac_try" in
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19363 *) ac_try_echo=$ac_try;;
19365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19366 (eval "$ac_try") 2>&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; }; then
19370 ac_cv_sizeof_short=`cat conftest.val`
19372 echo "$as_me: program exited with status $ac_status" >&5
19373 echo "$as_me: failed program was:" >&5
19374 sed 's
/^
/| /' conftest.$ac_ext >&5
19376 ( exit $ac_status )
19377 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19378 See \`config.log' for more details.
" >&5
19379 echo "$as_me: error
: cannot compute sizeof
(short
)
19380 See \
`config.log' for more details." >&2;}
19381 { (exit 77); exit 77; }; }
19383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19387 ac_cv_sizeof_short=0
19390 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19391 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19392 cat >>confdefs.h <<_ACEOF
19393 #define SIZEOF_SHORT $ac_cv_sizeof_short
19397 { echo "$as_me:$LINENO: checking for void *" >&5
19398 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19399 if test "${ac_cv_type_void_p+set}" = set; then
19400 echo $ECHO_N "(cached) $ECHO_C" >&6
19402 cat >conftest.$ac_ext <<_ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19409 typedef void * ac__type_new_;
19413 if ((ac__type_new_ *) 0)
19415 if (sizeof (ac__type_new_))
19421 rm -f conftest.$ac_objext
19422 if { (ac_try="$ac_compile"
19423 case "(($ac_try" in
19424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19425 *) ac_try_echo
=$ac_try;;
19427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19428 (eval "$ac_compile") 2>conftest.er1
19430 grep -v '^ *+' conftest.er1
>conftest.err
19432 cat conftest.err
>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } &&
19435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19436 { (case "(($ac_try" in
19437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19438 *) ac_try_echo=$ac_try;;
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_try") 2>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; } &&
19445 { ac_try='test -s conftest.$ac_objext'
19446 { (case "(($ac_try" in
19447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19448 *) ac_try_echo
=$ac_try;;
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_try") 2>&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); }; }; then
19455 ac_cv_type_void_p
=yes
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.
$ac_ext >&5
19460 ac_cv_type_void_p
=no
19463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19465 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19466 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19468 { echo "$as_me:$LINENO: checking size of void *" >&5
19469 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19470 if test "${ac_cv_sizeof_void_p+set}" = set; then
19471 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 if test "$ac_cv_type_void_p" = yes; then
19474 # The cast to long int works around a bug in the HP C Compiler
19475 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19476 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19477 # This bug is HP SR number 8606223364.
19478 if test "$cross_compiling" = yes; then
19479 # Depending upon the size, compute the lo and hi bounds.
19480 cat >conftest.
$ac_ext <<_ACEOF
19483 cat confdefs.h
>>conftest.
$ac_ext
19484 cat >>conftest.
$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19487 typedef void * ac__type_sizeof_;
19491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19498 rm -f conftest.
$ac_objext
19499 if { (ac_try
="$ac_compile"
19500 case "(($ac_try" in
19501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19502 *) ac_try_echo=$ac_try;;
19504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19505 (eval "$ac_compile") 2>conftest.er1
19507 grep -v '^ *+' conftest.er1 >conftest.err
19509 cat conftest.err >&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); } &&
19512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19513 { (case "(($ac_try" in
19514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19515 *) ac_try_echo
=$ac_try;;
19517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19518 (eval "$ac_try") 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try
='test -s conftest.$ac_objext'
19523 { (case "(($ac_try" in
19524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19525 *) ac_try_echo=$ac_try;;
19527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19528 (eval "$ac_try") 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; }; then
19534 cat >conftest.$ac_ext <<_ACEOF
19537 cat confdefs.h >>conftest.$ac_ext
19538 cat >>conftest.$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 $ac_includes_default
19541 typedef void * ac__type_sizeof_;
19545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19552 rm -f conftest.$ac_objext
19553 if { (ac_try="$ac_compile"
19554 case "(($ac_try" in
19555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19556 *) ac_try_echo
=$ac_try;;
19558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19559 (eval "$ac_compile") 2>conftest.er1
19561 grep -v '^ *+' conftest.er1
>conftest.err
19563 cat conftest.err
>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } &&
19566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19567 { (case "(($ac_try" in
19568 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19569 *) ac_try_echo=$ac_try;;
19571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19572 (eval "$ac_try") 2>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; } &&
19576 { ac_try='test -s conftest.$ac_objext'
19577 { (case "(($ac_try" in
19578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19579 *) ac_try_echo
=$ac_try;;
19581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19582 (eval "$ac_try") 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; }; then
19586 ac_hi
=$ac_mid; break
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.
$ac_ext >&5
19591 ac_lo
=`expr $ac_mid + 1`
19592 if test $ac_lo -le $ac_mid; then
19596 ac_mid
=`expr 2 '*' $ac_mid + 1`
19599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19602 echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.
$ac_ext >&5
19605 cat >conftest.
$ac_ext <<_ACEOF
19608 cat confdefs.h
>>conftest.
$ac_ext
19609 cat >>conftest.
$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef void * ac__type_sizeof_;
19616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19623 rm -f conftest.
$ac_objext
19624 if { (ac_try
="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19632 grep -v '^ *+' conftest.er1 >conftest.err
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } &&
19637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19638 { (case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19640 *) ac_try_echo
=$ac_try;;
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_try") 2>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; } &&
19647 { ac_try
='test -s conftest.$ac_objext'
19648 { (case "(($ac_try" in
19649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19650 *) ac_try_echo=$ac_try;;
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_try") 2>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19659 cat >conftest.$ac_ext <<_ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 $ac_includes_default
19666 typedef void * ac__type_sizeof_;
19670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19677 rm -f conftest.$ac_objext
19678 if { (ac_try="$ac_compile"
19679 case "(($ac_try" in
19680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19681 *) ac_try_echo
=$ac_try;;
19683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19684 (eval "$ac_compile") 2>conftest.er1
19686 grep -v '^ *+' conftest.er1
>conftest.err
19688 cat conftest.err
>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); } &&
19691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19692 { (case "(($ac_try" in
19693 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_try") 2>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; } &&
19701 { ac_try='test -s conftest.$ac_objext'
19702 { (case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19704 *) ac_try_echo
=$ac_try;;
19706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19707 (eval "$ac_try") 2>&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 ac_lo
=$ac_mid; break
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.
$ac_ext >&5
19716 ac_hi
=`expr '(' $ac_mid ')' - 1`
19717 if test $ac_mid -le $ac_hi; then
19721 ac_mid
=`expr 2 '*' $ac_mid`
19724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19727 echo "$as_me: failed program was:" >&5
19728 sed 's/^/| /' conftest.
$ac_ext >&5
19733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19737 # Binary search between lo and hi bounds.
19738 while test "x$ac_lo" != "x$ac_hi"; do
19739 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19740 cat >conftest.
$ac_ext <<_ACEOF
19743 cat confdefs.h
>>conftest.
$ac_ext
19744 cat >>conftest.
$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 $ac_includes_default
19747 typedef void * ac__type_sizeof_;
19751 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19758 rm -f conftest.
$ac_objext
19759 if { (ac_try
="$ac_compile"
19760 case "(($ac_try" in
19761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19762 *) ac_try_echo=$ac_try;;
19764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19765 (eval "$ac_compile") 2>conftest.er1
19767 grep -v '^ *+' conftest.er1 >conftest.err
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } &&
19772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19773 { (case "(($ac_try" in
19774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19775 *) ac_try_echo
=$ac_try;;
19777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19778 (eval "$ac_try") 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try
='test -s conftest.$ac_objext'
19783 { (case "(($ac_try" in
19784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19785 *) ac_try_echo=$ac_try;;
19787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19788 (eval "$ac_try") 2>&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 ac_lo=`expr '(' $ac_mid ')' + 1`
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19803 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19804 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19805 See \`config.log
' for more details." >&5
19806 echo "$as_me: error: cannot compute sizeof (void *)
19807 See \`config.log' for more details.
" >&2;}
19808 { (exit 77); exit 77; }; } ;;
19811 cat >conftest.$ac_ext <<_ACEOF
19814 cat confdefs.h >>conftest.$ac_ext
19815 cat >>conftest.$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19817 $ac_includes_default
19818 typedef void * ac__type_sizeof_;
19819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19822 #include <stdlib.h>
19827 FILE *f = fopen ("conftest.val
", "w
");
19830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19832 long int i = longval ();
19833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19835 fprintf (f, "%ld
\n", i);
19839 unsigned long int i = ulongval ();
19840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19842 fprintf (f, "%lu
\n", i);
19844 return ferror (f) || fclose (f) != 0;
19850 rm -f conftest$ac_exeext
19851 if { (ac_try="$ac_link"
19852 case "(($ac_try" in
19853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19854 *) ac_try_echo=$ac_try;;
19856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_link") 2>&5
19859 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19861 { (case "(($ac_try" in
19862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19863 *) ac_try_echo=$ac_try;;
19865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19866 (eval "$ac_try") 2>&5
19868 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19869 (exit $ac_status); }; }; then
19870 ac_cv_sizeof_void_p=`cat conftest.val`
19872 echo "$as_me: program exited with status
$ac_status" >&5
19873 echo "$as_me: failed program was
:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19876 ( exit $ac_status )
19877 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19878 See \
`config.log' for more details." >&5
19879 echo "$as_me: error: cannot compute sizeof (void *)
19880 See \`config.log
' for more details." >&2;}
19881 { (exit 77); exit 77; }; }
19883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19887 ac_cv_sizeof_void_p=0
19890 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19891 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19892 cat >>confdefs.h <<_ACEOF
19893 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19897 { echo "$as_me:$LINENO: checking for int" >&5
19898 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19899 if test "${ac_cv_type_int+set}" = set; then
19900 echo $ECHO_N "(cached) $ECHO_C" >&6
19902 cat >conftest.$ac_ext <<_ACEOF
19905 cat confdefs.h >>conftest.$ac_ext
19906 cat >>conftest.$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19908 $ac_includes_default
19909 typedef int ac__type_new_;
19913 if ((ac__type_new_ *) 0)
19915 if (sizeof (ac__type_new_))
19921 rm -f conftest.$ac_objext
19922 if { (ac_try="$ac_compile"
19923 case "(($ac_try" in
19924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19925 *) ac_try_echo=$ac_try;;
19927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19928 (eval "$ac_compile") 2>conftest.er1
19930 grep -v '^
*+' conftest.er1 >conftest.err
19932 cat conftest.err >&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } &&
19935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
19936 { (case "(($ac_try" in
19937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19938 *) ac_try_echo=$ac_try;;
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_try") 2>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.
$ac_objext'
19946 { (case "(($ac_try" in
19947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19948 *) ac_try_echo=$ac_try;;
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_try") 2>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19957 echo "$as_me: failed program was:" >&5
19958 sed 's
/^
/| /' conftest.$ac_ext >&5
19963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19965 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19966 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19968 { echo "$as_me:$LINENO: checking size of int" >&5
19969 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19970 if test "${ac_cv_sizeof_int+set}" = set; then
19971 echo $ECHO_N "(cached) $ECHO_C" >&6
19973 if test "$ac_cv_type_int" = yes; then
19974 # The cast to long int works around a bug in the HP C Compiler
19975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19977 # This bug is HP SR number 8606223364.
19978 if test "$cross_compiling" = yes; then
19979 # Depending upon the size, compute the lo and hi bounds.
19980 cat >conftest.
$ac_ext <<_ACEOF
19983 cat confdefs.h
>>conftest.
$ac_ext
19984 cat >>conftest.
$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef int ac__type_sizeof_;
19991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19998 rm -f conftest.
$ac_objext
19999 if { (ac_try
="$ac_compile"
20000 case "(($ac_try" in
20001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20002 *) ac_try_echo=$ac_try;;
20004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20005 (eval "$ac_compile") 2>conftest.er1
20007 grep -v '^ *+' conftest.er1 >conftest.err
20009 cat conftest.err >&5
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); } &&
20012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20013 { (case "(($ac_try" in
20014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20015 *) ac_try_echo
=$ac_try;;
20017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20018 (eval "$ac_try") 2>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try
='test -s conftest.$ac_objext'
20023 { (case "(($ac_try" in
20024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20025 *) ac_try_echo=$ac_try;;
20027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20028 (eval "$ac_try") 2>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20034 cat >conftest.$ac_ext <<_ACEOF
20037 cat confdefs.h >>conftest.$ac_ext
20038 cat >>conftest.$ac_ext <<_ACEOF
20039 /* end confdefs.h. */
20040 $ac_includes_default
20041 typedef int ac__type_sizeof_;
20045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20052 rm -f conftest.$ac_objext
20053 if { (ac_try="$ac_compile"
20054 case "(($ac_try" in
20055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20056 *) ac_try_echo
=$ac_try;;
20058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20059 (eval "$ac_compile") 2>conftest.er1
20061 grep -v '^ *+' conftest.er1
>conftest.err
20063 cat conftest.err
>&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); } &&
20066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20067 { (case "(($ac_try" in
20068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_try") 2>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; } &&
20076 { ac_try='test -s conftest.$ac_objext'
20077 { (case "(($ac_try" in
20078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20079 *) ac_try_echo
=$ac_try;;
20081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20082 (eval "$ac_try") 2>&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); }; }; then
20086 ac_hi
=$ac_mid; break
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.
$ac_ext >&5
20091 ac_lo
=`expr $ac_mid + 1`
20092 if test $ac_lo -le $ac_mid; then
20096 ac_mid
=`expr 2 '*' $ac_mid + 1`
20099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.
$ac_ext >&5
20105 cat >conftest.
$ac_ext <<_ACEOF
20108 cat confdefs.h
>>conftest.
$ac_ext
20109 cat >>conftest.
$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111 $ac_includes_default
20112 typedef int ac__type_sizeof_;
20116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20123 rm -f conftest.
$ac_objext
20124 if { (ac_try
="$ac_compile"
20125 case "(($ac_try" in
20126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20127 *) ac_try_echo=$ac_try;;
20129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20130 (eval "$ac_compile") 2>conftest.er1
20132 grep -v '^ *+' conftest.er1 >conftest.err
20134 cat conftest.err >&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } &&
20137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20138 { (case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20140 *) ac_try_echo
=$ac_try;;
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_try") 2>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; } &&
20147 { ac_try
='test -s conftest.$ac_objext'
20148 { (case "(($ac_try" in
20149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20150 *) ac_try_echo=$ac_try;;
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_try") 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; }; then
20159 cat >conftest.$ac_ext <<_ACEOF
20162 cat confdefs.h >>conftest.$ac_ext
20163 cat >>conftest.$ac_ext <<_ACEOF
20164 /* end confdefs.h. */
20165 $ac_includes_default
20166 typedef int ac__type_sizeof_;
20170 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20177 rm -f conftest.$ac_objext
20178 if { (ac_try="$ac_compile"
20179 case "(($ac_try" in
20180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20181 *) ac_try_echo
=$ac_try;;
20183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20184 (eval "$ac_compile") 2>conftest.er1
20186 grep -v '^ *+' conftest.er1
>conftest.err
20188 cat conftest.err
>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } &&
20191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20192 { (case "(($ac_try" in
20193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20194 *) ac_try_echo=$ac_try;;
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_try") 2>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; } &&
20201 { ac_try='test -s conftest.$ac_objext'
20202 { (case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20204 *) ac_try_echo
=$ac_try;;
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_try") 2>&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); }; }; then
20211 ac_lo
=$ac_mid; break
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.
$ac_ext >&5
20216 ac_hi
=`expr '(' $ac_mid ')' - 1`
20217 if test $ac_mid -le $ac_hi; then
20221 ac_mid
=`expr 2 '*' $ac_mid`
20224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20227 echo "$as_me: failed program was:" >&5
20228 sed 's/^/| /' conftest.
$ac_ext >&5
20233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20237 # Binary search between lo and hi bounds.
20238 while test "x$ac_lo" != "x$ac_hi"; do
20239 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20240 cat >conftest.
$ac_ext <<_ACEOF
20243 cat confdefs.h
>>conftest.
$ac_ext
20244 cat >>conftest.
$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20247 typedef int ac__type_sizeof_;
20251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20258 rm -f conftest.
$ac_objext
20259 if { (ac_try
="$ac_compile"
20260 case "(($ac_try" in
20261 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_compile") 2>conftest.er1
20267 grep -v '^ *+' conftest.er1 >conftest.err
20269 cat conftest.err >&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); } &&
20272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20273 { (case "(($ac_try" in
20274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20275 *) ac_try_echo
=$ac_try;;
20277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20278 (eval "$ac_try") 2>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; } &&
20282 { ac_try
='test -s conftest.$ac_objext'
20283 { (case "(($ac_try" in
20284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20285 *) ac_try_echo=$ac_try;;
20287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20288 (eval "$ac_try") 2>&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); }; }; then
20294 echo "$as_me: failed program was:" >&5
20295 sed 's/^/| /' conftest.$ac_ext >&5
20297 ac_lo=`expr '(' $ac_mid ')' + 1`
20300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20303 ?*) ac_cv_sizeof_int=$ac_lo;;
20304 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20305 See \`config.log
' for more details." >&5
20306 echo "$as_me: error: cannot compute sizeof (int)
20307 See \`config.log' for more details.
" >&2;}
20308 { (exit 77); exit 77; }; } ;;
20311 cat >conftest.$ac_ext <<_ACEOF
20314 cat confdefs.h >>conftest.$ac_ext
20315 cat >>conftest.$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20317 $ac_includes_default
20318 typedef int ac__type_sizeof_;
20319 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20320 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20322 #include <stdlib.h>
20327 FILE *f = fopen ("conftest.val
", "w
");
20330 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20332 long int i = longval ();
20333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20335 fprintf (f, "%ld
\n", i);
20339 unsigned long int i = ulongval ();
20340 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20342 fprintf (f, "%lu
\n", i);
20344 return ferror (f) || fclose (f) != 0;
20350 rm -f conftest$ac_exeext
20351 if { (ac_try="$ac_link"
20352 case "(($ac_try" in
20353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20354 *) ac_try_echo=$ac_try;;
20356 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20357 (eval "$ac_link") 2>&5
20359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20361 { (case "(($ac_try" in
20362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20363 *) ac_try_echo=$ac_try;;
20365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20366 (eval "$ac_try") 2>&5
20368 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20369 (exit $ac_status); }; }; then
20370 ac_cv_sizeof_int=`cat conftest.val`
20372 echo "$as_me: program exited with status
$ac_status" >&5
20373 echo "$as_me: failed program was
:" >&5
20374 sed 's/^/| /' conftest.$ac_ext >&5
20376 ( exit $ac_status )
20377 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20378 See \
`config.log' for more details." >&5
20379 echo "$as_me: error: cannot compute sizeof (int)
20380 See \`config.log
' for more details." >&2;}
20381 { (exit 77); exit 77; }; }
20383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20390 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20391 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20392 cat >>confdefs.h <<_ACEOF
20393 #define SIZEOF_INT $ac_cv_sizeof_int
20397 { echo "$as_me:$LINENO: checking for long" >&5
20398 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20399 if test "${ac_cv_type_long+set}" = set; then
20400 echo $ECHO_N "(cached) $ECHO_C" >&6
20402 cat >conftest.$ac_ext <<_ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 $ac_includes_default
20409 typedef long ac__type_new_;
20413 if ((ac__type_new_ *) 0)
20415 if (sizeof (ac__type_new_))
20421 rm -f conftest.$ac_objext
20422 if { (ac_try="$ac_compile"
20423 case "(($ac_try" in
20424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20425 *) ac_try_echo=$ac_try;;
20427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20428 (eval "$ac_compile") 2>conftest.er1
20430 grep -v '^
*+' conftest.er1 >conftest.err
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } &&
20435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
20436 { (case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_try") 2>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; } &&
20445 { ac_try='test -s conftest.
$ac_objext'
20446 { (case "(($ac_try" in
20447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20448 *) ac_try_echo=$ac_try;;
20450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20451 (eval "$ac_try") 2>&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); }; }; then
20455 ac_cv_type_long=yes
20457 echo "$as_me: failed program was:" >&5
20458 sed 's
/^
/| /' conftest.$ac_ext >&5
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20465 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20466 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20468 { echo "$as_me:$LINENO: checking size of long" >&5
20469 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20470 if test "${ac_cv_sizeof_long+set}" = set; then
20471 echo $ECHO_N "(cached) $ECHO_C" >&6
20473 if test "$ac_cv_type_long" = yes; then
20474 # The cast to long int works around a bug in the HP C Compiler
20475 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20476 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20477 # This bug is HP SR number 8606223364.
20478 if test "$cross_compiling" = yes; then
20479 # Depending upon the size, compute the lo and hi bounds.
20480 cat >conftest.
$ac_ext <<_ACEOF
20483 cat confdefs.h
>>conftest.
$ac_ext
20484 cat >>conftest.
$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 typedef long ac__type_sizeof_;
20491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20498 rm -f conftest.
$ac_objext
20499 if { (ac_try
="$ac_compile"
20500 case "(($ac_try" in
20501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20505 (eval "$ac_compile") 2>conftest.er1
20507 grep -v '^ *+' conftest.er1 >conftest.err
20509 cat conftest.err >&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } &&
20512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20513 { (case "(($ac_try" in
20514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20515 *) ac_try_echo
=$ac_try;;
20517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20518 (eval "$ac_try") 2>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); }; } &&
20522 { ac_try
='test -s conftest.$ac_objext'
20523 { (case "(($ac_try" in
20524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20525 *) ac_try_echo=$ac_try;;
20527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20528 (eval "$ac_try") 2>&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; }; then
20534 cat >conftest.$ac_ext <<_ACEOF
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h. */
20540 $ac_includes_default
20541 typedef long ac__type_sizeof_;
20545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20552 rm -f conftest.$ac_objext
20553 if { (ac_try="$ac_compile"
20554 case "(($ac_try" in
20555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20556 *) ac_try_echo
=$ac_try;;
20558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20559 (eval "$ac_compile") 2>conftest.er1
20561 grep -v '^ *+' conftest.er1
>conftest.err
20563 cat conftest.err
>&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); } &&
20566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20567 { (case "(($ac_try" in
20568 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20569 *) ac_try_echo=$ac_try;;
20571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20572 (eval "$ac_try") 2>&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; } &&
20576 { ac_try='test -s conftest.$ac_objext'
20577 { (case "(($ac_try" in
20578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20579 *) ac_try_echo
=$ac_try;;
20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20582 (eval "$ac_try") 2>&5
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); }; }; then
20586 ac_hi
=$ac_mid; break
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.
$ac_ext >&5
20591 ac_lo
=`expr $ac_mid + 1`
20592 if test $ac_lo -le $ac_mid; then
20596 ac_mid
=`expr 2 '*' $ac_mid + 1`
20599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.
$ac_ext >&5
20605 cat >conftest.
$ac_ext <<_ACEOF
20608 cat confdefs.h
>>conftest.
$ac_ext
20609 cat >>conftest.
$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20611 $ac_includes_default
20612 typedef long ac__type_sizeof_;
20616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20623 rm -f conftest.
$ac_objext
20624 if { (ac_try
="$ac_compile"
20625 case "(($ac_try" in
20626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20627 *) ac_try_echo=$ac_try;;
20629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20630 (eval "$ac_compile") 2>conftest.er1
20632 grep -v '^ *+' conftest.er1 >conftest.err
20634 cat conftest.err >&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } &&
20637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20638 { (case "(($ac_try" in
20639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20640 *) ac_try_echo
=$ac_try;;
20642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20643 (eval "$ac_try") 2>&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); }; } &&
20647 { ac_try
='test -s conftest.$ac_objext'
20648 { (case "(($ac_try" in
20649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;;
20652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20653 (eval "$ac_try") 2>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; }; then
20659 cat >conftest.$ac_ext <<_ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 $ac_includes_default
20666 typedef long ac__type_sizeof_;
20670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20677 rm -f conftest.$ac_objext
20678 if { (ac_try="$ac_compile"
20679 case "(($ac_try" in
20680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20681 *) ac_try_echo
=$ac_try;;
20683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20684 (eval "$ac_compile") 2>conftest.er1
20686 grep -v '^ *+' conftest.er1
>conftest.err
20688 cat conftest.err
>&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } &&
20691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20692 { (case "(($ac_try" in
20693 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_try") 2>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; } &&
20701 { ac_try='test -s conftest.$ac_objext'
20702 { (case "(($ac_try" in
20703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20704 *) ac_try_echo
=$ac_try;;
20706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20707 (eval "$ac_try") 2>&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); }; }; then
20711 ac_lo
=$ac_mid; break
20713 echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.
$ac_ext >&5
20716 ac_hi
=`expr '(' $ac_mid ')' - 1`
20717 if test $ac_mid -le $ac_hi; then
20721 ac_mid
=`expr 2 '*' $ac_mid`
20724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20727 echo "$as_me: failed program was:" >&5
20728 sed 's/^/| /' conftest.
$ac_ext >&5
20733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20737 # Binary search between lo and hi bounds.
20738 while test "x$ac_lo" != "x$ac_hi"; do
20739 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20740 cat >conftest.
$ac_ext <<_ACEOF
20743 cat confdefs.h
>>conftest.
$ac_ext
20744 cat >>conftest.
$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20746 $ac_includes_default
20747 typedef long ac__type_sizeof_;
20751 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20758 rm -f conftest.
$ac_objext
20759 if { (ac_try
="$ac_compile"
20760 case "(($ac_try" in
20761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20762 *) ac_try_echo=$ac_try;;
20764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20765 (eval "$ac_compile") 2>conftest.er1
20767 grep -v '^ *+' conftest.er1 >conftest.err
20769 cat conftest.err >&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } &&
20772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20773 { (case "(($ac_try" in
20774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20775 *) ac_try_echo
=$ac_try;;
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778 (eval "$ac_try") 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; } &&
20782 { ac_try
='test -s conftest.$ac_objext'
20783 { (case "(($ac_try" in
20784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20785 *) ac_try_echo=$ac_try;;
20787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20788 (eval "$ac_try") 2>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; }; then
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.$ac_ext >&5
20797 ac_lo=`expr '(' $ac_mid ')' + 1`
20800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20803 ?*) ac_cv_sizeof_long=$ac_lo;;
20804 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20805 See \`config.log
' for more details." >&5
20806 echo "$as_me: error: cannot compute sizeof (long)
20807 See \`config.log' for more details.
" >&2;}
20808 { (exit 77); exit 77; }; } ;;
20811 cat >conftest.$ac_ext <<_ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 $ac_includes_default
20818 typedef long ac__type_sizeof_;
20819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20822 #include <stdlib.h>
20827 FILE *f = fopen ("conftest.val
", "w
");
20830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20832 long int i = longval ();
20833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20835 fprintf (f, "%ld
\n", i);
20839 unsigned long int i = ulongval ();
20840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20842 fprintf (f, "%lu
\n", i);
20844 return ferror (f) || fclose (f) != 0;
20850 rm -f conftest$ac_exeext
20851 if { (ac_try="$ac_link"
20852 case "(($ac_try" in
20853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20854 *) ac_try_echo=$ac_try;;
20856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20857 (eval "$ac_link") 2>&5
20859 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20861 { (case "(($ac_try" in
20862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20863 *) ac_try_echo=$ac_try;;
20865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20866 (eval "$ac_try") 2>&5
20868 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 ac_cv_sizeof_long=`cat conftest.val`
20872 echo "$as_me: program exited with status
$ac_status" >&5
20873 echo "$as_me: failed program was
:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20876 ( exit $ac_status )
20877 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20878 See \
`config.log' for more details." >&5
20879 echo "$as_me: error: cannot compute sizeof (long)
20880 See \`config.log
' for more details." >&2;}
20881 { (exit 77); exit 77; }; }
20883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20887 ac_cv_sizeof_long=0
20890 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20891 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20892 cat >>confdefs.h <<_ACEOF
20893 #define SIZEOF_LONG $ac_cv_sizeof_long
20897 { echo "$as_me:$LINENO: checking for size_t" >&5
20898 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20899 if test "${ac_cv_type_size_t+set}" = set; then
20900 echo $ECHO_N "(cached) $ECHO_C" >&6
20902 cat >conftest.$ac_ext <<_ACEOF
20905 cat confdefs.h >>conftest.$ac_ext
20906 cat >>conftest.$ac_ext <<_ACEOF
20907 /* end confdefs.h. */
20908 $ac_includes_default
20909 typedef size_t ac__type_new_;
20913 if ((ac__type_new_ *) 0)
20915 if (sizeof (ac__type_new_))
20921 rm -f conftest.$ac_objext
20922 if { (ac_try="$ac_compile"
20923 case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20928 (eval "$ac_compile") 2>conftest.er1
20930 grep -v '^
*+' conftest.er1 >conftest.err
20932 cat conftest.err >&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); } &&
20935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
20936 { (case "(($ac_try" in
20937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20938 *) ac_try_echo=$ac_try;;
20940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20941 (eval "$ac_try") 2>&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; } &&
20945 { ac_try='test -s conftest.
$ac_objext'
20946 { (case "(($ac_try" in
20947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20948 *) ac_try_echo=$ac_try;;
20950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20951 (eval "$ac_try") 2>&5
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); }; }; then
20955 ac_cv_type_size_t=yes
20957 echo "$as_me: failed program was:" >&5
20958 sed 's
/^
/| /' conftest.$ac_ext >&5
20960 ac_cv_type_size_t=no
20963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20965 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20966 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20968 { echo "$as_me:$LINENO: checking size of size_t" >&5
20969 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20970 if test "${ac_cv_sizeof_size_t+set}" = set; then
20971 echo $ECHO_N "(cached) $ECHO_C" >&6
20973 if test "$ac_cv_type_size_t" = yes; then
20974 # The cast to long int works around a bug in the HP C Compiler
20975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20977 # This bug is HP SR number 8606223364.
20978 if test "$cross_compiling" = yes; then
20979 # Depending upon the size, compute the lo and hi bounds.
20980 cat >conftest.
$ac_ext <<_ACEOF
20983 cat confdefs.h
>>conftest.
$ac_ext
20984 cat >>conftest.
$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 $ac_includes_default
20987 typedef size_t ac__type_sizeof_;
20991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20998 rm -f conftest.
$ac_objext
20999 if { (ac_try
="$ac_compile"
21000 case "(($ac_try" in
21001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21002 *) ac_try_echo=$ac_try;;
21004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005 (eval "$ac_compile") 2>conftest.er1
21007 grep -v '^ *+' conftest.er1 >conftest.err
21009 cat conftest.err >&5
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); } &&
21012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21013 { (case "(($ac_try" in
21014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21015 *) ac_try_echo
=$ac_try;;
21017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21018 (eval "$ac_try") 2>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; } &&
21022 { ac_try
='test -s conftest.$ac_objext'
21023 { (case "(($ac_try" in
21024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21025 *) ac_try_echo=$ac_try;;
21027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21028 (eval "$ac_try") 2>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; }; then
21034 cat >conftest.$ac_ext <<_ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 $ac_includes_default
21041 typedef size_t ac__type_sizeof_;
21045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21052 rm -f conftest.$ac_objext
21053 if { (ac_try="$ac_compile"
21054 case "(($ac_try" in
21055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21056 *) ac_try_echo
=$ac_try;;
21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21059 (eval "$ac_compile") 2>conftest.er1
21061 grep -v '^ *+' conftest.er1
>conftest.err
21063 cat conftest.err
>&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } &&
21066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21067 { (case "(($ac_try" in
21068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21069 *) ac_try_echo=$ac_try;;
21071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21072 (eval "$ac_try") 2>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; } &&
21076 { ac_try='test -s conftest.$ac_objext'
21077 { (case "(($ac_try" in
21078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21079 *) ac_try_echo
=$ac_try;;
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_try") 2>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); }; }; then
21086 ac_hi
=$ac_mid; break
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.
$ac_ext >&5
21091 ac_lo
=`expr $ac_mid + 1`
21092 if test $ac_lo -le $ac_mid; then
21096 ac_mid
=`expr 2 '*' $ac_mid + 1`
21099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21102 echo "$as_me: failed program was:" >&5
21103 sed 's/^/| /' conftest.
$ac_ext >&5
21105 cat >conftest.
$ac_ext <<_ACEOF
21108 cat confdefs.h
>>conftest.
$ac_ext
21109 cat >>conftest.
$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21111 $ac_includes_default
21112 typedef size_t ac__type_sizeof_;
21116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21123 rm -f conftest.
$ac_objext
21124 if { (ac_try
="$ac_compile"
21125 case "(($ac_try" in
21126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21127 *) ac_try_echo=$ac_try;;
21129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21130 (eval "$ac_compile") 2>conftest.er1
21132 grep -v '^ *+' conftest.er1 >conftest.err
21134 cat conftest.err >&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); } &&
21137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21138 { (case "(($ac_try" in
21139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21140 *) ac_try_echo
=$ac_try;;
21142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21143 (eval "$ac_try") 2>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; } &&
21147 { ac_try
='test -s conftest.$ac_objext'
21148 { (case "(($ac_try" in
21149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_try") 2>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); }; }; then
21159 cat >conftest.$ac_ext <<_ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 $ac_includes_default
21166 typedef size_t ac__type_sizeof_;
21170 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21177 rm -f conftest.$ac_objext
21178 if { (ac_try="$ac_compile"
21179 case "(($ac_try" in
21180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21181 *) ac_try_echo
=$ac_try;;
21183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21184 (eval "$ac_compile") 2>conftest.er1
21186 grep -v '^ *+' conftest.er1
>conftest.err
21188 cat conftest.err
>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21192 { (case "(($ac_try" in
21193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21194 *) ac_try_echo=$ac_try;;
21196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21197 (eval "$ac_try") 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; } &&
21201 { ac_try='test -s conftest.$ac_objext'
21202 { (case "(($ac_try" in
21203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21204 *) ac_try_echo
=$ac_try;;
21206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21207 (eval "$ac_try") 2>&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_lo
=$ac_mid; break
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.
$ac_ext >&5
21216 ac_hi
=`expr '(' $ac_mid ')' - 1`
21217 if test $ac_mid -le $ac_hi; then
21221 ac_mid
=`expr 2 '*' $ac_mid`
21224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21227 echo "$as_me: failed program was:" >&5
21228 sed 's/^/| /' conftest.
$ac_ext >&5
21233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21237 # Binary search between lo and hi bounds.
21238 while test "x$ac_lo" != "x$ac_hi"; do
21239 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21240 cat >conftest.
$ac_ext <<_ACEOF
21243 cat confdefs.h
>>conftest.
$ac_ext
21244 cat >>conftest.
$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21246 $ac_includes_default
21247 typedef size_t ac__type_sizeof_;
21251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21258 rm -f conftest.
$ac_objext
21259 if { (ac_try
="$ac_compile"
21260 case "(($ac_try" in
21261 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21262 *) ac_try_echo=$ac_try;;
21264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21265 (eval "$ac_compile") 2>conftest.er1
21267 grep -v '^ *+' conftest.er1 >conftest.err
21269 cat conftest.err >&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } &&
21272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21273 { (case "(($ac_try" in
21274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21275 *) ac_try_echo
=$ac_try;;
21277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21278 (eval "$ac_try") 2>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; } &&
21282 { ac_try
='test -s conftest.$ac_objext'
21283 { (case "(($ac_try" in
21284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_try") 2>&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; }; then
21294 echo "$as_me: failed program was:" >&5
21295 sed 's/^/| /' conftest.$ac_ext >&5
21297 ac_lo=`expr '(' $ac_mid ')' + 1`
21300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21303 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21304 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21305 See \`config.log
' for more details." >&5
21306 echo "$as_me: error: cannot compute sizeof (size_t)
21307 See \`config.log' for more details.
" >&2;}
21308 { (exit 77); exit 77; }; } ;;
21311 cat >conftest.$ac_ext <<_ACEOF
21314 cat confdefs.h >>conftest.$ac_ext
21315 cat >>conftest.$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317 $ac_includes_default
21318 typedef size_t ac__type_sizeof_;
21319 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21320 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21322 #include <stdlib.h>
21327 FILE *f = fopen ("conftest.val
", "w
");
21330 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21332 long int i = longval ();
21333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21335 fprintf (f, "%ld
\n", i);
21339 unsigned long int i = ulongval ();
21340 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21342 fprintf (f, "%lu
\n", i);
21344 return ferror (f) || fclose (f) != 0;
21350 rm -f conftest$ac_exeext
21351 if { (ac_try="$ac_link"
21352 case "(($ac_try" in
21353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21354 *) ac_try_echo=$ac_try;;
21356 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21357 (eval "$ac_link") 2>&5
21359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21361 { (case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_try") 2>&5
21368 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 ac_cv_sizeof_size_t=`cat conftest.val`
21372 echo "$as_me: program exited with status
$ac_status" >&5
21373 echo "$as_me: failed program was
:" >&5
21374 sed 's/^/| /' conftest.$ac_ext >&5
21376 ( exit $ac_status )
21377 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21378 See \
`config.log' for more details." >&5
21379 echo "$as_me: error: cannot compute sizeof (size_t)
21380 See \`config.log
' for more details." >&2;}
21381 { (exit 77); exit 77; }; }
21383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21387 ac_cv_sizeof_size_t=0
21390 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21391 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21392 cat >>confdefs.h <<_ACEOF
21393 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21400 { echo "$as_me:$LINENO: checking for long long" >&5
21401 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21402 if test "${ac_cv_type_long_long+set}" = set; then
21403 echo $ECHO_N "(cached) $ECHO_C" >&6
21405 cat >conftest.$ac_ext <<_ACEOF
21408 cat confdefs.h >>conftest.$ac_ext
21409 cat >>conftest.$ac_ext <<_ACEOF
21410 /* end confdefs.h. */
21411 $ac_includes_default
21412 typedef long long ac__type_new_;
21416 if ((ac__type_new_ *) 0)
21418 if (sizeof (ac__type_new_))
21424 rm -f conftest.$ac_objext
21425 if { (ac_try="$ac_compile"
21426 case "(($ac_try" in
21427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21428 *) ac_try_echo=$ac_try;;
21430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21431 (eval "$ac_compile") 2>conftest.er1
21433 grep -v '^
*+' conftest.er1 >conftest.err
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
21439 { (case "(($ac_try" in
21440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21441 *) ac_try_echo=$ac_try;;
21443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21444 (eval "$ac_try") 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try='test -s conftest.
$ac_objext'
21449 { (case "(($ac_try" in
21450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21451 *) ac_try_echo=$ac_try;;
21453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21454 (eval "$ac_try") 2>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; }; then
21458 ac_cv_type_long_long=yes
21460 echo "$as_me: failed program was:" >&5
21461 sed 's
/^
/| /' conftest.$ac_ext >&5
21463 ac_cv_type_long_long=no
21466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21468 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21469 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21471 { echo "$as_me:$LINENO: checking size of long long" >&5
21472 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21473 if test "${ac_cv_sizeof_long_long+set}" = set; then
21474 echo $ECHO_N "(cached) $ECHO_C" >&6
21476 if test "$ac_cv_type_long_long" = yes; then
21477 # The cast to long int works around a bug in the HP C Compiler
21478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21480 # This bug is HP SR number 8606223364.
21481 if test "$cross_compiling" = yes; then
21482 # Depending upon the size, compute the lo and hi bounds.
21483 cat >conftest.
$ac_ext <<_ACEOF
21486 cat confdefs.h
>>conftest.
$ac_ext
21487 cat >>conftest.
$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21489 $ac_includes_default
21490 typedef long long ac__type_sizeof_;
21494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21501 rm -f conftest.
$ac_objext
21502 if { (ac_try
="$ac_compile"
21503 case "(($ac_try" in
21504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21505 *) ac_try_echo=$ac_try;;
21507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21508 (eval "$ac_compile") 2>conftest.er1
21510 grep -v '^ *+' conftest.er1 >conftest.err
21512 cat conftest.err >&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); } &&
21515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21516 { (case "(($ac_try" in
21517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21518 *) ac_try_echo
=$ac_try;;
21520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21521 (eval "$ac_try") 2>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; } &&
21525 { ac_try
='test -s conftest.$ac_objext'
21526 { (case "(($ac_try" in
21527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;;
21530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_try") 2>&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); }; }; then
21537 cat >conftest.$ac_ext <<_ACEOF
21540 cat confdefs.h >>conftest.$ac_ext
21541 cat >>conftest.$ac_ext <<_ACEOF
21542 /* end confdefs.h. */
21543 $ac_includes_default
21544 typedef long long ac__type_sizeof_;
21548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21555 rm -f conftest.$ac_objext
21556 if { (ac_try="$ac_compile"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21559 *) ac_try_echo
=$ac_try;;
21561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_compile") 2>conftest.er1
21564 grep -v '^ *+' conftest.er1
>conftest.err
21566 cat conftest.err
>&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); } &&
21569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21570 { (case "(($ac_try" in
21571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21572 *) ac_try_echo=$ac_try;;
21574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21575 (eval "$ac_try") 2>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; } &&
21579 { ac_try='test -s conftest.$ac_objext'
21580 { (case "(($ac_try" in
21581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21582 *) ac_try_echo
=$ac_try;;
21584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21585 (eval "$ac_try") 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 ac_hi
=$ac_mid; break
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.
$ac_ext >&5
21594 ac_lo
=`expr $ac_mid + 1`
21595 if test $ac_lo -le $ac_mid; then
21599 ac_mid
=`expr 2 '*' $ac_mid + 1`
21602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.
$ac_ext >&5
21608 cat >conftest.
$ac_ext <<_ACEOF
21611 cat confdefs.h
>>conftest.
$ac_ext
21612 cat >>conftest.
$ac_ext <<_ACEOF
21613 /* end confdefs.h. */
21614 $ac_includes_default
21615 typedef long long ac__type_sizeof_;
21619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21626 rm -f conftest.
$ac_objext
21627 if { (ac_try
="$ac_compile"
21628 case "(($ac_try" in
21629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21630 *) ac_try_echo=$ac_try;;
21632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21633 (eval "$ac_compile") 2>conftest.er1
21635 grep -v '^ *+' conftest.er1 >conftest.err
21637 cat conftest.err >&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); } &&
21640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21641 { (case "(($ac_try" in
21642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21643 *) ac_try_echo
=$ac_try;;
21645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21646 (eval "$ac_try") 2>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; } &&
21650 { ac_try
='test -s conftest.$ac_objext'
21651 { (case "(($ac_try" in
21652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21653 *) ac_try_echo=$ac_try;;
21655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21656 (eval "$ac_try") 2>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; }; then
21662 cat >conftest.$ac_ext <<_ACEOF
21665 cat confdefs.h >>conftest.$ac_ext
21666 cat >>conftest.$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21668 $ac_includes_default
21669 typedef long long ac__type_sizeof_;
21673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21680 rm -f conftest.$ac_objext
21681 if { (ac_try="$ac_compile"
21682 case "(($ac_try" in
21683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21684 *) ac_try_echo
=$ac_try;;
21686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21687 (eval "$ac_compile") 2>conftest.er1
21689 grep -v '^ *+' conftest.er1
>conftest.err
21691 cat conftest.err
>&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); } &&
21694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; } &&
21704 { ac_try='test -s conftest.$ac_objext'
21705 { (case "(($ac_try" in
21706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21707 *) ac_try_echo
=$ac_try;;
21709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21710 (eval "$ac_try") 2>&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 ac_lo
=$ac_mid; break
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.
$ac_ext >&5
21719 ac_hi
=`expr '(' $ac_mid ')' - 1`
21720 if test $ac_mid -le $ac_hi; then
21724 ac_mid
=`expr 2 '*' $ac_mid`
21727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.
$ac_ext >&5
21736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21740 # Binary search between lo and hi bounds.
21741 while test "x$ac_lo" != "x$ac_hi"; do
21742 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21743 cat >conftest.
$ac_ext <<_ACEOF
21746 cat confdefs.h
>>conftest.
$ac_ext
21747 cat >>conftest.
$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 $ac_includes_default
21750 typedef long long ac__type_sizeof_;
21754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21761 rm -f conftest.
$ac_objext
21762 if { (ac_try
="$ac_compile"
21763 case "(($ac_try" in
21764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21765 *) ac_try_echo=$ac_try;;
21767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21768 (eval "$ac_compile") 2>conftest.er1
21770 grep -v '^ *+' conftest.er1 >conftest.err
21772 cat conftest.err >&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); } &&
21775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21776 { (case "(($ac_try" in
21777 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21778 *) ac_try_echo
=$ac_try;;
21780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21781 (eval "$ac_try") 2>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; } &&
21785 { ac_try
='test -s conftest.$ac_objext'
21786 { (case "(($ac_try" in
21787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21788 *) ac_try_echo=$ac_try;;
21790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21791 (eval "$ac_try") 2>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21800 ac_lo=`expr '(' $ac_mid ')' + 1`
21803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21806 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21807 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21808 See \`config.log
' for more details." >&5
21809 echo "$as_me: error: cannot compute sizeof (long long)
21810 See \`config.log' for more details.
" >&2;}
21811 { (exit 77); exit 77; }; } ;;
21814 cat >conftest.$ac_ext <<_ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 $ac_includes_default
21821 typedef long long ac__type_sizeof_;
21822 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21823 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21825 #include <stdlib.h>
21830 FILE *f = fopen ("conftest.val
", "w
");
21833 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21835 long int i = longval ();
21836 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21838 fprintf (f, "%ld
\n", i);
21842 unsigned long int i = ulongval ();
21843 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21845 fprintf (f, "%lu
\n", i);
21847 return ferror (f) || fclose (f) != 0;
21853 rm -f conftest$ac_exeext
21854 if { (ac_try="$ac_link"
21855 case "(($ac_try" in
21856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857 *) ac_try_echo=$ac_try;;
21859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21860 (eval "$ac_link") 2>&5
21862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21864 { (case "(($ac_try" in
21865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21866 *) ac_try_echo=$ac_try;;
21868 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21869 (eval "$ac_try") 2>&5
21871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21872 (exit $ac_status); }; }; then
21873 ac_cv_sizeof_long_long=`cat conftest.val`
21875 echo "$as_me: program exited with status
$ac_status" >&5
21876 echo "$as_me: failed program was
:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21879 ( exit $ac_status )
21880 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21881 See \
`config.log' for more details." >&5
21882 echo "$as_me: error: cannot compute sizeof (long long)
21883 See \`config.log
' for more details." >&2;}
21884 { (exit 77); exit 77; }; }
21886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21890 ac_cv_sizeof_long_long=0
21893 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21894 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21895 cat >>confdefs.h <<_ACEOF
21896 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21902 { echo "$as_me:$LINENO: checking for long long" >&5
21903 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21904 if test "${ac_cv_type_long_long+set}" = set; then
21905 echo $ECHO_N "(cached) $ECHO_C" >&6
21907 cat >conftest.$ac_ext <<_ACEOF
21910 cat confdefs.h >>conftest.$ac_ext
21911 cat >>conftest.$ac_ext <<_ACEOF
21912 /* end confdefs.h. */
21913 $ac_includes_default
21914 typedef long long ac__type_new_;
21918 if ((ac__type_new_ *) 0)
21920 if (sizeof (ac__type_new_))
21926 rm -f conftest.$ac_objext
21927 if { (ac_try="$ac_compile"
21928 case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;;
21932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933 (eval "$ac_compile") 2>conftest.er1
21935 grep -v '^
*+' conftest.er1 >conftest.err
21937 cat conftest.err >&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); } &&
21940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
21941 { (case "(($ac_try" in
21942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21943 *) ac_try_echo=$ac_try;;
21945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21946 (eval "$ac_try") 2>&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; } &&
21950 { ac_try='test -s conftest.
$ac_objext'
21951 { (case "(($ac_try" in
21952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21953 *) ac_try_echo=$ac_try;;
21955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21956 (eval "$ac_try") 2>&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); }; }; then
21960 ac_cv_type_long_long=yes
21962 echo "$as_me: failed program was:" >&5
21963 sed 's
/^
/| /' conftest.$ac_ext >&5
21965 ac_cv_type_long_long=no
21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21970 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21971 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21973 { echo "$as_me:$LINENO: checking size of long long" >&5
21974 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21975 if test "${ac_cv_sizeof_long_long+set}" = set; then
21976 echo $ECHO_N "(cached) $ECHO_C" >&6
21978 if test "$ac_cv_type_long_long" = yes; then
21979 # The cast to long int works around a bug in the HP C Compiler
21980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21982 # This bug is HP SR number 8606223364.
21983 if test "$cross_compiling" = yes; then
21984 # Depending upon the size, compute the lo and hi bounds.
21985 cat >conftest.
$ac_ext <<_ACEOF
21988 cat confdefs.h
>>conftest.
$ac_ext
21989 cat >>conftest.
$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef long long ac__type_sizeof_;
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22003 rm -f conftest.
$ac_objext
22004 if { (ac_try
="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22012 grep -v '^ *+' conftest.er1 >conftest.err
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } &&
22017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22018 { (case "(($ac_try" in
22019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22020 *) ac_try_echo
=$ac_try;;
22022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22023 (eval "$ac_try") 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try
='test -s conftest.$ac_objext'
22028 { (case "(($ac_try" in
22029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_try") 2>&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; }; then
22039 cat >conftest.$ac_ext <<_ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 $ac_includes_default
22046 typedef long long ac__type_sizeof_;
22050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
22059 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22061 *) ac_try_echo
=$ac_try;;
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_compile") 2>conftest.er1
22066 grep -v '^ *+' conftest.er1
>conftest.err
22068 cat conftest.err
>&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } &&
22071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22072 { (case "(($ac_try" in
22073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22074 *) ac_try_echo=$ac_try;;
22076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077 (eval "$ac_try") 2>&5
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; } &&
22081 { ac_try='test -s conftest.$ac_objext'
22082 { (case "(($ac_try" in
22083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22084 *) ac_try_echo
=$ac_try;;
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_try") 2>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; }; then
22091 ac_hi
=$ac_mid; break
22093 echo "$as_me: failed program was:" >&5
22094 sed 's/^/| /' conftest.
$ac_ext >&5
22096 ac_lo
=`expr $ac_mid + 1`
22097 if test $ac_lo -le $ac_mid; then
22101 ac_mid
=`expr 2 '*' $ac_mid + 1`
22104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.
$ac_ext >&5
22110 cat >conftest.
$ac_ext <<_ACEOF
22113 cat confdefs.h
>>conftest.
$ac_ext
22114 cat >>conftest.
$ac_ext <<_ACEOF
22115 /* end confdefs.h. */
22116 $ac_includes_default
22117 typedef long long ac__type_sizeof_;
22121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22128 rm -f conftest.
$ac_objext
22129 if { (ac_try
="$ac_compile"
22130 case "(($ac_try" in
22131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22132 *) ac_try_echo=$ac_try;;
22134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22135 (eval "$ac_compile") 2>conftest.er1
22137 grep -v '^ *+' conftest.er1 >conftest.err
22139 cat conftest.err >&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } &&
22142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22143 { (case "(($ac_try" in
22144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22145 *) ac_try_echo
=$ac_try;;
22147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22148 (eval "$ac_try") 2>&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); }; } &&
22152 { ac_try
='test -s conftest.$ac_objext'
22153 { (case "(($ac_try" in
22154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22155 *) ac_try_echo=$ac_try;;
22157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22158 (eval "$ac_try") 2>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; }; then
22164 cat >conftest.$ac_ext <<_ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22170 $ac_includes_default
22171 typedef long long ac__type_sizeof_;
22175 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22182 rm -f conftest.$ac_objext
22183 if { (ac_try="$ac_compile"
22184 case "(($ac_try" in
22185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22186 *) ac_try_echo
=$ac_try;;
22188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22189 (eval "$ac_compile") 2>conftest.er1
22191 grep -v '^ *+' conftest.er1
>conftest.err
22193 cat conftest.err
>&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } &&
22196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22197 { (case "(($ac_try" in
22198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22199 *) ac_try_echo=$ac_try;;
22201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22202 (eval "$ac_try") 2>&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); }; } &&
22206 { ac_try='test -s conftest.$ac_objext'
22207 { (case "(($ac_try" in
22208 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22209 *) ac_try_echo
=$ac_try;;
22211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22212 (eval "$ac_try") 2>&5
22214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22215 (exit $ac_status); }; }; then
22216 ac_lo
=$ac_mid; break
22218 echo "$as_me: failed program was:" >&5
22219 sed 's/^/| /' conftest.
$ac_ext >&5
22221 ac_hi
=`expr '(' $ac_mid ')' - 1`
22222 if test $ac_mid -le $ac_hi; then
22226 ac_mid
=`expr 2 '*' $ac_mid`
22229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22232 echo "$as_me: failed program was:" >&5
22233 sed 's/^/| /' conftest.
$ac_ext >&5
22238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22242 # Binary search between lo and hi bounds.
22243 while test "x$ac_lo" != "x$ac_hi"; do
22244 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22245 cat >conftest.
$ac_ext <<_ACEOF
22248 cat confdefs.h
>>conftest.
$ac_ext
22249 cat >>conftest.
$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22251 $ac_includes_default
22252 typedef long long ac__type_sizeof_;
22256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22263 rm -f conftest.
$ac_objext
22264 if { (ac_try
="$ac_compile"
22265 case "(($ac_try" in
22266 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22267 *) ac_try_echo=$ac_try;;
22269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22270 (eval "$ac_compile") 2>conftest.er1
22272 grep -v '^ *+' conftest.er1 >conftest.err
22274 cat conftest.err >&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } &&
22277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22278 { (case "(($ac_try" in
22279 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22280 *) ac_try_echo
=$ac_try;;
22282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22283 (eval "$ac_try") 2>&5
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; } &&
22287 { ac_try
='test -s conftest.$ac_objext'
22288 { (case "(($ac_try" in
22289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22290 *) ac_try_echo=$ac_try;;
22292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22293 (eval "$ac_try") 2>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; }; then
22299 echo "$as_me: failed program was:" >&5
22300 sed 's/^/| /' conftest.$ac_ext >&5
22302 ac_lo=`expr '(' $ac_mid ')' + 1`
22305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22308 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22309 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22310 See \`config.log
' for more details." >&5
22311 echo "$as_me: error: cannot compute sizeof (long long)
22312 See \`config.log' for more details.
" >&2;}
22313 { (exit 77); exit 77; }; } ;;
22316 cat >conftest.$ac_ext <<_ACEOF
22319 cat confdefs.h >>conftest.$ac_ext
22320 cat >>conftest.$ac_ext <<_ACEOF
22321 /* end confdefs.h. */
22322 $ac_includes_default
22323 typedef long long ac__type_sizeof_;
22324 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22325 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22327 #include <stdlib.h>
22332 FILE *f = fopen ("conftest.val
", "w
");
22335 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22337 long int i = longval ();
22338 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22340 fprintf (f, "%ld
\n", i);
22344 unsigned long int i = ulongval ();
22345 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22347 fprintf (f, "%lu
\n", i);
22349 return ferror (f) || fclose (f) != 0;
22355 rm -f conftest$ac_exeext
22356 if { (ac_try="$ac_link"
22357 case "(($ac_try" in
22358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22359 *) ac_try_echo=$ac_try;;
22361 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22362 (eval "$ac_link") 2>&5
22364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22366 { (case "(($ac_try" in
22367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22368 *) ac_try_echo=$ac_try;;
22370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22371 (eval "$ac_try") 2>&5
22373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22374 (exit $ac_status); }; }; then
22375 ac_cv_sizeof_long_long=`cat conftest.val`
22377 echo "$as_me: program exited with status
$ac_status" >&5
22378 echo "$as_me: failed program was
:" >&5
22379 sed 's/^/| /' conftest.$ac_ext >&5
22381 ( exit $ac_status )
22382 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22383 See \
`config.log' for more details." >&5
22384 echo "$as_me: error: cannot compute sizeof (long long)
22385 See \`config.log
' for more details." >&2;}
22386 { (exit 77); exit 77; }; }
22388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22392 ac_cv_sizeof_long_long=0
22395 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22396 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22397 cat >>confdefs.h <<_ACEOF
22398 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22402 if test "$ac_cv_sizeof_long_long" != "0"; then
22403 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22407 { echo "$as_me:$LINENO: checking for long long" >&5
22408 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22409 if test "${ac_cv_type_long_long+set}" = set; then
22410 echo $ECHO_N "(cached) $ECHO_C" >&6
22412 cat >conftest.$ac_ext <<_ACEOF
22415 cat confdefs.h >>conftest.$ac_ext
22416 cat >>conftest.$ac_ext <<_ACEOF
22417 /* end confdefs.h. */
22418 $ac_includes_default
22419 typedef long long ac__type_new_;
22423 if ((ac__type_new_ *) 0)
22425 if (sizeof (ac__type_new_))
22431 rm -f conftest.$ac_objext
22432 if { (ac_try="$ac_compile"
22433 case "(($ac_try" in
22434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22435 *) ac_try_echo=$ac_try;;
22437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22438 (eval "$ac_compile") 2>conftest.er1
22440 grep -v '^
*+' conftest.er1 >conftest.err
22442 cat conftest.err >&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); } &&
22445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
22446 { (case "(($ac_try" in
22447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22448 *) ac_try_echo=$ac_try;;
22450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22451 (eval "$ac_try") 2>&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); }; } &&
22455 { ac_try='test -s conftest.
$ac_objext'
22456 { (case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_try") 2>&5
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); }; }; then
22465 ac_cv_type_long_long=yes
22467 echo "$as_me: failed program was:" >&5
22468 sed 's
/^
/| /' conftest.$ac_ext >&5
22470 ac_cv_type_long_long=no
22473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22475 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22476 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22478 { echo "$as_me:$LINENO: checking size of long long" >&5
22479 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22480 if test "${ac_cv_sizeof_long_long+set}" = set; then
22481 echo $ECHO_N "(cached) $ECHO_C" >&6
22483 if test "$ac_cv_type_long_long" = yes; then
22484 # The cast to long int works around a bug in the HP C Compiler
22485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22487 # This bug is HP SR number 8606223364.
22488 if test "$cross_compiling" = yes; then
22489 # Depending upon the size, compute the lo and hi bounds.
22490 cat >conftest.
$ac_ext <<_ACEOF
22493 cat confdefs.h
>>conftest.
$ac_ext
22494 cat >>conftest.
$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 $ac_includes_default
22497 typedef long long ac__type_sizeof_;
22501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22508 rm -f conftest.
$ac_objext
22509 if { (ac_try
="$ac_compile"
22510 case "(($ac_try" in
22511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22512 *) ac_try_echo=$ac_try;;
22514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515 (eval "$ac_compile") 2>conftest.er1
22517 grep -v '^ *+' conftest.er1 >conftest.err
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } &&
22522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22523 { (case "(($ac_try" in
22524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22525 *) ac_try_echo
=$ac_try;;
22527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22528 (eval "$ac_try") 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; } &&
22532 { ac_try
='test -s conftest.$ac_objext'
22533 { (case "(($ac_try" in
22534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22535 *) ac_try_echo=$ac_try;;
22537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22538 (eval "$ac_try") 2>&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; }; then
22544 cat >conftest.$ac_ext <<_ACEOF
22547 cat confdefs.h >>conftest.$ac_ext
22548 cat >>conftest.$ac_ext <<_ACEOF
22549 /* end confdefs.h. */
22550 $ac_includes_default
22551 typedef long long ac__type_sizeof_;
22555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22562 rm -f conftest.$ac_objext
22563 if { (ac_try="$ac_compile"
22564 case "(($ac_try" in
22565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22566 *) ac_try_echo
=$ac_try;;
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_compile") 2>conftest.er1
22571 grep -v '^ *+' conftest.er1
>conftest.err
22573 cat conftest.err
>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22577 { (case "(($ac_try" in
22578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22579 *) ac_try_echo=$ac_try;;
22581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22582 (eval "$ac_try") 2>&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; } &&
22586 { ac_try='test -s conftest.$ac_objext'
22587 { (case "(($ac_try" in
22588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22589 *) ac_try_echo
=$ac_try;;
22591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22592 (eval "$ac_try") 2>&5
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 ac_hi
=$ac_mid; break
22598 echo "$as_me: failed program was:" >&5
22599 sed 's/^/| /' conftest.
$ac_ext >&5
22601 ac_lo
=`expr $ac_mid + 1`
22602 if test $ac_lo -le $ac_mid; then
22606 ac_mid
=`expr 2 '*' $ac_mid + 1`
22609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22612 echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.
$ac_ext >&5
22615 cat >conftest.
$ac_ext <<_ACEOF
22618 cat confdefs.h
>>conftest.
$ac_ext
22619 cat >>conftest.
$ac_ext <<_ACEOF
22620 /* end confdefs.h. */
22621 $ac_includes_default
22622 typedef long long ac__type_sizeof_;
22626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22633 rm -f conftest.
$ac_objext
22634 if { (ac_try
="$ac_compile"
22635 case "(($ac_try" in
22636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22637 *) ac_try_echo=$ac_try;;
22639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22640 (eval "$ac_compile") 2>conftest.er1
22642 grep -v '^ *+' conftest.er1 >conftest.err
22644 cat conftest.err >&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } &&
22647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22648 { (case "(($ac_try" in
22649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22650 *) ac_try_echo
=$ac_try;;
22652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22653 (eval "$ac_try") 2>&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); }; } &&
22657 { ac_try
='test -s conftest.$ac_objext'
22658 { (case "(($ac_try" in
22659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22660 *) ac_try_echo=$ac_try;;
22662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22663 (eval "$ac_try") 2>&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); }; }; then
22669 cat >conftest.$ac_ext <<_ACEOF
22672 cat confdefs.h >>conftest.$ac_ext
22673 cat >>conftest.$ac_ext <<_ACEOF
22674 /* end confdefs.h. */
22675 $ac_includes_default
22676 typedef long long ac__type_sizeof_;
22680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22687 rm -f conftest.$ac_objext
22688 if { (ac_try="$ac_compile"
22689 case "(($ac_try" in
22690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22691 *) ac_try_echo
=$ac_try;;
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_compile") 2>conftest.er1
22696 grep -v '^ *+' conftest.er1
>conftest.err
22698 cat conftest.err
>&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } &&
22701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22702 { (case "(($ac_try" in
22703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_try") 2>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try='test -s conftest.$ac_objext'
22712 { (case "(($ac_try" in
22713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22714 *) ac_try_echo
=$ac_try;;
22716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22717 (eval "$ac_try") 2>&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 ac_lo
=$ac_mid; break
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.
$ac_ext >&5
22726 ac_hi
=`expr '(' $ac_mid ')' - 1`
22727 if test $ac_mid -le $ac_hi; then
22731 ac_mid
=`expr 2 '*' $ac_mid`
22734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.
$ac_ext >&5
22743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22747 # Binary search between lo and hi bounds.
22748 while test "x$ac_lo" != "x$ac_hi"; do
22749 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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_sizeof_;
22761 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22768 rm -f conftest.
$ac_objext
22769 if { (ac_try
="$ac_compile"
22770 case "(($ac_try" in
22771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22772 *) ac_try_echo=$ac_try;;
22774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22775 (eval "$ac_compile") 2>conftest.er1
22777 grep -v '^ *+' conftest.er1 >conftest.err
22779 cat conftest.err >&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } &&
22782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22783 { (case "(($ac_try" in
22784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22785 *) ac_try_echo
=$ac_try;;
22787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22788 (eval "$ac_try") 2>&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); }; } &&
22792 { ac_try
='test -s conftest.$ac_objext'
22793 { (case "(($ac_try" in
22794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22795 *) ac_try_echo=$ac_try;;
22797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22798 (eval "$ac_try") 2>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; }; then
22804 echo "$as_me: failed program was:" >&5
22805 sed 's/^/| /' conftest.$ac_ext >&5
22807 ac_lo=`expr '(' $ac_mid ')' + 1`
22810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22813 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22814 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22815 See \`config.log
' for more details." >&5
22816 echo "$as_me: error: cannot compute sizeof (long long)
22817 See \`config.log' for more details.
" >&2;}
22818 { (exit 77); exit 77; }; } ;;
22821 cat >conftest.$ac_ext <<_ACEOF
22824 cat confdefs.h >>conftest.$ac_ext
22825 cat >>conftest.$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 typedef long long ac__type_sizeof_;
22829 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22830 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22832 #include <stdlib.h>
22837 FILE *f = fopen ("conftest.val
", "w
");
22840 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22842 long int i = longval ();
22843 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22845 fprintf (f, "%ld
\n", i);
22849 unsigned long int i = ulongval ();
22850 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22852 fprintf (f, "%lu
\n", i);
22854 return ferror (f) || fclose (f) != 0;
22860 rm -f conftest$ac_exeext
22861 if { (ac_try="$ac_link"
22862 case "(($ac_try" in
22863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22864 *) ac_try_echo=$ac_try;;
22866 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22867 (eval "$ac_link") 2>&5
22869 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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
22880 ac_cv_sizeof_long_long=`cat conftest.val`
22882 echo "$as_me: program exited with status
$ac_status" >&5
22883 echo "$as_me: failed program was
:" >&5
22884 sed 's/^/| /' conftest.$ac_ext >&5
22886 ( exit $ac_status )
22887 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22888 See \
`config.log' for more details." >&5
22889 echo "$as_me: error: cannot compute sizeof (long long)
22890 See \`config.log
' for more details." >&2;}
22891 { (exit 77); exit 77; }; }
22893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22897 ac_cv_sizeof_long_long=0
22900 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22901 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22902 cat >>confdefs.h <<_ACEOF
22903 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22909 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22910 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22911 if test "${ac_cv_type_wchar_t+set}" = set; then
22912 echo $ECHO_N "(cached) $ECHO_C" >&6
22914 cat >conftest.$ac_ext <<_ACEOF
22917 cat confdefs.h >>conftest.$ac_ext
22918 cat >>conftest.$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22921 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22922 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22923 # error "fake wchar_t"
22925 #ifdef HAVE_WCHAR_H
22927 # include <stddef.h>
22929 # include <wchar.h>
22931 #ifdef HAVE_STDLIB_H
22932 # include <stdlib.h>
22938 typedef wchar_t ac__type_new_
;
22942 if ((ac__type_new_
*) 0)
22944 if (sizeof
(ac__type_new_
))
22950 rm -f conftest.
$ac_objext
22951 if { (ac_try
="$ac_compile"
22952 case "(($ac_try" in
22953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22954 *) ac_try_echo=$ac_try;;
22956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22957 (eval "$ac_compile") 2>conftest.er1
22959 grep -v '^ *+' conftest.er1 >conftest.err
22961 cat conftest.err >&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } &&
22964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22965 { (case "(($ac_try" in
22966 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22967 *) ac_try_echo
=$ac_try;;
22969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22970 (eval "$ac_try") 2>&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); }; } &&
22974 { ac_try
='test -s conftest.$ac_objext'
22975 { (case "(($ac_try" in
22976 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22977 *) ac_try_echo=$ac_try;;
22979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22980 (eval "$ac_try") 2>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); }; }; then
22984 ac_cv_type_wchar_t=yes
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.$ac_ext >&5
22989 ac_cv_type_wchar_t=no
22992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22994 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22995 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22997 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22998 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22999 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23000 echo $ECHO_N "(cached) $ECHO_C" >&6
23002 if test "$ac_cv_type_wchar_t" = yes; then
23003 # The cast to long int works around a bug in the HP C Compiler
23004 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23005 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23006 # This bug is HP SR number 8606223364.
23007 if test "$cross_compiling" = yes; then
23008 # Depending upon the size, compute the lo and hi bounds.
23009 cat >conftest.$ac_ext <<_ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23016 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23017 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23018 # error "fake wchar_t"
23020 #ifdef HAVE_WCHAR_H
23022 # include <stddef.h>
23024 # include <wchar.h>
23026 #ifdef HAVE_STDLIB_H
23027 # include <stdlib.h>
23033 typedef wchar_t ac__type_sizeof_
;
23037 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23044 rm -f conftest.
$ac_objext
23045 if { (ac_try
="$ac_compile"
23046 case "(($ac_try" in
23047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23048 *) ac_try_echo=$ac_try;;
23050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23051 (eval "$ac_compile") 2>conftest.er1
23053 grep -v '^ *+' conftest.er1 >conftest.err
23055 cat conftest.err >&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); } &&
23058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23059 { (case "(($ac_try" in
23060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23061 *) ac_try_echo
=$ac_try;;
23063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23064 (eval "$ac_try") 2>&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); }; } &&
23068 { ac_try
='test -s conftest.$ac_objext'
23069 { (case "(($ac_try" in
23070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_try") 2>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; }; then
23080 cat >conftest.$ac_ext <<_ACEOF
23083 cat confdefs.h >>conftest.$ac_ext
23084 cat >>conftest.$ac_ext <<_ACEOF
23085 /* end confdefs.h. */
23087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23089 # error "fake wchar_t"
23091 #ifdef HAVE_WCHAR_H
23093 # include <stddef.h>
23095 # include <wchar.h>
23097 #ifdef HAVE_STDLIB_H
23098 # include <stdlib.h>
23104 typedef wchar_t ac__type_sizeof_;
23108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23115 rm -f conftest.$ac_objext
23116 if { (ac_try="$ac_compile"
23117 case "(($ac_try" in
23118 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23119 *) ac_try_echo
=$ac_try;;
23121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23122 (eval "$ac_compile") 2>conftest.er1
23124 grep -v '^ *+' conftest.er1
>conftest.err
23126 cat conftest.err
>&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } &&
23129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23130 { (case "(($ac_try" in
23131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23132 *) ac_try_echo=$ac_try;;
23134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23135 (eval "$ac_try") 2>&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); }; } &&
23139 { ac_try='test -s conftest.$ac_objext'
23140 { (case "(($ac_try" in
23141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23142 *) ac_try_echo
=$ac_try;;
23144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23145 (eval "$ac_try") 2>&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; }; then
23149 ac_hi
=$ac_mid; break
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.
$ac_ext >&5
23154 ac_lo
=`expr $ac_mid + 1`
23155 if test $ac_lo -le $ac_mid; then
23159 ac_mid
=`expr 2 '*' $ac_mid + 1`
23162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.
$ac_ext >&5
23168 cat >conftest.
$ac_ext <<_ACEOF
23171 cat confdefs.h
>>conftest.
$ac_ext
23172 cat >>conftest.
$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23175 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23176 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23177 # error "fake wchar_t"
23179 #ifdef HAVE_WCHAR_H
23181 # include <stddef.h>
23183 # include <wchar.h>
23185 #ifdef HAVE_STDLIB_H
23186 # include <stdlib.h>
23192 typedef wchar_t ac__type_sizeof_;
23196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23203 rm -f conftest.
$ac_objext
23204 if { (ac_try
="$ac_compile"
23205 case "(($ac_try" in
23206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23207 *) ac_try_echo=$ac_try;;
23209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23210 (eval "$ac_compile") 2>conftest.er1
23212 grep -v '^ *+' conftest.er1 >conftest.err
23214 cat conftest.err >&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } &&
23217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23218 { (case "(($ac_try" in
23219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23220 *) ac_try_echo
=$ac_try;;
23222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23223 (eval "$ac_try") 2>&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); }; } &&
23227 { ac_try
='test -s conftest.$ac_objext'
23228 { (case "(($ac_try" in
23229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23230 *) ac_try_echo=$ac_try;;
23232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23233 (eval "$ac_try") 2>&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23239 cat >conftest.$ac_ext <<_ACEOF
23242 cat confdefs.h >>conftest.$ac_ext
23243 cat >>conftest.$ac_ext <<_ACEOF
23244 /* end confdefs.h. */
23246 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23247 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23248 # error "fake wchar_t"
23250 #ifdef HAVE_WCHAR_H
23252 # include <stddef.h>
23254 # include <wchar.h>
23256 #ifdef HAVE_STDLIB_H
23257 # include <stdlib.h>
23263 typedef wchar_t ac__type_sizeof_;
23267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
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_lo
=$ac_mid; break
23310 echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.
$ac_ext >&5
23313 ac_hi
=`expr '(' $ac_mid ')' - 1`
23314 if test $ac_mid -le $ac_hi; then
23318 ac_mid
=`expr 2 '*' $ac_mid`
23321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23324 echo "$as_me: failed program was:" >&5
23325 sed 's/^/| /' conftest.
$ac_ext >&5
23330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23334 # Binary search between lo and hi bounds.
23335 while test "x$ac_lo" != "x$ac_hi"; do
23336 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23337 cat >conftest.
$ac_ext <<_ACEOF
23340 cat confdefs.h
>>conftest.
$ac_ext
23341 cat >>conftest.
$ac_ext <<_ACEOF
23342 /* end confdefs.h. */
23344 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23345 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23346 # error "fake wchar_t"
23348 #ifdef HAVE_WCHAR_H
23350 # include <stddef.h>
23352 # include <wchar.h>
23354 #ifdef HAVE_STDLIB_H
23355 # include <stdlib.h>
23361 typedef wchar_t ac__type_sizeof_;
23365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23372 rm -f conftest.
$ac_objext
23373 if { (ac_try
="$ac_compile"
23374 case "(($ac_try" in
23375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23376 *) ac_try_echo=$ac_try;;
23378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23379 (eval "$ac_compile") 2>conftest.er1
23381 grep -v '^ *+' conftest.er1 >conftest.err
23383 cat conftest.err >&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } &&
23386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23387 { (case "(($ac_try" in
23388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23389 *) ac_try_echo
=$ac_try;;
23391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23392 (eval "$ac_try") 2>&5
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); }; } &&
23396 { ac_try
='test -s conftest.$ac_objext'
23397 { (case "(($ac_try" in
23398 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23399 *) ac_try_echo=$ac_try;;
23401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23402 (eval "$ac_try") 2>&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; }; then
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23411 ac_lo=`expr '(' $ac_mid ')' + 1`
23414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23418 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23419 See \`config.log
' for more details." >&5
23420 echo "$as_me: error: cannot compute sizeof (wchar_t)
23421 See \`config.log' for more details.
" >&2;}
23422 { (exit 77); exit 77; }; } ;;
23425 cat >conftest.$ac_ext <<_ACEOF
23428 cat confdefs.h >>conftest.$ac_ext
23429 cat >>conftest.$ac_ext <<_ACEOF
23430 /* end confdefs.h. */
23432 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23433 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23434 # error "fake wchar_t
"
23436 #ifdef HAVE_WCHAR_H
23438 # include <stddef.h>
23440 # include <wchar.h>
23442 #ifdef HAVE_STDLIB_H
23443 # include <stdlib.h>
23449 typedef wchar_t ac__type_sizeof_;
23450 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23451 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23453 #include <stdlib.h>
23458 FILE *f = fopen ("conftest.val
", "w
");
23461 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23463 long int i = longval ();
23464 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23466 fprintf (f, "%ld
\n", i);
23470 unsigned long int i = ulongval ();
23471 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23473 fprintf (f, "%lu
\n", i);
23475 return ferror (f) || fclose (f) != 0;
23481 rm -f conftest$ac_exeext
23482 if { (ac_try="$ac_link"
23483 case "(($ac_try" in
23484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23485 *) ac_try_echo=$ac_try;;
23487 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23488 (eval "$ac_link") 2>&5
23490 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23491 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23492 { (case "(($ac_try" in
23493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23494 *) ac_try_echo=$ac_try;;
23496 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23497 (eval "$ac_try") 2>&5
23499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23500 (exit $ac_status); }; }; then
23501 ac_cv_sizeof_wchar_t=`cat conftest.val`
23503 echo "$as_me: program exited with status
$ac_status" >&5
23504 echo "$as_me: failed program was
:" >&5
23505 sed 's/^/| /' conftest.$ac_ext >&5
23507 ( exit $ac_status )
23508 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23509 See \
`config.log' for more details." >&5
23510 echo "$as_me: error: cannot compute sizeof (wchar_t)
23511 See \`config.log
' for more details." >&2;}
23512 { (exit 77); exit 77; }; }
23514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23518 ac_cv_sizeof_wchar_t=0
23521 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23522 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23523 cat >>confdefs.h <<_ACEOF
23524 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23528 if test "$ac_cv_sizeof_wchar_t" != "0"; then
23534 { echo "$as_me:$LINENO: checking for va_copy" >&5
23535 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23536 if test "${wx_cv_func_va_copy+set}" = set; then
23537 echo $ECHO_N "(cached) $ECHO_C" >&6
23540 cat >conftest.$ac_ext <<_ACEOF
23542 #include <stdarg.h>
23543 void foo(char *f, ...)
23557 rm -f conftest.$ac_objext conftest$ac_exeext
23558 if { (ac_try="$ac_link"
23559 case "(($ac_try" in
23560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23561 *) ac_try_echo=$ac_try;;
23563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23564 (eval "$ac_link") 2>conftest.er1
23566 grep -v '^
*+' conftest.er1 >conftest.err
23568 cat conftest.err >&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); } &&
23571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
23572 { (case "(($ac_try" in
23573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23574 *) ac_try_echo=$ac_try;;
23576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23577 (eval "$ac_try") 2>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); }; } &&
23581 { ac_try='test -s conftest
$ac_exeext'
23582 { (case "(($ac_try" in
23583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23584 *) ac_try_echo=$ac_try;;
23586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23587 (eval "$ac_try") 2>&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; }; then
23591 wx_cv_func_va_copy=yes
23593 echo "$as_me: failed program was:" >&5
23594 sed 's
/^
/| /' conftest.$ac_ext >&5
23596 wx_cv_func_va_copy=no
23600 rm -f core conftest.err conftest.$ac_objext \
23601 conftest$ac_exeext conftest.$ac_ext
23605 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23606 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23608 if test $wx_cv_func_va_copy = "yes"; then
23609 cat >>confdefs.h <<\_ACEOF
23610 #define HAVE_VA_COPY 1
23614 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23615 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23616 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23617 echo $ECHO_N "(cached) $ECHO_C" >&6
23620 if test "$cross_compiling" = yes; then
23621 wx_cv_type_va_list_lvalue=yes
23624 cat >conftest.$ac_ext <<_ACEOF
23626 #include <stdarg.h>
23627 int foo(char *f, ...)
23632 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23640 return foo("hi", 17);
23643 rm -f conftest$ac_exeext
23644 if { (ac_try="$ac_link"
23645 case "(($ac_try" in
23646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23647 *) ac_try_echo=$ac_try;;
23649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23650 (eval "$ac_link") 2>&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23654 { (case "(($ac_try" in
23655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23656 *) ac_try_echo=$ac_try;;
23658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23659 (eval "$ac_try") 2>&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; }; then
23663 wx_cv_type_va_list_lvalue=yes
23665 echo "$as_me: program exited with status $ac_status" >&5
23666 echo "$as_me: failed program was:" >&5
23667 sed 's
/^
/| /' conftest.$ac_ext >&5
23669 ( exit $ac_status )
23670 wx_cv_type_va_list_lvalue=no
23672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23679 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23680 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23682 if test $wx_cv_type_va_list_lvalue != "yes"; then
23683 cat >>confdefs.h <<\_ACEOF
23684 #define VA_LIST_IS_ARRAY 1
23690 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23692 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23693 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23694 if test "${wx_cv_have_variadic_macros+set}" = set; then
23695 echo $ECHO_N "(cached) $ECHO_C" >&6
23699 ac_cpp='$CXXCPP $CPPFLAGS'
23700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23701 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23704 cat >conftest.$ac_ext <<_ACEOF
23707 cat confdefs.h >>conftest.$ac_ext
23708 cat >>conftest.$ac_ext <<_ACEOF
23709 /* end confdefs.h. */
23712 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23718 test("%s %d %p", "test", 1, 0);
23725 rm -f conftest.$ac_objext
23726 if { (ac_try="$ac_compile"
23727 case "(($ac_try" in
23728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23729 *) ac_try_echo=$ac_try;;
23731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23732 (eval "$ac_compile") 2>conftest.er1
23734 grep -v '^
*+' conftest.er1 >conftest.err
23736 cat conftest.err >&5
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); } &&
23739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
23740 { (case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_try") 2>&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; } &&
23749 { ac_try='test -s conftest.
$ac_objext'
23750 { (case "(($ac_try" in
23751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23752 *) ac_try_echo=$ac_try;;
23754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23755 (eval "$ac_try") 2>&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); }; }; then
23759 wx_cv_have_variadic_macros=yes
23761 echo "$as_me: failed program was:" >&5
23762 sed 's
/^
/| /' conftest.$ac_ext >&5
23764 wx_cv_have_variadic_macros=no
23768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23770 ac_cpp='$CPP $CPPFLAGS'
23771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23772 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23778 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23779 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23781 if test $wx_cv_have_variadic_macros = "yes"; then
23782 cat >>confdefs.h <<\_ACEOF
23783 #define HAVE_VARIADIC_MACROS 1
23789 # Check whether --enable-largefile was given.
23790 if test "${enable_largefile+set}" = set; then
23791 enableval=$enable_largefile;
23794 if test "$enable_largefile" != no; then
23797 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23798 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23799 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23800 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 cat >conftest.$ac_ext <<_ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23809 #define _FILE_OFFSET_BITS 64
23810 #include <sys/types.h>
23815 unsigned int field: sizeof(off_t) == 8;
23822 rm -f conftest.$ac_objext
23823 if { (ac_try="$ac_compile"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_compile") 2>conftest.er1
23831 grep -v '^
*+' conftest.er1 >conftest.err
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } &&
23836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
23837 { (case "(($ac_try" in
23838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23839 *) ac_try_echo=$ac_try;;
23841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23842 (eval "$ac_try") 2>&5
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); }; } &&
23846 { ac_try='test -s conftest.
$ac_objext'
23847 { (case "(($ac_try" in
23848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23849 *) ac_try_echo=$ac_try;;
23851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23852 (eval "$ac_try") 2>&5
23854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 (exit $ac_status); }; }; then
23856 ac_cv_sys_file_offset_bits=64
23858 echo "$as_me: failed program was:" >&5
23859 sed 's
/^
/| /' conftest.$ac_ext >&5
23861 ac_cv_sys_file_offset_bits=no
23864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23869 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23871 if test "$ac_cv_sys_file_offset_bits" != no; then
23873 cat >>confdefs.h <<_ACEOF
23874 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23879 if test "x$wx_largefile" != "xyes"; then
23881 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23882 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23883 if test "${ac_cv_sys_large_files+set}" = set; then
23884 echo $ECHO_N "(cached) $ECHO_C" >&6
23887 cat >conftest.$ac_ext <<_ACEOF
23890 cat confdefs.h >>conftest.$ac_ext
23891 cat >>conftest.$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23893 #define _LARGE_FILES 1
23894 #include <sys/types.h>
23899 unsigned int field: sizeof(off_t) == 8;
23906 rm -f conftest.$ac_objext
23907 if { (ac_try="$ac_compile"
23908 case "(($ac_try" in
23909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23910 *) ac_try_echo=$ac_try;;
23912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23913 (eval "$ac_compile") 2>conftest.er1
23915 grep -v '^
*+' conftest.er1 >conftest.err
23917 cat conftest.err >&5
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); } &&
23920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
23921 { (case "(($ac_try" in
23922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23923 *) ac_try_echo=$ac_try;;
23925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23926 (eval "$ac_try") 2>&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); }; } &&
23930 { ac_try='test -s conftest.
$ac_objext'
23931 { (case "(($ac_try" in
23932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23933 *) ac_try_echo=$ac_try;;
23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936 (eval "$ac_try") 2>&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); }; }; then
23940 ac_cv_sys_large_files=1
23942 echo "$as_me: failed program was:" >&5
23943 sed 's
/^
/| /' conftest.$ac_ext >&5
23945 ac_cv_sys_large_files=no
23948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23952 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23953 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23955 if test "$ac_cv_sys_large_files" != no; then
23957 cat >>confdefs.h <<_ACEOF
23958 #define _LARGE_FILES $ac_cv_sys_large_files
23965 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23966 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23967 if test "x$wx_largefile" = "xyes"; then
23968 cat >>confdefs.h <<\_ACEOF
23969 #define HAVE_LARGEFILE_SUPPORT 1
23973 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23974 echo "${ECHO_T}$wx_largefile" >&6; }
23978 if test "x$wx_largefile" = "xyes"; then
23979 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23980 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23982 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23983 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23984 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23985 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23986 echo $ECHO_N "(cached) $ECHO_C" >&6
23990 ac_cpp='$CXXCPP $CPPFLAGS'
23991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23992 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23995 cat >conftest.$ac_ext <<_ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24006 #ifndef __STDC_EXT__
24014 rm -f conftest.$ac_objext
24015 if { (ac_try="$ac_compile"
24016 case "(($ac_try" in
24017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24018 *) ac_try_echo=$ac_try;;
24020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24021 (eval "$ac_compile") 2>conftest.er1
24023 grep -v '^
*+' conftest.er1 >conftest.err
24025 cat conftest.err >&5
24026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027 (exit $ac_status); } &&
24028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24029 { (case "(($ac_try" in
24030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24031 *) ac_try_echo=$ac_try;;
24033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24034 (eval "$ac_try") 2>&5
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); }; } &&
24038 { ac_try='test -s conftest.
$ac_objext'
24039 { (case "(($ac_try" in
24040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24041 *) ac_try_echo=$ac_try;;
24043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24044 (eval "$ac_try") 2>&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); }; }; then
24048 wx_cv_STDC_EXT_required=no
24050 echo "$as_me: failed program was:" >&5
24051 sed 's
/^
/| /' conftest.$ac_ext >&5
24053 wx_cv_STDC_EXT_required=yes
24057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24059 ac_cpp='$CPP $CPPFLAGS'
24060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24061 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24067 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24068 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24069 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24070 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24074 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24076 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24077 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24078 if test "${ac_cv_sys_largefile_source+set}" = set; then
24079 echo $ECHO_N "(cached) $ECHO_C" >&6
24082 ac_cv_sys_largefile_source=no
24083 cat >conftest.$ac_ext <<_ACEOF
24086 cat confdefs.h >>conftest.$ac_ext
24087 cat >>conftest.$ac_ext <<_ACEOF
24088 /* end confdefs.h. */
24098 rm -f conftest.$ac_objext
24099 if { (ac_try="$ac_compile"
24100 case "(($ac_try" in
24101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24102 *) ac_try_echo=$ac_try;;
24104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24105 (eval "$ac_compile") 2>conftest.er1
24107 grep -v '^
*+' conftest.er1 >conftest.err
24109 cat conftest.err >&5
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); } &&
24112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24113 { (case "(($ac_try" in
24114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24115 *) ac_try_echo=$ac_try;;
24117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24118 (eval "$ac_try") 2>&5
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); }; } &&
24122 { ac_try='test -s conftest.
$ac_objext'
24123 { (case "(($ac_try" in
24124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24125 *) ac_try_echo=$ac_try;;
24127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24128 (eval "$ac_try") 2>&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); }; }; then
24134 echo "$as_me: failed program was:" >&5
24135 sed 's
/^
/| /' conftest.$ac_ext >&5
24140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24141 cat >conftest.$ac_ext <<_ACEOF
24144 cat confdefs.h >>conftest.$ac_ext
24145 cat >>conftest.$ac_ext <<_ACEOF
24146 /* end confdefs.h. */
24147 #define _LARGEFILE_SOURCE 1
24157 rm -f conftest.$ac_objext
24158 if { (ac_try="$ac_compile"
24159 case "(($ac_try" in
24160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24161 *) ac_try_echo=$ac_try;;
24163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24164 (eval "$ac_compile") 2>conftest.er1
24166 grep -v '^
*+' conftest.er1 >conftest.err
24168 cat conftest.err >&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); } &&
24171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24172 { (case "(($ac_try" in
24173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24174 *) ac_try_echo=$ac_try;;
24176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24177 (eval "$ac_try") 2>&5
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); }; } &&
24181 { ac_try='test -s conftest.
$ac_objext'
24182 { (case "(($ac_try" in
24183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24184 *) ac_try_echo=$ac_try;;
24186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24187 (eval "$ac_try") 2>&5
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); }; }; then
24191 ac_cv_sys_largefile_source=1; break
24193 echo "$as_me: failed program was:" >&5
24194 sed 's
/^
/| /' conftest.$ac_ext >&5
24199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24203 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24204 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24205 if test "$ac_cv_sys_largefile_source" != no; then
24207 cat >>confdefs.h <<_ACEOF
24208 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24214 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24215 # in glibc 2.1.3, but that breaks too many other things.
24216 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24217 { echo "$as_me:$LINENO: checking for fseeko" >&5
24218 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
24219 if test "${ac_cv_func_fseeko+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24222 cat >conftest.$ac_ext <<_ACEOF
24225 cat confdefs.h >>conftest.$ac_ext
24226 cat >>conftest.$ac_ext <<_ACEOF
24227 /* end confdefs.h. */
24232 return fseeko && fseeko (stdin, 0, 0);
24237 rm -f conftest.$ac_objext conftest$ac_exeext
24238 if { (ac_try="$ac_link"
24239 case "(($ac_try" in
24240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24241 *) ac_try_echo=$ac_try;;
24243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24244 (eval "$ac_link") 2>conftest.er1
24246 grep -v '^
*+' conftest.er1 >conftest.err
24248 cat conftest.err >&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); } &&
24251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24252 { (case "(($ac_try" in
24253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24254 *) ac_try_echo=$ac_try;;
24256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24257 (eval "$ac_try") 2>&5
24259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24260 (exit $ac_status); }; } &&
24261 { ac_try='test -s conftest
$ac_exeext'
24262 { (case "(($ac_try" in
24263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24264 *) ac_try_echo=$ac_try;;
24266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24267 (eval "$ac_try") 2>&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); }; }; then
24271 ac_cv_func_fseeko=yes
24273 echo "$as_me: failed program was:" >&5
24274 sed 's
/^
/| /' conftest.$ac_ext >&5
24276 ac_cv_func_fseeko=no
24279 rm -f core conftest.err conftest.$ac_objext \
24280 conftest$ac_exeext conftest.$ac_ext
24282 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
24283 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
24284 if test $ac_cv_func_fseeko = yes; then
24286 cat >>confdefs.h <<\_ACEOF
24287 #define HAVE_FSEEKO 1
24292 if test "$ac_cv_sys_largefile_source" != no; then
24293 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24297 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24298 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24299 if test "${ac_cv_c_bigendian+set}" = set; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 ac_cv_c_bigendian=unknown
24303 # See if sys/param.h defines the BYTE_ORDER macro.
24304 cat >conftest.$ac_ext <<_ACEOF
24307 cat confdefs.h >>conftest.$ac_ext
24308 cat >>conftest.$ac_ext <<_ACEOF
24309 /* end confdefs.h. */
24310 #include <sys/types.h>
24311 #include <sys/param.h>
24316 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24317 bogus endian macros
24323 rm -f conftest.$ac_objext
24324 if { (ac_try="$ac_compile"
24325 case "(($ac_try" in
24326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24327 *) ac_try_echo=$ac_try;;
24329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24330 (eval "$ac_compile") 2>conftest.er1
24332 grep -v '^
*+' conftest.er1 >conftest.err
24334 cat conftest.err >&5
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); } &&
24337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24338 { (case "(($ac_try" in
24339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_try") 2>&5
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); }; } &&
24347 { ac_try='test -s conftest.
$ac_objext'
24348 { (case "(($ac_try" in
24349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24350 *) ac_try_echo=$ac_try;;
24352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24353 (eval "$ac_try") 2>&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); }; }; then
24357 # It does; now see whether it defined to BIG_ENDIAN or not.
24358 cat >conftest.$ac_ext <<_ACEOF
24361 cat confdefs.h >>conftest.$ac_ext
24362 cat >>conftest.$ac_ext <<_ACEOF
24363 /* end confdefs.h. */
24364 #include <sys/types.h>
24365 #include <sys/param.h>
24370 #if BYTE_ORDER != BIG_ENDIAN
24377 rm -f conftest.$ac_objext
24378 if { (ac_try="$ac_compile"
24379 case "(($ac_try" in
24380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24381 *) ac_try_echo=$ac_try;;
24383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24384 (eval "$ac_compile") 2>conftest.er1
24386 grep -v '^
*+' conftest.er1 >conftest.err
24388 cat conftest.err >&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); } &&
24391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
24392 { (case "(($ac_try" in
24393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24394 *) ac_try_echo=$ac_try;;
24396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24397 (eval "$ac_try") 2>&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); }; } &&
24401 { ac_try='test -s conftest.
$ac_objext'
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_try") 2>&5
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); }; }; then
24411 ac_cv_c_bigendian=yes
24413 echo "$as_me: failed program was:" >&5
24414 sed 's
/^
/| /' conftest.$ac_ext >&5
24416 ac_cv_c_bigendian=no
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24421 echo "$as_me: failed program was:" >&5
24422 sed 's
/^
/| /' conftest.$ac_ext >&5
24427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24428 if test $ac_cv_c_bigendian = unknown; then
24429 if test "$cross_compiling" = yes; then
24430 ac_cv_c_bigendian=unknown
24432 cat >conftest.$ac_ext <<_ACEOF
24435 cat confdefs.h >>conftest.$ac_ext
24436 cat >>conftest.$ac_ext <<_ACEOF
24437 /* end confdefs.h. */
24439 /* Are we little or big endian? From Harbison&Steele. */
24443 char c[sizeof (long)];
24446 exit (u.c[sizeof (long) - 1] == 1);
24449 rm -f conftest$ac_exeext
24450 if { (ac_try="$ac_link"
24451 case "(($ac_try" in
24452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24453 *) ac_try_echo=$ac_try;;
24455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24456 (eval "$ac_link") 2>&5
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24460 { (case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_try") 2>&5
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); }; }; then
24469 ac_cv_c_bigendian=no
24471 echo "$as_me: program exited with status $ac_status" >&5
24472 echo "$as_me: failed program was:" >&5
24473 sed 's
/^
/| /' conftest.$ac_ext >&5
24475 ( exit $ac_status )
24476 ac_cv_c_bigendian=yes
24478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24484 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24485 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24486 if test $ac_cv_c_bigendian = unknown; then
24487 { 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
24488 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;}
24490 if test $ac_cv_c_bigendian = yes; then
24491 cat >>confdefs.h <<\_ACEOF
24492 #define WORDS_BIGENDIAN 1
24501 ac_cpp='$CXXCPP $CPPFLAGS'
24502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24503 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24507 { echo "$as_me:$LINENO: checking for iostream" >&5
24508 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
24509 if test "${ac_cv_header_iostream+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 cat >conftest.$ac_ext <<_ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24520 #include <iostream>
24522 rm -f conftest.$ac_objext
24523 if { (ac_try="$ac_compile"
24524 case "(($ac_try" in
24525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24526 *) ac_try_echo=$ac_try;;
24528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24529 (eval "$ac_compile") 2>conftest.er1
24531 grep -v '^
*+' conftest.er1 >conftest.err
24533 cat conftest.err >&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } &&
24536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24537 { (case "(($ac_try" in
24538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24539 *) ac_try_echo=$ac_try;;
24541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24542 (eval "$ac_try") 2>&5
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; } &&
24546 { ac_try='test -s conftest.
$ac_objext'
24547 { (case "(($ac_try" in
24548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24549 *) ac_try_echo=$ac_try;;
24551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24552 (eval "$ac_try") 2>&5
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; }; then
24556 ac_cv_header_iostream=yes
24558 echo "$as_me: failed program was:" >&5
24559 sed 's
/^
/| /' conftest.$ac_ext >&5
24561 ac_cv_header_iostream=no
24564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24566 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
24567 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
24571 if test "$ac_cv_header_iostream" = "yes" ; then
24574 cat >>confdefs.h <<\_ACEOF
24575 #define wxUSE_IOSTREAMH 1
24581 ac_cpp='$CPP $CPPFLAGS'
24582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24583 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24589 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
24590 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
24591 if test "${wx_cv_cpp_bool+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24597 ac_cpp='$CXXCPP $CPPFLAGS'
24598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24599 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24603 cat >conftest.$ac_ext <<_ACEOF
24606 cat confdefs.h >>conftest.$ac_ext
24607 cat >>conftest.$ac_ext <<_ACEOF
24608 /* end confdefs.h. */
24623 rm -f conftest.$ac_objext
24624 if { (ac_try="$ac_compile"
24625 case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_compile") 2>conftest.er1
24632 grep -v '^
*+' conftest.er1 >conftest.err
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } &&
24637 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24638 { (case "(($ac_try" in
24639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24640 *) ac_try_echo=$ac_try;;
24642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24643 (eval "$ac_try") 2>&5
24645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24646 (exit $ac_status); }; } &&
24647 { ac_try='test -s conftest.
$ac_objext'
24648 { (case "(($ac_try" in
24649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24650 *) ac_try_echo=$ac_try;;
24652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24653 (eval "$ac_try") 2>&5
24655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); }; }; then
24661 echo "$as_me: failed program was:" >&5
24662 sed 's
/^
/| /' conftest.$ac_ext >&5
24670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673 ac_cpp='$CPP $CPPFLAGS'
24674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24675 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24680 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
24681 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
24683 if test "$wx_cv_cpp_bool" = "yes"; then
24684 cat >>confdefs.h <<\_ACEOF
24685 #define HAVE_BOOL 1
24692 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24693 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24694 if test "${wx_cv_explicit+set}" = set; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24702 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24706 cat >conftest.$ac_ext <<_ACEOF
24709 cat confdefs.h >>conftest.$ac_ext
24710 cat >>conftest.$ac_ext <<_ACEOF
24711 /* end confdefs.h. */
24713 class Foo { public: explicit Foo(int) {} };
24725 rm -f conftest.$ac_objext
24726 if { (ac_try="$ac_compile"
24727 case "(($ac_try" in
24728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24729 *) ac_try_echo=$ac_try;;
24731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24732 (eval "$ac_compile") 2>conftest.er1
24734 grep -v '^
*+' conftest.er1 >conftest.err
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } &&
24739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24740 { (case "(($ac_try" in
24741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24742 *) ac_try_echo=$ac_try;;
24744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24745 (eval "$ac_try") 2>&5
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); }; } &&
24749 { ac_try='test -s conftest.
$ac_objext'
24750 { (case "(($ac_try" in
24751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24752 *) ac_try_echo=$ac_try;;
24754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24755 (eval "$ac_try") 2>&5
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; }; then
24760 cat >conftest.$ac_ext <<_ACEOF
24763 cat confdefs.h >>conftest.$ac_ext
24764 cat >>conftest.$ac_ext <<_ACEOF
24765 /* end confdefs.h. */
24767 class Foo { public: explicit Foo(int) {} };
24768 static void TakeFoo(const Foo& foo) { }
24781 rm -f conftest.$ac_objext
24782 if { (ac_try="$ac_compile"
24783 case "(($ac_try" in
24784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24785 *) ac_try_echo=$ac_try;;
24787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24788 (eval "$ac_compile") 2>conftest.er1
24790 grep -v '^
*+' conftest.er1 >conftest.err
24792 cat conftest.err >&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); } &&
24795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24796 { (case "(($ac_try" in
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24798 *) ac_try_echo=$ac_try;;
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24801 (eval "$ac_try") 2>&5
24803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804 (exit $ac_status); }; } &&
24805 { ac_try='test -s conftest.
$ac_objext'
24806 { (case "(($ac_try" in
24807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24808 *) ac_try_echo=$ac_try;;
24810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24811 (eval "$ac_try") 2>&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); }; }; then
24817 echo "$as_me: failed program was:" >&5
24818 sed 's
/^
/| /' conftest.$ac_ext >&5
24824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24827 echo "$as_me: failed program was:" >&5
24828 sed 's
/^
/| /' conftest.$ac_ext >&5
24834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24837 ac_cpp='$CPP $CPPFLAGS'
24838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24839 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24844 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24845 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24847 if test "$wx_cv_explicit" = "yes"; then
24848 cat >>confdefs.h <<\_ACEOF
24849 #define HAVE_EXPLICIT 1
24855 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24856 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24857 if test "${ac_cv_cxx_const_cast+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24862 ac_cpp='$CXXCPP $CPPFLAGS'
24863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24864 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24867 cat >conftest.$ac_ext <<_ACEOF
24870 cat confdefs.h >>conftest.$ac_ext
24871 cat >>conftest.$ac_ext <<_ACEOF
24872 /* end confdefs.h. */
24877 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24882 rm -f conftest.$ac_objext
24883 if { (ac_try="$ac_compile"
24884 case "(($ac_try" in
24885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24886 *) ac_try_echo=$ac_try;;
24888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24889 (eval "$ac_compile") 2>conftest.er1
24891 grep -v '^
*+' conftest.er1 >conftest.err
24893 cat conftest.err >&5
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); } &&
24896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24897 { (case "(($ac_try" in
24898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24899 *) ac_try_echo=$ac_try;;
24901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24902 (eval "$ac_try") 2>&5
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; } &&
24906 { ac_try='test -s conftest.
$ac_objext'
24907 { (case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_try") 2>&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; }; then
24916 ac_cv_cxx_const_cast=yes
24918 echo "$as_me: failed program was:" >&5
24919 sed 's
/^
/| /' conftest.$ac_ext >&5
24921 ac_cv_cxx_const_cast=no
24924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24926 ac_cpp='$CPP $CPPFLAGS'
24927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24928 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24933 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24934 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24935 if test "$ac_cv_cxx_const_cast" = yes; then
24937 cat >>confdefs.h <<\_ACEOF
24938 #define HAVE_CONST_CAST
24943 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24944 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24945 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24946 echo $ECHO_N "(cached) $ECHO_C" >&6
24950 ac_cpp='$CXXCPP $CPPFLAGS'
24951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24952 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24955 cat >conftest.$ac_ext <<_ACEOF
24958 cat confdefs.h >>conftest.$ac_ext
24959 cat >>conftest.$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24961 #include <typeinfo>
24962 class Base { public : Base () {} virtual void f () = 0;};
24963 class Derived : public Base { public : Derived () {} virtual void f () {} };
24964 class Unrelated { public : Unrelated () {} };
24965 int g (Unrelated&) { return 0; }
24970 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24975 rm -f conftest.$ac_objext
24976 if { (ac_try="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24984 grep -v '^
*+' conftest.er1 >conftest.err
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } &&
24989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
24990 { (case "(($ac_try" in
24991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24992 *) ac_try_echo=$ac_try;;
24994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24995 (eval "$ac_try") 2>&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); }; } &&
24999 { ac_try='test -s conftest.
$ac_objext'
25000 { (case "(($ac_try" in
25001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25002 *) ac_try_echo=$ac_try;;
25004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25005 (eval "$ac_try") 2>&5
25007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008 (exit $ac_status); }; }; then
25009 ac_cv_cxx_reinterpret_cast=yes
25011 echo "$as_me: failed program was:" >&5
25012 sed 's
/^
/| /' conftest.$ac_ext >&5
25014 ac_cv_cxx_reinterpret_cast=no
25017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25019 ac_cpp='$CPP $CPPFLAGS'
25020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25021 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25026 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
25027 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
25028 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
25030 cat >>confdefs.h <<\_ACEOF
25031 #define HAVE_REINTERPRET_CAST
25036 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
25037 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
25038 if test "${ac_cv_cxx_static_cast+set}" = set; then
25039 echo $ECHO_N "(cached) $ECHO_C" >&6
25043 ac_cpp='$CXXCPP $CPPFLAGS'
25044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25045 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25048 cat >conftest.$ac_ext <<_ACEOF
25051 cat confdefs.h >>conftest.$ac_ext
25052 cat >>conftest.$ac_ext <<_ACEOF
25053 /* end confdefs.h. */
25054 #include <typeinfo>
25055 class Base { public : Base () {} virtual void f () = 0; };
25056 class Derived : public Base { public : Derived () {} virtual void f () {} };
25057 int g (Derived&) { return 0; }
25062 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
25067 rm -f conftest.$ac_objext
25068 if { (ac_try="$ac_compile"
25069 case "(($ac_try" in
25070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25071 *) ac_try_echo=$ac_try;;
25073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25074 (eval "$ac_compile") 2>conftest.er1
25076 grep -v '^
*+' conftest.er1 >conftest.err
25078 cat conftest.err >&5
25079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25080 (exit $ac_status); } &&
25081 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
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_try") 2>&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; } &&
25091 { ac_try='test -s conftest.
$ac_objext'
25092 { (case "(($ac_try" in
25093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25094 *) ac_try_echo=$ac_try;;
25096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25097 (eval "$ac_try") 2>&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; }; then
25101 ac_cv_cxx_static_cast=yes
25103 echo "$as_me: failed program was:" >&5
25104 sed 's
/^
/| /' conftest.$ac_ext >&5
25106 ac_cv_cxx_static_cast=no
25109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25111 ac_cpp='$CPP $CPPFLAGS'
25112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25113 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25118 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
25119 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
25120 if test "$ac_cv_cxx_static_cast" = yes; then
25122 cat >>confdefs.h <<\_ACEOF
25123 #define HAVE_STATIC_CAST
25129 if test "x$SUNCXX" = xyes; then
25130 CXXFLAGS="-features=tmplife $CXXFLAGS"
25133 if test "x$SUNCC" = xyes; then
25134 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25137 if test "x$SGICC" = "xyes"; then
25138 CFLAGS="-woff 3970 $CFLAGS"
25140 if test "x$SGICXX" = "xyes"; then
25141 CXXFLAGS="-woff 3970 $CXXFLAGS"
25144 if test "x$HPCC" = "xyes"; then
25145 CFLAGS="+W 2011,2450 $CFLAGS"
25147 if test "x$HPCXX" = "xyes"; then
25148 CXXFLAGS="+W 2340 $CXXFLAGS"
25151 if test "x$COMPAQCXX" = "xyes"; then
25152 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25156 ac_cpp='$CXXCPP $CPPFLAGS'
25157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25158 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25162 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25163 if test "$wxUSE_UNICODE" = "yes"; then
25164 std_string="std::wstring"
25165 char_type="wchar_t"
25167 std_string="std::string"
25171 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25172 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25173 if test "${wx_cv_class_stdstring+set}" = set; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 cat >conftest.$ac_ext <<_ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25192 rm -f conftest.$ac_objext
25193 if { (ac_try="$ac_compile"
25194 case "(($ac_try" in
25195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25196 *) ac_try_echo=$ac_try;;
25198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25199 (eval "$ac_compile") 2>conftest.er1
25201 grep -v '^
*+' conftest.er1 >conftest.err
25203 cat conftest.err >&5
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); } &&
25206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
25207 { (case "(($ac_try" in
25208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25209 *) ac_try_echo=$ac_try;;
25211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25212 (eval "$ac_try") 2>&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); }; } &&
25216 { ac_try='test -s conftest.
$ac_objext'
25217 { (case "(($ac_try" in
25218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25219 *) ac_try_echo=$ac_try;;
25221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25222 (eval "$ac_try") 2>&5
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); }; }; then
25226 wx_cv_class_stdstring=yes
25228 echo "$as_me: failed program was:" >&5
25229 sed 's
/^
/| /' conftest.$ac_ext >&5
25231 wx_cv_class_stdstring=no
25235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25239 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25240 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25242 if test "$wx_cv_class_stdstring" = yes; then
25243 if test "$wxUSE_UNICODE" = "yes"; then
25244 cat >>confdefs.h <<\_ACEOF
25245 #define HAVE_STD_WSTRING 1
25250 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25251 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25252 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25253 echo $ECHO_N "(cached) $ECHO_C" >&6
25256 cat >conftest.$ac_ext <<_ACEOF
25259 cat confdefs.h >>conftest.$ac_ext
25260 cat >>conftest.$ac_ext <<_ACEOF
25261 /* end confdefs.h. */
25263 #ifdef HAVE_WCHAR_H
25265 # include <stddef.h>
25267 # include <wchar.h>
25269 #ifdef HAVE_STDLIB_H
25270 # include <stdlib.h>
25278 std::basic_string<$char_type> foo;
25279 const $char_type* dummy = foo.c_str();
25284 rm -f conftest.$ac_objext
25285 if { (ac_try="$ac_compile"
25286 case "(($ac_try" in
25287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25288 *) ac_try_echo=$ac_try;;
25290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25291 (eval "$ac_compile") 2>conftest.er1
25293 grep -v '^
*+' conftest.er1 >conftest.err
25295 cat conftest.err >&5
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); } &&
25298 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
25299 { (case "(($ac_try" in
25300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25301 *) ac_try_echo=$ac_try;;
25303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25304 (eval "$ac_try") 2>&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); }; } &&
25308 { ac_try='test -s conftest.
$ac_objext'
25309 { (case "(($ac_try" in
25310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25311 *) ac_try_echo=$ac_try;;
25313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25314 (eval "$ac_try") 2>&5
25316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317 (exit $ac_status); }; }; then
25318 wx_cv_class_stdbasicstring=yes
25320 echo "$as_me: failed program was:" >&5
25321 sed 's
/^
/| /' conftest.$ac_ext >&5
25323 wx_cv_class_stdbasicstring=no
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25331 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25332 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25334 if test "$wx_cv_class_stdbasicstring" != yes; then
25335 if test "$wxUSE_STL" = "yes"; then
25336 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25337 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25338 { (exit 1); exit 1; }; }
25339 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
25340 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25341 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25342 { (exit 1); exit 1; }; }
25344 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25345 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25346 wxUSE_STD_STRING=no
25352 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25353 { echo "$as_me:$LINENO: checking for std::istream" >&5
25354 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25355 if test "${ac_cv_type_std__istream+set}" = set; then
25356 echo $ECHO_N "(cached) $ECHO_C" >&6
25358 cat >conftest.$ac_ext <<_ACEOF
25361 cat confdefs.h >>conftest.$ac_ext
25362 cat >>conftest.$ac_ext <<_ACEOF
25363 /* end confdefs.h. */
25364 #include <iostream>
25366 typedef std::istream ac__type_new_;
25370 if ((ac__type_new_ *) 0)
25372 if (sizeof (ac__type_new_))
25378 rm -f conftest.$ac_objext
25379 if { (ac_try="$ac_compile"
25380 case "(($ac_try" in
25381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25382 *) ac_try_echo=$ac_try;;
25384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385 (eval "$ac_compile") 2>conftest.er1
25387 grep -v '^
*+' conftest.er1 >conftest.err
25389 cat conftest.err >&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } &&
25392 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
25393 { (case "(($ac_try" in
25394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25395 *) ac_try_echo=$ac_try;;
25397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25398 (eval "$ac_try") 2>&5
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); }; } &&
25402 { ac_try='test -s conftest.
$ac_objext'
25403 { (case "(($ac_try" in
25404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25405 *) ac_try_echo=$ac_try;;
25407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25408 (eval "$ac_try") 2>&5
25410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411 (exit $ac_status); }; }; then
25412 ac_cv_type_std__istream=yes
25414 echo "$as_me: failed program was:" >&5
25415 sed 's
/^
/| /' conftest.$ac_ext >&5
25417 ac_cv_type_std__istream=no
25420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25422 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25423 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25424 if test $ac_cv_type_std__istream = yes; then
25426 cat >>confdefs.h <<_ACEOF
25427 #define HAVE_STD__ISTREAM 1
25432 wxUSE_STD_IOSTREAM=no
25434 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25435 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25436 if test "${ac_cv_type_std__ostream+set}" = set; then
25437 echo $ECHO_N "(cached) $ECHO_C" >&6
25439 cat >conftest.$ac_ext <<_ACEOF
25442 cat confdefs.h >>conftest.$ac_ext
25443 cat >>conftest.$ac_ext <<_ACEOF
25444 /* end confdefs.h. */
25445 #include <iostream>
25447 typedef std::ostream ac__type_new_;
25451 if ((ac__type_new_ *) 0)
25453 if (sizeof (ac__type_new_))
25459 rm -f conftest.$ac_objext
25460 if { (ac_try="$ac_compile"
25461 case "(($ac_try" in
25462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25463 *) ac_try_echo=$ac_try;;
25465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25466 (eval "$ac_compile") 2>conftest.er1
25468 grep -v '^
*+' conftest.er1 >conftest.err
25470 cat conftest.err >&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } &&
25473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
25474 { (case "(($ac_try" in
25475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25476 *) ac_try_echo=$ac_try;;
25478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25479 (eval "$ac_try") 2>&5
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); }; } &&
25483 { ac_try='test -s conftest.
$ac_objext'
25484 { (case "(($ac_try" in
25485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25486 *) ac_try_echo=$ac_try;;
25488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25489 (eval "$ac_try") 2>&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 ac_cv_type_std__ostream=yes
25495 echo "$as_me: failed program was:" >&5
25496 sed 's
/^
/| /' conftest.$ac_ext >&5
25498 ac_cv_type_std__ostream=no
25501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25503 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25504 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25505 if test $ac_cv_type_std__ostream = yes; then
25507 cat >>confdefs.h <<_ACEOF
25508 #define HAVE_STD__OSTREAM 1
25513 wxUSE_STD_IOSTREAM=no
25517 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25518 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
25519 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25520 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25521 { (exit 1); exit 1; }; }
25523 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25524 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25529 if test "$wxUSE_STL" = "yes"; then
25530 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25531 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25532 if test "${wx_cv_lib_stl+set}" = set; then
25533 echo $ECHO_N "(cached) $ECHO_C" >&6
25535 cat >conftest.$ac_ext <<_ACEOF
25538 cat confdefs.h >>conftest.$ac_ext
25539 cat >>conftest.$ac_ext <<_ACEOF
25540 /* end confdefs.h. */
25542 #include <functional>
25543 #include <algorithm>
25549 std::vector<int> moo;
25550 std::list<int> foo;
25551 std::vector<int>::iterator it =
25552 std::find_if(moo.begin(), moo.end(),
25553 std::bind2nd(std::less<int>(), 3));
25558 rm -f conftest.$ac_objext
25559 if { (ac_try="$ac_compile"
25560 case "(($ac_try" in
25561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25562 *) ac_try_echo=$ac_try;;
25564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25565 (eval "$ac_compile") 2>conftest.er1
25567 grep -v '^
*+' conftest.er1 >conftest.err
25569 cat conftest.err >&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); } &&
25572 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
25573 { (case "(($ac_try" in
25574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25575 *) ac_try_echo=$ac_try;;
25577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25578 (eval "$ac_try") 2>&5
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); }; } &&
25582 { ac_try='test -s conftest.
$ac_objext'
25583 { (case "(($ac_try" in
25584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25585 *) ac_try_echo=$ac_try;;
25587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25588 (eval "$ac_try") 2>&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; }; then
25594 echo "$as_me: failed program was:" >&5
25595 sed 's
/^
/| /' conftest.$ac_ext >&5
25601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25604 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25605 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25607 if test "$wx_cv_lib_stl" != yes; then
25608 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25609 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25610 { (exit 1); exit 1; }; }
25613 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25614 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25615 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 cat >conftest.$ac_ext <<_ACEOF
25621 cat confdefs.h >>conftest.$ac_ext
25622 cat >>conftest.$ac_ext <<_ACEOF
25623 /* end confdefs.h. */
25628 std::string foo, bar;
25630 foo.compare(1, 1, bar);
25631 foo.compare(1, 1, bar, 1, 1);
25633 foo.compare(1, 1, "");
25634 foo.compare(1, 1, "", 2);
25639 rm -f conftest.$ac_objext
25640 if { (ac_try="$ac_compile"
25641 case "(($ac_try" in
25642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25643 *) ac_try_echo=$ac_try;;
25645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25646 (eval "$ac_compile") 2>conftest.er1
25648 grep -v '^
*+' conftest.er1 >conftest.err
25650 cat conftest.err >&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } &&
25653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
25654 { (case "(($ac_try" in
25655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25656 *) ac_try_echo=$ac_try;;
25658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25659 (eval "$ac_try") 2>&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); }; } &&
25663 { ac_try='test -s conftest.
$ac_objext'
25664 { (case "(($ac_try" in
25665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25666 *) ac_try_echo=$ac_try;;
25668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25669 (eval "$ac_try") 2>&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); }; }; then
25673 wx_cv_func_stdstring_compare=yes
25675 echo "$as_me: failed program was:" >&5
25676 sed 's
/^
/| /' conftest.$ac_ext >&5
25678 wx_cv_func_stdstring_compare=no
25682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25685 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25686 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25688 if test "$wx_cv_func_stdstring_compare" = yes; then
25689 cat >>confdefs.h <<\_ACEOF
25690 #define HAVE_STD_STRING_COMPARE 1
25695 { echo "$as_me:$LINENO: checking for hash_map" >&5
25696 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25697 if test "${ac_cv_header_hash_map+set}" = set; then
25698 echo $ECHO_N "(cached) $ECHO_C" >&6
25700 cat >conftest.$ac_ext <<_ACEOF
25703 cat confdefs.h >>conftest.$ac_ext
25704 cat >>conftest.$ac_ext <<_ACEOF
25705 /* end confdefs.h. */
25709 #include <hash_map>
25711 rm -f conftest.$ac_objext
25712 if { (ac_try="$ac_compile"
25713 case "(($ac_try" in
25714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25715 *) ac_try_echo=$ac_try;;
25717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25718 (eval "$ac_compile") 2>conftest.er1
25720 grep -v '^
*+' conftest.er1 >conftest.err
25722 cat conftest.err >&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); } &&
25725 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
25726 { (case "(($ac_try" in
25727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25728 *) ac_try_echo=$ac_try;;
25730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25731 (eval "$ac_try") 2>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; } &&
25735 { ac_try='test -s conftest.
$ac_objext'
25736 { (case "(($ac_try" in
25737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25738 *) ac_try_echo=$ac_try;;
25740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25741 (eval "$ac_try") 2>&5
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); }; }; then
25745 ac_cv_header_hash_map=yes
25747 echo "$as_me: failed program was:" >&5
25748 sed 's
/^
/| /' conftest.$ac_ext >&5
25750 ac_cv_header_hash_map=no
25753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25755 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25756 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25757 if test $ac_cv_header_hash_map = yes; then
25758 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
25759 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
25760 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25763 cat >conftest.$ac_ext <<_ACEOF
25766 cat confdefs.h >>conftest.$ac_ext
25767 cat >>conftest.$ac_ext <<_ACEOF
25768 /* end confdefs.h. */
25769 #include <hash_map>
25770 #include <hash_set>
25774 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25775 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25780 rm -f conftest.$ac_objext
25781 if { (ac_try="$ac_compile"
25782 case "(($ac_try" in
25783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25784 *) ac_try_echo=$ac_try;;
25786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25787 (eval "$ac_compile") 2>conftest.er1
25789 grep -v '^
*+' conftest.er1 >conftest.err
25791 cat conftest.err >&5
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); } &&
25794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
25795 { (case "(($ac_try" in
25796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25797 *) ac_try_echo=$ac_try;;
25799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25800 (eval "$ac_try") 2>&5
25802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25803 (exit $ac_status); }; } &&
25804 { ac_try='test -s conftest.
$ac_objext'
25805 { (case "(($ac_try" in
25806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25807 *) ac_try_echo=$ac_try;;
25809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25810 (eval "$ac_try") 2>&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; }; then
25814 wx_cv_class_stdhashmapset=yes
25816 echo "$as_me: failed program was:" >&5
25817 sed 's
/^
/| /' conftest.$ac_ext >&5
25819 wx_cv_class_stdhashmapset=no
25822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25826 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25827 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25832 if test "$wx_cv_class_stdhashmapset" = yes; then
25833 cat >>confdefs.h <<\_ACEOF
25834 #define HAVE_HASH_MAP 1
25837 cat >>confdefs.h <<\_ACEOF
25838 #define HAVE_STD_HASH_MAP 1
25843 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25844 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25845 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25846 echo $ECHO_N "(cached) $ECHO_C" >&6
25848 cat >conftest.$ac_ext <<_ACEOF
25851 cat confdefs.h >>conftest.$ac_ext
25852 cat >>conftest.$ac_ext <<_ACEOF
25853 /* end confdefs.h. */
25857 #include <ext/hash_map>
25859 rm -f conftest.$ac_objext
25860 if { (ac_try="$ac_compile"
25861 case "(($ac_try" in
25862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25863 *) ac_try_echo=$ac_try;;
25865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25866 (eval "$ac_compile") 2>conftest.er1
25868 grep -v '^
*+' conftest.er1 >conftest.err
25870 cat conftest.err >&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); } &&
25873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
25874 { (case "(($ac_try" in
25875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25876 *) ac_try_echo=$ac_try;;
25878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25879 (eval "$ac_try") 2>&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; } &&
25883 { ac_try='test -s conftest.
$ac_objext'
25884 { (case "(($ac_try" in
25885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25886 *) ac_try_echo=$ac_try;;
25888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25889 (eval "$ac_try") 2>&5
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); }; }; then
25893 ac_cv_header_ext_hash_map=yes
25895 echo "$as_me: failed program was:" >&5
25896 sed 's
/^
/| /' conftest.$ac_ext >&5
25898 ac_cv_header_ext_hash_map=no
25901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25903 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25904 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25905 if test $ac_cv_header_ext_hash_map = yes; then
25906 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25907 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25908 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25909 echo $ECHO_N "(cached) $ECHO_C" >&6
25911 cat >conftest.$ac_ext <<_ACEOF
25914 cat confdefs.h >>conftest.$ac_ext
25915 cat >>conftest.$ac_ext <<_ACEOF
25916 /* end confdefs.h. */
25917 #include <ext/hash_map>
25918 #include <ext/hash_set>
25922 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25923 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25928 rm -f conftest.$ac_objext
25929 if { (ac_try="$ac_compile"
25930 case "(($ac_try" in
25931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25932 *) ac_try_echo=$ac_try;;
25934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25935 (eval "$ac_compile") 2>conftest.er1
25937 grep -v '^
*+' conftest.er1 >conftest.err
25939 cat conftest.err >&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } &&
25942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
'
25943 { (case "(($ac_try" in
25944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25945 *) ac_try_echo=$ac_try;;
25947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25948 (eval "$ac_try") 2>&5
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); }; } &&
25952 { ac_try='test -s conftest.
$ac_objext'
25953 { (case "(($ac_try" in
25954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25955 *) ac_try_echo=$ac_try;;
25957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25958 (eval "$ac_try") 2>&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; }; then
25962 wx_cv_class_gnuhashmapset=yes
25964 echo "$as_me: failed program was:" >&5
25965 sed 's
/^
/| /' conftest.$ac_ext >&5
25967 wx_cv_class_gnuhashmapset=no
25970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25974 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25975 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25980 if test "$wx_cv_class_gnuhashmapset" = yes; then
25981 cat >>confdefs.h <<\_ACEOF
25982 #define HAVE_EXT_HASH_MAP 1
25985 cat >>confdefs.h <<\_ACEOF
25986 #define HAVE_GNU_CXX_HASH_MAP 1
25993 ac_cpp='$CPP $CPPFLAGS'
25994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25995 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26001 /usr/local/include \
26003 /usr/Motif-2.1/include \
26004 /usr/Motif-1.2/include \
26005 /usr/include/Motif1.2 \
26008 /usr/openwin/include \
26012 /usr/X11R6/include \
26013 /usr/X11R6.4/include \
26014 /usr/X11R5/include \
26015 /usr/X11R4/include \
26017 /usr/include/X11R6 \
26018 /usr/include/X11R5 \
26019 /usr/include/X11R4 \
26021 /usr/local/X11R6/include \
26022 /usr/local/X11R5/include \
26023 /usr/local/X11R4/include \
26025 /usr/local/include/X11R6 \
26026 /usr/local/include/X11R5 \
26027 /usr/local/include/X11R4 \
26031 /usr/local/X11/include \
26032 /usr/local/include/X11 \
26034 /usr/XFree86/include/X11 \
26037 /usr/openwin/share/include"
26039 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26040 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26044 if test "${wx_cv_std_libpath+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26048 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26049 for e in a so sl dylib dll.a; do
26051 if test -f $libc; then
26054 cat >conftest.$ac_ext <<_ACEOF
26055 int main() { return 0; }
26057 rm -f conftest.$ac_objext conftest$ac_exeext
26058 if { (ac_try="$ac_link"
26059 case "(($ac_try" in
26060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26061 *) ac_try_echo=$ac_try;;
26063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26064 (eval "$ac_link") 2>conftest.er1
26066 grep -v '^
*+' conftest.er1 >conftest.err
26068 cat conftest.err >&5
26069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26070 (exit $ac_status); } &&
26071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
26072 { (case "(($ac_try" in
26073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26074 *) ac_try_echo=$ac_try;;
26076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26077 (eval "$ac_try") 2>&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); }; } &&
26081 { ac_try='test -s conftest
$ac_exeext'
26082 { (case "(($ac_try" in
26083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26084 *) ac_try_echo=$ac_try;;
26086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26087 (eval "$ac_try") 2>&5
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); }; }; then
26091 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26093 echo "$as_me: failed program was:" >&5
26094 sed 's
/^
/| /' conftest.$ac_ext >&5
26099 rm -f core conftest.err conftest.$ac_objext \
26100 conftest$ac_exeext conftest.$ac_ext
26102 if test "x$wx_cv_std_libpath" != "x"; then
26108 if test "x$wx_cv_std_libpath" = "x"; then
26109 wx_cv_std_libpath="lib"
26118 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26119 wx_cv_std_libpath="lib/64"
26121 wx_cv_std_libpath="lib"
26126 if test "$ac_cv_sizeof_void_p" = 8 -a \
26127 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26128 wx_cv_std_libpath="lib64"
26130 wx_cv_std_libpath="lib"
26135 wx_cv_std_libpath="lib";
26139 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26140 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26142 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26144 if test "$build" != "$host" -a "$GCC" = yes; then
26145 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26146 cross_root=`dirname $cross_root`
26147 cross_root=`dirname $cross_root`
26149 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26150 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26151 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26153 if test -z "$PKG_CONFIG_PATH"; then
26154 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26155 export PKG_CONFIG_PATH
26158 if test -z "$x_includes" -o "$x_includes" = NONE; then
26161 for ac_dir in $SEARCH_INCLUDE /usr/include;
26163 if test -f "$ac_dir/X11/Intrinsic.h"; then
26164 ac_find_includes=$ac_dir
26169 x_includes=$ac_find_includes
26171 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26174 for ac_dir in $SEARCH_LIB;
26176 for ac_extension in a so sl dylib dll.a; do
26177 if test -f "$ac_dir/libXt.$ac_extension"; then
26178 ac_find_libraries=$ac_dir
26184 x_libraries=$ac_find_libraries
26190 cat >confcache <<\_ACEOF
26191 # This file is a shell script that caches the results of configure
26192 # tests run on this system so they can be shared between configure
26193 # scripts and configure runs, see configure's option
--config-cache.
26194 # It is not useful on other systems. If it contains results you don't
26195 # want to keep, you may remove or edit it.
26197 # config.status only pays attention to the cache file if you give it
26198 # the --recheck option to rerun configure.
26200 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26201 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26202 # following values.
26206 # The following way of writing the cache mishandles newlines in values,
26207 # but we know of no workaround that is simple, portable, and efficient.
26208 # So, we kill variables containing newlines.
26209 # Ultrix sh set writes to stderr and can't be redirected directly,
26210 # and sets the high bit in the cache file unless we assign to the vars.
26212 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26213 eval ac_val
=\$
$ac_var
26217 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26218 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26221 _
| IFS
| as_nl
) ;; #(
26222 *) $as_unset $ac_var ;;
26228 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26229 *${as_nl}ac_space
=\
*)
26230 # `set' does not quote correctly, so add quotes (double-quote
26231 # substitution turns \\\\ into \\, and sed turns \\ into \).
26234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26237 # `set' quotes correctly as required by POSIX, so do not add quotes.
26238 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26247 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26249 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26251 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26252 if test -w "$cache_file"; then
26253 test "x$cache_file" != "x/dev/null" &&
26254 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26255 echo "$as_me: updating cache $cache_file" >&6;}
26256 cat confcache
>$cache_file
26258 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26259 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26264 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26265 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26266 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26267 if test "${wx_cv_lib_glibc21+set}" = set; then
26268 echo $ECHO_N "(cached) $ECHO_C" >&6
26271 cat >conftest.
$ac_ext <<_ACEOF
26274 cat confdefs.h
>>conftest.
$ac_ext
26275 cat >>conftest.
$ac_ext <<_ACEOF
26276 /* end confdefs.h. */
26277 #include <features.h>
26282 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26290 rm -f conftest.
$ac_objext
26291 if { (ac_try
="$ac_compile"
26292 case "(($ac_try" in
26293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26294 *) ac_try_echo=$ac_try;;
26296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26297 (eval "$ac_compile") 2>conftest.er1
26299 grep -v '^ *+' conftest.er1 >conftest.err
26301 cat conftest.err >&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } &&
26304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26305 { (case "(($ac_try" in
26306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26307 *) ac_try_echo
=$ac_try;;
26309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26310 (eval "$ac_try") 2>&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); }; } &&
26314 { ac_try
='test -s conftest.$ac_objext'
26315 { (case "(($ac_try" in
26316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26317 *) ac_try_echo=$ac_try;;
26319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26320 (eval "$ac_try") 2>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; }; then
26325 wx_cv_lib_glibc21=yes
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.$ac_ext >&5
26332 wx_cv_lib_glibc21=no
26337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26340 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26341 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26342 if test "$wx_cv_lib_glibc21" = "yes"; then
26343 cat >>confdefs.h <<\_ACEOF
26344 #define wxHAVE_GLIBC2 1
26350 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26351 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26352 cat >>confdefs.h <<\_ACEOF
26353 #define _GNU_SOURCE 1
26364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26367 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26370 cat >conftest.$ac_ext <<_ACEOF
26373 cat confdefs.h >>conftest.$ac_ext
26374 cat >>conftest.$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26378 #define $ac_func innocuous_$ac_func
26380 /* System header to define __stub macros and hopefully few prototypes,
26381 which can conflict with char $ac_func (); below.
26382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26383 <limits.h> exists even on freestanding compilers. */
26386 # include <limits.h>
26388 # include <assert.h>
26393 /* Override any GCC internal prototype to avoid an error.
26394 Use char because int might match the return type of a GCC
26395 builtin and then its argument prototype would still apply. */
26400 /* The GNU C library defines this for functions which it implements
26401 to always fail with ENOSYS. Some functions are actually named
26402 something starting with __ and the normal name is an alias. */
26403 #if defined __stub_$ac_func || defined __stub___$ac_func
26410 return $ac_func ();
26415 rm -f conftest.$ac_objext conftest$ac_exeext
26416 if { (ac_try="$ac_link"
26417 case "(($ac_try" in
26418 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26419 *) ac_try_echo
=$ac_try;;
26421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26422 (eval "$ac_link") 2>conftest.er1
26424 grep -v '^ *+' conftest.er1
>conftest.err
26426 cat conftest.err
>&5
26427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26428 (exit $ac_status); } &&
26429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26430 { (case "(($ac_try" in
26431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26432 *) ac_try_echo=$ac_try;;
26434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26435 (eval "$ac_try") 2>&5
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); }; } &&
26439 { ac_try='test -s conftest$ac_exeext'
26440 { (case "(($ac_try" in
26441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26442 *) ac_try_echo
=$ac_try;;
26444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26445 (eval "$ac_try") 2>&5
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; }; then
26449 eval "$as_ac_var=yes"
26451 echo "$as_me: failed program was:" >&5
26452 sed 's/^/| /' conftest.
$ac_ext >&5
26454 eval "$as_ac_var=no"
26457 rm -f core conftest.err conftest.
$ac_objext \
26458 conftest
$ac_exeext conftest.
$ac_ext
26460 ac_res
=`eval echo '${'$as_ac_var'}'`
26461 { echo "$as_me:$LINENO: result: $ac_res" >&5
26462 echo "${ECHO_T}$ac_res" >&6; }
26463 if test `eval echo '${'$as_ac_var'}'` = yes; then
26464 cat >>confdefs.h
<<_ACEOF
26465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26472 for ac_func
in floor
26474 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26477 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26480 cat >conftest.
$ac_ext <<_ACEOF
26483 cat confdefs.h
>>conftest.
$ac_ext
26484 cat >>conftest.
$ac_ext <<_ACEOF
26485 /* end confdefs.h. */
26486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26488 #define $ac_func innocuous_$ac_func
26490 /* System header to define __stub macros and hopefully few prototypes,
26491 which can conflict with char $ac_func (); below.
26492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26493 <limits.h> exists even on freestanding compilers. */
26496 # include <limits.h>
26498 # include <assert.h>
26503 /* Override any GCC internal prototype to avoid an error.
26504 Use char because int might match the return type of a GCC
26505 builtin and then its argument prototype would still apply. */
26510 /* The GNU C library defines this for functions which it implements
26511 to always fail with ENOSYS. Some functions are actually named
26512 something starting with __ and the normal name is an alias. */
26513 #if defined __stub_$ac_func || defined __stub___$ac_func
26520 return $ac_func ();
26525 rm -f conftest.
$ac_objext conftest
$ac_exeext
26526 if { (ac_try
="$ac_link"
26527 case "(($ac_try" in
26528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26529 *) ac_try_echo=$ac_try;;
26531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26532 (eval "$ac_link") 2>conftest.er1
26534 grep -v '^ *+' conftest.er1 >conftest.err
26536 cat conftest.err >&5
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); } &&
26539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26540 { (case "(($ac_try" in
26541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26542 *) ac_try_echo
=$ac_try;;
26544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26545 (eval "$ac_try") 2>&5
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); }; } &&
26549 { ac_try
='test -s conftest$ac_exeext'
26550 { (case "(($ac_try" in
26551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26552 *) ac_try_echo=$ac_try;;
26554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26555 (eval "$ac_try") 2>&5
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); }; }; then
26559 eval "$as_ac_var=yes"
26561 echo "$as_me: failed program was:" >&5
26562 sed 's/^/| /' conftest.$ac_ext >&5
26564 eval "$as_ac_var=no"
26567 rm -f core conftest.err conftest.$ac_objext \
26568 conftest$ac_exeext conftest.$ac_ext
26570 ac_res=`eval echo '${'$as_ac_var'}'`
26571 { echo "$as_me:$LINENO: result: $ac_res" >&5
26572 echo "${ECHO_T}$ac_res" >&6; }
26573 if test `eval echo '${'$as_ac_var'}'` = yes; then
26574 cat >>confdefs.h <<_ACEOF
26575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26581 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26582 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26583 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26584 { echo "$as_me:$LINENO: result: yes" >&5
26585 echo "${ECHO_T}yes" >&6; }
26587 { echo "$as_me:$LINENO: result: no" >&5
26588 echo "${ECHO_T}no" >&6; }
26590 # use different functions to avoid configure caching
26596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26597 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26599 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26602 cat >conftest.$ac_ext <<_ACEOF
26605 cat confdefs.h >>conftest.$ac_ext
26606 cat >>conftest.$ac_ext <<_ACEOF
26607 /* end confdefs.h. */
26608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26610 #define $ac_func innocuous_$ac_func
26612 /* System header to define __stub macros and hopefully few prototypes,
26613 which can conflict with char $ac_func (); below.
26614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26615 <limits.h> exists even on freestanding compilers. */
26618 # include <limits.h>
26620 # include <assert.h>
26625 /* Override any GCC internal prototype to avoid an error.
26626 Use char because int might match the return type of a GCC
26627 builtin and then its argument prototype would still apply. */
26632 /* The GNU C library defines this for functions which it implements
26633 to always fail with ENOSYS. Some functions are actually named
26634 something starting with __ and the normal name is an alias. */
26635 #if defined __stub_$ac_func || defined __stub___$ac_func
26642 return $ac_func ();
26647 rm -f conftest.$ac_objext conftest$ac_exeext
26648 if { (ac_try="$ac_link"
26649 case "(($ac_try" in
26650 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26651 *) ac_try_echo
=$ac_try;;
26653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26654 (eval "$ac_link") 2>conftest.er1
26656 grep -v '^ *+' conftest.er1
>conftest.err
26658 cat conftest.err
>&5
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); } &&
26661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26662 { (case "(($ac_try" in
26663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26664 *) ac_try_echo=$ac_try;;
26666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26667 (eval "$ac_try") 2>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); }; } &&
26671 { ac_try='test -s conftest$ac_exeext'
26672 { (case "(($ac_try" in
26673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26674 *) ac_try_echo
=$ac_try;;
26676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26677 (eval "$ac_try") 2>&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); }; }; then
26681 eval "$as_ac_var=yes"
26683 echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.
$ac_ext >&5
26686 eval "$as_ac_var=no"
26689 rm -f core conftest.err conftest.
$ac_objext \
26690 conftest
$ac_exeext conftest.
$ac_ext
26692 ac_res
=`eval echo '${'$as_ac_var'}'`
26693 { echo "$as_me:$LINENO: result: $ac_res" >&5
26694 echo "${ECHO_T}$ac_res" >&6; }
26695 if test `eval echo '${'$as_ac_var'}'` = yes; then
26696 cat >>confdefs.h
<<_ACEOF
26697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26704 for ac_func
in ceil
26706 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26707 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26709 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26712 cat >conftest.
$ac_ext <<_ACEOF
26715 cat confdefs.h
>>conftest.
$ac_ext
26716 cat >>conftest.
$ac_ext <<_ACEOF
26717 /* end confdefs.h. */
26718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26720 #define $ac_func innocuous_$ac_func
26722 /* System header to define __stub macros and hopefully few prototypes,
26723 which can conflict with char $ac_func (); below.
26724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26725 <limits.h> exists even on freestanding compilers. */
26728 # include <limits.h>
26730 # include <assert.h>
26735 /* Override any GCC internal prototype to avoid an error.
26736 Use char because int might match the return type of a GCC
26737 builtin and then its argument prototype would still apply. */
26742 /* The GNU C library defines this for functions which it implements
26743 to always fail with ENOSYS. Some functions are actually named
26744 something starting with __ and the normal name is an alias. */
26745 #if defined __stub_$ac_func || defined __stub___$ac_func
26752 return $ac_func ();
26757 rm -f conftest.
$ac_objext conftest
$ac_exeext
26758 if { (ac_try
="$ac_link"
26759 case "(($ac_try" in
26760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26761 *) ac_try_echo=$ac_try;;
26763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26764 (eval "$ac_link") 2>conftest.er1
26766 grep -v '^ *+' conftest.er1 >conftest.err
26768 cat conftest.err >&5
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); } &&
26771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26772 { (case "(($ac_try" in
26773 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26774 *) ac_try_echo
=$ac_try;;
26776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26777 (eval "$ac_try") 2>&5
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); }; } &&
26781 { ac_try
='test -s conftest$ac_exeext'
26782 { (case "(($ac_try" in
26783 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26784 *) ac_try_echo=$ac_try;;
26786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26787 (eval "$ac_try") 2>&5
26789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26790 (exit $ac_status); }; }; then
26791 eval "$as_ac_var=yes"
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.$ac_ext >&5
26796 eval "$as_ac_var=no"
26799 rm -f core conftest.err conftest.$ac_objext \
26800 conftest$ac_exeext conftest.$ac_ext
26802 ac_res=`eval echo '${'$as_ac_var'}'`
26803 { echo "$as_me:$LINENO: result: $ac_res" >&5
26804 echo "${ECHO_T}$ac_res" >&6; }
26805 if test `eval echo '${'$as_ac_var'}'` = yes; then
26806 cat >>confdefs.h <<_ACEOF
26807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26813 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26814 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26815 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26816 { echo "$as_me:$LINENO: result: yes" >&5
26817 echo "${ECHO_T}yes" >&6; }
26819 { echo "$as_me:$LINENO: result: no" >&5
26820 echo "${ECHO_T}no" >&6; }
26821 # not sure we should warn the user, crash, etc.
26826 ac_cpp='$CXXCPP $CPPFLAGS'
26827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26831 if test "wxUSE_UNICODE" = "yes"; then
26833 for wx_func in wcstoull
26835 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26836 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26837 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26838 echo $ECHO_N "(cached) $ECHO_C" >&6
26841 cat >conftest.$ac_ext <<_ACEOF
26845 cat confdefs.h >>conftest.$ac_ext
26846 cat >>conftest.$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26850 $ac_includes_default
26866 rm -f conftest.$ac_objext conftest$ac_exeext
26867 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
26875 grep -v '^ *+' conftest.er1
>conftest.err
26877 cat conftest.err
>&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); } &&
26880 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26881 { (case "(($ac_try" in
26882 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26883 *) ac_try_echo=$ac_try;;
26885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26886 (eval "$ac_try") 2>&5
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); }; } &&
26890 { ac_try='test -s conftest$ac_exeext'
26891 { (case "(($ac_try" in
26892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26893 *) ac_try_echo
=$ac_try;;
26895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26896 (eval "$ac_try") 2>&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; }; then
26900 eval wx_cv_func_
$wx_func=yes
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.
$ac_ext >&5
26905 eval wx_cv_func_
$wx_func=no
26908 rm -f core conftest.err conftest.
$ac_objext \
26909 conftest
$ac_exeext conftest.
$ac_ext
26912 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26913 { echo "$as_me:$LINENO: result: $ac_res" >&5
26914 echo "${ECHO_T}$ac_res" >&6; }
26916 if eval test \
$wx_cv_func_$wx_func = yes
26918 cat >>confdefs.h
<<_ACEOF
26919 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26931 for wx_func
in strtoull
26933 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26934 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26935 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26936 echo $ECHO_N "(cached) $ECHO_C" >&6
26939 cat >conftest.
$ac_ext <<_ACEOF
26943 cat confdefs.h
>>conftest.
$ac_ext
26944 cat >>conftest.
$ac_ext <<_ACEOF
26945 /* end confdefs.h. */
26948 $ac_includes_default
26964 rm -f conftest.
$ac_objext conftest
$ac_exeext
26965 if { (ac_try
="$ac_link"
26966 case "(($ac_try" in
26967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26968 *) ac_try_echo=$ac_try;;
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_link") 2>conftest.er1
26973 grep -v '^ *+' conftest.er1 >conftest.err
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } &&
26978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26979 { (case "(($ac_try" in
26980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26981 *) ac_try_echo
=$ac_try;;
26983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26984 (eval "$ac_try") 2>&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; } &&
26988 { ac_try
='test -s conftest$ac_exeext'
26989 { (case "(($ac_try" in
26990 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26991 *) ac_try_echo=$ac_try;;
26993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26994 (eval "$ac_try") 2>&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); }; }; then
26998 eval wx_cv_func_$wx_func=yes
27000 echo "$as_me: failed program was:" >&5
27001 sed 's/^/| /' conftest.$ac_ext >&5
27003 eval wx_cv_func_$wx_func=no
27006 rm -f core conftest.err conftest.$ac_objext \
27007 conftest$ac_exeext conftest.$ac_ext
27010 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27011 { echo "$as_me:$LINENO: result: $ac_res" >&5
27012 echo "${ECHO_T}$ac_res" >&6; }
27014 if eval test \$wx_cv_func_$wx_func = yes
27016 cat >>confdefs.h <<_ACEOF
27017 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27029 ac_cpp='$CPP $CPPFLAGS'
27030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27037 if test "$wxUSE_REGEX" != "no"; then
27038 cat >>confdefs.h <<\_ACEOF
27039 #define wxUSE_REGEX 1
27043 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27044 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27045 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27046 wxUSE_REGEX=builtin
27049 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27050 { echo "$as_me:$LINENO: checking for regex.h" >&5
27051 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27052 if test "${ac_cv_header_regex_h+set}" = set; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27055 cat >conftest.$ac_ext <<_ACEOF
27058 cat confdefs.h >>conftest.$ac_ext
27059 cat >>conftest.$ac_ext <<_ACEOF
27060 /* end confdefs.h. */
27065 rm -f conftest.$ac_objext
27066 if { (ac_try="$ac_compile"
27067 case "(($ac_try" in
27068 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27069 *) ac_try_echo
=$ac_try;;
27071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27072 (eval "$ac_compile") 2>conftest.er1
27074 grep -v '^ *+' conftest.er1
>conftest.err
27076 cat conftest.err
>&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27080 { (case "(($ac_try" in
27081 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27082 *) ac_try_echo=$ac_try;;
27084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27085 (eval "$ac_try") 2>&5
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; } &&
27089 { ac_try='test -s conftest.$ac_objext'
27090 { (case "(($ac_try" in
27091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27092 *) ac_try_echo
=$ac_try;;
27094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27095 (eval "$ac_try") 2>&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); }; }; then
27099 ac_cv_header_regex_h
=yes
27101 echo "$as_me: failed program was:" >&5
27102 sed 's/^/| /' conftest.
$ac_ext >&5
27104 ac_cv_header_regex_h
=no
27107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27109 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27110 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27111 if test $ac_cv_header_regex_h = yes; then
27114 for ac_func
in regcomp re_search
27116 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27117 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27119 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27120 echo $ECHO_N "(cached) $ECHO_C" >&6
27122 cat >conftest.
$ac_ext <<_ACEOF
27125 cat confdefs.h
>>conftest.
$ac_ext
27126 cat >>conftest.
$ac_ext <<_ACEOF
27127 /* end confdefs.h. */
27128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27130 #define $ac_func innocuous_$ac_func
27132 /* System header to define __stub macros and hopefully few prototypes,
27133 which can conflict with char $ac_func (); below.
27134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27135 <limits.h> exists even on freestanding compilers. */
27138 # include <limits.h>
27140 # include <assert.h>
27145 /* Override any GCC internal prototype to avoid an error.
27146 Use char because int might match the return type of a GCC
27147 builtin and then its argument prototype would still apply. */
27152 /* The GNU C library defines this for functions which it implements
27153 to always fail with ENOSYS. Some functions are actually named
27154 something starting with __ and the normal name is an alias. */
27155 #if defined __stub_$ac_func || defined __stub___$ac_func
27162 return $ac_func ();
27167 rm -f conftest.
$ac_objext conftest
$ac_exeext
27168 if { (ac_try
="$ac_link"
27169 case "(($ac_try" in
27170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27171 *) ac_try_echo=$ac_try;;
27173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27174 (eval "$ac_link") 2>conftest.er1
27176 grep -v '^ *+' conftest.er1 >conftest.err
27178 cat conftest.err >&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); } &&
27181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27182 { (case "(($ac_try" in
27183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27184 *) ac_try_echo
=$ac_try;;
27186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27187 (eval "$ac_try") 2>&5
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); }; } &&
27191 { ac_try
='test -s conftest$ac_exeext'
27192 { (case "(($ac_try" in
27193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27194 *) ac_try_echo=$ac_try;;
27196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27197 (eval "$ac_try") 2>&5
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); }; }; then
27201 eval "$as_ac_var=yes"
27203 echo "$as_me: failed program was:" >&5
27204 sed 's/^/| /' conftest.$ac_ext >&5
27206 eval "$as_ac_var=no"
27209 rm -f core conftest.err conftest.$ac_objext \
27210 conftest$ac_exeext conftest.$ac_ext
27212 ac_res=`eval echo '${'$as_ac_var'}'`
27213 { echo "$as_me:$LINENO: result: $ac_res" >&5
27214 echo "${ECHO_T}$ac_res" >&6; }
27215 if test `eval echo '${'$as_ac_var'}'` = yes; then
27216 cat >>confdefs.h <<_ACEOF
27217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27227 if test "x$ac_cv_func_regcomp" != "xyes"; then
27228 if test "$wxUSE_REGEX" = "sys" ; then
27229 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27230 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27231 { (exit 1); exit 1; }; }
27233 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27234 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27235 wxUSE_REGEX=builtin
27239 cat >>confdefs.h <<\_ACEOF
27240 #define WX_NO_REGEX_ADVANCED 1
27249 if test "$wxUSE_ZLIB" != "no" ; then
27250 cat >>confdefs.h <<\_ACEOF
27251 #define wxUSE_ZLIB 1
27255 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27256 if test "$USE_DARWIN" = 1; then
27257 system_zlib_h_ok="yes"
27259 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27260 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27261 if test "${ac_cv_header_zlib_h+set}" = set; then
27262 echo $ECHO_N "(cached) $ECHO_C" >&6
27264 if test "$cross_compiling" = yes; then
27265 unset ac_cv_header_zlib_h
27268 cat >conftest.$ac_ext <<_ACEOF
27271 cat confdefs.h >>conftest.$ac_ext
27272 cat >>conftest.$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27280 FILE *f=fopen("conftestval", "w");
27283 ZLIB_VERSION[0] == '1' &&
27284 (ZLIB_VERSION[2] > '1' ||
27285 (ZLIB_VERSION[2] == '1' &&
27286 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27291 rm -f conftest$ac_exeext
27292 if { (ac_try="$ac_link"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27295 *) ac_try_echo
=$ac_try;;
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_link") 2>&5
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27302 { (case "(($ac_try" in
27303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_try") 2>&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); }; }; then
27311 ac_cv_header_zlib_h=`cat conftestval
`
27313 echo "$as_me: program exited with status $ac_status" >&5
27314 echo "$as_me: failed program was:" >&5
27315 sed 's/^/| /' conftest.$ac_ext >&5
27317 ( exit $ac_status )
27318 ac_cv_header_zlib_h=no
27320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27326 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27327 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27328 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27329 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27330 if test "${ac_cv_header_zlib_h+set}" = set; then
27331 echo $ECHO_N "(cached) $ECHO_C" >&6
27333 cat >conftest.$ac_ext <<_ACEOF
27336 cat confdefs.h >>conftest.$ac_ext
27337 cat >>conftest.$ac_ext <<_ACEOF
27338 /* end confdefs.h. */
27343 rm -f conftest.$ac_objext
27344 if { (ac_try="$ac_compile"
27345 case "(($ac_try" in
27346 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27347 *) ac_try_echo
=$ac_try;;
27349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27350 (eval "$ac_compile") 2>conftest.er1
27352 grep -v '^ *+' conftest.er1
>conftest.err
27354 cat conftest.err
>&5
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); } &&
27357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27358 { (case "(($ac_try" in
27359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27360 *) ac_try_echo=$ac_try;;
27362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27363 (eval "$ac_try") 2>&5
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; } &&
27367 { ac_try='test -s conftest.$ac_objext'
27368 { (case "(($ac_try" in
27369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27370 *) ac_try_echo
=$ac_try;;
27372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27373 (eval "$ac_try") 2>&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); }; }; then
27377 ac_cv_header_zlib_h
=yes
27379 echo "$as_me: failed program was:" >&5
27380 sed 's/^/| /' conftest.
$ac_ext >&5
27382 ac_cv_header_zlib_h
=no
27385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27387 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27388 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27392 system_zlib_h_ok
=$ac_cv_header_zlib_h
27395 if test "$system_zlib_h_ok" = "yes"; then
27396 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27397 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27398 if test "${ac_cv_lib_z_deflate+set}" = set; then
27399 echo $ECHO_N "(cached) $ECHO_C" >&6
27401 ac_check_lib_save_LIBS
=$LIBS
27403 cat >conftest.
$ac_ext <<_ACEOF
27406 cat confdefs.h
>>conftest.
$ac_ext
27407 cat >>conftest.
$ac_ext <<_ACEOF
27408 /* end confdefs.h. */
27410 /* Override any GCC internal prototype to avoid an error.
27411 Use char because int might match the return type of a GCC
27412 builtin and then its argument prototype would still apply. */
27425 rm -f conftest.
$ac_objext conftest
$ac_exeext
27426 if { (ac_try
="$ac_link"
27427 case "(($ac_try" in
27428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27429 *) ac_try_echo=$ac_try;;
27431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27432 (eval "$ac_link") 2>conftest.er1
27434 grep -v '^ *+' conftest.er1 >conftest.err
27436 cat conftest.err >&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } &&
27439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27440 { (case "(($ac_try" in
27441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27442 *) ac_try_echo
=$ac_try;;
27444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27445 (eval "$ac_try") 2>&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); }; } &&
27449 { ac_try
='test -s conftest$ac_exeext'
27450 { (case "(($ac_try" in
27451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27452 *) ac_try_echo=$ac_try;;
27454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27455 (eval "$ac_try") 2>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; }; then
27459 ac_cv_lib_z_deflate=yes
27461 echo "$as_me: failed program was:" >&5
27462 sed 's/^/| /' conftest.$ac_ext >&5
27464 ac_cv_lib_z_deflate=no
27467 rm -f core conftest.err conftest.$ac_objext \
27468 conftest$ac_exeext conftest.$ac_ext
27469 LIBS=$ac_check_lib_save_LIBS
27471 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27472 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27473 if test $ac_cv_lib_z_deflate = yes; then
27479 if test "x$ZLIB_LINK" = "x" ; then
27480 if test "$wxUSE_ZLIB" = "sys" ; then
27481 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27482 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27483 { (exit 1); exit 1; }; }
27485 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27486 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27497 if test "$wxUSE_LIBPNG" != "no" ; then
27498 cat >>confdefs.h <<\_ACEOF
27499 #define wxUSE_LIBPNG 1
27503 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27504 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27505 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27509 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27510 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27511 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27512 wxUSE_LIBPNG=builtin
27515 if test "$wxUSE_MGL" != 1 ; then
27516 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27517 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27518 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27519 if test "${ac_cv_header_png_h+set}" = set; then
27520 echo $ECHO_N "(cached) $ECHO_C" >&6
27522 if test "$cross_compiling" = yes; then
27523 unset ac_cv_header_png_h
27526 cat >conftest.$ac_ext <<_ACEOF
27529 cat confdefs.h >>conftest.$ac_ext
27530 cat >>conftest.$ac_ext <<_ACEOF
27531 /* end confdefs.h. */
27538 FILE *f=fopen("conftestval", "w");
27541 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27546 rm -f conftest$ac_exeext
27547 if { (ac_try="$ac_link"
27548 case "(($ac_try" in
27549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27550 *) ac_try_echo
=$ac_try;;
27552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27553 (eval "$ac_link") 2>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27557 { (case "(($ac_try" in
27558 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27559 *) ac_try_echo=$ac_try;;
27561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27562 (eval "$ac_try") 2>&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); }; }; then
27566 ac_cv_header_png_h=`cat conftestval
`
27568 echo "$as_me: program exited with status $ac_status" >&5
27569 echo "$as_me: failed program was:" >&5
27570 sed 's/^/| /' conftest.$ac_ext >&5
27572 ( exit $ac_status )
27573 ac_cv_header_png_h=no
27575 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27581 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27582 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27583 { echo "$as_me:$LINENO: checking for png.h" >&5
27584 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27585 if test "${ac_cv_header_png_h+set}" = set; then
27586 echo $ECHO_N "(cached) $ECHO_C" >&6
27588 cat >conftest.$ac_ext <<_ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27598 rm -f conftest.$ac_objext
27599 if { (ac_try="$ac_compile"
27600 case "(($ac_try" in
27601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27602 *) ac_try_echo
=$ac_try;;
27604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27605 (eval "$ac_compile") 2>conftest.er1
27607 grep -v '^ *+' conftest.er1
>conftest.err
27609 cat conftest.err
>&5
27610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 (exit $ac_status); } &&
27612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27613 { (case "(($ac_try" in
27614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27615 *) ac_try_echo=$ac_try;;
27617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27618 (eval "$ac_try") 2>&5
27620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621 (exit $ac_status); }; } &&
27622 { ac_try='test -s conftest.$ac_objext'
27623 { (case "(($ac_try" in
27624 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27625 *) ac_try_echo
=$ac_try;;
27627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27628 (eval "$ac_try") 2>&5
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); }; }; then
27632 ac_cv_header_png_h
=yes
27634 echo "$as_me: failed program was:" >&5
27635 sed 's/^/| /' conftest.
$ac_ext >&5
27637 ac_cv_header_png_h
=no
27640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27642 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27643 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27647 if test "$ac_cv_header_png_h" = "yes"; then
27648 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27649 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27650 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27651 echo $ECHO_N "(cached) $ECHO_C" >&6
27653 ac_check_lib_save_LIBS
=$LIBS
27654 LIBS
="-lpng -lz -lm $LIBS"
27655 cat >conftest.
$ac_ext <<_ACEOF
27658 cat confdefs.h
>>conftest.
$ac_ext
27659 cat >>conftest.
$ac_ext <<_ACEOF
27660 /* end confdefs.h. */
27662 /* Override any GCC internal prototype to avoid an error.
27663 Use char because int might match the return type of a GCC
27664 builtin and then its argument prototype would still apply. */
27668 char png_check_sig ();
27672 return png_check_sig ();
27677 rm -f conftest.
$ac_objext conftest
$ac_exeext
27678 if { (ac_try
="$ac_link"
27679 case "(($ac_try" in
27680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27681 *) ac_try_echo=$ac_try;;
27683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27684 (eval "$ac_link") 2>conftest.er1
27686 grep -v '^ *+' conftest.er1 >conftest.err
27688 cat conftest.err >&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); } &&
27691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27692 { (case "(($ac_try" in
27693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27694 *) ac_try_echo
=$ac_try;;
27696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27697 (eval "$ac_try") 2>&5
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); }; } &&
27701 { ac_try
='test -s conftest$ac_exeext'
27702 { (case "(($ac_try" in
27703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27704 *) ac_try_echo=$ac_try;;
27706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27707 (eval "$ac_try") 2>&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; }; then
27711 ac_cv_lib_png_png_check_sig=yes
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.$ac_ext >&5
27716 ac_cv_lib_png_png_check_sig=no
27719 rm -f core conftest.err conftest.$ac_objext \
27720 conftest$ac_exeext conftest.$ac_ext
27721 LIBS=$ac_check_lib_save_LIBS
27723 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27724 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27725 if test $ac_cv_lib_png_png_check_sig = yes; then
27726 PNG_LINK=" -lpng -lz"
27731 if test "x$PNG_LINK" = "x" ; then
27732 if test "$wxUSE_LIBPNG" = "sys" ; then
27733 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27734 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27735 { (exit 1); exit 1; }; }
27737 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27738 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27739 wxUSE_LIBPNG=builtin
27747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
27752 if test "$wxUSE_LIBJPEG" != "no" ; then
27753 cat >>confdefs.h <<\_ACEOF
27754 #define wxUSE_LIBJPEG 1
27758 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27759 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27760 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27764 if test "$wxUSE_MGL" != 1 ; then
27765 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27766 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27767 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27768 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27771 cat >conftest.$ac_ext <<_ACEOF
27774 cat confdefs.h >>conftest.$ac_ext
27775 cat >>conftest.$ac_ext <<_ACEOF
27776 /* end confdefs.h. */
27778 #undef HAVE_STDLIB_H
27780 #include <jpeglib.h>
27791 rm -f conftest.$ac_objext
27792 if { (ac_try="$ac_compile"
27793 case "(($ac_try" in
27794 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27795 *) ac_try_echo
=$ac_try;;
27797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27798 (eval "$ac_compile") 2>conftest.er1
27800 grep -v '^ *+' conftest.er1
>conftest.err
27802 cat conftest.err
>&5
27803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804 (exit $ac_status); } &&
27805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27806 { (case "(($ac_try" in
27807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27808 *) ac_try_echo=$ac_try;;
27810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27811 (eval "$ac_try") 2>&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; } &&
27815 { ac_try='test -s conftest.$ac_objext'
27816 { (case "(($ac_try" in
27817 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27818 *) ac_try_echo
=$ac_try;;
27820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27821 (eval "$ac_try") 2>&5
27823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824 (exit $ac_status); }; }; then
27825 ac_cv_header_jpeglib_h
=yes
27827 echo "$as_me: failed program was:" >&5
27828 sed 's/^/| /' conftest.
$ac_ext >&5
27830 ac_cv_header_jpeglib_h
=no
27834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27838 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27839 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27841 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27842 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27843 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27844 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 ac_check_lib_save_LIBS
=$LIBS
27848 LIBS
="-ljpeg $LIBS"
27849 cat >conftest.
$ac_ext <<_ACEOF
27852 cat confdefs.h
>>conftest.
$ac_ext
27853 cat >>conftest.
$ac_ext <<_ACEOF
27854 /* end confdefs.h. */
27856 /* Override any GCC internal prototype to avoid an error.
27857 Use char because int might match the return type of a GCC
27858 builtin and then its argument prototype would still apply. */
27862 char jpeg_read_header ();
27866 return jpeg_read_header ();
27871 rm -f conftest.
$ac_objext conftest
$ac_exeext
27872 if { (ac_try
="$ac_link"
27873 case "(($ac_try" in
27874 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27875 *) ac_try_echo=$ac_try;;
27877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27878 (eval "$ac_link") 2>conftest.er1
27880 grep -v '^ *+' conftest.er1 >conftest.err
27882 cat conftest.err >&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); } &&
27885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27886 { (case "(($ac_try" in
27887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27888 *) ac_try_echo
=$ac_try;;
27890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27891 (eval "$ac_try") 2>&5
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); }; } &&
27895 { ac_try
='test -s conftest$ac_exeext'
27896 { (case "(($ac_try" in
27897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27898 *) ac_try_echo=$ac_try;;
27900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27901 (eval "$ac_try") 2>&5
27903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904 (exit $ac_status); }; }; then
27905 ac_cv_lib_jpeg_jpeg_read_header=yes
27907 echo "$as_me: failed program was:" >&5
27908 sed 's/^/| /' conftest.$ac_ext >&5
27910 ac_cv_lib_jpeg_jpeg_read_header=no
27913 rm -f core conftest.err conftest.$ac_objext \
27914 conftest$ac_exeext conftest.$ac_ext
27915 LIBS=$ac_check_lib_save_LIBS
27917 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27918 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27919 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27920 JPEG_LINK=" -ljpeg"
27925 if test "x$JPEG_LINK" = "x" ; then
27926 if test "$wxUSE_LIBJPEG" = "sys" ; then
27927 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27928 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27929 { (exit 1); exit 1; }; }
27931 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27932 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27933 wxUSE_LIBJPEG=builtin
27938 if test "$wxUSE_MSW" = 1; then
27939 { echo "$as_me:$LINENO: checking for boolean" >&5
27940 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27941 if test "${ac_cv_type_boolean+set}" = set; then
27942 echo $ECHO_N "(cached) $ECHO_C" >&6
27944 cat >conftest.$ac_ext <<_ACEOF
27947 cat confdefs.h >>conftest.$ac_ext
27948 cat >>conftest.$ac_ext <<_ACEOF
27949 /* end confdefs.h. */
27950 #include <windows.h>
27952 typedef boolean ac__type_new_;
27956 if ((ac__type_new_ *) 0)
27958 if (sizeof (ac__type_new_))
27964 rm -f conftest.$ac_objext
27965 if { (ac_try="$ac_compile"
27966 case "(($ac_try" in
27967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27968 *) ac_try_echo
=$ac_try;;
27970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27971 (eval "$ac_compile") 2>conftest.er1
27973 grep -v '^ *+' conftest.er1
>conftest.err
27975 cat conftest.err
>&5
27976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27977 (exit $ac_status); } &&
27978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27979 { (case "(($ac_try" in
27980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27981 *) ac_try_echo=$ac_try;;
27983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27984 (eval "$ac_try") 2>&5
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); }; } &&
27988 { ac_try='test -s conftest.$ac_objext'
27989 { (case "(($ac_try" in
27990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27991 *) ac_try_echo
=$ac_try;;
27993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27994 (eval "$ac_try") 2>&5
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); }; }; then
27998 ac_cv_type_boolean
=yes
28000 echo "$as_me: failed program was:" >&5
28001 sed 's/^/| /' conftest.
$ac_ext >&5
28003 ac_cv_type_boolean
=no
28006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28008 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28009 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28010 if test $ac_cv_type_boolean = yes; then
28012 cat >>confdefs.h
<<_ACEOF
28013 #define HAVE_BOOLEAN 1
28017 { echo "$as_me:$LINENO: checking for boolean" >&5
28018 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28019 if test "${ac_cv_type_boolean+set}" = set; then
28020 echo $ECHO_N "(cached) $ECHO_C" >&6
28022 cat >conftest.
$ac_ext <<_ACEOF
28025 cat confdefs.h
>>conftest.
$ac_ext
28026 cat >>conftest.
$ac_ext <<_ACEOF
28027 /* end confdefs.h. */
28029 #undef HAVE_BOOLEAN
28031 #include <jpeglib.h>
28034 typedef boolean ac__type_new_;
28038 if ((ac__type_new_ *) 0)
28040 if (sizeof (ac__type_new_))
28046 rm -f conftest.
$ac_objext
28047 if { (ac_try
="$ac_compile"
28048 case "(($ac_try" in
28049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28050 *) ac_try_echo=$ac_try;;
28052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28053 (eval "$ac_compile") 2>conftest.er1
28055 grep -v '^ *+' conftest.er1 >conftest.err
28057 cat conftest.err >&5
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); } &&
28060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28061 { (case "(($ac_try" in
28062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28063 *) ac_try_echo
=$ac_try;;
28065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28066 (eval "$ac_try") 2>&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); }; } &&
28070 { ac_try
='test -s conftest.$ac_objext'
28071 { (case "(($ac_try" in
28072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28073 *) ac_try_echo=$ac_try;;
28075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28076 (eval "$ac_try") 2>&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); }; }; then
28080 ac_cv_type_boolean=yes
28082 echo "$as_me: failed program was:" >&5
28083 sed 's/^/| /' conftest.$ac_ext >&5
28085 ac_cv_type_boolean=no
28088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28090 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28091 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28093 { echo "$as_me:$LINENO: checking size of boolean" >&5
28094 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28095 if test "${ac_cv_sizeof_boolean+set}" = set; then
28096 echo $ECHO_N "(cached) $ECHO_C" >&6
28098 if test "$ac_cv_type_boolean" = yes; then
28099 # The cast to long int works around a bug in the HP C Compiler
28100 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28101 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28102 # This bug is HP SR number 8606223364.
28103 if test "$cross_compiling" = yes; then
28104 # Depending upon the size, compute the lo and hi bounds.
28105 cat >conftest.$ac_ext <<_ACEOF
28108 cat confdefs.h >>conftest.$ac_ext
28109 cat >>conftest.$ac_ext <<_ACEOF
28110 /* end confdefs.h. */
28112 #undef HAVE_BOOLEAN
28114 #include <jpeglib.h>
28117 typedef boolean ac__type_sizeof_;
28121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28128 rm -f conftest.$ac_objext
28129 if { (ac_try="$ac_compile"
28130 case "(($ac_try" in
28131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28132 *) ac_try_echo=$ac_try;;
28134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28135 (eval "$ac_compile") 2>conftest.er1
28137 grep -v '^
*+' conftest.er1 >conftest.err
28139 cat conftest.err >&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); } &&
28142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
28143 { (case "(($ac_try" in
28144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28145 *) ac_try_echo=$ac_try;;
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_try") 2>&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); }; } &&
28152 { ac_try='test -s conftest.
$ac_objext'
28153 { (case "(($ac_try" in
28154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28155 *) ac_try_echo=$ac_try;;
28157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28158 (eval "$ac_try") 2>&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); }; }; then
28164 cat >conftest.$ac_ext <<_ACEOF
28167 cat confdefs.h >>conftest.$ac_ext
28168 cat >>conftest.$ac_ext <<_ACEOF
28169 /* end confdefs.h. */
28171 #undef HAVE_BOOLEAN
28173 #include <jpeglib.h>
28176 typedef boolean ac__type_sizeof_;
28180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28187 rm -f conftest.$ac_objext
28188 if { (ac_try="$ac_compile"
28189 case "(($ac_try" in
28190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28191 *) ac_try_echo=$ac_try;;
28193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28194 (eval "$ac_compile") 2>conftest.er1
28196 grep -v '^
*+' conftest.er1 >conftest.err
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } &&
28201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
28202 { (case "(($ac_try" in
28203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28204 *) ac_try_echo=$ac_try;;
28206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28207 (eval "$ac_try") 2>&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); }; } &&
28211 { ac_try='test -s conftest.
$ac_objext'
28212 { (case "(($ac_try" in
28213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214 *) ac_try_echo=$ac_try;;
28216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28217 (eval "$ac_try") 2>&5
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28221 ac_hi=$ac_mid; break
28223 echo "$as_me: failed program was:" >&5
28224 sed 's
/^
/| /' conftest.$ac_ext >&5
28226 ac_lo=`expr $ac_mid + 1`
28227 if test $ac_lo -le $ac_mid; then
28231 ac_mid=`expr 2 '*' $ac_mid + 1`
28234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28237 echo "$as_me: failed program was:" >&5
28238 sed 's
/^
/| /' conftest.$ac_ext >&5
28240 cat >conftest.$ac_ext <<_ACEOF
28243 cat confdefs.h >>conftest.$ac_ext
28244 cat >>conftest.$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28247 #undef HAVE_BOOLEAN
28249 #include <jpeglib.h>
28252 typedef boolean ac__type_sizeof_;
28256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28263 rm -f conftest.$ac_objext
28264 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
28272 grep -v '^
*+' conftest.er1 >conftest.err
28274 cat conftest.err >&5
28275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28276 (exit $ac_status); } &&
28277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
28278 { (case "(($ac_try" in
28279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28280 *) ac_try_echo=$ac_try;;
28282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28283 (eval "$ac_try") 2>&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); }; } &&
28287 { ac_try='test -s conftest.
$ac_objext'
28288 { (case "(($ac_try" in
28289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28290 *) ac_try_echo=$ac_try;;
28292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28293 (eval "$ac_try") 2>&5
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); }; }; then
28299 cat >conftest.$ac_ext <<_ACEOF
28302 cat confdefs.h >>conftest.$ac_ext
28303 cat >>conftest.$ac_ext <<_ACEOF
28304 /* end confdefs.h. */
28306 #undef HAVE_BOOLEAN
28308 #include <jpeglib.h>
28311 typedef boolean ac__type_sizeof_;
28315 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28322 rm -f conftest.$ac_objext
28323 if { (ac_try="$ac_compile"
28324 case "(($ac_try" in
28325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28326 *) ac_try_echo=$ac_try;;
28328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28329 (eval "$ac_compile") 2>conftest.er1
28331 grep -v '^
*+' conftest.er1 >conftest.err
28333 cat conftest.err >&5
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); } &&
28336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
28337 { (case "(($ac_try" in
28338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28339 *) ac_try_echo=$ac_try;;
28341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28342 (eval "$ac_try") 2>&5
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; } &&
28346 { ac_try='test -s conftest.
$ac_objext'
28347 { (case "(($ac_try" in
28348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28349 *) ac_try_echo=$ac_try;;
28351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28352 (eval "$ac_try") 2>&5
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 ac_lo=$ac_mid; break
28358 echo "$as_me: failed program was:" >&5
28359 sed 's
/^
/| /' conftest.$ac_ext >&5
28361 ac_hi=`expr '(' $ac_mid ')' - 1`
28362 if test $ac_mid -le $ac_hi; then
28366 ac_mid=`expr 2 '*' $ac_mid`
28369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28372 echo "$as_me: failed program was:" >&5
28373 sed 's
/^
/| /' conftest.$ac_ext >&5
28378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28382 # Binary search between lo and hi bounds.
28383 while test "x$ac_lo" != "x$ac_hi"; do
28384 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28385 cat >conftest.$ac_ext <<_ACEOF
28388 cat confdefs.h >>conftest.$ac_ext
28389 cat >>conftest.$ac_ext <<_ACEOF
28390 /* end confdefs.h. */
28392 #undef HAVE_BOOLEAN
28394 #include <jpeglib.h>
28397 typedef boolean ac__type_sizeof_;
28401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28408 rm -f conftest.$ac_objext
28409 if { (ac_try="$ac_compile"
28410 case "(($ac_try" in
28411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28412 *) ac_try_echo=$ac_try;;
28414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28415 (eval "$ac_compile") 2>conftest.er1
28417 grep -v '^
*+' conftest.er1 >conftest.err
28419 cat conftest.err >&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); } &&
28422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
28423 { (case "(($ac_try" in
28424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28425 *) ac_try_echo=$ac_try;;
28427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28428 (eval "$ac_try") 2>&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; } &&
28432 { ac_try='test -s conftest.
$ac_objext'
28433 { (case "(($ac_try" in
28434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28435 *) ac_try_echo=$ac_try;;
28437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28438 (eval "$ac_try") 2>&5
28440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441 (exit $ac_status); }; }; then
28444 echo "$as_me: failed program was:" >&5
28445 sed 's
/^
/| /' conftest.$ac_ext >&5
28447 ac_lo=`expr '(' $ac_mid ')' + 1`
28450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28453 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28454 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28455 See \`config.log' for more details.
" >&5
28456 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28457 See \
`config.log' for more details." >&2;}
28458 { (exit 77); exit 77; }; } ;;
28461 cat >conftest.$ac_ext <<_ACEOF
28464 cat confdefs.h >>conftest.$ac_ext
28465 cat >>conftest.$ac_ext <<_ACEOF
28466 /* end confdefs.h. */
28468 #undef HAVE_BOOLEAN
28470 #include <jpeglib.h>
28473 typedef boolean ac__type_sizeof_;
28474 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28475 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28477 #include <stdlib.h>
28482 FILE *f = fopen ("conftest.val", "w");
28485 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28487 long int i = longval ();
28488 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28490 fprintf (f, "%ld\n", i);
28494 unsigned long int i = ulongval ();
28495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28497 fprintf (f, "%lu\n", i);
28499 return ferror (f) || fclose (f) != 0;
28505 rm -f conftest$ac_exeext
28506 if { (ac_try="$ac_link"
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_link") 2>&5
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28516 { (case "(($ac_try" in
28517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28518 *) ac_try_echo=$ac_try;;
28520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28521 (eval "$ac_try") 2>&5
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); }; }; then
28525 ac_cv_sizeof_boolean=`cat conftest.val
`
28527 echo "$as_me: program exited with status $ac_status" >&5
28528 echo "$as_me: failed program was:" >&5
28529 sed 's/^/| /' conftest.$ac_ext >&5
28531 ( exit $ac_status )
28532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28533 See \`config.log
' for more details." >&5
28534 echo "$as_me: error: cannot compute sizeof (boolean)
28535 See \`config.log' for more details.
" >&2;}
28536 { (exit 77); exit 77; }; }
28538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28542 ac_cv_sizeof_boolean=0
28545 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28546 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28547 cat >>confdefs.h <<_ACEOF
28548 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28552 cat >>confdefs.h <<_ACEOF
28553 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28567 TIFF_PREREQ_LINKS=-lm
28568 if test "$wxUSE_LIBTIFF" != "no
" ; then
28569 cat >>confdefs.h <<\_ACEOF
28570 #define wxUSE_LIBTIFF 1
28574 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28575 if test "$wxUSE_LIBJPEG" = "sys
"; then
28576 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28578 if test "$wxUSE_ZLIB" = "sys
"; then
28579 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28581 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28582 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28583 if test "${ac_cv_header_tiffio_h+set}" = set; then
28584 echo $ECHO_N "(cached
) $ECHO_C" >&6
28586 cat >conftest.$ac_ext <<_ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28595 #include <tiffio.h>
28597 rm -f conftest.$ac_objext
28598 if { (ac_try="$ac_compile"
28599 case "(($ac_try" in
28600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28601 *) ac_try_echo=$ac_try;;
28603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28604 (eval "$ac_compile") 2>conftest.er1
28606 grep -v '^ *+' conftest.er1 >conftest.err
28608 cat conftest.err >&5
28609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28612 { (case "(($ac_try" in
28613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28614 *) ac_try_echo=$ac_try;;
28616 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28617 (eval "$ac_try") 2>&5
28619 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28620 (exit $ac_status); }; } &&
28621 { ac_try='test -s conftest.$ac_objext'
28622 { (case "(($ac_try" in
28623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28624 *) ac_try_echo=$ac_try;;
28626 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28627 (eval "$ac_try") 2>&5
28629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28630 (exit $ac_status); }; }; then
28631 ac_cv_header_tiffio_h=yes
28633 echo "$as_me: failed program was
:" >&5
28634 sed 's/^/| /' conftest.$ac_ext >&5
28636 ac_cv_header_tiffio_h=no
28639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28641 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28642 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28643 if test $ac_cv_header_tiffio_h = yes; then
28645 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28646 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28647 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28648 echo $ECHO_N "(cached
) $ECHO_C" >&6
28650 ac_check_lib_save_LIBS=$LIBS
28651 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28652 cat >conftest.$ac_ext <<_ACEOF
28655 cat confdefs.h >>conftest.$ac_ext
28656 cat >>conftest.$ac_ext <<_ACEOF
28657 /* end confdefs.h. */
28659 /* Override any GCC internal prototype to avoid an error.
28660 Use char because int might match the return type of a GCC
28661 builtin and then its argument prototype would still apply. */
28669 return TIFFError ();
28674 rm -f conftest.$ac_objext conftest$ac_exeext
28675 if { (ac_try="$ac_link"
28676 case "(($ac_try" in
28677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28678 *) ac_try_echo=$ac_try;;
28680 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28681 (eval "$ac_link") 2>conftest.er1
28683 grep -v '^ *+' conftest.er1 >conftest.err
28685 cat conftest.err >&5
28686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28687 (exit $ac_status); } &&
28688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28689 { (case "(($ac_try" in
28690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28691 *) ac_try_echo=$ac_try;;
28693 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28694 (eval "$ac_try") 2>&5
28696 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28697 (exit $ac_status); }; } &&
28698 { ac_try='test -s conftest$ac_exeext'
28699 { (case "(($ac_try" in
28700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28701 *) ac_try_echo=$ac_try;;
28703 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28704 (eval "$ac_try") 2>&5
28706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28707 (exit $ac_status); }; }; then
28708 ac_cv_lib_tiff_TIFFError=yes
28710 echo "$as_me: failed program was
:" >&5
28711 sed 's/^/| /' conftest.$ac_ext >&5
28713 ac_cv_lib_tiff_TIFFError=no
28716 rm -f core conftest.err conftest.$ac_objext \
28717 conftest$ac_exeext conftest.$ac_ext
28718 LIBS=$ac_check_lib_save_LIBS
28720 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28721 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28722 if test $ac_cv_lib_tiff_TIFFError = yes; then
28723 TIFF_LINK=" -ltiff"
28731 if test "x
$TIFF_LINK" = "x
" ; then
28732 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28733 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28734 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28735 { (exit 1); exit 1; }; }
28737 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28738 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28739 wxUSE_LIBTIFF=builtin
28748 if test "$wxUSE_WCHAR_T" != "yes"; then
28749 if test "$wxUSE_EXPAT" != "no
"; then
28750 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
28751 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
28754 if test "$wxUSE_XML" != "no
"; then
28755 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
28756 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
28761 if test "$wxUSE_EXPAT" != "no
"; then
28763 cat >>confdefs.h <<\_ACEOF
28764 #define wxUSE_EXPAT 1
28767 cat >>confdefs.h <<\_ACEOF
28768 #define wxUSE_XML 1
28772 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28773 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28774 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28775 if test "${ac_cv_header_expat_h+set}" = set; then
28776 echo $ECHO_N "(cached
) $ECHO_C" >&6
28778 cat >conftest.$ac_ext <<_ACEOF
28781 cat confdefs.h >>conftest.$ac_ext
28782 cat >>conftest.$ac_ext <<_ACEOF
28783 /* end confdefs.h. */
28788 rm -f conftest.$ac_objext
28789 if { (ac_try="$ac_compile"
28790 case "(($ac_try" in
28791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28792 *) ac_try_echo=$ac_try;;
28794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28795 (eval "$ac_compile") 2>conftest.er1
28797 grep -v '^ *+' conftest.er1 >conftest.err
28799 cat conftest.err >&5
28800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28801 (exit $ac_status); } &&
28802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28803 { (case "(($ac_try" in
28804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28805 *) ac_try_echo=$ac_try;;
28807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28808 (eval "$ac_try") 2>&5
28810 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28811 (exit $ac_status); }; } &&
28812 { ac_try='test -s conftest.$ac_objext'
28813 { (case "(($ac_try" in
28814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28815 *) ac_try_echo=$ac_try;;
28817 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28818 (eval "$ac_try") 2>&5
28820 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28821 (exit $ac_status); }; }; then
28822 ac_cv_header_expat_h=yes
28824 echo "$as_me: failed program was
:" >&5
28825 sed 's/^/| /' conftest.$ac_ext >&5
28827 ac_cv_header_expat_h=no
28830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28832 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28833 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28834 if test $ac_cv_header_expat_h = yes; then
28839 if test "x
$found_expat_h" = "x1
"; then
28840 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28841 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28842 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28843 echo $ECHO_N "(cached
) $ECHO_C" >&6
28847 ac_cpp='$CXXCPP $CPPFLAGS'
28848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28852 cat >conftest.$ac_ext <<_ACEOF
28855 cat confdefs.h >>conftest.$ac_ext
28856 cat >>conftest.$ac_ext <<_ACEOF
28857 /* end confdefs.h. */
28867 rm -f conftest.$ac_objext
28868 if { (ac_try="$ac_compile"
28869 case "(($ac_try" in
28870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28871 *) ac_try_echo=$ac_try;;
28873 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28874 (eval "$ac_compile") 2>conftest.er1
28876 grep -v '^ *+' conftest.er1 >conftest.err
28878 cat conftest.err >&5
28879 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28880 (exit $ac_status); } &&
28881 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28882 { (case "(($ac_try" in
28883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28884 *) ac_try_echo=$ac_try;;
28886 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28887 (eval "$ac_try") 2>&5
28889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28890 (exit $ac_status); }; } &&
28891 { ac_try='test -s conftest.$ac_objext'
28892 { (case "(($ac_try" in
28893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28894 *) ac_try_echo=$ac_try;;
28896 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28897 (eval "$ac_try") 2>&5
28899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28900 (exit $ac_status); }; }; then
28901 wx_cv_expat_is_not_broken=yes
28903 echo "$as_me: failed program was
:" >&5
28904 sed 's/^/| /' conftest.$ac_ext >&5
28906 wx_cv_expat_is_not_broken=no
28910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28912 ac_cpp='$CPP $CPPFLAGS'
28913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28920 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28921 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28922 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28923 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28924 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28925 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28926 echo $ECHO_N "(cached
) $ECHO_C" >&6
28928 ac_check_lib_save_LIBS=$LIBS
28929 LIBS="-lexpat $LIBS"
28930 cat >conftest.$ac_ext <<_ACEOF
28933 cat confdefs.h >>conftest.$ac_ext
28934 cat >>conftest.$ac_ext <<_ACEOF
28935 /* end confdefs.h. */
28937 /* Override any GCC internal prototype to avoid an error.
28938 Use char because int might match the return type of a GCC
28939 builtin and then its argument prototype would still apply. */
28943 char XML_ParserCreate ();
28947 return XML_ParserCreate ();
28952 rm -f conftest.$ac_objext conftest$ac_exeext
28953 if { (ac_try="$ac_link"
28954 case "(($ac_try" in
28955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28956 *) ac_try_echo=$ac_try;;
28958 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28959 (eval "$ac_link") 2>conftest.er1
28961 grep -v '^ *+' conftest.er1 >conftest.err
28963 cat conftest.err >&5
28964 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28967 { (case "(($ac_try" in
28968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28969 *) ac_try_echo=$ac_try;;
28971 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28972 (eval "$ac_try") 2>&5
28974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28975 (exit $ac_status); }; } &&
28976 { ac_try='test -s conftest$ac_exeext'
28977 { (case "(($ac_try" in
28978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28979 *) ac_try_echo=$ac_try;;
28981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28982 (eval "$ac_try") 2>&5
28984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28985 (exit $ac_status); }; }; then
28986 ac_cv_lib_expat_XML_ParserCreate=yes
28988 echo "$as_me: failed program was
:" >&5
28989 sed 's/^/| /' conftest.$ac_ext >&5
28991 ac_cv_lib_expat_XML_ParserCreate=no
28994 rm -f core conftest.err conftest.$ac_objext \
28995 conftest$ac_exeext conftest.$ac_ext
28996 LIBS=$ac_check_lib_save_LIBS
28998 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28999 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29000 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29001 EXPAT_LINK=" -lexpat"
29006 if test "x
$EXPAT_LINK" = "x
" ; then
29007 if test "$wxUSE_EXPAT" = "sys
" ; then
29008 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29009 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29010 { (exit 1); exit 1; }; }
29012 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29013 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29014 wxUSE_EXPAT=builtin
29020 if test "$wxUSE_EXPAT" = "builtin" ; then
29021 subdirs="$subdirs src
/expat
"
29028 if test "$wxUSE_LIBMSPACK" != "no
"; then
29029 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29030 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29031 if test "${ac_cv_header_mspack_h+set}" = set; then
29032 echo $ECHO_N "(cached
) $ECHO_C" >&6
29034 cat >conftest.$ac_ext <<_ACEOF
29037 cat confdefs.h >>conftest.$ac_ext
29038 cat >>conftest.$ac_ext <<_ACEOF
29039 /* end confdefs.h. */
29042 #include <mspack.h>
29044 rm -f conftest.$ac_objext
29045 if { (ac_try="$ac_compile"
29046 case "(($ac_try" in
29047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29048 *) ac_try_echo=$ac_try;;
29050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29051 (eval "$ac_compile") 2>conftest.er1
29053 grep -v '^ *+' conftest.er1 >conftest.err
29055 cat conftest.err >&5
29056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29057 (exit $ac_status); } &&
29058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29059 { (case "(($ac_try" in
29060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29061 *) ac_try_echo=$ac_try;;
29063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29064 (eval "$ac_try") 2>&5
29066 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29067 (exit $ac_status); }; } &&
29068 { ac_try='test -s conftest.$ac_objext'
29069 { (case "(($ac_try" in
29070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29071 *) ac_try_echo=$ac_try;;
29073 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29074 (eval "$ac_try") 2>&5
29076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29077 (exit $ac_status); }; }; then
29078 ac_cv_header_mspack_h=yes
29080 echo "$as_me: failed program was
:" >&5
29081 sed 's/^/| /' conftest.$ac_ext >&5
29083 ac_cv_header_mspack_h=no
29086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29088 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29089 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29090 if test $ac_cv_header_mspack_h = yes; then
29095 if test "x
$found_mspack_h" = "x1
"; then
29096 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29097 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29098 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29099 echo $ECHO_N "(cached
) $ECHO_C" >&6
29101 ac_check_lib_save_LIBS=$LIBS
29102 LIBS="-lmspack $LIBS"
29103 cat >conftest.$ac_ext <<_ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29110 /* Override any GCC internal prototype to avoid an error.
29111 Use char because int might match the return type of a GCC
29112 builtin and then its argument prototype would still apply. */
29116 char mspack_create_chm_decompressor ();
29120 return mspack_create_chm_decompressor ();
29125 rm -f conftest.$ac_objext conftest$ac_exeext
29126 if { (ac_try="$ac_link"
29127 case "(($ac_try" in
29128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29129 *) ac_try_echo=$ac_try;;
29131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29132 (eval "$ac_link") 2>conftest.er1
29134 grep -v '^ *+' conftest.er1 >conftest.err
29136 cat conftest.err >&5
29137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29138 (exit $ac_status); } &&
29139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29140 { (case "(($ac_try" in
29141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29142 *) ac_try_echo=$ac_try;;
29144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29145 (eval "$ac_try") 2>&5
29147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29148 (exit $ac_status); }; } &&
29149 { ac_try='test -s conftest$ac_exeext'
29150 { (case "(($ac_try" in
29151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29152 *) ac_try_echo=$ac_try;;
29154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29155 (eval "$ac_try") 2>&5
29157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29158 (exit $ac_status); }; }; then
29159 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29161 echo "$as_me: failed program was
:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29164 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29167 rm -f core conftest.err conftest.$ac_objext \
29168 conftest$ac_exeext conftest.$ac_ext
29169 LIBS=$ac_check_lib_save_LIBS
29171 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29172 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29173 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29174 MSPACK_LINK=" -lmspack"
29178 if test "x
$MSPACK_LINK" = "x
" ; then
29183 if test "$wxUSE_LIBMSPACK" != "no
"; then
29184 cat >>confdefs.h <<\_ACEOF
29185 #define wxUSE_LIBMSPACK 1
29199 if test "$USE_WIN32" = 1 ; then
29200 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
29201 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
29202 if test "${ac_cv_header_w32api_h+set}" = set; then
29203 echo $ECHO_N "(cached
) $ECHO_C" >&6
29205 cat >conftest.$ac_ext <<_ACEOF
29208 cat confdefs.h >>conftest.$ac_ext
29209 cat >>conftest.$ac_ext <<_ACEOF
29210 /* end confdefs.h. */
29213 #include <w32api.h>
29215 rm -f conftest.$ac_objext
29216 if { (ac_try="$ac_compile"
29217 case "(($ac_try" in
29218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29219 *) ac_try_echo=$ac_try;;
29221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29222 (eval "$ac_compile") 2>conftest.er1
29224 grep -v '^ *+' conftest.er1 >conftest.err
29226 cat conftest.err >&5
29227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29228 (exit $ac_status); } &&
29229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29230 { (case "(($ac_try" in
29231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29232 *) ac_try_echo=$ac_try;;
29234 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29235 (eval "$ac_try") 2>&5
29237 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29238 (exit $ac_status); }; } &&
29239 { ac_try='test -s conftest.$ac_objext'
29240 { (case "(($ac_try" in
29241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29242 *) ac_try_echo=$ac_try;;
29244 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29245 (eval "$ac_try") 2>&5
29247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29248 (exit $ac_status); }; }; then
29249 ac_cv_header_w32api_h=yes
29251 echo "$as_me: failed program was
:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29254 ac_cv_header_w32api_h=no
29257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29259 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
29260 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29263 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29264 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29265 if test "${ac_cv_header_windows_h+set}" = set; then
29266 echo $ECHO_N "(cached
) $ECHO_C" >&6
29268 cat >conftest.$ac_ext <<_ACEOF
29271 cat confdefs.h >>conftest.$ac_ext
29272 cat >>conftest.$ac_ext <<_ACEOF
29273 /* end confdefs.h. */
29276 #include <windows.h>
29278 rm -f conftest.$ac_objext
29279 if { (ac_try="$ac_compile"
29280 case "(($ac_try" in
29281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29282 *) ac_try_echo=$ac_try;;
29284 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29285 (eval "$ac_compile") 2>conftest.er1
29287 grep -v '^ *+' conftest.er1 >conftest.err
29289 cat conftest.err >&5
29290 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29291 (exit $ac_status); } &&
29292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29293 { (case "(($ac_try" in
29294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29295 *) ac_try_echo=$ac_try;;
29297 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29298 (eval "$ac_try") 2>&5
29300 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29301 (exit $ac_status); }; } &&
29302 { ac_try='test -s conftest.$ac_objext'
29303 { (case "(($ac_try" in
29304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29305 *) ac_try_echo=$ac_try;;
29307 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29308 (eval "$ac_try") 2>&5
29310 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29311 (exit $ac_status); }; }; then
29312 ac_cv_header_windows_h=yes
29314 echo "$as_me: failed program was
:" >&5
29315 sed 's/^/| /' conftest.$ac_ext >&5
29317 ac_cv_header_windows_h=no
29320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29322 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29323 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29324 if test $ac_cv_header_windows_h = yes; then
29328 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29329 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29330 { (exit 1); exit 1; }; }
29336 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29338 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29339 LIBS="$LIBS -loleacc"
29344 LIBS="$LIBS -lkernel32 -luser32"
29347 if test "$wxUSE_ODBC" = "sys
" ; then
29350 if test "$wxUSE_ODBC" = "yes" ; then
29351 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29352 cat >>confdefs.h <<\_ACEOF
29353 #define wxUSE_ODBC 1
29358 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
29359 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29361 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
29363 WIN32INSTALL=win32install
29365 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29366 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29367 if test "${ac_cv_header_pbt_h+set}" = set; then
29368 echo $ECHO_N "(cached
) $ECHO_C" >&6
29370 cat >conftest.$ac_ext <<_ACEOF
29373 cat confdefs.h >>conftest.$ac_ext
29374 cat >>conftest.$ac_ext <<_ACEOF
29375 /* end confdefs.h. */
29380 rm -f conftest.$ac_objext
29381 if { (ac_try="$ac_compile"
29382 case "(($ac_try" in
29383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29384 *) ac_try_echo=$ac_try;;
29386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29387 (eval "$ac_compile") 2>conftest.er1
29389 grep -v '^ *+' conftest.er1 >conftest.err
29391 cat conftest.err >&5
29392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29393 (exit $ac_status); } &&
29394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29395 { (case "(($ac_try" in
29396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29397 *) ac_try_echo=$ac_try;;
29399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29400 (eval "$ac_try") 2>&5
29402 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29403 (exit $ac_status); }; } &&
29404 { ac_try='test -s conftest.$ac_objext'
29405 { (case "(($ac_try" in
29406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29407 *) ac_try_echo=$ac_try;;
29409 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29410 (eval "$ac_try") 2>&5
29412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29413 (exit $ac_status); }; }; then
29414 ac_cv_header_pbt_h=yes
29416 echo "$as_me: failed program was
:" >&5
29417 sed 's/^/| /' conftest.$ac_ext >&5
29419 ac_cv_header_pbt_h=no
29422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29424 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29425 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29426 if test $ac_cv_header_pbt_h = yes; then
29429 cat >>confdefs.h <<\_ACEOF
29430 #define NEED_PBT_H 1
29438 if test "$wxUSE_GUI" = "yes"; then
29448 if test "$wxUSE_COCOA" = 1 ; then
29449 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29450 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29451 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29452 wxUSE_PRINTING_ARCHITECTURE=no
29454 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29455 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29456 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29457 wxUSE_DRAG_AND_DROP=no
29459 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29460 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29461 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29466 if test "$wxUSE_MSW" = 1 ; then
29472 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29476 if test "$wxUSE_GTK" = 1; then
29477 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29478 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29480 gtk_version_cached=1
29481 if test "${wx_cv_lib_gtk+set}" = set; then
29482 echo $ECHO_N "(cached
) $ECHO_C" >&6
29485 gtk_version_cached=0
29486 { echo "$as_me:$LINENO: result
: " >&5
29487 echo "${ECHO_T}" >&6; }
29490 if test "$wxUSE_THREADS" = "yes"; then
29491 GTK_MODULES=gthread
29495 if test "x
$wxGTK_VERSION" != "x1
"
29499 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29504 # Check whether --enable-gtktest was given.
29505 if test "${enable_gtktest+set}" = set; then
29506 enableval=$enable_gtktest;
29512 pkg_config_args=gtk+-2.0
29513 for module in . $GTK_MODULES
29517 pkg_config_args="$pkg_config_args gthread
-2.0
"
29524 # Extract the first word of "pkg
-config", so it can be a program name with args.
29525 set dummy pkg-config; ac_word=$2
29526 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29527 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29528 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29529 echo $ECHO_N "(cached
) $ECHO_C" >&6
29531 case $PKG_CONFIG in
29533 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29537 for as_dir in $PATH
29540 test -z "$as_dir" && as_dir=.
29541 for ac_exec_ext in '' $ac_executable_extensions; do
29542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29543 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29544 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29551 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
29555 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29556 if test -n "$PKG_CONFIG"; then
29557 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
29558 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29560 { echo "$as_me:$LINENO: result
: no
" >&5
29561 echo "${ECHO_T}no
" >&6; }
29566 if test x$PKG_CONFIG != xno ; then
29567 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29570 echo "*** pkg
-config too old
; version
0.7 or better required.
"
29578 min_gtk_version=2.0.0
29579 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
29580 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
29582 if test x$PKG_CONFIG != xno ; then
29583 ## don't try to run the test against uninstalled libtool libs
29584 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29585 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
29589 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29596 if test x"$no_gtk" = x ; then
29597 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29598 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29599 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29601 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29603 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29605 if test "x
$enable_gtktest" = "xyes
" ; then
29606 ac_save_CFLAGS="$CFLAGS"
29607 ac_save_LIBS="$LIBS"
29608 CFLAGS="$CFLAGS $GTK_CFLAGS"
29609 LIBS="$GTK_LIBS $LIBS"
29611 if test "$cross_compiling" = yes; then
29612 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29614 cat >conftest.$ac_ext <<_ACEOF
29617 cat confdefs.h >>conftest.$ac_ext
29618 cat >>conftest.$ac_ext <<_ACEOF
29619 /* end confdefs.h. */
29621 #include <gtk/gtk.h>
29623 #include <stdlib.h>
29628 int major, minor, micro;
29631 system ("touch conf.gtktest
");
29633 /* HP/UX 9 (%@#!) writes to sscanf strings */
29634 tmp_version = g_strdup("$min_gtk_version");
29635 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29636 printf("%s
, bad version string
\n", "$min_gtk_version");
29640 if ((gtk_major_version != $gtk_config_major_version) ||
29641 (gtk_minor_version != $gtk_config_minor_version) ||
29642 (gtk_micro_version != $gtk_config_micro_version))
29644 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29645 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29646 gtk_major_version, gtk_minor_version, gtk_micro_version);
29647 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29648 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29649 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29650 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29651 printf("*** required on your system.
\n");
29652 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29653 printf("*** to point to the correct configuration files
\n");
29655 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29656 (gtk_minor_version != GTK_MINOR_VERSION) ||
29657 (gtk_micro_version != GTK_MICRO_VERSION))
29659 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29660 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29661 printf("*** library
(version
%d.
%d.
%d
)\n",
29662 gtk_major_version, gtk_minor_version, gtk_micro_version);
29666 if ((gtk_major_version > major) ||
29667 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29668 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29674 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29675 gtk_major_version, gtk_minor_version, gtk_micro_version);
29676 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29677 major, minor, micro);
29678 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29680 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29681 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29682 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29683 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29684 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29685 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29686 printf("*** so that the correct libraries are found
at run
-time))\n");
29693 rm -f conftest$ac_exeext
29694 if { (ac_try="$ac_link"
29695 case "(($ac_try" in
29696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29697 *) ac_try_echo=$ac_try;;
29699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29700 (eval "$ac_link") 2>&5
29702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29704 { (case "(($ac_try" in
29705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29706 *) ac_try_echo=$ac_try;;
29708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29709 (eval "$ac_try") 2>&5
29711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29712 (exit $ac_status); }; }; then
29715 echo "$as_me: program exited with status
$ac_status" >&5
29716 echo "$as_me: failed program was
:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29719 ( exit $ac_status )
29722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29726 CFLAGS="$ac_save_CFLAGS"
29727 LIBS="$ac_save_LIBS"
29730 if test "x
$no_gtk" = x ; then
29731 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29732 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29735 { echo "$as_me:$LINENO: result
: no
" >&5
29736 echo "${ECHO_T}no
" >&6; }
29737 if test "$PKG_CONFIG" = "no
" ; then
29738 echo "*** A new enough version of pkg
-config was not found.
"
29739 echo "*** See http
://pkgconfig.sourceforge.net
"
29741 if test -f conf.gtktest ; then
29744 echo "*** Could not run GTK
+ test program
, checking why...
"
29745 ac_save_CFLAGS="$CFLAGS"
29746 ac_save_LIBS="$LIBS"
29747 CFLAGS="$CFLAGS $GTK_CFLAGS"
29748 LIBS="$LIBS $GTK_LIBS"
29749 cat >conftest.$ac_ext <<_ACEOF
29752 cat confdefs.h >>conftest.$ac_ext
29753 cat >>conftest.$ac_ext <<_ACEOF
29754 /* end confdefs.h. */
29756 #include <gtk/gtk.h>
29762 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29767 rm -f conftest.$ac_objext conftest$ac_exeext
29768 if { (ac_try="$ac_link"
29769 case "(($ac_try" in
29770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29771 *) ac_try_echo=$ac_try;;
29773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29774 (eval "$ac_link") 2>conftest.er1
29776 grep -v '^ *+' conftest.er1 >conftest.err
29778 cat conftest.err >&5
29779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29780 (exit $ac_status); } &&
29781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29782 { (case "(($ac_try" in
29783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29784 *) ac_try_echo=$ac_try;;
29786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29787 (eval "$ac_try") 2>&5
29789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29790 (exit $ac_status); }; } &&
29791 { ac_try='test -s conftest$ac_exeext'
29792 { (case "(($ac_try" in
29793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29794 *) ac_try_echo=$ac_try;;
29796 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29797 (eval "$ac_try") 2>&5
29799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29800 (exit $ac_status); }; }; then
29801 echo "*** The
test program compiled
, but did not run. This usually means
"
29802 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29803 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29804 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29805 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29806 echo "*** is required on your system"
29808 echo "*** If you have an old version installed, it is best to remove it, although"
29809 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29811 echo "$as_me: failed program was:" >&5
29812 sed 's
/^
/| /' conftest.$ac_ext >&5
29814 echo "*** The test program failed to compile or link. See the file config.log for the"
29815 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29818 rm -f core conftest.err conftest.$ac_objext \
29819 conftest$ac_exeext conftest.$ac_ext
29820 CFLAGS="$ac_save_CFLAGS"
29821 LIBS="$ac_save_LIBS"
29835 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29836 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's
/-mt//'`
29837 GTK_LIBS=`echo $GTK_LIBS | sed 's
/-mt//'`
29839 if test "$wxUSE_SHARED" != "yes"; then
29840 GTK_LIBS="$GTK_LIBS -lX11"
29845 if test -z "$wx_cv_lib_gtk"; then
29846 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29848 # Check whether --with-gtk-prefix was given.
29849 if test "${with_gtk_prefix+set}" = set; then
29850 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29852 gtk_config_prefix=""
29856 # Check whether --with-gtk-exec-prefix was given.
29857 if test "${with_gtk_exec_prefix+set}" = set; then
29858 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29860 gtk_config_exec_prefix=""
29863 # Check whether --enable-gtktest was given.
29864 if test "${enable_gtktest+set}" = set; then
29865 enableval=$enable_gtktest;
29871 for module in . $GTK_MODULES
29875 gtk_config_args="$gtk_config_args gthread"
29880 if test x$gtk_config_exec_prefix != x ; then
29881 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29882 if test x${GTK_CONFIG+set} != xset ; then
29883 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29886 if test x$gtk_config_prefix != x ; then
29887 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29888 if test x${GTK_CONFIG+set} != xset ; then
29889 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29893 # Extract the first word of "gtk-config", so it can be a program name with args.
29894 set dummy gtk-config; ac_word=$2
29895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29897 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29898 echo $ECHO_N "(cached) $ECHO_C" >&6
29900 case $GTK_CONFIG in
29902 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29906 for as_dir in $PATH
29909 test -z "$as_dir" && as_dir=.
29910 for ac_exec_ext in '' $ac_executable_extensions; do
29911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29912 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29920 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29924 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29925 if test -n "$GTK_CONFIG"; then
29926 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29927 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29929 { echo "$as_me:$LINENO: result: no" >&5
29930 echo "${ECHO_T}no" >&6; }
29934 min_gtk_version=1.2.7
29935 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29936 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29938 if test "$GTK_CONFIG" = "no" ; then
29941 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29942 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29943 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29944 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29945 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29946 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29947 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29948 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29949 if test "x$enable_gtktest" = "xyes" ; then
29950 ac_save_CFLAGS="$CFLAGS"
29951 ac_save_LIBS="$LIBS"
29952 CFLAGS="$CFLAGS $GTK_CFLAGS"
29953 LIBS="$GTK_LIBS $LIBS"
29955 if test "$cross_compiling" = yes; then
29956 echo $ac_n "cross compiling; assumed OK... $ac_c"
29958 cat >conftest.$ac_ext <<_ACEOF
29961 cat confdefs.h >>conftest.$ac_ext
29962 cat >>conftest.$ac_ext <<_ACEOF
29963 /* end confdefs.h. */
29965 #include <gtk/gtk.h>
29967 #include <stdlib.h>
29972 int major, minor, micro;
29975 system ("touch conf.gtktest");
29977 /* HP/UX 9 (%@#!) writes to sscanf strings */
29978 tmp_version = g_strdup("$min_gtk_version");
29979 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29980 printf("%s, bad version string\n", "$min_gtk_version");
29984 if ((gtk_major_version != $gtk_config_major_version) ||
29985 (gtk_minor_version != $gtk_config_minor_version) ||
29986 (gtk_micro_version != $gtk_config_micro_version))
29988 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29989 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29990 gtk_major_version, gtk_minor_version, gtk_micro_version);
29991 printf ("*** was found! If gtk-config was correct, then it is best\n");
29992 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29993 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29994 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29995 printf("*** required on your system.\n");
29996 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29997 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29998 printf("*** before re-running configure\n");
30000 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30001 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30002 (gtk_minor_version != GTK_MINOR_VERSION) ||
30003 (gtk_micro_version != GTK_MICRO_VERSION))
30005 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30006 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30007 printf("*** library (version %d.%d.%d)\n",
30008 gtk_major_version, gtk_minor_version, gtk_micro_version);
30010 #endif /* defined (GTK_MAJOR_VERSION) ... */
30013 if ((gtk_major_version > major) ||
30014 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30015 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30021 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30022 gtk_major_version, gtk_minor_version, gtk_micro_version);
30023 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30024 major, minor, micro);
30025 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30027 printf("*** If you have already installed a sufficiently new version, this error\n");
30028 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30029 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30030 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30031 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30032 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30033 printf("*** so that the correct libraries are found at run-time))\n");
30040 rm -f conftest$ac_exeext
30041 if { (ac_try="$ac_link"
30042 case "(($ac_try" in
30043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30044 *) ac_try_echo=$ac_try;;
30046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30047 (eval "$ac_link") 2>&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30051 { (case "(($ac_try" in
30052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30053 *) ac_try_echo=$ac_try;;
30055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30056 (eval "$ac_try") 2>&5
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; }; then
30062 echo "$as_me: program exited with status $ac_status" >&5
30063 echo "$as_me: failed program was:" >&5
30064 sed 's
/^
/| /' conftest.$ac_ext >&5
30066 ( exit $ac_status )
30069 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30073 CFLAGS="$ac_save_CFLAGS"
30074 LIBS="$ac_save_LIBS"
30077 if test "x$no_gtk" = x ; then
30078 { echo "$as_me:$LINENO: result: yes" >&5
30079 echo "${ECHO_T}yes" >&6; }
30080 wx_cv_lib_gtk=1.2.7
30082 { echo "$as_me:$LINENO: result: no" >&5
30083 echo "${ECHO_T}no" >&6; }
30084 if test "$GTK_CONFIG" = "no" ; then
30085 echo "*** The gtk-config script installed by GTK could not be found"
30086 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30087 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30088 echo "*** full path to gtk-config."
30090 if test -f conf.gtktest ; then
30093 echo "*** Could not run GTK test program, checking why..."
30094 CFLAGS="$CFLAGS $GTK_CFLAGS"
30095 LIBS="$LIBS $GTK_LIBS"
30096 cat >conftest.$ac_ext <<_ACEOF
30099 cat confdefs.h >>conftest.$ac_ext
30100 cat >>conftest.$ac_ext <<_ACEOF
30101 /* end confdefs.h. */
30103 #include <gtk/gtk.h>
30109 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30114 rm -f conftest.$ac_objext conftest$ac_exeext
30115 if { (ac_try="$ac_link"
30116 case "(($ac_try" in
30117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30118 *) ac_try_echo=$ac_try;;
30120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30121 (eval "$ac_link") 2>conftest.er1
30123 grep -v '^
*+' conftest.er1 >conftest.err
30125 cat conftest.err >&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); } &&
30128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30129 { (case "(($ac_try" in
30130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30131 *) ac_try_echo=$ac_try;;
30133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30134 (eval "$ac_try") 2>&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; } &&
30138 { ac_try='test -s conftest
$ac_exeext'
30139 { (case "(($ac_try" in
30140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30141 *) ac_try_echo=$ac_try;;
30143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30144 (eval "$ac_try") 2>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); }; }; then
30148 echo "*** The test program compiled, but did not run. This usually means"
30149 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30150 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30151 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30152 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30153 echo "*** is required on your system
"
30155 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30156 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30158 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30159 echo "*** came with the system with the
command"
30161 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30163 echo "$as_me: failed program was
:" >&5
30164 sed 's/^/| /' conftest.$ac_ext >&5
30166 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30167 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30168 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30169 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30172 rm -f core conftest.err conftest.$ac_objext \
30173 conftest$ac_exeext conftest.$ac_ext
30174 CFLAGS="$ac_save_CFLAGS"
30175 LIBS="$ac_save_LIBS"
30187 if test -z "$wx_cv_lib_gtk"; then
30189 # Check whether --with-gtk-prefix was given.
30190 if test "${with_gtk_prefix+set}" = set; then
30191 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30193 gtk_config_prefix=""
30197 # Check whether --with-gtk-exec-prefix was given.
30198 if test "${with_gtk_exec_prefix+set}" = set; then
30199 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30201 gtk_config_exec_prefix=""
30204 # Check whether --enable-gtktest was given.
30205 if test "${enable_gtktest+set}" = set; then
30206 enableval=$enable_gtktest;
30212 for module in . $GTK_MODULES
30216 gtk_config_args="$gtk_config_args gthread
"
30221 if test x$gtk_config_exec_prefix != x ; then
30222 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30223 if test x${GTK_CONFIG+set} != xset ; then
30224 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30227 if test x$gtk_config_prefix != x ; then
30228 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30229 if test x${GTK_CONFIG+set} != xset ; then
30230 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30234 # Extract the first word of "gtk
-config", so it can be a program name with args.
30235 set dummy gtk-config; ac_word=$2
30236 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30237 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30238 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30239 echo $ECHO_N "(cached
) $ECHO_C" >&6
30241 case $GTK_CONFIG in
30243 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30247 for as_dir in $PATH
30250 test -z "$as_dir" && as_dir=.
30251 for ac_exec_ext in '' $ac_executable_extensions; do
30252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30253 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30254 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30261 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30265 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30266 if test -n "$GTK_CONFIG"; then
30267 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30268 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30270 { echo "$as_me:$LINENO: result
: no
" >&5
30271 echo "${ECHO_T}no
" >&6; }
30275 min_gtk_version=1.2.3
30276 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30277 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30279 if test "$GTK_CONFIG" = "no
" ; then
30282 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30283 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30284 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30285 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30286 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30288 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30290 if test "x
$enable_gtktest" = "xyes
" ; then
30291 ac_save_CFLAGS="$CFLAGS"
30292 ac_save_LIBS="$LIBS"
30293 CFLAGS="$CFLAGS $GTK_CFLAGS"
30294 LIBS="$GTK_LIBS $LIBS"
30296 if test "$cross_compiling" = yes; then
30297 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30299 cat >conftest.$ac_ext <<_ACEOF
30302 cat confdefs.h >>conftest.$ac_ext
30303 cat >>conftest.$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30306 #include <gtk/gtk.h>
30308 #include <stdlib.h>
30313 int major, minor, micro;
30316 system ("touch conf.gtktest
");
30318 /* HP/UX 9 (%@#!) writes to sscanf strings */
30319 tmp_version = g_strdup("$min_gtk_version");
30320 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30321 printf("%s
, bad version string
\n", "$min_gtk_version");
30325 if ((gtk_major_version != $gtk_config_major_version) ||
30326 (gtk_minor_version != $gtk_config_minor_version) ||
30327 (gtk_micro_version != $gtk_config_micro_version))
30329 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30330 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30331 gtk_major_version, gtk_minor_version, gtk_micro_version);
30332 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30333 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30334 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30335 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30336 printf("*** required on your system.
\n");
30337 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30338 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30339 printf("*** before re
-running configure
\n");
30341 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30342 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30343 (gtk_minor_version != GTK_MINOR_VERSION) ||
30344 (gtk_micro_version != GTK_MICRO_VERSION))
30346 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30347 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30348 printf("*** library
(version
%d.
%d.
%d
)\n",
30349 gtk_major_version, gtk_minor_version, gtk_micro_version);
30351 #endif /* defined (GTK_MAJOR_VERSION) ... */
30354 if ((gtk_major_version > major) ||
30355 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30356 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30362 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30363 gtk_major_version, gtk_minor_version, gtk_micro_version);
30364 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30365 major, minor, micro);
30366 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30368 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30369 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30370 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30371 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30372 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30373 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30374 printf("*** so that the correct libraries are found
at run
-time))\n");
30381 rm -f conftest$ac_exeext
30382 if { (ac_try="$ac_link"
30383 case "(($ac_try" in
30384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30385 *) ac_try_echo=$ac_try;;
30387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30388 (eval "$ac_link") 2>&5
30390 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30392 { (case "(($ac_try" in
30393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30394 *) ac_try_echo=$ac_try;;
30396 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30397 (eval "$ac_try") 2>&5
30399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30400 (exit $ac_status); }; }; then
30403 echo "$as_me: program exited with status
$ac_status" >&5
30404 echo "$as_me: failed program was
:" >&5
30405 sed 's/^/| /' conftest.$ac_ext >&5
30407 ( exit $ac_status )
30410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30414 CFLAGS="$ac_save_CFLAGS"
30415 LIBS="$ac_save_LIBS"
30418 if test "x
$no_gtk" = x ; then
30419 { echo "$as_me:$LINENO: result
: yes" >&5
30420 echo "${ECHO_T}yes" >&6; }
30421 wx_cv_lib_gtk=1.2.3
30423 { echo "$as_me:$LINENO: result
: no
" >&5
30424 echo "${ECHO_T}no
" >&6; }
30425 if test "$GTK_CONFIG" = "no
" ; then
30426 echo "*** The gtk
-config script installed by GTK could not be found
"
30427 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30428 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30429 echo "*** full path to gtk
-config.
"
30431 if test -f conf.gtktest ; then
30434 echo "*** Could not run GTK
test program
, checking why...
"
30435 CFLAGS="$CFLAGS $GTK_CFLAGS"
30436 LIBS="$LIBS $GTK_LIBS"
30437 cat >conftest.$ac_ext <<_ACEOF
30440 cat confdefs.h >>conftest.$ac_ext
30441 cat >>conftest.$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30444 #include <gtk/gtk.h>
30450 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30455 rm -f conftest.$ac_objext conftest$ac_exeext
30456 if { (ac_try="$ac_link"
30457 case "(($ac_try" in
30458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30459 *) ac_try_echo=$ac_try;;
30461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30462 (eval "$ac_link") 2>conftest.er1
30464 grep -v '^ *+' conftest.er1 >conftest.err
30466 cat conftest.err >&5
30467 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30468 (exit $ac_status); } &&
30469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30470 { (case "(($ac_try" in
30471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30472 *) ac_try_echo=$ac_try;;
30474 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30475 (eval "$ac_try") 2>&5
30477 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30478 (exit $ac_status); }; } &&
30479 { ac_try='test -s conftest$ac_exeext'
30480 { (case "(($ac_try" in
30481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30482 *) ac_try_echo=$ac_try;;
30484 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30485 (eval "$ac_try") 2>&5
30487 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30488 (exit $ac_status); }; }; then
30489 echo "*** The
test program compiled
, but did not run. This usually means
"
30490 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30491 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30492 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30493 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30494 echo "*** is required on your system"
30496 echo "*** If you have an old version installed, it is best to remove it, although"
30497 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30499 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30500 echo "*** came with the system with the command"
30502 echo "*** rpm --erase --nodeps gtk gtk-devel"
30504 echo "$as_me: failed program was:" >&5
30505 sed 's
/^
/| /' conftest.$ac_ext >&5
30507 echo "*** The test program failed to compile or link. See the file config.log for the"
30508 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30509 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30510 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30513 rm -f core conftest.err conftest.$ac_objext \
30514 conftest$ac_exeext conftest.$ac_ext
30515 CFLAGS="$ac_save_CFLAGS"
30516 LIBS="$ac_save_LIBS"
30531 if test -z "$wx_cv_lib_gtk"; then
30534 wx_cv_cflags_gtk=$GTK_CFLAGS
30535 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
30542 if test "$gtk_version_cached" = 1; then
30543 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30544 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30547 case "$wx_cv_lib_gtk" in
30556 *) { { echo "$as_me:$LINENO: error:
30557 The development files for GTK+ were not found. For GTK+ 2, please
30558 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30559 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30560 and that the version is 1.2.3 or above. Also check that the
30561 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30562 --libs' are in the LD_LIBRARY_PATH or equivalent.
30564 echo "$as_me: error:
30565 The development files for GTK+ were not found. For GTK+ 2, please
30566 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30567 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30568 and that the version is 1.2.3 or above. Also check that the
30569 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30570 --libs' are in the LD_LIBRARY_PATH or equivalent.
30572 { (exit 1); exit 1; }; }
30576 if test "$WXGTK20" = 1; then
30577 save_CFLAGS="$CFLAGS"
30579 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30580 LIBS="$LIBS $wx_cv_libs_gtk"
30582 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30583 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
30584 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30585 echo $ECHO_N "(cached) $ECHO_C" >&6
30587 cat >conftest.$ac_ext <<_ACEOF
30590 cat confdefs.h >>conftest.$ac_ext
30591 cat >>conftest.$ac_ext <<_ACEOF
30592 /* end confdefs.h. */
30593 #include <gtk/gtk.h>
30598 #ifndef gtk_icon_size_lookup
30599 char *p = (char *) gtk_icon_size_lookup;
30607 rm -f conftest.$ac_objext
30608 if { (ac_try="$ac_compile"
30609 case "(($ac_try" in
30610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30611 *) ac_try_echo=$ac_try;;
30613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30614 (eval "$ac_compile") 2>conftest.er1
30616 grep -v '^
*+' conftest.er1 >conftest.err
30618 cat conftest.err >&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } &&
30621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30622 { (case "(($ac_try" in
30623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30624 *) ac_try_echo=$ac_try;;
30626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30627 (eval "$ac_try") 2>&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); }; } &&
30631 { ac_try='test -s conftest.
$ac_objext'
30632 { (case "(($ac_try" in
30633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30634 *) ac_try_echo=$ac_try;;
30636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30637 (eval "$ac_try") 2>&5
30639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30640 (exit $ac_status); }; }; then
30641 ac_cv_have_decl_gtk_icon_size_lookup=yes
30643 echo "$as_me: failed program was:" >&5
30644 sed 's
/^
/| /' conftest.$ac_ext >&5
30646 ac_cv_have_decl_gtk_icon_size_lookup=no
30649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30651 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30652 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
30653 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30655 cat >>confdefs.h <<_ACEOF
30656 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
30661 cat >>confdefs.h <<_ACEOF
30662 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
30665 cat >>confdefs.h <<\_ACEOF
30666 #define NEED_GTK_ICON_SIZE_LOOKUP 1
30674 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30675 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30676 cat >conftest.$ac_ext <<_ACEOF
30679 cat confdefs.h >>conftest.$ac_ext
30680 cat >>conftest.$ac_ext <<_ACEOF
30681 /* end confdefs.h. */
30683 #include <gtk/gtk.h>
30689 #if !GTK_CHECK_VERSION(2,10,0)
30697 rm -f conftest.$ac_objext
30698 if { (ac_try="$ac_compile"
30699 case "(($ac_try" in
30700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30701 *) ac_try_echo=$ac_try;;
30703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30704 (eval "$ac_compile") 2>conftest.er1
30706 grep -v '^
*+' conftest.er1 >conftest.err
30708 cat conftest.err >&5
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); } &&
30711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
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_try") 2>&5
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); }; } &&
30721 { ac_try='test -s conftest.
$ac_objext'
30722 { (case "(($ac_try" in
30723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30724 *) ac_try_echo=$ac_try;;
30726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30727 (eval "$ac_try") 2>&5
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; }; then
30732 cat >>confdefs.h <<\_ACEOF
30733 #define __WXGTK210__ 1
30736 cat >>confdefs.h <<\_ACEOF
30737 #define __WXGTK26__ 1
30740 cat >>confdefs.h <<\_ACEOF
30741 #define __WXGTK24__ 1
30744 { echo "$as_me:$LINENO: result: yes" >&5
30745 echo "${ECHO_T}yes" >&6; }
30749 echo "$as_me: failed program was:" >&5
30750 sed 's
/^
/| /' conftest.$ac_ext >&5
30753 { echo "$as_me:$LINENO: result: no" >&5
30754 echo "${ECHO_T}no" >&6; }
30759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30761 if test "$ac_wxgtk210" = 0; then
30762 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30763 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30764 cat >conftest.$ac_ext <<_ACEOF
30767 cat confdefs.h >>conftest.$ac_ext
30768 cat >>conftest.$ac_ext <<_ACEOF
30769 /* end confdefs.h. */
30771 #include <gtk/gtk.h>
30777 #if !GTK_CHECK_VERSION(2,6,0)
30785 rm -f conftest.$ac_objext
30786 if { (ac_try="$ac_compile"
30787 case "(($ac_try" in
30788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30789 *) ac_try_echo=$ac_try;;
30791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30792 (eval "$ac_compile") 2>conftest.er1
30794 grep -v '^
*+' conftest.er1 >conftest.err
30796 cat conftest.err >&5
30797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30798 (exit $ac_status); } &&
30799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30800 { (case "(($ac_try" in
30801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30802 *) ac_try_echo=$ac_try;;
30804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30805 (eval "$ac_try") 2>&5
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); }; } &&
30809 { ac_try='test -s conftest.
$ac_objext'
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); }; }; then
30820 cat >>confdefs.h <<\_ACEOF
30821 #define __WXGTK26__ 1
30824 cat >>confdefs.h <<\_ACEOF
30825 #define __WXGTK24__ 1
30828 { echo "$as_me:$LINENO: result: yes" >&5
30829 echo "${ECHO_T}yes" >&6; }
30833 echo "$as_me: failed program was:" >&5
30834 sed 's
/^
/| /' conftest.$ac_ext >&5
30837 { echo "$as_me:$LINENO: result: no" >&5
30838 echo "${ECHO_T}no" >&6; }
30843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30846 if test "$ac_wxgtk26" = 0; then
30847 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30848 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
30849 cat >conftest.$ac_ext <<_ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30856 #include <gtk/gtk.h>
30862 #if !GTK_CHECK_VERSION(2,4,0)
30870 rm -f conftest.$ac_objext
30871 if { (ac_try="$ac_compile"
30872 case "(($ac_try" in
30873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30874 *) ac_try_echo=$ac_try;;
30876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30877 (eval "$ac_compile") 2>conftest.er1
30879 grep -v '^
*+' conftest.er1 >conftest.err
30881 cat conftest.err >&5
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); } &&
30884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30885 { (case "(($ac_try" in
30886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30887 *) ac_try_echo=$ac_try;;
30889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30890 (eval "$ac_try") 2>&5
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); }; } &&
30894 { ac_try='test -s conftest.
$ac_objext'
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_try") 2>&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; }; then
30905 cat >>confdefs.h <<\_ACEOF
30906 #define __WXGTK24__ 1
30909 { echo "$as_me:$LINENO: result: yes" >&5
30910 echo "${ECHO_T}yes" >&6; }
30913 echo "$as_me: failed program was:" >&5
30914 sed 's
/^
/| /' conftest.$ac_ext >&5
30917 { echo "$as_me:$LINENO: result: no" >&5
30918 echo "${ECHO_T}no" >&6; }
30922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30925 CFLAGS="$save_CFLAGS"
30928 if test "$wxUSE_UNICODE" = "yes"; then
30929 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30930 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30934 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30935 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30936 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30937 echo $ECHO_N "(cached) $ECHO_C" >&6
30939 ac_check_lib_save_LIBS=$LIBS
30941 cat >conftest.$ac_ext <<_ACEOF
30944 cat confdefs.h >>conftest.$ac_ext
30945 cat >>conftest.$ac_ext <<_ACEOF
30946 /* end confdefs.h. */
30948 /* Override any GCC internal prototype to avoid an error.
30949 Use char because int might match the return type of a GCC
30950 builtin and then its argument prototype would still apply. */
30954 char gdk_im_open ();
30958 return gdk_im_open ();
30963 rm -f conftest.$ac_objext conftest$ac_exeext
30964 if { (ac_try="$ac_link"
30965 case "(($ac_try" in
30966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30967 *) ac_try_echo=$ac_try;;
30969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30970 (eval "$ac_link") 2>conftest.er1
30972 grep -v '^
*+' conftest.er1 >conftest.err
30974 cat conftest.err >&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); } &&
30977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
30978 { (case "(($ac_try" in
30979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30980 *) ac_try_echo=$ac_try;;
30982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30983 (eval "$ac_try") 2>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; } &&
30987 { ac_try='test -s conftest
$ac_exeext'
30988 { (case "(($ac_try" in
30989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30990 *) ac_try_echo=$ac_try;;
30992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30993 (eval "$ac_try") 2>&5
30995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); }; }; then
30997 ac_cv_lib_gdk_gdk_im_open=yes
30999 echo "$as_me: failed program was:" >&5
31000 sed 's
/^
/| /' conftest.$ac_ext >&5
31002 ac_cv_lib_gdk_gdk_im_open=no
31005 rm -f core conftest.err conftest.$ac_objext \
31006 conftest$ac_exeext conftest.$ac_ext
31007 LIBS=$ac_check_lib_save_LIBS
31009 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31010 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31011 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31012 cat >>confdefs.h <<\_ACEOF
31019 if test "$USE_DARWIN" != 1; then
31021 for ac_func in poll
31023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31024 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31026 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31027 echo $ECHO_N "(cached) $ECHO_C" >&6
31029 cat >conftest.$ac_ext <<_ACEOF
31032 cat confdefs.h >>conftest.$ac_ext
31033 cat >>conftest.$ac_ext <<_ACEOF
31034 /* end confdefs.h. */
31035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31037 #define $ac_func innocuous_$ac_func
31039 /* System header to define __stub macros and hopefully few prototypes,
31040 which can conflict with char $ac_func (); below.
31041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31042 <limits.h> exists even on freestanding compilers. */
31045 # include <limits.h>
31047 # include <assert.h>
31052 /* Override any GCC internal prototype to avoid an error.
31053 Use char because int might match the return type of a GCC
31054 builtin and then its argument prototype would still apply. */
31059 /* The GNU C library defines this for functions which it implements
31060 to always fail with ENOSYS. Some functions are actually named
31061 something starting with __ and the normal name is an alias. */
31062 #if defined __stub_$ac_func || defined __stub___$ac_func
31069 return $ac_func ();
31074 rm -f conftest.$ac_objext conftest$ac_exeext
31075 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
31083 grep -v '^
*+' conftest.er1 >conftest.err
31085 cat conftest.err >&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); } &&
31088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err
'
31089 { (case "(($ac_try" in
31090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31091 *) ac_try_echo=$ac_try;;
31093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31094 (eval "$ac_try") 2>&5
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); }; } &&
31098 { ac_try='test -s conftest
$ac_exeext'
31099 { (case "(($ac_try" in
31100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31101 *) ac_try_echo=$ac_try;;
31103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31104 (eval "$ac_try") 2>&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); }; }; then
31108 eval "$as_ac_var=yes"
31110 echo "$as_me: failed program was:" >&5
31111 sed 's
/^
/| /' conftest.$ac_ext >&5
31113 eval "$as_ac_var=no"
31116 rm -f core conftest.err conftest.$ac_objext \
31117 conftest$ac_exeext conftest.$ac_ext
31119 ac_res=`eval echo '${'$as_ac_var'}'`
31120 { echo "$as_me:$LINENO: result: $ac_res" >&5
31121 echo "${ECHO_T}$ac_res" >&6; }
31122 if test `eval echo '${'$as_ac_var'}'` = yes; then
31123 cat >>confdefs.h <<_ACEOF
31124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31133 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31134 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31136 AFMINSTALL=afminstall
31140 if test "$wxUSE_GPE" = "yes"; then
31141 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31142 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31145 for ac_dir in $SEARCH_LIB;
31147 for ac_extension in a so sl dylib dll.a; do
31148 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31149 ac_find_libraries=$ac_dir
31155 if test "$ac_find_libraries" != "" ; then
31157 if test "$ac_find_libraries" = "default location"; then
31160 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31162 if test $result = 0; then
31165 ac_path_to_link=" -L$ac_find_libraries"
31169 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31171 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31172 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31174 { echo "$as_me:$LINENO: result: not found" >&5
31175 echo "${ECHO_T}not found" >&6; }
31181 if test "$wxUSE_MGL" = 1; then
31182 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31183 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31184 if test "x$MGL_ROOT" = x ; then
31185 { echo "$as_me:$LINENO: result: not found" >&5
31186 echo "${ECHO_T}not found" >&6; }
31187 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31188 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31189 { (exit 1); exit 1; }; }
31191 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31192 echo "${ECHO_T}$MGL_ROOT" >&6; }
31195 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31196 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31199 if test "x$wxUSE_SHARED" = xyes ; then
31200 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31202 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31206 mgl_os_candidates="dos32/dj2"
31209 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31210 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31211 { (exit 1); exit 1; }; }
31217 for mgl_os_i in $mgl_os_candidates ; do
31218 if test "x$mgl_os" = x ; then
31219 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31220 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31221 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31226 if test "x$mgl_lib_type" = x ; then
31227 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31228 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31229 mgl_lib_type=release
31236 if test "x$mgl_os" = x ; then
31237 { echo "$as_me:$LINENO: result: not found" >&5
31238 echo "${ECHO_T}not found" >&6; }
31239 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31240 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31241 { (exit 1); exit 1; }; }
31243 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31244 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31246 wxUSE_UNIVERSAL="yes"
31248 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31249 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31251 AFMINSTALL=afminstall
31256 if test "$wxUSE_DFB" = 1; then
31259 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31260 if test -n "$ac_tool_prefix"; then
31261 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31262 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31265 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31266 echo $ECHO_N "(cached) $ECHO_C" >&6
31268 case $PKG_CONFIG in
31270 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31274 for as_dir in $PATH
31277 test -z "$as_dir" && as_dir=.
31278 for ac_exec_ext in '' $ac_executable_extensions; do
31279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31280 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31291 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31292 if test -n "$PKG_CONFIG"; then
31293 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31294 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31296 { echo "$as_me:$LINENO: result: no" >&5
31297 echo "${ECHO_T}no" >&6; }
31302 if test -z "$ac_cv_path_PKG_CONFIG"; then
31303 ac_pt_PKG_CONFIG=$PKG_CONFIG
31304 # Extract the first word of "pkg-config", so it can be a program name with args.
31305 set dummy pkg-config; ac_word=$2
31306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31308 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31309 echo $ECHO_N "(cached) $ECHO_C" >&6
31311 case $ac_pt_PKG_CONFIG in
31313 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31317 for as_dir in $PATH
31320 test -z "$as_dir" && as_dir=.
31321 for ac_exec_ext in '' $ac_executable_extensions; do
31322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31323 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31334 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31335 if test -n "$ac_pt_PKG_CONFIG"; then
31336 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31337 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31339 { echo "$as_me:$LINENO: result: no" >&5
31340 echo "${ECHO_T}no" >&6; }
31343 if test "x$ac_pt_PKG_CONFIG" = x; then
31346 case $cross_compiling:$ac_tool_warned in
31348 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31349 whose name does not start with the host triplet. If you think this
31350 configuration is useful to you, please write to autoconf@gnu.org." >&5
31351 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31352 whose name does not start with the host triplet. If you think this
31353 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31354 ac_tool_warned=yes ;;
31356 PKG_CONFIG=$ac_pt_PKG_CONFIG
31359 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31363 if test -n "$PKG_CONFIG"; then
31364 _pkg_min_version=0.9.0
31365 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31366 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31367 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31368 { echo "$as_me:$LINENO: result: yes" >&5
31369 echo "${ECHO_T}yes" >&6; }
31371 { echo "$as_me:$LINENO: result: no" >&5
31372 echo "${ECHO_T}no" >&6; }
31380 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31381 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31383 if test -n "$PKG_CONFIG"; then
31384 if test -n "$DIRECTFB_CFLAGS"; then
31385 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31387 if test -n "$PKG_CONFIG" && \
31388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31389 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); }; then
31393 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31401 if test -n "$PKG_CONFIG"; then
31402 if test -n "$DIRECTFB_LIBS"; then
31403 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31405 if test -n "$PKG_CONFIG" && \
31406 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31407 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410 (exit $ac_status); }; then
31411 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31422 if test $pkg_failed = yes; then
31424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31425 _pkg_short_errors_supported=yes
31427 _pkg_short_errors_supported=no
31429 if test $_pkg_short_errors_supported = yes; then
31430 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31432 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31434 # Put the nasty error message in config.log where it belongs
31435 echo "$DIRECTFB_PKG_ERRORS" >&5
31438 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31439 echo "$as_me: error: DirectFB not found." >&2;}
31440 { (exit 1); exit 1; }; }
31443 elif test $pkg_failed = untried; then
31445 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31446 echo "$as_me: error: DirectFB not found." >&2;}
31447 { (exit 1); exit 1; }; }
31451 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31452 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31453 { echo "$as_me:$LINENO: result: yes" >&5
31454 echo "${ECHO_T}yes" >&6; }
31456 wxUSE_UNIVERSAL="yes"
31457 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31458 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31465 if test "$wxUSE_MICROWIN" = 1; then
31466 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31467 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31468 if test "x$MICROWINDOWS" = x ; then
31469 { echo "$as_me:$LINENO: result: not found" >&5
31470 echo "${ECHO_T}not found" >&6; }
31471 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31472 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31473 { (exit 1); exit 1; }; }
31475 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31476 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31479 if test -f $MICROWINDOWS/lib/libmwin.a; then
31480 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31481 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31483 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31484 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31485 { (exit 1); exit 1; }; }
31488 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31489 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31491 wxUSE_UNIVERSAL="yes"
31493 AFMINSTALL=afminstall
31495 GUIDIST=MICROWIN_DIST
31497 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31500 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31501 { echo "$as_me:$LINENO: checking for X" >&5
31502 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31505 # Check whether --with-x was given.
31506 if test "${with_x+set}" = set; then
31510 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31511 if test "x$with_x" = xno; then
31512 # The user explicitly disabled X.
31515 case $x_includes,$x_libraries in #(
31516 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31517 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31518 { (exit 1); exit 1; }; };; #(
31519 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31522 # One or both of the vars are not set, and there is no cached value.
31523 ac_x_includes=no ac_x_libraries=no
31524 rm -f -r conftest.dir
31525 if mkdir conftest.dir; then
31527 cat >Imakefile <<'_ACEOF'
31529 @echo incroot='${INCROOT}'
31531 @echo usrlibdir='${USRLIBDIR}'
31533 @echo libdir='${LIBDIR}'
31535 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31536 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31537 for ac_var in incroot usrlibdir libdir; do
31538 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31540 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31541 for ac_extension in a so sl; do
31542 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31543 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31544 ac_im_usrlibdir=$ac_im_libdir; break
31547 # Screen out bogus values from the imake configuration. They are
31548 # bogus both because they are the default anyway, and because
31549 # using them would break gcc on systems where it needs fixed includes.
31550 case $ac_im_incroot in
31551 /usr/include) ac_x_includes= ;;
31552 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31554 case $ac_im_usrlibdir in
31555 /usr/lib | /lib) ;;
31556 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31560 rm -f -r conftest.dir
31563 # Standard set of common directories for X headers.
31564 # Check X11 before X11Rn because it is often a symlink to the current release.
31576 /usr
/local
/X
11/include
31577 /usr
/local
/X
11R
6/include
31578 /usr
/local
/X
11R
5/include
31579 /usr
/local
/X
11R
4/include
31581 /usr
/local
/include
/X11
31582 /usr
/local
/include
/X11R6
31583 /usr
/local
/include
/X11R5
31584 /usr
/local
/include
/X11R4
31588 /usr
/XFree
86/include
/X11
31592 /usr
/unsupported
/include
31593 /usr
/athena
/include
31594 /usr
/local
/x
11r
5/include
31595 /usr
/lpp
/Xamples
/include
31597 /usr
/openwin
/include
31598 /usr
/openwin
/share
/include
'
31600 if test "$ac_x_includes" = no; then
31601 # Guess where to find include files, by looking for Xlib.h.
31602 # First, try using that file with no special directory specified.
31603 cat >conftest.$ac_ext <<_ACEOF
31606 cat confdefs.h >>conftest.$ac_ext
31607 cat >>conftest.$ac_ext <<_ACEOF
31608 /* end confdefs.h. */
31609 #include <X11/Xlib.h>
31611 if { (ac_try="$ac_cpp conftest.$ac_ext"
31612 case "(($ac_try" in
31613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31614 *) ac_try_echo=$ac_try;;
31616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31619 grep -v '^
*+' conftest.er1 >conftest.err
31621 cat conftest.err >&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); } >/dev/null; then
31624 if test -s conftest.err; then
31625 ac_cpp_err=$ac_c_preproc_warn_flag
31626 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31633 if test -z "$ac_cpp_err"; then
31634 # We can compile using X headers with no special include directory.
31637 echo "$as_me: failed program was:" >&5
31638 sed 's
/^
/| /' conftest.$ac_ext >&5
31640 for ac_dir in $ac_x_header_dirs; do
31641 if test -r "$ac_dir/X11/Xlib.h"; then
31642 ac_x_includes=$ac_dir
31648 rm -f conftest.err conftest.$ac_ext
31649 fi # $ac_x_includes = no
31651 if test "$ac_x_libraries" = no; then
31652 # Check for the libraries.
31653 # See if we find them without any special options.
31654 # Don't add to
$LIBS permanently.
31657 cat >conftest.
$ac_ext <<_ACEOF
31660 cat confdefs.h
>>conftest.
$ac_ext
31661 cat >>conftest.
$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663 #include <X11/Xlib.h>
31672 rm -f conftest.
$ac_objext conftest
$ac_exeext
31673 if { (ac_try
="$ac_link"
31674 case "(($ac_try" in
31675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31676 *) ac_try_echo=$ac_try;;
31678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31679 (eval "$ac_link") 2>conftest.er1
31681 grep -v '^ *+' conftest.er1 >conftest.err
31683 cat conftest.err >&5
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); } &&
31686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31687 { (case "(($ac_try" in
31688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31689 *) ac_try_echo
=$ac_try;;
31691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31692 (eval "$ac_try") 2>&5
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; } &&
31696 { ac_try
='test -s conftest$ac_exeext'
31697 { (case "(($ac_try" in
31698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31699 *) ac_try_echo=$ac_try;;
31701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31702 (eval "$ac_try") 2>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; }; then
31707 # We can link X programs with no special library path.
31710 echo "$as_me: failed program was:" >&5
31711 sed 's/^/| /' conftest.$ac_ext >&5
31714 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31716 # Don't even attempt the hair of trying to link an X program!
31717 for ac_extension in a so sl; do
31718 if test -r "$ac_dir/libXt.$ac_extension"; then
31719 ac_x_libraries=$ac_dir
31726 rm -f core conftest.err conftest.$ac_objext \
31727 conftest$ac_exeext conftest.$ac_ext
31728 fi # $ac_x_libraries = no
31730 case $ac_x_includes,$ac_x_libraries in #(
31731 no,* | *,no | *\'*)
31732 # Didn't find X, or a directory has "'" in its name.
31733 ac_cv_have_x="have_x=no";; #(
31735 # Record where we found X for the cache.
31736 ac_cv_have_x="have_x=yes\
31737 ac_x_includes='$ac_x_includes'\
31738 ac_x_libraries='$ac_x_libraries'"
31744 eval "$ac_cv_have_x"
31747 if test "$have_x" != yes; then
31748 { echo "$as_me:$LINENO: result: $have_x" >&5
31749 echo "${ECHO_T}$have_x" >&6; }
31752 # If each of the values was on the command line, it overrides each guess.
31753 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31754 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31755 # Update the cache value to reflect the command line values.
31756 ac_cv_have_x="have_x=yes\
31757 ac_x_includes='$x_includes'\
31758 ac_x_libraries='$x_libraries'"
31759 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31760 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31763 if test "$no_x" = yes; then
31764 # Not all programs may use this symbol, but it does not hurt to define it.
31766 cat >>confdefs.h <<\_ACEOF
31767 #define X_DISPLAY_MISSING 1
31770 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31772 if test -n "$x_includes"; then
31773 X_CFLAGS="$X_CFLAGS -I$x_includes"
31776 # It would also be nice to do this for all -L options, not just this one.
31777 if test -n "$x_libraries"; then
31778 X_LIBS="$X_LIBS -L$x_libraries"
31779 # For Solaris; some versions of Sun CC require a space after -R and
31780 # others require no space. Words are not sufficient . . . .
31781 case `(uname
-sr) 2>/dev
/null
` in
31783 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31784 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31785 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31786 cat >conftest.$ac_ext <<_ACEOF
31789 cat confdefs.h >>conftest.$ac_ext
31790 cat >>conftest.$ac_ext <<_ACEOF
31791 /* end confdefs.h. */
31801 rm -f conftest.$ac_objext conftest$ac_exeext
31802 if { (ac_try="$ac_link"
31803 case "(($ac_try" in
31804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31805 *) ac_try_echo
=$ac_try;;
31807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31808 (eval "$ac_link") 2>conftest.er1
31810 grep -v '^ *+' conftest.er1
>conftest.err
31812 cat conftest.err
>&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } &&
31815 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31816 { (case "(($ac_try" in
31817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31818 *) ac_try_echo=$ac_try;;
31820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31821 (eval "$ac_try") 2>&5
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); }; } &&
31825 { ac_try='test -s conftest$ac_exeext'
31826 { (case "(($ac_try" in
31827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31828 *) ac_try_echo
=$ac_try;;
31830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31831 (eval "$ac_try") 2>&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31837 echo "$as_me: failed program was:" >&5
31838 sed 's/^/| /' conftest.
$ac_ext >&5
31843 rm -f core conftest.err conftest.
$ac_objext \
31844 conftest
$ac_exeext conftest.
$ac_ext
31845 if test $ac_R_nospace = yes; then
31846 { echo "$as_me:$LINENO: result: no" >&5
31847 echo "${ECHO_T}no" >&6; }
31848 X_LIBS
="$X_LIBS -R$x_libraries"
31850 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31851 cat >conftest.
$ac_ext <<_ACEOF
31854 cat confdefs.h
>>conftest.
$ac_ext
31855 cat >>conftest.
$ac_ext <<_ACEOF
31856 /* end confdefs.h. */
31866 rm -f conftest.
$ac_objext conftest
$ac_exeext
31867 if { (ac_try
="$ac_link"
31868 case "(($ac_try" in
31869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31870 *) ac_try_echo=$ac_try;;
31872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31873 (eval "$ac_link") 2>conftest.er1
31875 grep -v '^ *+' conftest.er1 >conftest.err
31877 cat conftest.err >&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); } &&
31880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31881 { (case "(($ac_try" in
31882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31883 *) ac_try_echo
=$ac_try;;
31885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31886 (eval "$ac_try") 2>&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); }; } &&
31890 { ac_try
='test -s conftest$ac_exeext'
31891 { (case "(($ac_try" in
31892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31893 *) ac_try_echo=$ac_try;;
31895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31896 (eval "$ac_try") 2>&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); }; }; then
31902 echo "$as_me: failed program was:" >&5
31903 sed 's/^/| /' conftest.$ac_ext >&5
31908 rm -f core conftest.err conftest.$ac_objext \
31909 conftest$ac_exeext conftest.$ac_ext
31910 if test $ac_R_space = yes; then
31911 { echo "$as_me:$LINENO: result: yes" >&5
31912 echo "${ECHO_T}yes" >&6; }
31913 X_LIBS="$X_LIBS -R $x_libraries"
31915 { echo "$as_me:$LINENO: result: neither works" >&5
31916 echo "${ECHO_T}neither works" >&6; }
31919 LIBS=$ac_xsave_LIBS
31923 # Check for system-dependent libraries X programs must link with.
31924 # Do this before checking for the system-independent R6 libraries
31925 # (-lICE), since we may need -lsocket or whatever for X linking.
31927 if test "$ISC" = yes; then
31928 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31930 # Martyn Johnson says this is needed for Ultrix, if the X
31931 # libraries were built with DECnet support. And Karl Berry says
31932 # the Alpha needs dnet_stub (dnet does not exist).
31933 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31934 cat >conftest.$ac_ext <<_ACEOF
31937 cat confdefs.h >>conftest.$ac_ext
31938 cat >>conftest.$ac_ext <<_ACEOF
31939 /* end confdefs.h. */
31941 /* Override any GCC internal prototype to avoid an error.
31942 Use char because int might match the return type of a GCC
31943 builtin and then its argument prototype would still apply. */
31947 char XOpenDisplay ();
31951 return XOpenDisplay ();
31956 rm -f conftest.$ac_objext conftest$ac_exeext
31957 if { (ac_try="$ac_link"
31958 case "(($ac_try" in
31959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31960 *) ac_try_echo
=$ac_try;;
31962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31963 (eval "$ac_link") 2>conftest.er1
31965 grep -v '^ *+' conftest.er1
>conftest.err
31967 cat conftest.err
>&5
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); } &&
31970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31971 { (case "(($ac_try" in
31972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31973 *) ac_try_echo=$ac_try;;
31975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31976 (eval "$ac_try") 2>&5
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; } &&
31980 { ac_try='test -s conftest$ac_exeext'
31981 { (case "(($ac_try" in
31982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31983 *) ac_try_echo
=$ac_try;;
31985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31986 (eval "$ac_try") 2>&5
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); }; }; then
31992 echo "$as_me: failed program was:" >&5
31993 sed 's/^/| /' conftest.
$ac_ext >&5
31995 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31996 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31997 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31998 echo $ECHO_N "(cached) $ECHO_C" >&6
32000 ac_check_lib_save_LIBS
=$LIBS
32001 LIBS
="-ldnet $LIBS"
32002 cat >conftest.
$ac_ext <<_ACEOF
32005 cat confdefs.h
>>conftest.
$ac_ext
32006 cat >>conftest.
$ac_ext <<_ACEOF
32007 /* end confdefs.h. */
32009 /* Override any GCC internal prototype to avoid an error.
32010 Use char because int might match the return type of a GCC
32011 builtin and then its argument prototype would still apply. */
32019 return dnet_ntoa ();
32024 rm -f conftest.
$ac_objext conftest
$ac_exeext
32025 if { (ac_try
="$ac_link"
32026 case "(($ac_try" in
32027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32028 *) ac_try_echo=$ac_try;;
32030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32031 (eval "$ac_link") 2>conftest.er1
32033 grep -v '^ *+' conftest.er1 >conftest.err
32035 cat conftest.err >&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32039 { (case "(($ac_try" in
32040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32041 *) ac_try_echo
=$ac_try;;
32043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32044 (eval "$ac_try") 2>&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; } &&
32048 { ac_try
='test -s conftest$ac_exeext'
32049 { (case "(($ac_try" in
32050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32051 *) ac_try_echo=$ac_try;;
32053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32054 (eval "$ac_try") 2>&5
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); }; }; then
32058 ac_cv_lib_dnet_dnet_ntoa=yes
32060 echo "$as_me: failed program was:" >&5
32061 sed 's/^/| /' conftest.$ac_ext >&5
32063 ac_cv_lib_dnet_dnet_ntoa=no
32066 rm -f core conftest.err conftest.$ac_objext \
32067 conftest$ac_exeext conftest.$ac_ext
32068 LIBS=$ac_check_lib_save_LIBS
32070 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32071 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32072 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32073 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32076 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32077 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32078 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32079 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32080 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 ac_check_lib_save_LIBS=$LIBS
32083 LIBS="-ldnet_stub $LIBS"
32084 cat >conftest.$ac_ext <<_ACEOF
32087 cat confdefs.h >>conftest.$ac_ext
32088 cat >>conftest.$ac_ext <<_ACEOF
32089 /* end confdefs.h. */
32091 /* Override any GCC internal prototype to avoid an error.
32092 Use char because int might match the return type of a GCC
32093 builtin and then its argument prototype would still apply. */
32101 return dnet_ntoa ();
32106 rm -f conftest.$ac_objext conftest$ac_exeext
32107 if { (ac_try="$ac_link"
32108 case "(($ac_try" in
32109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32110 *) ac_try_echo
=$ac_try;;
32112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32113 (eval "$ac_link") 2>conftest.er1
32115 grep -v '^ *+' conftest.er1
>conftest.err
32117 cat conftest.err
>&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); } &&
32120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32121 { (case "(($ac_try" in
32122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32123 *) ac_try_echo=$ac_try;;
32125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32126 (eval "$ac_try") 2>&5
32128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129 (exit $ac_status); }; } &&
32130 { ac_try='test -s conftest$ac_exeext'
32131 { (case "(($ac_try" in
32132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32133 *) ac_try_echo
=$ac_try;;
32135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32136 (eval "$ac_try") 2>&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); }; }; then
32140 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32142 echo "$as_me: failed program was:" >&5
32143 sed 's/^/| /' conftest.
$ac_ext >&5
32145 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32148 rm -f core conftest.err conftest.
$ac_objext \
32149 conftest
$ac_exeext conftest.
$ac_ext
32150 LIBS
=$ac_check_lib_save_LIBS
32152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32153 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32154 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32155 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32161 rm -f core conftest.err conftest.
$ac_objext \
32162 conftest
$ac_exeext conftest.
$ac_ext
32163 LIBS
="$ac_xsave_LIBS"
32165 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32166 # to get the SysV transport functions.
32167 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32169 # The nsl library prevents programs from opening the X display
32170 # on Irix 5.2, according to T.E. Dickey.
32171 # The functions gethostbyname, getservbyname, and inet_addr are
32172 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32173 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32174 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32175 if test "${ac_cv_func_gethostbyname+set}" = set; then
32176 echo $ECHO_N "(cached) $ECHO_C" >&6
32178 cat >conftest.
$ac_ext <<_ACEOF
32181 cat confdefs.h
>>conftest.
$ac_ext
32182 cat >>conftest.
$ac_ext <<_ACEOF
32183 /* end confdefs.h. */
32184 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32186 #define gethostbyname innocuous_gethostbyname
32188 /* System header to define __stub macros and hopefully few prototypes,
32189 which can conflict with char gethostbyname (); below.
32190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32191 <limits.h> exists even on freestanding compilers. */
32194 # include <limits.h>
32196 # include <assert.h>
32199 #undef gethostbyname
32201 /* Override any GCC internal prototype to avoid an error.
32202 Use char because int might match the return type of a GCC
32203 builtin and then its argument prototype would still apply. */
32207 char gethostbyname ();
32208 /* The GNU C library defines this for functions which it implements
32209 to always fail with ENOSYS. Some functions are actually named
32210 something starting with __ and the normal name is an alias. */
32211 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32218 return gethostbyname ();
32223 rm -f conftest.
$ac_objext conftest
$ac_exeext
32224 if { (ac_try
="$ac_link"
32225 case "(($ac_try" in
32226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32227 *) ac_try_echo=$ac_try;;
32229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32230 (eval "$ac_link") 2>conftest.er1
32232 grep -v '^ *+' conftest.er1 >conftest.err
32234 cat conftest.err >&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } &&
32237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32238 { (case "(($ac_try" in
32239 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32240 *) ac_try_echo
=$ac_try;;
32242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32243 (eval "$ac_try") 2>&5
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); }; } &&
32247 { ac_try
='test -s conftest$ac_exeext'
32248 { (case "(($ac_try" in
32249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32250 *) ac_try_echo=$ac_try;;
32252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32253 (eval "$ac_try") 2>&5
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); }; }; then
32257 ac_cv_func_gethostbyname=yes
32259 echo "$as_me: failed program was:" >&5
32260 sed 's/^/| /' conftest.$ac_ext >&5
32262 ac_cv_func_gethostbyname=no
32265 rm -f core conftest.err conftest.$ac_objext \
32266 conftest$ac_exeext conftest.$ac_ext
32268 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32269 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32271 if test $ac_cv_func_gethostbyname = no; then
32272 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32273 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32274 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32275 echo $ECHO_N "(cached) $ECHO_C" >&6
32277 ac_check_lib_save_LIBS=$LIBS
32279 cat >conftest.$ac_ext <<_ACEOF
32282 cat confdefs.h >>conftest.$ac_ext
32283 cat >>conftest.$ac_ext <<_ACEOF
32284 /* end confdefs.h. */
32286 /* Override any GCC internal prototype to avoid an error.
32287 Use char because int might match the return type of a GCC
32288 builtin and then its argument prototype would still apply. */
32292 char gethostbyname ();
32296 return gethostbyname ();
32301 rm -f conftest.$ac_objext conftest$ac_exeext
32302 if { (ac_try="$ac_link"
32303 case "(($ac_try" in
32304 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32305 *) ac_try_echo
=$ac_try;;
32307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32308 (eval "$ac_link") 2>conftest.er1
32310 grep -v '^ *+' conftest.er1
>conftest.err
32312 cat conftest.err
>&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); } &&
32315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32316 { (case "(($ac_try" in
32317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32318 *) ac_try_echo=$ac_try;;
32320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32321 (eval "$ac_try") 2>&5
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); }; } &&
32325 { ac_try='test -s conftest$ac_exeext'
32326 { (case "(($ac_try" in
32327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32328 *) ac_try_echo
=$ac_try;;
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_try") 2>&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); }; }; then
32335 ac_cv_lib_nsl_gethostbyname
=yes
32337 echo "$as_me: failed program was:" >&5
32338 sed 's/^/| /' conftest.
$ac_ext >&5
32340 ac_cv_lib_nsl_gethostbyname
=no
32343 rm -f core conftest.err conftest.
$ac_objext \
32344 conftest
$ac_exeext conftest.
$ac_ext
32345 LIBS
=$ac_check_lib_save_LIBS
32347 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32348 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32349 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32350 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32353 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32354 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32355 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32356 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32357 echo $ECHO_N "(cached) $ECHO_C" >&6
32359 ac_check_lib_save_LIBS
=$LIBS
32361 cat >conftest.
$ac_ext <<_ACEOF
32364 cat confdefs.h
>>conftest.
$ac_ext
32365 cat >>conftest.
$ac_ext <<_ACEOF
32366 /* end confdefs.h. */
32368 /* Override any GCC internal prototype to avoid an error.
32369 Use char because int might match the return type of a GCC
32370 builtin and then its argument prototype would still apply. */
32374 char gethostbyname ();
32378 return gethostbyname ();
32383 rm -f conftest.
$ac_objext conftest
$ac_exeext
32384 if { (ac_try
="$ac_link"
32385 case "(($ac_try" in
32386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32387 *) ac_try_echo=$ac_try;;
32389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32390 (eval "$ac_link") 2>conftest.er1
32392 grep -v '^ *+' conftest.er1 >conftest.err
32394 cat conftest.err >&5
32395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32396 (exit $ac_status); } &&
32397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32398 { (case "(($ac_try" in
32399 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32400 *) ac_try_echo
=$ac_try;;
32402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32403 (eval "$ac_try") 2>&5
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); }; } &&
32407 { ac_try
='test -s conftest$ac_exeext'
32408 { (case "(($ac_try" in
32409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32410 *) ac_try_echo=$ac_try;;
32412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32413 (eval "$ac_try") 2>&5
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); }; }; then
32417 ac_cv_lib_bsd_gethostbyname=yes
32419 echo "$as_me: failed program was:" >&5
32420 sed 's/^/| /' conftest.$ac_ext >&5
32422 ac_cv_lib_bsd_gethostbyname=no
32425 rm -f core conftest.err conftest.$ac_objext \
32426 conftest$ac_exeext conftest.$ac_ext
32427 LIBS=$ac_check_lib_save_LIBS
32429 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32430 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32431 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32438 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32439 # socket/setsockopt and other routines are undefined under SCO ODT
32440 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32441 # on later versions), says Simon Leinen: it contains gethostby*
32442 # variants that don't use the name server (or something). -lsocket
32443 # must be given before -lnsl if both are needed. We assume that
32444 # if connect needs -lnsl, so does gethostbyname.
32445 { echo "$as_me:$LINENO: checking for connect" >&5
32446 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32447 if test "${ac_cv_func_connect+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32450 cat >conftest.$ac_ext <<_ACEOF
32453 cat confdefs.h >>conftest.$ac_ext
32454 cat >>conftest.$ac_ext <<_ACEOF
32455 /* end confdefs.h. */
32456 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32458 #define connect innocuous_connect
32460 /* System header to define __stub macros and hopefully few prototypes,
32461 which can conflict with char connect (); below.
32462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32463 <limits.h> exists even on freestanding compilers. */
32466 # include <limits.h>
32468 # include <assert.h>
32473 /* Override any GCC internal prototype to avoid an error.
32474 Use char because int might match the return type of a GCC
32475 builtin and then its argument prototype would still apply. */
32480 /* The GNU C library defines this for functions which it implements
32481 to always fail with ENOSYS. Some functions are actually named
32482 something starting with __ and the normal name is an alias. */
32483 #if defined __stub_connect || defined __stub___connect
32495 rm -f conftest.$ac_objext conftest$ac_exeext
32496 if { (ac_try="$ac_link"
32497 case "(($ac_try" in
32498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32499 *) ac_try_echo
=$ac_try;;
32501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32502 (eval "$ac_link") 2>conftest.er1
32504 grep -v '^ *+' conftest.er1
>conftest.err
32506 cat conftest.err
>&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); } &&
32509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32510 { (case "(($ac_try" in
32511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32512 *) ac_try_echo=$ac_try;;
32514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32515 (eval "$ac_try") 2>&5
32517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32518 (exit $ac_status); }; } &&
32519 { ac_try='test -s conftest$ac_exeext'
32520 { (case "(($ac_try" in
32521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32522 *) ac_try_echo
=$ac_try;;
32524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 (eval "$ac_try") 2>&5
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); }; }; then
32529 ac_cv_func_connect
=yes
32531 echo "$as_me: failed program was:" >&5
32532 sed 's/^/| /' conftest.
$ac_ext >&5
32534 ac_cv_func_connect
=no
32537 rm -f core conftest.err conftest.
$ac_objext \
32538 conftest
$ac_exeext conftest.
$ac_ext
32540 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32541 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32543 if test $ac_cv_func_connect = no
; then
32544 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32545 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32546 if test "${ac_cv_lib_socket_connect+set}" = set; then
32547 echo $ECHO_N "(cached) $ECHO_C" >&6
32549 ac_check_lib_save_LIBS
=$LIBS
32550 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32551 cat >conftest.
$ac_ext <<_ACEOF
32554 cat confdefs.h
>>conftest.
$ac_ext
32555 cat >>conftest.
$ac_ext <<_ACEOF
32556 /* end confdefs.h. */
32558 /* Override any GCC internal prototype to avoid an error.
32559 Use char because int might match the return type of a GCC
32560 builtin and then its argument prototype would still apply. */
32573 rm -f conftest.
$ac_objext conftest
$ac_exeext
32574 if { (ac_try
="$ac_link"
32575 case "(($ac_try" in
32576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32577 *) ac_try_echo=$ac_try;;
32579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32580 (eval "$ac_link") 2>conftest.er1
32582 grep -v '^ *+' conftest.er1 >conftest.err
32584 cat conftest.err >&5
32585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 (exit $ac_status); } &&
32587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32588 { (case "(($ac_try" in
32589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32590 *) ac_try_echo
=$ac_try;;
32592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32593 (eval "$ac_try") 2>&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); }; } &&
32597 { ac_try
='test -s conftest$ac_exeext'
32598 { (case "(($ac_try" in
32599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32600 *) ac_try_echo=$ac_try;;
32602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32603 (eval "$ac_try") 2>&5
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; }; then
32607 ac_cv_lib_socket_connect=yes
32609 echo "$as_me: failed program was:" >&5
32610 sed 's/^/| /' conftest.$ac_ext >&5
32612 ac_cv_lib_socket_connect=no
32615 rm -f core conftest.err conftest.$ac_objext \
32616 conftest$ac_exeext conftest.$ac_ext
32617 LIBS=$ac_check_lib_save_LIBS
32619 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32620 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32621 if test $ac_cv_lib_socket_connect = yes; then
32622 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32627 # Guillermo Gomez says -lposix is necessary on A/UX.
32628 { echo "$as_me:$LINENO: checking for remove" >&5
32629 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32630 if test "${ac_cv_func_remove+set}" = set; then
32631 echo $ECHO_N "(cached) $ECHO_C" >&6
32633 cat >conftest.$ac_ext <<_ACEOF
32636 cat confdefs.h >>conftest.$ac_ext
32637 cat >>conftest.$ac_ext <<_ACEOF
32638 /* end confdefs.h. */
32639 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32641 #define remove innocuous_remove
32643 /* System header to define __stub macros and hopefully few prototypes,
32644 which can conflict with char remove (); below.
32645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32646 <limits.h> exists even on freestanding compilers. */
32649 # include <limits.h>
32651 # include <assert.h>
32656 /* Override any GCC internal prototype to avoid an error.
32657 Use char because int might match the return type of a GCC
32658 builtin and then its argument prototype would still apply. */
32663 /* The GNU C library defines this for functions which it implements
32664 to always fail with ENOSYS. Some functions are actually named
32665 something starting with __ and the normal name is an alias. */
32666 #if defined __stub_remove || defined __stub___remove
32678 rm -f conftest.$ac_objext conftest$ac_exeext
32679 if { (ac_try="$ac_link"
32680 case "(($ac_try" in
32681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32682 *) ac_try_echo
=$ac_try;;
32684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32685 (eval "$ac_link") 2>conftest.er1
32687 grep -v '^ *+' conftest.er1
>conftest.err
32689 cat conftest.err
>&5
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); } &&
32692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32693 { (case "(($ac_try" in
32694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32695 *) ac_try_echo=$ac_try;;
32697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32698 (eval "$ac_try") 2>&5
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); }; } &&
32702 { ac_try='test -s conftest$ac_exeext'
32703 { (case "(($ac_try" in
32704 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32705 *) ac_try_echo
=$ac_try;;
32707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32708 (eval "$ac_try") 2>&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; }; then
32712 ac_cv_func_remove
=yes
32714 echo "$as_me: failed program was:" >&5
32715 sed 's/^/| /' conftest.
$ac_ext >&5
32717 ac_cv_func_remove
=no
32720 rm -f core conftest.err conftest.
$ac_objext \
32721 conftest
$ac_exeext conftest.
$ac_ext
32723 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32724 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32726 if test $ac_cv_func_remove = no
; then
32727 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32728 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32729 if test "${ac_cv_lib_posix_remove+set}" = set; then
32730 echo $ECHO_N "(cached) $ECHO_C" >&6
32732 ac_check_lib_save_LIBS
=$LIBS
32733 LIBS
="-lposix $LIBS"
32734 cat >conftest.
$ac_ext <<_ACEOF
32737 cat confdefs.h
>>conftest.
$ac_ext
32738 cat >>conftest.
$ac_ext <<_ACEOF
32739 /* end confdefs.h. */
32741 /* Override any GCC internal prototype to avoid an error.
32742 Use char because int might match the return type of a GCC
32743 builtin and then its argument prototype would still apply. */
32756 rm -f conftest.
$ac_objext conftest
$ac_exeext
32757 if { (ac_try
="$ac_link"
32758 case "(($ac_try" in
32759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32760 *) ac_try_echo=$ac_try;;
32762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32763 (eval "$ac_link") 2>conftest.er1
32765 grep -v '^ *+' conftest.er1 >conftest.err
32767 cat conftest.err >&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); } &&
32770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32771 { (case "(($ac_try" in
32772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32773 *) ac_try_echo
=$ac_try;;
32775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32776 (eval "$ac_try") 2>&5
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); }; } &&
32780 { ac_try
='test -s conftest$ac_exeext'
32781 { (case "(($ac_try" in
32782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32783 *) ac_try_echo=$ac_try;;
32785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32786 (eval "$ac_try") 2>&5
32788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 (exit $ac_status); }; }; then
32790 ac_cv_lib_posix_remove=yes
32792 echo "$as_me: failed program was:" >&5
32793 sed 's/^/| /' conftest.$ac_ext >&5
32795 ac_cv_lib_posix_remove=no
32798 rm -f core conftest.err conftest.$ac_objext \
32799 conftest$ac_exeext conftest.$ac_ext
32800 LIBS=$ac_check_lib_save_LIBS
32802 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32803 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32804 if test $ac_cv_lib_posix_remove = yes; then
32805 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32810 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32811 { echo "$as_me:$LINENO: checking for shmat" >&5
32812 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32813 if test "${ac_cv_func_shmat+set}" = set; then
32814 echo $ECHO_N "(cached) $ECHO_C" >&6
32816 cat >conftest.$ac_ext <<_ACEOF
32819 cat confdefs.h >>conftest.$ac_ext
32820 cat >>conftest.$ac_ext <<_ACEOF
32821 /* end confdefs.h. */
32822 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32824 #define shmat innocuous_shmat
32826 /* System header to define __stub macros and hopefully few prototypes,
32827 which can conflict with char shmat (); below.
32828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32829 <limits.h> exists even on freestanding compilers. */
32832 # include <limits.h>
32834 # include <assert.h>
32839 /* Override any GCC internal prototype to avoid an error.
32840 Use char because int might match the return type of a GCC
32841 builtin and then its argument prototype would still apply. */
32846 /* The GNU C library defines this for functions which it implements
32847 to always fail with ENOSYS. Some functions are actually named
32848 something starting with __ and the normal name is an alias. */
32849 #if defined __stub_shmat || defined __stub___shmat
32861 rm -f conftest.$ac_objext conftest$ac_exeext
32862 if { (ac_try="$ac_link"
32863 case "(($ac_try" in
32864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32865 *) ac_try_echo
=$ac_try;;
32867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32868 (eval "$ac_link") 2>conftest.er1
32870 grep -v '^ *+' conftest.er1
>conftest.err
32872 cat conftest.err
>&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } &&
32875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32876 { (case "(($ac_try" in
32877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32878 *) ac_try_echo=$ac_try;;
32880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32881 (eval "$ac_try") 2>&5
32883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884 (exit $ac_status); }; } &&
32885 { ac_try='test -s conftest$ac_exeext'
32886 { (case "(($ac_try" in
32887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32888 *) ac_try_echo
=$ac_try;;
32890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32891 (eval "$ac_try") 2>&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); }; }; then
32895 ac_cv_func_shmat
=yes
32897 echo "$as_me: failed program was:" >&5
32898 sed 's/^/| /' conftest.
$ac_ext >&5
32900 ac_cv_func_shmat
=no
32903 rm -f core conftest.err conftest.
$ac_objext \
32904 conftest
$ac_exeext conftest.
$ac_ext
32906 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32907 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32909 if test $ac_cv_func_shmat = no
; then
32910 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32911 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32912 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32913 echo $ECHO_N "(cached) $ECHO_C" >&6
32915 ac_check_lib_save_LIBS
=$LIBS
32917 cat >conftest.
$ac_ext <<_ACEOF
32920 cat confdefs.h
>>conftest.
$ac_ext
32921 cat >>conftest.
$ac_ext <<_ACEOF
32922 /* end confdefs.h. */
32924 /* Override any GCC internal prototype to avoid an error.
32925 Use char because int might match the return type of a GCC
32926 builtin and then its argument prototype would still apply. */
32939 rm -f conftest.
$ac_objext conftest
$ac_exeext
32940 if { (ac_try
="$ac_link"
32941 case "(($ac_try" in
32942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32943 *) ac_try_echo=$ac_try;;
32945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32946 (eval "$ac_link") 2>conftest.er1
32948 grep -v '^ *+' conftest.er1 >conftest.err
32950 cat conftest.err >&5
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); } &&
32953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32954 { (case "(($ac_try" in
32955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32956 *) ac_try_echo
=$ac_try;;
32958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32959 (eval "$ac_try") 2>&5
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; } &&
32963 { ac_try
='test -s conftest$ac_exeext'
32964 { (case "(($ac_try" in
32965 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32966 *) ac_try_echo=$ac_try;;
32968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32969 (eval "$ac_try") 2>&5
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); }; }; then
32973 ac_cv_lib_ipc_shmat=yes
32975 echo "$as_me: failed program was:" >&5
32976 sed 's/^/| /' conftest.$ac_ext >&5
32978 ac_cv_lib_ipc_shmat=no
32981 rm -f core conftest.err conftest.$ac_objext \
32982 conftest$ac_exeext conftest.$ac_ext
32983 LIBS=$ac_check_lib_save_LIBS
32985 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32986 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32987 if test $ac_cv_lib_ipc_shmat = yes; then
32988 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32994 # Check for libraries that X11R6 Xt/Xaw programs need.
32995 ac_save_LDFLAGS=$LDFLAGS
32996 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32997 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32998 # check for ICE first), but we must link in the order -lSM -lICE or
32999 # we get undefined symbols. So assume we have SM if we have ICE.
33000 # These have to be linked with before -lX11, unlike the other
33001 # libraries we check for below, so use a different variable.
33002 # John Interrante, Karl Berry
33003 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33004 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33005 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33006 echo $ECHO_N "(cached) $ECHO_C" >&6
33008 ac_check_lib_save_LIBS=$LIBS
33009 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33010 cat >conftest.$ac_ext <<_ACEOF
33013 cat confdefs.h >>conftest.$ac_ext
33014 cat >>conftest.$ac_ext <<_ACEOF
33015 /* end confdefs.h. */
33017 /* Override any GCC internal prototype to avoid an error.
33018 Use char because int might match the return type of a GCC
33019 builtin and then its argument prototype would still apply. */
33023 char IceConnectionNumber ();
33027 return IceConnectionNumber ();
33032 rm -f conftest.$ac_objext conftest$ac_exeext
33033 if { (ac_try="$ac_link"
33034 case "(($ac_try" in
33035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33036 *) ac_try_echo
=$ac_try;;
33038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33039 (eval "$ac_link") 2>conftest.er1
33041 grep -v '^ *+' conftest.er1
>conftest.err
33043 cat conftest.err
>&5
33044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33045 (exit $ac_status); } &&
33046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33047 { (case "(($ac_try" in
33048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33049 *) ac_try_echo=$ac_try;;
33051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33052 (eval "$ac_try") 2>&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); }; } &&
33056 { ac_try='test -s conftest$ac_exeext'
33057 { (case "(($ac_try" in
33058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33059 *) ac_try_echo
=$ac_try;;
33061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33062 (eval "$ac_try") 2>&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33066 ac_cv_lib_ICE_IceConnectionNumber
=yes
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.
$ac_ext >&5
33071 ac_cv_lib_ICE_IceConnectionNumber
=no
33074 rm -f core conftest.err conftest.
$ac_objext \
33075 conftest
$ac_exeext conftest.
$ac_ext
33076 LIBS
=$ac_check_lib_save_LIBS
33078 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33079 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33080 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33081 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33084 LDFLAGS
=$ac_save_LDFLAGS
33089 if test "$no_x" = "yes"; then
33090 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33091 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33092 { (exit 1); exit 1; }; }
33095 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33096 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33097 AFMINSTALL
=afminstall
33098 COMPILED_X_PROGRAM
=0
33102 if test "$wxUSE_X11" = 1; then
33103 if test "$wxUSE_NANOX" = "yes"; then
33104 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33105 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33106 if test "x$MICROWIN" = x
; then
33107 { echo "$as_me:$LINENO: result: not found" >&5
33108 echo "${ECHO_T}not found" >&6; }
33109 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33110 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33111 { (exit 1); exit 1; }; }
33113 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33114 echo "${ECHO_T}$MICROWIN" >&6; }
33115 cat >>confdefs.h
<<\_ACEOF
33116 #define wxUSE_NANOX 1
33122 if test "$wxUSE_UNICODE" = "yes"; then
33125 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33126 if test -n "$ac_tool_prefix"; then
33127 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33128 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33131 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33134 case $PKG_CONFIG in
33136 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33140 for as_dir
in $PATH
33143 test -z "$as_dir" && as_dir
=.
33144 for ac_exec_ext
in '' $ac_executable_extensions; do
33145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33146 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33157 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33158 if test -n "$PKG_CONFIG"; then
33159 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33160 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33162 { echo "$as_me:$LINENO: result: no" >&5
33163 echo "${ECHO_T}no" >&6; }
33168 if test -z "$ac_cv_path_PKG_CONFIG"; then
33169 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33170 # Extract the first word of "pkg-config", so it can be a program name with args.
33171 set dummy pkg
-config; ac_word
=$2
33172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33174 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33175 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 case $ac_pt_PKG_CONFIG in
33179 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33183 for as_dir
in $PATH
33186 test -z "$as_dir" && as_dir
=.
33187 for ac_exec_ext
in '' $ac_executable_extensions; do
33188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33189 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33200 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33201 if test -n "$ac_pt_PKG_CONFIG"; then
33202 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33203 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33205 { echo "$as_me:$LINENO: result: no" >&5
33206 echo "${ECHO_T}no" >&6; }
33209 if test "x$ac_pt_PKG_CONFIG" = x
; then
33212 case $cross_compiling:$ac_tool_warned in
33214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33215 whose name does not start with the host triplet. If you think this
33216 configuration is useful to you, please write to autoconf@gnu.org." >&5
33217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33218 whose name does not start with the host triplet. If you think this
33219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33220 ac_tool_warned
=yes ;;
33222 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33225 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33229 if test -n "$PKG_CONFIG"; then
33230 _pkg_min_version
=0.9.0
33231 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33232 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33233 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33234 { echo "$as_me:$LINENO: result: yes" >&5
33235 echo "${ECHO_T}yes" >&6; }
33237 { echo "$as_me:$LINENO: result: no" >&5
33238 echo "${ECHO_T}no" >&6; }
33246 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33247 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33249 if test -n "$PKG_CONFIG"; then
33250 if test -n "$PANGOX_CFLAGS"; then
33251 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33253 if test -n "$PKG_CONFIG" && \
33254 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33255 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); }; then
33259 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33267 if test -n "$PKG_CONFIG"; then
33268 if test -n "$PANGOX_LIBS"; then
33269 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33271 if test -n "$PKG_CONFIG" && \
33272 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33273 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276 (exit $ac_status); }; then
33277 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33288 if test $pkg_failed = yes; then
33290 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33291 _pkg_short_errors_supported
=yes
33293 _pkg_short_errors_supported
=no
33295 if test $_pkg_short_errors_supported = yes; then
33296 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33298 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33300 # Put the nasty error message in config.log where it belongs
33301 echo "$PANGOX_PKG_ERRORS" >&5
33304 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33305 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33306 { (exit 1); exit 1; }; }
33309 elif test $pkg_failed = untried
; then
33311 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33312 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33313 { (exit 1); exit 1; }; }
33317 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33318 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33319 { echo "$as_me:$LINENO: result: yes" >&5
33320 echo "${ECHO_T}yes" >&6; }
33322 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33323 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33324 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33329 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33330 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33332 if test -n "$PKG_CONFIG"; then
33333 if test -n "$PANGOFT2_CFLAGS"; then
33334 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33336 if test -n "$PKG_CONFIG" && \
33337 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33338 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); }; then
33342 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33350 if test -n "$PKG_CONFIG"; then
33351 if test -n "$PANGOFT2_LIBS"; then
33352 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33354 if test -n "$PKG_CONFIG" && \
33355 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33356 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); }; then
33360 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33371 if test $pkg_failed = yes; then
33373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33374 _pkg_short_errors_supported
=yes
33376 _pkg_short_errors_supported
=no
33378 if test $_pkg_short_errors_supported = yes; then
33379 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33381 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33383 # Put the nasty error message in config.log where it belongs
33384 echo "$PANGOFT2_PKG_ERRORS" >&5
33387 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33388 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33389 wxUSE_PRINTING_ARCHITECTURE
="no"
33392 elif test $pkg_failed = untried
; then
33394 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33395 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33396 wxUSE_PRINTING_ARCHITECTURE
="no"
33400 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33401 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33402 { echo "$as_me:$LINENO: result: yes" >&5
33403 echo "${ECHO_T}yes" >&6; }
33405 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33406 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33407 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33412 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33413 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33415 if test -n "$PKG_CONFIG"; then
33416 if test -n "$PANGOXFT_CFLAGS"; then
33417 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33419 if test -n "$PKG_CONFIG" && \
33420 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33421 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); }; then
33425 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33433 if test -n "$PKG_CONFIG"; then
33434 if test -n "$PANGOXFT_LIBS"; then
33435 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33437 if test -n "$PKG_CONFIG" && \
33438 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33439 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33442 (exit $ac_status); }; then
33443 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33454 if test $pkg_failed = yes; then
33456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33457 _pkg_short_errors_supported
=yes
33459 _pkg_short_errors_supported
=no
33461 if test $_pkg_short_errors_supported = yes; then
33462 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33464 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33466 # Put the nasty error message in config.log where it belongs
33467 echo "$PANGOXFT_PKG_ERRORS" >&5
33470 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33471 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33474 elif test $pkg_failed = untried
; then
33476 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33477 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33481 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33482 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33483 { echo "$as_me:$LINENO: result: yes" >&5
33484 echo "${ECHO_T}yes" >&6; }
33486 cat >>confdefs.h
<<\_ACEOF
33487 #define HAVE_PANGO_XFT 1
33490 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33491 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33492 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33496 LIBS
="$LIBS $PANGOX_LIBS"
33498 for ac_func
in pango_font_family_is_monospace
33500 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33503 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33504 echo $ECHO_N "(cached) $ECHO_C" >&6
33506 cat >conftest.
$ac_ext <<_ACEOF
33509 cat confdefs.h
>>conftest.
$ac_ext
33510 cat >>conftest.
$ac_ext <<_ACEOF
33511 /* end confdefs.h. */
33512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33514 #define $ac_func innocuous_$ac_func
33516 /* System header to define __stub macros and hopefully few prototypes,
33517 which can conflict with char $ac_func (); below.
33518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33519 <limits.h> exists even on freestanding compilers. */
33522 # include <limits.h>
33524 # include <assert.h>
33529 /* Override any GCC internal prototype to avoid an error.
33530 Use char because int might match the return type of a GCC
33531 builtin and then its argument prototype would still apply. */
33536 /* The GNU C library defines this for functions which it implements
33537 to always fail with ENOSYS. Some functions are actually named
33538 something starting with __ and the normal name is an alias. */
33539 #if defined __stub_$ac_func || defined __stub___$ac_func
33546 return $ac_func ();
33551 rm -f conftest.
$ac_objext conftest
$ac_exeext
33552 if { (ac_try
="$ac_link"
33553 case "(($ac_try" in
33554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33555 *) ac_try_echo=$ac_try;;
33557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33558 (eval "$ac_link") 2>conftest.er1
33560 grep -v '^ *+' conftest.er1 >conftest.err
33562 cat conftest.err >&5
33563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33564 (exit $ac_status); } &&
33565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33566 { (case "(($ac_try" in
33567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33568 *) ac_try_echo
=$ac_try;;
33570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33571 (eval "$ac_try") 2>&5
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); }; } &&
33575 { ac_try
='test -s conftest$ac_exeext'
33576 { (case "(($ac_try" in
33577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33578 *) ac_try_echo=$ac_try;;
33580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33581 (eval "$ac_try") 2>&5
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; }; then
33585 eval "$as_ac_var=yes"
33587 echo "$as_me: failed program was:" >&5
33588 sed 's/^/| /' conftest.$ac_ext >&5
33590 eval "$as_ac_var=no"
33593 rm -f core conftest.err conftest.$ac_objext \
33594 conftest$ac_exeext conftest.$ac_ext
33596 ac_res=`eval echo '${'$as_ac_var'}'`
33597 { echo "$as_me:$LINENO: result: $ac_res" >&5
33598 echo "${ECHO_T}$ac_res" >&6; }
33599 if test `eval echo '${'$as_ac_var'}'` = yes; then
33600 cat >>confdefs.h <<_ACEOF
33601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33610 wxUSE_UNIVERSAL="yes"
33612 if test "$wxUSE_NANOX" = "yes"; then
33613 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33614 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"
33615 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33617 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33624 if test "$wxUSE_MOTIF" = 1; then
33625 if test "$wxUSE_UNICODE" = "yes"; then
33626 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33627 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33628 { (exit 1); exit 1; }; }
33631 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33632 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33635 for ac_dir in $SEARCH_INCLUDE /usr/include;
33637 if test -f "$ac_dir/Xm/Xm.h"; then
33638 ac_find_includes=$ac_dir
33643 if test "$ac_find_includes" != "" ; then
33644 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33645 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33647 if test "x$ac_find_includes" = "x/usr/include"; then
33648 ac_path_to_include=""
33650 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33652 if test $result = 0; then
33653 ac_path_to_include=""
33655 ac_path_to_include=" -I$ac_find_includes"
33659 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33661 save_CFLAGS=$CFLAGS
33662 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33664 cat >conftest.$ac_ext <<_ACEOF
33667 cat confdefs.h >>conftest.$ac_ext
33668 cat >>conftest.$ac_ext <<_ACEOF
33669 /* end confdefs.h. */
33678 version = xmUseVersion;
33684 rm -f conftest.$ac_objext
33685 if { (ac_try="$ac_compile"
33686 case "(($ac_try" in
33687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33688 *) ac_try_echo
=$ac_try;;
33690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33691 (eval "$ac_compile") 2>conftest.er1
33693 grep -v '^ *+' conftest.er1
>conftest.err
33695 cat conftest.err
>&5
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); } &&
33698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33699 { (case "(($ac_try" in
33700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33701 *) ac_try_echo=$ac_try;;
33703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33704 (eval "$ac_try") 2>&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); }; } &&
33708 { ac_try='test -s conftest.$ac_objext'
33709 { (case "(($ac_try" in
33710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33711 *) ac_try_echo
=$ac_try;;
33713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33714 (eval "$ac_try") 2>&5
33716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33717 (exit $ac_status); }; }; then
33719 { echo "$as_me:$LINENO: result: found in default search path" >&5
33720 echo "${ECHO_T}found in default search path" >&6; }
33721 COMPILED_X_PROGRAM
=1
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.
$ac_ext >&5
33728 { echo "$as_me:$LINENO: result: no" >&5
33729 echo "${ECHO_T}no" >&6; }
33730 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33731 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33732 { (exit 1); exit 1; }; }
33737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33739 CFLAGS
=$save_CFLAGS
33743 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33744 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33747 for ac_dir
in $SEARCH_LIB;
33749 for ac_extension
in a so sl dylib dll.a
; do
33750 if test -f "$ac_dir/libXm.$ac_extension"; then
33751 ac_find_libraries
=$ac_dir
33758 if test "x$ac_find_libraries" != "x" ; then
33759 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33760 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33763 if test "$ac_find_libraries" = "default location"; then
33766 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33768 if test $result = 0; then
33771 ac_path_to_link
=" -L$ac_find_libraries"
33775 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33777 save_CFLAGS
=$CFLAGS
33778 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33780 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33782 cat >conftest.
$ac_ext <<_ACEOF
33785 cat confdefs.h
>>conftest.
$ac_ext
33786 cat >>conftest.
$ac_ext <<_ACEOF
33787 /* end confdefs.h. */
33796 version = xmUseVersion;
33802 rm -f conftest.
$ac_objext conftest
$ac_exeext
33803 if { (ac_try
="$ac_link"
33804 case "(($ac_try" in
33805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33806 *) ac_try_echo=$ac_try;;
33808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33809 (eval "$ac_link") 2>conftest.er1
33811 grep -v '^ *+' conftest.er1 >conftest.err
33813 cat conftest.err >&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); } &&
33816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33817 { (case "(($ac_try" in
33818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33819 *) ac_try_echo
=$ac_try;;
33821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33822 (eval "$ac_try") 2>&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); }; } &&
33826 { ac_try
='test -s conftest$ac_exeext'
33827 { (case "(($ac_try" in
33828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33829 *) ac_try_echo=$ac_try;;
33831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33832 (eval "$ac_try") 2>&5
33834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33835 (exit $ac_status); }; }; then
33837 { echo "$as_me:$LINENO: result: found in default search path" >&5
33838 echo "${ECHO_T}found in default search path" >&6; }
33839 COMPILED_X_PROGRAM=1
33842 echo "$as_me: failed program was:" >&5
33843 sed 's/^/| /' conftest.$ac_ext >&5
33846 { echo "$as_me:$LINENO: result: no" >&5
33847 echo "${ECHO_T}no" >&6; }
33848 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33849 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33850 { (exit 1); exit 1; }; }
33855 rm -f core conftest.err conftest.$ac_objext \
33856 conftest$ac_exeext conftest.$ac_ext
33858 CFLAGS=$save_CFLAGS
33862 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33863 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33867 for libp in "" " -lXp"; do
33868 if test "$libs_found" = "0"; then
33869 for libsm_ice in "" " -lSM -lICE"; do
33870 if test "$libs_found" = "0"; then
33872 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33873 save_CFLAGS=$CFLAGS
33874 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33876 cat >conftest.$ac_ext <<_ACEOF
33879 cat confdefs.h >>conftest.$ac_ext
33880 cat >>conftest.$ac_ext <<_ACEOF
33881 /* end confdefs.h. */
33884 #include <Xm/List.h>
33890 XmString string = NULL;
33893 XmListAddItem(w, string, position);
33899 rm -f conftest.$ac_objext conftest$ac_exeext
33900 if { (ac_try="$ac_link"
33901 case "(($ac_try" in
33902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33903 *) ac_try_echo
=$ac_try;;
33905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33906 (eval "$ac_link") 2>conftest.er1
33908 grep -v '^ *+' conftest.er1
>conftest.err
33910 cat conftest.err
>&5
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); } &&
33913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33914 { (case "(($ac_try" in
33915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33916 *) ac_try_echo=$ac_try;;
33918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33919 (eval "$ac_try") 2>&5
33921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33922 (exit $ac_status); }; } &&
33923 { ac_try='test -s conftest$ac_exeext'
33924 { (case "(($ac_try" in
33925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33926 *) ac_try_echo
=$ac_try;;
33928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33929 (eval "$ac_try") 2>&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); }; }; then
33935 libsm_ice_link
="$libsm_ice"
33936 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33937 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33941 echo "$as_me: failed program was:" >&5
33942 sed 's/^/| /' conftest.
$ac_ext >&5
33948 rm -f core conftest.err conftest.
$ac_objext \
33949 conftest
$ac_exeext conftest.
$ac_ext
33952 CFLAGS
=$save_CFLAGS
33958 if test "$libs_found" = "0"; then
33959 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33960 echo "${ECHO_T}can't find the right libraries" >&6; }
33961 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33962 echo "$as_me: error: can't link a simple motif program" >&2;}
33963 { (exit 1); exit 1; }; }
33966 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33967 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33968 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33969 echo $ECHO_N "(cached) $ECHO_C" >&6
33971 ac_check_lib_save_LIBS
=$LIBS
33973 cat >conftest.
$ac_ext <<_ACEOF
33976 cat confdefs.h
>>conftest.
$ac_ext
33977 cat >>conftest.
$ac_ext <<_ACEOF
33978 /* end confdefs.h. */
33980 /* Override any GCC internal prototype to avoid an error.
33981 Use char because int might match the return type of a GCC
33982 builtin and then its argument prototype would still apply. */
33986 char SgCreateList ();
33990 return SgCreateList ();
33995 rm -f conftest.
$ac_objext conftest
$ac_exeext
33996 if { (ac_try
="$ac_link"
33997 case "(($ac_try" in
33998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33999 *) ac_try_echo=$ac_try;;
34001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34002 (eval "$ac_link") 2>conftest.er1
34004 grep -v '^ *+' conftest.er1 >conftest.err
34006 cat conftest.err >&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); } &&
34009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34010 { (case "(($ac_try" in
34011 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34012 *) ac_try_echo
=$ac_try;;
34014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34015 (eval "$ac_try") 2>&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); }; } &&
34019 { ac_try
='test -s conftest$ac_exeext'
34020 { (case "(($ac_try" in
34021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34022 *) ac_try_echo=$ac_try;;
34024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34025 (eval "$ac_try") 2>&5
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); }; }; then
34029 ac_cv_lib_Sgm_SgCreateList=yes
34031 echo "$as_me: failed program was:" >&5
34032 sed 's/^/| /' conftest.$ac_ext >&5
34034 ac_cv_lib_Sgm_SgCreateList=no
34037 rm -f core conftest.err conftest.$ac_objext \
34038 conftest$ac_exeext conftest.$ac_ext
34039 LIBS=$ac_check_lib_save_LIBS
34041 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34042 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34043 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34044 libsgm_link=" -lSgm"
34048 save_CFLAGS=$CFLAGS
34049 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34051 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34052 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34053 if test "${wx_cv_lib_motif2+set}" = set; then
34054 echo $ECHO_N "(cached) $ECHO_C" >&6
34056 cat >conftest.$ac_ext <<_ACEOF
34059 cat confdefs.h >>conftest.$ac_ext
34060 cat >>conftest.$ac_ext <<_ACEOF
34061 /* end confdefs.h. */
34069 #if XmVersion < 2000
34077 rm -f conftest.$ac_objext
34078 if { (ac_try="$ac_compile"
34079 case "(($ac_try" in
34080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34081 *) ac_try_echo
=$ac_try;;
34083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34084 (eval "$ac_compile") 2>conftest.er1
34086 grep -v '^ *+' conftest.er1
>conftest.err
34088 cat conftest.err
>&5
34089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090 (exit $ac_status); } &&
34091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34092 { (case "(($ac_try" in
34093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34094 *) ac_try_echo=$ac_try;;
34096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34097 (eval "$ac_try") 2>&5
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); }; } &&
34101 { ac_try='test -s conftest.$ac_objext'
34102 { (case "(($ac_try" in
34103 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34104 *) ac_try_echo
=$ac_try;;
34106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34107 (eval "$ac_try") 2>&5
34109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110 (exit $ac_status); }; }; then
34111 wx_cv_lib_motif2
="yes"
34113 echo "$as_me: failed program was:" >&5
34114 sed 's/^/| /' conftest.
$ac_ext >&5
34116 wx_cv_lib_motif2
="no"
34119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34121 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34122 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34123 if test "$wx_cv_lib_motif2" = "yes"; then
34124 cat >>confdefs.h
<<\_ACEOF
34125 #define __WXMOTIF20__ 1
34129 cat >>confdefs.h
<<\_ACEOF
34130 #define __WXMOTIF20__ 0
34135 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34136 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34137 if test "${wx_cv_lib_lesstif+set}" = set; then
34138 echo $ECHO_N "(cached) $ECHO_C" >&6
34140 cat >conftest.
$ac_ext <<_ACEOF
34143 cat confdefs.h
>>conftest.
$ac_ext
34144 cat >>conftest.
$ac_ext <<_ACEOF
34145 /* end confdefs.h. */
34153 #if !defined(LesstifVersion) || LesstifVersion <= 0
34161 rm -f conftest.
$ac_objext
34162 if { (ac_try
="$ac_compile"
34163 case "(($ac_try" in
34164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34165 *) ac_try_echo=$ac_try;;
34167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34168 (eval "$ac_compile") 2>conftest.er1
34170 grep -v '^ *+' conftest.er1 >conftest.err
34172 cat conftest.err >&5
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); } &&
34175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34176 { (case "(($ac_try" in
34177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34178 *) ac_try_echo
=$ac_try;;
34180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34181 (eval "$ac_try") 2>&5
34183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34184 (exit $ac_status); }; } &&
34185 { ac_try
='test -s conftest.$ac_objext'
34186 { (case "(($ac_try" in
34187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34188 *) ac_try_echo=$ac_try;;
34190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34191 (eval "$ac_try") 2>&5
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); }; }; then
34195 wx_cv_lib_lesstif="yes"
34197 echo "$as_me: failed program was:" >&5
34198 sed 's/^/| /' conftest.$ac_ext >&5
34200 wx_cv_lib_lesstif="no"
34203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34206 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34207 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34208 if test "$wx_cv_lib_lesstif" = "yes"; then
34209 cat >>confdefs.h <<\_ACEOF
34210 #define __WXLESSTIF__ 1
34214 cat >>confdefs.h <<\_ACEOF
34215 #define __WXLESSTIF__ 0
34220 CFLAGS=$save_CFLAGS
34222 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34227 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34228 if test "$wxUSE_LIBXPM" = "sys"; then
34229 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34230 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34233 for ac_dir in $SEARCH_LIB;
34235 for ac_extension in a so sl dylib dll.a; do
34236 if test -f "$ac_dir/libXpm.$ac_extension"; then
34237 ac_find_libraries=$ac_dir
34243 if test "$ac_find_libraries" != "" ; then
34245 if test "$ac_find_libraries" = "default location"; then
34248 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34250 if test $result = 0; then
34253 ac_path_to_link=" -L$ac_find_libraries"
34257 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34258 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34259 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34261 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34262 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34263 if test "${wx_cv_x11_xpm_h+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34267 save_CFLAGS=$CFLAGS
34268 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34270 cat >conftest.$ac_ext <<_ACEOF
34273 cat confdefs.h >>conftest.$ac_ext
34274 cat >>conftest.$ac_ext <<_ACEOF
34275 /* end confdefs.h. */
34277 #include <X11/xpm.h>
34284 version = XpmLibraryVersion();
34290 rm -f conftest.$ac_objext
34291 if { (ac_try="$ac_compile"
34292 case "(($ac_try" in
34293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34294 *) ac_try_echo
=$ac_try;;
34296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34297 (eval "$ac_compile") 2>conftest.er1
34299 grep -v '^ *+' conftest.er1
>conftest.err
34301 cat conftest.err
>&5
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); } &&
34304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34305 { (case "(($ac_try" in
34306 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34307 *) ac_try_echo=$ac_try;;
34309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34310 (eval "$ac_try") 2>&5
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); }; } &&
34314 { ac_try='test -s conftest.$ac_objext'
34315 { (case "(($ac_try" in
34316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34317 *) ac_try_echo
=$ac_try;;
34319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34320 (eval "$ac_try") 2>&5
34322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323 (exit $ac_status); }; }; then
34324 wx_cv_x11_xpm_h
=yes
34326 echo "$as_me: failed program was:" >&5
34327 sed 's/^/| /' conftest.
$ac_ext >&5
34333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34335 CFLAGS
=$save_CFLAGS
34339 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34340 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34342 if test $wx_cv_x11_xpm_h = "yes"; then
34343 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34344 cat >>confdefs.h
<<\_ACEOF
34345 #define wxHAVE_LIB_XPM 1
34349 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34350 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34356 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34357 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34358 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34359 echo $ECHO_N "(cached) $ECHO_C" >&6
34361 ac_check_lib_save_LIBS
=$LIBS
34362 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34363 cat >conftest.
$ac_ext <<_ACEOF
34366 cat confdefs.h
>>conftest.
$ac_ext
34367 cat >>conftest.
$ac_ext <<_ACEOF
34368 /* end confdefs.h. */
34370 /* Override any GCC internal prototype to avoid an error.
34371 Use char because int might match the return type of a GCC
34372 builtin and then its argument prototype would still apply. */
34376 char XShapeQueryExtension ();
34380 return XShapeQueryExtension ();
34385 rm -f conftest.
$ac_objext conftest
$ac_exeext
34386 if { (ac_try
="$ac_link"
34387 case "(($ac_try" in
34388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34389 *) ac_try_echo=$ac_try;;
34391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34392 (eval "$ac_link") 2>conftest.er1
34394 grep -v '^ *+' conftest.er1 >conftest.err
34396 cat conftest.err >&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } &&
34399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34400 { (case "(($ac_try" in
34401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34402 *) ac_try_echo
=$ac_try;;
34404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34405 (eval "$ac_try") 2>&5
34407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34408 (exit $ac_status); }; } &&
34409 { ac_try
='test -s conftest$ac_exeext'
34410 { (case "(($ac_try" in
34411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34412 *) ac_try_echo=$ac_try;;
34414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34415 (eval "$ac_try") 2>&5
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); }; }; then
34419 ac_cv_lib_Xext_XShapeQueryExtension=yes
34421 echo "$as_me: failed program was:" >&5
34422 sed 's/^/| /' conftest.$ac_ext >&5
34424 ac_cv_lib_Xext_XShapeQueryExtension=no
34427 rm -f core conftest.err conftest.$ac_objext \
34428 conftest$ac_exeext conftest.$ac_ext
34429 LIBS=$ac_check_lib_save_LIBS
34431 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34432 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34433 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34435 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34441 if test "$wxHAVE_XEXT_LIB" = 1; then
34442 save_CFLAGS="$CFLAGS"
34443 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34445 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34446 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34447 cat >conftest.$ac_ext <<_ACEOF
34450 cat confdefs.h >>conftest.$ac_ext
34451 cat >>conftest.$ac_ext <<_ACEOF
34452 /* end confdefs.h. */
34454 #include <X11/Xlib.h>
34455 #include <X11/extensions/shape.h>
34461 int dummy1, dummy2;
34462 XShapeQueryExtension((Display*)NULL,
34463 (int*)NULL, (int*)NULL);
34469 rm -f conftest.$ac_objext
34470 if { (ac_try="$ac_compile"
34471 case "(($ac_try" in
34472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34473 *) ac_try_echo
=$ac_try;;
34475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34476 (eval "$ac_compile") 2>conftest.er1
34478 grep -v '^ *+' conftest.er1
>conftest.err
34480 cat conftest.err
>&5
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); } &&
34483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34484 { (case "(($ac_try" in
34485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34486 *) ac_try_echo=$ac_try;;
34488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34489 (eval "$ac_try") 2>&5
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); }; } &&
34493 { ac_try='test -s conftest.$ac_objext'
34494 { (case "(($ac_try" in
34495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34496 *) ac_try_echo
=$ac_try;;
34498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34499 (eval "$ac_try") 2>&5
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); }; }; then
34504 cat >>confdefs.h
<<\_ACEOF
34505 #define HAVE_XSHAPE 1
34508 { echo "$as_me:$LINENO: result: found" >&5
34509 echo "${ECHO_T}found" >&6; }
34512 echo "$as_me: failed program was:" >&5
34513 sed 's/^/| /' conftest.
$ac_ext >&5
34516 { echo "$as_me:$LINENO: result: not found" >&5
34517 echo "${ECHO_T}not found" >&6; }
34521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34522 CFLAGS
="$save_CFLAGS"
34527 if test "$wxUSE_MAC" = 1; then
34528 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34529 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34530 if test "$GCC" = yes; then
34531 { echo "$as_me:$LINENO: result: gcc" >&5
34532 echo "${ECHO_T}gcc" >&6; }
34533 CPPFLAGS_PASCAL
="-fpascal-strings"
34534 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34535 { echo "$as_me:$LINENO: result: xlc" >&5
34536 echo "${ECHO_T}xlc" >&6; }
34537 CPPFLAGS_PASCAL
="-qmacpstr"
34539 { echo "$as_me:$LINENO: result: none" >&5
34540 echo "${ECHO_T}none" >&6; }
34543 if test "x$wxUSE_UNIX" = "xyes"; then
34544 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34546 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34551 WXBASEPORT
="_carbon"
34554 if test "$wxUSE_COCOA" = 1; then
34559 if test "$wxUSE_PM" = 1; then
34562 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34563 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34564 if test "${wx_cv_spbcdata+set}" = set; then
34565 echo $ECHO_N "(cached) $ECHO_C" >&6
34568 cat >conftest.
$ac_ext <<_ACEOF
34571 cat confdefs.h
>>conftest.
$ac_ext
34572 cat >>conftest.
$ac_ext <<_ACEOF
34573 /* end confdefs.h. */
34588 rm -f conftest.
$ac_objext
34589 if { (ac_try
="$ac_compile"
34590 case "(($ac_try" in
34591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34592 *) ac_try_echo=$ac_try;;
34594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34595 (eval "$ac_compile") 2>conftest.er1
34597 grep -v '^ *+' conftest.er1 >conftest.err
34599 cat conftest.err >&5
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); } &&
34602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34603 { (case "(($ac_try" in
34604 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34605 *) ac_try_echo
=$ac_try;;
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_try") 2>&5
34610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34611 (exit $ac_status); }; } &&
34612 { ac_try
='test -s conftest.$ac_objext'
34613 { (case "(($ac_try" in
34614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34615 *) ac_try_echo=$ac_try;;
34617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34618 (eval "$ac_try") 2>&5
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); }; }; then
34624 echo "$as_me: failed program was:" >&5
34625 sed 's/^/| /' conftest.$ac_ext >&5
34631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34635 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34636 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34638 if test $wx_cv_spbcdata = "yes"; then
34639 cat >>confdefs.h <<\_ACEOF
34640 #define HAVE_SPBCDATA 1
34646 if test "$TOOLKIT" = "PM" ; then
34649 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34652 if test "$wxUSE_UNIVERSAL" = "yes"; then
34653 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34657 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34658 DISTDIR="wx\$(TOOLKIT)"
34664 if test "$USE_WIN32" = 1 ; then
34668 GUIDIST="BASE_DIST"
34673 if test "$wxUSE_GUI" = "yes"; then
34674 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34675 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34676 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34677 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34678 echo $ECHO_N "(cached) $ECHO_C" >&6
34680 cat >conftest.$ac_ext <<_ACEOF
34683 cat confdefs.h >>conftest.$ac_ext
34684 cat >>conftest.$ac_ext <<_ACEOF
34685 /* end confdefs.h. */
34688 #include <X11/Xlib.h>
34690 rm -f conftest.$ac_objext
34691 if { (ac_try="$ac_compile"
34692 case "(($ac_try" in
34693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34694 *) ac_try_echo
=$ac_try;;
34696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34697 (eval "$ac_compile") 2>conftest.er1
34699 grep -v '^ *+' conftest.er1
>conftest.err
34701 cat conftest.err
>&5
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); } &&
34704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34705 { (case "(($ac_try" in
34706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34707 *) ac_try_echo=$ac_try;;
34709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34710 (eval "$ac_try") 2>&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; } &&
34714 { ac_try='test -s conftest.$ac_objext'
34715 { (case "(($ac_try" in
34716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34717 *) ac_try_echo
=$ac_try;;
34719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34720 (eval "$ac_try") 2>&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); }; }; then
34724 ac_cv_header_X11_Xlib_h
=yes
34726 echo "$as_me: failed program was:" >&5
34727 sed 's/^/| /' conftest.
$ac_ext >&5
34729 ac_cv_header_X11_Xlib_h
=no
34732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34734 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34735 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34738 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34739 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34740 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34741 echo $ECHO_N "(cached) $ECHO_C" >&6
34743 cat >conftest.
$ac_ext <<_ACEOF
34746 cat confdefs.h
>>conftest.
$ac_ext
34747 cat >>conftest.
$ac_ext <<_ACEOF
34748 /* end confdefs.h. */
34750 #if HAVE_X11_XLIB_H
34751 #include <X11/Xlib.h>
34755 #include <X11/XKBlib.h>
34757 rm -f conftest.
$ac_objext
34758 if { (ac_try
="$ac_compile"
34759 case "(($ac_try" in
34760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34761 *) ac_try_echo=$ac_try;;
34763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34764 (eval "$ac_compile") 2>conftest.er1
34766 grep -v '^ *+' conftest.er1 >conftest.err
34768 cat conftest.err >&5
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); } &&
34771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34772 { (case "(($ac_try" in
34773 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34774 *) ac_try_echo
=$ac_try;;
34776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34777 (eval "$ac_try") 2>&5
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); }; } &&
34781 { ac_try
='test -s conftest.$ac_objext'
34782 { (case "(($ac_try" in
34783 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34784 *) ac_try_echo=$ac_try;;
34786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34787 (eval "$ac_try") 2>&5
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); }; }; then
34791 ac_cv_header_X11_XKBlib_h=yes
34793 echo "$as_me: failed program was:" >&5
34794 sed 's/^/| /' conftest.$ac_ext >&5
34796 ac_cv_header_X11_XKBlib_h=no
34799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34801 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34802 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34813 if test "$TOOLKIT" != "MSW" ; then
34815 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34817 { echo "$as_me:$LINENO: checking for sql.h" >&5
34818 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34819 if test "${ac_cv_header_sql_h+set}" = set; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34822 cat >conftest.$ac_ext <<_ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34832 rm -f conftest.$ac_objext
34833 if { (ac_try="$ac_compile"
34834 case "(($ac_try" in
34835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34836 *) ac_try_echo
=$ac_try;;
34838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34839 (eval "$ac_compile") 2>conftest.er1
34841 grep -v '^ *+' conftest.er1
>conftest.err
34843 cat conftest.err
>&5
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); } &&
34846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34847 { (case "(($ac_try" in
34848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34849 *) ac_try_echo=$ac_try;;
34851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34852 (eval "$ac_try") 2>&5
34854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855 (exit $ac_status); }; } &&
34856 { ac_try='test -s conftest.$ac_objext'
34857 { (case "(($ac_try" in
34858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34859 *) ac_try_echo
=$ac_try;;
34861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34862 (eval "$ac_try") 2>&5
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); }; }; then
34866 ac_cv_header_sql_h
=yes
34868 echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.
$ac_ext >&5
34871 ac_cv_header_sql_h
=no
34874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34876 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34877 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34878 if test $ac_cv_header_sql_h = yes; then
34883 if test "x$found_sql_h" = "x1" ; then
34884 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34885 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34886 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34887 echo $ECHO_N "(cached) $ECHO_C" >&6
34889 ac_check_lib_save_LIBS
=$LIBS
34890 LIBS
="-liodbc $LIBS"
34891 cat >conftest.
$ac_ext <<_ACEOF
34894 cat confdefs.h
>>conftest.
$ac_ext
34895 cat >>conftest.
$ac_ext <<_ACEOF
34896 /* end confdefs.h. */
34898 /* Override any GCC internal prototype to avoid an error.
34899 Use char because int might match the return type of a GCC
34900 builtin and then its argument prototype would still apply. */
34904 char SQLAllocEnv ();
34908 return SQLAllocEnv ();
34913 rm -f conftest.
$ac_objext conftest
$ac_exeext
34914 if { (ac_try
="$ac_link"
34915 case "(($ac_try" in
34916 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34917 *) ac_try_echo=$ac_try;;
34919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34920 (eval "$ac_link") 2>conftest.er1
34922 grep -v '^ *+' conftest.er1 >conftest.err
34924 cat conftest.err >&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); } &&
34927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34928 { (case "(($ac_try" in
34929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34930 *) ac_try_echo
=$ac_try;;
34932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34933 (eval "$ac_try") 2>&5
34935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936 (exit $ac_status); }; } &&
34937 { ac_try
='test -s conftest$ac_exeext'
34938 { (case "(($ac_try" in
34939 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34940 *) ac_try_echo=$ac_try;;
34942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34943 (eval "$ac_try") 2>&5
34945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946 (exit $ac_status); }; }; then
34947 ac_cv_lib_iodbc_SQLAllocEnv=yes
34949 echo "$as_me: failed program was:" >&5
34950 sed 's/^/| /' conftest.$ac_ext >&5
34952 ac_cv_lib_iodbc_SQLAllocEnv=no
34955 rm -f core conftest.err conftest.$ac_objext \
34956 conftest$ac_exeext conftest.$ac_ext
34957 LIBS=$ac_check_lib_save_LIBS
34959 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34960 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34961 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34962 ODBC_LINK=" -liodbc"
34965 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34966 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34967 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34968 echo $ECHO_N "(cached) $ECHO_C" >&6
34970 ac_check_lib_save_LIBS=$LIBS
34971 LIBS="-lunixodbc $LIBS"
34972 cat >conftest.$ac_ext <<_ACEOF
34975 cat confdefs.h >>conftest.$ac_ext
34976 cat >>conftest.$ac_ext <<_ACEOF
34977 /* end confdefs.h. */
34979 /* Override any GCC internal prototype to avoid an error.
34980 Use char because int might match the return type of a GCC
34981 builtin and then its argument prototype would still apply. */
34985 char SQLAllocEnv ();
34989 return SQLAllocEnv ();
34994 rm -f conftest.$ac_objext conftest$ac_exeext
34995 if { (ac_try="$ac_link"
34996 case "(($ac_try" in
34997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34998 *) ac_try_echo
=$ac_try;;
35000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35001 (eval "$ac_link") 2>conftest.er1
35003 grep -v '^ *+' conftest.er1
>conftest.err
35005 cat conftest.err
>&5
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); } &&
35008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35009 { (case "(($ac_try" in
35010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35011 *) ac_try_echo=$ac_try;;
35013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35014 (eval "$ac_try") 2>&5
35016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017 (exit $ac_status); }; } &&
35018 { ac_try='test -s conftest$ac_exeext'
35019 { (case "(($ac_try" in
35020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35021 *) ac_try_echo
=$ac_try;;
35023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35024 (eval "$ac_try") 2>&5
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); }; }; then
35028 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.
$ac_ext >&5
35033 ac_cv_lib_unixodbc_SQLAllocEnv
=no
35036 rm -f core conftest.err conftest.
$ac_objext \
35037 conftest
$ac_exeext conftest.
$ac_ext
35038 LIBS
=$ac_check_lib_save_LIBS
35040 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35041 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35042 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35043 ODBC_LINK
=" -lunixodbc"
35046 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35047 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35048 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35049 echo $ECHO_N "(cached) $ECHO_C" >&6
35051 ac_check_lib_save_LIBS
=$LIBS
35052 LIBS
="-lodbc $LIBS"
35053 cat >conftest.
$ac_ext <<_ACEOF
35056 cat confdefs.h
>>conftest.
$ac_ext
35057 cat >>conftest.
$ac_ext <<_ACEOF
35058 /* end confdefs.h. */
35060 /* Override any GCC internal prototype to avoid an error.
35061 Use char because int might match the return type of a GCC
35062 builtin and then its argument prototype would still apply. */
35066 char SQLAllocEnv ();
35070 return SQLAllocEnv ();
35075 rm -f conftest.
$ac_objext conftest
$ac_exeext
35076 if { (ac_try
="$ac_link"
35077 case "(($ac_try" in
35078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35079 *) ac_try_echo=$ac_try;;
35081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35082 (eval "$ac_link") 2>conftest.er1
35084 grep -v '^ *+' conftest.er1 >conftest.err
35086 cat conftest.err >&5
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); } &&
35089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35090 { (case "(($ac_try" in
35091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35092 *) ac_try_echo
=$ac_try;;
35094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35095 (eval "$ac_try") 2>&5
35097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35098 (exit $ac_status); }; } &&
35099 { ac_try
='test -s conftest$ac_exeext'
35100 { (case "(($ac_try" in
35101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35102 *) ac_try_echo=$ac_try;;
35104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35105 (eval "$ac_try") 2>&5
35107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35108 (exit $ac_status); }; }; then
35109 ac_cv_lib_odbc_SQLAllocEnv=yes
35111 echo "$as_me: failed program was:" >&5
35112 sed 's/^/| /' conftest.$ac_ext >&5
35114 ac_cv_lib_odbc_SQLAllocEnv=no
35117 rm -f core conftest.err conftest.$ac_objext \
35118 conftest$ac_exeext conftest.$ac_ext
35119 LIBS=$ac_check_lib_save_LIBS
35121 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35122 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35123 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35124 ODBC_LINK=" -lodbc"
35134 if test "x$ODBC_LINK" = "x" ; then
35135 if test "$wxUSE_ODBC" = "sys" ; then
35136 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35137 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35138 { (exit 1); exit 1; }; }
35140 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35141 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35149 if test "$wxUSE_ODBC" = "builtin" ; then
35150 cat >>confdefs.h <<\_ACEOF
35151 #define wxUSE_BUILTIN_IODBC 1
35157 if test "$wxUSE_ODBC" != "no" ; then
35158 cat >>confdefs.h <<\_ACEOF
35159 #define wxUSE_ODBC 1
35162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35164 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35168 if test "$wxUSE_DISPLAY" = "yes"; then
35169 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35170 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35171 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35174 for ac_dir in $SEARCH_LIB;
35176 for ac_extension in a so sl dylib dll.a; do
35177 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35178 ac_find_libraries=$ac_dir
35184 if test "$ac_find_libraries" != "" ; then
35186 if test "$ac_find_libraries" = "default location"; then
35189 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35191 if test $result = 0; then
35194 ac_path_to_link=" -L$ac_find_libraries"
35198 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35199 LDFLAGS="$LDFLAGS $ac_path_to_link"
35201 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35202 { echo "$as_me:$LINENO: result: yes" >&5
35203 echo "${ECHO_T}yes" >&6; }
35205 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35206 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35209 for ac_dir in $SEARCH_LIB;
35211 for ac_extension in a so sl dylib dll.a; do
35212 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35213 ac_find_libraries=$ac_dir
35219 if test "$ac_find_libraries" != "" ; then
35220 { echo "$as_me:$LINENO: result: yes" >&5
35221 echo "${ECHO_T}yes" >&6; }
35222 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35223 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35224 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35225 echo $ECHO_N "(cached) $ECHO_C" >&6
35227 cat >conftest.$ac_ext <<_ACEOF
35230 cat confdefs.h >>conftest.$ac_ext
35231 cat >>conftest.$ac_ext <<_ACEOF
35232 /* end confdefs.h. */
35234 #if HAVE_X11_XLIB_H
35235 #include <X11/Xlib.h>
35239 #include <X11/extensions/xf86vmode.h>
35241 rm -f conftest.$ac_objext
35242 if { (ac_try="$ac_compile"
35243 case "(($ac_try" in
35244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35245 *) ac_try_echo
=$ac_try;;
35247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35248 (eval "$ac_compile") 2>conftest.er1
35250 grep -v '^ *+' conftest.er1
>conftest.err
35252 cat conftest.err
>&5
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); } &&
35255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35256 { (case "(($ac_try" in
35257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35258 *) ac_try_echo=$ac_try;;
35260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35261 (eval "$ac_try") 2>&5
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); }; } &&
35265 { ac_try='test -s conftest.$ac_objext'
35266 { (case "(($ac_try" in
35267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35268 *) ac_try_echo
=$ac_try;;
35270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35271 (eval "$ac_try") 2>&5
35273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35274 (exit $ac_status); }; }; then
35275 ac_cv_header_X11_extensions_xf86vmode_h
=yes
35277 echo "$as_me: failed program was:" >&5
35278 sed 's/^/| /' conftest.
$ac_ext >&5
35280 ac_cv_header_X11_extensions_xf86vmode_h
=no
35283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35285 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35286 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35287 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35289 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35295 { echo "$as_me:$LINENO: result: no" >&5
35296 echo "${ECHO_T}no" >&6; }
35300 { echo "$as_me:$LINENO: result: no" >&5
35301 echo "${ECHO_T}no" >&6; }
35302 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35303 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35306 elif test "$wxUSE_MSW" = 1; then
35307 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35308 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35309 if test "${ac_cv_header_ddraw_h+set}" = set; then
35310 echo $ECHO_N "(cached) $ECHO_C" >&6
35312 cat >conftest.
$ac_ext <<_ACEOF
35315 cat confdefs.h
>>conftest.
$ac_ext
35316 cat >>conftest.
$ac_ext <<_ACEOF
35317 /* end confdefs.h. */
35318 #include <windows.h>
35322 rm -f conftest.
$ac_objext
35323 if { (ac_try
="$ac_compile"
35324 case "(($ac_try" in
35325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35326 *) ac_try_echo=$ac_try;;
35328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35329 (eval "$ac_compile") 2>conftest.er1
35331 grep -v '^ *+' conftest.er1 >conftest.err
35333 cat conftest.err >&5
35334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335 (exit $ac_status); } &&
35336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35337 { (case "(($ac_try" in
35338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35339 *) ac_try_echo
=$ac_try;;
35341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35342 (eval "$ac_try") 2>&5
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); }; } &&
35346 { ac_try
='test -s conftest.$ac_objext'
35347 { (case "(($ac_try" in
35348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35349 *) ac_try_echo=$ac_try;;
35351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35352 (eval "$ac_try") 2>&5
35354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35355 (exit $ac_status); }; }; then
35356 ac_cv_header_ddraw_h=yes
35358 echo "$as_me: failed program was:" >&5
35359 sed 's/^/| /' conftest.$ac_ext >&5
35361 ac_cv_header_ddraw_h=no
35364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35366 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35367 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35373 if test "$wxUSE_DETECT_SM" = "yes"; then
35374 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35375 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35376 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35379 for ac_dir in $SEARCH_LIB;
35381 for ac_extension in a so sl dylib dll.a; do
35382 if test -f "$ac_dir/libSM.$ac_extension"; then
35383 ac_find_libraries=$ac_dir
35389 if test "$ac_find_libraries" != "" ; then
35391 if test "$ac_find_libraries" = "default location"; then
35394 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35396 if test $result = 0; then
35399 ac_path_to_link=" -L$ac_find_libraries"
35403 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35404 LDFLAGS="$LDFLAGS $ac_path_to_link"
35406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35407 { echo "$as_me:$LINENO: result: yes" >&5
35408 echo "${ECHO_T}yes" >&6; }
35410 { echo "$as_me:$LINENO: result: no" >&5
35411 echo "${ECHO_T}no" >&6; }
35412 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35413 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35414 wxUSE_DETECT_SM="no"
35417 wxUSE_DETECT_SM="no"
35424 if test "$wxUSE_OPENGL" = "yes"; then
35425 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35426 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35427 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35429 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35430 OPENGL_LIBS="-framework OpenGL -framework AGL"
35431 elif test "$wxUSE_MSW" = 1; then
35432 OPENGL_LIBS="-lopengl32 -lglu32"
35434 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35435 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35438 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35440 if test -f "$ac_dir/GL/gl.h"; then
35441 ac_find_includes=$ac_dir
35446 if test "$ac_find_includes" != "" ; then
35447 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35448 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35450 if test "x$ac_find_includes" = "x/usr/include"; then
35451 ac_path_to_include=""
35453 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35455 if test $result = 0; then
35456 ac_path_to_include=""
35458 ac_path_to_include=" -I$ac_find_includes"
35462 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35464 { echo "$as_me:$LINENO: result: not found" >&5
35465 echo "${ECHO_T}not found" >&6; }
35468 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35469 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35470 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35471 echo $ECHO_N "(cached) $ECHO_C" >&6
35473 cat >conftest.$ac_ext <<_ACEOF
35476 cat confdefs.h >>conftest.$ac_ext
35477 cat >>conftest.$ac_ext <<_ACEOF
35478 /* end confdefs.h. */
35483 rm -f conftest.$ac_objext
35484 if { (ac_try="$ac_compile"
35485 case "(($ac_try" in
35486 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35487 *) ac_try_echo
=$ac_try;;
35489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35490 (eval "$ac_compile") 2>conftest.er1
35492 grep -v '^ *+' conftest.er1
>conftest.err
35494 cat conftest.err
>&5
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); } &&
35497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35498 { (case "(($ac_try" in
35499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35500 *) ac_try_echo=$ac_try;;
35502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35503 (eval "$ac_try") 2>&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); }; } &&
35507 { ac_try='test -s conftest.$ac_objext'
35508 { (case "(($ac_try" in
35509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35510 *) ac_try_echo
=$ac_try;;
35512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35513 (eval "$ac_try") 2>&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); }; }; then
35517 ac_cv_header_GL_gl_h
=yes
35519 echo "$as_me: failed program was:" >&5
35520 sed 's/^/| /' conftest.
$ac_ext >&5
35522 ac_cv_header_GL_gl_h
=no
35525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35527 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35528 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35529 if test $ac_cv_header_GL_gl_h = yes; then
35531 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35532 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35533 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35534 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35535 echo $ECHO_N "(cached) $ECHO_C" >&6
35537 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35538 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35540 # Is the header compilable?
35541 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35542 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35543 cat >conftest.
$ac_ext <<_ACEOF
35546 cat confdefs.h
>>conftest.
$ac_ext
35547 cat >>conftest.
$ac_ext <<_ACEOF
35548 /* end confdefs.h. */
35549 $ac_includes_default
35550 #include <GL/glu.h>
35552 rm -f conftest.
$ac_objext
35553 if { (ac_try
="$ac_compile"
35554 case "(($ac_try" in
35555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35556 *) ac_try_echo=$ac_try;;
35558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35559 (eval "$ac_compile") 2>conftest.er1
35561 grep -v '^ *+' conftest.er1 >conftest.err
35563 cat conftest.err >&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); } &&
35566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35567 { (case "(($ac_try" in
35568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35569 *) ac_try_echo
=$ac_try;;
35571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35572 (eval "$ac_try") 2>&5
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); }; } &&
35576 { ac_try
='test -s conftest.$ac_objext'
35577 { (case "(($ac_try" in
35578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35579 *) ac_try_echo=$ac_try;;
35581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35582 (eval "$ac_try") 2>&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); }; }; then
35586 ac_header_compiler=yes
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.$ac_ext >&5
35591 ac_header_compiler=no
35594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35595 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35596 echo "${ECHO_T}$ac_header_compiler" >&6; }
35598 # Is the header present?
35599 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35600 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35601 cat >conftest.$ac_ext <<_ACEOF
35604 cat confdefs.h >>conftest.$ac_ext
35605 cat >>conftest.$ac_ext <<_ACEOF
35606 /* end confdefs.h. */
35607 #include <GL/glu.h>
35609 if { (ac_try="$ac_cpp conftest.$ac_ext"
35610 case "(($ac_try" in
35611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35612 *) ac_try_echo
=$ac_try;;
35614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35617 grep -v '^ *+' conftest.er1
>conftest.err
35619 cat conftest.err
>&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); } >/dev
/null
; then
35622 if test -s conftest.err
; then
35623 ac_cpp_err
=$ac_c_preproc_warn_flag
35624 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35631 if test -z "$ac_cpp_err"; then
35632 ac_header_preproc
=yes
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.
$ac_ext >&5
35637 ac_header_preproc
=no
35640 rm -f conftest.err conftest.
$ac_ext
35641 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35642 echo "${ECHO_T}$ac_header_preproc" >&6; }
35644 # So? What about this header?
35645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35647 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35648 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35649 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35650 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35651 ac_header_preproc
=yes
35654 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35655 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35656 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35657 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35658 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35659 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35660 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35661 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35662 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35663 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35664 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35665 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35667 ## ----------------------------------------- ##
35668 ## Report this to wx-dev@lists.wxwidgets.org ##
35669 ## ----------------------------------------- ##
35671 ) | sed "s/^/$as_me: WARNING: /" >&2
35674 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35675 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35676 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35677 echo $ECHO_N "(cached) $ECHO_C" >&6
35679 ac_cv_header_GL_glu_h
=$ac_header_preproc
35681 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35682 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35685 if test $ac_cv_header_GL_glu_h = yes; then
35689 { echo "$as_me:$LINENO: checking for -lGL" >&5
35690 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35693 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
35695 for ac_extension
in a so sl dylib dll.a
; do
35696 if test -f "$ac_dir/libGL.$ac_extension"; then
35697 ac_find_libraries
=$ac_dir
35703 if test "$ac_find_libraries" != "" ; then
35704 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35705 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35708 if test "$ac_find_libraries" = "default location"; then
35711 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35713 if test $result = 0; then
35716 ac_path_to_link
=" -L$ac_find_libraries"
35720 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35721 LDFLAGS_GL
="$ac_path_to_link"
35724 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35725 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35728 for ac_dir
in $SEARCH_LIB;
35730 for ac_extension
in a so sl dylib dll.a
; do
35731 if test -f "$ac_dir/libGLU.$ac_extension"; then
35732 ac_find_libraries
=$ac_dir
35738 if test "$ac_find_libraries" != "" ; then
35740 if test "$ac_find_libraries" = "default location"; then
35743 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35745 if test $result = 0; then
35748 ac_path_to_link
=" -L$ac_find_libraries"
35752 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35753 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35754 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
35758 OPENGL_LIBS
="-lGL -lGLU"
35759 { echo "$as_me:$LINENO: result: yes" >&5
35760 echo "${ECHO_T}yes" >&6; }
35762 { echo "$as_me:$LINENO: result: no" >&5
35763 echo "${ECHO_T}no" >&6; }
35766 { echo "$as_me:$LINENO: result: no" >&5
35767 echo "${ECHO_T}no" >&6; }
35770 if test "$found_gl" != 1; then
35771 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35772 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35775 for ac_dir
in $SEARCH_LIB;
35777 for ac_extension
in a so sl dylib dll.a
; do
35778 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35779 ac_find_libraries
=$ac_dir
35785 if test "$ac_find_libraries" != "" ; then
35787 if test "$ac_find_libraries" = "default location"; then
35790 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35792 if test $result = 0; then
35795 ac_path_to_link
=" -L$ac_find_libraries"
35799 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
35800 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
35801 { echo "$as_me:$LINENO: result: yes" >&5
35802 echo "${ECHO_T}yes" >&6; }
35804 { echo "$as_me:$LINENO: result: no" >&5
35805 echo "${ECHO_T}no" >&6; }
35817 if test "x$OPENGL_LIBS" = "x"; then
35818 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35819 echo "$as_me: error: OpenGL libraries not available" >&2;}
35820 { (exit 1); exit 1; }; }
35824 if test "$wxUSE_OPENGL" = "yes"; then
35826 cat >>confdefs.h
<<\_ACEOF
35827 #define wxUSE_OPENGL 1
35830 cat >>confdefs.h
<<\_ACEOF
35831 #define wxUSE_GLCANVAS 1
35834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35839 if test -n "$TOOLKIT" ; then
35840 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35845 if test "$wxUSE_SHARED" = "yes"; then
35849 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35850 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35855 if test "$wxUSE_SHARED" = "yes"; then
35859 *-*-cygwin* | *-*-mingw* )
35860 wx_cv_version_script
=no
35864 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35865 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35866 if test "${wx_cv_version_script+set}" = set; then
35867 echo $ECHO_N "(cached) $ECHO_C" >&6
35870 echo "VER_1 { *; };" >conftest.sym
35871 echo "int main() { return 0; }" >conftest.cpp
35874 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35875 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35877 (eval $ac_try) 2>&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); }; } ; then
35881 if test -s conftest.stderr
; then
35882 wx_cv_version_script
=no
35884 wx_cv_version_script
=yes
35887 wx_cv_version_script
=no
35890 if test $wx_cv_version_script = yes
35892 echo "struct B { virtual ~B() { } }; \
35893 struct D : public B { }; \
35894 void F() { D d; }" > conftest.cpp
35897 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35898 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35900 (eval $ac_try) 2>&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); }; } &&
35905 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35906 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35908 (eval $ac_try) 2>&5
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); }; }
35914 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35915 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35917 (eval $ac_try) 2>&5
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); }; }
35922 wx_cv_version_script
=yes
35924 wx_cv_version_script
=no
35929 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35930 rm -f conftest1.output conftest2.output conftest3.output
35933 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35934 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35936 if test $wx_cv_version_script = yes ; then
35937 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35944 *-*-linux* | *-*-gnu* )
35945 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35946 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35950 if test "$GCC" = yes ; then
35951 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
35953 saveLdflags
="$LDFLAGS"
35954 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
35955 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35956 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35957 cat >conftest.
$ac_ext <<_ACEOF
35960 cat confdefs.h
>>conftest.
$ac_ext
35961 cat >>conftest.
$ac_ext <<_ACEOF
35962 /* end confdefs.h. */
35972 rm -f conftest.
$ac_objext conftest
$ac_exeext
35973 if { (ac_try
="$ac_link"
35974 case "(($ac_try" in
35975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35976 *) ac_try_echo=$ac_try;;
35978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35979 (eval "$ac_link") 2>conftest.er1
35981 grep -v '^ *+' conftest.er1 >conftest.err
35983 cat conftest.err >&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); } &&
35986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35987 { (case "(($ac_try" in
35988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35989 *) ac_try_echo
=$ac_try;;
35991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35992 (eval "$ac_try") 2>&5
35994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35995 (exit $ac_status); }; } &&
35996 { ac_try
='test -s conftest$ac_exeext'
35997 { (case "(($ac_try" in
35998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35999 *) ac_try_echo=$ac_try;;
36001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36002 (eval "$ac_try") 2>&5
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); }; }; then
36007 { echo "$as_me:$LINENO: result: yes" >&5
36008 echo "${ECHO_T}yes" >&6; }
36009 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36010 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36013 echo "$as_me: failed program was:" >&5
36014 sed 's/^/| /' conftest.$ac_ext >&5
36017 { echo "$as_me:$LINENO: result: no" >&5
36018 echo "${ECHO_T}no" >&6; }
36019 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36020 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36021 LDFLAGS="$saveLdflags -Wl,-R,/"
36022 cat >conftest.$ac_ext <<_ACEOF
36025 cat confdefs.h >>conftest.$ac_ext
36026 cat >>conftest.$ac_ext <<_ACEOF
36027 /* end confdefs.h. */
36037 rm -f conftest.$ac_objext conftest$ac_exeext
36038 if { (ac_try="$ac_link"
36039 case "(($ac_try" in
36040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36041 *) ac_try_echo
=$ac_try;;
36043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36044 (eval "$ac_link") 2>conftest.er1
36046 grep -v '^ *+' conftest.er1
>conftest.err
36048 cat conftest.err
>&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); } &&
36051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36052 { (case "(($ac_try" in
36053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36054 *) ac_try_echo=$ac_try;;
36056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36057 (eval "$ac_try") 2>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; } &&
36061 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36072 { echo "$as_me:$LINENO: result: yes" >&5
36073 echo "${ECHO_T}yes" >&6; }
36074 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
36075 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
36078 echo "$as_me: failed program was:" >&5
36079 sed 's/^/| /' conftest.
$ac_ext >&5
36082 { echo "$as_me:$LINENO: result: no" >&5
36083 echo "${ECHO_T}no" >&6; }
36087 rm -f core conftest.err conftest.
$ac_objext \
36088 conftest
$ac_exeext conftest.
$ac_ext
36092 rm -f core conftest.err conftest.
$ac_objext \
36093 conftest
$ac_exeext conftest.
$ac_ext
36094 LDFLAGS
="$saveLdflags"
36096 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
36097 WXCONFIG_RPATH
="-R\$libdir"
36102 install_name_tool
=`which install_name_tool`
36103 if test "$install_name_tool" -a -x "$install_name_tool"; then
36104 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36105 cat <<EOF >change-install-names
36107 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36108 inst_cmd="install_name_tool "
36109 for i in \${libnames} ; do
36110 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36114 chmod +x change
-install-names
36118 *-*-cygwin* | *-*-mingw32* )
36119 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36123 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
36124 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
36129 if test $wxUSE_RPATH = "no"; then
36130 SAMPLES_RPATH_FLAG
=''
36131 SAMPLES_RPATH_POSTLINK
=''
36139 config_linkage_component
="-static"
36146 lib_unicode_suffix
=
36148 if test "$wxUSE_UNICODE" = "yes"; then
36149 lib_unicode_suffix
=u
36150 WX_CHARTYPE
="unicode"
36155 WX_DEBUGTYPE
="release"
36157 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36159 WX_DEBUGTYPE
="debug"
36163 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
36164 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
36167 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36171 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36173 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36175 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36177 if test "$cross_compiling" = "yes"; then
36178 HOST_SUFFIX
="-$host_alias"
36179 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
36180 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
36183 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36184 if test "${TOOLKIT_DIR}" = "os2"; then
36185 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36187 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36192 if test "$wxUSE_COCOA" = 1; then
36195 ac_cpp
='$CPP $CPPFLAGS'
36196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36202 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36203 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $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. */
36210 #include <AppKit/NSEvent.h>
36211 #include <CoreFoundation/CoreFoundation.h>
36221 rm -f conftest.
$ac_objext
36222 if { (ac_try
="$ac_compile"
36223 case "(($ac_try" in
36224 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36225 *) ac_try_echo=$ac_try;;
36227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36228 (eval "$ac_compile") 2>conftest.er1
36230 grep -v '^ *+' conftest.er1 >conftest.err
36232 cat conftest.err >&5
36233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36234 (exit $ac_status); } &&
36235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36236 { (case "(($ac_try" in
36237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36238 *) ac_try_echo
=$ac_try;;
36240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36241 (eval "$ac_try") 2>&5
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); }; } &&
36245 { ac_try
='test -s conftest.$ac_objext'
36246 { (case "(($ac_try" in
36247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36248 *) ac_try_echo=$ac_try;;
36250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36251 (eval "$ac_try") 2>&5
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); }; }; then
36255 { echo "$as_me:$LINENO: result: no" >&5
36256 echo "${ECHO_T}no" >&6; }
36258 echo "$as_me: failed program was:" >&5
36259 sed 's/^/| /' conftest.$ac_ext >&5
36261 { echo "$as_me:$LINENO: result: yes" >&5
36262 echo "${ECHO_T}yes" >&6; }
36263 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36264 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36265 cat >conftest.$ac_ext <<_ACEOF
36268 cat confdefs.h >>conftest.$ac_ext
36269 cat >>conftest.$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36271 #define __Point__ 1
36272 #include <AppKit/NSEvent.h>
36273 #include <CoreFoundation/CoreFoundation.h>
36283 rm -f conftest.$ac_objext
36284 if { (ac_try="$ac_compile"
36285 case "(($ac_try" in
36286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36287 *) ac_try_echo
=$ac_try;;
36289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36290 (eval "$ac_compile") 2>conftest.er1
36292 grep -v '^ *+' conftest.er1
>conftest.err
36294 cat conftest.err
>&5
36295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36296 (exit $ac_status); } &&
36297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36298 { (case "(($ac_try" in
36299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36300 *) ac_try_echo=$ac_try;;
36302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36303 (eval "$ac_try") 2>&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); }; } &&
36307 { ac_try='test -s conftest.$ac_objext'
36308 { (case "(($ac_try" in
36309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36310 *) ac_try_echo
=$ac_try;;
36312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36313 (eval "$ac_try") 2>&5
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); }; }; then
36317 { echo "$as_me:$LINENO: result: yes" >&5
36318 echo "${ECHO_T}yes" >&6; }
36319 cat >>confdefs.h
<<\_ACEOF
36320 #define __Point__ 1
36325 echo "$as_me: failed program was:" >&5
36326 sed 's/^/| /' conftest.
$ac_ext >&5
36328 { { echo "$as_me:$LINENO: error: no
36329 See \`config.log' for more details." >&5
36330 echo "$as_me: error: no
36331 See \`config.log' for more details." >&2;}
36332 { (exit 1); exit 1; }; }
36336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36342 ac_cpp
='$CPP $CPPFLAGS'
36343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36349 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36350 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36351 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36353 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36355 # Extract the first word of "Rez", so it can be a program name with args.
36356 set dummy Rez
; ac_word
=$2
36357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36359 if test "${ac_cv_prog_REZ+set}" = set; then
36360 echo $ECHO_N "(cached) $ECHO_C" >&6
36362 if test -n "$REZ"; then
36363 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
36365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36366 for as_dir
in $PATH
36369 test -z "$as_dir" && as_dir
=.
36370 for ac_exec_ext
in '' $ac_executable_extensions; do
36371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36372 ac_cv_prog_REZ
="Rez"
36373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36380 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
36383 REZ
=$ac_cv_prog_REZ
36384 if test -n "$REZ"; then
36385 { echo "$as_me:$LINENO: result: $REZ" >&5
36386 echo "${ECHO_T}$REZ" >&6; }
36388 { echo "$as_me:$LINENO: result: no" >&5
36389 echo "${ECHO_T}no" >&6; }
36393 # Extract the first word of "DeRez", so it can be a program name with args.
36394 set dummy DeRez
; ac_word
=$2
36395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36397 if test "${ac_cv_prog_DEREZ+set}" = set; then
36398 echo $ECHO_N "(cached) $ECHO_C" >&6
36400 if test -n "$DEREZ"; then
36401 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
36403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36404 for as_dir
in $PATH
36407 test -z "$as_dir" && as_dir
=.
36408 for ac_exec_ext
in '' $ac_executable_extensions; do
36409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36410 ac_cv_prog_DEREZ
="DeRez"
36411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36418 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
36421 DEREZ
=$ac_cv_prog_DEREZ
36422 if test -n "$DEREZ"; then
36423 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36424 echo "${ECHO_T}$DEREZ" >&6; }
36426 { echo "$as_me:$LINENO: result: no" >&5
36427 echo "${ECHO_T}no" >&6; }
36431 # Extract the first word of "SetFile", so it can be a program name with args.
36432 set dummy SetFile
; ac_word
=$2
36433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36435 if test "${ac_cv_prog_SETFILE+set}" = set; then
36436 echo $ECHO_N "(cached) $ECHO_C" >&6
36438 if test -n "$SETFILE"; then
36439 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
36441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36442 for as_dir
in $PATH
36445 test -z "$as_dir" && as_dir
=.
36446 for ac_exec_ext
in '' $ac_executable_extensions; do
36447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36448 ac_cv_prog_SETFILE
="SetFile"
36449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36456 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
36459 SETFILE
=$ac_cv_prog_SETFILE
36460 if test -n "$SETFILE"; then
36461 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36462 echo "${ECHO_T}$SETFILE" >&6; }
36464 { echo "$as_me:$LINENO: result: no" >&5
36465 echo "${ECHO_T}no" >&6; }
36470 MACSETFILE
="\$(SETFILE)"
36472 if test "$wxUSE_MAC" = 1; then
36473 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36475 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
36477 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36478 RESCOMP
="echo -n \| $REZ"
36479 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36485 if test "$wxUSE_PM" = 1; then
36487 WXCONFIG_RESFLAGS
="-ep"
36489 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
36491 POSTLINK_COMMAND
="@true"
36498 { echo "$as_me:$LINENO: checking for mode_t" >&5
36499 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36500 if test "${ac_cv_type_mode_t+set}" = set; then
36501 echo $ECHO_N "(cached) $ECHO_C" >&6
36503 cat >conftest.
$ac_ext <<_ACEOF
36506 cat confdefs.h
>>conftest.
$ac_ext
36507 cat >>conftest.
$ac_ext <<_ACEOF
36508 /* end confdefs.h. */
36509 $ac_includes_default
36510 typedef mode_t ac__type_new_;
36514 if ((ac__type_new_ *) 0)
36516 if (sizeof (ac__type_new_))
36522 rm -f conftest.
$ac_objext
36523 if { (ac_try
="$ac_compile"
36524 case "(($ac_try" in
36525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36526 *) ac_try_echo=$ac_try;;
36528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36529 (eval "$ac_compile") 2>conftest.er1
36531 grep -v '^ *+' conftest.er1 >conftest.err
36533 cat conftest.err >&5
36534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535 (exit $ac_status); } &&
36536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36537 { (case "(($ac_try" in
36538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36539 *) ac_try_echo
=$ac_try;;
36541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36542 (eval "$ac_try") 2>&5
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try
='test -s conftest.$ac_objext'
36547 { (case "(($ac_try" in
36548 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36549 *) ac_try_echo=$ac_try;;
36551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36552 (eval "$ac_try") 2>&5
36554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36555 (exit $ac_status); }; }; then
36556 ac_cv_type_mode_t=yes
36558 echo "$as_me: failed program was:" >&5
36559 sed 's/^/| /' conftest.$ac_ext >&5
36561 ac_cv_type_mode_t=no
36564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36566 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36567 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36568 if test $ac_cv_type_mode_t = yes; then
36572 cat >>confdefs.h <<_ACEOF
36578 { echo "$as_me:$LINENO: checking for off_t" >&5
36579 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36580 if test "${ac_cv_type_off_t+set}" = set; then
36581 echo $ECHO_N "(cached) $ECHO_C" >&6
36583 cat >conftest.$ac_ext <<_ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h. */
36589 $ac_includes_default
36590 typedef off_t ac__type_new_;
36594 if ((ac__type_new_ *) 0)
36596 if (sizeof (ac__type_new_))
36602 rm -f conftest.$ac_objext
36603 if { (ac_try="$ac_compile"
36604 case "(($ac_try" in
36605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36606 *) ac_try_echo
=$ac_try;;
36608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36609 (eval "$ac_compile") 2>conftest.er1
36611 grep -v '^ *+' conftest.er1
>conftest.err
36613 cat conftest.err
>&5
36614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36615 (exit $ac_status); } &&
36616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36617 { (case "(($ac_try" in
36618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36619 *) ac_try_echo=$ac_try;;
36621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36622 (eval "$ac_try") 2>&5
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); }; } &&
36626 { ac_try='test -s conftest.$ac_objext'
36627 { (case "(($ac_try" in
36628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36629 *) ac_try_echo
=$ac_try;;
36631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36632 (eval "$ac_try") 2>&5
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); }; }; then
36636 ac_cv_type_off_t
=yes
36638 echo "$as_me: failed program was:" >&5
36639 sed 's/^/| /' conftest.
$ac_ext >&5
36641 ac_cv_type_off_t
=no
36644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36646 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36647 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36648 if test $ac_cv_type_off_t = yes; then
36652 cat >>confdefs.h
<<_ACEOF
36653 #define off_t long int
36658 { echo "$as_me:$LINENO: checking for pid_t" >&5
36659 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36660 if test "${ac_cv_type_pid_t+set}" = set; then
36661 echo $ECHO_N "(cached) $ECHO_C" >&6
36663 cat >conftest.
$ac_ext <<_ACEOF
36666 cat confdefs.h
>>conftest.
$ac_ext
36667 cat >>conftest.
$ac_ext <<_ACEOF
36668 /* end confdefs.h. */
36669 $ac_includes_default
36670 typedef pid_t ac__type_new_;
36674 if ((ac__type_new_ *) 0)
36676 if (sizeof (ac__type_new_))
36682 rm -f conftest.
$ac_objext
36683 if { (ac_try
="$ac_compile"
36684 case "(($ac_try" in
36685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36686 *) ac_try_echo=$ac_try;;
36688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36689 (eval "$ac_compile") 2>conftest.er1
36691 grep -v '^ *+' conftest.er1 >conftest.err
36693 cat conftest.err >&5
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); } &&
36696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36697 { (case "(($ac_try" in
36698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36699 *) ac_try_echo
=$ac_try;;
36701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36702 (eval "$ac_try") 2>&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); }; } &&
36706 { ac_try
='test -s conftest.$ac_objext'
36707 { (case "(($ac_try" in
36708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36709 *) ac_try_echo=$ac_try;;
36711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36712 (eval "$ac_try") 2>&5
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); }; }; then
36716 ac_cv_type_pid_t=yes
36718 echo "$as_me: failed program was:" >&5
36719 sed 's/^/| /' conftest.$ac_ext >&5
36721 ac_cv_type_pid_t=no
36724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36726 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36727 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36728 if test $ac_cv_type_pid_t = yes; then
36732 cat >>confdefs.h <<_ACEOF
36738 { echo "$as_me:$LINENO: checking for size_t" >&5
36739 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36740 if test "${ac_cv_type_size_t+set}" = set; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36743 cat >conftest.$ac_ext <<_ACEOF
36746 cat confdefs.h >>conftest.$ac_ext
36747 cat >>conftest.$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36749 $ac_includes_default
36750 typedef size_t ac__type_new_;
36754 if ((ac__type_new_ *) 0)
36756 if (sizeof (ac__type_new_))
36762 rm -f conftest.$ac_objext
36763 if { (ac_try="$ac_compile"
36764 case "(($ac_try" in
36765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36766 *) ac_try_echo
=$ac_try;;
36768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36769 (eval "$ac_compile") 2>conftest.er1
36771 grep -v '^ *+' conftest.er1
>conftest.err
36773 cat conftest.err
>&5
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); } &&
36776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36777 { (case "(($ac_try" in
36778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36779 *) ac_try_echo=$ac_try;;
36781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36782 (eval "$ac_try") 2>&5
36784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785 (exit $ac_status); }; } &&
36786 { ac_try='test -s conftest.$ac_objext'
36787 { (case "(($ac_try" in
36788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36789 *) ac_try_echo
=$ac_try;;
36791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36792 (eval "$ac_try") 2>&5
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); }; }; then
36796 ac_cv_type_size_t
=yes
36798 echo "$as_me: failed program was:" >&5
36799 sed 's/^/| /' conftest.
$ac_ext >&5
36801 ac_cv_type_size_t
=no
36804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36806 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36807 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36808 if test $ac_cv_type_size_t = yes; then
36812 cat >>confdefs.h
<<_ACEOF
36813 #define size_t unsigned int
36818 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36819 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36820 if test "${ac_cv_type_uid_t+set}" = set; then
36821 echo $ECHO_N "(cached) $ECHO_C" >&6
36823 cat >conftest.
$ac_ext <<_ACEOF
36826 cat confdefs.h
>>conftest.
$ac_ext
36827 cat >>conftest.
$ac_ext <<_ACEOF
36828 /* end confdefs.h. */
36829 #include <sys/types.h>
36832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36833 $EGREP "uid_t" >/dev
/null
2>&1; then
36834 ac_cv_type_uid_t
=yes
36836 ac_cv_type_uid_t
=no
36841 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36842 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36843 if test $ac_cv_type_uid_t = no
; then
36845 cat >>confdefs.h
<<\_ACEOF
36850 cat >>confdefs.h
<<\_ACEOF
36857 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36858 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36859 if test "${ac_cv_type_ssize_t+set}" = set; then
36860 echo $ECHO_N "(cached) $ECHO_C" >&6
36862 cat >conftest.
$ac_ext <<_ACEOF
36865 cat confdefs.h
>>conftest.
$ac_ext
36866 cat >>conftest.
$ac_ext <<_ACEOF
36867 /* end confdefs.h. */
36868 $ac_includes_default
36869 typedef ssize_t ac__type_new_;
36873 if ((ac__type_new_ *) 0)
36875 if (sizeof (ac__type_new_))
36881 rm -f conftest.
$ac_objext
36882 if { (ac_try
="$ac_compile"
36883 case "(($ac_try" in
36884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36885 *) ac_try_echo=$ac_try;;
36887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36888 (eval "$ac_compile") 2>conftest.er1
36890 grep -v '^ *+' conftest.er1 >conftest.err
36892 cat conftest.err >&5
36893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894 (exit $ac_status); } &&
36895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36896 { (case "(($ac_try" in
36897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36898 *) ac_try_echo
=$ac_try;;
36900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36901 (eval "$ac_try") 2>&5
36903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36904 (exit $ac_status); }; } &&
36905 { ac_try
='test -s conftest.$ac_objext'
36906 { (case "(($ac_try" in
36907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36908 *) ac_try_echo=$ac_try;;
36910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36911 (eval "$ac_try") 2>&5
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); }; }; then
36915 ac_cv_type_ssize_t=yes
36917 echo "$as_me: failed program was:" >&5
36918 sed 's/^/| /' conftest.$ac_ext >&5
36920 ac_cv_type_ssize_t=no
36923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36925 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36926 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36927 if test $ac_cv_type_ssize_t = yes; then
36929 cat >>confdefs.h <<_ACEOF
36930 #define HAVE_SSIZE_T 1
36938 ac_cpp='$CXXCPP $CPPFLAGS'
36939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36942 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36943 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36944 if test "${wx_cv_size_t_is_uint+set}" = set; then
36945 echo $ECHO_N "(cached) $ECHO_C" >&6
36948 cat >conftest.$ac_ext <<_ACEOF
36951 cat confdefs.h >>conftest.$ac_ext
36952 cat >>conftest.$ac_ext <<_ACEOF
36953 /* end confdefs.h. */
36954 #include <stddef.h>
36961 struct Foo { void foo(size_t); void foo(unsigned int); };
36969 rm -f conftest.$ac_objext
36970 if { (ac_try="$ac_compile"
36971 case "(($ac_try" in
36972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36973 *) ac_try_echo
=$ac_try;;
36975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36976 (eval "$ac_compile") 2>conftest.er1
36978 grep -v '^ *+' conftest.er1
>conftest.err
36980 cat conftest.err
>&5
36981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36982 (exit $ac_status); } &&
36983 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36984 { (case "(($ac_try" in
36985 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36986 *) ac_try_echo=$ac_try;;
36988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36989 (eval "$ac_try") 2>&5
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); }; } &&
36993 { ac_try='test -s conftest.$ac_objext'
36994 { (case "(($ac_try" in
36995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36996 *) ac_try_echo
=$ac_try;;
36998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36999 (eval "$ac_try") 2>&5
37001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37002 (exit $ac_status); }; }; then
37003 wx_cv_size_t_is_uint
=no
37005 echo "$as_me: failed program was:" >&5
37006 sed 's/^/| /' conftest.
$ac_ext >&5
37008 wx_cv_size_t_is_uint
=yes
37012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37016 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37017 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37019 if test "$wx_cv_size_t_is_uint" = "yes"; then
37020 cat >>confdefs.h
<<\_ACEOF
37021 #define wxSIZE_T_IS_UINT 1
37025 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37026 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37027 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37028 echo $ECHO_N "(cached) $ECHO_C" >&6
37030 cat >conftest.
$ac_ext <<_ACEOF
37033 cat confdefs.h
>>conftest.
$ac_ext
37034 cat >>conftest.
$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37036 #include <stddef.h>
37043 struct Foo { void foo(size_t); void foo(unsigned long); };
37051 rm -f conftest.
$ac_objext
37052 if { (ac_try
="$ac_compile"
37053 case "(($ac_try" in
37054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37055 *) ac_try_echo=$ac_try;;
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_compile") 2>conftest.er1
37060 grep -v '^ *+' conftest.er1 >conftest.err
37062 cat conftest.err >&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } &&
37065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37066 { (case "(($ac_try" in
37067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37068 *) ac_try_echo
=$ac_try;;
37070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37071 (eval "$ac_try") 2>&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); }; } &&
37075 { ac_try
='test -s conftest.$ac_objext'
37076 { (case "(($ac_try" in
37077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37078 *) ac_try_echo=$ac_try;;
37080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37081 (eval "$ac_try") 2>&5
37083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37084 (exit $ac_status); }; }; then
37085 wx_cv_size_t_is_ulong=no
37087 echo "$as_me: failed program was:" >&5
37088 sed 's/^/| /' conftest.$ac_ext >&5
37090 wx_cv_size_t_is_ulong=yes
37094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37097 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37098 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37100 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37101 cat >>confdefs.h <<\_ACEOF
37102 #define wxSIZE_T_IS_ULONG 1
37109 ac_cpp='$CPP $CPPFLAGS'
37110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37115 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37116 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37117 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37118 echo $ECHO_N "(cached) $ECHO_C" >&6
37121 cat >conftest.$ac_ext <<_ACEOF
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37140 rm -f conftest.$ac_objext
37141 if { (ac_try="$ac_compile"
37142 case "(($ac_try" in
37143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37144 *) ac_try_echo
=$ac_try;;
37146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37147 (eval "$ac_compile") 2>conftest.er1
37149 grep -v '^ *+' conftest.er1
>conftest.err
37151 cat conftest.err
>&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); } &&
37154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37155 { (case "(($ac_try" in
37156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37157 *) ac_try_echo=$ac_try;;
37159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37160 (eval "$ac_try") 2>&5
37162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163 (exit $ac_status); }; } &&
37164 { ac_try='test -s conftest.$ac_objext'
37165 { (case "(($ac_try" in
37166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37167 *) ac_try_echo
=$ac_try;;
37169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37170 (eval "$ac_try") 2>&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; }; then
37175 wx_cv_struct_pw_gecos
=yes
37178 echo "$as_me: failed program was:" >&5
37179 sed 's/^/| /' conftest.
$ac_ext >&5
37182 wx_cv_struct_pw_gecos
=no
37187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37191 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37192 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37194 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37195 cat >>confdefs.h
<<\_ACEOF
37196 #define HAVE_PW_GECOS 1
37202 if test "$wxUSE_WCHAR_T" = "yes"; then
37203 cat >>confdefs.h
<<\_ACEOF
37204 #define wxUSE_WCHAR_T 1
37211 for ac_func
in wcslen
37213 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37214 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37216 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37217 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 cat >conftest.
$ac_ext <<_ACEOF
37222 cat confdefs.h
>>conftest.
$ac_ext
37223 cat >>conftest.
$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37227 #define $ac_func innocuous_$ac_func
37229 /* System header to define __stub macros and hopefully few prototypes,
37230 which can conflict with char $ac_func (); below.
37231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37232 <limits.h> exists even on freestanding compilers. */
37235 # include <limits.h>
37237 # include <assert.h>
37242 /* Override any GCC internal prototype to avoid an error.
37243 Use char because int might match the return type of a GCC
37244 builtin and then its argument prototype would still apply. */
37249 /* The GNU C library defines this for functions which it implements
37250 to always fail with ENOSYS. Some functions are actually named
37251 something starting with __ and the normal name is an alias. */
37252 #if defined __stub_$ac_func || defined __stub___$ac_func
37259 return $ac_func ();
37264 rm -f conftest.
$ac_objext conftest
$ac_exeext
37265 if { (ac_try
="$ac_link"
37266 case "(($ac_try" in
37267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37268 *) ac_try_echo=$ac_try;;
37270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37271 (eval "$ac_link") 2>conftest.er1
37273 grep -v '^ *+' conftest.er1 >conftest.err
37275 cat conftest.err >&5
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); } &&
37278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37279 { (case "(($ac_try" in
37280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37281 *) ac_try_echo
=$ac_try;;
37283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37284 (eval "$ac_try") 2>&5
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); }; } &&
37288 { ac_try
='test -s conftest$ac_exeext'
37289 { (case "(($ac_try" in
37290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37291 *) ac_try_echo=$ac_try;;
37293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37294 (eval "$ac_try") 2>&5
37296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37297 (exit $ac_status); }; }; then
37298 eval "$as_ac_var=yes"
37300 echo "$as_me: failed program was:" >&5
37301 sed 's/^/| /' conftest.$ac_ext >&5
37303 eval "$as_ac_var=no"
37306 rm -f core conftest.err conftest.$ac_objext \
37307 conftest$ac_exeext conftest.$ac_ext
37309 ac_res=`eval echo '${'$as_ac_var'}'`
37310 { echo "$as_me:$LINENO: result: $ac_res" >&5
37311 echo "${ECHO_T}$ac_res" >&6; }
37312 if test `eval echo '${'$as_ac_var'}'` = yes; then
37313 cat >>confdefs.h <<_ACEOF
37314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37321 if test "$WCSLEN_FOUND" = 0; then
37322 if test "$TOOLKIT" = "MSW"; then
37323 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37324 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37325 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37326 echo $ECHO_N "(cached) $ECHO_C" >&6
37328 ac_check_lib_save_LIBS=$LIBS
37329 LIBS="-lmsvcrt $LIBS"
37330 cat >conftest.$ac_ext <<_ACEOF
37333 cat confdefs.h >>conftest.$ac_ext
37334 cat >>conftest.$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37337 /* Override any GCC internal prototype to avoid an error.
37338 Use char because int might match the return type of a GCC
37339 builtin and then its argument prototype would still apply. */
37352 rm -f conftest.$ac_objext conftest$ac_exeext
37353 if { (ac_try="$ac_link"
37354 case "(($ac_try" in
37355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37356 *) ac_try_echo
=$ac_try;;
37358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37359 (eval "$ac_link") 2>conftest.er1
37361 grep -v '^ *+' conftest.er1
>conftest.err
37363 cat conftest.err
>&5
37364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365 (exit $ac_status); } &&
37366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37367 { (case "(($ac_try" in
37368 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37369 *) ac_try_echo=$ac_try;;
37371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37372 (eval "$ac_try") 2>&5
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); }; } &&
37376 { ac_try='test -s conftest$ac_exeext'
37377 { (case "(($ac_try" in
37378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37379 *) ac_try_echo
=$ac_try;;
37381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37382 (eval "$ac_try") 2>&5
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); }; }; then
37386 ac_cv_lib_msvcrt_wcslen
=yes
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.
$ac_ext >&5
37391 ac_cv_lib_msvcrt_wcslen
=no
37394 rm -f core conftest.err conftest.
$ac_objext \
37395 conftest
$ac_exeext conftest.
$ac_ext
37396 LIBS
=$ac_check_lib_save_LIBS
37398 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37399 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37400 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37405 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37406 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37407 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37408 echo $ECHO_N "(cached) $ECHO_C" >&6
37410 ac_check_lib_save_LIBS
=$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. */
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_w_wcslen=yes
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37473 ac_cv_lib_w_wcslen=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_w_wcslen" >&5
37481 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37482 if test $ac_cv_lib_w_wcslen = yes; then
37492 if test "$WCSLEN_FOUND" = 1; then
37493 cat >>confdefs.h <<\_ACEOF
37494 #define HAVE_WCSLEN 1
37499 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37500 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37503 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37504 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37505 if test "${ac_cv_type_mbstate_t+set}" = set; then
37506 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 cat >conftest.$ac_ext <<_ACEOF
37511 cat confdefs.h >>conftest.$ac_ext
37512 cat >>conftest.$ac_ext <<_ACEOF
37513 /* end confdefs.h. */
37516 typedef mbstate_t ac__type_new_;
37520 if ((ac__type_new_ *) 0)
37522 if (sizeof (ac__type_new_))
37528 rm -f conftest.$ac_objext
37529 if { (ac_try="$ac_compile"
37530 case "(($ac_try" in
37531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37532 *) ac_try_echo
=$ac_try;;
37534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37535 (eval "$ac_compile") 2>conftest.er1
37537 grep -v '^ *+' conftest.er1
>conftest.err
37539 cat conftest.err
>&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); } &&
37542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37543 { (case "(($ac_try" in
37544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37545 *) ac_try_echo=$ac_try;;
37547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37548 (eval "$ac_try") 2>&5
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); }; } &&
37552 { ac_try='test -s conftest.$ac_objext'
37553 { (case "(($ac_try" in
37554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37555 *) ac_try_echo
=$ac_try;;
37557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37558 (eval "$ac_try") 2>&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); }; }; then
37562 ac_cv_type_mbstate_t
=yes
37564 echo "$as_me: failed program was:" >&5
37565 sed 's/^/| /' conftest.
$ac_ext >&5
37567 ac_cv_type_mbstate_t
=no
37570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37572 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37573 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37574 if test $ac_cv_type_mbstate_t = yes; then
37576 cat >>confdefs.h
<<_ACEOF
37577 #define HAVE_MBSTATE_T 1
37581 for ac_func
in wcsrtombs
37583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37586 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37587 echo $ECHO_N "(cached) $ECHO_C" >&6
37589 cat >conftest.
$ac_ext <<_ACEOF
37592 cat confdefs.h
>>conftest.
$ac_ext
37593 cat >>conftest.
$ac_ext <<_ACEOF
37594 /* end confdefs.h. */
37595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37597 #define $ac_func innocuous_$ac_func
37599 /* System header to define __stub macros and hopefully few prototypes,
37600 which can conflict with char $ac_func (); below.
37601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37602 <limits.h> exists even on freestanding compilers. */
37605 # include <limits.h>
37607 # include <assert.h>
37612 /* Override any GCC internal prototype to avoid an error.
37613 Use char because int might match the return type of a GCC
37614 builtin and then its argument prototype would still apply. */
37619 /* The GNU C library defines this for functions which it implements
37620 to always fail with ENOSYS. Some functions are actually named
37621 something starting with __ and the normal name is an alias. */
37622 #if defined __stub_$ac_func || defined __stub___$ac_func
37629 return $ac_func ();
37634 rm -f conftest.
$ac_objext conftest
$ac_exeext
37635 if { (ac_try
="$ac_link"
37636 case "(($ac_try" in
37637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37638 *) ac_try_echo=$ac_try;;
37640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37641 (eval "$ac_link") 2>conftest.er1
37643 grep -v '^ *+' conftest.er1 >conftest.err
37645 cat conftest.err >&5
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); } &&
37648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37649 { (case "(($ac_try" in
37650 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37651 *) ac_try_echo
=$ac_try;;
37653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37654 (eval "$ac_try") 2>&5
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); }; } &&
37658 { ac_try
='test -s conftest$ac_exeext'
37659 { (case "(($ac_try" in
37660 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37661 *) ac_try_echo=$ac_try;;
37663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37664 (eval "$ac_try") 2>&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; }; then
37668 eval "$as_ac_var=yes"
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.$ac_ext >&5
37673 eval "$as_ac_var=no"
37676 rm -f core conftest.err conftest.$ac_objext \
37677 conftest$ac_exeext conftest.$ac_ext
37679 ac_res=`eval echo '${'$as_ac_var'}'`
37680 { echo "$as_me:$LINENO: result: $ac_res" >&5
37681 echo "${ECHO_T}$ac_res" >&6; }
37682 if test `eval echo '${'$as_ac_var'}'` = yes; then
37683 cat >>confdefs.h <<_ACEOF
37684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37693 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37694 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37699 for ac_func in snprintf vsnprintf
37701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37704 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37705 echo $ECHO_N "(cached) $ECHO_C" >&6
37707 cat >conftest.$ac_ext <<_ACEOF
37710 cat confdefs.h >>conftest.$ac_ext
37711 cat >>conftest.$ac_ext <<_ACEOF
37712 /* end confdefs.h. */
37713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37715 #define $ac_func innocuous_$ac_func
37717 /* System header to define __stub macros and hopefully few prototypes,
37718 which can conflict with char $ac_func (); below.
37719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37720 <limits.h> exists even on freestanding compilers. */
37723 # include <limits.h>
37725 # include <assert.h>
37730 /* Override any GCC internal prototype to avoid an error.
37731 Use char because int might match the return type of a GCC
37732 builtin and then its argument prototype would still apply. */
37737 /* The GNU C library defines this for functions which it implements
37738 to always fail with ENOSYS. Some functions are actually named
37739 something starting with __ and the normal name is an alias. */
37740 #if defined __stub_$ac_func || defined __stub___$ac_func
37747 return $ac_func ();
37752 rm -f conftest.$ac_objext conftest$ac_exeext
37753 if { (ac_try="$ac_link"
37754 case "(($ac_try" in
37755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37756 *) ac_try_echo
=$ac_try;;
37758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37759 (eval "$ac_link") 2>conftest.er1
37761 grep -v '^ *+' conftest.er1
>conftest.err
37763 cat conftest.err
>&5
37764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765 (exit $ac_status); } &&
37766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37767 { (case "(($ac_try" in
37768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37769 *) ac_try_echo=$ac_try;;
37771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37772 (eval "$ac_try") 2>&5
37774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37775 (exit $ac_status); }; } &&
37776 { ac_try='test -s conftest$ac_exeext'
37777 { (case "(($ac_try" in
37778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37779 *) ac_try_echo
=$ac_try;;
37781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37782 (eval "$ac_try") 2>&5
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); }; }; then
37786 eval "$as_ac_var=yes"
37788 echo "$as_me: failed program was:" >&5
37789 sed 's/^/| /' conftest.
$ac_ext >&5
37791 eval "$as_ac_var=no"
37794 rm -f core conftest.err conftest.
$ac_objext \
37795 conftest
$ac_exeext conftest.
$ac_ext
37797 ac_res
=`eval echo '${'$as_ac_var'}'`
37798 { echo "$as_me:$LINENO: result: $ac_res" >&5
37799 echo "${ECHO_T}$ac_res" >&6; }
37800 if test `eval echo '${'$as_ac_var'}'` = yes; then
37801 cat >>confdefs.h
<<_ACEOF
37802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37809 if test "$ac_cv_func_vsnprintf" = "yes"; then
37810 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37811 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37812 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37813 echo $ECHO_N "(cached) $ECHO_C" >&6
37816 cat >conftest.
$ac_ext <<_ACEOF
37819 cat confdefs.h
>>conftest.
$ac_ext
37820 cat >>conftest.
$ac_ext <<_ACEOF
37821 /* end confdefs.h. */
37824 #include <stdarg.h>
37826 #if __MSL__ >= 0x6000
37828 using namespace std;
37838 vsnprintf(buf, 10u, "%s", ap);
37844 rm -f conftest.
$ac_objext
37845 if { (ac_try
="$ac_compile"
37846 case "(($ac_try" in
37847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37848 *) ac_try_echo=$ac_try;;
37850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37851 (eval "$ac_compile") 2>conftest.er1
37853 grep -v '^ *+' conftest.er1 >conftest.err
37855 cat conftest.err >&5
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); } &&
37858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37859 { (case "(($ac_try" in
37860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37861 *) ac_try_echo
=$ac_try;;
37863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37864 (eval "$ac_try") 2>&5
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); }; } &&
37868 { ac_try
='test -s conftest.$ac_objext'
37869 { (case "(($ac_try" in
37870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37871 *) ac_try_echo=$ac_try;;
37873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37874 (eval "$ac_try") 2>&5
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; }; then
37878 wx_cv_func_vsnprintf_decl=yes
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.$ac_ext >&5
37883 wx_cv_func_vsnprintf_decl=no
37887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37891 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37892 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37894 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37895 cat >>confdefs.h <<\_ACEOF
37896 #define HAVE_VSNPRINTF_DECL 1
37900 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37901 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37902 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37903 echo $ECHO_N "(cached) $ECHO_C" >&6
37906 cat >conftest.$ac_ext <<_ACEOF
37909 cat confdefs.h >>conftest.$ac_ext
37910 cat >>conftest.$ac_ext <<_ACEOF
37911 /* end confdefs.h. */
37914 #include <stdarg.h>
37916 #if __MSL__ >= 0x6000
37918 using namespace std;
37928 const char *fmt = "%s";
37929 vsnprintf(buf, 10u, fmt, ap);
37935 rm -f conftest.$ac_objext
37936 if { (ac_try="$ac_compile"
37937 case "(($ac_try" in
37938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37939 *) ac_try_echo
=$ac_try;;
37941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37942 (eval "$ac_compile") 2>conftest.er1
37944 grep -v '^ *+' conftest.er1
>conftest.err
37946 cat conftest.err
>&5
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); } &&
37949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37950 { (case "(($ac_try" in
37951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37952 *) ac_try_echo=$ac_try;;
37954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37955 (eval "$ac_try") 2>&5
37957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37958 (exit $ac_status); }; } &&
37959 { ac_try='test -s conftest.$ac_objext'
37960 { (case "(($ac_try" in
37961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37962 *) ac_try_echo
=$ac_try;;
37964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37965 (eval "$ac_try") 2>&5
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); }; }; then
37969 wx_cv_func_broken_vsnprintf_decl
=no
37971 echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.
$ac_ext >&5
37974 wx_cv_func_broken_vsnprintf_decl
=yes
37978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37982 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37983 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37985 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37986 cat >>confdefs.h
<<\_ACEOF
37987 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37994 if test "$ac_cv_func_snprintf" = "yes"; then
37995 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37996 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37997 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37998 echo $ECHO_N "(cached) $ECHO_C" >&6
38001 cat >conftest.
$ac_ext <<_ACEOF
38004 cat confdefs.h
>>conftest.
$ac_ext
38005 cat >>conftest.
$ac_ext <<_ACEOF
38006 /* end confdefs.h. */
38009 #include <stdarg.h>
38011 #if __MSL__ >= 0x6000
38013 using namespace std;
38022 snprintf(buf, 10u, "%s", "wx");
38028 rm -f conftest.
$ac_objext
38029 if { (ac_try
="$ac_compile"
38030 case "(($ac_try" in
38031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38032 *) ac_try_echo=$ac_try;;
38034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38035 (eval "$ac_compile") 2>conftest.er1
38037 grep -v '^ *+' conftest.er1 >conftest.err
38039 cat conftest.err >&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); } &&
38042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38043 { (case "(($ac_try" in
38044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38045 *) ac_try_echo
=$ac_try;;
38047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38048 (eval "$ac_try") 2>&5
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); }; } &&
38052 { ac_try
='test -s conftest.$ac_objext'
38053 { (case "(($ac_try" in
38054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38055 *) ac_try_echo=$ac_try;;
38057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38058 (eval "$ac_try") 2>&5
38060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38061 (exit $ac_status); }; }; then
38062 wx_cv_func_snprintf_decl=yes
38064 echo "$as_me: failed program was:" >&5
38065 sed 's/^/| /' conftest.$ac_ext >&5
38067 wx_cv_func_snprintf_decl=no
38071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38075 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38076 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38078 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38079 cat >>confdefs.h <<\_ACEOF
38080 #define HAVE_SNPRINTF_DECL 1
38084 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38085 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38086 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38087 echo $ECHO_N "(cached) $ECHO_C" >&6
38090 cat >conftest.$ac_ext <<_ACEOF
38093 cat confdefs.h >>conftest.$ac_ext
38094 cat >>conftest.$ac_ext <<_ACEOF
38095 /* end confdefs.h. */
38098 #include <stdarg.h>
38100 #if __MSL__ >= 0x6000
38102 using namespace std;
38111 const char *fmt = "%s";
38112 snprintf(buf, 10u, fmt, "wx");
38118 rm -f conftest.$ac_objext
38119 if { (ac_try="$ac_compile"
38120 case "(($ac_try" in
38121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38122 *) ac_try_echo
=$ac_try;;
38124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38125 (eval "$ac_compile") 2>conftest.er1
38127 grep -v '^ *+' conftest.er1
>conftest.err
38129 cat conftest.err
>&5
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); } &&
38132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38133 { (case "(($ac_try" in
38134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38135 *) ac_try_echo=$ac_try;;
38137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38138 (eval "$ac_try") 2>&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; } &&
38142 { ac_try='test -s conftest.$ac_objext'
38143 { (case "(($ac_try" in
38144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38145 *) ac_try_echo
=$ac_try;;
38147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38148 (eval "$ac_try") 2>&5
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); }; }; then
38152 wx_cv_func_broken_snprintf_decl
=no
38154 echo "$as_me: failed program was:" >&5
38155 sed 's/^/| /' conftest.
$ac_ext >&5
38157 wx_cv_func_broken_snprintf_decl
=yes
38161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38165 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38166 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38168 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38169 cat >>confdefs.h
<<\_ACEOF
38170 #define HAVE_BROKEN_SNPRINTF_DECL 1
38176 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38178 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38179 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38180 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38181 echo $ECHO_N "(cached) $ECHO_C" >&6
38184 if test "$cross_compiling" = yes; then
38186 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38187 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38188 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38189 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38190 wx_cv_func_snprintf_pos_params
=no
38194 cat >conftest.
$ac_ext <<_ACEOF
38197 cat confdefs.h
>>conftest.
$ac_ext
38198 cat >>conftest.
$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38206 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38207 if (strcmp ("2 3 1", buffer) == 0)
38213 rm -f conftest
$ac_exeext
38214 if { (ac_try
="$ac_link"
38215 case "(($ac_try" in
38216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38217 *) ac_try_echo=$ac_try;;
38219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38220 (eval "$ac_link") 2>&5
38222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38224 { (case "(($ac_try" in
38225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38226 *) ac_try_echo
=$ac_try;;
38228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38229 (eval "$ac_try") 2>&5
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); }; }; then
38233 wx_cv_func_snprintf_pos_params
=no
38235 echo "$as_me: program exited with status $ac_status" >&5
38236 echo "$as_me: failed program was:" >&5
38237 sed 's/^/| /' conftest.
$ac_ext >&5
38239 ( exit $ac_status )
38240 wx_cv_func_snprintf_pos_params
=yes
38242 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38249 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38250 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38252 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38253 cat >>confdefs.h
<<\_ACEOF
38254 #define HAVE_UNIX98_PRINTF 1
38261 if test "$wxUSE_UNICODE" = yes; then
38264 for ac_func
in swprintf
38266 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38269 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38270 echo $ECHO_N "(cached) $ECHO_C" >&6
38272 cat >conftest.
$ac_ext <<_ACEOF
38275 cat confdefs.h
>>conftest.
$ac_ext
38276 cat >>conftest.
$ac_ext <<_ACEOF
38277 /* end confdefs.h. */
38278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38280 #define $ac_func innocuous_$ac_func
38282 /* System header to define __stub macros and hopefully few prototypes,
38283 which can conflict with char $ac_func (); below.
38284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38285 <limits.h> exists even on freestanding compilers. */
38288 # include <limits.h>
38290 # include <assert.h>
38295 /* Override any GCC internal prototype to avoid an error.
38296 Use char because int might match the return type of a GCC
38297 builtin and then its argument prototype would still apply. */
38302 /* The GNU C library defines this for functions which it implements
38303 to always fail with ENOSYS. Some functions are actually named
38304 something starting with __ and the normal name is an alias. */
38305 #if defined __stub_$ac_func || defined __stub___$ac_func
38312 return $ac_func ();
38317 rm -f conftest.
$ac_objext conftest
$ac_exeext
38318 if { (ac_try
="$ac_link"
38319 case "(($ac_try" in
38320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38321 *) ac_try_echo=$ac_try;;
38323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38324 (eval "$ac_link") 2>conftest.er1
38326 grep -v '^ *+' conftest.er1 >conftest.err
38328 cat conftest.err >&5
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); } &&
38331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38332 { (case "(($ac_try" in
38333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38334 *) ac_try_echo
=$ac_try;;
38336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38337 (eval "$ac_try") 2>&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); }; } &&
38341 { ac_try
='test -s conftest$ac_exeext'
38342 { (case "(($ac_try" in
38343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38344 *) ac_try_echo=$ac_try;;
38346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38347 (eval "$ac_try") 2>&5
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); }; }; then
38351 eval "$as_ac_var=yes"
38353 echo "$as_me: failed program was:" >&5
38354 sed 's/^/| /' conftest.$ac_ext >&5
38356 eval "$as_ac_var=no"
38359 rm -f core conftest.err conftest.$ac_objext \
38360 conftest$ac_exeext conftest.$ac_ext
38362 ac_res=`eval echo '${'$as_ac_var'}'`
38363 { echo "$as_me:$LINENO: result: $ac_res" >&5
38364 echo "${ECHO_T}$ac_res" >&6; }
38365 if test `eval echo '${'$as_ac_var'}'` = yes; then
38366 cat >>confdefs.h <<_ACEOF
38367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38374 if test "$ac_cv_func_swprintf" = "yes"; then
38375 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38376 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38377 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38378 echo $ECHO_N "(cached) $ECHO_C" >&6
38381 cat >conftest.$ac_ext <<_ACEOF
38384 cat confdefs.h >>conftest.$ac_ext
38385 cat >>conftest.$ac_ext <<_ACEOF
38386 /* end confdefs.h. */
38389 #include <stdarg.h>
38397 const wchar_t *fmt = L"test";
38398 swprintf(buf, 10u, fmt);
38404 rm -f conftest.$ac_objext
38405 if { (ac_try="$ac_compile"
38406 case "(($ac_try" in
38407 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38408 *) ac_try_echo
=$ac_try;;
38410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38411 (eval "$ac_compile") 2>conftest.er1
38413 grep -v '^ *+' conftest.er1
>conftest.err
38415 cat conftest.err
>&5
38416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38417 (exit $ac_status); } &&
38418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38419 { (case "(($ac_try" in
38420 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38421 *) ac_try_echo=$ac_try;;
38423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38424 (eval "$ac_try") 2>&5
38426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38427 (exit $ac_status); }; } &&
38428 { ac_try='test -s conftest.$ac_objext'
38429 { (case "(($ac_try" in
38430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38431 *) ac_try_echo
=$ac_try;;
38433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38434 (eval "$ac_try") 2>&5
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); }; }; then
38438 wx_cv_func_broken_swprintf_decl
=no
38440 echo "$as_me: failed program was:" >&5
38441 sed 's/^/| /' conftest.
$ac_ext >&5
38443 wx_cv_func_broken_swprintf_decl
=yes
38447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38451 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38452 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38454 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38455 cat >>confdefs.h
<<\_ACEOF
38456 #define HAVE_BROKEN_SWPRINTF_DECL 1
38462 wchar_headers
="#include <stdio.h>
38463 #include <wchar.h>"
38466 { echo "$as_me:$LINENO: checking for widec.h" >&5
38467 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38468 if test "${ac_cv_header_widec_h+set}" = set; then
38469 echo $ECHO_N "(cached) $ECHO_C" >&6
38471 cat >conftest.
$ac_ext <<_ACEOF
38474 cat confdefs.h
>>conftest.
$ac_ext
38475 cat >>conftest.
$ac_ext <<_ACEOF
38476 /* end confdefs.h. */
38477 $ac_includes_default
38481 rm -f conftest.
$ac_objext
38482 if { (ac_try
="$ac_compile"
38483 case "(($ac_try" in
38484 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38485 *) ac_try_echo=$ac_try;;
38487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38488 (eval "$ac_compile") 2>conftest.er1
38490 grep -v '^ *+' conftest.er1 >conftest.err
38492 cat conftest.err >&5
38493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38494 (exit $ac_status); } &&
38495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38496 { (case "(($ac_try" in
38497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38498 *) ac_try_echo
=$ac_try;;
38500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38501 (eval "$ac_try") 2>&5
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); }; } &&
38505 { ac_try
='test -s conftest.$ac_objext'
38506 { (case "(($ac_try" in
38507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38508 *) ac_try_echo=$ac_try;;
38510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38511 (eval "$ac_try") 2>&5
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); }; }; then
38515 ac_cv_header_widec_h=yes
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.$ac_ext >&5
38520 ac_cv_header_widec_h=no
38523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38525 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38526 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38529 if test "$ac_cv_header_widec_h" = "yes"; then
38530 wchar_headers="$wchar_headers
38531 #include <widec.h>"
38536 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38538 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38539 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38540 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38541 echo $ECHO_N "(cached) $ECHO_C" >&6
38544 cat >conftest.$ac_ext <<_ACEOF
38548 cat confdefs.h >>conftest.$ac_ext
38549 cat >>conftest.$ac_ext <<_ACEOF
38550 /* end confdefs.h. */
38553 $ac_includes_default
38569 rm -f conftest.$ac_objext conftest$ac_exeext
38570 if { (ac_try="$ac_link"
38571 case "(($ac_try" in
38572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38573 *) ac_try_echo
=$ac_try;;
38575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38576 (eval "$ac_link") 2>conftest.er1
38578 grep -v '^ *+' conftest.er1
>conftest.err
38580 cat conftest.err
>&5
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); } &&
38583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38584 { (case "(($ac_try" in
38585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38586 *) ac_try_echo=$ac_try;;
38588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38589 (eval "$ac_try") 2>&5
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); }; } &&
38593 { ac_try='test -s conftest$ac_exeext'
38594 { (case "(($ac_try" in
38595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38596 *) ac_try_echo
=$ac_try;;
38598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38599 (eval "$ac_try") 2>&5
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); }; }; then
38603 eval wx_cv_func_
$wx_func=yes
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.
$ac_ext >&5
38608 eval wx_cv_func_
$wx_func=no
38611 rm -f core conftest.err conftest.
$ac_objext \
38612 conftest
$ac_exeext conftest.
$ac_ext
38615 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38616 { echo "$as_me:$LINENO: result: $ac_res" >&5
38617 echo "${ECHO_T}$ac_res" >&6; }
38619 if eval test \
$wx_cv_func_$wx_func = yes
38621 cat >>confdefs.h
<<_ACEOF
38622 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38633 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38634 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38635 cat >conftest.
$ac_ext <<_ACEOF
38638 cat confdefs.h
>>conftest.
$ac_ext
38639 cat >>conftest.
$ac_ext <<_ACEOF
38640 /* end confdefs.h. */
38650 rm -f conftest.
$ac_objext
38651 if { (ac_try
="$ac_compile"
38652 case "(($ac_try" in
38653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38654 *) ac_try_echo=$ac_try;;
38656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38657 (eval "$ac_compile") 2>conftest.er1
38659 grep -v '^ *+' conftest.er1 >conftest.err
38661 cat conftest.err >&5
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); } &&
38664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38665 { (case "(($ac_try" in
38666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38667 *) ac_try_echo
=$ac_try;;
38669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38670 (eval "$ac_try") 2>&5
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); }; } &&
38674 { ac_try
='test -s conftest.$ac_objext'
38675 { (case "(($ac_try" in
38676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38677 *) ac_try_echo=$ac_try;;
38679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38680 (eval "$ac_try") 2>&5
38682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38683 (exit $ac_status); }; }; then
38684 { echo "$as_me:$LINENO: result: yes" >&5
38685 echo "${ECHO_T}yes" >&6; }
38686 cat >>confdefs.h <<\_ACEOF
38687 #define HAVE__VSNWPRINTF 1
38691 echo "$as_me: failed program was:" >&5
38692 sed 's/^/| /' conftest.$ac_ext >&5
38694 { echo "$as_me:$LINENO: result: no" >&5
38695 echo "${ECHO_T}no" >&6; }
38698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38701 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38703 for wx_func in fnmatch
38705 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38706 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38707 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38708 echo $ECHO_N "(cached) $ECHO_C" >&6
38711 cat >conftest.$ac_ext <<_ACEOF
38715 cat confdefs.h >>conftest.$ac_ext
38716 cat >>conftest.$ac_ext <<_ACEOF
38717 /* end confdefs.h. */
38719 #include <fnmatch.h>
38720 $ac_includes_default
38736 rm -f conftest.$ac_objext conftest$ac_exeext
38737 if { (ac_try="$ac_link"
38738 case "(($ac_try" in
38739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38740 *) ac_try_echo
=$ac_try;;
38742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38743 (eval "$ac_link") 2>conftest.er1
38745 grep -v '^ *+' conftest.er1
>conftest.err
38747 cat conftest.err
>&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } &&
38750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38751 { (case "(($ac_try" in
38752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38753 *) ac_try_echo=$ac_try;;
38755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38756 (eval "$ac_try") 2>&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); }; } &&
38760 { ac_try='test -s conftest$ac_exeext'
38761 { (case "(($ac_try" in
38762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38763 *) ac_try_echo
=$ac_try;;
38765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38766 (eval "$ac_try") 2>&5
38768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38769 (exit $ac_status); }; }; then
38770 eval wx_cv_func_
$wx_func=yes
38772 echo "$as_me: failed program was:" >&5
38773 sed 's/^/| /' conftest.
$ac_ext >&5
38775 eval wx_cv_func_
$wx_func=no
38778 rm -f core conftest.err conftest.
$ac_objext \
38779 conftest
$ac_exeext conftest.
$ac_ext
38782 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38783 { echo "$as_me:$LINENO: result: $ac_res" >&5
38784 echo "${ECHO_T}$ac_res" >&6; }
38786 if eval test \
$wx_cv_func_$wx_func = yes
38788 cat >>confdefs.h
<<_ACEOF
38789 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38801 if test "$wxUSE_FILE" = "yes"; then
38803 for wx_func
in fsync
38805 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38806 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38807 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38808 echo $ECHO_N "(cached) $ECHO_C" >&6
38811 cat >conftest.
$ac_ext <<_ACEOF
38815 cat confdefs.h
>>conftest.
$ac_ext
38816 cat >>conftest.
$ac_ext <<_ACEOF
38817 /* end confdefs.h. */
38820 $ac_includes_default
38836 rm -f conftest.
$ac_objext conftest
$ac_exeext
38837 if { (ac_try
="$ac_link"
38838 case "(($ac_try" in
38839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38840 *) ac_try_echo=$ac_try;;
38842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38843 (eval "$ac_link") 2>conftest.er1
38845 grep -v '^ *+' conftest.er1 >conftest.err
38847 cat conftest.err >&5
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); } &&
38850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38851 { (case "(($ac_try" in
38852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38853 *) ac_try_echo
=$ac_try;;
38855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38856 (eval "$ac_try") 2>&5
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); }; } &&
38860 { ac_try
='test -s conftest$ac_exeext'
38861 { (case "(($ac_try" in
38862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38863 *) ac_try_echo=$ac_try;;
38865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38866 (eval "$ac_try") 2>&5
38868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38869 (exit $ac_status); }; }; then
38870 eval wx_cv_func_$wx_func=yes
38872 echo "$as_me: failed program was:" >&5
38873 sed 's/^/| /' conftest.$ac_ext >&5
38875 eval wx_cv_func_$wx_func=no
38878 rm -f core conftest.err conftest.$ac_objext \
38879 conftest$ac_exeext conftest.$ac_ext
38882 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38883 { echo "$as_me:$LINENO: result: $ac_res" >&5
38884 echo "${ECHO_T}$ac_res" >&6; }
38886 if eval test \$wx_cv_func_$wx_func = yes
38888 cat >>confdefs.h <<_ACEOF
38889 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38902 for wx_func in round
38904 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38905 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38906 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38907 echo $ECHO_N "(cached) $ECHO_C" >&6
38910 cat >conftest.$ac_ext <<_ACEOF
38914 cat confdefs.h >>conftest.$ac_ext
38915 cat >>conftest.$ac_ext <<_ACEOF
38916 /* end confdefs.h. */
38919 $ac_includes_default
38935 rm -f conftest.$ac_objext conftest$ac_exeext
38936 if { (ac_try="$ac_link"
38937 case "(($ac_try" in
38938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38939 *) ac_try_echo
=$ac_try;;
38941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38942 (eval "$ac_link") 2>conftest.er1
38944 grep -v '^ *+' conftest.er1
>conftest.err
38946 cat conftest.err
>&5
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); } &&
38949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38950 { (case "(($ac_try" in
38951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38952 *) ac_try_echo=$ac_try;;
38954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38955 (eval "$ac_try") 2>&5
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); }; } &&
38959 { ac_try='test -s conftest$ac_exeext'
38960 { (case "(($ac_try" in
38961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38962 *) ac_try_echo
=$ac_try;;
38964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38965 (eval "$ac_try") 2>&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); }; }; then
38969 eval wx_cv_func_
$wx_func=yes
38971 echo "$as_me: failed program was:" >&5
38972 sed 's/^/| /' conftest.
$ac_ext >&5
38974 eval wx_cv_func_
$wx_func=no
38977 rm -f core conftest.err conftest.
$ac_objext \
38978 conftest
$ac_exeext conftest.
$ac_ext
38981 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38982 { echo "$as_me:$LINENO: result: $ac_res" >&5
38983 echo "${ECHO_T}$ac_res" >&6; }
38985 if eval test \
$wx_cv_func_$wx_func = yes
38987 cat >>confdefs.h
<<_ACEOF
38988 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38999 if test "$TOOLKIT" != "MSW"; then
39005 # Check whether --with-libiconv-prefix was given.
39006 if test "${with_libiconv_prefix+set}" = set; then
39007 withval
=$with_libiconv_prefix;
39008 for dir
in `echo "$withval" | tr : ' '`; do
39009 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
39010 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
39016 { echo "$as_me:$LINENO: checking for iconv" >&5
39017 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39018 if test "${am_cv_func_iconv+set}" = set; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39022 am_cv_func_iconv
="no, consider installing GNU libiconv"
39024 cat >conftest.
$ac_ext <<_ACEOF
39027 cat confdefs.h
>>conftest.
$ac_ext
39028 cat >>conftest.
$ac_ext <<_ACEOF
39029 /* end confdefs.h. */
39030 #include <stdlib.h>
39035 iconv_t cd = iconv_open("","");
39036 iconv(cd,NULL,NULL,NULL,NULL);
39042 rm -f conftest.
$ac_objext conftest
$ac_exeext
39043 if { (ac_try
="$ac_link"
39044 case "(($ac_try" in
39045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39046 *) ac_try_echo=$ac_try;;
39048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39049 (eval "$ac_link") 2>conftest.er1
39051 grep -v '^ *+' conftest.er1 >conftest.err
39053 cat conftest.err >&5
39054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39055 (exit $ac_status); } &&
39056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39057 { (case "(($ac_try" in
39058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39059 *) ac_try_echo
=$ac_try;;
39061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39062 (eval "$ac_try") 2>&5
39064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065 (exit $ac_status); }; } &&
39066 { ac_try
='test -s conftest$ac_exeext'
39067 { (case "(($ac_try" in
39068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39069 *) ac_try_echo=$ac_try;;
39071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39072 (eval "$ac_try") 2>&5
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); }; }; then
39076 am_cv_func_iconv=yes
39078 echo "$as_me: failed program was:" >&5
39079 sed 's/^/| /' conftest.$ac_ext >&5
39084 rm -f core conftest.err conftest.$ac_objext \
39085 conftest$ac_exeext conftest.$ac_ext
39086 if test "$am_cv_func_iconv" != yes; then
39087 am_save_LIBS="$LIBS"
39088 LIBS="$LIBS -liconv"
39089 cat >conftest.$ac_ext <<_ACEOF
39092 cat confdefs.h >>conftest.$ac_ext
39093 cat >>conftest.$ac_ext <<_ACEOF
39094 /* end confdefs.h. */
39095 #include <stdlib.h>
39100 iconv_t cd = iconv_open("","");
39101 iconv(cd,NULL,NULL,NULL,NULL);
39107 rm -f conftest.$ac_objext conftest$ac_exeext
39108 if { (ac_try="$ac_link"
39109 case "(($ac_try" in
39110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39111 *) ac_try_echo
=$ac_try;;
39113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39114 (eval "$ac_link") 2>conftest.er1
39116 grep -v '^ *+' conftest.er1
>conftest.err
39118 cat conftest.err
>&5
39119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39120 (exit $ac_status); } &&
39121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39122 { (case "(($ac_try" in
39123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39124 *) ac_try_echo=$ac_try;;
39126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39127 (eval "$ac_try") 2>&5
39129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 (exit $ac_status); }; } &&
39131 { ac_try='test -s conftest$ac_exeext'
39132 { (case "(($ac_try" in
39133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39134 *) ac_try_echo
=$ac_try;;
39136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39137 (eval "$ac_try") 2>&5
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); }; }; then
39141 am_cv_lib_iconv
=yes
39142 am_cv_func_iconv
=yes
39144 echo "$as_me: failed program was:" >&5
39145 sed 's/^/| /' conftest.
$ac_ext >&5
39150 rm -f core conftest.err conftest.
$ac_objext \
39151 conftest
$ac_exeext conftest.
$ac_ext
39152 LIBS
="$am_save_LIBS"
39156 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39157 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39158 if test "$am_cv_func_iconv" = yes; then
39160 cat >>confdefs.h
<<\_ACEOF
39161 #define HAVE_ICONV 1
39164 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39165 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39166 if test "${wx_cv_func_iconv_const+set}" = set; then
39167 echo $ECHO_N "(cached) $ECHO_C" >&6
39169 cat >conftest.
$ac_ext <<_ACEOF
39172 cat confdefs.h
>>conftest.
$ac_ext
39173 cat >>conftest.
$ac_ext <<_ACEOF
39174 /* end confdefs.h. */
39176 #include <stdlib.h>
39182 #if defined(__STDC__) || defined(__cplusplus)
39183 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39196 rm -f conftest.
$ac_objext
39197 if { (ac_try
="$ac_compile"
39198 case "(($ac_try" in
39199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39200 *) ac_try_echo=$ac_try;;
39202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39203 (eval "$ac_compile") 2>conftest.er1
39205 grep -v '^ *+' conftest.er1 >conftest.err
39207 cat conftest.err >&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); } &&
39210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39211 { (case "(($ac_try" in
39212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39213 *) ac_try_echo
=$ac_try;;
39215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39216 (eval "$ac_try") 2>&5
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); }; } &&
39220 { ac_try
='test -s conftest.$ac_objext'
39221 { (case "(($ac_try" in
39222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39223 *) ac_try_echo=$ac_try;;
39225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39226 (eval "$ac_try") 2>&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; }; then
39230 wx_cv_func_iconv_const="no"
39232 echo "$as_me: failed program was:" >&5
39233 sed 's/^/| /' conftest.$ac_ext >&5
39235 wx_cv_func_iconv_const="yes"
39239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39242 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39243 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39246 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39247 iconv_const="const"
39251 cat >>confdefs.h <<_ACEOF
39252 #define ICONV_CONST $iconv_const
39257 if test "$am_cv_lib_iconv" = yes; then
39262 LIBS="$LIBICONV $LIBS"
39264 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39266 for ac_func in sigaction
39268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39271 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39274 cat >conftest.$ac_ext <<_ACEOF
39277 cat confdefs.h >>conftest.$ac_ext
39278 cat >>conftest.$ac_ext <<_ACEOF
39279 /* end confdefs.h. */
39280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39282 #define $ac_func innocuous_$ac_func
39284 /* System header to define __stub macros and hopefully few prototypes,
39285 which can conflict with char $ac_func (); below.
39286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39287 <limits.h> exists even on freestanding compilers. */
39290 # include <limits.h>
39292 # include <assert.h>
39297 /* Override any GCC internal prototype to avoid an error.
39298 Use char because int might match the return type of a GCC
39299 builtin and then its argument prototype would still apply. */
39304 /* The GNU C library defines this for functions which it implements
39305 to always fail with ENOSYS. Some functions are actually named
39306 something starting with __ and the normal name is an alias. */
39307 #if defined __stub_$ac_func || defined __stub___$ac_func
39314 return $ac_func ();
39319 rm -f conftest.$ac_objext conftest$ac_exeext
39320 if { (ac_try="$ac_link"
39321 case "(($ac_try" in
39322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39323 *) ac_try_echo
=$ac_try;;
39325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39326 (eval "$ac_link") 2>conftest.er1
39328 grep -v '^ *+' conftest.er1
>conftest.err
39330 cat conftest.err
>&5
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); } &&
39333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39334 { (case "(($ac_try" in
39335 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39336 *) ac_try_echo=$ac_try;;
39338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39339 (eval "$ac_try") 2>&5
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); }; } &&
39343 { ac_try='test -s conftest$ac_exeext'
39344 { (case "(($ac_try" in
39345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39346 *) ac_try_echo
=$ac_try;;
39348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39349 (eval "$ac_try") 2>&5
39351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352 (exit $ac_status); }; }; then
39353 eval "$as_ac_var=yes"
39355 echo "$as_me: failed program was:" >&5
39356 sed 's/^/| /' conftest.
$ac_ext >&5
39358 eval "$as_ac_var=no"
39361 rm -f core conftest.err conftest.
$ac_objext \
39362 conftest
$ac_exeext conftest.
$ac_ext
39364 ac_res
=`eval echo '${'$as_ac_var'}'`
39365 { echo "$as_me:$LINENO: result: $ac_res" >&5
39366 echo "${ECHO_T}$ac_res" >&6; }
39367 if test `eval echo '${'$as_ac_var'}'` = yes; then
39368 cat >>confdefs.h
<<_ACEOF
39369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39376 if test "$ac_cv_func_sigaction" = "no"; then
39377 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39378 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39379 wxUSE_ON_FATAL_EXCEPTION
=no
39382 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39383 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39384 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39385 if test "${wx_cv_type_sa_handler+set}" = set; then
39386 echo $ECHO_N "(cached) $ECHO_C" >&6
39390 ac_cpp
='$CXXCPP $CPPFLAGS'
39391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39395 cat >conftest.
$ac_ext <<_ACEOF
39398 cat confdefs.h
>>conftest.
$ac_ext
39399 cat >>conftest.
$ac_ext <<_ACEOF
39400 /* end confdefs.h. */
39401 #include <signal.h>
39406 extern void testSigHandler(int);
39408 struct sigaction sa;
39409 sa.sa_handler = testSigHandler;
39415 rm -f conftest.
$ac_objext
39416 if { (ac_try
="$ac_compile"
39417 case "(($ac_try" in
39418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39419 *) ac_try_echo=$ac_try;;
39421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39422 (eval "$ac_compile") 2>conftest.er1
39424 grep -v '^ *+' conftest.er1 >conftest.err
39426 cat conftest.err >&5
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); } &&
39429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39430 { (case "(($ac_try" in
39431 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39432 *) ac_try_echo
=$ac_try;;
39434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39435 (eval "$ac_try") 2>&5
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); }; } &&
39439 { ac_try
='test -s conftest.$ac_objext'
39440 { (case "(($ac_try" in
39441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39442 *) ac_try_echo=$ac_try;;
39444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39445 (eval "$ac_try") 2>&5
39447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39448 (exit $ac_status); }; }; then
39450 wx_cv_type_sa_handler=int
39453 echo "$as_me: failed program was:" >&5
39454 sed 's/^/| /' conftest.$ac_ext >&5
39457 wx_cv_type_sa_handler=void
39461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39463 ac_cpp='$CPP $CPPFLAGS'
39464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39470 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39471 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39473 cat >>confdefs.h <<_ACEOF
39474 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39480 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39481 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39482 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39483 if test "${wx_cv_func_backtrace+set}" = set; then
39484 echo $ECHO_N "(cached) $ECHO_C" >&6
39488 ac_cpp='$CXXCPP $CPPFLAGS'
39489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39493 cat >conftest.$ac_ext <<_ACEOF
39496 cat confdefs.h >>conftest.$ac_ext
39497 cat >>conftest.$ac_ext <<_ACEOF
39498 /* end confdefs.h. */
39499 #include <execinfo.h>
39507 backtrace(trace, 1);
39508 messages = backtrace_symbols(trace, 1);
39514 rm -f conftest.$ac_objext
39515 if { (ac_try="$ac_compile"
39516 case "(($ac_try" in
39517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39518 *) ac_try_echo
=$ac_try;;
39520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39521 (eval "$ac_compile") 2>conftest.er1
39523 grep -v '^ *+' conftest.er1
>conftest.err
39525 cat conftest.err
>&5
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); } &&
39528 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39529 { (case "(($ac_try" in
39530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39531 *) ac_try_echo=$ac_try;;
39533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39534 (eval "$ac_try") 2>&5
39536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39537 (exit $ac_status); }; } &&
39538 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
39548 wx_cv_func_backtrace
=yes
39550 echo "$as_me: failed program was:" >&5
39551 sed 's/^/| /' conftest.
$ac_ext >&5
39553 wx_cv_func_backtrace
=no
39557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39559 ac_cpp
='$CPP $CPPFLAGS'
39560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39567 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39568 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39571 if test "$wx_cv_func_backtrace" = "no"; then
39572 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39573 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39574 wxUSE_STACKWALKER
=no
39576 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39577 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39578 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39579 echo $ECHO_N "(cached) $ECHO_C" >&6
39583 ac_cpp
='$CXXCPP $CPPFLAGS'
39584 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39585 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39586 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39588 cat >conftest.
$ac_ext <<_ACEOF
39591 cat confdefs.h
>>conftest.
$ac_ext
39592 cat >>conftest.
$ac_ext <<_ACEOF
39593 /* end confdefs.h. */
39594 #include <cxxabi.h>
39600 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39606 rm -f conftest.
$ac_objext conftest
$ac_exeext
39607 if { (ac_try
="$ac_link"
39608 case "(($ac_try" in
39609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39610 *) ac_try_echo=$ac_try;;
39612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39613 (eval "$ac_link") 2>conftest.er1
39615 grep -v '^ *+' conftest.er1 >conftest.err
39617 cat conftest.err >&5
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); } &&
39620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39621 { (case "(($ac_try" in
39622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39623 *) ac_try_echo
=$ac_try;;
39625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39626 (eval "$ac_try") 2>&5
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); }; } &&
39630 { ac_try
='test -s conftest$ac_exeext'
39631 { (case "(($ac_try" in
39632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39633 *) ac_try_echo=$ac_try;;
39635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39636 (eval "$ac_try") 2>&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); }; }; then
39640 wx_cv_func_cxa_demangle=yes
39642 echo "$as_me: failed program was:" >&5
39643 sed 's/^/| /' conftest.$ac_ext >&5
39645 wx_cv_func_cxa_demangle=no
39649 rm -f core conftest.err conftest.$ac_objext \
39650 conftest$ac_exeext conftest.$ac_ext
39652 ac_cpp='$CPP $CPPFLAGS'
39653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39660 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39661 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39663 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39664 cat >>confdefs.h <<\_ACEOF
39665 #define HAVE_CXA_DEMANGLE 1
39672 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39673 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39674 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39675 wxUSE_STACKWALKER=no
39681 for ac_func in mkstemp mktemp
39683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39686 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39687 echo $ECHO_N "(cached) $ECHO_C" >&6
39689 cat >conftest.$ac_ext <<_ACEOF
39692 cat confdefs.h >>conftest.$ac_ext
39693 cat >>conftest.$ac_ext <<_ACEOF
39694 /* end confdefs.h. */
39695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39697 #define $ac_func innocuous_$ac_func
39699 /* System header to define __stub macros and hopefully few prototypes,
39700 which can conflict with char $ac_func (); below.
39701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39702 <limits.h> exists even on freestanding compilers. */
39705 # include <limits.h>
39707 # include <assert.h>
39712 /* Override any GCC internal prototype to avoid an error.
39713 Use char because int might match the return type of a GCC
39714 builtin and then its argument prototype would still apply. */
39719 /* The GNU C library defines this for functions which it implements
39720 to always fail with ENOSYS. Some functions are actually named
39721 something starting with __ and the normal name is an alias. */
39722 #if defined __stub_$ac_func || defined __stub___$ac_func
39729 return $ac_func ();
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (ac_try="$ac_link"
39736 case "(($ac_try" in
39737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39738 *) ac_try_echo
=$ac_try;;
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_link") 2>conftest.er1
39743 grep -v '^ *+' conftest.er1
>conftest.err
39745 cat conftest.err
>&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } &&
39748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39749 { (case "(($ac_try" in
39750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39751 *) ac_try_echo=$ac_try;;
39753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39754 (eval "$ac_try") 2>&5
39756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39757 (exit $ac_status); }; } &&
39758 { ac_try='test -s conftest$ac_exeext'
39759 { (case "(($ac_try" in
39760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39761 *) ac_try_echo
=$ac_try;;
39763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39764 (eval "$ac_try") 2>&5
39766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767 (exit $ac_status); }; }; then
39768 eval "$as_ac_var=yes"
39770 echo "$as_me: failed program was:" >&5
39771 sed 's/^/| /' conftest.
$ac_ext >&5
39773 eval "$as_ac_var=no"
39776 rm -f core conftest.err conftest.
$ac_objext \
39777 conftest
$ac_exeext conftest.
$ac_ext
39779 ac_res
=`eval echo '${'$as_ac_var'}'`
39780 { echo "$as_me:$LINENO: result: $ac_res" >&5
39781 echo "${ECHO_T}$ac_res" >&6; }
39782 if test `eval echo '${'$as_ac_var'}'` = yes; then
39783 cat >>confdefs.h
<<_ACEOF
39784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39791 { echo "$as_me:$LINENO: checking for statfs" >&5
39792 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39793 if test "${wx_cv_func_statfs+set}" = set; then
39794 echo $ECHO_N "(cached) $ECHO_C" >&6
39796 cat >conftest.
$ac_ext <<_ACEOF
39799 cat confdefs.h
>>conftest.
$ac_ext
39800 cat >>conftest.
$ac_ext <<_ACEOF
39801 /* end confdefs.h. */
39803 #if defined(__BSD__)
39804 #include <sys/param.h>
39805 #include <sys/mount.h>
39807 #include <sys/vfs.h>
39825 rm -f conftest.
$ac_objext
39826 if { (ac_try
="$ac_compile"
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_compile") 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_objext'
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 wx_cv_func_statfs=yes
39861 echo "$as_me: failed program was:" >&5
39862 sed 's/^/| /' conftest.$ac_ext >&5
39864 wx_cv_func_statfs=no
39868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39871 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39872 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39874 if test "$wx_cv_func_statfs" = "yes"; then
39875 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39876 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39877 if test "${wx_cv_func_statfs_decl+set}" = set; then
39878 echo $ECHO_N "(cached) $ECHO_C" >&6
39881 ac_cpp='$CXXCPP $CPPFLAGS'
39882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39886 cat >conftest.$ac_ext <<_ACEOF
39889 cat confdefs.h >>conftest.$ac_ext
39890 cat >>conftest.$ac_ext <<_ACEOF
39891 /* end confdefs.h. */
39893 #if defined(__BSD__)
39894 #include <sys/param.h>
39895 #include <sys/mount.h>
39897 #include <sys/vfs.h>
39911 rm -f conftest.$ac_objext
39912 if { (ac_try="$ac_compile"
39913 case "(($ac_try" in
39914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39915 *) ac_try_echo
=$ac_try;;
39917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39918 (eval "$ac_compile") 2>conftest.er1
39920 grep -v '^ *+' conftest.er1
>conftest.err
39922 cat conftest.err
>&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); } &&
39925 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39926 { (case "(($ac_try" in
39927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39928 *) ac_try_echo=$ac_try;;
39930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39931 (eval "$ac_try") 2>&5
39933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39934 (exit $ac_status); }; } &&
39935 { ac_try='test -s conftest.$ac_objext'
39936 { (case "(($ac_try" in
39937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39938 *) ac_try_echo
=$ac_try;;
39940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39941 (eval "$ac_try") 2>&5
39943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944 (exit $ac_status); }; }; then
39945 wx_cv_func_statfs_decl
=yes
39947 echo "$as_me: failed program was:" >&5
39948 sed 's/^/| /' conftest.
$ac_ext >&5
39950 wx_cv_func_statfs_decl
=no
39954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39956 ac_cpp
='$CPP $CPPFLAGS'
39957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39963 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39964 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39966 if test "$wx_cv_func_statfs_decl" = "yes"; then
39967 cat >>confdefs.h
<<\_ACEOF
39968 #define HAVE_STATFS_DECL 1
39973 wx_cv_type_statvfs_t
="struct statfs"
39974 cat >>confdefs.h
<<\_ACEOF
39975 #define HAVE_STATFS 1
39979 { echo "$as_me:$LINENO: checking for statvfs" >&5
39980 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39981 if test "${wx_cv_func_statvfs+set}" = set; then
39982 echo $ECHO_N "(cached) $ECHO_C" >&6
39984 cat >conftest.
$ac_ext <<_ACEOF
39987 cat confdefs.h
>>conftest.
$ac_ext
39988 cat >>conftest.
$ac_ext <<_ACEOF
39989 /* end confdefs.h. */
39991 #include <stddef.h>
39992 #include <sys/statvfs.h>
39998 statvfs("/", NULL);
40004 rm -f conftest.
$ac_objext
40005 if { (ac_try
="$ac_compile"
40006 case "(($ac_try" in
40007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40008 *) ac_try_echo=$ac_try;;
40010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40011 (eval "$ac_compile") 2>conftest.er1
40013 grep -v '^ *+' conftest.er1 >conftest.err
40015 cat conftest.err >&5
40016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017 (exit $ac_status); } &&
40018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40019 { (case "(($ac_try" in
40020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40021 *) ac_try_echo
=$ac_try;;
40023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40024 (eval "$ac_try") 2>&5
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); }; } &&
40028 { ac_try
='test -s conftest.$ac_objext'
40029 { (case "(($ac_try" in
40030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40031 *) ac_try_echo=$ac_try;;
40033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40034 (eval "$ac_try") 2>&5
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); }; }; then
40038 wx_cv_func_statvfs=yes
40040 echo "$as_me: failed program was:" >&5
40041 sed 's/^/| /' conftest.$ac_ext >&5
40043 wx_cv_func_statvfs=no
40047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40050 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40051 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40053 if test "$wx_cv_func_statvfs" = "yes"; then
40054 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40055 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40056 if test "${wx_cv_type_statvfs_t+set}" = set; then
40057 echo $ECHO_N "(cached) $ECHO_C" >&6
40060 ac_cpp='$CXXCPP $CPPFLAGS'
40061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40065 cat >conftest.$ac_ext <<_ACEOF
40068 cat confdefs.h >>conftest.$ac_ext
40069 cat >>conftest.$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40072 #include <sys/statvfs.h>
40089 rm -f conftest.$ac_objext
40090 if { (ac_try="$ac_compile"
40091 case "(($ac_try" in
40092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40093 *) ac_try_echo
=$ac_try;;
40095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40096 (eval "$ac_compile") 2>conftest.er1
40098 grep -v '^ *+' conftest.er1
>conftest.err
40100 cat conftest.err
>&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } &&
40103 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40104 { (case "(($ac_try" in
40105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40106 *) ac_try_echo=$ac_try;;
40108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40109 (eval "$ac_try") 2>&5
40111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40112 (exit $ac_status); }; } &&
40113 { ac_try='test -s conftest.$ac_objext'
40114 { (case "(($ac_try" in
40115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40116 *) ac_try_echo
=$ac_try;;
40118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40119 (eval "$ac_try") 2>&5
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); }; }; then
40123 wx_cv_type_statvfs_t
=statvfs_t
40125 echo "$as_me: failed program was:" >&5
40126 sed 's/^/| /' conftest.
$ac_ext >&5
40129 cat >conftest.
$ac_ext <<_ACEOF
40132 cat confdefs.h
>>conftest.
$ac_ext
40133 cat >>conftest.
$ac_ext <<_ACEOF
40134 /* end confdefs.h. */
40136 #include <sys/statvfs.h>
40153 rm -f conftest.
$ac_objext
40154 if { (ac_try
="$ac_compile"
40155 case "(($ac_try" in
40156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40157 *) ac_try_echo=$ac_try;;
40159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40160 (eval "$ac_compile") 2>conftest.er1
40162 grep -v '^ *+' conftest.er1 >conftest.err
40164 cat conftest.err >&5
40165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40166 (exit $ac_status); } &&
40167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40168 { (case "(($ac_try" in
40169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40170 *) ac_try_echo
=$ac_try;;
40172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40173 (eval "$ac_try") 2>&5
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); }; } &&
40177 { ac_try
='test -s conftest.$ac_objext'
40178 { (case "(($ac_try" in
40179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40180 *) ac_try_echo=$ac_try;;
40182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40183 (eval "$ac_try") 2>&5
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); }; }; then
40187 wx_cv_type_statvfs_t="struct statvfs"
40189 echo "$as_me: failed program was:" >&5
40190 sed 's/^/| /' conftest.$ac_ext >&5
40192 wx_cv_type_statvfs_t="unknown"
40196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40203 ac_cpp='$CPP $CPPFLAGS'
40204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40210 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40211 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40213 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40214 cat >>confdefs.h <<\_ACEOF
40215 #define HAVE_STATVFS 1
40220 wx_cv_type_statvfs_t="unknown"
40224 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40225 cat >>confdefs.h <<_ACEOF
40226 #define WX_STATFS_T $wx_cv_type_statvfs_t
40230 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40231 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40234 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40237 for ac_func in fcntl flock
40239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40240 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40242 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40243 echo $ECHO_N "(cached) $ECHO_C" >&6
40245 cat >conftest.$ac_ext <<_ACEOF
40248 cat confdefs.h >>conftest.$ac_ext
40249 cat >>conftest.$ac_ext <<_ACEOF
40250 /* end confdefs.h. */
40251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40253 #define $ac_func innocuous_$ac_func
40255 /* System header to define __stub macros and hopefully few prototypes,
40256 which can conflict with char $ac_func (); below.
40257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40258 <limits.h> exists even on freestanding compilers. */
40261 # include <limits.h>
40263 # include <assert.h>
40268 /* Override any GCC internal prototype to avoid an error.
40269 Use char because int might match the return type of a GCC
40270 builtin and then its argument prototype would still apply. */
40275 /* The GNU C library defines this for functions which it implements
40276 to always fail with ENOSYS. Some functions are actually named
40277 something starting with __ and the normal name is an alias. */
40278 #if defined __stub_$ac_func || defined __stub___$ac_func
40285 return $ac_func ();
40290 rm -f conftest.$ac_objext conftest$ac_exeext
40291 if { (ac_try="$ac_link"
40292 case "(($ac_try" in
40293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40294 *) ac_try_echo
=$ac_try;;
40296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40297 (eval "$ac_link") 2>conftest.er1
40299 grep -v '^ *+' conftest.er1
>conftest.err
40301 cat conftest.err
>&5
40302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40303 (exit $ac_status); } &&
40304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40305 { (case "(($ac_try" in
40306 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40307 *) ac_try_echo=$ac_try;;
40309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40310 (eval "$ac_try") 2>&5
40312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40313 (exit $ac_status); }; } &&
40314 { ac_try='test -s conftest$ac_exeext'
40315 { (case "(($ac_try" in
40316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40317 *) ac_try_echo
=$ac_try;;
40319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40320 (eval "$ac_try") 2>&5
40322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40323 (exit $ac_status); }; }; then
40324 eval "$as_ac_var=yes"
40326 echo "$as_me: failed program was:" >&5
40327 sed 's/^/| /' conftest.
$ac_ext >&5
40329 eval "$as_ac_var=no"
40332 rm -f core conftest.err conftest.
$ac_objext \
40333 conftest
$ac_exeext conftest.
$ac_ext
40335 ac_res
=`eval echo '${'$as_ac_var'}'`
40336 { echo "$as_me:$LINENO: result: $ac_res" >&5
40337 echo "${ECHO_T}$ac_res" >&6; }
40338 if test `eval echo '${'$as_ac_var'}'` = yes; then
40339 cat >>confdefs.h
<<_ACEOF
40340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40347 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40348 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40349 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40350 wxUSE_SNGLINST_CHECKER
=no
40355 for ac_func
in timegm
40357 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40360 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40361 echo $ECHO_N "(cached) $ECHO_C" >&6
40363 cat >conftest.
$ac_ext <<_ACEOF
40366 cat confdefs.h
>>conftest.
$ac_ext
40367 cat >>conftest.
$ac_ext <<_ACEOF
40368 /* end confdefs.h. */
40369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40371 #define $ac_func innocuous_$ac_func
40373 /* System header to define __stub macros and hopefully few prototypes,
40374 which can conflict with char $ac_func (); below.
40375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40376 <limits.h> exists even on freestanding compilers. */
40379 # include <limits.h>
40381 # include <assert.h>
40386 /* Override any GCC internal prototype to avoid an error.
40387 Use char because int might match the return type of a GCC
40388 builtin and then its argument prototype would still apply. */
40393 /* The GNU C library defines this for functions which it implements
40394 to always fail with ENOSYS. Some functions are actually named
40395 something starting with __ and the normal name is an alias. */
40396 #if defined __stub_$ac_func || defined __stub___$ac_func
40403 return $ac_func ();
40408 rm -f conftest.
$ac_objext conftest
$ac_exeext
40409 if { (ac_try
="$ac_link"
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_link") 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_exeext'
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 eval "$as_ac_var=yes"
40444 echo "$as_me: failed program was:" >&5
40445 sed 's/^/| /' conftest.$ac_ext >&5
40447 eval "$as_ac_var=no"
40450 rm -f core conftest.err conftest.$ac_objext \
40451 conftest$ac_exeext conftest.$ac_ext
40453 ac_res=`eval echo '${'$as_ac_var'}'`
40454 { echo "$as_me:$LINENO: result: $ac_res" >&5
40455 echo "${ECHO_T}$ac_res" >&6; }
40456 if test `eval echo '${'$as_ac_var'}'` = yes; then
40457 cat >>confdefs.h <<_ACEOF
40458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40467 for ac_func in putenv setenv
40469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40473 echo $ECHO_N "(cached) $ECHO_C" >&6
40475 cat >conftest.$ac_ext <<_ACEOF
40478 cat confdefs.h >>conftest.$ac_ext
40479 cat >>conftest.$ac_ext <<_ACEOF
40480 /* end confdefs.h. */
40481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40483 #define $ac_func innocuous_$ac_func
40485 /* System header to define __stub macros and hopefully few prototypes,
40486 which can conflict with char $ac_func (); below.
40487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40488 <limits.h> exists even on freestanding compilers. */
40491 # include <limits.h>
40493 # include <assert.h>
40498 /* Override any GCC internal prototype to avoid an error.
40499 Use char because int might match the return type of a GCC
40500 builtin and then its argument prototype would still apply. */
40505 /* The GNU C library defines this for functions which it implements
40506 to always fail with ENOSYS. Some functions are actually named
40507 something starting with __ and the normal name is an alias. */
40508 #if defined __stub_$ac_func || defined __stub___$ac_func
40515 return $ac_func ();
40520 rm -f conftest.$ac_objext conftest$ac_exeext
40521 if { (ac_try="$ac_link"
40522 case "(($ac_try" in
40523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40524 *) ac_try_echo
=$ac_try;;
40526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40527 (eval "$ac_link") 2>conftest.er1
40529 grep -v '^ *+' conftest.er1
>conftest.err
40531 cat conftest.err
>&5
40532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40533 (exit $ac_status); } &&
40534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40535 { (case "(($ac_try" in
40536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40537 *) ac_try_echo=$ac_try;;
40539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40540 (eval "$ac_try") 2>&5
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); }; } &&
40544 { ac_try='test -s conftest$ac_exeext'
40545 { (case "(($ac_try" in
40546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40547 *) ac_try_echo
=$ac_try;;
40549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40550 (eval "$ac_try") 2>&5
40552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40553 (exit $ac_status); }; }; then
40554 eval "$as_ac_var=yes"
40556 echo "$as_me: failed program was:" >&5
40557 sed 's/^/| /' conftest.
$ac_ext >&5
40559 eval "$as_ac_var=no"
40562 rm -f core conftest.err conftest.
$ac_objext \
40563 conftest
$ac_exeext conftest.
$ac_ext
40565 ac_res
=`eval echo '${'$as_ac_var'}'`
40566 { echo "$as_me:$LINENO: result: $ac_res" >&5
40567 echo "${ECHO_T}$ac_res" >&6; }
40568 if test `eval echo '${'$as_ac_var'}'` = yes; then
40569 cat >>confdefs.h
<<_ACEOF
40570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40577 HAVE_SOME_SLEEP_FUNC
=0
40578 if test "$USE_BEOS" = 1; then
40579 cat >>confdefs.h
<<\_ACEOF
40580 #define HAVE_SLEEP 1
40583 HAVE_SOME_SLEEP_FUNC
=1
40586 if test "$USE_DARWIN" = 1; then
40587 cat >>confdefs.h
<<\_ACEOF
40588 #define HAVE_USLEEP 1
40591 HAVE_SOME_SLEEP_FUNC
=1
40594 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40597 for ac_func
in nanosleep
40599 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40602 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40603 echo $ECHO_N "(cached) $ECHO_C" >&6
40605 cat >conftest.
$ac_ext <<_ACEOF
40608 cat confdefs.h
>>conftest.
$ac_ext
40609 cat >>conftest.
$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40613 #define $ac_func innocuous_$ac_func
40615 /* System header to define __stub macros and hopefully few prototypes,
40616 which can conflict with char $ac_func (); below.
40617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40618 <limits.h> exists even on freestanding compilers. */
40621 # include <limits.h>
40623 # include <assert.h>
40628 /* Override any GCC internal prototype to avoid an error.
40629 Use char because int might match the return type of a GCC
40630 builtin and then its argument prototype would still apply. */
40635 /* The GNU C library defines this for functions which it implements
40636 to always fail with ENOSYS. Some functions are actually named
40637 something starting with __ and the normal name is an alias. */
40638 #if defined __stub_$ac_func || defined __stub___$ac_func
40645 return $ac_func ();
40650 rm -f conftest.
$ac_objext conftest
$ac_exeext
40651 if { (ac_try
="$ac_link"
40652 case "(($ac_try" in
40653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40654 *) ac_try_echo=$ac_try;;
40656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40657 (eval "$ac_link") 2>conftest.er1
40659 grep -v '^ *+' conftest.er1 >conftest.err
40661 cat conftest.err >&5
40662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663 (exit $ac_status); } &&
40664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40665 { (case "(($ac_try" in
40666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40667 *) ac_try_echo
=$ac_try;;
40669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40670 (eval "$ac_try") 2>&5
40672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673 (exit $ac_status); }; } &&
40674 { ac_try
='test -s conftest$ac_exeext'
40675 { (case "(($ac_try" in
40676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40677 *) ac_try_echo=$ac_try;;
40679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40680 (eval "$ac_try") 2>&5
40682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40683 (exit $ac_status); }; }; then
40684 eval "$as_ac_var=yes"
40686 echo "$as_me: failed program was:" >&5
40687 sed 's/^/| /' conftest.$ac_ext >&5
40689 eval "$as_ac_var=no"
40692 rm -f core conftest.err conftest.$ac_objext \
40693 conftest$ac_exeext conftest.$ac_ext
40695 ac_res=`eval echo '${'$as_ac_var'}'`
40696 { echo "$as_me:$LINENO: result: $ac_res" >&5
40697 echo "${ECHO_T}$ac_res" >&6; }
40698 if test `eval echo '${'$as_ac_var'}'` = yes; then
40699 cat >>confdefs.h <<_ACEOF
40700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40702 cat >>confdefs.h <<\_ACEOF
40703 #define HAVE_NANOSLEEP 1
40708 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40709 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40710 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40711 echo $ECHO_N "(cached) $ECHO_C" >&6
40713 ac_check_lib_save_LIBS=$LIBS
40714 LIBS="-lposix4 $LIBS"
40715 cat >conftest.$ac_ext <<_ACEOF
40718 cat confdefs.h >>conftest.$ac_ext
40719 cat >>conftest.$ac_ext <<_ACEOF
40720 /* end confdefs.h. */
40722 /* Override any GCC internal prototype to avoid an error.
40723 Use char because int might match the return type of a GCC
40724 builtin and then its argument prototype would still apply. */
40732 return nanosleep ();
40737 rm -f conftest.$ac_objext conftest$ac_exeext
40738 if { (ac_try="$ac_link"
40739 case "(($ac_try" in
40740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40741 *) ac_try_echo
=$ac_try;;
40743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40744 (eval "$ac_link") 2>conftest.er1
40746 grep -v '^ *+' conftest.er1
>conftest.err
40748 cat conftest.err
>&5
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); } &&
40751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40752 { (case "(($ac_try" in
40753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40754 *) ac_try_echo=$ac_try;;
40756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40757 (eval "$ac_try") 2>&5
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); }; } &&
40761 { ac_try='test -s conftest$ac_exeext'
40762 { (case "(($ac_try" in
40763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40764 *) ac_try_echo
=$ac_try;;
40766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40767 (eval "$ac_try") 2>&5
40769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770 (exit $ac_status); }; }; then
40771 ac_cv_lib_posix4_nanosleep
=yes
40773 echo "$as_me: failed program was:" >&5
40774 sed 's/^/| /' conftest.
$ac_ext >&5
40776 ac_cv_lib_posix4_nanosleep
=no
40779 rm -f core conftest.err conftest.
$ac_objext \
40780 conftest
$ac_exeext conftest.
$ac_ext
40781 LIBS
=$ac_check_lib_save_LIBS
40783 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40784 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40785 if test $ac_cv_lib_posix4_nanosleep = yes; then
40787 cat >>confdefs.h
<<\_ACEOF
40788 #define HAVE_NANOSLEEP 1
40791 POSIX4_LINK
=" -lposix4"
40796 for wx_func
in usleep
40798 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40799 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40800 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40801 echo $ECHO_N "(cached) $ECHO_C" >&6
40804 cat >conftest.
$ac_ext <<_ACEOF
40808 cat confdefs.h
>>conftest.
$ac_ext
40809 cat >>conftest.
$ac_ext <<_ACEOF
40810 /* end confdefs.h. */
40813 $ac_includes_default
40829 rm -f conftest.
$ac_objext conftest
$ac_exeext
40830 if { (ac_try
="$ac_link"
40831 case "(($ac_try" in
40832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40833 *) ac_try_echo=$ac_try;;
40835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40836 (eval "$ac_link") 2>conftest.er1
40838 grep -v '^ *+' conftest.er1 >conftest.err
40840 cat conftest.err >&5
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); } &&
40843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40844 { (case "(($ac_try" in
40845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40846 *) ac_try_echo
=$ac_try;;
40848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40849 (eval "$ac_try") 2>&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); }; } &&
40853 { ac_try
='test -s conftest$ac_exeext'
40854 { (case "(($ac_try" in
40855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40856 *) ac_try_echo=$ac_try;;
40858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40859 (eval "$ac_try") 2>&5
40861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40862 (exit $ac_status); }; }; then
40863 eval wx_cv_func_$wx_func=yes
40865 echo "$as_me: failed program was:" >&5
40866 sed 's/^/| /' conftest.$ac_ext >&5
40868 eval wx_cv_func_$wx_func=no
40871 rm -f core conftest.err conftest.$ac_objext \
40872 conftest$ac_exeext conftest.$ac_ext
40875 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40876 { echo "$as_me:$LINENO: result: $ac_res" >&5
40877 echo "${ECHO_T}$ac_res" >&6; }
40879 if eval test \$wx_cv_func_$wx_func = yes
40881 cat >>confdefs.h <<_ACEOF
40882 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40888 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40889 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40906 for wx_func in uname
40908 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40909 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40910 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40911 echo $ECHO_N "(cached) $ECHO_C" >&6
40914 cat >conftest.$ac_ext <<_ACEOF
40918 cat confdefs.h >>conftest.$ac_ext
40919 cat >>conftest.$ac_ext <<_ACEOF
40920 /* end confdefs.h. */
40922 #include <sys/utsname.h>
40923 $ac_includes_default
40939 rm -f conftest.$ac_objext conftest$ac_exeext
40940 if { (ac_try="$ac_link"
40941 case "(($ac_try" in
40942 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40943 *) ac_try_echo
=$ac_try;;
40945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40946 (eval "$ac_link") 2>conftest.er1
40948 grep -v '^ *+' conftest.er1
>conftest.err
40950 cat conftest.err
>&5
40951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40952 (exit $ac_status); } &&
40953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40954 { (case "(($ac_try" in
40955 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40956 *) ac_try_echo=$ac_try;;
40958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40959 (eval "$ac_try") 2>&5
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); }; } &&
40963 { ac_try='test -s conftest$ac_exeext'
40964 { (case "(($ac_try" in
40965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40966 *) ac_try_echo
=$ac_try;;
40968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40969 (eval "$ac_try") 2>&5
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); }; }; then
40973 eval wx_cv_func_
$wx_func=yes
40975 echo "$as_me: failed program was:" >&5
40976 sed 's/^/| /' conftest.
$ac_ext >&5
40978 eval wx_cv_func_
$wx_func=no
40981 rm -f core conftest.err conftest.
$ac_objext \
40982 conftest
$ac_exeext conftest.
$ac_ext
40985 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40986 { echo "$as_me:$LINENO: result: $ac_res" >&5
40987 echo "${ECHO_T}$ac_res" >&6; }
40989 if eval test \
$wx_cv_func_$wx_func = yes
40991 cat >>confdefs.h
<<_ACEOF
40992 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41002 if test "$wx_cv_func_uname" != yes; then
41004 for wx_func
in gethostname
41006 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41007 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41008 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41009 echo $ECHO_N "(cached) $ECHO_C" >&6
41012 cat >conftest.
$ac_ext <<_ACEOF
41016 cat confdefs.h
>>conftest.
$ac_ext
41017 cat >>conftest.
$ac_ext <<_ACEOF
41018 /* end confdefs.h. */
41021 $ac_includes_default
41037 rm -f conftest.
$ac_objext conftest
$ac_exeext
41038 if { (ac_try
="$ac_link"
41039 case "(($ac_try" in
41040 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41041 *) ac_try_echo=$ac_try;;
41043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41044 (eval "$ac_link") 2>conftest.er1
41046 grep -v '^ *+' conftest.er1 >conftest.err
41048 cat conftest.err >&5
41049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41050 (exit $ac_status); } &&
41051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41052 { (case "(($ac_try" in
41053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41054 *) ac_try_echo
=$ac_try;;
41056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41057 (eval "$ac_try") 2>&5
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); }; } &&
41061 { ac_try
='test -s conftest$ac_exeext'
41062 { (case "(($ac_try" in
41063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41064 *) ac_try_echo=$ac_try;;
41066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41067 (eval "$ac_try") 2>&5
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); }; }; then
41071 eval wx_cv_func_$wx_func=yes
41073 echo "$as_me: failed program was:" >&5
41074 sed 's/^/| /' conftest.$ac_ext >&5
41076 eval wx_cv_func_$wx_func=no
41079 rm -f core conftest.err conftest.$ac_objext \
41080 conftest$ac_exeext conftest.$ac_ext
41083 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41084 { echo "$as_me:$LINENO: result: $ac_res" >&5
41085 echo "${ECHO_T}$ac_res" >&6; }
41087 if eval test \$wx_cv_func_$wx_func = yes
41089 cat >>confdefs.h <<_ACEOF
41090 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41103 for wx_func in strtok_r
41105 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41106 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41107 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41108 echo $ECHO_N "(cached) $ECHO_C" >&6
41111 cat >conftest.$ac_ext <<_ACEOF
41115 cat confdefs.h >>conftest.$ac_ext
41116 cat >>conftest.$ac_ext <<_ACEOF
41117 /* end confdefs.h. */
41120 $ac_includes_default
41136 rm -f conftest.$ac_objext conftest$ac_exeext
41137 if { (ac_try="$ac_link"
41138 case "(($ac_try" in
41139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41140 *) ac_try_echo
=$ac_try;;
41142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41143 (eval "$ac_link") 2>conftest.er1
41145 grep -v '^ *+' conftest.er1
>conftest.err
41147 cat conftest.err
>&5
41148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41149 (exit $ac_status); } &&
41150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41151 { (case "(($ac_try" in
41152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41153 *) ac_try_echo=$ac_try;;
41155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41156 (eval "$ac_try") 2>&5
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); }; } &&
41160 { ac_try='test -s conftest$ac_exeext'
41161 { (case "(($ac_try" in
41162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41163 *) ac_try_echo
=$ac_try;;
41165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41166 (eval "$ac_try") 2>&5
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); }; }; then
41170 eval wx_cv_func_
$wx_func=yes
41172 echo "$as_me: failed program was:" >&5
41173 sed 's/^/| /' conftest.
$ac_ext >&5
41175 eval wx_cv_func_
$wx_func=no
41178 rm -f core conftest.err conftest.
$ac_objext \
41179 conftest
$ac_exeext conftest.
$ac_ext
41182 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41183 { echo "$as_me:$LINENO: result: $ac_res" >&5
41184 echo "${ECHO_T}$ac_res" >&6; }
41186 if eval test \
$wx_cv_func_$wx_func = yes
41188 cat >>confdefs.h
<<_ACEOF
41189 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41202 for ac_func
in inet_addr
41204 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41207 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41208 echo $ECHO_N "(cached) $ECHO_C" >&6
41210 cat >conftest.
$ac_ext <<_ACEOF
41213 cat confdefs.h
>>conftest.
$ac_ext
41214 cat >>conftest.
$ac_ext <<_ACEOF
41215 /* end confdefs.h. */
41216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41218 #define $ac_func innocuous_$ac_func
41220 /* System header to define __stub macros and hopefully few prototypes,
41221 which can conflict with char $ac_func (); below.
41222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41223 <limits.h> exists even on freestanding compilers. */
41226 # include <limits.h>
41228 # include <assert.h>
41233 /* Override any GCC internal prototype to avoid an error.
41234 Use char because int might match the return type of a GCC
41235 builtin and then its argument prototype would still apply. */
41240 /* The GNU C library defines this for functions which it implements
41241 to always fail with ENOSYS. Some functions are actually named
41242 something starting with __ and the normal name is an alias. */
41243 #if defined __stub_$ac_func || defined __stub___$ac_func
41250 return $ac_func ();
41255 rm -f conftest.
$ac_objext conftest
$ac_exeext
41256 if { (ac_try
="$ac_link"
41257 case "(($ac_try" in
41258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41259 *) ac_try_echo=$ac_try;;
41261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41262 (eval "$ac_link") 2>conftest.er1
41264 grep -v '^ *+' conftest.er1 >conftest.err
41266 cat conftest.err >&5
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); } &&
41269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41270 { (case "(($ac_try" in
41271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41272 *) ac_try_echo
=$ac_try;;
41274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41275 (eval "$ac_try") 2>&5
41277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41278 (exit $ac_status); }; } &&
41279 { ac_try
='test -s conftest$ac_exeext'
41280 { (case "(($ac_try" in
41281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41282 *) ac_try_echo=$ac_try;;
41284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41285 (eval "$ac_try") 2>&5
41287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288 (exit $ac_status); }; }; then
41289 eval "$as_ac_var=yes"
41291 echo "$as_me: failed program was:" >&5
41292 sed 's/^/| /' conftest.$ac_ext >&5
41294 eval "$as_ac_var=no"
41297 rm -f core conftest.err conftest.$ac_objext \
41298 conftest$ac_exeext conftest.$ac_ext
41300 ac_res=`eval echo '${'$as_ac_var'}'`
41301 { echo "$as_me:$LINENO: result: $ac_res" >&5
41302 echo "${ECHO_T}$ac_res" >&6; }
41303 if test `eval echo '${'$as_ac_var'}'` = yes; then
41304 cat >>confdefs.h <<_ACEOF
41305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41307 cat >>confdefs.h <<\_ACEOF
41308 #define HAVE_INET_ADDR 1
41313 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41314 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41315 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41316 echo $ECHO_N "(cached) $ECHO_C" >&6
41318 ac_check_lib_save_LIBS=$LIBS
41320 cat >conftest.$ac_ext <<_ACEOF
41323 cat confdefs.h >>conftest.$ac_ext
41324 cat >>conftest.$ac_ext <<_ACEOF
41325 /* end confdefs.h. */
41327 /* Override any GCC internal prototype to avoid an error.
41328 Use char because int might match the return type of a GCC
41329 builtin and then its argument prototype would still apply. */
41337 return inet_addr ();
41342 rm -f conftest.$ac_objext conftest$ac_exeext
41343 if { (ac_try="$ac_link"
41344 case "(($ac_try" in
41345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41346 *) ac_try_echo
=$ac_try;;
41348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41349 (eval "$ac_link") 2>conftest.er1
41351 grep -v '^ *+' conftest.er1
>conftest.err
41353 cat conftest.err
>&5
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); } &&
41356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41357 { (case "(($ac_try" in
41358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41359 *) ac_try_echo=$ac_try;;
41361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41362 (eval "$ac_try") 2>&5
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); }; } &&
41366 { ac_try='test -s conftest$ac_exeext'
41367 { (case "(($ac_try" in
41368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41369 *) ac_try_echo
=$ac_try;;
41371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41372 (eval "$ac_try") 2>&5
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); }; }; then
41376 ac_cv_lib_nsl_inet_addr
=yes
41378 echo "$as_me: failed program was:" >&5
41379 sed 's/^/| /' conftest.
$ac_ext >&5
41381 ac_cv_lib_nsl_inet_addr
=no
41384 rm -f core conftest.err conftest.
$ac_objext \
41385 conftest
$ac_exeext conftest.
$ac_ext
41386 LIBS
=$ac_check_lib_save_LIBS
41388 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41389 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41390 if test $ac_cv_lib_nsl_inet_addr = yes; then
41394 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41395 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41396 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41397 echo $ECHO_N "(cached) $ECHO_C" >&6
41399 ac_check_lib_save_LIBS
=$LIBS
41400 LIBS
="-lresolv $LIBS"
41401 cat >conftest.
$ac_ext <<_ACEOF
41404 cat confdefs.h
>>conftest.
$ac_ext
41405 cat >>conftest.
$ac_ext <<_ACEOF
41406 /* end confdefs.h. */
41408 /* Override any GCC internal prototype to avoid an error.
41409 Use char because int might match the return type of a GCC
41410 builtin and then its argument prototype would still apply. */
41418 return inet_addr ();
41423 rm -f conftest.
$ac_objext conftest
$ac_exeext
41424 if { (ac_try
="$ac_link"
41425 case "(($ac_try" in
41426 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41427 *) ac_try_echo=$ac_try;;
41429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41430 (eval "$ac_link") 2>conftest.er1
41432 grep -v '^ *+' conftest.er1 >conftest.err
41434 cat conftest.err >&5
41435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41436 (exit $ac_status); } &&
41437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41438 { (case "(($ac_try" in
41439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41440 *) ac_try_echo
=$ac_try;;
41442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41443 (eval "$ac_try") 2>&5
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); }; } &&
41447 { ac_try
='test -s conftest$ac_exeext'
41448 { (case "(($ac_try" in
41449 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41450 *) ac_try_echo=$ac_try;;
41452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41453 (eval "$ac_try") 2>&5
41455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41456 (exit $ac_status); }; }; then
41457 ac_cv_lib_resolv_inet_addr=yes
41459 echo "$as_me: failed program was:" >&5
41460 sed 's/^/| /' conftest.$ac_ext >&5
41462 ac_cv_lib_resolv_inet_addr=no
41465 rm -f core conftest.err conftest.$ac_objext \
41466 conftest$ac_exeext conftest.$ac_ext
41467 LIBS=$ac_check_lib_save_LIBS
41469 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41470 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41471 if test $ac_cv_lib_resolv_inet_addr = yes; then
41475 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41476 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41477 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41478 echo $ECHO_N "(cached) $ECHO_C" >&6
41480 ac_check_lib_save_LIBS=$LIBS
41481 LIBS="-lsocket $LIBS"
41482 cat >conftest.$ac_ext <<_ACEOF
41485 cat confdefs.h >>conftest.$ac_ext
41486 cat >>conftest.$ac_ext <<_ACEOF
41487 /* end confdefs.h. */
41489 /* Override any GCC internal prototype to avoid an error.
41490 Use char because int might match the return type of a GCC
41491 builtin and then its argument prototype would still apply. */
41499 return inet_addr ();
41504 rm -f conftest.$ac_objext conftest$ac_exeext
41505 if { (ac_try="$ac_link"
41506 case "(($ac_try" in
41507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41508 *) ac_try_echo
=$ac_try;;
41510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41511 (eval "$ac_link") 2>conftest.er1
41513 grep -v '^ *+' conftest.er1
>conftest.err
41515 cat conftest.err
>&5
41516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41517 (exit $ac_status); } &&
41518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41519 { (case "(($ac_try" in
41520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41521 *) ac_try_echo=$ac_try;;
41523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41524 (eval "$ac_try") 2>&5
41526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41527 (exit $ac_status); }; } &&
41528 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
41538 ac_cv_lib_socket_inet_addr
=yes
41540 echo "$as_me: failed program was:" >&5
41541 sed 's/^/| /' conftest.
$ac_ext >&5
41543 ac_cv_lib_socket_inet_addr
=no
41546 rm -f core conftest.err conftest.
$ac_objext \
41547 conftest
$ac_exeext conftest.
$ac_ext
41548 LIBS
=$ac_check_lib_save_LIBS
41550 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41551 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41552 if test $ac_cv_lib_socket_inet_addr = yes; then
41572 for ac_func
in inet_aton
41574 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41577 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41578 echo $ECHO_N "(cached) $ECHO_C" >&6
41580 cat >conftest.
$ac_ext <<_ACEOF
41583 cat confdefs.h
>>conftest.
$ac_ext
41584 cat >>conftest.
$ac_ext <<_ACEOF
41585 /* end confdefs.h. */
41586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41588 #define $ac_func innocuous_$ac_func
41590 /* System header to define __stub macros and hopefully few prototypes,
41591 which can conflict with char $ac_func (); below.
41592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41593 <limits.h> exists even on freestanding compilers. */
41596 # include <limits.h>
41598 # include <assert.h>
41603 /* Override any GCC internal prototype to avoid an error.
41604 Use char because int might match the return type of a GCC
41605 builtin and then its argument prototype would still apply. */
41610 /* The GNU C library defines this for functions which it implements
41611 to always fail with ENOSYS. Some functions are actually named
41612 something starting with __ and the normal name is an alias. */
41613 #if defined __stub_$ac_func || defined __stub___$ac_func
41620 return $ac_func ();
41625 rm -f conftest.
$ac_objext conftest
$ac_exeext
41626 if { (ac_try
="$ac_link"
41627 case "(($ac_try" in
41628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41629 *) ac_try_echo=$ac_try;;
41631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41632 (eval "$ac_link") 2>conftest.er1
41634 grep -v '^ *+' conftest.er1 >conftest.err
41636 cat conftest.err >&5
41637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41638 (exit $ac_status); } &&
41639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41640 { (case "(($ac_try" in
41641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41642 *) ac_try_echo
=$ac_try;;
41644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41645 (eval "$ac_try") 2>&5
41647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41648 (exit $ac_status); }; } &&
41649 { ac_try
='test -s conftest$ac_exeext'
41650 { (case "(($ac_try" in
41651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41652 *) ac_try_echo=$ac_try;;
41654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41655 (eval "$ac_try") 2>&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); }; }; then
41659 eval "$as_ac_var=yes"
41661 echo "$as_me: failed program was:" >&5
41662 sed 's/^/| /' conftest.$ac_ext >&5
41664 eval "$as_ac_var=no"
41667 rm -f core conftest.err conftest.$ac_objext \
41668 conftest$ac_exeext conftest.$ac_ext
41670 ac_res=`eval echo '${'$as_ac_var'}'`
41671 { echo "$as_me:$LINENO: result: $ac_res" >&5
41672 echo "${ECHO_T}$ac_res" >&6; }
41673 if test `eval echo '${'$as_ac_var'}'` = yes; then
41674 cat >>confdefs.h <<_ACEOF
41675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41677 cat >>confdefs.h <<\_ACEOF
41678 #define HAVE_INET_ATON 1
41683 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41684 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41685 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41686 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41687 echo $ECHO_N "(cached) $ECHO_C" >&6
41689 ac_check_lib_save_LIBS=$LIBS
41690 LIBS="-l$INET_LINK $LIBS"
41691 cat >conftest.$ac_ext <<_ACEOF
41694 cat confdefs.h >>conftest.$ac_ext
41695 cat >>conftest.$ac_ext <<_ACEOF
41696 /* end confdefs.h. */
41698 /* Override any GCC internal prototype to avoid an error.
41699 Use char because int might match the return type of a GCC
41700 builtin and then its argument prototype would still apply. */
41708 return inet_aton ();
41713 rm -f conftest.$ac_objext conftest$ac_exeext
41714 if { (ac_try="$ac_link"
41715 case "(($ac_try" in
41716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41717 *) ac_try_echo
=$ac_try;;
41719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41720 (eval "$ac_link") 2>conftest.er1
41722 grep -v '^ *+' conftest.er1
>conftest.err
41724 cat conftest.err
>&5
41725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726 (exit $ac_status); } &&
41727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41728 { (case "(($ac_try" in
41729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41730 *) ac_try_echo=$ac_try;;
41732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41733 (eval "$ac_try") 2>&5
41735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41736 (exit $ac_status); }; } &&
41737 { ac_try='test -s conftest$ac_exeext'
41738 { (case "(($ac_try" in
41739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41740 *) ac_try_echo
=$ac_try;;
41742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41743 (eval "$ac_try") 2>&5
41745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41746 (exit $ac_status); }; }; then
41747 eval "$as_ac_Lib=yes"
41749 echo "$as_me: failed program was:" >&5
41750 sed 's/^/| /' conftest.
$ac_ext >&5
41752 eval "$as_ac_Lib=no"
41755 rm -f core conftest.err conftest.
$ac_objext \
41756 conftest
$ac_exeext conftest.
$ac_ext
41757 LIBS
=$ac_check_lib_save_LIBS
41759 ac_res
=`eval echo '${'$as_ac_Lib'}'`
41760 { echo "$as_me:$LINENO: result: $ac_res" >&5
41761 echo "${ECHO_T}$ac_res" >&6; }
41762 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41763 cat >>confdefs.h
<<\_ACEOF
41764 #define HAVE_INET_ATON 1
41774 if test "x$INET_LINK" != "x"; then
41775 cat >>confdefs.h
<<\_ACEOF
41776 #define HAVE_INET_ADDR 1
41779 INET_LINK
=" -l$INET_LINK"
41783 for wx_func
in fdopen
41785 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41786 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41787 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41788 echo $ECHO_N "(cached) $ECHO_C" >&6
41791 cat >conftest.
$ac_ext <<_ACEOF
41795 cat confdefs.h
>>conftest.
$ac_ext
41796 cat >>conftest.
$ac_ext <<_ACEOF
41797 /* end confdefs.h. */
41800 $ac_includes_default
41816 rm -f conftest.
$ac_objext conftest
$ac_exeext
41817 if { (ac_try
="$ac_link"
41818 case "(($ac_try" in
41819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41820 *) ac_try_echo=$ac_try;;
41822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41823 (eval "$ac_link") 2>conftest.er1
41825 grep -v '^ *+' conftest.er1 >conftest.err
41827 cat conftest.err >&5
41828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829 (exit $ac_status); } &&
41830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41831 { (case "(($ac_try" in
41832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41833 *) ac_try_echo
=$ac_try;;
41835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41836 (eval "$ac_try") 2>&5
41838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41839 (exit $ac_status); }; } &&
41840 { ac_try
='test -s conftest$ac_exeext'
41841 { (case "(($ac_try" in
41842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41843 *) ac_try_echo=$ac_try;;
41845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41846 (eval "$ac_try") 2>&5
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); }; }; then
41850 eval wx_cv_func_$wx_func=yes
41852 echo "$as_me: failed program was:" >&5
41853 sed 's/^/| /' conftest.$ac_ext >&5
41855 eval wx_cv_func_$wx_func=no
41858 rm -f core conftest.err conftest.$ac_objext \
41859 conftest$ac_exeext conftest.$ac_ext
41862 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41863 { echo "$as_me:$LINENO: result: $ac_res" >&5
41864 echo "${ECHO_T}$ac_res" >&6; }
41866 if eval test \$wx_cv_func_$wx_func = yes
41868 cat >>confdefs.h <<_ACEOF
41869 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41884 cat >confcache <<\_ACEOF
41885 # This file is a shell script that caches the results of configure
41886 # tests run on this system so they can be shared between configure
41887 # scripts and configure runs, see configure's option --config-cache.
41888 # It is not useful on other systems. If it contains results you don't
41889 # want to keep, you may remove or edit it.
41891 # config.status only pays attention to the cache file if you give it
41892 # the --recheck option to rerun configure.
41894 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
41895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41896 # following values.
41900 # The following way of writing the cache mishandles newlines in values,
41901 # but we know of no workaround that is simple, portable, and efficient.
41902 # So, we kill variables containing newlines.
41903 # Ultrix sh set writes to stderr and can't be redirected directly,
41904 # and sets the high bit in the cache file unless we assign to the vars.
41906 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41907 eval ac_val
=\$
$ac_var
41911 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41912 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41915 _
| IFS
| as_nl
) ;; #(
41916 *) $as_unset $ac_var ;;
41922 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41923 *${as_nl}ac_space
=\
*)
41924 # `set' does not quote correctly, so add quotes (double-quote
41925 # substitution turns \\\\ into \\, and sed turns \\ into \).
41928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41931 # `set' quotes correctly as required by POSIX, so do not add quotes.
41932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41941 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41943 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41945 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41946 if test -w "$cache_file"; then
41947 test "x$cache_file" != "x/dev/null" &&
41948 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41949 echo "$as_me: updating cache $cache_file" >&6;}
41950 cat confcache
>$cache_file
41952 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41953 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41959 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41965 if test "$wxUSE_THREADS" = "yes" ; then
41966 if test "$USE_BEOS" = 1; then
41967 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41968 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41973 if test "$wxUSE_THREADS" = "yes" ; then
41976 THREAD_OPTS
="-pthread"
41978 *-*-solaris2* | *-*-sunos4* )
41979 if test "x$GCC" = "xyes"; then
41980 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41982 THREAD_OPTS
="-mt $THREAD_OPTS"
41986 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41988 *-*-darwin* | *-*-cygwin* )
41992 THREAD_OPTS
="pthreads"
41995 if test "x$GCC" = "xyes"; then
41996 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
42004 if test "x$GCC" = "xyes"; then
42010 if test "x$GCC" != "xyes"; then
42011 THREAD_OPTS
="-Ethread"
42016 THREAD_OPTS
="$THREAD_OPTS pthread none"
42019 for flag
in $THREAD_OPTS; do
42022 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42023 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42027 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42028 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42029 THREADS_CFLAGS
="$flag"
42033 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42034 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42035 THREADS_LINK
="-l$flag"
42040 save_CFLAGS
="$CFLAGS"
42041 LIBS
="$THREADS_LINK $LIBS"
42042 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
42044 cat >conftest.
$ac_ext <<_ACEOF
42047 cat confdefs.h
>>conftest.
$ac_ext
42048 cat >>conftest.
$ac_ext <<_ACEOF
42049 /* end confdefs.h. */
42050 #include <pthread.h>
42054 pthread_create(0,0,0,0);
42059 rm -f conftest.
$ac_objext conftest
$ac_exeext
42060 if { (ac_try
="$ac_link"
42061 case "(($ac_try" in
42062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42063 *) ac_try_echo=$ac_try;;
42065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42066 (eval "$ac_link") 2>conftest.er1
42068 grep -v '^ *+' conftest.er1 >conftest.err
42070 cat conftest.err >&5
42071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42072 (exit $ac_status); } &&
42073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42074 { (case "(($ac_try" in
42075 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42076 *) ac_try_echo
=$ac_try;;
42078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42079 (eval "$ac_try") 2>&5
42081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42082 (exit $ac_status); }; } &&
42083 { ac_try
='test -s conftest$ac_exeext'
42084 { (case "(($ac_try" in
42085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42086 *) ac_try_echo=$ac_try;;
42088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42089 (eval "$ac_try") 2>&5
42091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42092 (exit $ac_status); }; }; then
42095 echo "$as_me: failed program was:" >&5
42096 sed 's/^/| /' conftest.$ac_ext >&5
42101 rm -f core conftest.err conftest.$ac_objext \
42102 conftest$ac_exeext conftest.$ac_ext
42105 CFLAGS="$save_CFLAGS"
42107 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42108 echo "${ECHO_T}$THREADS_OK" >&6; }
42109 if test "x$THREADS_OK" = "xyes"; then
42117 if test "x$THREADS_OK" != "xyes"; then
42119 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42120 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42122 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42123 LIBS="$THREADS_LINK $LIBS"
42125 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42126 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42130 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42131 flag="-D_THREAD_SAFE"
42134 flag="-D_THREAD_SAFE"
42137 flag="-D_REENTRANT"
42138 if test "x$GCC" != "xyes"; then
42139 flag="$flag -D_RWSTD_MULTI_THREAD"
42142 *solaris* | alpha*-osf*)
42143 flag="-D_REENTRANT"
42146 { echo "$as_me:$LINENO: result: ${flag}" >&5
42147 echo "${ECHO_T}${flag}" >&6; }
42148 if test "x$flag" != xno; then
42149 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42152 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42156 if test "$wxUSE_THREADS" = "yes" ; then
42158 for ac_func in thr_setconcurrency
42160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42164 echo $ECHO_N "(cached) $ECHO_C" >&6
42166 cat >conftest.$ac_ext <<_ACEOF
42169 cat confdefs.h >>conftest.$ac_ext
42170 cat >>conftest.$ac_ext <<_ACEOF
42171 /* end confdefs.h. */
42172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42174 #define $ac_func innocuous_$ac_func
42176 /* System header to define __stub macros and hopefully few prototypes,
42177 which can conflict with char $ac_func (); below.
42178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42179 <limits.h> exists even on freestanding compilers. */
42182 # include <limits.h>
42184 # include <assert.h>
42189 /* Override any GCC internal prototype to avoid an error.
42190 Use char because int might match the return type of a GCC
42191 builtin and then its argument prototype would still apply. */
42196 /* The GNU C library defines this for functions which it implements
42197 to always fail with ENOSYS. Some functions are actually named
42198 something starting with __ and the normal name is an alias. */
42199 #if defined __stub_$ac_func || defined __stub___$ac_func
42206 return $ac_func ();
42211 rm -f conftest.$ac_objext conftest$ac_exeext
42212 if { (ac_try="$ac_link"
42213 case "(($ac_try" in
42214 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42215 *) ac_try_echo
=$ac_try;;
42217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42218 (eval "$ac_link") 2>conftest.er1
42220 grep -v '^ *+' conftest.er1
>conftest.err
42222 cat conftest.err
>&5
42223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42224 (exit $ac_status); } &&
42225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42226 { (case "(($ac_try" in
42227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42228 *) ac_try_echo=$ac_try;;
42230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42231 (eval "$ac_try") 2>&5
42233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42234 (exit $ac_status); }; } &&
42235 { ac_try='test -s conftest$ac_exeext'
42236 { (case "(($ac_try" in
42237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42238 *) ac_try_echo
=$ac_try;;
42240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42241 (eval "$ac_try") 2>&5
42243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244 (exit $ac_status); }; }; then
42245 eval "$as_ac_var=yes"
42247 echo "$as_me: failed program was:" >&5
42248 sed 's/^/| /' conftest.
$ac_ext >&5
42250 eval "$as_ac_var=no"
42253 rm -f core conftest.err conftest.
$ac_objext \
42254 conftest
$ac_exeext conftest.
$ac_ext
42256 ac_res
=`eval echo '${'$as_ac_var'}'`
42257 { echo "$as_me:$LINENO: result: $ac_res" >&5
42258 echo "${ECHO_T}$ac_res" >&6; }
42259 if test `eval echo '${'$as_ac_var'}'` = yes; then
42260 cat >>confdefs.h
<<_ACEOF
42261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42268 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
42269 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
42270 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
42271 echo $ECHO_N "(cached) $ECHO_C" >&6
42274 cat >conftest.
$ac_ext <<_ACEOF
42277 cat confdefs.h
>>conftest.
$ac_ext
42278 cat >>conftest.
$ac_ext <<_ACEOF
42279 /* end confdefs.h. */
42280 #include <pthread.h>
42281 void ThreadCleanupFunc(void *p);
42288 pthread_cleanup_push(ThreadCleanupFunc, p);
42289 pthread_cleanup_pop(0);
42295 rm -f conftest.
$ac_objext
42296 if { (ac_try
="$ac_compile"
42297 case "(($ac_try" in
42298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42299 *) ac_try_echo=$ac_try;;
42301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42302 (eval "$ac_compile") 2>conftest.er1
42304 grep -v '^ *+' conftest.er1 >conftest.err
42306 cat conftest.err >&5
42307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42308 (exit $ac_status); } &&
42309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42310 { (case "(($ac_try" in
42311 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42312 *) ac_try_echo
=$ac_try;;
42314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42315 (eval "$ac_try") 2>&5
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); }; } &&
42319 { ac_try
='test -s conftest.$ac_objext'
42320 { (case "(($ac_try" in
42321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42322 *) ac_try_echo=$ac_try;;
42324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42325 (eval "$ac_try") 2>&5
42327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42328 (exit $ac_status); }; }; then
42330 wx_cv_func_pthread_cleanup=yes
42333 echo "$as_me: failed program was:" >&5
42334 sed 's/^/| /' conftest.$ac_ext >&5
42337 wx_cv_func_pthread_cleanup=no
42342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42345 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
42346 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
42347 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
42348 cat >>confdefs.h <<\_ACEOF
42349 #define wxHAVE_PTHREAD_CLEANUP 1
42354 { echo "$as_me:$LINENO: checking for sched.h" >&5
42355 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
42356 if test "${ac_cv_header_sched_h+set}" = set; then
42357 echo $ECHO_N "(cached) $ECHO_C" >&6
42359 cat >conftest.$ac_ext <<_ACEOF
42362 cat confdefs.h >>conftest.$ac_ext
42363 cat >>conftest.$ac_ext <<_ACEOF
42364 /* end confdefs.h. */
42365 $ac_includes_default
42369 rm -f conftest.$ac_objext
42370 if { (ac_try="$ac_compile"
42371 case "(($ac_try" in
42372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42373 *) ac_try_echo
=$ac_try;;
42375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42376 (eval "$ac_compile") 2>conftest.er1
42378 grep -v '^ *+' conftest.er1
>conftest.err
42380 cat conftest.err
>&5
42381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42382 (exit $ac_status); } &&
42383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42384 { (case "(($ac_try" in
42385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42386 *) ac_try_echo=$ac_try;;
42388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42389 (eval "$ac_try") 2>&5
42391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42392 (exit $ac_status); }; } &&
42393 { ac_try='test -s conftest.$ac_objext'
42394 { (case "(($ac_try" in
42395 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42396 *) ac_try_echo
=$ac_try;;
42398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42399 (eval "$ac_try") 2>&5
42401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42402 (exit $ac_status); }; }; then
42403 ac_cv_header_sched_h
=yes
42405 echo "$as_me: failed program was:" >&5
42406 sed 's/^/| /' conftest.
$ac_ext >&5
42408 ac_cv_header_sched_h
=no
42411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42413 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
42414 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
42417 if test "$ac_cv_header_sched_h" = "yes"; then
42418 { echo "$as_me:$LINENO: checking for sched_yield" >&5
42419 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
42420 if test "${ac_cv_func_sched_yield+set}" = set; then
42421 echo $ECHO_N "(cached) $ECHO_C" >&6
42423 cat >conftest.
$ac_ext <<_ACEOF
42426 cat confdefs.h
>>conftest.
$ac_ext
42427 cat >>conftest.
$ac_ext <<_ACEOF
42428 /* end confdefs.h. */
42429 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
42430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42431 #define sched_yield innocuous_sched_yield
42433 /* System header to define __stub macros and hopefully few prototypes,
42434 which can conflict with char sched_yield (); below.
42435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42436 <limits.h> exists even on freestanding compilers. */
42439 # include <limits.h>
42441 # include <assert.h>
42446 /* Override any GCC internal prototype to avoid an error.
42447 Use char because int might match the return type of a GCC
42448 builtin and then its argument prototype would still apply. */
42452 char sched_yield ();
42453 /* The GNU C library defines this for functions which it implements
42454 to always fail with ENOSYS. Some functions are actually named
42455 something starting with __ and the normal name is an alias. */
42456 #if defined __stub_sched_yield || defined __stub___sched_yield
42463 return sched_yield ();
42468 rm -f conftest.
$ac_objext conftest
$ac_exeext
42469 if { (ac_try
="$ac_link"
42470 case "(($ac_try" in
42471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42472 *) ac_try_echo=$ac_try;;
42474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42475 (eval "$ac_link") 2>conftest.er1
42477 grep -v '^ *+' conftest.er1 >conftest.err
42479 cat conftest.err >&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); } &&
42482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42483 { (case "(($ac_try" in
42484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42485 *) ac_try_echo
=$ac_try;;
42487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42488 (eval "$ac_try") 2>&5
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); }; } &&
42492 { ac_try
='test -s conftest$ac_exeext'
42493 { (case "(($ac_try" in
42494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42495 *) ac_try_echo=$ac_try;;
42497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42498 (eval "$ac_try") 2>&5
42500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42501 (exit $ac_status); }; }; then
42502 ac_cv_func_sched_yield=yes
42504 echo "$as_me: failed program was:" >&5
42505 sed 's/^/| /' conftest.$ac_ext >&5
42507 ac_cv_func_sched_yield=no
42510 rm -f core conftest.err conftest.$ac_objext \
42511 conftest$ac_exeext conftest.$ac_ext
42513 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
42514 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
42515 if test $ac_cv_func_sched_yield = yes; then
42516 cat >>confdefs.h <<\_ACEOF
42517 #define HAVE_SCHED_YIELD 1
42522 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42523 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42524 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42525 echo $ECHO_N "(cached) $ECHO_C" >&6
42527 ac_check_lib_save_LIBS=$LIBS
42528 LIBS="-lposix4 $LIBS"
42529 cat >conftest.$ac_ext <<_ACEOF
42532 cat confdefs.h >>conftest.$ac_ext
42533 cat >>conftest.$ac_ext <<_ACEOF
42534 /* end confdefs.h. */
42536 /* Override any GCC internal prototype to avoid an error.
42537 Use char because int might match the return type of a GCC
42538 builtin and then its argument prototype would still apply. */
42542 char sched_yield ();
42546 return sched_yield ();
42551 rm -f conftest.$ac_objext conftest$ac_exeext
42552 if { (ac_try="$ac_link"
42553 case "(($ac_try" in
42554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42555 *) ac_try_echo
=$ac_try;;
42557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42558 (eval "$ac_link") 2>conftest.er1
42560 grep -v '^ *+' conftest.er1
>conftest.err
42562 cat conftest.err
>&5
42563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42564 (exit $ac_status); } &&
42565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42566 { (case "(($ac_try" in
42567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42568 *) ac_try_echo=$ac_try;;
42570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42571 (eval "$ac_try") 2>&5
42573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42574 (exit $ac_status); }; } &&
42575 { ac_try='test -s conftest$ac_exeext'
42576 { (case "(($ac_try" in
42577 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42578 *) ac_try_echo
=$ac_try;;
42580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42581 (eval "$ac_try") 2>&5
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); }; }; then
42585 ac_cv_lib_posix4_sched_yield
=yes
42587 echo "$as_me: failed program was:" >&5
42588 sed 's/^/| /' conftest.
$ac_ext >&5
42590 ac_cv_lib_posix4_sched_yield
=no
42593 rm -f core conftest.err conftest.
$ac_objext \
42594 conftest
$ac_exeext conftest.
$ac_ext
42595 LIBS
=$ac_check_lib_save_LIBS
42597 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42598 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42599 if test $ac_cv_lib_posix4_sched_yield = yes; then
42600 cat >>confdefs.h
<<\_ACEOF
42601 #define HAVE_SCHED_YIELD 1
42603 POSIX4_LINK
=" -lposix4"
42605 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42606 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42617 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42618 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42619 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42620 echo $ECHO_N "(cached) $ECHO_C" >&6
42622 cat >conftest.
$ac_ext <<_ACEOF
42625 cat confdefs.h
>>conftest.
$ac_ext
42626 cat >>conftest.
$ac_ext <<_ACEOF
42627 /* end confdefs.h. */
42628 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42630 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42632 /* System header to define __stub macros and hopefully few prototypes,
42633 which can conflict with char pthread_attr_getschedpolicy (); below.
42634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42635 <limits.h> exists even on freestanding compilers. */
42638 # include <limits.h>
42640 # include <assert.h>
42643 #undef pthread_attr_getschedpolicy
42645 /* Override any GCC internal prototype to avoid an error.
42646 Use char because int might match the return type of a GCC
42647 builtin and then its argument prototype would still apply. */
42651 char pthread_attr_getschedpolicy ();
42652 /* The GNU C library defines this for functions which it implements
42653 to always fail with ENOSYS. Some functions are actually named
42654 something starting with __ and the normal name is an alias. */
42655 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42662 return pthread_attr_getschedpolicy ();
42667 rm -f conftest.
$ac_objext conftest
$ac_exeext
42668 if { (ac_try
="$ac_link"
42669 case "(($ac_try" in
42670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42671 *) ac_try_echo=$ac_try;;
42673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42674 (eval "$ac_link") 2>conftest.er1
42676 grep -v '^ *+' conftest.er1 >conftest.err
42678 cat conftest.err >&5
42679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42680 (exit $ac_status); } &&
42681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42682 { (case "(($ac_try" in
42683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42684 *) ac_try_echo
=$ac_try;;
42686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42687 (eval "$ac_try") 2>&5
42689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42690 (exit $ac_status); }; } &&
42691 { ac_try
='test -s conftest$ac_exeext'
42692 { (case "(($ac_try" in
42693 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42694 *) ac_try_echo=$ac_try;;
42696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42697 (eval "$ac_try") 2>&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); }; }; then
42701 ac_cv_func_pthread_attr_getschedpolicy=yes
42703 echo "$as_me: failed program was:" >&5
42704 sed 's/^/| /' conftest.$ac_ext >&5
42706 ac_cv_func_pthread_attr_getschedpolicy=no
42709 rm -f core conftest.err conftest.$ac_objext \
42710 conftest$ac_exeext conftest.$ac_ext
42712 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42713 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42714 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42715 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42716 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42717 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42718 echo $ECHO_N "(cached) $ECHO_C" >&6
42720 cat >conftest.$ac_ext <<_ACEOF
42723 cat confdefs.h >>conftest.$ac_ext
42724 cat >>conftest.$ac_ext <<_ACEOF
42725 /* end confdefs.h. */
42726 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42728 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42730 /* System header to define __stub macros and hopefully few prototypes,
42731 which can conflict with char pthread_attr_setschedparam (); below.
42732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42733 <limits.h> exists even on freestanding compilers. */
42736 # include <limits.h>
42738 # include <assert.h>
42741 #undef pthread_attr_setschedparam
42743 /* Override any GCC internal prototype to avoid an error.
42744 Use char because int might match the return type of a GCC
42745 builtin and then its argument prototype would still apply. */
42749 char pthread_attr_setschedparam ();
42750 /* The GNU C library defines this for functions which it implements
42751 to always fail with ENOSYS. Some functions are actually named
42752 something starting with __ and the normal name is an alias. */
42753 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42760 return pthread_attr_setschedparam ();
42765 rm -f conftest.$ac_objext conftest$ac_exeext
42766 if { (ac_try="$ac_link"
42767 case "(($ac_try" in
42768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42769 *) ac_try_echo
=$ac_try;;
42771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42772 (eval "$ac_link") 2>conftest.er1
42774 grep -v '^ *+' conftest.er1
>conftest.err
42776 cat conftest.err
>&5
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); } &&
42779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42780 { (case "(($ac_try" in
42781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42782 *) ac_try_echo=$ac_try;;
42784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42785 (eval "$ac_try") 2>&5
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); }; } &&
42789 { ac_try='test -s conftest$ac_exeext'
42790 { (case "(($ac_try" in
42791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42792 *) ac_try_echo
=$ac_try;;
42794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42795 (eval "$ac_try") 2>&5
42797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42798 (exit $ac_status); }; }; then
42799 ac_cv_func_pthread_attr_setschedparam
=yes
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.
$ac_ext >&5
42804 ac_cv_func_pthread_attr_setschedparam
=no
42807 rm -f core conftest.err conftest.
$ac_objext \
42808 conftest
$ac_exeext conftest.
$ac_ext
42810 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42811 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42812 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42813 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42814 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42815 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42816 echo $ECHO_N "(cached) $ECHO_C" >&6
42818 cat >conftest.
$ac_ext <<_ACEOF
42821 cat confdefs.h
>>conftest.
$ac_ext
42822 cat >>conftest.
$ac_ext <<_ACEOF
42823 /* end confdefs.h. */
42824 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42826 #define sched_get_priority_max innocuous_sched_get_priority_max
42828 /* System header to define __stub macros and hopefully few prototypes,
42829 which can conflict with char sched_get_priority_max (); below.
42830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42831 <limits.h> exists even on freestanding compilers. */
42834 # include <limits.h>
42836 # include <assert.h>
42839 #undef sched_get_priority_max
42841 /* Override any GCC internal prototype to avoid an error.
42842 Use char because int might match the return type of a GCC
42843 builtin and then its argument prototype would still apply. */
42847 char sched_get_priority_max ();
42848 /* The GNU C library defines this for functions which it implements
42849 to always fail with ENOSYS. Some functions are actually named
42850 something starting with __ and the normal name is an alias. */
42851 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42858 return sched_get_priority_max ();
42863 rm -f conftest.
$ac_objext conftest
$ac_exeext
42864 if { (ac_try
="$ac_link"
42865 case "(($ac_try" in
42866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42867 *) ac_try_echo=$ac_try;;
42869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42870 (eval "$ac_link") 2>conftest.er1
42872 grep -v '^ *+' conftest.er1 >conftest.err
42874 cat conftest.err >&5
42875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42876 (exit $ac_status); } &&
42877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42878 { (case "(($ac_try" in
42879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42880 *) ac_try_echo
=$ac_try;;
42882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42883 (eval "$ac_try") 2>&5
42885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42886 (exit $ac_status); }; } &&
42887 { ac_try
='test -s conftest$ac_exeext'
42888 { (case "(($ac_try" in
42889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42890 *) ac_try_echo=$ac_try;;
42892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42893 (eval "$ac_try") 2>&5
42895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42896 (exit $ac_status); }; }; then
42897 ac_cv_func_sched_get_priority_max=yes
42899 echo "$as_me: failed program was:" >&5
42900 sed 's/^/| /' conftest.$ac_ext >&5
42902 ac_cv_func_sched_get_priority_max=no
42905 rm -f core conftest.err conftest.$ac_objext \
42906 conftest$ac_exeext conftest.$ac_ext
42908 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42909 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42910 if test $ac_cv_func_sched_get_priority_max = yes; then
42913 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42914 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42915 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42916 echo $ECHO_N "(cached) $ECHO_C" >&6
42918 ac_check_lib_save_LIBS=$LIBS
42919 LIBS="-lposix4 $LIBS"
42920 cat >conftest.$ac_ext <<_ACEOF
42923 cat confdefs.h >>conftest.$ac_ext
42924 cat >>conftest.$ac_ext <<_ACEOF
42925 /* end confdefs.h. */
42927 /* Override any GCC internal prototype to avoid an error.
42928 Use char because int might match the return type of a GCC
42929 builtin and then its argument prototype would still apply. */
42933 char sched_get_priority_max ();
42937 return sched_get_priority_max ();
42942 rm -f conftest.$ac_objext conftest$ac_exeext
42943 if { (ac_try="$ac_link"
42944 case "(($ac_try" in
42945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42946 *) ac_try_echo
=$ac_try;;
42948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42949 (eval "$ac_link") 2>conftest.er1
42951 grep -v '^ *+' conftest.er1
>conftest.err
42953 cat conftest.err
>&5
42954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42955 (exit $ac_status); } &&
42956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42957 { (case "(($ac_try" in
42958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42959 *) ac_try_echo=$ac_try;;
42961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42962 (eval "$ac_try") 2>&5
42964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965 (exit $ac_status); }; } &&
42966 { ac_try='test -s conftest$ac_exeext'
42967 { (case "(($ac_try" in
42968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42969 *) ac_try_echo
=$ac_try;;
42971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42972 (eval "$ac_try") 2>&5
42974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42975 (exit $ac_status); }; }; then
42976 ac_cv_lib_posix4_sched_get_priority_max
=yes
42978 echo "$as_me: failed program was:" >&5
42979 sed 's/^/| /' conftest.
$ac_ext >&5
42981 ac_cv_lib_posix4_sched_get_priority_max
=no
42984 rm -f core conftest.err conftest.
$ac_objext \
42985 conftest
$ac_exeext conftest.
$ac_ext
42986 LIBS
=$ac_check_lib_save_LIBS
42988 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42989 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42990 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42993 POSIX4_LINK
=" -lposix4"
43007 if test "$HAVE_PRIOR_FUNCS" = 1; then
43008 cat >>confdefs.h
<<\_ACEOF
43009 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43013 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43014 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43017 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43018 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43019 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43020 echo $ECHO_N "(cached) $ECHO_C" >&6
43022 cat >conftest.
$ac_ext <<_ACEOF
43025 cat confdefs.h
>>conftest.
$ac_ext
43026 cat >>conftest.
$ac_ext <<_ACEOF
43027 /* end confdefs.h. */
43028 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43030 #define pthread_cancel innocuous_pthread_cancel
43032 /* System header to define __stub macros and hopefully few prototypes,
43033 which can conflict with char pthread_cancel (); below.
43034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43035 <limits.h> exists even on freestanding compilers. */
43038 # include <limits.h>
43040 # include <assert.h>
43043 #undef pthread_cancel
43045 /* Override any GCC internal prototype to avoid an error.
43046 Use char because int might match the return type of a GCC
43047 builtin and then its argument prototype would still apply. */
43051 char pthread_cancel ();
43052 /* The GNU C library defines this for functions which it implements
43053 to always fail with ENOSYS. Some functions are actually named
43054 something starting with __ and the normal name is an alias. */
43055 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43062 return pthread_cancel ();
43067 rm -f conftest.
$ac_objext conftest
$ac_exeext
43068 if { (ac_try
="$ac_link"
43069 case "(($ac_try" in
43070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43071 *) ac_try_echo=$ac_try;;
43073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43074 (eval "$ac_link") 2>conftest.er1
43076 grep -v '^ *+' conftest.er1 >conftest.err
43078 cat conftest.err >&5
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); } &&
43081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43082 { (case "(($ac_try" in
43083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43084 *) ac_try_echo
=$ac_try;;
43086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43087 (eval "$ac_try") 2>&5
43089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090 (exit $ac_status); }; } &&
43091 { ac_try
='test -s conftest$ac_exeext'
43092 { (case "(($ac_try" in
43093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43094 *) ac_try_echo=$ac_try;;
43096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43097 (eval "$ac_try") 2>&5
43099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43100 (exit $ac_status); }; }; then
43101 ac_cv_func_pthread_cancel=yes
43103 echo "$as_me: failed program was:" >&5
43104 sed 's/^/| /' conftest.$ac_ext >&5
43106 ac_cv_func_pthread_cancel=no
43109 rm -f core conftest.err conftest.$ac_objext \
43110 conftest$ac_exeext conftest.$ac_ext
43112 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43113 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43114 if test $ac_cv_func_pthread_cancel = yes; then
43115 cat >>confdefs.h <<\_ACEOF
43116 #define HAVE_PTHREAD_CANCEL 1
43120 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43121 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43125 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43126 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43127 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43128 echo $ECHO_N "(cached) $ECHO_C" >&6
43130 cat >conftest.$ac_ext <<_ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h. */
43136 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43138 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43140 /* System header to define __stub macros and hopefully few prototypes,
43141 which can conflict with char pthread_mutex_timedlock (); below.
43142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43143 <limits.h> exists even on freestanding compilers. */
43146 # include <limits.h>
43148 # include <assert.h>
43151 #undef pthread_mutex_timedlock
43153 /* Override any GCC internal prototype to avoid an error.
43154 Use char because int might match the return type of a GCC
43155 builtin and then its argument prototype would still apply. */
43159 char pthread_mutex_timedlock ();
43160 /* The GNU C library defines this for functions which it implements
43161 to always fail with ENOSYS. Some functions are actually named
43162 something starting with __ and the normal name is an alias. */
43163 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43170 return pthread_mutex_timedlock ();
43175 rm -f conftest.$ac_objext conftest$ac_exeext
43176 if { (ac_try="$ac_link"
43177 case "(($ac_try" in
43178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43179 *) ac_try_echo
=$ac_try;;
43181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43182 (eval "$ac_link") 2>conftest.er1
43184 grep -v '^ *+' conftest.er1
>conftest.err
43186 cat conftest.err
>&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } &&
43189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43190 { (case "(($ac_try" in
43191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43192 *) ac_try_echo=$ac_try;;
43194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43195 (eval "$ac_try") 2>&5
43197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43198 (exit $ac_status); }; } &&
43199 { ac_try='test -s conftest$ac_exeext'
43200 { (case "(($ac_try" in
43201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43202 *) ac_try_echo
=$ac_try;;
43204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43205 (eval "$ac_try") 2>&5
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); }; }; then
43209 ac_cv_func_pthread_mutex_timedlock
=yes
43211 echo "$as_me: failed program was:" >&5
43212 sed 's/^/| /' conftest.
$ac_ext >&5
43214 ac_cv_func_pthread_mutex_timedlock
=no
43217 rm -f core conftest.err conftest.
$ac_objext \
43218 conftest
$ac_exeext conftest.
$ac_ext
43220 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43221 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43222 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43223 cat >>confdefs.h
<<\_ACEOF
43224 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43228 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43229 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43233 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43234 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43235 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43236 echo $ECHO_N "(cached) $ECHO_C" >&6
43238 cat >conftest.
$ac_ext <<_ACEOF
43241 cat confdefs.h
>>conftest.
$ac_ext
43242 cat >>conftest.
$ac_ext <<_ACEOF
43243 /* end confdefs.h. */
43244 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43246 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43248 /* System header to define __stub macros and hopefully few prototypes,
43249 which can conflict with char pthread_attr_setstacksize (); below.
43250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43251 <limits.h> exists even on freestanding compilers. */
43254 # include <limits.h>
43256 # include <assert.h>
43259 #undef pthread_attr_setstacksize
43261 /* Override any GCC internal prototype to avoid an error.
43262 Use char because int might match the return type of a GCC
43263 builtin and then its argument prototype would still apply. */
43267 char pthread_attr_setstacksize ();
43268 /* The GNU C library defines this for functions which it implements
43269 to always fail with ENOSYS. Some functions are actually named
43270 something starting with __ and the normal name is an alias. */
43271 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43278 return pthread_attr_setstacksize ();
43283 rm -f conftest.
$ac_objext conftest
$ac_exeext
43284 if { (ac_try
="$ac_link"
43285 case "(($ac_try" in
43286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43287 *) ac_try_echo=$ac_try;;
43289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43290 (eval "$ac_link") 2>conftest.er1
43292 grep -v '^ *+' conftest.er1 >conftest.err
43294 cat conftest.err >&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); } &&
43297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43298 { (case "(($ac_try" in
43299 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43300 *) ac_try_echo
=$ac_try;;
43302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43303 (eval "$ac_try") 2>&5
43305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43306 (exit $ac_status); }; } &&
43307 { ac_try
='test -s conftest$ac_exeext'
43308 { (case "(($ac_try" in
43309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43310 *) ac_try_echo=$ac_try;;
43312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43313 (eval "$ac_try") 2>&5
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); }; }; then
43317 ac_cv_func_pthread_attr_setstacksize=yes
43319 echo "$as_me: failed program was:" >&5
43320 sed 's/^/| /' conftest.$ac_ext >&5
43322 ac_cv_func_pthread_attr_setstacksize=no
43325 rm -f core conftest.err conftest.$ac_objext \
43326 conftest$ac_exeext conftest.$ac_ext
43328 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
43329 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
43330 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
43331 cat >>confdefs.h <<\_ACEOF
43332 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
43339 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
43340 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
43341 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
43342 echo $ECHO_N "(cached) $ECHO_C" >&6
43345 cat >conftest.$ac_ext <<_ACEOF
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43351 #include <pthread.h>
43356 pthread_mutexattr_t attr;
43357 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43363 rm -f conftest.$ac_objext
43364 if { (ac_try="$ac_compile"
43365 case "(($ac_try" in
43366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43367 *) ac_try_echo
=$ac_try;;
43369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43370 (eval "$ac_compile") 2>conftest.er1
43372 grep -v '^ *+' conftest.er1
>conftest.err
43374 cat conftest.err
>&5
43375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43376 (exit $ac_status); } &&
43377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43378 { (case "(($ac_try" in
43379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43380 *) ac_try_echo=$ac_try;;
43382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43383 (eval "$ac_try") 2>&5
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); }; } &&
43387 { ac_try='test -s conftest.$ac_objext'
43388 { (case "(($ac_try" in
43389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43390 *) ac_try_echo
=$ac_try;;
43392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43393 (eval "$ac_try") 2>&5
43395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43396 (exit $ac_status); }; }; then
43397 wx_cv_type_pthread_mutexattr_t
=yes
43399 echo "$as_me: failed program was:" >&5
43400 sed 's/^/| /' conftest.
$ac_ext >&5
43402 wx_cv_type_pthread_mutexattr_t
=no
43406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43409 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
43410 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
43412 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
43413 cat >>confdefs.h
<<\_ACEOF
43414 #define HAVE_PTHREAD_MUTEXATTR_T 1
43418 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
43419 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
43420 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
43421 echo $ECHO_N "(cached) $ECHO_C" >&6
43424 cat >conftest.
$ac_ext <<_ACEOF
43427 cat confdefs.h
>>conftest.
$ac_ext
43428 cat >>conftest.
$ac_ext <<_ACEOF
43429 /* end confdefs.h. */
43430 #include <pthread.h>
43435 pthread_mutexattr_t attr;
43436 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43442 rm -f conftest.
$ac_objext
43443 if { (ac_try
="$ac_compile"
43444 case "(($ac_try" in
43445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43446 *) ac_try_echo=$ac_try;;
43448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43449 (eval "$ac_compile") 2>conftest.er1
43451 grep -v '^ *+' conftest.er1 >conftest.err
43453 cat conftest.err >&5
43454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43455 (exit $ac_status); } &&
43456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43457 { (case "(($ac_try" in
43458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43459 *) ac_try_echo
=$ac_try;;
43461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43462 (eval "$ac_try") 2>&5
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); }; } &&
43466 { ac_try
='test -s conftest.$ac_objext'
43467 { (case "(($ac_try" in
43468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43469 *) ac_try_echo=$ac_try;;
43471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43472 (eval "$ac_try") 2>&5
43474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475 (exit $ac_status); }; }; then
43476 wx_cv_func_pthread_mutexattr_settype_decl=yes
43478 echo "$as_me: failed program was:" >&5
43479 sed 's/^/| /' conftest.$ac_ext >&5
43481 wx_cv_func_pthread_mutexattr_settype_decl=no
43485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43488 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
43489 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
43490 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
43491 cat >>confdefs.h <<\_ACEOF
43492 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
43497 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
43498 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
43499 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
43500 echo $ECHO_N "(cached) $ECHO_C" >&6
43503 cat >conftest.$ac_ext <<_ACEOF
43506 cat confdefs.h >>conftest.$ac_ext
43507 cat >>conftest.$ac_ext <<_ACEOF
43508 /* end confdefs.h. */
43509 #include <pthread.h>
43514 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
43520 rm -f conftest.$ac_objext
43521 if { (ac_try="$ac_compile"
43522 case "(($ac_try" in
43523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43524 *) ac_try_echo
=$ac_try;;
43526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43527 (eval "$ac_compile") 2>conftest.er1
43529 grep -v '^ *+' conftest.er1
>conftest.err
43531 cat conftest.err
>&5
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); } &&
43534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43535 { (case "(($ac_try" in
43536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43537 *) ac_try_echo=$ac_try;;
43539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43540 (eval "$ac_try") 2>&5
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); }; } &&
43544 { ac_try='test -s conftest.$ac_objext'
43545 { (case "(($ac_try" in
43546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43547 *) ac_try_echo
=$ac_try;;
43549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43550 (eval "$ac_try") 2>&5
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); }; }; then
43555 wx_cv_type_pthread_rec_mutex_init
=yes
43558 echo "$as_me: failed program was:" >&5
43559 sed 's/^/| /' conftest.
$ac_ext >&5
43562 wx_cv_type_pthread_rec_mutex_init
=no
43567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43570 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
43571 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
43572 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
43573 cat >>confdefs.h
<<\_ACEOF
43574 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
43578 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
43579 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
43585 if test "$wxUSE_THREADS" = "yes" ; then
43588 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
43589 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
43590 if test "${wx_cv_cflags_mthread+set}" = set; then
43591 echo $ECHO_N "(cached) $ECHO_C" >&6
43594 CFLAGS_OLD
="$CFLAGS"
43595 CFLAGS
="-mthreads $CFLAGS"
43596 cat >conftest.
$ac_ext <<_ACEOF
43599 cat confdefs.h
>>conftest.
$ac_ext
43600 cat >>conftest.
$ac_ext <<_ACEOF
43601 /* end confdefs.h. */
43611 rm -f conftest.
$ac_objext
43612 if { (ac_try
="$ac_compile"
43613 case "(($ac_try" in
43614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43615 *) ac_try_echo=$ac_try;;
43617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43618 (eval "$ac_compile") 2>conftest.er1
43620 grep -v '^ *+' conftest.er1 >conftest.err
43622 cat conftest.err >&5
43623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43624 (exit $ac_status); } &&
43625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43626 { (case "(($ac_try" in
43627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43628 *) ac_try_echo
=$ac_try;;
43630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43631 (eval "$ac_try") 2>&5
43633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43634 (exit $ac_status); }; } &&
43635 { ac_try
='test -s conftest.$ac_objext'
43636 { (case "(($ac_try" in
43637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43638 *) ac_try_echo=$ac_try;;
43640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43641 (eval "$ac_try") 2>&5
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); }; }; then
43645 wx_cv_cflags_mthread=yes
43647 echo "$as_me: failed program was:" >&5
43648 sed 's/^/| /' conftest.$ac_ext >&5
43650 wx_cv_cflags_mthread=no
43654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43658 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
43659 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
43661 if test "$wx_cv_cflags_mthread" = "yes"; then
43662 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
43663 LDFLAGS="$LDFLAGS -mthreads"
43665 CFLAGS="$CFLAGS_OLD"
43669 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
43670 LDFLAGS="$LDFLAGS -Zmt"
43676 { echo "$as_me:$LINENO: checking for localtime_r" >&5
43677 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
43678 if test "${ac_cv_func_localtime_r+set}" = set; then
43679 echo $ECHO_N "(cached) $ECHO_C" >&6
43681 cat >conftest.$ac_ext <<_ACEOF
43684 cat confdefs.h >>conftest.$ac_ext
43685 cat >>conftest.$ac_ext <<_ACEOF
43686 /* end confdefs.h. */
43687 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
43688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43689 #define localtime_r innocuous_localtime_r
43691 /* System header to define __stub macros and hopefully few prototypes,
43692 which can conflict with char localtime_r (); below.
43693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43694 <limits.h> exists even on freestanding compilers. */
43697 # include <limits.h>
43699 # include <assert.h>
43704 /* Override any GCC internal prototype to avoid an error.
43705 Use char because int might match the return type of a GCC
43706 builtin and then its argument prototype would still apply. */
43710 char localtime_r ();
43711 /* The GNU C library defines this for functions which it implements
43712 to always fail with ENOSYS. Some functions are actually named
43713 something starting with __ and the normal name is an alias. */
43714 #if defined __stub_localtime_r || defined __stub___localtime_r
43721 return localtime_r ();
43726 rm -f conftest.$ac_objext conftest$ac_exeext
43727 if { (ac_try="$ac_link"
43728 case "(($ac_try" in
43729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43730 *) ac_try_echo
=$ac_try;;
43732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43733 (eval "$ac_link") 2>conftest.er1
43735 grep -v '^ *+' conftest.er1
>conftest.err
43737 cat conftest.err
>&5
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); } &&
43740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43741 { (case "(($ac_try" in
43742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43743 *) ac_try_echo=$ac_try;;
43745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43746 (eval "$ac_try") 2>&5
43748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43749 (exit $ac_status); }; } &&
43750 { ac_try='test -s conftest$ac_exeext'
43751 { (case "(($ac_try" in
43752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43753 *) ac_try_echo
=$ac_try;;
43755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43756 (eval "$ac_try") 2>&5
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); }; }; then
43760 ac_cv_func_localtime_r
=yes
43762 echo "$as_me: failed program was:" >&5
43763 sed 's/^/| /' conftest.
$ac_ext >&5
43765 ac_cv_func_localtime_r
=no
43768 rm -f core conftest.err conftest.
$ac_objext \
43769 conftest
$ac_exeext conftest.
$ac_ext
43771 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43772 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43773 if test $ac_cv_func_localtime_r = yes; then
43774 cat >>confdefs.h
<<\_ACEOF
43775 #define HAVE_LOCALTIME_R 1
43780 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43781 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43782 if test "${ac_cv_func_gmtime_r+set}" = set; then
43783 echo $ECHO_N "(cached) $ECHO_C" >&6
43785 cat >conftest.
$ac_ext <<_ACEOF
43788 cat confdefs.h
>>conftest.
$ac_ext
43789 cat >>conftest.
$ac_ext <<_ACEOF
43790 /* end confdefs.h. */
43791 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43793 #define gmtime_r innocuous_gmtime_r
43795 /* System header to define __stub macros and hopefully few prototypes,
43796 which can conflict with char gmtime_r (); below.
43797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43798 <limits.h> exists even on freestanding compilers. */
43801 # include <limits.h>
43803 # include <assert.h>
43808 /* Override any GCC internal prototype to avoid an error.
43809 Use char because int might match the return type of a GCC
43810 builtin and then its argument prototype would still apply. */
43815 /* The GNU C library defines this for functions which it implements
43816 to always fail with ENOSYS. Some functions are actually named
43817 something starting with __ and the normal name is an alias. */
43818 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43825 return gmtime_r ();
43830 rm -f conftest.
$ac_objext conftest
$ac_exeext
43831 if { (ac_try
="$ac_link"
43832 case "(($ac_try" in
43833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43834 *) ac_try_echo=$ac_try;;
43836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43837 (eval "$ac_link") 2>conftest.er1
43839 grep -v '^ *+' conftest.er1 >conftest.err
43841 cat conftest.err >&5
43842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43843 (exit $ac_status); } &&
43844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43845 { (case "(($ac_try" in
43846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43847 *) ac_try_echo
=$ac_try;;
43849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43850 (eval "$ac_try") 2>&5
43852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853 (exit $ac_status); }; } &&
43854 { ac_try
='test -s conftest$ac_exeext'
43855 { (case "(($ac_try" in
43856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43857 *) ac_try_echo=$ac_try;;
43859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43860 (eval "$ac_try") 2>&5
43862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863 (exit $ac_status); }; }; then
43864 ac_cv_func_gmtime_r=yes
43866 echo "$as_me: failed program was:" >&5
43867 sed 's/^/| /' conftest.$ac_ext >&5
43869 ac_cv_func_gmtime_r=no
43872 rm -f core conftest.err conftest.$ac_objext \
43873 conftest$ac_exeext conftest.$ac_ext
43875 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43876 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43877 if test $ac_cv_func_gmtime_r = yes; then
43878 cat >>confdefs.h <<\_ACEOF
43879 #define HAVE_GMTIME_R 1
43884 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43885 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43886 if test "${ac_cv_func_readdir_r+set}" = set; then
43887 echo $ECHO_N "(cached) $ECHO_C" >&6
43889 cat >conftest.$ac_ext <<_ACEOF
43892 cat confdefs.h >>conftest.$ac_ext
43893 cat >>conftest.$ac_ext <<_ACEOF
43894 /* end confdefs.h. */
43895 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43897 #define readdir_r innocuous_readdir_r
43899 /* System header to define __stub macros and hopefully few prototypes,
43900 which can conflict with char readdir_r (); below.
43901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43902 <limits.h> exists even on freestanding compilers. */
43905 # include <limits.h>
43907 # include <assert.h>
43912 /* Override any GCC internal prototype to avoid an error.
43913 Use char because int might match the return type of a GCC
43914 builtin and then its argument prototype would still apply. */
43919 /* The GNU C library defines this for functions which it implements
43920 to always fail with ENOSYS. Some functions are actually named
43921 something starting with __ and the normal name is an alias. */
43922 #if defined __stub_readdir_r || defined __stub___readdir_r
43929 return readdir_r ();
43934 rm -f conftest.$ac_objext conftest$ac_exeext
43935 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
43943 grep -v '^ *+' conftest.er1
>conftest.err
43945 cat conftest.err
>&5
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); } &&
43948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43949 { (case "(($ac_try" in
43950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43951 *) ac_try_echo=$ac_try;;
43953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43954 (eval "$ac_try") 2>&5
43956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43957 (exit $ac_status); }; } &&
43958 { ac_try='test -s conftest$ac_exeext'
43959 { (case "(($ac_try" in
43960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43961 *) ac_try_echo
=$ac_try;;
43963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43964 (eval "$ac_try") 2>&5
43966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43967 (exit $ac_status); }; }; then
43968 ac_cv_func_readdir_r
=yes
43970 echo "$as_me: failed program was:" >&5
43971 sed 's/^/| /' conftest.
$ac_ext >&5
43973 ac_cv_func_readdir_r
=no
43976 rm -f core conftest.err conftest.
$ac_objext \
43977 conftest
$ac_exeext conftest.
$ac_ext
43979 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43980 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43981 if test $ac_cv_func_readdir_r = yes; then
43982 cat >>confdefs.h
<<\_ACEOF
43983 #define HAVE_READDIR_R 1
43992 ac_cpp
='$CPP $CPPFLAGS'
43993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43997 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43998 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44000 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44001 echo $ECHO_N "(cached) $ECHO_C" >&6
44005 ################################################################
44007 ac_cv_func_which_gethostbyname_r
=unknown
44010 # ONE ARGUMENT (sanity check)
44013 # This should fail, as there is no variant of gethostbyname_r() that takes
44014 # a single argument. If it actually compiles, then we can assume that
44015 # netdb.h is not declaring the function, and the compiler is thereby
44016 # assuming an implicit prototype. In which case, we're out of luck.
44018 cat >conftest.
$ac_ext <<_ACEOF
44021 cat confdefs.h
>>conftest.
$ac_ext
44022 cat >>conftest.
$ac_ext <<_ACEOF
44023 /* end confdefs.h. */
44029 char *name = "www.gnu.org";
44030 (void)gethostbyname_r(name) /* ; */
44036 rm -f conftest.
$ac_objext
44037 if { (ac_try
="$ac_compile"
44038 case "(($ac_try" in
44039 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44040 *) ac_try_echo=$ac_try;;
44042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44043 (eval "$ac_compile") 2>conftest.er1
44045 grep -v '^ *+' conftest.er1 >conftest.err
44047 cat conftest.err >&5
44048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44049 (exit $ac_status); } &&
44050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44051 { (case "(($ac_try" in
44052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44053 *) ac_try_echo
=$ac_try;;
44055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44056 (eval "$ac_try") 2>&5
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); }; } &&
44060 { ac_try
='test -s conftest.$ac_objext'
44061 { (case "(($ac_try" in
44062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44063 *) ac_try_echo=$ac_try;;
44065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44066 (eval "$ac_try") 2>&5
44068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44069 (exit $ac_status); }; }; then
44070 ac_cv_func_which_gethostbyname_r=no
44072 echo "$as_me: failed program was:" >&5
44073 sed 's/^/| /' conftest.$ac_ext >&5
44078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44085 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44087 cat >conftest.$ac_ext <<_ACEOF
44090 cat confdefs.h >>conftest.$ac_ext
44091 cat >>conftest.$ac_ext <<_ACEOF
44092 /* end confdefs.h. */
44098 char *name = "www.gnu.org";
44099 struct hostent ret, *retp;
44103 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44109 rm -f conftest.$ac_objext
44110 if { (ac_try="$ac_compile"
44111 case "(($ac_try" in
44112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44113 *) ac_try_echo
=$ac_try;;
44115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44116 (eval "$ac_compile") 2>conftest.er1
44118 grep -v '^ *+' conftest.er1
>conftest.err
44120 cat conftest.err
>&5
44121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44122 (exit $ac_status); } &&
44123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44124 { (case "(($ac_try" in
44125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44126 *) ac_try_echo=$ac_try;;
44128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44129 (eval "$ac_try") 2>&5
44131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44132 (exit $ac_status); }; } &&
44133 { ac_try='test -s conftest.$ac_objext'
44134 { (case "(($ac_try" in
44135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44136 *) ac_try_echo
=$ac_try;;
44138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44139 (eval "$ac_try") 2>&5
44141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44142 (exit $ac_status); }; }; then
44143 ac_cv_func_which_gethostbyname_r
=six
44145 echo "$as_me: failed program was:" >&5
44146 sed 's/^/| /' conftest.
$ac_ext >&5
44151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44160 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44162 cat >conftest.
$ac_ext <<_ACEOF
44165 cat confdefs.h
>>conftest.
$ac_ext
44166 cat >>conftest.
$ac_ext <<_ACEOF
44167 /* end confdefs.h. */
44173 char *name = "www.gnu.org";
44174 struct hostent ret;
44178 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44184 rm -f conftest.
$ac_objext
44185 if { (ac_try
="$ac_compile"
44186 case "(($ac_try" in
44187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44188 *) ac_try_echo=$ac_try;;
44190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44191 (eval "$ac_compile") 2>conftest.er1
44193 grep -v '^ *+' conftest.er1 >conftest.err
44195 cat conftest.err >&5
44196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44197 (exit $ac_status); } &&
44198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44199 { (case "(($ac_try" in
44200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44201 *) ac_try_echo
=$ac_try;;
44203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44204 (eval "$ac_try") 2>&5
44206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44207 (exit $ac_status); }; } &&
44208 { ac_try
='test -s conftest.$ac_objext'
44209 { (case "(($ac_try" in
44210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44211 *) ac_try_echo=$ac_try;;
44213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44214 (eval "$ac_try") 2>&5
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; }; then
44218 ac_cv_func_which_gethostbyname_r=five
44220 echo "$as_me: failed program was:" >&5
44221 sed 's/^/| /' conftest.$ac_ext >&5
44226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44232 # (e.g. AIX, HP-UX, Tru64)
44235 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44237 cat >conftest.$ac_ext <<_ACEOF
44240 cat confdefs.h >>conftest.$ac_ext
44241 cat >>conftest.$ac_ext <<_ACEOF
44242 /* end confdefs.h. */
44248 char *name = "www.gnu.org";
44249 struct hostent ret;
44250 struct hostent_data data;
44251 (void)gethostbyname_r(name, &ret, &data) /* ; */
44257 rm -f conftest.$ac_objext
44258 if { (ac_try="$ac_compile"
44259 case "(($ac_try" in
44260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44261 *) ac_try_echo
=$ac_try;;
44263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44264 (eval "$ac_compile") 2>conftest.er1
44266 grep -v '^ *+' conftest.er1
>conftest.err
44268 cat conftest.err
>&5
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); } &&
44271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44272 { (case "(($ac_try" in
44273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44274 *) ac_try_echo=$ac_try;;
44276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44277 (eval "$ac_try") 2>&5
44279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44280 (exit $ac_status); }; } &&
44281 { ac_try='test -s conftest.$ac_objext'
44282 { (case "(($ac_try" in
44283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44284 *) ac_try_echo
=$ac_try;;
44286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44287 (eval "$ac_try") 2>&5
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); }; }; then
44291 ac_cv_func_which_gethostbyname_r
=three
44293 echo "$as_me: failed program was:" >&5
44294 sed 's/^/| /' conftest.
$ac_ext >&5
44299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44303 ################################################################
44308 case "$ac_cv_func_which_gethostbyname_r" in
44310 { echo "$as_me:$LINENO: result: three" >&5
44311 echo "${ECHO_T}three" >&6; }
44312 cat >>confdefs.h
<<\_ACEOF
44313 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44319 { echo "$as_me:$LINENO: result: five" >&5
44320 echo "${ECHO_T}five" >&6; }
44321 cat >>confdefs.h
<<\_ACEOF
44322 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44328 { echo "$as_me:$LINENO: result: six" >&5
44329 echo "${ECHO_T}six" >&6; }
44330 cat >>confdefs.h
<<\_ACEOF
44331 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44337 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44338 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44342 { echo "$as_me:$LINENO: result: can't tell" >&5
44343 echo "${ECHO_T}can't tell" >&6; }
44347 { { echo "$as_me:$LINENO: error: internal error" >&5
44348 echo "$as_me: error: internal error" >&2;}
44349 { (exit 1); exit 1; }; }
44354 ac_cpp
='$CPP $CPPFLAGS'
44355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44361 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
44362 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
44363 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
44364 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
44365 if test "${ac_cv_func_gethostbyname+set}" = set; then
44366 echo $ECHO_N "(cached) $ECHO_C" >&6
44368 cat >conftest.
$ac_ext <<_ACEOF
44371 cat confdefs.h
>>conftest.
$ac_ext
44372 cat >>conftest.
$ac_ext <<_ACEOF
44373 /* end confdefs.h. */
44374 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
44375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44376 #define gethostbyname innocuous_gethostbyname
44378 /* System header to define __stub macros and hopefully few prototypes,
44379 which can conflict with char gethostbyname (); below.
44380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44381 <limits.h> exists even on freestanding compilers. */
44384 # include <limits.h>
44386 # include <assert.h>
44389 #undef gethostbyname
44391 /* Override any GCC internal prototype to avoid an error.
44392 Use char because int might match the return type of a GCC
44393 builtin and then its argument prototype would still apply. */
44397 char gethostbyname ();
44398 /* The GNU C library defines this for functions which it implements
44399 to always fail with ENOSYS. Some functions are actually named
44400 something starting with __ and the normal name is an alias. */
44401 #if defined __stub_gethostbyname || defined __stub___gethostbyname
44408 return gethostbyname ();
44413 rm -f conftest.
$ac_objext conftest
$ac_exeext
44414 if { (ac_try
="$ac_link"
44415 case "(($ac_try" in
44416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44417 *) ac_try_echo=$ac_try;;
44419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44420 (eval "$ac_link") 2>conftest.er1
44422 grep -v '^ *+' conftest.er1 >conftest.err
44424 cat conftest.err >&5
44425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426 (exit $ac_status); } &&
44427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44428 { (case "(($ac_try" in
44429 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44430 *) ac_try_echo
=$ac_try;;
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_try") 2>&5
44435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44436 (exit $ac_status); }; } &&
44437 { ac_try
='test -s conftest$ac_exeext'
44438 { (case "(($ac_try" in
44439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44440 *) ac_try_echo=$ac_try;;
44442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44443 (eval "$ac_try") 2>&5
44445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44446 (exit $ac_status); }; }; then
44447 ac_cv_func_gethostbyname=yes
44449 echo "$as_me: failed program was:" >&5
44450 sed 's/^/| /' conftest.$ac_ext >&5
44452 ac_cv_func_gethostbyname=no
44455 rm -f core conftest.err conftest.$ac_objext \
44456 conftest$ac_exeext conftest.$ac_ext
44458 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
44459 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
44460 if test $ac_cv_func_gethostbyname = yes; then
44461 cat >>confdefs.h <<\_ACEOF
44462 #define HAVE_GETHOSTBYNAME 1
44469 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
44470 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
44471 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
44472 echo $ECHO_N "(cached) $ECHO_C" >&6
44476 ac_cpp='$CXXCPP $CPPFLAGS'
44477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44482 cat >conftest.$ac_ext <<_ACEOF
44485 cat confdefs.h >>conftest.$ac_ext
44486 cat >>conftest.$ac_ext <<_ACEOF
44487 /* end confdefs.h. */
44495 struct servent *se, *res;
44498 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
44504 rm -f conftest.$ac_objext
44505 if { (ac_try="$ac_compile"
44506 case "(($ac_try" in
44507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44508 *) ac_try_echo
=$ac_try;;
44510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44511 (eval "$ac_compile") 2>conftest.er1
44513 grep -v '^ *+' conftest.er1
>conftest.err
44515 cat conftest.err
>&5
44516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44517 (exit $ac_status); } &&
44518 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
44528 { ac_try='test -s conftest.$ac_objext'
44529 { (case "(($ac_try" in
44530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44531 *) ac_try_echo
=$ac_try;;
44533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44534 (eval "$ac_try") 2>&5
44536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44537 (exit $ac_status); }; }; then
44538 ac_cv_func_which_getservbyname_r
=six
44540 echo "$as_me: failed program was:" >&5
44541 sed 's/^/| /' conftest.
$ac_ext >&5
44544 cat >conftest.
$ac_ext <<_ACEOF
44547 cat confdefs.h
>>conftest.
$ac_ext
44548 cat >>conftest.
$ac_ext <<_ACEOF
44549 /* end confdefs.h. */
44557 struct servent *se;
44560 (void) getservbyname_r(name, proto, se, buffer, buflen)
44566 rm -f conftest.
$ac_objext
44567 if { (ac_try
="$ac_compile"
44568 case "(($ac_try" in
44569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44570 *) ac_try_echo=$ac_try;;
44572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44573 (eval "$ac_compile") 2>conftest.er1
44575 grep -v '^ *+' conftest.er1 >conftest.err
44577 cat conftest.err >&5
44578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44579 (exit $ac_status); } &&
44580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44581 { (case "(($ac_try" in
44582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44583 *) ac_try_echo
=$ac_try;;
44585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44586 (eval "$ac_try") 2>&5
44588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44589 (exit $ac_status); }; } &&
44590 { ac_try
='test -s conftest.$ac_objext'
44591 { (case "(($ac_try" in
44592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44593 *) ac_try_echo=$ac_try;;
44595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44596 (eval "$ac_try") 2>&5
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); }; }; then
44600 ac_cv_func_which_getservbyname_r=five
44602 echo "$as_me: failed program was:" >&5
44603 sed 's/^/| /' conftest.$ac_ext >&5
44606 cat >conftest.$ac_ext <<_ACEOF
44609 cat confdefs.h >>conftest.$ac_ext
44610 cat >>conftest.$ac_ext <<_ACEOF
44611 /* end confdefs.h. */
44619 struct servent *se;
44620 struct servent_data data;
44621 (void) getservbyname_r(name, proto, se, &data);
44627 rm -f conftest.$ac_objext
44628 if { (ac_try="$ac_compile"
44629 case "(($ac_try" in
44630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44631 *) ac_try_echo
=$ac_try;;
44633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44634 (eval "$ac_compile") 2>conftest.er1
44636 grep -v '^ *+' conftest.er1
>conftest.err
44638 cat conftest.err
>&5
44639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44640 (exit $ac_status); } &&
44641 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44642 { (case "(($ac_try" in
44643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44644 *) ac_try_echo=$ac_try;;
44646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44647 (eval "$ac_try") 2>&5
44649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44650 (exit $ac_status); }; } &&
44651 { ac_try='test -s conftest.$ac_objext'
44652 { (case "(($ac_try" in
44653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44654 *) ac_try_echo
=$ac_try;;
44656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44657 (eval "$ac_try") 2>&5
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); }; }; then
44661 ac_cv_func_which_getservbyname_r
=four
44663 echo "$as_me: failed program was:" >&5
44664 sed 's/^/| /' conftest.
$ac_ext >&5
44666 ac_cv_func_which_getservbyname_r
=no
44670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44682 ac_cpp
='$CPP $CPPFLAGS'
44683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44690 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
44691 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
44693 if test $ac_cv_func_which_getservbyname_r = six
; then
44694 cat >>confdefs.h
<<\_ACEOF
44695 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
44698 elif test $ac_cv_func_which_getservbyname_r = five
; then
44699 cat >>confdefs.h
<<\_ACEOF
44700 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
44703 elif test $ac_cv_func_which_getservbyname_r = four
; then
44704 cat >>confdefs.h
<<\_ACEOF
44705 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
44711 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
44712 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
44714 for ac_func
in getservbyname
44716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44717 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44719 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44720 echo $ECHO_N "(cached) $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. */
44728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44730 #define $ac_func innocuous_$ac_func
44732 /* System header to define __stub macros and hopefully few prototypes,
44733 which can conflict with char $ac_func (); below.
44734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44735 <limits.h> exists even on freestanding compilers. */
44738 # include <limits.h>
44740 # include <assert.h>
44745 /* Override any GCC internal prototype to avoid an error.
44746 Use char because int might match the return type of a GCC
44747 builtin and then its argument prototype would still apply. */
44752 /* The GNU C library defines this for functions which it implements
44753 to always fail with ENOSYS. Some functions are actually named
44754 something starting with __ and the normal name is an alias. */
44755 #if defined __stub_$ac_func || defined __stub___$ac_func
44762 return $ac_func ();
44767 rm -f conftest.
$ac_objext conftest
$ac_exeext
44768 if { (ac_try
="$ac_link"
44769 case "(($ac_try" in
44770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44771 *) ac_try_echo=$ac_try;;
44773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44774 (eval "$ac_link") 2>conftest.er1
44776 grep -v '^ *+' conftest.er1 >conftest.err
44778 cat conftest.err >&5
44779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44780 (exit $ac_status); } &&
44781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44782 { (case "(($ac_try" in
44783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44784 *) ac_try_echo
=$ac_try;;
44786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44787 (eval "$ac_try") 2>&5
44789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44790 (exit $ac_status); }; } &&
44791 { ac_try
='test -s conftest$ac_exeext'
44792 { (case "(($ac_try" in
44793 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44794 *) ac_try_echo=$ac_try;;
44796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44797 (eval "$ac_try") 2>&5
44799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44800 (exit $ac_status); }; }; then
44801 eval "$as_ac_var=yes"
44803 echo "$as_me: failed program was:" >&5
44804 sed 's/^/| /' conftest.$ac_ext >&5
44806 eval "$as_ac_var=no"
44809 rm -f core conftest.err conftest.$ac_objext \
44810 conftest$ac_exeext conftest.$ac_ext
44812 ac_res=`eval echo '${'$as_ac_var'}'`
44813 { echo "$as_me:$LINENO: result: $ac_res" >&5
44814 echo "${ECHO_T}$ac_res" >&6; }
44815 if test `eval echo '${'$as_ac_var'}'` = yes; then
44816 cat >>confdefs.h <<_ACEOF
44817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44819 cat >>confdefs.h <<\_ACEOF
44820 #define HAVE_GETSERVBYNAME 1
44828 if test "$wxUSE_THREADS" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define wxUSE_THREADS 1
44834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
44836 if test "$wx_cv_func_strtok_r" = "yes"; then
44837 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
44838 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
44839 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
44840 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
44841 { echo "$as_me:$LINENO: result: yes" >&5
44842 echo "${ECHO_T}yes" >&6; }
44844 { echo "$as_me:$LINENO: result: no" >&5
44845 echo "${ECHO_T}no" >&6; }
44850 if test "$WXGTK20" = 1 ; then
44851 cat >>confdefs.h <<_ACEOF
44852 #define __WXGTK20__ $WXGTK20
44858 if test "$WXGTK12" = 1 ; then
44859 cat >>confdefs.h <<_ACEOF
44860 #define __WXGTK12__ $WXGTK12
44865 if test "$WXGTK127" = 1 ; then
44866 cat >>confdefs.h <<_ACEOF
44867 #define __WXGTK127__ $WXGTK127
44872 if test "$WXGPE" = 1 ; then
44873 cat >>confdefs.h <<_ACEOF
44874 #define __WXGPE__ $WXGPE
44880 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
44885 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
44886 wxUSE_DEBUG_INFO=yes
44887 if test "$GCC" = yes; then
44888 DEBUG_CFLAGS="-ggdb"
44892 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
44893 cat >>confdefs.h <<\_ACEOF
44897 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
44899 if test "$wxUSE_GTK" = 1 ; then
44900 if test "x$wxGTK_VERSION" = "x1" ; then
44901 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
44906 if test "$wxUSE_MEM_TRACING" = "yes" ; then
44907 cat >>confdefs.h <<\_ACEOF
44908 #define wxUSE_MEMORY_TRACING 1
44911 cat >>confdefs.h <<\_ACEOF
44912 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
44915 cat >>confdefs.h <<\_ACEOF
44916 #define wxUSE_DEBUG_NEW_ALWAYS 1
44919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44922 if test "$wxUSE_DMALLOC" = "yes" ; then
44923 DMALLOC_LIBS="-ldmallocthcxx"
44927 if test "$wxUSE_PROFILE" = "yes" ; then
44928 PROFILE_FLAGS=" -pg"
44931 if test "$GCC" = "yes" ; then
44932 if test "$wxUSE_NO_RTTI" = "yes" ; then
44933 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44935 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44936 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44938 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44939 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44944 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44947 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44953 if test "$wxUSE_OPTIMISE" = "no" ; then
44954 if test "$GCC" = yes ; then
44955 OPTIMISE_CFLAGS="-O0"
44958 if test "$GCC" = yes ; then
44960 *-pc-os2_emx | *-pc-os2-emx )
44961 OPTIMISE_CFLAGS="-O2"
44964 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44968 OPTIMISE_CFLAGS="-O"
44973 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44974 cat >>confdefs.h <<\_ACEOF
44975 #define WXWIN_COMPATIBILITY_2_6 1
44979 WXWIN_COMPATIBILITY_2_8="yes"
44982 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44983 cat >>confdefs.h <<\_ACEOF
44984 #define WXWIN_COMPATIBILITY_2_8 1
44990 if test "$wxUSE_GUI" = "yes"; then
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_GUI 1
44999 if test "$wxUSE_UNIX" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_UNIX 1
45007 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45011 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45012 if test "$USE_DARWIN" = 1; then
45014 elif test "$USE_DOS" = 1; then
45018 for ac_func in dlopen
45020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45024 echo $ECHO_N "(cached) $ECHO_C" >&6
45026 cat >conftest.$ac_ext <<_ACEOF
45029 cat confdefs.h >>conftest.$ac_ext
45030 cat >>conftest.$ac_ext <<_ACEOF
45031 /* end confdefs.h. */
45032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45034 #define $ac_func innocuous_$ac_func
45036 /* System header to define __stub macros and hopefully few prototypes,
45037 which can conflict with char $ac_func (); below.
45038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45039 <limits.h> exists even on freestanding compilers. */
45042 # include <limits.h>
45044 # include <assert.h>
45049 /* Override any GCC internal prototype to avoid an error.
45050 Use char because int might match the return type of a GCC
45051 builtin and then its argument prototype would still apply. */
45056 /* The GNU C library defines this for functions which it implements
45057 to always fail with ENOSYS. Some functions are actually named
45058 something starting with __ and the normal name is an alias. */
45059 #if defined __stub_$ac_func || defined __stub___$ac_func
45066 return $ac_func ();
45071 rm -f conftest.$ac_objext conftest$ac_exeext
45072 if { (ac_try="$ac_link"
45073 case "(($ac_try" in
45074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45075 *) ac_try_echo
=$ac_try;;
45077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45078 (eval "$ac_link") 2>conftest.er1
45080 grep -v '^ *+' conftest.er1
>conftest.err
45082 cat conftest.err
>&5
45083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45084 (exit $ac_status); } &&
45085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45086 { (case "(($ac_try" in
45087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45088 *) ac_try_echo=$ac_try;;
45090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45091 (eval "$ac_try") 2>&5
45093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45094 (exit $ac_status); }; } &&
45095 { ac_try='test -s conftest$ac_exeext'
45096 { (case "(($ac_try" in
45097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45098 *) ac_try_echo
=$ac_try;;
45100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45101 (eval "$ac_try") 2>&5
45103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45104 (exit $ac_status); }; }; then
45105 eval "$as_ac_var=yes"
45107 echo "$as_me: failed program was:" >&5
45108 sed 's/^/| /' conftest.
$ac_ext >&5
45110 eval "$as_ac_var=no"
45113 rm -f core conftest.err conftest.
$ac_objext \
45114 conftest
$ac_exeext conftest.
$ac_ext
45116 ac_res
=`eval echo '${'$as_ac_var'}'`
45117 { echo "$as_me:$LINENO: result: $ac_res" >&5
45118 echo "${ECHO_T}$ac_res" >&6; }
45119 if test `eval echo '${'$as_ac_var'}'` = yes; then
45120 cat >>confdefs.h
<<_ACEOF
45121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45124 cat >>confdefs.h
<<\_ACEOF
45125 #define HAVE_DLOPEN 1
45132 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45133 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45134 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45135 echo $ECHO_N "(cached) $ECHO_C" >&6
45137 ac_check_lib_save_LIBS
=$LIBS
45139 cat >conftest.
$ac_ext <<_ACEOF
45142 cat confdefs.h
>>conftest.
$ac_ext
45143 cat >>conftest.
$ac_ext <<_ACEOF
45144 /* end confdefs.h. */
45146 /* Override any GCC internal prototype to avoid an error.
45147 Use char because int might match the return type of a GCC
45148 builtin and then its argument prototype would still apply. */
45161 rm -f conftest.
$ac_objext conftest
$ac_exeext
45162 if { (ac_try
="$ac_link"
45163 case "(($ac_try" in
45164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45165 *) ac_try_echo=$ac_try;;
45167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45168 (eval "$ac_link") 2>conftest.er1
45170 grep -v '^ *+' conftest.er1 >conftest.err
45172 cat conftest.err >&5
45173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174 (exit $ac_status); } &&
45175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45176 { (case "(($ac_try" in
45177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45178 *) ac_try_echo
=$ac_try;;
45180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45181 (eval "$ac_try") 2>&5
45183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184 (exit $ac_status); }; } &&
45185 { ac_try
='test -s conftest$ac_exeext'
45186 { (case "(($ac_try" in
45187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45188 *) ac_try_echo=$ac_try;;
45190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45191 (eval "$ac_try") 2>&5
45193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45194 (exit $ac_status); }; }; then
45195 ac_cv_lib_dl_dlopen=yes
45197 echo "$as_me: failed program was:" >&5
45198 sed 's/^/| /' conftest.$ac_ext >&5
45200 ac_cv_lib_dl_dlopen=no
45203 rm -f core conftest.err conftest.$ac_objext \
45204 conftest$ac_exeext conftest.$ac_ext
45205 LIBS=$ac_check_lib_save_LIBS
45207 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45208 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45209 if test $ac_cv_lib_dl_dlopen = yes; then
45211 cat >>confdefs.h <<\_ACEOF
45212 #define HAVE_DLOPEN 1
45216 DL_LINK=" -ldl$DL_LINK"
45221 for ac_func in shl_load
45223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45224 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45226 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45227 echo $ECHO_N "(cached) $ECHO_C" >&6
45229 cat >conftest.$ac_ext <<_ACEOF
45232 cat confdefs.h >>conftest.$ac_ext
45233 cat >>conftest.$ac_ext <<_ACEOF
45234 /* end confdefs.h. */
45235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45237 #define $ac_func innocuous_$ac_func
45239 /* System header to define __stub macros and hopefully few prototypes,
45240 which can conflict with char $ac_func (); below.
45241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45242 <limits.h> exists even on freestanding compilers. */
45245 # include <limits.h>
45247 # include <assert.h>
45252 /* Override any GCC internal prototype to avoid an error.
45253 Use char because int might match the return type of a GCC
45254 builtin and then its argument prototype would still apply. */
45259 /* The GNU C library defines this for functions which it implements
45260 to always fail with ENOSYS. Some functions are actually named
45261 something starting with __ and the normal name is an alias. */
45262 #if defined __stub_$ac_func || defined __stub___$ac_func
45269 return $ac_func ();
45274 rm -f conftest.$ac_objext conftest$ac_exeext
45275 if { (ac_try="$ac_link"
45276 case "(($ac_try" in
45277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45278 *) ac_try_echo
=$ac_try;;
45280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45281 (eval "$ac_link") 2>conftest.er1
45283 grep -v '^ *+' conftest.er1
>conftest.err
45285 cat conftest.err
>&5
45286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45287 (exit $ac_status); } &&
45288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45289 { (case "(($ac_try" in
45290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45291 *) ac_try_echo=$ac_try;;
45293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45294 (eval "$ac_try") 2>&5
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); }; } &&
45298 { ac_try='test -s conftest$ac_exeext'
45299 { (case "(($ac_try" in
45300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45301 *) ac_try_echo
=$ac_try;;
45303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45304 (eval "$ac_try") 2>&5
45306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45307 (exit $ac_status); }; }; then
45308 eval "$as_ac_var=yes"
45310 echo "$as_me: failed program was:" >&5
45311 sed 's/^/| /' conftest.
$ac_ext >&5
45313 eval "$as_ac_var=no"
45316 rm -f core conftest.err conftest.
$ac_objext \
45317 conftest
$ac_exeext conftest.
$ac_ext
45319 ac_res
=`eval echo '${'$as_ac_var'}'`
45320 { echo "$as_me:$LINENO: result: $ac_res" >&5
45321 echo "${ECHO_T}$ac_res" >&6; }
45322 if test `eval echo '${'$as_ac_var'}'` = yes; then
45323 cat >>confdefs.h
<<_ACEOF
45324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45327 cat >>confdefs.h
<<\_ACEOF
45328 #define HAVE_SHL_LOAD 1
45335 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45336 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45337 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45338 echo $ECHO_N "(cached) $ECHO_C" >&6
45340 ac_check_lib_save_LIBS
=$LIBS
45341 LIBS
="-lshl_load $LIBS"
45342 cat >conftest.
$ac_ext <<_ACEOF
45345 cat confdefs.h
>>conftest.
$ac_ext
45346 cat >>conftest.
$ac_ext <<_ACEOF
45347 /* end confdefs.h. */
45349 /* Override any GCC internal prototype to avoid an error.
45350 Use char because int might match the return type of a GCC
45351 builtin and then its argument prototype would still apply. */
45364 rm -f conftest.
$ac_objext conftest
$ac_exeext
45365 if { (ac_try
="$ac_link"
45366 case "(($ac_try" in
45367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45368 *) ac_try_echo=$ac_try;;
45370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45371 (eval "$ac_link") 2>conftest.er1
45373 grep -v '^ *+' conftest.er1 >conftest.err
45375 cat conftest.err >&5
45376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45377 (exit $ac_status); } &&
45378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45379 { (case "(($ac_try" in
45380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45381 *) ac_try_echo
=$ac_try;;
45383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45384 (eval "$ac_try") 2>&5
45386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45387 (exit $ac_status); }; } &&
45388 { ac_try
='test -s conftest$ac_exeext'
45389 { (case "(($ac_try" in
45390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45391 *) ac_try_echo=$ac_try;;
45393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45394 (eval "$ac_try") 2>&5
45396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397 (exit $ac_status); }; }; then
45398 ac_cv_lib_shl_load_dld=yes
45400 echo "$as_me: failed program was:" >&5
45401 sed 's/^/| /' conftest.$ac_ext >&5
45403 ac_cv_lib_shl_load_dld=no
45406 rm -f core conftest.err conftest.$ac_objext \
45407 conftest$ac_exeext conftest.$ac_ext
45408 LIBS=$ac_check_lib_save_LIBS
45410 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45411 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45412 if test $ac_cv_lib_shl_load_dld = yes; then
45415 DL_LINK=" -ldld$DL_LINK"
45431 if test "$HAVE_DL_FUNCS" = 1; then
45433 for ac_func in dlerror
45435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45439 echo $ECHO_N "(cached) $ECHO_C" >&6
45441 cat >conftest.$ac_ext <<_ACEOF
45444 cat confdefs.h >>conftest.$ac_ext
45445 cat >>conftest.$ac_ext <<_ACEOF
45446 /* end confdefs.h. */
45447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45449 #define $ac_func innocuous_$ac_func
45451 /* System header to define __stub macros and hopefully few prototypes,
45452 which can conflict with char $ac_func (); below.
45453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45454 <limits.h> exists even on freestanding compilers. */
45457 # include <limits.h>
45459 # include <assert.h>
45464 /* Override any GCC internal prototype to avoid an error.
45465 Use char because int might match the return type of a GCC
45466 builtin and then its argument prototype would still apply. */
45471 /* The GNU C library defines this for functions which it implements
45472 to always fail with ENOSYS. Some functions are actually named
45473 something starting with __ and the normal name is an alias. */
45474 #if defined __stub_$ac_func || defined __stub___$ac_func
45481 return $ac_func ();
45486 rm -f conftest.$ac_objext conftest$ac_exeext
45487 if { (ac_try="$ac_link"
45488 case "(($ac_try" in
45489 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45490 *) ac_try_echo
=$ac_try;;
45492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45493 (eval "$ac_link") 2>conftest.er1
45495 grep -v '^ *+' conftest.er1
>conftest.err
45497 cat conftest.err
>&5
45498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45499 (exit $ac_status); } &&
45500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45501 { (case "(($ac_try" in
45502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45503 *) ac_try_echo=$ac_try;;
45505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45506 (eval "$ac_try") 2>&5
45508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45509 (exit $ac_status); }; } &&
45510 { ac_try='test -s conftest$ac_exeext'
45511 { (case "(($ac_try" in
45512 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45513 *) ac_try_echo
=$ac_try;;
45515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45516 (eval "$ac_try") 2>&5
45518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45519 (exit $ac_status); }; }; then
45520 eval "$as_ac_var=yes"
45522 echo "$as_me: failed program was:" >&5
45523 sed 's/^/| /' conftest.
$ac_ext >&5
45525 eval "$as_ac_var=no"
45528 rm -f core conftest.err conftest.
$ac_objext \
45529 conftest
$ac_exeext conftest.
$ac_ext
45531 ac_res
=`eval echo '${'$as_ac_var'}'`
45532 { echo "$as_me:$LINENO: result: $ac_res" >&5
45533 echo "${ECHO_T}$ac_res" >&6; }
45534 if test `eval echo '${'$as_ac_var'}'` = yes; then
45535 cat >>confdefs.h
<<_ACEOF
45536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45538 cat >>confdefs.h
<<\_ACEOF
45539 #define HAVE_DLERROR 1
45544 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
45545 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
45546 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
45547 echo $ECHO_N "(cached) $ECHO_C" >&6
45549 ac_check_lib_save_LIBS
=$LIBS
45551 cat >conftest.
$ac_ext <<_ACEOF
45554 cat confdefs.h
>>conftest.
$ac_ext
45555 cat >>conftest.
$ac_ext <<_ACEOF
45556 /* end confdefs.h. */
45558 /* Override any GCC internal prototype to avoid an error.
45559 Use char because int might match the return type of a GCC
45560 builtin and then its argument prototype would still apply. */
45573 rm -f conftest.
$ac_objext conftest
$ac_exeext
45574 if { (ac_try
="$ac_link"
45575 case "(($ac_try" in
45576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45577 *) ac_try_echo=$ac_try;;
45579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45580 (eval "$ac_link") 2>conftest.er1
45582 grep -v '^ *+' conftest.er1 >conftest.err
45584 cat conftest.err >&5
45585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586 (exit $ac_status); } &&
45587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45588 { (case "(($ac_try" in
45589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45590 *) ac_try_echo
=$ac_try;;
45592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45593 (eval "$ac_try") 2>&5
45595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45596 (exit $ac_status); }; } &&
45597 { ac_try
='test -s conftest$ac_exeext'
45598 { (case "(($ac_try" in
45599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45600 *) ac_try_echo=$ac_try;;
45602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45603 (eval "$ac_try") 2>&5
45605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45606 (exit $ac_status); }; }; then
45607 ac_cv_lib_dl_dlerror=yes
45609 echo "$as_me: failed program was:" >&5
45610 sed 's/^/| /' conftest.$ac_ext >&5
45612 ac_cv_lib_dl_dlerror=no
45615 rm -f core conftest.err conftest.$ac_objext \
45616 conftest$ac_exeext conftest.$ac_ext
45617 LIBS=$ac_check_lib_save_LIBS
45619 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
45620 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
45621 if test $ac_cv_lib_dl_dlerror = yes; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define HAVE_DLERROR 1
45636 if test "$HAVE_DL_FUNCS" = 0; then
45637 if test "$HAVE_SHL_FUNCS" = 0; then
45638 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
45639 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
45640 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
45641 wxUSE_DYNAMIC_LOADER=no
45642 wxUSE_DYNLIB_CLASS=no
45644 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
45645 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
45652 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
45653 cat >>confdefs.h <<\_ACEOF
45654 #define wxUSE_DYNAMIC_LOADER 1
45658 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_DYNLIB_CLASS 1
45667 if test "$wxUSE_PLUGINS" = "yes" ; then
45668 if test "$wxUSE_SHARED" = "no" ; then
45669 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
45670 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
45673 if test "$wxUSE_MONOLITHIC" = "yes" ; then
45674 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
45675 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
45678 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
45679 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
45680 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
45683 if test "$wxUSE_PLUGINS" = "yes" ; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_PLUGINS 1
45692 if test "$wxUSE_STL" = "yes"; then
45693 cat >>confdefs.h <<\_ACEOF
45694 #define wxUSE_STL 1
45699 if test "$wxUSE_APPLE_IEEE" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_APPLE_IEEE 1
45706 if test "$wxUSE_TIMER" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_TIMER 1
45713 if test "$USE_UNIX" = "1" ; then
45714 if test "$wxUSE_MGL" != 1; then
45715 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
45716 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
45717 if test "${ac_cv_header_sys_soundcard+set}" = set; then
45718 echo $ECHO_N "(cached) $ECHO_C" >&6
45721 cat >conftest.$ac_ext <<_ACEOF
45724 cat confdefs.h >>conftest.$ac_ext
45725 cat >>conftest.$ac_ext <<_ACEOF
45726 /* end confdefs.h. */
45728 #include <sys/ioctl.h>
45729 #include <sys/soundcard.h>
45735 ioctl(0, SNDCTL_DSP_SPEED, 0);
45741 rm -f conftest.$ac_objext conftest$ac_exeext
45742 if { (ac_try="$ac_link"
45743 case "(($ac_try" in
45744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45745 *) ac_try_echo
=$ac_try;;
45747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45748 (eval "$ac_link") 2>conftest.er1
45750 grep -v '^ *+' conftest.er1
>conftest.err
45752 cat conftest.err
>&5
45753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45754 (exit $ac_status); } &&
45755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45756 { (case "(($ac_try" in
45757 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45758 *) ac_try_echo=$ac_try;;
45760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45761 (eval "$ac_try") 2>&5
45763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45764 (exit $ac_status); }; } &&
45765 { ac_try='test -s conftest$ac_exeext'
45766 { (case "(($ac_try" in
45767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45768 *) ac_try_echo
=$ac_try;;
45770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45771 (eval "$ac_try") 2>&5
45773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45774 (exit $ac_status); }; }; then
45775 ac_cv_header_sys_soundcard
=yes
45777 echo "$as_me: failed program was:" >&5
45778 sed 's/^/| /' conftest.
$ac_ext >&5
45782 LIBS
="$saveLibs -lossaudio"
45783 cat >conftest.
$ac_ext <<_ACEOF
45786 cat confdefs.h
>>conftest.
$ac_ext
45787 cat >>conftest.
$ac_ext <<_ACEOF
45788 /* end confdefs.h. */
45790 #include <sys/ioctl.h>
45791 #include <sys/soundcard.h>
45797 ioctl(0, SNDCTL_DSP_SPEED, 0);
45803 rm -f conftest.
$ac_objext conftest
$ac_exeext
45804 if { (ac_try
="$ac_link"
45805 case "(($ac_try" in
45806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45807 *) ac_try_echo=$ac_try;;
45809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45810 (eval "$ac_link") 2>conftest.er1
45812 grep -v '^ *+' conftest.er1 >conftest.err
45814 cat conftest.err >&5
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); } &&
45817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45818 { (case "(($ac_try" in
45819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45820 *) ac_try_echo
=$ac_try;;
45822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45823 (eval "$ac_try") 2>&5
45825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45826 (exit $ac_status); }; } &&
45827 { ac_try
='test -s conftest$ac_exeext'
45828 { (case "(($ac_try" in
45829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45830 *) ac_try_echo=$ac_try;;
45832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45833 (eval "$ac_try") 2>&5
45835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45836 (exit $ac_status); }; }; then
45837 ac_cv_header_sys_soundcard=yes
45839 echo "$as_me: failed program was:" >&5
45840 sed 's/^/| /' conftest.$ac_ext >&5
45844 ac_cv_header_sys_soundcard=no
45849 rm -f core conftest.err conftest.$ac_objext \
45850 conftest$ac_exeext conftest.$ac_ext
45855 rm -f core conftest.err conftest.$ac_objext \
45856 conftest$ac_exeext conftest.$ac_ext
45859 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
45860 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
45863 if test "$ac_cv_header_sys_soundcard" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define HAVE_SYS_SOUNDCARD_H 1
45872 if test "$wxUSE_SOUND" = "yes"; then
45873 if test "$USE_UNIX" = "1" ; then
45874 if test "$wxUSE_LIBSDL" != "no"; then
45876 # Check whether --with-sdl-prefix was given.
45877 if test "${with_sdl_prefix+set}" = set; then
45878 withval=$with_sdl_prefix; sdl_prefix="$withval"
45884 # Check whether --with-sdl-exec-prefix was given.
45885 if test "${with_sdl_exec_prefix+set}" = set; then
45886 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
45891 # Check whether --enable-sdltest was given.
45892 if test "${enable_sdltest+set}" = set; then
45893 enableval=$enable_sdltest;
45899 if test x$sdl_exec_prefix != x ; then
45900 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
45901 if test x${SDL_CONFIG+set} != xset ; then
45902 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
45905 if test x$sdl_prefix != x ; then
45906 sdl_args="$sdl_args --prefix=$sdl_prefix"
45907 if test x${SDL_CONFIG+set} != xset ; then
45908 SDL_CONFIG=$sdl_prefix/bin/sdl-config
45912 if test "x$prefix" != xNONE; then
45913 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
45915 # Extract the first word of "sdl-config", so it can be a program name with args.
45916 set dummy sdl-config; ac_word=$2
45917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45919 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
45920 echo $ECHO_N "(cached) $ECHO_C" >&6
45922 case $SDL_CONFIG in
45924 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
45927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45928 for as_dir in $PATH
45931 test -z "$as_dir" && as_dir=.
45932 for ac_exec_ext in '' $ac_executable_extensions; do
45933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
45934 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45942 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
45946 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
45947 if test -n "$SDL_CONFIG"; then
45948 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
45949 echo "${ECHO_T}$SDL_CONFIG" >&6; }
45951 { echo "$as_me:$LINENO: result: no" >&5
45952 echo "${ECHO_T}no" >&6; }
45956 min_sdl_version=1.2.0
45957 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
45958 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
45960 if test "$SDL_CONFIG" = "no" ; then
45963 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
45964 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
45966 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
45967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45968 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
45969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45970 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
45971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45972 if test "x$enable_sdltest" = "xyes" ; then
45973 ac_save_CFLAGS="$CFLAGS"
45974 ac_save_CXXFLAGS="$CXXFLAGS"
45975 ac_save_LIBS="$LIBS"
45976 CFLAGS="$CFLAGS $SDL_CFLAGS"
45977 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45978 LIBS="$LIBS $SDL_LIBS"
45980 if test "$cross_compiling" = yes; then
45981 echo $ac_n "cross compiling; assumed OK... $ac_c"
45983 cat >conftest.$ac_ext <<_ACEOF
45986 cat confdefs.h >>conftest.$ac_ext
45987 cat >>conftest.$ac_ext <<_ACEOF
45988 /* end confdefs.h. */
45991 #include <stdlib.h>
45992 #include <string.h>
45996 my_strdup (char *str)
46002 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46003 strcpy (new_str, str);
46011 int main (int argc, char *argv[])
46013 int major, minor, micro;
46016 /* This hangs on some systems (?)
46017 system ("touch conf.sdltest");
46019 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46021 /* HP/UX 9 (%@#!) writes to sscanf strings */
46022 tmp_version = my_strdup("$min_sdl_version");
46023 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
46024 printf("%s, bad version string\n", "$min_sdl_version");
46028 if (($sdl_major_version > major) ||
46029 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46030 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46036 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46037 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46038 printf("*** best to upgrade to the required version.\n");
46039 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46040 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46041 printf("*** config.cache before re-running configure\n");
46048 rm -f conftest$ac_exeext
46049 if { (ac_try="$ac_link"
46050 case "(($ac_try" in
46051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46052 *) ac_try_echo
=$ac_try;;
46054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46055 (eval "$ac_link") 2>&5
46057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46059 { (case "(($ac_try" in
46060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46061 *) ac_try_echo=$ac_try;;
46063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46064 (eval "$ac_try") 2>&5
46066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46067 (exit $ac_status); }; }; then
46070 echo "$as_me: program exited with status $ac_status" >&5
46071 echo "$as_me: failed program was:" >&5
46072 sed 's/^/| /' conftest.$ac_ext >&5
46074 ( exit $ac_status )
46077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46081 CFLAGS="$ac_save_CFLAGS"
46082 CXXFLAGS="$ac_save_CXXFLAGS"
46083 LIBS="$ac_save_LIBS"
46086 if test "x$no_sdl" = x ; then
46087 { echo "$as_me:$LINENO: result: yes" >&5
46088 echo "${ECHO_T}yes" >&6; }
46090 EXTRALIBS_SDL="$SDL_LIBS"
46091 CFLAGS="$SDL_CFLAGS $CFLAGS"
46092 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_LIBSDL 1
46099 { echo "$as_me:$LINENO: result: no" >&5
46100 echo "${ECHO_T}no" >&6; }
46101 if test "$SDL_CONFIG" = "no" ; then
46102 echo "*** The sdl-config script installed by SDL could not be found"
46103 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46104 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46105 echo "*** full path to sdl-config."
46107 if test -f conf.sdltest ; then
46110 echo "*** Could not run SDL test program, checking why..."
46111 CFLAGS="$CFLAGS $SDL_CFLAGS"
46112 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46113 LIBS="$LIBS $SDL_LIBS"
46114 cat >conftest.$ac_ext <<_ACEOF
46117 cat confdefs.h >>conftest.$ac_ext
46118 cat >>conftest.$ac_ext <<_ACEOF
46119 /* end confdefs.h. */
46124 int main(int argc, char *argv[])
46127 #define main K_and_R_C_main
46137 rm -f conftest.$ac_objext conftest$ac_exeext
46138 if { (ac_try="$ac_link"
46139 case "(($ac_try" in
46140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46141 *) ac_try_echo
=$ac_try;;
46143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46144 (eval "$ac_link") 2>conftest.er1
46146 grep -v '^ *+' conftest.er1
>conftest.err
46148 cat conftest.err
>&5
46149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46150 (exit $ac_status); } &&
46151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46152 { (case "(($ac_try" in
46153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46154 *) ac_try_echo=$ac_try;;
46156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46157 (eval "$ac_try") 2>&5
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); }; } &&
46161 { ac_try='test -s conftest$ac_exeext'
46162 { (case "(($ac_try" in
46163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46164 *) ac_try_echo
=$ac_try;;
46166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46167 (eval "$ac_try") 2>&5
46169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46170 (exit $ac_status); }; }; then
46171 echo "*** The test program compiled, but did not run. This usually means"
46172 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46173 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46174 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46175 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46176 echo "*** is required on your system"
46178 echo "*** If you have an old version installed, it is best to remove it, although"
46179 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46181 echo "$as_me: failed program was:" >&5
46182 sed 's/^/| /' conftest.
$ac_ext >&5
46184 echo "*** The test program failed to compile or link. See the file config.log for the"
46185 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46186 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46187 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46190 rm -f core conftest.err conftest.
$ac_objext \
46191 conftest
$ac_exeext conftest.
$ac_ext
46192 CFLAGS
="$ac_save_CFLAGS"
46193 CXXFLAGS
="$ac_save_CXXFLAGS"
46194 LIBS
="$ac_save_LIBS"
46205 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46210 if test "$wxUSE_MGL" = 1; then
46211 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
46212 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
46218 if test "$wxUSE_SOUND" = "yes"; then
46219 cat >>confdefs.h
<<\_ACEOF
46220 #define wxUSE_SOUND 1
46223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
46226 if test "$WXGTK20" = 1; then
46229 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46230 if test -n "$ac_tool_prefix"; then
46231 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46232 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
46233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46235 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46236 echo $ECHO_N "(cached) $ECHO_C" >&6
46238 case $PKG_CONFIG in
46240 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
46243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46244 for as_dir
in $PATH
46247 test -z "$as_dir" && as_dir
=.
46248 for ac_exec_ext
in '' $ac_executable_extensions; do
46249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
46250 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46261 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
46262 if test -n "$PKG_CONFIG"; then
46263 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46264 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46266 { echo "$as_me:$LINENO: result: no" >&5
46267 echo "${ECHO_T}no" >&6; }
46272 if test -z "$ac_cv_path_PKG_CONFIG"; then
46273 ac_pt_PKG_CONFIG
=$PKG_CONFIG
46274 # Extract the first word of "pkg-config", so it can be a program name with args.
46275 set dummy pkg
-config; ac_word
=$2
46276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46278 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46279 echo $ECHO_N "(cached) $ECHO_C" >&6
46281 case $ac_pt_PKG_CONFIG in
46283 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46287 for as_dir
in $PATH
46290 test -z "$as_dir" && as_dir
=.
46291 for ac_exec_ext
in '' $ac_executable_extensions; do
46292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
46293 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46304 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
46305 if test -n "$ac_pt_PKG_CONFIG"; then
46306 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46307 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46309 { echo "$as_me:$LINENO: result: no" >&5
46310 echo "${ECHO_T}no" >&6; }
46313 if test "x$ac_pt_PKG_CONFIG" = x
; then
46316 case $cross_compiling:$ac_tool_warned in
46318 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46319 whose name does not start with the host triplet. If you think this
46320 configuration is useful to you, please write to autoconf@gnu.org." >&5
46321 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46322 whose name does not start with the host triplet. If you think this
46323 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46324 ac_tool_warned
=yes ;;
46326 PKG_CONFIG
=$ac_pt_PKG_CONFIG
46329 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
46333 if test -n "$PKG_CONFIG"; then
46334 _pkg_min_version
=0.9.0
46335 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46336 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46337 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46338 { echo "$as_me:$LINENO: result: yes" >&5
46339 echo "${ECHO_T}yes" >&6; }
46341 { echo "$as_me:$LINENO: result: no" >&5
46342 echo "${ECHO_T}no" >&6; }
46348 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46349 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46353 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
46354 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
46356 if test -n "$PKG_CONFIG"; then
46357 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
46358 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
46360 if test -n "$PKG_CONFIG" && \
46361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46362 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46365 (exit $ac_status); }; then
46366 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46374 if test -n "$PKG_CONFIG"; then
46375 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
46376 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
46378 if test -n "$PKG_CONFIG" && \
46379 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46380 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46383 (exit $ac_status); }; then
46384 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46395 if test $pkg_failed = yes; then
46397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46398 _pkg_short_errors_supported
=yes
46400 _pkg_short_errors_supported
=no
46402 if test $_pkg_short_errors_supported = yes; then
46403 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46405 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46407 # Put the nasty error message in config.log where it belongs
46408 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
46411 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46412 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46413 wxUSE_LIBGNOMEPRINT
="no"
46416 elif test $pkg_failed = untried
; then
46418 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46419 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46420 wxUSE_LIBGNOMEPRINT
="no"
46424 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
46425 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
46426 { echo "$as_me:$LINENO: result: yes" >&5
46427 echo "${ECHO_T}yes" >&6; }
46429 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
46430 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
46431 cat >>confdefs.h
<<\_ACEOF
46432 #define wxUSE_LIBGNOMEPRINT 1
46440 if test "$wxUSE_MIMETYPE" = "yes" ; then
46441 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46445 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
46446 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
46448 if test -n "$PKG_CONFIG"; then
46449 if test -n "$GNOMEVFS_CFLAGS"; then
46450 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
46452 if test -n "$PKG_CONFIG" && \
46453 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
46454 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
46456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46457 (exit $ac_status); }; then
46458 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
46466 if test -n "$PKG_CONFIG"; then
46467 if test -n "$GNOMEVFS_LIBS"; then
46468 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
46470 if test -n "$PKG_CONFIG" && \
46471 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
46472 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
46474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46475 (exit $ac_status); }; then
46476 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
46487 if test $pkg_failed = yes; then
46489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46490 _pkg_short_errors_supported
=yes
46492 _pkg_short_errors_supported
=no
46494 if test $_pkg_short_errors_supported = yes; then
46495 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
46497 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
46499 # Put the nasty error message in config.log where it belongs
46500 echo "$GNOMEVFS_PKG_ERRORS" >&5
46503 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
46504 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
46505 wxUSE_LIBGNOMEVFS
="no"
46508 elif test $pkg_failed = untried
; then
46510 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
46511 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
46512 wxUSE_LIBGNOMEVFS
="no"
46516 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
46517 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
46518 { echo "$as_me:$LINENO: result: yes" >&5
46519 echo "${ECHO_T}yes" >&6; }
46521 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
46522 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
46523 cat >>confdefs.h
<<\_ACEOF
46524 #define wxUSE_LIBGNOMEVFS 1
46532 if test "$wxUSE_LIBHILDON" = "yes" ; then
46535 { echo "$as_me:$LINENO: checking for HILDON" >&5
46536 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
46538 if test -n "$PKG_CONFIG"; then
46539 if test -n "$HILDON_CFLAGS"; then
46540 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
46542 if test -n "$PKG_CONFIG" && \
46543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
46544 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
46546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46547 (exit $ac_status); }; then
46548 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
46556 if test -n "$PKG_CONFIG"; then
46557 if test -n "$HILDON_LIBS"; then
46558 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
46560 if test -n "$PKG_CONFIG" && \
46561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
46562 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
46564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46565 (exit $ac_status); }; then
46566 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
46577 if test $pkg_failed = yes; then
46579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46580 _pkg_short_errors_supported
=yes
46582 _pkg_short_errors_supported
=no
46584 if test $_pkg_short_errors_supported = yes; then
46585 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
46587 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
46589 # Put the nasty error message in config.log where it belongs
46590 echo "$HILDON_PKG_ERRORS" >&5
46593 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
46594 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
46595 wxUSE_LIBHILDON
="no"
46598 elif test $pkg_failed = untried
; then
46600 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
46601 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
46602 wxUSE_LIBHILDON
="no"
46606 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
46607 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
46608 { echo "$as_me:$LINENO: result: yes" >&5
46609 echo "${ECHO_T}yes" >&6; }
46611 EXTRALIBS_HILDON
="$HILDON_LIBS"
46612 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
46613 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
46614 cat >>confdefs.h
<<\_ACEOF
46615 #define wxUSE_LIBHILDON 1
46623 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
46624 cat >>confdefs.h
<<\_ACEOF
46625 #define wxUSE_CMDLINE_PARSER 1
46630 if test "$wxUSE_STOPWATCH" = "yes"; then
46631 cat >>confdefs.h
<<\_ACEOF
46632 #define wxUSE_STOPWATCH 1
46637 if test "$wxUSE_DATETIME" = "yes"; then
46638 cat >>confdefs.h
<<\_ACEOF
46639 #define wxUSE_DATETIME 1
46644 if test "$wxUSE_FILE" = "yes"; then
46645 cat >>confdefs.h
<<\_ACEOF
46646 #define wxUSE_FILE 1
46651 if test "$wxUSE_FFILE" = "yes"; then
46652 cat >>confdefs.h
<<\_ACEOF
46653 #define wxUSE_FFILE 1
46658 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
46659 if test "$wxUSE_STREAMS" != yes; then
46660 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
46661 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
46662 wxUSE_ARCHIVE_STREAMS
=no
46664 cat >>confdefs.h
<<\_ACEOF
46665 #define wxUSE_ARCHIVE_STREAMS 1
46671 if test "$wxUSE_ZIPSTREAM" = "yes"; then
46672 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
46673 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
46674 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
46675 elif test "$wxUSE_ZLIB" = "no"; then
46676 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
46677 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
46679 cat >>confdefs.h
<<\_ACEOF
46680 #define wxUSE_ZIPSTREAM 1
46686 if test "$wxUSE_TARSTREAM" = "yes"; then
46687 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
46688 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
46689 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
46691 cat >>confdefs.h
<<\_ACEOF
46692 #define wxUSE_TARSTREAM 1
46698 if test "$wxUSE_FILESYSTEM" = "yes"; then
46699 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
46700 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
46701 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
46702 wxUSE_FILESYSTEM
=no
46704 cat >>confdefs.h
<<\_ACEOF
46705 #define wxUSE_FILESYSTEM 1
46711 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
46712 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
46713 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
46714 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
46716 cat >>confdefs.h
<<\_ACEOF
46717 #define wxUSE_FS_ARCHIVE 1
46723 if test "$wxUSE_FS_ZIP" = "yes"; then
46724 if test "$wxUSE_FS_ARCHIVE" != yes; then
46725 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
46726 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
46728 cat >>confdefs.h
<<\_ACEOF
46729 #define wxUSE_FS_ZIP 1
46735 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
46736 if test "$USE_UNIX" != 1; then
46737 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
46738 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
46739 wxUSE_ON_FATAL_EXCEPTION
=no
46741 cat >>confdefs.h
<<\_ACEOF
46742 #define wxUSE_ON_FATAL_EXCEPTION 1
46748 if test "$wxUSE_STACKWALKER" = "yes"; then
46749 cat >>confdefs.h
<<\_ACEOF
46750 #define wxUSE_STACKWALKER 1
46755 if test "$wxUSE_DEBUGREPORT" = "yes"; then
46756 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
46757 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
46758 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
46759 wxUSE_DEBUGREPORT
=no
46761 cat >>confdefs.h
<<\_ACEOF
46762 #define wxUSE_DEBUGREPORT 1
46765 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
46766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
46771 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
46772 cat >>confdefs.h
<<\_ACEOF
46773 #define wxUSE_SNGLINST_CHECKER 1
46778 if test "$wxUSE_BUSYINFO" = "yes"; then
46779 cat >>confdefs.h
<<\_ACEOF
46780 #define wxUSE_BUSYINFO 1
46785 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
46786 cat >>confdefs.h
<<\_ACEOF
46787 #define wxUSE_STD_IOSTREAM 1
46792 if test "$wxUSE_STD_STRING" = "yes"; then
46793 cat >>confdefs.h
<<\_ACEOF
46794 #define wxUSE_STD_STRING 1
46799 if test "$wxUSE_STDPATHS" = "yes"; then
46800 cat >>confdefs.h
<<\_ACEOF
46801 #define wxUSE_STDPATHS 1
46806 if test "$wxUSE_TEXTBUFFER" = "yes"; then
46807 cat >>confdefs.h
<<\_ACEOF
46808 #define wxUSE_TEXTBUFFER 1
46813 if test "$wxUSE_TEXTFILE" = "yes"; then
46814 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
46815 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
46816 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
46818 cat >>confdefs.h
<<\_ACEOF
46819 #define wxUSE_TEXTFILE 1
46825 if test "$wxUSE_CONFIG" = "yes" ; then
46826 if test "$wxUSE_TEXTFILE" != "yes"; then
46827 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
46828 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
46830 cat >>confdefs.h
<<\_ACEOF
46831 #define wxUSE_CONFIG 1
46834 cat >>confdefs.h
<<\_ACEOF
46835 #define wxUSE_CONFIG_NATIVE 1
46838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
46842 if test "$wxUSE_INTL" = "yes" ; then
46843 if test "$wxUSE_FILE" != "yes"; then
46844 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
46845 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
46847 cat >>confdefs.h
<<\_ACEOF
46848 #define wxUSE_INTL 1
46851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
46852 GUIDIST
="$GUIDIST INTL_DIST"
46856 if test "$wxUSE_LOG" = "yes"; then
46857 cat >>confdefs.h
<<\_ACEOF
46858 #define wxUSE_LOG 1
46862 if test "$wxUSE_LOGGUI" = "yes"; then
46863 cat >>confdefs.h
<<\_ACEOF
46864 #define wxUSE_LOGGUI 1
46869 if test "$wxUSE_LOGWINDOW" = "yes"; then
46870 cat >>confdefs.h
<<\_ACEOF
46871 #define wxUSE_LOGWINDOW 1
46876 if test "$wxUSE_LOGDIALOG" = "yes"; then
46877 cat >>confdefs.h
<<\_ACEOF
46878 #define wxUSE_LOG_DIALOG 1
46883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
46886 if test "$wxUSE_LONGLONG" = "yes"; then
46887 cat >>confdefs.h
<<\_ACEOF
46888 #define wxUSE_LONGLONG 1
46893 if test "$wxUSE_GEOMETRY" = "yes"; then
46894 cat >>confdefs.h
<<\_ACEOF
46895 #define wxUSE_GEOMETRY 1
46900 if test "$wxUSE_STREAMS" = "yes" ; then
46901 cat >>confdefs.h
<<\_ACEOF
46902 #define wxUSE_STREAMS 1
46907 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
46908 cat >>confdefs.h
<<\_ACEOF
46909 #define wxUSE_PRINTF_POS_PARAMS 1
46916 if test "$wxUSE_DATETIME" = "yes"; then
46918 for ac_func
in strptime
46920 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46921 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46923 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46924 echo $ECHO_N "(cached) $ECHO_C" >&6
46926 cat >conftest.
$ac_ext <<_ACEOF
46929 cat confdefs.h
>>conftest.
$ac_ext
46930 cat >>conftest.
$ac_ext <<_ACEOF
46931 /* end confdefs.h. */
46932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46934 #define $ac_func innocuous_$ac_func
46936 /* System header to define __stub macros and hopefully few prototypes,
46937 which can conflict with char $ac_func (); below.
46938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46939 <limits.h> exists even on freestanding compilers. */
46942 # include <limits.h>
46944 # include <assert.h>
46949 /* Override any GCC internal prototype to avoid an error.
46950 Use char because int might match the return type of a GCC
46951 builtin and then its argument prototype would still apply. */
46956 /* The GNU C library defines this for functions which it implements
46957 to always fail with ENOSYS. Some functions are actually named
46958 something starting with __ and the normal name is an alias. */
46959 #if defined __stub_$ac_func || defined __stub___$ac_func
46966 return $ac_func ();
46971 rm -f conftest.
$ac_objext conftest
$ac_exeext
46972 if { (ac_try
="$ac_link"
46973 case "(($ac_try" in
46974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46975 *) ac_try_echo=$ac_try;;
46977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46978 (eval "$ac_link") 2>conftest.er1
46980 grep -v '^ *+' conftest.er1 >conftest.err
46982 cat conftest.err >&5
46983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46984 (exit $ac_status); } &&
46985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46986 { (case "(($ac_try" in
46987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46988 *) ac_try_echo
=$ac_try;;
46990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46991 (eval "$ac_try") 2>&5
46993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46994 (exit $ac_status); }; } &&
46995 { ac_try
='test -s conftest$ac_exeext'
46996 { (case "(($ac_try" in
46997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46998 *) ac_try_echo=$ac_try;;
47000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47001 (eval "$ac_try") 2>&5
47003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47004 (exit $ac_status); }; }; then
47005 eval "$as_ac_var=yes"
47007 echo "$as_me: failed program was:" >&5
47008 sed 's/^/| /' conftest.$ac_ext >&5
47010 eval "$as_ac_var=no"
47013 rm -f core conftest.err conftest.$ac_objext \
47014 conftest$ac_exeext conftest.$ac_ext
47016 ac_res=`eval echo '${'$as_ac_var'}'`
47017 { echo "$as_me:$LINENO: result: $ac_res" >&5
47018 echo "${ECHO_T}$ac_res" >&6; }
47019 if test `eval echo '${'$as_ac_var'}'` = yes; then
47020 cat >>confdefs.h <<_ACEOF
47021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47027 if test "$ac_cv_func_strptime" = "yes"; then
47028 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
47029 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
47030 if test "${wx_cv_func_strptime_decl+set}" = set; then
47031 echo $ECHO_N "(cached) $ECHO_C" >&6
47035 ac_cpp='$CXXCPP $CPPFLAGS'
47036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47040 cat >conftest.$ac_ext <<_ACEOF
47043 cat confdefs.h >>conftest.$ac_ext
47044 cat >>conftest.$ac_ext <<_ACEOF
47045 /* end confdefs.h. */
47054 strptime("foo", "bar", &t);
47060 rm -f conftest.$ac_objext
47061 if { (ac_try="$ac_compile"
47062 case "(($ac_try" in
47063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47064 *) ac_try_echo
=$ac_try;;
47066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47067 (eval "$ac_compile") 2>conftest.er1
47069 grep -v '^ *+' conftest.er1
>conftest.err
47071 cat conftest.err
>&5
47072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47073 (exit $ac_status); } &&
47074 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47075 { (case "(($ac_try" in
47076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47077 *) ac_try_echo=$ac_try;;
47079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47080 (eval "$ac_try") 2>&5
47082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47083 (exit $ac_status); }; } &&
47084 { ac_try='test -s conftest.$ac_objext'
47085 { (case "(($ac_try" in
47086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47087 *) ac_try_echo
=$ac_try;;
47089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47090 (eval "$ac_try") 2>&5
47092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47093 (exit $ac_status); }; }; then
47094 wx_cv_func_strptime_decl
=yes
47096 echo "$as_me: failed program was:" >&5
47097 sed 's/^/| /' conftest.
$ac_ext >&5
47099 wx_cv_func_strptime_decl
=no
47103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47105 ac_cpp
='$CPP $CPPFLAGS'
47106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47113 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
47114 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
47116 if test "$wx_cv_func_strptime_decl" = "yes"; then
47117 cat >>confdefs.h
<<\_ACEOF
47118 #define HAVE_STRPTIME_DECL 1
47123 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
47124 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
47125 if test "${wx_cv_var_timezone+set}" = set; then
47126 echo $ECHO_N "(cached) $ECHO_C" >&6
47130 ac_cpp
='$CXXCPP $CPPFLAGS'
47131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47135 cat >conftest.
$ac_ext <<_ACEOF
47138 cat confdefs.h
>>conftest.
$ac_ext
47139 cat >>conftest.
$ac_ext <<_ACEOF
47140 /* end confdefs.h. */
47155 rm -f conftest.
$ac_objext
47156 if { (ac_try
="$ac_compile"
47157 case "(($ac_try" in
47158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47159 *) ac_try_echo=$ac_try;;
47161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47162 (eval "$ac_compile") 2>conftest.er1
47164 grep -v '^ *+' conftest.er1 >conftest.err
47166 cat conftest.err >&5
47167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47168 (exit $ac_status); } &&
47169 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47170 { (case "(($ac_try" in
47171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47172 *) ac_try_echo
=$ac_try;;
47174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47175 (eval "$ac_try") 2>&5
47177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47178 (exit $ac_status); }; } &&
47179 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
47190 wx_cv_var_timezone=timezone
47193 echo "$as_me: failed program was:" >&5
47194 sed 's/^/| /' conftest.$ac_ext >&5
47197 cat >conftest.$ac_ext <<_ACEOF
47200 cat confdefs.h >>conftest.$ac_ext
47201 cat >>conftest.$ac_ext <<_ACEOF
47202 /* end confdefs.h. */
47217 rm -f conftest.$ac_objext
47218 if { (ac_try="$ac_compile"
47219 case "(($ac_try" in
47220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47221 *) ac_try_echo
=$ac_try;;
47223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47224 (eval "$ac_compile") 2>conftest.er1
47226 grep -v '^ *+' conftest.er1
>conftest.err
47228 cat conftest.err
>&5
47229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47230 (exit $ac_status); } &&
47231 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47232 { (case "(($ac_try" in
47233 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47234 *) ac_try_echo=$ac_try;;
47236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47237 (eval "$ac_try") 2>&5
47239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47240 (exit $ac_status); }; } &&
47241 { ac_try='test -s conftest.$ac_objext'
47242 { (case "(($ac_try" in
47243 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47244 *) ac_try_echo
=$ac_try;;
47246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47247 (eval "$ac_try") 2>&5
47249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47250 (exit $ac_status); }; }; then
47252 wx_cv_var_timezone
=_timezone
47255 echo "$as_me: failed program was:" >&5
47256 sed 's/^/| /' conftest.
$ac_ext >&5
47259 cat >conftest.
$ac_ext <<_ACEOF
47262 cat confdefs.h
>>conftest.
$ac_ext
47263 cat >>conftest.
$ac_ext <<_ACEOF
47264 /* end confdefs.h. */
47279 rm -f conftest.
$ac_objext
47280 if { (ac_try
="$ac_compile"
47281 case "(($ac_try" in
47282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47283 *) ac_try_echo=$ac_try;;
47285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47286 (eval "$ac_compile") 2>conftest.er1
47288 grep -v '^ *+' conftest.er1 >conftest.err
47290 cat conftest.err >&5
47291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47292 (exit $ac_status); } &&
47293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47294 { (case "(($ac_try" in
47295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47296 *) ac_try_echo
=$ac_try;;
47298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47299 (eval "$ac_try") 2>&5
47301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302 (exit $ac_status); }; } &&
47303 { ac_try
='test -s conftest.$ac_objext'
47304 { (case "(($ac_try" in
47305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47306 *) ac_try_echo=$ac_try;;
47308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47309 (eval "$ac_try") 2>&5
47311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47312 (exit $ac_status); }; }; then
47314 wx_cv_var_timezone=__timezone
47317 echo "$as_me: failed program was:" >&5
47318 sed 's/^/| /' conftest.$ac_ext >&5
47321 if test "$USE_DOS" = 0 ; then
47322 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
47323 echo "$as_me: WARNING: no timezone variable" >&2;}
47329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47341 ac_cpp='$CPP $CPPFLAGS'
47342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47349 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
47350 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
47352 if test "x$wx_cv_var_timezone" != x ; then
47353 cat >>confdefs.h <<_ACEOF
47354 #define WX_TIMEZONE $wx_cv_var_timezone
47360 for ac_func in localtime
47362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47363 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47365 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47368 cat >conftest.$ac_ext <<_ACEOF
47371 cat confdefs.h >>conftest.$ac_ext
47372 cat >>conftest.$ac_ext <<_ACEOF
47373 /* end confdefs.h. */
47374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47376 #define $ac_func innocuous_$ac_func
47378 /* System header to define __stub macros and hopefully few prototypes,
47379 which can conflict with char $ac_func (); below.
47380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47381 <limits.h> exists even on freestanding compilers. */
47384 # include <limits.h>
47386 # include <assert.h>
47391 /* Override any GCC internal prototype to avoid an error.
47392 Use char because int might match the return type of a GCC
47393 builtin and then its argument prototype would still apply. */
47398 /* The GNU C library defines this for functions which it implements
47399 to always fail with ENOSYS. Some functions are actually named
47400 something starting with __ and the normal name is an alias. */
47401 #if defined __stub_$ac_func || defined __stub___$ac_func
47408 return $ac_func ();
47413 rm -f conftest.$ac_objext conftest$ac_exeext
47414 if { (ac_try="$ac_link"
47415 case "(($ac_try" in
47416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47417 *) ac_try_echo
=$ac_try;;
47419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47420 (eval "$ac_link") 2>conftest.er1
47422 grep -v '^ *+' conftest.er1
>conftest.err
47424 cat conftest.err
>&5
47425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47426 (exit $ac_status); } &&
47427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47428 { (case "(($ac_try" in
47429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47430 *) ac_try_echo=$ac_try;;
47432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47433 (eval "$ac_try") 2>&5
47435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47436 (exit $ac_status); }; } &&
47437 { ac_try='test -s conftest$ac_exeext'
47438 { (case "(($ac_try" in
47439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47440 *) ac_try_echo
=$ac_try;;
47442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47443 (eval "$ac_try") 2>&5
47445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47446 (exit $ac_status); }; }; then
47447 eval "$as_ac_var=yes"
47449 echo "$as_me: failed program was:" >&5
47450 sed 's/^/| /' conftest.
$ac_ext >&5
47452 eval "$as_ac_var=no"
47455 rm -f core conftest.err conftest.
$ac_objext \
47456 conftest
$ac_exeext conftest.
$ac_ext
47458 ac_res
=`eval echo '${'$as_ac_var'}'`
47459 { echo "$as_me:$LINENO: result: $ac_res" >&5
47460 echo "${ECHO_T}$ac_res" >&6; }
47461 if test `eval echo '${'$as_ac_var'}'` = yes; then
47462 cat >>confdefs.h
<<_ACEOF
47463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47470 if test "$ac_cv_func_localtime" = "yes"; then
47471 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
47472 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
47473 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
47474 echo $ECHO_N "(cached) $ECHO_C" >&6
47477 cat >conftest.
$ac_ext <<_ACEOF
47480 cat confdefs.h
>>conftest.
$ac_ext
47481 cat >>conftest.
$ac_ext <<_ACEOF
47482 /* end confdefs.h. */
47497 rm -f conftest.
$ac_objext
47498 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
47506 grep -v '^ *+' conftest.er1 >conftest.err
47508 cat conftest.err >&5
47509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47510 (exit $ac_status); } &&
47511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47512 { (case "(($ac_try" in
47513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47514 *) ac_try_echo
=$ac_try;;
47516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47517 (eval "$ac_try") 2>&5
47519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47520 (exit $ac_status); }; } &&
47521 { ac_try
='test -s conftest.$ac_objext'
47522 { (case "(($ac_try" in
47523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47524 *) ac_try_echo=$ac_try;;
47526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47527 (eval "$ac_try") 2>&5
47529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47530 (exit $ac_status); }; }; then
47532 wx_cv_struct_tm_has_gmtoff=yes
47535 echo "$as_me: failed program was:" >&5
47536 sed 's/^/| /' conftest.$ac_ext >&5
47538 wx_cv_struct_tm_has_gmtoff=no
47542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47545 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
47546 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
47549 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
47550 cat >>confdefs.h <<\_ACEOF
47551 #define WX_GMTOFF_IN_TM 1
47558 for ac_func in gettimeofday ftime
47560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47561 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47563 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47564 echo $ECHO_N "(cached) $ECHO_C" >&6
47566 cat >conftest.$ac_ext <<_ACEOF
47569 cat confdefs.h >>conftest.$ac_ext
47570 cat >>conftest.$ac_ext <<_ACEOF
47571 /* end confdefs.h. */
47572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47574 #define $ac_func innocuous_$ac_func
47576 /* System header to define __stub macros and hopefully few prototypes,
47577 which can conflict with char $ac_func (); below.
47578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47579 <limits.h> exists even on freestanding compilers. */
47582 # include <limits.h>
47584 # include <assert.h>
47589 /* Override any GCC internal prototype to avoid an error.
47590 Use char because int might match the return type of a GCC
47591 builtin and then its argument prototype would still apply. */
47596 /* The GNU C library defines this for functions which it implements
47597 to always fail with ENOSYS. Some functions are actually named
47598 something starting with __ and the normal name is an alias. */
47599 #if defined __stub_$ac_func || defined __stub___$ac_func
47606 return $ac_func ();
47611 rm -f conftest.$ac_objext conftest$ac_exeext
47612 if { (ac_try="$ac_link"
47613 case "(($ac_try" in
47614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47615 *) ac_try_echo
=$ac_try;;
47617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47618 (eval "$ac_link") 2>conftest.er1
47620 grep -v '^ *+' conftest.er1
>conftest.err
47622 cat conftest.err
>&5
47623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624 (exit $ac_status); } &&
47625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47626 { (case "(($ac_try" in
47627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47628 *) ac_try_echo=$ac_try;;
47630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47631 (eval "$ac_try") 2>&5
47633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47634 (exit $ac_status); }; } &&
47635 { ac_try='test -s conftest$ac_exeext'
47636 { (case "(($ac_try" in
47637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47638 *) ac_try_echo
=$ac_try;;
47640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47641 (eval "$ac_try") 2>&5
47643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47644 (exit $ac_status); }; }; then
47645 eval "$as_ac_var=yes"
47647 echo "$as_me: failed program was:" >&5
47648 sed 's/^/| /' conftest.
$ac_ext >&5
47650 eval "$as_ac_var=no"
47653 rm -f core conftest.err conftest.
$ac_objext \
47654 conftest
$ac_exeext conftest.
$ac_ext
47656 ac_res
=`eval echo '${'$as_ac_var'}'`
47657 { echo "$as_me:$LINENO: result: $ac_res" >&5
47658 echo "${ECHO_T}$ac_res" >&6; }
47659 if test `eval echo '${'$as_ac_var'}'` = yes; then
47660 cat >>confdefs.h
<<_ACEOF
47661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47668 if test "$ac_cv_func_gettimeofday" = "yes"; then
47669 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
47670 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
47671 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
47672 echo $ECHO_N "(cached) $ECHO_C" >&6
47675 cat >conftest.
$ac_ext <<_ACEOF
47678 cat confdefs.h
>>conftest.
$ac_ext
47679 cat >>conftest.
$ac_ext <<_ACEOF
47680 /* end confdefs.h. */
47682 #include <sys/time.h>
47683 #include <unistd.h>
47690 gettimeofday(&tv, NULL);
47696 rm -f conftest.
$ac_objext
47697 if { (ac_try
="$ac_compile"
47698 case "(($ac_try" in
47699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47700 *) ac_try_echo=$ac_try;;
47702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47703 (eval "$ac_compile") 2>conftest.er1
47705 grep -v '^ *+' conftest.er1 >conftest.err
47707 cat conftest.err >&5
47708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47709 (exit $ac_status); } &&
47710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47711 { (case "(($ac_try" in
47712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47713 *) ac_try_echo
=$ac_try;;
47715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47716 (eval "$ac_try") 2>&5
47718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47719 (exit $ac_status); }; } &&
47720 { ac_try
='test -s conftest.$ac_objext'
47721 { (case "(($ac_try" in
47722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47723 *) ac_try_echo=$ac_try;;
47725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47726 (eval "$ac_try") 2>&5
47728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47729 (exit $ac_status); }; }; then
47730 wx_cv_func_gettimeofday_has_2_args=yes
47732 echo "$as_me: failed program was:" >&5
47733 sed 's/^/| /' conftest.$ac_ext >&5
47735 cat >conftest.$ac_ext <<_ACEOF
47738 cat confdefs.h >>conftest.$ac_ext
47739 cat >>conftest.$ac_ext <<_ACEOF
47740 /* end confdefs.h. */
47742 #include <sys/time.h>
47743 #include <unistd.h>
47756 rm -f conftest.$ac_objext
47757 if { (ac_try="$ac_compile"
47758 case "(($ac_try" in
47759 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47760 *) ac_try_echo
=$ac_try;;
47762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47763 (eval "$ac_compile") 2>conftest.er1
47765 grep -v '^ *+' conftest.er1
>conftest.err
47767 cat conftest.err
>&5
47768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47769 (exit $ac_status); } &&
47770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47771 { (case "(($ac_try" in
47772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47773 *) ac_try_echo=$ac_try;;
47775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47776 (eval "$ac_try") 2>&5
47778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47779 (exit $ac_status); }; } &&
47780 { ac_try='test -s conftest.$ac_objext'
47781 { (case "(($ac_try" in
47782 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47783 *) ac_try_echo
=$ac_try;;
47785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47786 (eval "$ac_try") 2>&5
47788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47789 (exit $ac_status); }; }; then
47790 wx_cv_func_gettimeofday_has_2_args
=no
47792 echo "$as_me: failed program was:" >&5
47793 sed 's/^/| /' conftest.
$ac_ext >&5
47796 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
47797 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
47798 wx_cv_func_gettimeofday_has_2_args
=unknown
47803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47810 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
47811 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
47813 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
47814 cat >>confdefs.h
<<\_ACEOF
47815 #define WX_GETTIMEOFDAY_NO_TZ 1
47821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
47825 if test "$wxUSE_SOCKETS" = "yes"; then
47826 if test "$wxUSE_MGL" = "1"; then
47827 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
47828 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
47833 if test "$wxUSE_SOCKETS" = "yes"; then
47834 if test "$TOOLKIT" != "MSW"; then
47835 { echo "$as_me:$LINENO: checking for socket" >&5
47836 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
47837 if test "${ac_cv_func_socket+set}" = set; then
47838 echo $ECHO_N "(cached) $ECHO_C" >&6
47840 cat >conftest.
$ac_ext <<_ACEOF
47843 cat confdefs.h
>>conftest.
$ac_ext
47844 cat >>conftest.
$ac_ext <<_ACEOF
47845 /* end confdefs.h. */
47846 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
47847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47848 #define socket innocuous_socket
47850 /* System header to define __stub macros and hopefully few prototypes,
47851 which can conflict with char socket (); below.
47852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47853 <limits.h> exists even on freestanding compilers. */
47856 # include <limits.h>
47858 # include <assert.h>
47863 /* Override any GCC internal prototype to avoid an error.
47864 Use char because int might match the return type of a GCC
47865 builtin and then its argument prototype would still apply. */
47870 /* The GNU C library defines this for functions which it implements
47871 to always fail with ENOSYS. Some functions are actually named
47872 something starting with __ and the normal name is an alias. */
47873 #if defined __stub_socket || defined __stub___socket
47885 rm -f conftest.
$ac_objext conftest
$ac_exeext
47886 if { (ac_try
="$ac_link"
47887 case "(($ac_try" in
47888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47889 *) ac_try_echo=$ac_try;;
47891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47892 (eval "$ac_link") 2>conftest.er1
47894 grep -v '^ *+' conftest.er1 >conftest.err
47896 cat conftest.err >&5
47897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47898 (exit $ac_status); } &&
47899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47900 { (case "(($ac_try" in
47901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47902 *) ac_try_echo
=$ac_try;;
47904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47905 (eval "$ac_try") 2>&5
47907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47908 (exit $ac_status); }; } &&
47909 { ac_try
='test -s conftest$ac_exeext'
47910 { (case "(($ac_try" in
47911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47912 *) ac_try_echo=$ac_try;;
47914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47915 (eval "$ac_try") 2>&5
47917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47918 (exit $ac_status); }; }; then
47919 ac_cv_func_socket=yes
47921 echo "$as_me: failed program was:" >&5
47922 sed 's/^/| /' conftest.$ac_ext >&5
47924 ac_cv_func_socket=no
47927 rm -f core conftest.err conftest.$ac_objext \
47928 conftest$ac_exeext conftest.$ac_ext
47930 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
47931 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
47932 if test $ac_cv_func_socket = yes; then
47936 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
47937 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
47938 if test "${ac_cv_lib_socket_socket+set}" = set; then
47939 echo $ECHO_N "(cached) $ECHO_C" >&6
47941 ac_check_lib_save_LIBS=$LIBS
47942 LIBS="-lsocket $LIBS"
47943 cat >conftest.$ac_ext <<_ACEOF
47946 cat confdefs.h >>conftest.$ac_ext
47947 cat >>conftest.$ac_ext <<_ACEOF
47948 /* end confdefs.h. */
47950 /* Override any GCC internal prototype to avoid an error.
47951 Use char because int might match the return type of a GCC
47952 builtin and then its argument prototype would still apply. */
47965 rm -f conftest.$ac_objext conftest$ac_exeext
47966 if { (ac_try="$ac_link"
47967 case "(($ac_try" in
47968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47969 *) ac_try_echo
=$ac_try;;
47971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47972 (eval "$ac_link") 2>conftest.er1
47974 grep -v '^ *+' conftest.er1
>conftest.err
47976 cat conftest.err
>&5
47977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47978 (exit $ac_status); } &&
47979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47980 { (case "(($ac_try" in
47981 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47982 *) ac_try_echo=$ac_try;;
47984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47985 (eval "$ac_try") 2>&5
47987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47988 (exit $ac_status); }; } &&
47989 { ac_try='test -s conftest$ac_exeext'
47990 { (case "(($ac_try" in
47991 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47992 *) ac_try_echo
=$ac_try;;
47994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47995 (eval "$ac_try") 2>&5
47997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47998 (exit $ac_status); }; }; then
47999 ac_cv_lib_socket_socket
=yes
48001 echo "$as_me: failed program was:" >&5
48002 sed 's/^/| /' conftest.
$ac_ext >&5
48004 ac_cv_lib_socket_socket
=no
48007 rm -f core conftest.err conftest.
$ac_objext \
48008 conftest
$ac_exeext conftest.
$ac_ext
48009 LIBS
=$ac_check_lib_save_LIBS
48011 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48012 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48013 if test $ac_cv_lib_socket_socket = yes; then
48014 if test "$INET_LINK" != " -lsocket"; then
48015 INET_LINK
="$INET_LINK -lsocket"
48019 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48020 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48033 if test "$wxUSE_SOCKETS" = "yes" ; then
48034 if test "$TOOLKIT" != "MSW"; then
48035 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48036 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48037 if test "${wx_cv_type_getsockname3+set}" = set; then
48038 echo $ECHO_N "(cached) $ECHO_C" >&6
48042 ac_cpp
='$CXXCPP $CPPFLAGS'
48043 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48047 cat >conftest.
$ac_ext <<_ACEOF
48050 cat confdefs.h
>>conftest.
$ac_ext
48051 cat >>conftest.
$ac_ext <<_ACEOF
48052 /* end confdefs.h. */
48054 #include <sys/types.h>
48055 #include <sys/socket.h>
48062 getsockname(0, 0, &len);
48068 rm -f conftest.
$ac_objext
48069 if { (ac_try
="$ac_compile"
48070 case "(($ac_try" in
48071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48072 *) ac_try_echo=$ac_try;;
48074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48075 (eval "$ac_compile") 2>conftest.er1
48077 grep -v '^ *+' conftest.er1 >conftest.err
48079 cat conftest.err >&5
48080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48081 (exit $ac_status); } &&
48082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48083 { (case "(($ac_try" in
48084 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48085 *) ac_try_echo
=$ac_try;;
48087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48088 (eval "$ac_try") 2>&5
48090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48091 (exit $ac_status); }; } &&
48092 { ac_try
='test -s conftest.$ac_objext'
48093 { (case "(($ac_try" in
48094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48095 *) ac_try_echo=$ac_try;;
48097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48098 (eval "$ac_try") 2>&5
48100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48101 (exit $ac_status); }; }; then
48102 wx_cv_type_getsockname3=socklen_t
48104 echo "$as_me: failed program was:" >&5
48105 sed 's/^/| /' conftest.$ac_ext >&5
48108 CFLAGS_OLD="$CFLAGS"
48109 if test "$GCC" = yes ; then
48110 CFLAGS="-Werror $CFLAGS"
48113 cat >conftest.$ac_ext <<_ACEOF
48116 cat confdefs.h >>conftest.$ac_ext
48117 cat >>conftest.$ac_ext <<_ACEOF
48118 /* end confdefs.h. */
48120 #include <sys/types.h>
48121 #include <sys/socket.h>
48128 getsockname(0, 0, &len);
48134 rm -f conftest.$ac_objext
48135 if { (ac_try="$ac_compile"
48136 case "(($ac_try" in
48137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48138 *) ac_try_echo
=$ac_try;;
48140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48141 (eval "$ac_compile") 2>conftest.er1
48143 grep -v '^ *+' conftest.er1
>conftest.err
48145 cat conftest.err
>&5
48146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48147 (exit $ac_status); } &&
48148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48149 { (case "(($ac_try" in
48150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48151 *) ac_try_echo=$ac_try;;
48153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48154 (eval "$ac_try") 2>&5
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); }; } &&
48158 { ac_try='test -s conftest.$ac_objext'
48159 { (case "(($ac_try" in
48160 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48161 *) ac_try_echo
=$ac_try;;
48163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48164 (eval "$ac_try") 2>&5
48166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48167 (exit $ac_status); }; }; then
48168 wx_cv_type_getsockname3
=size_t
48170 echo "$as_me: failed program was:" >&5
48171 sed 's/^/| /' conftest.
$ac_ext >&5
48173 cat >conftest.
$ac_ext <<_ACEOF
48176 cat confdefs.h
>>conftest.
$ac_ext
48177 cat >>conftest.
$ac_ext <<_ACEOF
48178 /* end confdefs.h. */
48180 #include <sys/types.h>
48181 #include <sys/socket.h>
48188 getsockname(0, 0, &len);
48194 rm -f conftest.
$ac_objext
48195 if { (ac_try
="$ac_compile"
48196 case "(($ac_try" in
48197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48198 *) ac_try_echo=$ac_try;;
48200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48201 (eval "$ac_compile") 2>conftest.er1
48203 grep -v '^ *+' conftest.er1 >conftest.err
48205 cat conftest.err >&5
48206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48207 (exit $ac_status); } &&
48208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48209 { (case "(($ac_try" in
48210 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48211 *) ac_try_echo
=$ac_try;;
48213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48214 (eval "$ac_try") 2>&5
48216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48217 (exit $ac_status); }; } &&
48218 { ac_try
='test -s conftest.$ac_objext'
48219 { (case "(($ac_try" in
48220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48221 *) ac_try_echo=$ac_try;;
48223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48224 (eval "$ac_try") 2>&5
48226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227 (exit $ac_status); }; }; then
48228 wx_cv_type_getsockname3=int
48230 echo "$as_me: failed program was:" >&5
48231 sed 's/^/| /' conftest.$ac_ext >&5
48233 wx_cv_type_getsockname3=unknown
48237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48243 CFLAGS="$CFLAGS_OLD"
48248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48250 ac_cpp='$CPP $CPPFLAGS'
48251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48257 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48258 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48260 if test "$wx_cv_type_getsockname3" = "unknown"; then
48262 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48263 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48265 cat >>confdefs.h <<_ACEOF
48266 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48270 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48271 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48272 if test "${wx_cv_type_getsockopt5+set}" = set; then
48273 echo $ECHO_N "(cached) $ECHO_C" >&6
48276 cat >conftest.$ac_ext <<_ACEOF
48279 cat confdefs.h >>conftest.$ac_ext
48280 cat >>conftest.$ac_ext <<_ACEOF
48281 /* end confdefs.h. */
48283 #include <sys/types.h>
48284 #include <sys/socket.h>
48291 getsockopt(0, 0, 0, 0, &len);
48297 rm -f conftest.$ac_objext
48298 if { (ac_try="$ac_compile"
48299 case "(($ac_try" in
48300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48301 *) ac_try_echo
=$ac_try;;
48303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48304 (eval "$ac_compile") 2>conftest.er1
48306 grep -v '^ *+' conftest.er1
>conftest.err
48308 cat conftest.err
>&5
48309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48310 (exit $ac_status); } &&
48311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48312 { (case "(($ac_try" in
48313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48314 *) ac_try_echo=$ac_try;;
48316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48317 (eval "$ac_try") 2>&5
48319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48320 (exit $ac_status); }; } &&
48321 { ac_try='test -s conftest.$ac_objext'
48322 { (case "(($ac_try" in
48323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48324 *) ac_try_echo
=$ac_try;;
48326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48327 (eval "$ac_try") 2>&5
48329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48330 (exit $ac_status); }; }; then
48331 wx_cv_type_getsockopt5
=socklen_t
48333 echo "$as_me: failed program was:" >&5
48334 sed 's/^/| /' conftest.
$ac_ext >&5
48338 ac_cpp
='$CXXCPP $CPPFLAGS'
48339 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48343 cat >conftest.
$ac_ext <<_ACEOF
48346 cat confdefs.h
>>conftest.
$ac_ext
48347 cat >>conftest.
$ac_ext <<_ACEOF
48348 /* end confdefs.h. */
48350 #include <sys/types.h>
48351 #include <sys/socket.h>
48358 getsockopt(0, 0, 0, 0, &len);
48364 rm -f conftest.
$ac_objext
48365 if { (ac_try
="$ac_compile"
48366 case "(($ac_try" in
48367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48368 *) ac_try_echo=$ac_try;;
48370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48371 (eval "$ac_compile") 2>conftest.er1
48373 grep -v '^ *+' conftest.er1 >conftest.err
48375 cat conftest.err >&5
48376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377 (exit $ac_status); } &&
48378 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48379 { (case "(($ac_try" in
48380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48381 *) ac_try_echo
=$ac_try;;
48383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48384 (eval "$ac_try") 2>&5
48386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48387 (exit $ac_status); }; } &&
48388 { ac_try
='test -s conftest.$ac_objext'
48389 { (case "(($ac_try" in
48390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48391 *) ac_try_echo=$ac_try;;
48393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48394 (eval "$ac_try") 2>&5
48396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48397 (exit $ac_status); }; }; then
48398 wx_cv_type_getsockopt5=size_t
48400 echo "$as_me: failed program was:" >&5
48401 sed 's/^/| /' conftest.$ac_ext >&5
48403 cat >conftest.$ac_ext <<_ACEOF
48406 cat confdefs.h >>conftest.$ac_ext
48407 cat >>conftest.$ac_ext <<_ACEOF
48408 /* end confdefs.h. */
48410 #include <sys/types.h>
48411 #include <sys/socket.h>
48418 getsockopt(0, 0, 0, 0, &len);
48424 rm -f conftest.$ac_objext
48425 if { (ac_try="$ac_compile"
48426 case "(($ac_try" in
48427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48428 *) ac_try_echo
=$ac_try;;
48430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48431 (eval "$ac_compile") 2>conftest.er1
48433 grep -v '^ *+' conftest.er1
>conftest.err
48435 cat conftest.err
>&5
48436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48437 (exit $ac_status); } &&
48438 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48439 { (case "(($ac_try" in
48440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48441 *) ac_try_echo=$ac_try;;
48443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48444 (eval "$ac_try") 2>&5
48446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48447 (exit $ac_status); }; } &&
48448 { ac_try='test -s conftest.$ac_objext'
48449 { (case "(($ac_try" in
48450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48451 *) ac_try_echo
=$ac_try;;
48453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48454 (eval "$ac_try") 2>&5
48456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457 (exit $ac_status); }; }; then
48458 wx_cv_type_getsockopt5
=int
48460 echo "$as_me: failed program was:" >&5
48461 sed 's/^/| /' conftest.
$ac_ext >&5
48463 wx_cv_type_getsockopt5
=unknown
48467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48473 ac_cpp
='$CPP $CPPFLAGS'
48474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48485 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48486 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48488 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48490 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48491 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48493 cat >>confdefs.h
<<_ACEOF
48494 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48501 if test "$wxUSE_SOCKETS" = "yes" ; then
48502 cat >>confdefs.h
<<\_ACEOF
48503 #define wxUSE_SOCKETS 1
48506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
48509 if test "$wxUSE_PROTOCOL" = "yes"; then
48510 if test "$wxUSE_SOCKETS" != "yes"; then
48511 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
48512 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
48517 if test "$wxUSE_PROTOCOL" = "yes"; then
48518 cat >>confdefs.h
<<\_ACEOF
48519 #define wxUSE_PROTOCOL 1
48523 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
48524 cat >>confdefs.h
<<\_ACEOF
48525 #define wxUSE_PROTOCOL_HTTP 1
48529 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
48530 cat >>confdefs.h
<<\_ACEOF
48531 #define wxUSE_PROTOCOL_FTP 1
48535 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
48536 cat >>confdefs.h
<<\_ACEOF
48537 #define wxUSE_PROTOCOL_FILE 1
48542 if test "$wxUSE_FS_INET" = "yes"; then
48543 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
48544 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
48549 if test "$wxUSE_URL" = "yes"; then
48550 if test "$wxUSE_PROTOCOL" != "yes"; then
48551 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
48552 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
48555 if test "$wxUSE_URL" = "yes"; then
48556 cat >>confdefs.h
<<\_ACEOF
48557 #define wxUSE_URL 1
48563 if test "$wxUSE_VARIANT" = "yes"; then
48564 cat >>confdefs.h
<<\_ACEOF
48565 #define wxUSE_VARIANT 1
48570 if test "$wxUSE_FS_INET" = "yes"; then
48571 cat >>confdefs.h
<<\_ACEOF
48572 #define wxUSE_FS_INET 1
48578 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
48581 if test "$TOOLKIT" = "MSW"; then
48584 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
48585 if test "$USE_DARWIN" = 1; then
48586 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
48587 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
48589 ac_cpp
='$CXXCPP $CPPFLAGS'
48590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48594 cat >conftest.
$ac_ext <<_ACEOF
48597 cat confdefs.h
>>conftest.
$ac_ext
48598 cat >>conftest.
$ac_ext <<_ACEOF
48599 /* end confdefs.h. */
48600 #include <IOKit/hid/IOHIDLib.h>
48604 IOHIDQueueInterface *qi = NULL;
48605 IOHIDCallbackFunction cb = NULL;
48606 qi->setEventCallout(NULL, cb, NULL, NULL);
48611 rm -f conftest.
$ac_objext
48612 if { (ac_try
="$ac_compile"
48613 case "(($ac_try" in
48614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48615 *) ac_try_echo=$ac_try;;
48617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48618 (eval "$ac_compile") 2>conftest.er1
48620 grep -v '^ *+' conftest.er1 >conftest.err
48622 cat conftest.err >&5
48623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48624 (exit $ac_status); } &&
48625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48626 { (case "(($ac_try" in
48627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48628 *) ac_try_echo
=$ac_try;;
48630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48631 (eval "$ac_try") 2>&5
48633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48634 (exit $ac_status); }; } &&
48635 { ac_try
='test -s conftest.$ac_objext'
48636 { (case "(($ac_try" in
48637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48638 *) ac_try_echo=$ac_try;;
48640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48641 (eval "$ac_try") 2>&5
48643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48644 (exit $ac_status); }; }; then
48648 echo "$as_me: failed program was:" >&5
48649 sed 's/^/| /' conftest.$ac_ext >&5
48654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48656 ac_cpp='$CPP $CPPFLAGS'
48657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48661 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
48662 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
48666 if test "$wxUSE_MGL" != "1"; then
48667 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
48668 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
48669 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
48670 echo $ECHO_N "(cached) $ECHO_C" >&6
48672 cat >conftest.$ac_ext <<_ACEOF
48675 cat confdefs.h >>conftest.$ac_ext
48676 cat >>conftest.$ac_ext <<_ACEOF
48677 /* end confdefs.h. */
48678 $ac_includes_default
48680 #include <linux/joystick.h>
48682 rm -f conftest.$ac_objext
48683 if { (ac_try="$ac_compile"
48684 case "(($ac_try" in
48685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48686 *) ac_try_echo
=$ac_try;;
48688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48689 (eval "$ac_compile") 2>conftest.er1
48691 grep -v '^ *+' conftest.er1
>conftest.err
48693 cat conftest.err
>&5
48694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48695 (exit $ac_status); } &&
48696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48697 { (case "(($ac_try" in
48698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48699 *) ac_try_echo=$ac_try;;
48701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48702 (eval "$ac_try") 2>&5
48704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48705 (exit $ac_status); }; } &&
48706 { ac_try='test -s conftest.$ac_objext'
48707 { (case "(($ac_try" in
48708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48709 *) ac_try_echo
=$ac_try;;
48711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48712 (eval "$ac_try") 2>&5
48714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48715 (exit $ac_status); }; }; then
48716 ac_cv_header_linux_joystick_h
=yes
48718 echo "$as_me: failed program was:" >&5
48719 sed 's/^/| /' conftest.
$ac_ext >&5
48721 ac_cv_header_linux_joystick_h
=no
48724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48726 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
48727 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
48728 if test $ac_cv_header_linux_joystick_h = yes; then
48736 if test "$wxUSE_JOYSTICK" = "yes"; then
48737 cat >>confdefs.h
<<\_ACEOF
48738 #define wxUSE_JOYSTICK 1
48741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
48743 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
48744 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
48750 if test "$wxUSE_FONTMAP" = "yes" ; then
48751 cat >>confdefs.h
<<\_ACEOF
48752 #define wxUSE_FONTMAP 1
48757 if test "$wxUSE_UNICODE" = "yes" ; then
48758 cat >>confdefs.h
<<\_ACEOF
48759 #define wxUSE_UNICODE 1
48763 if test "$USE_WIN32" != 1; then
48764 wxUSE_UNICODE_MSLU
=no
48767 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
48768 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
48769 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
48770 if test "${ac_cv_lib_unicows_main+set}" = set; then
48771 echo $ECHO_N "(cached) $ECHO_C" >&6
48773 ac_check_lib_save_LIBS
=$LIBS
48774 LIBS
="-lunicows $LIBS"
48775 cat >conftest.
$ac_ext <<_ACEOF
48778 cat confdefs.h
>>conftest.
$ac_ext
48779 cat >>conftest.
$ac_ext <<_ACEOF
48780 /* end confdefs.h. */
48791 rm -f conftest.
$ac_objext conftest
$ac_exeext
48792 if { (ac_try
="$ac_link"
48793 case "(($ac_try" in
48794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48795 *) ac_try_echo=$ac_try;;
48797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48798 (eval "$ac_link") 2>conftest.er1
48800 grep -v '^ *+' conftest.er1 >conftest.err
48802 cat conftest.err >&5
48803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804 (exit $ac_status); } &&
48805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48806 { (case "(($ac_try" in
48807 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48808 *) ac_try_echo
=$ac_try;;
48810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48811 (eval "$ac_try") 2>&5
48813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48814 (exit $ac_status); }; } &&
48815 { ac_try
='test -s conftest$ac_exeext'
48816 { (case "(($ac_try" in
48817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48818 *) ac_try_echo=$ac_try;;
48820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48821 (eval "$ac_try") 2>&5
48823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48824 (exit $ac_status); }; }; then
48825 ac_cv_lib_unicows_main=yes
48827 echo "$as_me: failed program was:" >&5
48828 sed 's/^/| /' conftest.$ac_ext >&5
48830 ac_cv_lib_unicows_main=no
48833 rm -f core conftest.err conftest.$ac_objext \
48834 conftest$ac_exeext conftest.$ac_ext
48835 LIBS=$ac_check_lib_save_LIBS
48837 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
48838 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
48839 if test $ac_cv_lib_unicows_main = yes; then
48841 cat >>confdefs.h <<\_ACEOF
48842 #define wxUSE_UNICODE_MSLU 1
48848 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
48849 Applications will only run on Windows NT/2000/XP!" >&5
48850 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
48851 Applications will only run on Windows NT/2000/XP!" >&2;}
48852 wxUSE_UNICODE_MSLU=no
48859 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
48860 cat >>confdefs.h <<\_ACEOF
48861 #define wxUSE_EXPERIMENTAL_PRINTF 1
48867 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
48868 cat >>confdefs.h <<\_ACEOF
48869 #define wxUSE_POSTSCRIPT 1
48874 cat >>confdefs.h <<\_ACEOF
48875 #define wxUSE_AFM_FOR_POSTSCRIPT 1
48879 cat >>confdefs.h <<\_ACEOF
48880 #define wxUSE_NORMALIZED_PS_FONTS 1
48885 if test "$wxUSE_CONSTRAINTS" = "yes"; then
48886 cat >>confdefs.h <<\_ACEOF
48887 #define wxUSE_CONSTRAINTS 1
48890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
48893 if test "$wxUSE_MDI" = "yes"; then
48894 cat >>confdefs.h <<\_ACEOF
48895 #define wxUSE_MDI 1
48899 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
48900 cat >>confdefs.h <<\_ACEOF
48901 #define wxUSE_MDI_ARCHITECTURE 1
48904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
48908 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
48909 cat >>confdefs.h <<\_ACEOF
48910 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
48913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
48914 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
48915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
48919 if test "$wxUSE_HELP" = "yes"; then
48920 cat >>confdefs.h <<\_ACEOF
48921 #define wxUSE_HELP 1
48924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
48926 if test "$wxUSE_MSW" = 1; then
48927 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
48928 cat >>confdefs.h <<\_ACEOF
48929 #define wxUSE_MS_HTML_HELP 1
48935 if test "$wxUSE_WXHTML_HELP" = "yes"; then
48936 if test "$wxUSE_HTML" = "yes"; then
48937 cat >>confdefs.h <<\_ACEOF
48938 #define wxUSE_WXHTML_HELP 1
48942 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
48943 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
48944 wxUSE_WXHTML_HELP=no
48949 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
48950 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48951 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
48952 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
48954 cat >>confdefs.h <<\_ACEOF
48955 #define wxUSE_PRINTING_ARCHITECTURE 1
48959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
48964 if test "$wxUSE_METAFILE" = "yes"; then
48965 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
48966 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
48967 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
48973 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
48974 -o "$wxUSE_CLIPBOARD" = "yes" \
48975 -o "$wxUSE_OLE" = "yes" \
48976 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
48977 { echo "$as_me:$LINENO: checking for ole2.h" >&5
48978 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
48979 if test "${ac_cv_header_ole2_h+set}" = set; then
48980 echo $ECHO_N "(cached) $ECHO_C" >&6
48982 cat >conftest.$ac_ext <<_ACEOF
48985 cat confdefs.h >>conftest.$ac_ext
48986 cat >>conftest.$ac_ext <<_ACEOF
48987 /* end confdefs.h. */
48992 rm -f conftest.$ac_objext
48993 if { (ac_try="$ac_compile"
48994 case "(($ac_try" in
48995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48996 *) ac_try_echo
=$ac_try;;
48998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48999 (eval "$ac_compile") 2>conftest.er1
49001 grep -v '^ *+' conftest.er1
>conftest.err
49003 cat conftest.err
>&5
49004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49005 (exit $ac_status); } &&
49006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49007 { (case "(($ac_try" in
49008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49009 *) ac_try_echo=$ac_try;;
49011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49012 (eval "$ac_try") 2>&5
49014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49015 (exit $ac_status); }; } &&
49016 { ac_try='test -s conftest.$ac_objext'
49017 { (case "(($ac_try" in
49018 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49019 *) ac_try_echo
=$ac_try;;
49021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49022 (eval "$ac_try") 2>&5
49024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49025 (exit $ac_status); }; }; then
49026 ac_cv_header_ole2_h
=yes
49028 echo "$as_me: failed program was:" >&5
49029 sed 's/^/| /' conftest.
$ac_ext >&5
49031 ac_cv_header_ole2_h
=no
49034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49036 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49037 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49041 if test "$ac_cv_header_ole2_h" = "yes" ; then
49042 if test "$GCC" = yes ; then
49043 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49044 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49045 cat >conftest.
$ac_ext <<_ACEOF
49048 cat confdefs.h
>>conftest.
$ac_ext
49049 cat >>conftest.
$ac_ext <<_ACEOF
49050 /* end confdefs.h. */
49051 #include <windows.h>
49061 rm -f conftest.
$ac_objext
49062 if { (ac_try
="$ac_compile"
49063 case "(($ac_try" in
49064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49065 *) ac_try_echo=$ac_try;;
49067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49068 (eval "$ac_compile") 2>conftest.er1
49070 grep -v '^ *+' conftest.er1 >conftest.err
49072 cat conftest.err >&5
49073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49074 (exit $ac_status); } &&
49075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49076 { (case "(($ac_try" in
49077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49078 *) ac_try_echo
=$ac_try;;
49080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49081 (eval "$ac_try") 2>&5
49083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49084 (exit $ac_status); }; } &&
49085 { ac_try
='test -s conftest.$ac_objext'
49086 { (case "(($ac_try" in
49087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49088 *) ac_try_echo=$ac_try;;
49090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49091 (eval "$ac_try") 2>&5
49093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49094 (exit $ac_status); }; }; then
49095 { echo "$as_me:$LINENO: result: no" >&5
49096 echo "${ECHO_T}no" >&6; }
49098 echo "$as_me: failed program was:" >&5
49099 sed 's/^/| /' conftest.$ac_ext >&5
49101 { echo "$as_me:$LINENO: result: yes" >&5
49102 echo "${ECHO_T}yes" >&6; }
49103 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49107 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49108 if test "$wxUSE_OLE" = "yes" ; then
49109 cat >>confdefs.h <<\_ACEOF
49110 #define wxUSE_OLE 1
49113 cat >>confdefs.h <<\_ACEOF
49114 #define wxUSE_OLE_AUTOMATION 1
49117 cat >>confdefs.h <<\_ACEOF
49118 #define wxUSE_ACTIVEX 1
49121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49125 if test "$wxUSE_DATAOBJ" = "yes" ; then
49126 cat >>confdefs.h <<\_ACEOF
49127 #define wxUSE_DATAOBJ 1
49132 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49133 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49136 wxUSE_DRAG_AND_DROP=no
49141 if test "$wxUSE_METAFILE" = "yes"; then
49142 cat >>confdefs.h <<\_ACEOF
49143 #define wxUSE_METAFILE 1
49147 cat >>confdefs.h <<\_ACEOF
49148 #define wxUSE_ENH_METAFILE 1
49154 if test "$wxUSE_IPC" = "yes"; then
49155 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49156 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49157 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49161 if test "$wxUSE_IPC" = "yes"; then
49162 cat >>confdefs.h <<\_ACEOF
49163 #define wxUSE_IPC 1
49166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49170 if test "$wxUSE_DATAOBJ" = "yes"; then
49171 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49172 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
49173 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
49176 cat >>confdefs.h <<\_ACEOF
49177 #define wxUSE_DATAOBJ 1
49182 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49183 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49185 wxUSE_DRAG_AND_DROP=no
49188 if test "$wxUSE_CLIPBOARD" = "yes"; then
49189 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49190 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49191 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49195 if test "$wxUSE_CLIPBOARD" = "yes"; then
49196 cat >>confdefs.h <<\_ACEOF
49197 #define wxUSE_CLIPBOARD 1
49203 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49204 if test "$wxUSE_GTK" = 1; then
49205 if test "$WXGTK12" != 1; then
49206 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
49207 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
49208 wxUSE_DRAG_AND_DROP=no
49212 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
49213 "$wxUSE_DFB" = 1; then
49214 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49215 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49216 wxUSE_DRAG_AND_DROP=no
49219 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49220 cat >>confdefs.h <<\_ACEOF
49221 #define wxUSE_DRAG_AND_DROP 1
49228 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49232 if test "$wxUSE_SPLINES" = "yes" ; then
49233 cat >>confdefs.h <<\_ACEOF
49234 #define wxUSE_SPLINES 1
49239 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49240 cat >>confdefs.h <<\_ACEOF
49241 #define wxUSE_MOUSEWHEEL 1
49248 if test "$wxUSE_CONTROLS" = "yes"; then
49252 if test "$wxUSE_ACCEL" = "yes"; then
49253 cat >>confdefs.h <<\_ACEOF
49254 #define wxUSE_ACCEL 1
49260 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49261 cat >>confdefs.h <<\_ACEOF
49262 #define wxUSE_ANIMATIONCTRL 1
49266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49269 if test "$wxUSE_BUTTON" = "yes"; then
49270 cat >>confdefs.h <<\_ACEOF
49271 #define wxUSE_BUTTON 1
49277 if test "$wxUSE_BMPBUTTON" = "yes"; then
49278 cat >>confdefs.h <<\_ACEOF
49279 #define wxUSE_BMPBUTTON 1
49285 if test "$wxUSE_CALCTRL" = "yes"; then
49286 cat >>confdefs.h <<\_ACEOF
49287 #define wxUSE_CALENDARCTRL 1
49291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49294 if test "$wxUSE_CARET" = "yes"; then
49295 cat >>confdefs.h <<\_ACEOF
49296 #define wxUSE_CARET 1
49300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49303 if test "$wxUSE_COLLPANE" = "yes"; then
49304 cat >>confdefs.h <<\_ACEOF
49305 #define wxUSE_COLLPANE 1
49309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49312 if test "$wxUSE_COMBOBOX" = "yes"; then
49313 cat >>confdefs.h <<\_ACEOF
49314 #define wxUSE_COMBOBOX 1
49320 if test "$wxUSE_COMBOCTRL" = "yes"; then
49321 cat >>confdefs.h <<\_ACEOF
49322 #define wxUSE_COMBOCTRL 1
49328 if test "$wxUSE_CHOICE" = "yes"; then
49329 cat >>confdefs.h <<\_ACEOF
49330 #define wxUSE_CHOICE 1
49336 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49337 cat >>confdefs.h <<\_ACEOF
49338 #define wxUSE_CHOICEBOOK 1
49344 if test "$wxUSE_CHECKBOX" = "yes"; then
49345 cat >>confdefs.h <<\_ACEOF
49346 #define wxUSE_CHECKBOX 1
49352 if test "$wxUSE_CHECKLST" = "yes"; then
49353 cat >>confdefs.h <<\_ACEOF
49354 #define wxUSE_CHECKLISTBOX 1
49358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
49361 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49362 cat >>confdefs.h <<\_ACEOF
49363 #define wxUSE_COLOURPICKERCTRL 1
49369 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49370 cat >>confdefs.h <<\_ACEOF
49371 #define wxUSE_DATEPICKCTRL 1
49377 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49378 cat >>confdefs.h <<\_ACEOF
49379 #define wxUSE_DIRPICKERCTRL 1
49385 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49386 cat >>confdefs.h <<\_ACEOF
49387 #define wxUSE_FILEPICKERCTRL 1
49393 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49394 cat >>confdefs.h <<\_ACEOF
49395 #define wxUSE_FONTPICKERCTRL 1
49401 if test "$wxUSE_DISPLAY" = "yes"; then
49402 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
49403 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49404 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49407 cat >>confdefs.h <<\_ACEOF
49408 #define wxUSE_DISPLAY 1
49411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
49415 if test "$wxUSE_DETECT_SM" = "yes"; then
49416 cat >>confdefs.h <<\_ACEOF
49417 #define wxUSE_DETECT_SM 1
49422 if test "$wxUSE_GAUGE" = "yes"; then
49423 cat >>confdefs.h <<\_ACEOF
49424 #define wxUSE_GAUGE 1
49430 if test "$wxUSE_GRID" = "yes"; then
49431 cat >>confdefs.h <<\_ACEOF
49432 #define wxUSE_GRID 1
49436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
49439 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
49440 cat >>confdefs.h <<\_ACEOF
49441 #define wxUSE_HYPERLINKCTRL 1
49447 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
49448 cat >>confdefs.h <<\_ACEOF
49449 #define wxUSE_BITMAPCOMBOBOX 1
49455 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
49456 cat >>confdefs.h <<\_ACEOF
49457 #define wxUSE_DATAVIEWCTRL 1
49461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
49464 if test "$wxUSE_IMAGLIST" = "yes"; then
49465 cat >>confdefs.h <<\_ACEOF
49466 #define wxUSE_IMAGLIST 1
49471 if test "$wxUSE_LISTBOOK" = "yes"; then
49472 cat >>confdefs.h <<\_ACEOF
49473 #define wxUSE_LISTBOOK 1
49479 if test "$wxUSE_LISTBOX" = "yes"; then
49480 cat >>confdefs.h <<\_ACEOF
49481 #define wxUSE_LISTBOX 1
49485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
49488 if test "$wxUSE_LISTCTRL" = "yes"; then
49489 if test "$wxUSE_IMAGLIST" = "yes"; then
49490 cat >>confdefs.h <<\_ACEOF
49491 #define wxUSE_LISTCTRL 1
49495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
49497 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
49498 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
49502 if test "$wxUSE_NOTEBOOK" = "yes"; then
49503 cat >>confdefs.h <<\_ACEOF
49504 #define wxUSE_NOTEBOOK 1
49508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
49511 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
49512 cat >>confdefs.h <<\_ACEOF
49513 #define wxUSE_ODCOMBOBOX 1
49517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
49521 if test "$wxUSE_RADIOBOX" = "yes"; then
49522 cat >>confdefs.h <<\_ACEOF
49523 #define wxUSE_RADIOBOX 1
49529 if test "$wxUSE_RADIOBTN" = "yes"; then
49530 cat >>confdefs.h <<\_ACEOF
49531 #define wxUSE_RADIOBTN 1
49537 if test "$wxUSE_SASH" = "yes"; then
49538 cat >>confdefs.h <<\_ACEOF
49539 #define wxUSE_SASH 1
49542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
49545 if test "$wxUSE_SCROLLBAR" = "yes"; then
49546 cat >>confdefs.h <<\_ACEOF
49547 #define wxUSE_SCROLLBAR 1
49551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
49554 if test "$wxUSE_SEARCHCTRL" = "yes"; then
49555 cat >>confdefs.h <<\_ACEOF
49556 #define wxUSE_SEARCHCTRL 1
49562 if test "$wxUSE_SLIDER" = "yes"; then
49563 cat >>confdefs.h <<\_ACEOF
49564 #define wxUSE_SLIDER 1
49570 if test "$wxUSE_SPINBTN" = "yes"; then
49571 cat >>confdefs.h <<\_ACEOF
49572 #define wxUSE_SPINBTN 1
49578 if test "$wxUSE_SPINCTRL" = "yes"; then
49579 cat >>confdefs.h <<\_ACEOF
49580 #define wxUSE_SPINCTRL 1
49586 if test "$wxUSE_SPLITTER" = "yes"; then
49587 cat >>confdefs.h <<\_ACEOF
49588 #define wxUSE_SPLITTER 1
49591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
49594 if test "$wxUSE_STATBMP" = "yes"; then
49595 cat >>confdefs.h <<\_ACEOF
49596 #define wxUSE_STATBMP 1
49602 if test "$wxUSE_STATBOX" = "yes"; then
49603 cat >>confdefs.h <<\_ACEOF
49604 #define wxUSE_STATBOX 1
49610 if test "$wxUSE_STATTEXT" = "yes"; then
49611 cat >>confdefs.h <<\_ACEOF
49612 #define wxUSE_STATTEXT 1
49618 if test "$wxUSE_STATLINE" = "yes"; then
49619 cat >>confdefs.h <<\_ACEOF
49620 #define wxUSE_STATLINE 1
49626 if test "$wxUSE_STATUSBAR" = "yes"; then
49627 cat >>confdefs.h <<\_ACEOF
49628 #define wxUSE_NATIVE_STATUSBAR 1
49631 cat >>confdefs.h <<\_ACEOF
49632 #define wxUSE_STATUSBAR 1
49637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
49640 if test "$wxUSE_TAB_DIALOG" = "yes"; then
49641 cat >>confdefs.h <<\_ACEOF
49642 #define wxUSE_TAB_DIALOG 1
49647 if test "$wxUSE_TEXTCTRL" = "yes"; then
49648 cat >>confdefs.h <<\_ACEOF
49649 #define wxUSE_TEXTCTRL 1
49653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
49656 if test "$wxUSE_TOGGLEBTN" = "yes"; then
49657 if test "$wxUSE_COCOA" = 1 ; then
49658 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
49659 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
49663 if test "$wxUSE_TOGGLEBTN" = "yes"; then
49664 cat >>confdefs.h <<\_ACEOF
49665 #define wxUSE_TOGGLEBTN 1
49672 if test "$wxUSE_TOOLBAR" = "yes"; then
49673 cat >>confdefs.h <<\_ACEOF
49674 #define wxUSE_TOOLBAR 1
49679 if test "$wxUSE_UNIVERSAL" = "yes"; then
49680 wxUSE_TOOLBAR_NATIVE="no"
49682 wxUSE_TOOLBAR_NATIVE="yes"
49683 cat >>confdefs.h <<\_ACEOF
49684 #define wxUSE_TOOLBAR_NATIVE 1
49689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
49692 if test "$wxUSE_TOOLTIPS" = "yes"; then
49693 if test "$wxUSE_MOTIF" = 1; then
49694 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
49695 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
49697 if test "$wxUSE_UNIVERSAL" = "yes"; then
49698 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
49699 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
49701 cat >>confdefs.h <<\_ACEOF
49702 #define wxUSE_TOOLTIPS 1
49709 if test "$wxUSE_TREEBOOK" = "yes"; then
49710 cat >>confdefs.h <<\_ACEOF
49711 #define wxUSE_TREEBOOK 1
49717 if test "$wxUSE_TOOLBOOK" = "yes"; then
49718 cat >>confdefs.h <<\_ACEOF
49719 #define wxUSE_TOOLBOOK 1
49725 if test "$wxUSE_TREECTRL" = "yes"; then
49726 if test "$wxUSE_IMAGLIST" = "yes"; then
49727 cat >>confdefs.h <<\_ACEOF
49728 #define wxUSE_TREECTRL 1
49732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
49734 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
49735 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
49739 if test "$wxUSE_POPUPWIN" = "yes"; then
49740 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
49741 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
49742 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
49744 if test "$wxUSE_PM" = 1; then
49745 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
49746 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
49748 cat >>confdefs.h <<\_ACEOF
49749 #define wxUSE_POPUPWIN 1
49752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
49759 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
49760 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
49761 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
49762 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
49764 cat >>confdefs.h <<\_ACEOF
49765 #define wxUSE_DIALUP_MANAGER 1
49768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
49772 if test "$wxUSE_TIPWINDOW" = "yes"; then
49773 if test "$wxUSE_PM" = 1; then
49774 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
49775 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
49777 cat >>confdefs.h <<\_ACEOF
49778 #define wxUSE_TIPWINDOW 1
49784 if test "$USES_CONTROLS" = 1; then
49785 cat >>confdefs.h <<\_ACEOF
49786 #define wxUSE_CONTROLS 1
49792 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
49793 cat >>confdefs.h <<\_ACEOF
49794 #define wxUSE_ACCESSIBILITY 1
49797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
49800 if test "$wxUSE_DC_CACHEING" = "yes"; then
49801 cat >>confdefs.h <<\_ACEOF
49802 #define wxUSE_DC_CACHEING 1
49807 if test "$wxUSE_DRAGIMAGE" = "yes"; then
49808 cat >>confdefs.h <<\_ACEOF
49809 #define wxUSE_DRAGIMAGE 1
49812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
49815 if test "$wxUSE_EXCEPTIONS" = "yes"; then
49816 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
49817 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
49818 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
49820 cat >>confdefs.h <<\_ACEOF
49821 #define wxUSE_EXCEPTIONS 1
49824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
49829 if test "$wxUSE_HTML" = "yes"; then
49830 cat >>confdefs.h <<\_ACEOF
49831 #define wxUSE_HTML 1
49835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
49836 if test "$wxUSE_MAC" = 1; then
49837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
49840 if test "$wxUSE_WEBKIT" = "yes"; then
49841 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
49842 old_CPPFLAGS="$CPPFLAGS"
49843 CPPFLAGS="-x objective-c++ $CPPFLAGS"
49844 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
49845 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
49846 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
49847 echo $ECHO_N "(cached) $ECHO_C" >&6
49849 cat >conftest.$ac_ext <<_ACEOF
49852 cat confdefs.h >>conftest.$ac_ext
49853 cat >>conftest.$ac_ext <<_ACEOF
49854 /* end confdefs.h. */
49856 #include <Carbon/Carbon.h>
49857 #include <WebKit/WebKit.h>
49860 #include <WebKit/HIWebView.h>
49862 rm -f conftest.$ac_objext
49863 if { (ac_try="$ac_compile"
49864 case "(($ac_try" in
49865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49866 *) ac_try_echo
=$ac_try;;
49868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49869 (eval "$ac_compile") 2>conftest.er1
49871 grep -v '^ *+' conftest.er1
>conftest.err
49873 cat conftest.err
>&5
49874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49875 (exit $ac_status); } &&
49876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49877 { (case "(($ac_try" in
49878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49879 *) ac_try_echo=$ac_try;;
49881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49882 (eval "$ac_try") 2>&5
49884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49885 (exit $ac_status); }; } &&
49886 { ac_try='test -s conftest.$ac_objext'
49887 { (case "(($ac_try" in
49888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49889 *) ac_try_echo
=$ac_try;;
49891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49892 (eval "$ac_try") 2>&5
49894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49895 (exit $ac_status); }; }; then
49896 ac_cv_header_WebKit_HIWebView_h
=yes
49898 echo "$as_me: failed program was:" >&5
49899 sed 's/^/| /' conftest.
$ac_ext >&5
49901 ac_cv_header_WebKit_HIWebView_h
=no
49904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49906 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
49907 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
49908 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
49910 cat >>confdefs.h
<<\_ACEOF
49911 #define wxUSE_WEBKIT 1
49914 WEBKIT_LINK
="-framework WebKit"
49918 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
49919 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
49925 CPPFLAGS
="$old_CPPFLAGS"
49926 elif test "$wxUSE_COCOA" = 1; then
49927 cat >>confdefs.h
<<\_ACEOF
49928 #define wxUSE_WEBKIT 1
49937 if test "$wxUSE_XRC" = "yes"; then
49938 if test "$wxUSE_XML" != "yes"; then
49939 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
49940 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
49943 cat >>confdefs.h
<<\_ACEOF
49944 #define wxUSE_XRC 1
49948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
49953 if test "$wxUSE_AUI" = "yes"; then
49954 cat >>confdefs.h
<<\_ACEOF
49955 #define wxUSE_AUI 1
49959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
49963 if test "$wxUSE_STC" = "yes"; then
49964 cat >>confdefs.h
<<\_ACEOF
49965 #define wxUSE_STC 1
49969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
49972 if test "$wxUSE_MENUS" = "yes"; then
49973 cat >>confdefs.h
<<\_ACEOF
49974 #define wxUSE_MENUS 1
49977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
49980 if test "$wxUSE_METAFILE" = "yes"; then
49981 cat >>confdefs.h
<<\_ACEOF
49982 #define wxUSE_METAFILE 1
49987 if test "$wxUSE_MIMETYPE" = "yes"; then
49988 cat >>confdefs.h
<<\_ACEOF
49989 #define wxUSE_MIMETYPE 1
49994 if test "$wxUSE_MINIFRAME" = "yes"; then
49995 cat >>confdefs.h
<<\_ACEOF
49996 #define wxUSE_MINIFRAME 1
49999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
50002 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50003 cat >>confdefs.h
<<\_ACEOF
50004 #define wxUSE_SYSTEM_OPTIONS 1
50007 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
50008 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
50009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
50014 if test "$wxUSE_VALIDATORS" = "yes"; then
50015 cat >>confdefs.h
<<\_ACEOF
50016 #define wxUSE_VALIDATORS 1
50019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
50022 if test "$wxUSE_PALETTE" = "yes" ; then
50023 if test "$wxUSE_DFB" = 1; then
50024 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50025 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50028 cat >>confdefs.h
<<\_ACEOF
50029 #define wxUSE_PALETTE 1
50035 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50036 LIBS
=" -lunicows $LIBS"
50040 if test "$wxUSE_RICHTEXT" = "yes"; then
50041 cat >>confdefs.h
<<\_ACEOF
50042 #define wxUSE_RICHTEXT 1
50046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
50050 if test "$wxUSE_IMAGE" = "yes" ; then
50051 cat >>confdefs.h
<<\_ACEOF
50052 #define wxUSE_IMAGE 1
50056 if test "$wxUSE_GIF" = "yes" ; then
50057 cat >>confdefs.h
<<\_ACEOF
50058 #define wxUSE_GIF 1
50063 if test "$wxUSE_PCX" = "yes" ; then
50064 cat >>confdefs.h
<<\_ACEOF
50065 #define wxUSE_PCX 1
50070 if test "$wxUSE_TGA" = "yes" ; then
50071 cat >>confdefs.h
<<\_ACEOF
50072 #define wxUSE_TGA 1
50077 if test "$wxUSE_IFF" = "yes" ; then
50078 cat >>confdefs.h
<<\_ACEOF
50079 #define wxUSE_IFF 1
50084 if test "$wxUSE_PNM" = "yes" ; then
50085 cat >>confdefs.h
<<\_ACEOF
50086 #define wxUSE_PNM 1
50091 if test "$wxUSE_XPM" = "yes" ; then
50092 cat >>confdefs.h
<<\_ACEOF
50093 #define wxUSE_XPM 1
50098 if test "$wxUSE_ICO_CUR" = "yes" ; then
50099 cat >>confdefs.h
<<\_ACEOF
50100 #define wxUSE_ICO_CUR 1
50107 if test "$wxUSE_ABOUTDLG" = "yes"; then
50108 cat >>confdefs.h
<<\_ACEOF
50109 #define wxUSE_ABOUTDLG 1
50114 if test "$wxUSE_CHOICEDLG" = "yes"; then
50115 cat >>confdefs.h
<<\_ACEOF
50116 #define wxUSE_CHOICEDLG 1
50121 if test "$wxUSE_COLOURDLG" = "yes"; then
50122 cat >>confdefs.h
<<\_ACEOF
50123 #define wxUSE_COLOURDLG 1
50128 if test "$wxUSE_FILEDLG" = "yes"; then
50129 cat >>confdefs.h
<<\_ACEOF
50130 #define wxUSE_FILEDLG 1
50135 if test "$wxUSE_FINDREPLDLG" = "yes"; then
50136 cat >>confdefs.h
<<\_ACEOF
50137 #define wxUSE_FINDREPLDLG 1
50142 if test "$wxUSE_FONTDLG" = "yes"; then
50143 cat >>confdefs.h
<<\_ACEOF
50144 #define wxUSE_FONTDLG 1
50149 if test "$wxUSE_DIRDLG" = "yes"; then
50150 if test "$wxUSE_TREECTRL" != "yes"; then
50151 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
50152 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
50154 cat >>confdefs.h
<<\_ACEOF
50155 #define wxUSE_DIRDLG 1
50161 if test "$wxUSE_MSGDLG" = "yes"; then
50162 cat >>confdefs.h
<<\_ACEOF
50163 #define wxUSE_MSGDLG 1
50168 if test "$wxUSE_NUMBERDLG" = "yes"; then
50169 cat >>confdefs.h
<<\_ACEOF
50170 #define wxUSE_NUMBERDLG 1
50175 if test "$wxUSE_PROGRESSDLG" = "yes"; then
50176 if test "$wxUSE_CONSTRAINTS" != "yes"; then
50177 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
50178 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
50180 cat >>confdefs.h
<<\_ACEOF
50181 #define wxUSE_PROGRESSDLG 1
50187 if test "$wxUSE_SPLASH" = "yes"; then
50188 cat >>confdefs.h
<<\_ACEOF
50189 #define wxUSE_SPLASH 1
50192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
50195 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
50196 if test "$wxUSE_CONSTRAINTS" != "yes"; then
50197 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
50198 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
50200 cat >>confdefs.h
<<\_ACEOF
50201 #define wxUSE_STARTUP_TIPS 1
50207 if test "$wxUSE_TEXTDLG" = "yes"; then
50208 cat >>confdefs.h
<<\_ACEOF
50209 #define wxUSE_TEXTDLG 1
50214 if test "$wxUSE_WIZARDDLG" = "yes"; then
50215 cat >>confdefs.h
<<\_ACEOF
50216 #define wxUSE_WIZARDDLG 1
50219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
50223 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
50224 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
50225 cat >>confdefs.h
<<\_ACEOF
50226 #define wxUSE_GRAPHICS_CONTEXT 1
50229 elif test "$wxUSE_GTK" != 1; then
50230 cat >>confdefs.h
<<\_ACEOF
50231 #define wxUSE_GRAPHICS_CONTEXT 1
50237 { echo "$as_me:$LINENO: checking for CAIRO" >&5
50238 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
50240 if test -n "$PKG_CONFIG"; then
50241 if test -n "$CAIRO_CFLAGS"; then
50242 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
50244 if test -n "$PKG_CONFIG" && \
50245 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
50246 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
50248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50249 (exit $ac_status); }; then
50250 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
50258 if test -n "$PKG_CONFIG"; then
50259 if test -n "$CAIRO_LIBS"; then
50260 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
50262 if test -n "$PKG_CONFIG" && \
50263 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
50264 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
50266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50267 (exit $ac_status); }; then
50268 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
50279 if test $pkg_failed = yes; then
50281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50282 _pkg_short_errors_supported
=yes
50284 _pkg_short_errors_supported
=no
50286 if test $_pkg_short_errors_supported = yes; then
50287 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
50289 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
50291 # Put the nasty error message in config.log where it belongs
50292 echo "$CAIRO_PKG_ERRORS" >&5
50294 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
50295 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
50297 elif test $pkg_failed = untried
; then
50298 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
50299 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
50302 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
50303 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
50304 { echo "$as_me:$LINENO: result: yes" >&5
50305 echo "${ECHO_T}yes" >&6; }
50306 cat >>confdefs.h
<<\_ACEOF
50307 #define wxUSE_GRAPHICS_CONTEXT 1
50317 if test "$wxUSE_MEDIACTRL" = "yes"; then
50320 if test "$wxUSE_GTK" = 1; then
50321 wxUSE_GSTREAMER
="no"
50323 GST_VERSION_MAJOR
=0
50324 GST_VERSION_MINOR
=10
50325 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
50327 if test "$wxUSE_GSTREAMER8" = "no"; then
50330 { echo "$as_me:$LINENO: checking for GST" >&5
50331 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
50333 if test -n "$PKG_CONFIG"; then
50334 if test -n "$GST_CFLAGS"; then
50335 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
50337 if test -n "$PKG_CONFIG" && \
50338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
50339 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
50341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50342 (exit $ac_status); }; then
50343 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
50351 if test -n "$PKG_CONFIG"; then
50352 if test -n "$GST_LIBS"; then
50353 pkg_cv_GST_LIBS
="$GST_LIBS"
50355 if test -n "$PKG_CONFIG" && \
50356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
50357 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
50359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50360 (exit $ac_status); }; then
50361 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
50372 if test $pkg_failed = yes; then
50374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50375 _pkg_short_errors_supported
=yes
50377 _pkg_short_errors_supported
=no
50379 if test $_pkg_short_errors_supported = yes; then
50380 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
50382 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
50384 # Put the nasty error message in config.log where it belongs
50385 echo "$GST_PKG_ERRORS" >&5
50388 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
50389 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
50390 GST_VERSION_MINOR
=8
50393 elif test $pkg_failed = untried
; then
50395 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
50396 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
50397 GST_VERSION_MINOR
=8
50401 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
50402 GST_LIBS
=$pkg_cv_GST_LIBS
50403 { echo "$as_me:$LINENO: result: yes" >&5
50404 echo "${ECHO_T}yes" >&6; }
50406 wxUSE_GSTREAMER
="yes"
50407 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
50411 GST_VERSION_MINOR
=8
50414 if test $GST_VERSION_MINOR = "8"; then
50415 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
50418 { echo "$as_me:$LINENO: checking for GST" >&5
50419 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
50421 if test -n "$PKG_CONFIG"; then
50422 if test -n "$GST_CFLAGS"; then
50423 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
50425 if test -n "$PKG_CONFIG" && \
50426 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
50427 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
50429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50430 (exit $ac_status); }; then
50431 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
50439 if test -n "$PKG_CONFIG"; then
50440 if test -n "$GST_LIBS"; then
50441 pkg_cv_GST_LIBS
="$GST_LIBS"
50443 if test -n "$PKG_CONFIG" && \
50444 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
50445 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
50447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50448 (exit $ac_status); }; then
50449 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
50460 if test $pkg_failed = yes; then
50462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50463 _pkg_short_errors_supported
=yes
50465 _pkg_short_errors_supported
=no
50467 if test $_pkg_short_errors_supported = yes; then
50468 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
50470 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
50472 # Put the nasty error message in config.log where it belongs
50473 echo "$GST_PKG_ERRORS" >&5
50476 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
50477 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
50479 elif test $pkg_failed = untried
; then
50481 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
50482 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
50485 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
50486 GST_LIBS
=$pkg_cv_GST_LIBS
50487 { echo "$as_me:$LINENO: result: yes" >&5
50488 echo "${ECHO_T}yes" >&6; }
50489 wxUSE_GSTREAMER
="yes"
50494 if test "$wxUSE_GSTREAMER" = "yes"; then
50497 if "$GCC" = yes; then
50498 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
50499 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
50503 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
50504 LIBS
="$GST_LIBS $LIBS"
50506 cat >>confdefs.h
<<\_ACEOF
50507 #define wxUSE_GSTREAMER 1
50515 if test $USE_MEDIA = 1; then
50516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
50517 cat >>confdefs.h
<<\_ACEOF
50518 #define wxUSE_MEDIACTRL 1
50525 if test "$cross_compiling" = "yes"; then
50528 OSINFO
=`uname -s -r -m`
50529 OSINFO
="\"$OSINFO\""
50532 cat >>confdefs.h
<<_ACEOF
50533 #define WXWIN_OS_DESCRIPTION $OSINFO
50538 if test "x$prefix" != "xNONE"; then
50541 wxPREFIX
=$ac_default_prefix
50544 cat >>confdefs.h
<<_ACEOF
50545 #define wxINSTALL_PREFIX "$wxPREFIX"
50551 CORE_BASE_LIBS
="net base"
50552 CORE_GUI_LIBS
="adv core"
50554 if test "$wxUSE_XML" = "yes" ; then
50555 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
50557 if test "$wxUSE_ODBC" != "no" ; then
50558 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
50559 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
50561 if test "$wxUSE_HTML" = "yes" ; then
50562 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
50564 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
50565 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
50567 if test "$wxUSE_XRC" = "yes" ; then
50568 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
50570 if test "$wxUSE_AUI" = "yes" ; then
50571 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
50573 if test "$wxUSE_STC" = "yes" ; then
50574 CORE_GUI_LIBS
="stc $CORE_GUI_LIBS"
50577 if test "$wxUSE_GUI" != "yes"; then
50586 if test "$wxUSE_MAC" = 1 ; then
50587 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
50588 if test "$USE_DARWIN" = 1; then
50589 LDFLAGS
="$LDFLAGS -framework QuickTime"
50591 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
50594 if test "$USE_DARWIN" = 1; then
50595 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
50597 LDFLAGS
="$LDFLAGS -lCarbonLib"
50600 if test "$wxUSE_COCOA" = 1 ; then
50601 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
50602 if test "$wxUSE_MEDIACTRL" = "yes"; then
50603 LDFLAGS
="$LDFLAGS -framework QuickTime"
50606 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
50607 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
50610 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
50612 if test "$wxUSE_GUI" = "yes"; then
50615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
50616 dynamic erase event exec font image minimal mobile \
50617 mobile/wxedit mobile/styles propsize render \
50618 rotate shaped svg taborder vscroll widgets"
50620 if test "$wxUSE_MONOLITHIC" != "yes"; then
50621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
50623 if test "$TOOLKIT" = "MSW"; then
50624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
50625 if test "$wxUSE_UNIVERSAL" != "yes"; then
50626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
50629 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
50630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
50633 SAMPLES_SUBDIRS
="console"
50637 if test "x$INTELCC" = "xyes" ; then
50638 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
50639 elif test "$GCC" = yes ; then
50640 CWARNINGS
="-Wall -Wundef"
50643 if test "x$INTELCXX" = "xyes" ; then
50644 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
50645 elif test "$GXX" = yes ; then
50646 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
50650 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
50651 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
50654 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
50655 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
50656 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
50659 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
50660 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
50661 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
50663 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
50666 if test "x$MWCC" = "xyes"; then
50668 CC
="$CC -cwd source -I-"
50669 CXX
="$CXX -cwd source -I-"
50674 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
50675 EXTRALIBS_XML
="$EXPAT_LINK"
50676 EXTRALIBS_HTML
="$MSPACK_LINK"
50677 EXTRALIBS_ODBC
="$ODBC_LINK"
50678 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
50679 if test "$wxUSE_GUI" = "yes"; then
50680 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
50682 if test "$wxUSE_OPENGL" = "yes"; then
50683 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
50686 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
50688 WXCONFIG_LIBS
="$LIBS"
50690 if test "$wxUSE_REGEX" = "builtin" ; then
50691 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
50693 if test "$wxUSE_EXPAT" = "builtin" ; then
50694 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
50696 if test "$wxUSE_ODBC" = "builtin" ; then
50697 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
50699 if test "$wxUSE_LIBTIFF" = "builtin" ; then
50700 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
50702 if test "$wxUSE_LIBJPEG" = "builtin" ; then
50703 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
50705 if test "$wxUSE_LIBPNG" = "builtin" ; then
50706 wxconfig_3rdparty
="png $wxconfig_3rdparty"
50708 if test "$wxUSE_ZLIB" = "builtin" ; then
50709 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
50712 for i
in $wxconfig_3rdparty ; do
50713 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
50717 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
50720 case "$wxUNIV_THEMES" in
50722 cat >>confdefs.h
<<\_ACEOF
50723 #define wxUSE_ALL_THEMES 1
50729 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
50730 cat >>confdefs.h
<<_ACEOF
50731 #define wxUSE_THEME_$t 1
50748 if test $wxUSE_MONOLITHIC = "yes" ; then
50754 if test $wxUSE_PLUGINS = "yes" ; then
50760 if test $wxUSE_ODBC != "no" ; then
50766 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
50772 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
50802 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
50813 TOOLKIT_DESC
="GTK+"
50814 if test "$WXGTK20" = 1; then
50815 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
50816 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
50817 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
50819 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
50820 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
50822 if test "$wxUSE_LIBHILDON" = "yes"; then
50823 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
50826 if test "$TOOLKIT_EXTRA" != ""; then
50827 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
50833 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
50837 TOOLKIT_DESC
="base only"
50841 if test "$wxUSE_WINE" = "yes"; then
50842 BAKEFILE_FORCE_PLATFORM
=win32
50845 if test "$wxUSE_MAC" = 1 ; then
50846 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
50847 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
50848 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
50850 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
50852 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
50853 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
50854 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
50855 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
50858 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
50859 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
50862 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
50864 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
50865 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
50866 if test "${wx_cv_gcc_pch_bug+set}" = set; then
50867 echo $ECHO_N "(cached) $ECHO_C" >&6
50870 echo '#include <stdio.h>
50871 const wchar_t test_var[] = L"awidetest";' > conftest.h
50873 echo '#include "conftest.h"
50876 printf("%ls", test_var);
50880 wx_cv_gcc_pch_bug
="pch not supported"
50882 if $CXX conftest.h
>/dev
/null
2>&1
50886 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
50888 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
50889 grep awidetest
>/dev
/null
50891 wx_cv_gcc_pch_bug
=no
50893 wx_cv_gcc_pch_bug
=yes
50898 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
50901 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
50902 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
50904 if test "$wx_cv_gcc_pch_bug" = yes; then
50912 if test "x$BAKEFILE_HOST" = "x"; then
50913 if test "x${host}" = "x" ; then
50914 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
50915 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
50916 { (exit 1); exit 1; }; }
50919 BAKEFILE_HOST
="${host}"
50922 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
50924 if test -n "$ac_tool_prefix"; then
50925 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50926 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
50927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50929 if test "${ac_cv_prog_RANLIB+set}" = set; then
50930 echo $ECHO_N "(cached) $ECHO_C" >&6
50932 if test -n "$RANLIB"; then
50933 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
50935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50936 for as_dir
in $PATH
50939 test -z "$as_dir" && as_dir
=.
50940 for ac_exec_ext
in '' $ac_executable_extensions; do
50941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
50942 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
50943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50952 RANLIB
=$ac_cv_prog_RANLIB
50953 if test -n "$RANLIB"; then
50954 { echo "$as_me:$LINENO: result: $RANLIB" >&5
50955 echo "${ECHO_T}$RANLIB" >&6; }
50957 { echo "$as_me:$LINENO: result: no" >&5
50958 echo "${ECHO_T}no" >&6; }
50963 if test -z "$ac_cv_prog_RANLIB"; then
50964 ac_ct_RANLIB
=$RANLIB
50965 # Extract the first word of "ranlib", so it can be a program name with args.
50966 set dummy ranlib
; ac_word
=$2
50967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50969 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50970 echo $ECHO_N "(cached) $ECHO_C" >&6
50972 if test -n "$ac_ct_RANLIB"; then
50973 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
50975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50976 for as_dir
in $PATH
50979 test -z "$as_dir" && as_dir
=.
50980 for ac_exec_ext
in '' $ac_executable_extensions; do
50981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
50982 ac_cv_prog_ac_ct_RANLIB
="ranlib"
50983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50992 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
50993 if test -n "$ac_ct_RANLIB"; then
50994 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50995 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50997 { echo "$as_me:$LINENO: result: no" >&5
50998 echo "${ECHO_T}no" >&6; }
51001 if test "x$ac_ct_RANLIB" = x
; then
51004 case $cross_compiling:$ac_tool_warned in
51006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51007 whose name does not start with the host triplet. If you think this
51008 configuration is useful to you, please write to autoconf@gnu.org." >&5
51009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51010 whose name does not start with the host triplet. If you think this
51011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51012 ac_tool_warned
=yes ;;
51014 RANLIB
=$ac_ct_RANLIB
51017 RANLIB
="$ac_cv_prog_RANLIB"
51020 # Find a good install program. We prefer a C program (faster),
51021 # so one script is as good as another. But avoid the broken or
51022 # incompatible versions:
51023 # SysV /etc/install, /usr/sbin/install
51024 # SunOS /usr/etc/install
51025 # IRIX /sbin/install
51027 # AmigaOS /C/install, which installs bootblocks on floppy discs
51028 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
51029 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
51030 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
51031 # OS/2's system install, which has a completely different semantic
51032 # ./install, which can be erroneously created by make from ./install.sh.
51033 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
51034 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
51035 if test -z "$INSTALL"; then
51036 if test "${ac_cv_path_install+set}" = set; then
51037 echo $ECHO_N "(cached) $ECHO_C" >&6
51039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51040 for as_dir
in $PATH
51043 test -z "$as_dir" && as_dir
=.
51044 # Account for people who put trailing slashes in PATH elements.
51046 .
/ | .
// | /cC
/* | \
51047 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
51048 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
51051 # OSF1 and SCO ODT 3.0 have their own names for install.
51052 # Don't use installbsd from OSF since it installs stuff as root
51054 for ac_prog
in ginstall scoinst
install; do
51055 for ac_exec_ext
in '' $ac_executable_extensions; do
51056 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
51057 if test $ac_prog = install &&
51058 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
51059 # AIX install. It has an incompatible calling convention.
51061 elif test $ac_prog = install &&
51062 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
51063 # program-specific install script used by HP pwplus--don't use.
51066 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
51079 if test "${ac_cv_path_install+set}" = set; then
51080 INSTALL
=$ac_cv_path_install
51082 # As a last resort, use the slow shell script. Don't cache a
51083 # value for INSTALL within a source directory, because that will
51084 # break other packages using the cache if that directory is
51085 # removed, or if the value is a relative name.
51086 INSTALL
=$ac_install_sh
51089 { echo "$as_me:$LINENO: result: $INSTALL" >&5
51090 echo "${ECHO_T}$INSTALL" >&6; }
51092 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
51093 # It thinks the first close brace ends the variable substitution.
51094 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
51096 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
51098 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
51100 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
51101 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
51103 if test "$LN_S" = "ln -s"; then
51104 { echo "$as_me:$LINENO: result: yes" >&5
51105 echo "${ECHO_T}yes" >&6; }
51107 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
51108 echo "${ECHO_T}no, using $LN_S" >&6; }
51112 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51113 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51114 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51115 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
51116 echo $ECHO_N "(cached) $ECHO_C" >&6
51118 cat >conftest.
make <<\_ACEOF
51121 @
echo '@@@%%%=$(MAKE)=@@@%%%'
51123 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51124 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51125 *@@@
%%%=?
*=@@@
%%%*)
51126 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
51128 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
51130 rm -f conftest.
make
51132 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
51133 { echo "$as_me:$LINENO: result: yes" >&5
51134 echo "${ECHO_T}yes" >&6; }
51137 { echo "$as_me:$LINENO: result: no" >&5
51138 echo "${ECHO_T}no" >&6; }
51139 SET_MAKE
="MAKE=${MAKE-make}"
51144 if test "x$SUNCXX" = "xyes"; then
51146 AROPTIONS
="-xar -o"
51148 elif test "x$SGICC" = "xyes"; then
51153 if test -n "$ac_tool_prefix"; then
51154 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
51155 set dummy
${ac_tool_prefix}ar; ac_word
=$2
51156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51158 if test "${ac_cv_prog_AR+set}" = set; then
51159 echo $ECHO_N "(cached) $ECHO_C" >&6
51161 if test -n "$AR"; then
51162 ac_cv_prog_AR
="$AR" # Let the user override the test.
51164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51165 for as_dir
in $PATH
51168 test -z "$as_dir" && as_dir
=.
51169 for ac_exec_ext
in '' $ac_executable_extensions; do
51170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51171 ac_cv_prog_AR
="${ac_tool_prefix}ar"
51172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51182 if test -n "$AR"; then
51183 { echo "$as_me:$LINENO: result: $AR" >&5
51184 echo "${ECHO_T}$AR" >&6; }
51186 { echo "$as_me:$LINENO: result: no" >&5
51187 echo "${ECHO_T}no" >&6; }
51192 if test -z "$ac_cv_prog_AR"; then
51194 # Extract the first word of "ar", so it can be a program name with args.
51195 set dummy
ar; ac_word
=$2
51196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51198 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
51199 echo $ECHO_N "(cached) $ECHO_C" >&6
51201 if test -n "$ac_ct_AR"; then
51202 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
51204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51205 for as_dir
in $PATH
51208 test -z "$as_dir" && as_dir
=.
51209 for ac_exec_ext
in '' $ac_executable_extensions; do
51210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51211 ac_cv_prog_ac_ct_AR
="ar"
51212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51221 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
51222 if test -n "$ac_ct_AR"; then
51223 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
51224 echo "${ECHO_T}$ac_ct_AR" >&6; }
51226 { echo "$as_me:$LINENO: result: no" >&5
51227 echo "${ECHO_T}no" >&6; }
51230 if test "x$ac_ct_AR" = x
; then
51233 case $cross_compiling:$ac_tool_warned in
51235 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51236 whose name does not start with the host triplet. If you think this
51237 configuration is useful to you, please write to autoconf@gnu.org." >&5
51238 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51239 whose name does not start with the host triplet. If you think this
51240 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51241 ac_tool_warned
=yes ;;
51246 AR
="$ac_cv_prog_AR"
51253 if test -n "$ac_tool_prefix"; then
51254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
51255 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
51256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51258 if test "${ac_cv_prog_STRIP+set}" = set; then
51259 echo $ECHO_N "(cached) $ECHO_C" >&6
51261 if test -n "$STRIP"; then
51262 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
51264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51265 for as_dir
in $PATH
51268 test -z "$as_dir" && as_dir
=.
51269 for ac_exec_ext
in '' $ac_executable_extensions; do
51270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51271 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
51272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51281 STRIP
=$ac_cv_prog_STRIP
51282 if test -n "$STRIP"; then
51283 { echo "$as_me:$LINENO: result: $STRIP" >&5
51284 echo "${ECHO_T}$STRIP" >&6; }
51286 { echo "$as_me:$LINENO: result: no" >&5
51287 echo "${ECHO_T}no" >&6; }
51292 if test -z "$ac_cv_prog_STRIP"; then
51294 # Extract the first word of "strip", so it can be a program name with args.
51295 set dummy strip
; ac_word
=$2
51296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51298 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
51299 echo $ECHO_N "(cached) $ECHO_C" >&6
51301 if test -n "$ac_ct_STRIP"; then
51302 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
51304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51305 for as_dir
in $PATH
51308 test -z "$as_dir" && as_dir
=.
51309 for ac_exec_ext
in '' $ac_executable_extensions; do
51310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51311 ac_cv_prog_ac_ct_STRIP
="strip"
51312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51321 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
51322 if test -n "$ac_ct_STRIP"; then
51323 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
51324 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
51326 { echo "$as_me:$LINENO: result: no" >&5
51327 echo "${ECHO_T}no" >&6; }
51330 if test "x$ac_ct_STRIP" = x
; then
51333 case $cross_compiling:$ac_tool_warned in
51335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51336 whose name does not start with the host triplet. If you think this
51337 configuration is useful to you, please write to autoconf@gnu.org." >&5
51338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51339 whose name does not start with the host triplet. If you think this
51340 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51341 ac_tool_warned
=yes ;;
51346 STRIP
="$ac_cv_prog_STRIP"
51349 if test -n "$ac_tool_prefix"; then
51350 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
51351 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
51352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51354 if test "${ac_cv_prog_NM+set}" = set; then
51355 echo $ECHO_N "(cached) $ECHO_C" >&6
51357 if test -n "$NM"; then
51358 ac_cv_prog_NM
="$NM" # Let the user override the test.
51360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51361 for as_dir
in $PATH
51364 test -z "$as_dir" && as_dir
=.
51365 for ac_exec_ext
in '' $ac_executable_extensions; do
51366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51367 ac_cv_prog_NM
="${ac_tool_prefix}nm"
51368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51378 if test -n "$NM"; then
51379 { echo "$as_me:$LINENO: result: $NM" >&5
51380 echo "${ECHO_T}$NM" >&6; }
51382 { echo "$as_me:$LINENO: result: no" >&5
51383 echo "${ECHO_T}no" >&6; }
51388 if test -z "$ac_cv_prog_NM"; then
51390 # Extract the first word of "nm", so it can be a program name with args.
51391 set dummy nm
; ac_word
=$2
51392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51394 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
51395 echo $ECHO_N "(cached) $ECHO_C" >&6
51397 if test -n "$ac_ct_NM"; then
51398 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
51400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51401 for as_dir
in $PATH
51404 test -z "$as_dir" && as_dir
=.
51405 for ac_exec_ext
in '' $ac_executable_extensions; do
51406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51407 ac_cv_prog_ac_ct_NM
="nm"
51408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51417 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
51418 if test -n "$ac_ct_NM"; then
51419 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
51420 echo "${ECHO_T}$ac_ct_NM" >&6; }
51422 { echo "$as_me:$LINENO: result: no" >&5
51423 echo "${ECHO_T}no" >&6; }
51426 if test "x$ac_ct_NM" = x
; then
51429 case $cross_compiling:$ac_tool_warned in
51431 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51432 whose name does not start with the host triplet. If you think this
51433 configuration is useful to you, please write to autoconf@gnu.org." >&5
51434 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51435 whose name does not start with the host triplet. If you think this
51436 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51437 ac_tool_warned
=yes ;;
51442 NM
="$ac_cv_prog_NM"
51446 case ${BAKEFILE_HOST} in
51448 INSTALL_DIR
="mkdir -p"
51451 INSTALL_DIR
='$(INSTALL) -d'
51457 case ${BAKEFILE_HOST} in
51458 *-*-cygwin* | *-*-mingw32* )
51459 LDFLAGS_GUI
="-mwindows"
51465 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
51466 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
51467 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
51468 echo $ECHO_N "(cached) $ECHO_C" >&6
51471 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
51472 egrep -s GNU
> /dev
/null
); then
51473 bakefile_cv_prog_makeisgnu
="yes"
51475 bakefile_cv_prog_makeisgnu
="no"
51479 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
51480 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
51482 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
51499 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
51500 case "${BAKEFILE_HOST}" in
51507 *-pc-os2_emx | *-pc-os2-emx )
51517 powerpc
-apple-macos* )
51526 case "$BAKEFILE_FORCE_PLATFORM" in
51561 # Check whether --enable-omf was given.
51562 if test "${enable_omf+set}" = set; then
51563 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
51567 case "${BAKEFILE_HOST}" in
51569 if test "x$GCC" = "xyes"; then
51570 CFLAGS
="$CFLAGS -fno-common"
51571 CXXFLAGS
="$CXXFLAGS -fno-common"
51573 if test "x$XLCC" = "xyes"; then
51574 CFLAGS
="$CFLAGS -qnocommon"
51575 CXXFLAGS
="$CXXFLAGS -qnocommon"
51579 *-pc-os2_emx | *-pc-os2-emx )
51580 if test "x$bk_os2_use_omf" = "xyes" ; then
51583 LDFLAGS
="-Zomf $LDFLAGS"
51584 CFLAGS
="-Zomf $CFLAGS"
51585 CXXFLAGS
="-Zomf $CXXFLAGS"
51593 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
51599 SO_SUFFIX_MODULE
="so"
51604 DLLPREFIX_MODULE
=""
51608 case "${BAKEFILE_HOST}" in
51611 SO_SUFFIX_MODULE
="sl"
51615 SO_SUFFIX_MODULE
="a"
51619 SO_SUFFIX_MODULE
="dll"
51620 DLLIMP_SUFFIX
="dll.a"
51627 SO_SUFFIX_MODULE
="dll"
51628 DLLIMP_SUFFIX
="dll.a"
51638 *-pc-os2_emx | *-pc-os2-emx )
51640 SO_SUFFIX_MODULE
="dll"
51641 DLLIMP_SUFFIX
=$OS2_LIBEXT
51645 LIBEXT
=".$OS2_LIBEXT"
51650 SO_SUFFIX_MODULE
="bundle"
51654 if test "x$DLLIMP_SUFFIX" = "x" ; then
51655 DLLIMP_SUFFIX
="$SO_SUFFIX"
51670 if test "x$GCC" = "xyes"; then
51674 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
51675 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
51678 case "${BAKEFILE_HOST}" in
51680 if test "x$GCC" != "xyes"; then
51681 LDFLAGS
="$LDFLAGS -L/usr/lib"
51683 SHARED_LD_CC
="${CC} -b -o"
51684 SHARED_LD_CXX
="${CXX} -b -o"
51690 if test "x$GCC" != "xyes"; then
51691 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
51692 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
51693 if test "${bakefile_cv_prog_icc+set}" = set; then
51694 echo $ECHO_N "(cached) $ECHO_C" >&6
51697 cat >conftest.
$ac_ext <<_ACEOF
51700 cat confdefs.h
>>conftest.
$ac_ext
51701 cat >>conftest.
$ac_ext <<_ACEOF
51702 /* end confdefs.h. */
51708 #ifndef __INTEL_COMPILER
51716 rm -f conftest.
$ac_objext
51717 if { (ac_try
="$ac_compile"
51718 case "(($ac_try" in
51719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51720 *) ac_try_echo=$ac_try;;
51722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51723 (eval "$ac_compile") 2>conftest.er1
51725 grep -v '^ *+' conftest.er1 >conftest.err
51727 cat conftest.err >&5
51728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51729 (exit $ac_status); } &&
51730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51731 { (case "(($ac_try" in
51732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51733 *) ac_try_echo
=$ac_try;;
51735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51736 (eval "$ac_try") 2>&5
51738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51739 (exit $ac_status); }; } &&
51740 { ac_try
='test -s conftest.$ac_objext'
51741 { (case "(($ac_try" in
51742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51743 *) ac_try_echo=$ac_try;;
51745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51746 (eval "$ac_try") 2>&5
51748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51749 (exit $ac_status); }; }; then
51750 bakefile_cv_prog_icc=yes
51752 echo "$as_me: failed program was:" >&5
51753 sed 's/^/| /' conftest.$ac_ext >&5
51755 bakefile_cv_prog_icc=no
51759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51762 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
51763 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
51764 if test "$bakefile_cv_prog_icc" = "yes"; then
51771 if test "x$GCC" != xyes ; then
51772 SHARED_LD_CC="${CC} -G -o"
51773 SHARED_LD_CXX="${CXX} -G -o"
51781 cat <<EOF >shared-ld-sh
51783 #-----------------------------------------------------------------------------
51784 #-- Name: distrib/mac/shared-ld-sh
51785 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
51786 #-- Author: Gilles Depeyrot
51787 #-- Copyright: (c) 2002 Gilles Depeyrot
51788 #-- Licence: any use permitted
51789 #-----------------------------------------------------------------------------
51794 linking_flag="-dynamiclib"
51795 ldargs="-r -keep_private_externs -nostdlib"
51797 while test ${D}# -gt 0; do
51804 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
51805 # collect these options and values
51806 args="${D}{args} ${D}1 ${D}2"
51811 # collect these load args
51812 ldargs="${D}{ldargs} ${D}1"
51815 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
51816 # collect these options
51817 args="${D}{args} ${D}1"
51820 -dynamiclib|-bundle)
51821 linking_flag="${D}1"
51825 echo "shared-ld: unhandled option '${D}1'"
51829 *.o | *.a | *.dylib)
51830 # collect object files
51831 objects="${D}{objects} ${D}1"
51835 echo "shared-ld: unhandled argument '${D}1'"
51846 # Link one module containing all the others
51848 if test ${D}{verbose} = 1; then
51849 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
51851 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
51855 # Link the shared library from the single module created, but only if the
51856 # previous command didn't fail:
51858 if test ${D}{status} = 0; then
51859 if test ${D}{verbose} = 1; then
51860 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
51862 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
51867 # Remove intermediate module
51869 rm -f master.${D}${D}.o
51874 chmod +x shared-ld-sh
51876 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
51877 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
51880 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
51881 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
51882 if test "${bakefile_cv_gcc31+set}" = set; then
51883 echo $ECHO_N "(cached) $ECHO_C" >&6
51886 cat >conftest.$ac_ext <<_ACEOF
51889 cat confdefs.h >>conftest.$ac_ext
51890 cat >>conftest.$ac_ext <<_ACEOF
51891 /* end confdefs.h. */
51897 #if (__GNUC__ < 3) || \
51898 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
51906 rm -f conftest.$ac_objext
51907 if { (ac_try="$ac_compile"
51908 case "(($ac_try" in
51909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51910 *) ac_try_echo
=$ac_try;;
51912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51913 (eval "$ac_compile") 2>conftest.er1
51915 grep -v '^ *+' conftest.er1
>conftest.err
51917 cat conftest.err
>&5
51918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51919 (exit $ac_status); } &&
51920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51921 { (case "(($ac_try" in
51922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51923 *) ac_try_echo=$ac_try;;
51925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51926 (eval "$ac_try") 2>&5
51928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51929 (exit $ac_status); }; } &&
51930 { ac_try='test -s conftest.$ac_objext'
51931 { (case "(($ac_try" in
51932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51933 *) ac_try_echo
=$ac_try;;
51935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51936 (eval "$ac_try") 2>&5
51938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51939 (exit $ac_status); }; }; then
51941 bakefile_cv_gcc31
=yes
51944 echo "$as_me: failed program was:" >&5
51945 sed 's/^/| /' conftest.
$ac_ext >&5
51948 bakefile_cv_gcc31
=no
51953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51956 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
51957 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
51958 if test "$bakefile_cv_gcc31" = "no"; then
51959 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
51960 SHARED_LD_CXX
="$SHARED_LD_CC"
51962 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
51963 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
51966 if test "x$GCC" == "xyes"; then
51967 PIC_FLAG
="-dynamic -fPIC"
51969 if test "x$XLCC" = "xyes"; then
51970 PIC_FLAG
="-dynamic -DPIC"
51975 if test "x$GCC" = "xyes"; then
51978 case "${BAKEFILE_HOST}" in
51980 LD_EXPFULL
="-Wl,-bexpfull"
51984 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
51985 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
51987 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
51988 set dummy makeC
++SharedLib
; ac_word
=$2
51989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51991 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
51992 echo $ECHO_N "(cached) $ECHO_C" >&6
51994 if test -n "$AIX_CXX_LD"; then
51995 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
51997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51998 for as_dir
in $PATH
52001 test -z "$as_dir" && as_dir
=.
52002 for ac_exec_ext
in '' $ac_executable_extensions; do
52003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52004 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
52005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52012 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
52015 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
52016 if test -n "$AIX_CXX_LD"; then
52017 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
52018 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
52020 { echo "$as_me:$LINENO: result: no" >&5
52021 echo "${ECHO_T}no" >&6; }
52025 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
52026 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
52031 SHARED_LD_CC
="${LD} -nostart -o"
52032 SHARED_LD_CXX
="${LD} -nostart -o"
52036 if test "x$GCC" != "xyes"; then
52041 *-*-cygwin* | *-*-mingw32* )
52043 SHARED_LD_CC
="\$(CC) -shared -o"
52044 SHARED_LD_CXX
="\$(CXX) -shared -o"
52048 *-pc-os2_emx | *-pc-os2-emx )
52049 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52050 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52054 cat <<EOF >dllar.sh
52057 # dllar - a tool to build both a .dll and an .a file
52058 # from a set of object (.o) files for EMX/OS2.
52060 # Written by Andrew Zabolotny, bit@freya.etu.ru
52061 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
52063 # This script will accept a set of files on the command line.
52064 # All the public symbols from the .o files will be exported into
52065 # a .DEF file, then linker will be run (through gcc) against them to
52066 # build a shared library consisting of all given .o files. All libraries
52067 # (.a) will be first decompressed into component .o files then act as
52068 # described above. You can optionally give a description (-d "description")
52069 # which will be put into .DLL. To see the list of accepted options (as well
52070 # as command-line format) simply run this program without options. The .DLL
52071 # is built to be imported by name (there is no guarantee that new versions
52072 # of the library you build will have same ordinals for same symbols).
52074 # dllar is free software; you can redistribute it and/or modify
52075 # it under the terms of the GNU General Public License as published by
52076 # the Free Software Foundation; either version 2, or (at your option)
52077 # any later version.
52079 # dllar is distributed in the hope that it will be useful,
52080 # but WITHOUT ANY WARRANTY; without even the implied warranty of
52081 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
52082 # GNU General Public License for more details.
52084 # You should have received a copy of the GNU General Public License
52085 # along with dllar; see the file COPYING. If not, write to the Free
52086 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
52089 # To successfuly run this program you will need:
52090 # - Current drive should have LFN support (HPFS, ext2, network, etc)
52091 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
52093 # (used to build the .dll)
52095 # (used to create .def file from .o files)
52097 # (used to create .a file from .def file)
52098 # - GNU text utilites (cat, sort, uniq)
52099 # used to process emxexp output
52100 # - GNU file utilities (mv, rm)
52102 # - lxlite (optional, see flag below)
52103 # (used for general .dll cleanup)
52110 # basnam, variant of basename, which does _not_ remove the path, _iff_
52111 # second argument (suffix to remove) is given
52115 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
52118 echo ${D}1 | sed 's/'${D}2'${D}//'
52121 echo "error in basnam ${D}*"
52127 # Cleanup temporary files and output
52130 for i in ${D}inputFiles ; do
52133 rm -rf \`basnam ${D}i !\`
52140 # Kill result in case of failure as there is just to many stupid make/nmake
52141 # things out there which doesn't do this.
52142 if [ ${D}# -eq 0 ]; then
52143 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
52147 # Print usage and exit script with rc=1.
52149 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
52150 echo ' [-name-mangler-script script.sh]'
52151 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
52152 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
52153 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
52154 echo ' [*.o] [*.a]'
52155 echo '*> "output_file" should have no extension.'
52156 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
52157 echo ' The import library name is derived from this and is set to "name".a,'
52158 echo ' unless overridden by -import'
52159 echo '*> "importlib_name" should have no extension.'
52160 echo ' If it has the .o, or .a extension, it is automatically removed.'
52161 echo ' This name is used as the import library name and may be longer and'
52162 echo ' more descriptive than the DLL name which has to follow the old '
52163 echo ' 8.3 convention of FAT.'
52164 echo '*> "script.sh may be given to override the output_file name by a'
52165 echo ' different name. It is mainly useful if the regular make process'
52166 echo ' of some package does not take into account OS/2 restriction of'
52167 echo ' DLL name lengths. It takes the importlib name as input and is'
52168 echo ' supposed to procude a shorter name as output. The script should'
52169 echo ' expect to get importlib_name without extension and should produce'
52170 echo ' a (max.) 8 letter name without extension.'
52171 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
52172 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
52173 echo ' These flags will be put at the start of GCC command line.'
52174 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
52175 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
52176 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
52177 echo ' If the last character of a symbol is "*", all symbols beginning'
52178 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
52179 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
52180 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
52181 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
52182 echo ' C runtime DLLs.'
52183 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
52184 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
52185 echo ' unchanged to GCC at the end of command line.'
52186 echo '*> If you create a DLL from a library and you do not specify -o,'
52187 echo ' the basename for DLL and import library will be set to library name,'
52188 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
52189 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
52190 echo ' library will be renamed into gcc_s.a.'
52193 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
52194 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
52199 # Execute a command.
52200 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
52201 # @Uses Whatever CleanUp() uses.
52207 if [ ${D}rcCmd -ne 0 ]; then
52208 echo "command failed, exit code="${D}rcCmd
52223 CFLAGS="-s -Zcrtdll"
52225 EXPORT_BY_ORDINALS=0
52230 case ${D}curDirS in
52234 curDirS=${D}{curDirS}"/"
52237 # Parse commandline
52240 while [ ${D}1 ]; do
52243 EXPORT_BY_ORDINALS=1;
52253 -name-mangler-script)
52274 exclude_symbols=${D}{exclude_symbols}${D}1" "
52278 library_flags=${D}{library_flags}${D}1" "
52297 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
52300 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
52301 if [ ${D}omfLinking -eq 1 ]; then
52302 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
52304 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
52309 if [ ${D}libsToLink -ne 0 ]; then
52310 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
52312 for file in ${D}1 ; do
52313 if [ -f ${D}file ]; then
52314 inputFiles="${D}{inputFiles} ${D}file"
52318 if [ ${D}found -eq 0 ]; then
52319 echo "ERROR: No file(s) found: "${D}1
52326 done # iterate cmdline words
52329 if [ -z "${D}inputFiles" ]; then
52330 echo "dllar: no input files"
52334 # Now extract all .o files from .a files
52336 for file in ${D}inputFiles ; do
52347 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
52352 dirname=\`basnam ${D}file ${D}suffix\`"_%"
52354 if [ ${D}? -ne 0 ]; then
52355 echo "Failed to create subdirectory ./${D}dirname"
52359 # Append '!' to indicate archive
52360 newInputFiles="${D}newInputFiles ${D}{dirname}!"
52361 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
52364 for subfile in ${D}dirname/*.o* ; do
52365 if [ -f ${D}subfile ]; then
52367 if [ -s ${D}subfile ]; then
52368 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
52369 newInputFiles="${D}newInputFiles ${D}subfile"
52373 if [ ${D}found -eq 0 ]; then
52374 echo "WARNING: there are no files in archive \\'${D}file\\'"
52378 newInputFiles="${D}{newInputFiles} ${D}file"
52382 inputFiles="${D}newInputFiles"
52384 # Output filename(s).
52386 if [ -z ${D}outFile ]; then
52388 set outFile ${D}inputFiles; outFile=${D}2
52391 # If it is an archive, remove the '!' and the '_%' suffixes
52392 case ${D}outFile in
52394 outFile=\`basnam ${D}outFile _%!\`
52399 case ${D}outFile in
52401 outFile=\`basnam ${D}outFile .dll\`
52404 outFile=\`basnam ${D}outFile .DLL\`
52407 outFile=\`basnam ${D}outFile .o\`
52410 outFile=\`basnam ${D}outFile .obj\`
52413 outFile=\`basnam ${D}outFile .a\`
52416 outFile=\`basnam ${D}outFile .lib\`
52421 case ${D}outimpFile in
52423 outimpFile=\`basnam ${D}outimpFile .a\`
52426 outimpFile=\`basnam ${D}outimpFile .lib\`
52431 if [ -z ${D}outimpFile ]; then
52432 outimpFile=${D}outFile
52434 defFile="${D}{outFile}.def"
52435 arcFile="${D}{outimpFile}.a"
52436 arcFile2="${D}{outimpFile}.lib"
52438 #create ${D}dllFile as something matching 8.3 restrictions,
52439 if [ -z ${D}renameScript ] ; then
52440 dllFile="${D}outFile"
52442 dllFile=\`${D}renameScript ${D}outimpFile\`
52445 if [ ${D}do_backup -ne 0 ] ; then
52446 if [ -f ${D}arcFile ] ; then
52447 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
52449 if [ -f ${D}arcFile2 ] ; then
52450 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
52454 # Extract public symbols from all the object files.
52455 tmpdefFile=${D}{defFile}_%
52456 rm -f ${D}tmpdefFile
52457 for file in ${D}inputFiles ; do
52462 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
52467 # Create the def file.
52469 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
52470 dllFile="${D}{dllFile}.dll"
52471 if [ ! -z ${D}description ]; then
52472 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
52474 echo "EXPORTS" >> ${D}defFile
52476 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
52477 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
52479 # Checks if the export is ok or not.
52480 for word in ${D}exclude_symbols; do
52481 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
52482 mv ${D}{tmpdefFile}% ${D}tmpdefFile
52486 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
52487 sed "=" < ${D}tmpdefFile | \\
52491 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
52493 ' > ${D}{tmpdefFile}%
52494 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
52496 rm -f ${D}{tmpdefFile}%
52498 cat ${D}tmpdefFile >> ${D}defFile
52499 rm -f ${D}tmpdefFile
52501 # Do linking, create implib, and apply lxlite.
52503 for file in ${D}inputFiles ; do
52508 gccCmdl="${D}gccCmdl ${D}file"
52512 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
52513 touch "${D}{outFile}.dll"
52515 doCommand "emximp -o ${D}arcFile ${D}defFile"
52516 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
52518 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
52521 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
52523 doCommand "emxomf -s -l ${D}arcFile"
52533 powerpc
-apple-macos* | \
52534 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
52544 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
52545 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
52546 { (exit 1); exit 1; }; }
52549 if test "x$PIC_FLAG" != "x" ; then
52550 PIC_FLAG
="$PIC_FLAG -DPIC"
52553 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
52554 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
52556 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
52557 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
52576 case "${BAKEFILE_HOST}" in
52577 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
52578 SONAME_FLAG
="-Wl,-soname,"
52612 # Check whether --enable-dependency-tracking was given.
52613 if test "${enable_dependency_tracking+set}" = set; then
52614 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
52618 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
52619 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
52622 if test "x$bk_use_trackdeps" = "xno" ; then
52624 { echo "$as_me:$LINENO: result: disabled" >&5
52625 echo "${ECHO_T}disabled" >&6; }
52629 if test "x$GCC" = "xyes"; then
52631 case "${BAKEFILE_HOST}" in
52633 DEPSFLAG
="-no-cpp-precomp -MMD"
52639 { echo "$as_me:$LINENO: result: gcc" >&5
52640 echo "${ECHO_T}gcc" >&6; }
52641 elif test "x$MWCC" = "xyes"; then
52644 { echo "$as_me:$LINENO: result: mwcc" >&5
52645 echo "${ECHO_T}mwcc" >&6; }
52646 elif test "x$SUNCC" = "xyes"; then
52649 { echo "$as_me:$LINENO: result: Sun cc" >&5
52650 echo "${ECHO_T}Sun cc" >&6; }
52651 elif test "x$SGICC" = "xyes"; then
52654 { echo "$as_me:$LINENO: result: SGI cc" >&5
52655 echo "${ECHO_T}SGI cc" >&6; }
52656 elif test "x$HPCC" = "xyes"; then
52659 { echo "$as_me:$LINENO: result: HP cc" >&5
52660 echo "${ECHO_T}HP cc" >&6; }
52661 elif test "x$COMPAQCC" = "xyes"; then
52664 { echo "$as_me:$LINENO: result: Compaq cc" >&5
52665 echo "${ECHO_T}Compaq cc" >&6; }
52668 { echo "$as_me:$LINENO: result: none" >&5
52669 echo "${ECHO_T}none" >&6; }
52672 if test $DEPS_TRACKING = 1 ; then
52678 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
52679 # script. It is used to track C/C++ files dependencies in portable way.
52681 # Permission is given to use this file in any way.
52683 DEPSMODE=${DEPSMODE}
52685 DEPSFLAG="${DEPSFLAG}"
52687 mkdir -p ${D}DEPSDIR
52689 if test ${D}DEPSMODE = gcc ; then
52690 ${D}* ${D}{DEPSFLAG}
52692 if test ${D}{status} != 0 ; then
52695 # move created file to the location we want it in:
52696 while test ${D}# -gt 0; do
52710 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
52711 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
52712 if test -f ${D}depfile ; then
52713 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
52716 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
52717 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
52718 if test ! -f ${D}depfile ; then
52719 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
52720 depfile="${D}objfile.d"
52722 if test -f ${D}depfile ; then
52723 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
52728 elif test ${D}DEPSMODE = mwcc ; then
52729 ${D}* || exit ${D}?
52730 # Run mwcc again with -MM and redirect into the dep file we want
52731 # NOTE: We can't use shift here because we need ${D}* to be valid
52733 for arg in ${D}* ; do
52734 if test "${D}prevarg" = "-o"; then
52747 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
52749 elif test ${D}DEPSMODE = unixcc; then
52750 ${D}* || exit ${D}?
52751 # Run compiler again with deps flag and redirect into the dep file.
52752 # It doesn't work if the '-o FILE' option is used, but without it the
52753 # dependency file will contain the wrong name for the object. So it is
52754 # removed from the command line, and the dep file is fixed with sed.
52756 while test ${D}# -gt 0; do
52763 eval arg${D}#=\\${D}1
52764 cmd="${D}cmd \\${D}arg${D}#"
52769 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
52778 BK_DEPS
="`pwd`/bk-deps"
52786 case ${BAKEFILE_HOST} in
52787 *-*-cygwin* | *-*-mingw32* )
52788 if test -n "$ac_tool_prefix"; then
52789 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
52790 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
52791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52793 if test "${ac_cv_prog_WINDRES+set}" = set; then
52794 echo $ECHO_N "(cached) $ECHO_C" >&6
52796 if test -n "$WINDRES"; then
52797 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
52799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52800 for as_dir
in $PATH
52803 test -z "$as_dir" && as_dir
=.
52804 for ac_exec_ext
in '' $ac_executable_extensions; do
52805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52806 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
52807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52816 WINDRES
=$ac_cv_prog_WINDRES
52817 if test -n "$WINDRES"; then
52818 { echo "$as_me:$LINENO: result: $WINDRES" >&5
52819 echo "${ECHO_T}$WINDRES" >&6; }
52821 { echo "$as_me:$LINENO: result: no" >&5
52822 echo "${ECHO_T}no" >&6; }
52827 if test -z "$ac_cv_prog_WINDRES"; then
52828 ac_ct_WINDRES
=$WINDRES
52829 # Extract the first word of "windres", so it can be a program name with args.
52830 set dummy windres
; ac_word
=$2
52831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52833 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
52834 echo $ECHO_N "(cached) $ECHO_C" >&6
52836 if test -n "$ac_ct_WINDRES"; then
52837 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
52839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52840 for as_dir
in $PATH
52843 test -z "$as_dir" && as_dir
=.
52844 for ac_exec_ext
in '' $ac_executable_extensions; do
52845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52846 ac_cv_prog_ac_ct_WINDRES
="windres"
52847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52856 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
52857 if test -n "$ac_ct_WINDRES"; then
52858 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
52859 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
52861 { echo "$as_me:$LINENO: result: no" >&5
52862 echo "${ECHO_T}no" >&6; }
52865 if test "x$ac_ct_WINDRES" = x
; then
52868 case $cross_compiling:$ac_tool_warned in
52870 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52871 whose name does not start with the host triplet. If you think this
52872 configuration is useful to you, please write to autoconf@gnu.org." >&5
52873 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52874 whose name does not start with the host triplet. If you think this
52875 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52876 ac_tool_warned
=yes ;;
52878 WINDRES
=$ac_ct_WINDRES
52881 WINDRES
="$ac_cv_prog_WINDRES"
52886 *-*-darwin* | powerpc
-apple-macos* )
52887 # Extract the first word of "Rez", so it can be a program name with args.
52888 set dummy Rez
; ac_word
=$2
52889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52891 if test "${ac_cv_prog_REZ+set}" = set; then
52892 echo $ECHO_N "(cached) $ECHO_C" >&6
52894 if test -n "$REZ"; then
52895 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
52897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52898 for as_dir
in $PATH
52901 test -z "$as_dir" && as_dir
=.
52902 for ac_exec_ext
in '' $ac_executable_extensions; do
52903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52904 ac_cv_prog_REZ
="Rez"
52905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52912 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
52915 REZ
=$ac_cv_prog_REZ
52916 if test -n "$REZ"; then
52917 { echo "$as_me:$LINENO: result: $REZ" >&5
52918 echo "${ECHO_T}$REZ" >&6; }
52920 { echo "$as_me:$LINENO: result: no" >&5
52921 echo "${ECHO_T}no" >&6; }
52925 # Extract the first word of "SetFile", so it can be a program name with args.
52926 set dummy SetFile
; ac_word
=$2
52927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52929 if test "${ac_cv_prog_SETFILE+set}" = set; then
52930 echo $ECHO_N "(cached) $ECHO_C" >&6
52932 if test -n "$SETFILE"; then
52933 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
52935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52936 for as_dir
in $PATH
52939 test -z "$as_dir" && as_dir
=.
52940 for ac_exec_ext
in '' $ac_executable_extensions; do
52941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52942 ac_cv_prog_SETFILE
="SetFile"
52943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52950 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
52953 SETFILE
=$ac_cv_prog_SETFILE
52954 if test -n "$SETFILE"; then
52955 { echo "$as_me:$LINENO: result: $SETFILE" >&5
52956 echo "${ECHO_T}$SETFILE" >&6; }
52958 { echo "$as_me:$LINENO: result: no" >&5
52959 echo "${ECHO_T}no" >&6; }
52971 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
52974 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
52978 # Check whether --enable-precomp-headers was given.
52979 if test "${enable_precomp_headers+set}" = set; then
52980 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
52989 case ${BAKEFILE_HOST} in
52995 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
52996 if test "x$GCC" = "xyes"; then
52997 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
52998 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
52999 cat >conftest.
$ac_ext <<_ACEOF
53002 cat confdefs.h
>>conftest.
$ac_ext
53003 cat >>conftest.
$ac_ext <<_ACEOF
53004 /* end confdefs.h. */
53010 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
53011 There is no PCH support
53014 There is no PCH support
53016 #if (__GNUC__ == 3) && \
53017 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
53018 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
53019 ( defined(__INTEL_COMPILER) )
53020 There is no PCH support
53027 rm -f conftest.
$ac_objext
53028 if { (ac_try
="$ac_compile"
53029 case "(($ac_try" in
53030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
53031 *) ac_try_echo=$ac_try;;
53033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53034 (eval "$ac_compile") 2>conftest.er1
53036 grep -v '^ *+' conftest.er1 >conftest.err
53038 cat conftest.err >&5
53039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53040 (exit $ac_status); } &&
53041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53042 { (case "(($ac_try" in
53043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
53044 *) ac_try_echo
=$ac_try;;
53046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53047 (eval "$ac_try") 2>&5
53049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53050 (exit $ac_status); }; } &&
53051 { ac_try
='test -s conftest.$ac_objext'
53052 { (case "(($ac_try" in
53053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
53054 *) ac_try_echo=$ac_try;;
53056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53057 (eval "$ac_try") 2>&5
53059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53060 (exit $ac_status); }; }; then
53062 { echo "$as_me:$LINENO: result: yes" >&5
53063 echo "${ECHO_T}yes" >&6; }
53067 echo "$as_me: failed program was:" >&5
53068 sed 's/^/| /' conftest.$ac_ext >&5
53071 cat >conftest.$ac_ext <<_ACEOF
53074 cat confdefs.h >>conftest.$ac_ext
53075 cat >>conftest.$ac_ext <<_ACEOF
53076 /* end confdefs.h. */
53082 #if !defined(__INTEL_COMPILER) || \
53083 (__INTEL_COMPILER < 800)
53084 There is no PCH support
53091 rm -f conftest.$ac_objext
53092 if { (ac_try="$ac_compile"
53093 case "(($ac_try" in
53094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
53095 *) ac_try_echo
=$ac_try;;
53097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53098 (eval "$ac_compile") 2>conftest.er1
53100 grep -v '^ *+' conftest.er1
>conftest.err
53102 cat conftest.err
>&5
53103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53104 (exit $ac_status); } &&
53105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53106 { (case "(($ac_try" in
53107 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
53108 *) ac_try_echo=$ac_try;;
53110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53111 (eval "$ac_try") 2>&5
53113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53114 (exit $ac_status); }; } &&
53115 { ac_try='test -s conftest.$ac_objext'
53116 { (case "(($ac_try" in
53117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
53118 *) ac_try_echo
=$ac_try;;
53120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53121 (eval "$ac_try") 2>&5
53123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53124 (exit $ac_status); }; }; then
53126 { echo "$as_me:$LINENO: result: yes" >&5
53127 echo "${ECHO_T}yes" >&6; }
53131 echo "$as_me: failed program was:" >&5
53132 sed 's/^/| /' conftest.
$ac_ext >&5
53135 { echo "$as_me:$LINENO: result: no" >&5
53136 echo "${ECHO_T}no" >&6; }
53140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53145 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
53149 cat <<EOF >bk-make-pch
53152 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
53153 # script. It is used to generated precompiled headers.
53155 # Permission is given to use this file in any way.
53165 while test ${D}{#} -gt 0; do
53169 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
53170 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
53171 headerfile="${D}{incdir}/${D}{header}"
53174 -use-pch|-use_pch )
53179 if test ${D}add_to_cmdline = 1 ; then
53180 compiler="${D}{compiler} ${D}{1}"
53185 if test "x${D}{headerfile}" = "x" ; then
53186 echo "error: can't find header ${D}{header} in include paths" >&2
53188 if test -f ${D}{outfile} ; then
53189 rm -f ${D}{outfile}
53191 mkdir -p \`dirname ${D}{outfile}\`
53193 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
53195 if test "x${GCC_PCH}" = "x1" ; then
53196 # can do this because gcc is >= 3.4:
53197 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
53198 elif test "x${ICC_PCH}" = "x1" ; then
53199 filename=pch_gen-${D}${D}
53200 file=${D}{filename}.c
53201 dfile=${D}{filename}.d
53202 cat > ${D}file <<EOT
53203 #include "${D}header"
53205 # using -MF icc complains about differing command lines in creation/use
53206 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
53207 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
53208 rm -f ${D}file ${D}dfile ${D}{filename}.o
53214 chmod +x bk
-make-pch
53215 BK_MAKE_PCH
="`pwd`/bk-make-pch"
53224 COND_BUILD_DEBUG
="#"
53225 if test "x$BUILD" = "xdebug" ; then
53226 COND_BUILD_DEBUG
=""
53229 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
53230 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
53231 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
53234 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
53235 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
53236 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
53239 COND_BUILD_DEBUG_UNICODE_0
="#"
53240 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
53241 COND_BUILD_DEBUG_UNICODE_0
=""
53244 COND_BUILD_DEBUG_UNICODE_1
="#"
53245 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
53246 COND_BUILD_DEBUG_UNICODE_1
=""
53249 COND_BUILD_RELEASE
="#"
53250 if test "x$BUILD" = "xrelease" ; then
53251 COND_BUILD_RELEASE
=""
53254 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
53255 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
53256 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
53259 COND_BUILD_RELEASE_UNICODE_0
="#"
53260 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
53261 COND_BUILD_RELEASE_UNICODE_0
=""
53264 COND_BUILD_RELEASE_UNICODE_1
="#"
53265 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
53266 COND_BUILD_RELEASE_UNICODE_1
=""
53269 COND_DEBUG_FLAG_1
="#"
53270 if test "x$DEBUG_FLAG" = "x1" ; then
53271 COND_DEBUG_FLAG_1
=""
53274 COND_DEBUG_INFO_0
="#"
53275 if test "x$DEBUG_INFO" = "x0" ; then
53276 COND_DEBUG_INFO_0
=""
53279 COND_DEBUG_INFO_1
="#"
53280 if test "x$DEBUG_INFO" = "x1" ; then
53281 COND_DEBUG_INFO_1
=""
53284 COND_DEPS_TRACKING_0
="#"
53285 if test "x$DEPS_TRACKING" = "x0" ; then
53286 COND_DEPS_TRACKING_0
=""
53289 COND_DEPS_TRACKING_1
="#"
53290 if test "x$DEPS_TRACKING" = "x1" ; then
53291 COND_DEPS_TRACKING_1
=""
53295 if test "x$GCC_PCH" = "x1" ; then
53300 if test "x$ICC_PCH" = "x1" ; then
53304 COND_MONOLITHIC_0
="#"
53305 if test "x$MONOLITHIC" = "x0" ; then
53306 COND_MONOLITHIC_0
=""
53309 COND_MONOLITHIC_0_SHARED_0
="#"
53310 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
53311 COND_MONOLITHIC_0_SHARED_0
=""
53314 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
53315 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
53316 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
53319 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
53320 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
53321 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
53324 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
53325 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
53326 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
53329 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
53330 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53331 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
53334 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
53335 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
53339 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
53340 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
53341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
53344 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
53345 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
53346 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
53349 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
53350 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
53351 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
53354 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
53355 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
53356 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
53359 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
53360 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
53361 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
53364 COND_MONOLITHIC_0_SHARED_1
="#"
53365 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
53366 COND_MONOLITHIC_0_SHARED_1
=""
53369 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
53370 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
53371 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
53374 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
53375 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
53376 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
53379 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
53380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
53381 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
53384 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
53385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53386 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
53389 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
53390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53391 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
53394 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
53395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
53396 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
53399 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
53400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
53401 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
53404 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
53405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
53406 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
53409 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
53410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
53411 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
53414 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
53415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
53416 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
53419 COND_MONOLITHIC_0_USE_AUI_1
="#"
53420 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
53421 COND_MONOLITHIC_0_USE_AUI_1
=""
53424 COND_MONOLITHIC_0_USE_GUI_1
="#"
53425 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
53426 COND_MONOLITHIC_0_USE_GUI_1
=""
53429 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
53430 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53431 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
53434 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
53435 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53436 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
53439 COND_MONOLITHIC_0_USE_HTML_1
="#"
53440 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
53441 COND_MONOLITHIC_0_USE_HTML_1
=""
53444 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
53445 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
53446 COND_MONOLITHIC_0_USE_MEDIA_1
=""
53449 COND_MONOLITHIC_0_USE_ODBC_1
="#"
53450 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
53451 COND_MONOLITHIC_0_USE_ODBC_1
=""
53454 COND_MONOLITHIC_0_USE_QA_1
="#"
53455 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
53456 COND_MONOLITHIC_0_USE_QA_1
=""
53459 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
53460 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
53461 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
53464 COND_MONOLITHIC_0_USE_STC_1
="#"
53465 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
53466 COND_MONOLITHIC_0_USE_STC_1
=""
53469 COND_MONOLITHIC_0_USE_XRC_1
="#"
53470 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
53471 COND_MONOLITHIC_0_USE_XRC_1
=""
53474 COND_MONOLITHIC_1
="#"
53475 if test "x$MONOLITHIC" = "x1" ; then
53476 COND_MONOLITHIC_1
=""
53479 COND_MONOLITHIC_1_SHARED_0
="#"
53480 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
53481 COND_MONOLITHIC_1_SHARED_0
=""
53484 COND_MONOLITHIC_1_SHARED_1
="#"
53485 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
53486 COND_MONOLITHIC_1_SHARED_1
=""
53489 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
53490 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
53491 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
53494 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
53495 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
53496 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
53499 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
53500 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
53501 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
53504 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
53505 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
53506 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
53509 COND_PLATFORM_MACOSX_1
="#"
53510 if test "x$PLATFORM_MACOSX" = "x1" ; then
53511 COND_PLATFORM_MACOSX_1
=""
53514 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
53515 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
53516 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
53519 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
53520 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
53521 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
53524 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
53525 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
53526 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
53529 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
53530 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
53531 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
53534 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
53535 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
53536 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
53539 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
53540 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
53541 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
53544 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
53545 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
53546 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
53549 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
53550 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
53551 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
53554 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
53555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53556 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
53559 COND_PLATFORM_MACOS_1
="#"
53560 if test "x$PLATFORM_MACOS" = "x1" ; then
53561 COND_PLATFORM_MACOS_1
=""
53564 COND_PLATFORM_MAC_1
="#"
53565 if test "x$PLATFORM_MAC" = "x1" ; then
53566 COND_PLATFORM_MAC_1
=""
53569 COND_PLATFORM_MSDOS_0
="#"
53570 if test "x$PLATFORM_MSDOS" = "x0" ; then
53571 COND_PLATFORM_MSDOS_0
=""
53574 COND_PLATFORM_MSDOS_1
="#"
53575 if test "x$PLATFORM_MSDOS" = "x1" ; then
53576 COND_PLATFORM_MSDOS_1
=""
53579 COND_PLATFORM_OS2_1
="#"
53580 if test "x$PLATFORM_OS2" = "x1" ; then
53581 COND_PLATFORM_OS2_1
=""
53584 COND_PLATFORM_UNIX_0
="#"
53585 if test "x$PLATFORM_UNIX" = "x0" ; then
53586 COND_PLATFORM_UNIX_0
=""
53589 COND_PLATFORM_UNIX_1
="#"
53590 if test "x$PLATFORM_UNIX" = "x1" ; then
53591 COND_PLATFORM_UNIX_1
=""
53594 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
53595 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
53596 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
53599 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
53600 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
53601 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
53604 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
53605 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
53606 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
53609 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
53610 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
53611 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
53614 COND_PLATFORM_WIN32_0
="#"
53615 if test "x$PLATFORM_WIN32" = "x0" ; then
53616 COND_PLATFORM_WIN32_0
=""
53619 COND_PLATFORM_WIN32_1
="#"
53620 if test "x$PLATFORM_WIN32" = "x1" ; then
53621 COND_PLATFORM_WIN32_1
=""
53625 if test "x$SHARED" = "x0" ; then
53629 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
53630 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
53631 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
53634 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
53635 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
53636 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
53639 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
53640 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
53641 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
53644 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
53645 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
53646 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
53649 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
53650 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53651 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
53654 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
53655 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53656 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
53659 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
53660 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53661 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
53664 COND_SHARED_0_USE_XRC_1
="#"
53665 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
53666 COND_SHARED_0_USE_XRC_1
=""
53669 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
53670 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
53671 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
53674 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
53675 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
53676 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
53679 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
53680 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
53681 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
53684 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
53685 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
53686 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
53690 if test "x$SHARED" = "x1" ; then
53694 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
53695 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
53696 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
53699 COND_SHARED_1_USE_XRC_1
="#"
53700 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
53701 COND_SHARED_1_USE_XRC_1
=""
53705 if test "x$TOOLKIT" = "x" ; then
53709 COND_TOOLKIT_COCOA
="#"
53710 if test "x$TOOLKIT" = "xCOCOA" ; then
53711 COND_TOOLKIT_COCOA
=""
53714 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
53715 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
53716 COND_TOOLKIT_COCOA_USE_GUI_1
=""
53719 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
53720 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53721 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
53724 COND_TOOLKIT_DFB
="#"
53725 if test "x$TOOLKIT" = "xDFB" ; then
53726 COND_TOOLKIT_DFB
=""
53729 COND_TOOLKIT_DFB_USE_GUI_1
="#"
53730 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
53731 COND_TOOLKIT_DFB_USE_GUI_1
=""
53734 COND_TOOLKIT_GTK
="#"
53735 if test "x$TOOLKIT" = "xGTK" ; then
53736 COND_TOOLKIT_GTK
=""
53739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
53740 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
53741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
53744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
53745 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
53746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
53749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
53750 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
53751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
53754 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
53755 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53756 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
53759 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
53760 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
53761 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
53764 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
53765 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53766 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
53769 COND_TOOLKIT_GTK_USE_GUI_1
="#"
53770 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
53771 COND_TOOLKIT_GTK_USE_GUI_1
=""
53774 COND_TOOLKIT_MAC
="#"
53775 if test "x$TOOLKIT" = "xMAC" ; then
53776 COND_TOOLKIT_MAC
=""
53779 COND_TOOLKIT_MAC_USE_GUI_1
="#"
53780 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
53781 COND_TOOLKIT_MAC_USE_GUI_1
=""
53784 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
53785 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53786 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
53789 COND_TOOLKIT_MGL
="#"
53790 if test "x$TOOLKIT" = "xMGL" ; then
53791 COND_TOOLKIT_MGL
=""
53794 COND_TOOLKIT_MGL_USE_GUI_1
="#"
53795 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
53796 COND_TOOLKIT_MGL_USE_GUI_1
=""
53799 COND_TOOLKIT_MOTIF
="#"
53800 if test "x$TOOLKIT" = "xMOTIF" ; then
53801 COND_TOOLKIT_MOTIF
=""
53804 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
53805 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
53806 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
53809 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
53810 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53811 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
53814 COND_TOOLKIT_MSW
="#"
53815 if test "x$TOOLKIT" = "xMSW" ; then
53816 COND_TOOLKIT_MSW
=""
53819 COND_TOOLKIT_MSW_USE_GUI_1
="#"
53820 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
53821 COND_TOOLKIT_MSW_USE_GUI_1
=""
53824 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
53825 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53826 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
53829 COND_TOOLKIT_MSW_WXUNIV_0
="#"
53830 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
53831 COND_TOOLKIT_MSW_WXUNIV_0
=""
53834 COND_TOOLKIT_PM
="#"
53835 if test "x$TOOLKIT" = "xPM" ; then
53839 COND_TOOLKIT_PM_USE_GUI_1
="#"
53840 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
53841 COND_TOOLKIT_PM_USE_GUI_1
=""
53844 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
53845 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53846 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
53849 COND_TOOLKIT_WINCE
="#"
53850 if test "x$TOOLKIT" = "xWINCE" ; then
53851 COND_TOOLKIT_WINCE
=""
53854 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
53855 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
53856 COND_TOOLKIT_WINCE_USE_GUI_1
=""
53859 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
53860 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53861 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
53864 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
53865 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
53866 COND_TOOLKIT_WINCE_WXUNIV_0
=""
53869 COND_TOOLKIT_X11
="#"
53870 if test "x$TOOLKIT" = "xX11" ; then
53871 COND_TOOLKIT_X11
=""
53874 COND_TOOLKIT_X11_USE_GUI_1
="#"
53875 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
53876 COND_TOOLKIT_X11_USE_GUI_1
=""
53880 if test "x$UNICODE" = "x1" ; then
53884 COND_USE_EXCEPTIONS_0
="#"
53885 if test "x$USE_EXCEPTIONS" = "x0" ; then
53886 COND_USE_EXCEPTIONS_0
=""
53889 COND_USE_EXCEPTIONS_1
="#"
53890 if test "x$USE_EXCEPTIONS" = "x1" ; then
53891 COND_USE_EXCEPTIONS_1
=""
53895 if test "x$USE_GUI" = "x0" ; then
53900 if test "x$USE_GUI" = "x1" ; then
53904 COND_USE_GUI_1_WXUNIV_0
="#"
53905 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53906 COND_USE_GUI_1_WXUNIV_0
=""
53909 COND_USE_GUI_1_WXUNIV_1
="#"
53910 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
53911 COND_USE_GUI_1_WXUNIV_1
=""
53914 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
53915 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53916 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
53919 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
53920 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53921 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
53924 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
53925 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53926 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
53929 COND_USE_ODBC_1
="#"
53930 if test "x$USE_ODBC" = "x1" ; then
53934 COND_USE_OPENGL_1
="#"
53935 if test "x$USE_OPENGL" = "x1" ; then
53936 COND_USE_OPENGL_1
=""
53940 if test "x$USE_PCH" = "x1" ; then
53944 COND_USE_PLUGINS_0
="#"
53945 if test "x$USE_PLUGINS" = "x0" ; then
53946 COND_USE_PLUGINS_0
=""
53949 COND_USE_RTTI_0
="#"
53950 if test "x$USE_RTTI" = "x0" ; then
53954 COND_USE_RTTI_1
="#"
53955 if test "x$USE_RTTI" = "x1" ; then
53959 COND_USE_SOSYMLINKS_1
="#"
53960 if test "x$USE_SOSYMLINKS" = "x1" ; then
53961 COND_USE_SOSYMLINKS_1
=""
53964 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
53965 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53966 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
53969 COND_USE_SOVERLINUX_1
="#"
53970 if test "x$USE_SOVERLINUX" = "x1" ; then
53971 COND_USE_SOVERLINUX_1
=""
53974 COND_USE_SOVERSION_0
="#"
53975 if test "x$USE_SOVERSION" = "x0" ; then
53976 COND_USE_SOVERSION_0
=""
53979 COND_USE_SOVERSOLARIS_1
="#"
53980 if test "x$USE_SOVERSOLARIS" = "x1" ; then
53981 COND_USE_SOVERSOLARIS_1
=""
53984 COND_USE_THREADS_0
="#"
53985 if test "x$USE_THREADS" = "x0" ; then
53986 COND_USE_THREADS_0
=""
53989 COND_USE_THREADS_1
="#"
53990 if test "x$USE_THREADS" = "x1" ; then
53991 COND_USE_THREADS_1
=""
53995 if test "x$USE_XRC" = "x1" ; then
53999 COND_WINDOWS_IMPLIB_1
="#"
54000 if test "x$WINDOWS_IMPLIB" = "x1" ; then
54001 COND_WINDOWS_IMPLIB_1
=""
54004 COND_WITH_PLUGIN_SDL_1
="#"
54005 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
54006 COND_WITH_PLUGIN_SDL_1
=""
54010 if test "x$WXUNIV" = "x0" ; then
54015 if test "x$WXUNIV" = "x1" ; then
54019 COND_WXUSE_EXPAT_BUILTIN
="#"
54020 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
54021 COND_WXUSE_EXPAT_BUILTIN
=""
54024 COND_WXUSE_LIBJPEG_BUILTIN
="#"
54025 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54026 COND_WXUSE_LIBJPEG_BUILTIN
=""
54029 COND_WXUSE_LIBPNG_BUILTIN
="#"
54030 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54031 COND_WXUSE_LIBPNG_BUILTIN
=""
54034 COND_WXUSE_LIBTIFF_BUILTIN
="#"
54035 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54036 COND_WXUSE_LIBTIFF_BUILTIN
=""
54039 COND_WXUSE_ODBC_BUILTIN
="#"
54040 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
54041 COND_WXUSE_ODBC_BUILTIN
=""
54044 COND_WXUSE_REGEX_BUILTIN
="#"
54045 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
54046 COND_WXUSE_REGEX_BUILTIN
=""
54049 COND_WXUSE_ZLIB_BUILTIN
="#"
54050 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
54051 COND_WXUSE_ZLIB_BUILTIN
=""
54056 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
54057 { { 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
54058 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;}
54059 { (exit 1); exit 1; }; }
54062 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
54063 { { 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
54064 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;}
54065 { (exit 1); exit 1; }; }
54069 if test $GCC_PCH = 1
54071 if test "$wx_cv_gcc_pch_bug" = yes; then
54072 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
54073 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
54074 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
54075 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
54076 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
54077 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
54080 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
54084 if test "$wxUSE_MAC" = 1 ; then
54085 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
54086 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
54092 if test "$wxUSE_SHARED" = "yes"; then
54094 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
54095 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
54098 *-pc-os2_emx | *-pc-os2-emx )
54099 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
54100 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
54101 cp -p ${srcdir}/src
/os
2/dllnames.sh .
54102 cp -p ${srcdir}/src
/os
2/dllar.sh .
54107 EXE_LINKER
="$CXX -o"
54110 if test "$wxUSE_OMF" = "yes"; then
54112 *-pc-os2_emx | *-pc-os2-emx )
54113 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
54114 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
54115 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
54120 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
54122 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
54184 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
54185 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
54186 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
54187 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
54188 echo $ECHO_N "(cached) $ECHO_C" >&6
54190 cat >conftest.
make <<\_ACEOF
54193 @
echo '@@@%%%=$(MAKE)=@@@%%%'
54195 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
54196 case `${MAKE-make} -f conftest.make 2>/dev/null` in
54197 *@@@
%%%=?
*=@@@
%%%*)
54198 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
54200 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
54202 rm -f conftest.
make
54204 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
54205 { echo "$as_me:$LINENO: result: yes" >&5
54206 echo "${ECHO_T}yes" >&6; }
54209 { echo "$as_me:$LINENO: result: no" >&5
54210 echo "${ECHO_T}no" >&6; }
54211 SET_MAKE
="MAKE=${MAKE-make}"
54216 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
54219 if test "$USE_WIN32" = 1; then
54220 ac_config_commands
="$ac_config_commands
54226 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
54229 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
54232 if test "$wx_cv_version_script" = "yes"; then
54233 ac_config_files
="$ac_config_files version-script"
54236 ac_config_files
="$ac_config_files Makefile"
54239 ac_config_commands
="$ac_config_commands wx-config"
54243 if test "$wxWITH_SUBDIRS" != "no"; then
54244 if test "$wxUSE_GUI" = "yes"; then
54245 SUBDIRS
="samples demos utils"
54246 else SUBDIRS
="samples utils"
54251 # Check whether --with-cppunit-prefix was given.
54252 if test "${with_cppunit_prefix+set}" = set; then
54253 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
54255 cppunit_config_prefix
=""
54259 # Check whether --with-cppunit-exec-prefix was given.
54260 if test "${with_cppunit_exec_prefix+set}" = set; then
54261 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
54263 cppunit_config_exec_prefix
=""
54267 if test x
$cppunit_config_exec_prefix != x
; then
54268 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
54269 if test x
${CPPUNIT_CONFIG+set} != xset
; then
54270 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
54273 if test x
$cppunit_config_prefix != x
; then
54274 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
54275 if test x
${CPPUNIT_CONFIG+set} != xset
; then
54276 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
54280 # Extract the first word of "cppunit-config", so it can be a program name with args.
54281 set dummy cppunit
-config; ac_word
=$2
54282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54284 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
54285 echo $ECHO_N "(cached) $ECHO_C" >&6
54287 case $CPPUNIT_CONFIG in
54289 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
54292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54293 for as_dir
in $PATH
54296 test -z "$as_dir" && as_dir
=.
54297 for ac_exec_ext
in '' $ac_executable_extensions; do
54298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54299 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
54300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54307 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
54311 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
54312 if test -n "$CPPUNIT_CONFIG"; then
54313 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
54314 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
54316 { echo "$as_me:$LINENO: result: no" >&5
54317 echo "${ECHO_T}no" >&6; }
54321 cppunit_version_min
=1.8.0
54323 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
54324 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
54326 if test "$CPPUNIT_CONFIG" = "no" ; then
54327 { echo "$as_me:$LINENO: result: no" >&5
54328 echo "${ECHO_T}no" >&6; }
54331 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
54332 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
54333 cppunit_version
=`$CPPUNIT_CONFIG --version`
54335 cppunit_major_version
=`echo $cppunit_version | \
54336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
54337 cppunit_minor_version
=`echo $cppunit_version | \
54338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
54339 cppunit_micro_version
=`echo $cppunit_version | \
54340 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
54342 cppunit_major_min
=`echo $cppunit_version_min | \
54343 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
54344 cppunit_minor_min
=`echo $cppunit_version_min | \
54345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
54346 cppunit_micro_min
=`echo $cppunit_version_min | \
54347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
54349 cppunit_version_proper
=`expr \
54350 $cppunit_major_version \> $cppunit_major_min \| \
54351 $cppunit_major_version \= $cppunit_major_min \& \
54352 $cppunit_minor_version \> $cppunit_minor_min \| \
54353 $cppunit_major_version \= $cppunit_major_min \& \
54354 $cppunit_minor_version \= $cppunit_minor_min \& \
54355 $cppunit_micro_version \>= $cppunit_micro_min `
54357 if test "$cppunit_version_proper" = "1" ; then
54358 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
54359 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
54361 { echo "$as_me:$LINENO: result: no" >&5
54362 echo "${ECHO_T}no" >&6; }
54367 if test "x$no_cppunit" = x
; then
54368 SUBDIRS
="$SUBDIRS tests"
54379 for subdir
in `echo $SUBDIRS`; do
54380 if test -d ${srcdir}/${subdir} ; then
54381 if test "$wxUSE_GUI" = "yes"; then
54382 if test ${subdir} = "samples"; then
54383 makefiles
="samples/Makefile.in $makefiles"
54384 for sample
in `echo $SAMPLES_SUBDIRS`; do
54385 if test -d $srcdir/samples
/$sample; then
54386 makefiles
="samples/$sample/Makefile.in $makefiles"
54390 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
54391 eval "disabled=\$$disabled_var"
54392 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
54393 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
54395 else if test ${subdir} = "samples"; then
54396 makefiles
="samples/Makefile.in samples/console/Makefile.in"
54397 elif test ${subdir} = "utils"; then
54399 for util
in HelpGen tex2rtf
; do
54400 if test -d $srcdir/utils
/$util ; then
54401 makefiles
="utils/$util/Makefile.in \
54402 utils/$util/src/Makefile.in \
54406 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
54410 for mkin
in $makefiles ; do
54411 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
54412 ac_config_files
="$ac_config_files $mk"
54418 cat >confcache
<<\_ACEOF
54419 # This file is a shell script that caches the results of configure
54420 # tests run on this system so they can be shared between configure
54421 # scripts and configure runs, see configure's option --config-cache.
54422 # It is not useful on other systems. If it contains results you don't
54423 # want to keep, you may remove or edit it.
54425 # config.status only pays attention to the cache file if you give it
54426 # the --recheck option to rerun configure.
54428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
54429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
54430 # following values.
54434 # The following way of writing the cache mishandles newlines in values,
54435 # but we know of no workaround that is simple, portable, and efficient.
54436 # So, we kill variables containing newlines.
54437 # Ultrix sh set writes to stderr and can't be redirected directly,
54438 # and sets the high bit in the cache file unless we assign to the vars.
54440 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
54441 eval ac_val
=\$
$ac_var
54445 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
54446 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
54449 _
| IFS
| as_nl
) ;; #(
54450 *) $as_unset $ac_var ;;
54456 case $as_nl`(ac_space=' '; set) 2>&1` in #(
54457 *${as_nl}ac_space
=\
*)
54458 # `set' does not quote correctly, so add quotes (double-quote
54459 # substitution turns \\\\ into \\, and sed turns \\ into \).
54462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
54465 # `set' quotes correctly as required by POSIX, so do not add quotes.
54466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
54475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
54477 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
54479 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
54480 if test -w "$cache_file"; then
54481 test "x$cache_file" != "x/dev/null" &&
54482 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
54483 echo "$as_me: updating cache $cache_file" >&6;}
54484 cat confcache
>$cache_file
54486 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
54487 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
54492 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
54493 # Let make expand exec_prefix.
54494 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
54496 DEFS
=-DHAVE_CONFIG_H
54500 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
54501 # 1. Remove the extension, and $U if already installed.
54502 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
54503 ac_i
=`echo "$ac_i" | sed "$ac_script"`
54504 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
54505 # will be set to the directory where LIBOBJS objects are built.
54506 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
54507 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
54509 LIBOBJS
=$ac_libobjs
54511 LTLIBOBJS
=$ac_ltlibobjs
54515 : ${CONFIG_STATUS=./config.status}
54516 ac_clean_files_save
=$ac_clean_files
54517 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
54518 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
54519 echo "$as_me: creating $CONFIG_STATUS" >&6;}
54520 cat >$CONFIG_STATUS <<_ACEOF
54522 # Generated by $as_me.
54523 # Run this file to recreate the current configuration.
54524 # Compiler output produced by configure, useful for debugging
54525 # configure, is in config.log if it exists.
54528 ac_cs_recheck=false
54530 SHELL=\${CONFIG_SHELL-$SHELL}
54533 cat >>$CONFIG_STATUS <<\_ACEOF
54534 ## --------------------- ##
54535 ## M4sh Initialization. ##
54536 ## --------------------- ##
54538 # Be Bourne compatible
54539 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
54542 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
54543 # is contrary to our usage. Disable this feature.
54544 alias -g '${1+"$@"}'='"$@"'
54545 setopt NO_GLOB_SUBST
54547 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
54549 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
54550 DUALCASE
=1; export DUALCASE
# for MKS sh
54554 # Avoid depending upon Character Ranges.
54555 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
54556 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
54557 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
54558 as_cr_digits
='0123456789'
54559 as_cr_alnum
=$as_cr_Letters$as_cr_digits
54561 # The user is always right.
54562 if test "${PATH_SEPARATOR+set}" != set; then
54563 echo "#! /bin/sh" >conf$$.sh
54564 echo "exit 0" >>conf$$.sh
54566 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
54574 # Support unset when possible.
54575 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
54583 # We need space, tab and new line, in precisely that order. Quoting is
54584 # there to prevent editors from complaining about space-tab.
54585 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
54586 # splitting by setting IFS to empty value.)
54591 # Find who we are. Look in the path if we contain no directory separator.
54593 *[\\/]* ) as_myself
=$0 ;;
54594 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54595 for as_dir
in $PATH
54598 test -z "$as_dir" && as_dir
=.
54599 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
54605 # We did not find ourselves, most probably we were run as `sh COMMAND'
54606 # in which case we are not to be found in the path.
54607 if test "x$as_myself" = x
; then
54610 if test ! -f "$as_myself"; then
54611 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
54612 { (exit 1); exit 1; }
54615 # Work around bugs in pre-3.0 UWIN ksh.
54616 for as_var
in ENV MAIL MAILPATH
54617 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
54625 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
54626 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
54627 LC_TELEPHONE LC_TIME
54629 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
54630 eval $as_var=C
; export $as_var
54632 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
54636 # Required to use basename.
54637 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
54638 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
54644 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
54645 as_basename
=basename
54651 # Name of the executable.
54652 as_me
=`$as_basename -- "$0" ||
54653 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
54654 X"$0" : 'X\(//\)$' \| \
54655 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
54657 sed '/^.*\/\([^/][^/]*\)\/*$/{
54676 as_lineno_1
=$LINENO
54677 as_lineno_2
=$LINENO
54678 test "x$as_lineno_1" != "x$as_lineno_2" &&
54679 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
54681 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
54682 # uniformly replaced by the line number. The first 'sed' inserts a
54683 # line-number line after each line using $LINENO; the second 'sed'
54684 # does the real work. The second script uses 'N' to pair each
54685 # line-number line with the line containing $LINENO, and appends
54686 # trailing '-' during substitution so that $LINENO is not a special
54687 # case at line end.
54688 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
54689 # scripts with optimization help from Paolo Bonzini. Blame Lee
54690 # E. McMahon (1931-1989) for sed's syntax. :-)
54702 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
54705 ' >$as_me.lineno
&&
54706 chmod +x
"$as_me.lineno" ||
54707 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
54708 { (exit 1); exit 1; }; }
54710 # Don't try to exec as it changes $[0], causing all sort of problems
54711 # (the dirname of $[0] is not the place where we might find the
54712 # original and so on. Autoconf is especially sensitive to this).
54713 .
"./$as_me.lineno"
54714 # Exit status is that of the last command.
54719 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
54725 ECHO_C
= ECHO_N
= ECHO_T
=
54726 case `echo -n x` in
54728 case `echo 'x\c'` in
54729 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
54736 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
54737 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
54743 rm -f conf$$ conf$$.exe conf$$.
file
54744 if test -d conf$$.dir
; then
54745 rm -f conf$$.dir
/conf$$.
file
54751 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
54753 # ... but there are two gotchas:
54754 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
54755 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
54756 # In both cases, we have to default to `cp -p'.
54757 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
54759 elif ln conf$$.
file conf$$
2>/dev
/null
; then
54764 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
54765 rmdir conf$$.dir
2>/dev
/null
54767 if mkdir -p .
2>/dev
/null
; then
54770 test -d .
/-p && rmdir .
/-p
54774 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
54775 # systems may use methods other than mode bits to determine executability.
54776 cat >conf$$.
file <<_ASEOF
54780 chmod +x conf$$.
file
54781 if test -x conf$$.
file >/dev
/null
2>&1; then
54782 as_executable_p
="test -x"
54788 # Sed expression to map a string onto a valid CPP name.
54789 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
54791 # Sed expression to map a string onto a valid variable name.
54792 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
54797 # Save the log message, to keep $[0] and so on meaningful, and to
54798 # report actual input values of CONFIG_FILES etc. instead of their
54799 # values after options handling.
54801 This file was extended by wxWidgets $as_me 2.9.0, which was
54802 generated by GNU Autoconf 2.60. Invocation command line was
54804 CONFIG_FILES = $CONFIG_FILES
54805 CONFIG_HEADERS = $CONFIG_HEADERS
54806 CONFIG_LINKS = $CONFIG_LINKS
54807 CONFIG_COMMANDS = $CONFIG_COMMANDS
54810 on `(hostname || uname -n) 2>/dev/null | sed 1q`
54815 cat >>$CONFIG_STATUS <<_ACEOF
54816 # Files that config.status was made for.
54817 config_files="$ac_config_files"
54818 config_headers="$ac_config_headers"
54819 config_commands="$ac_config_commands"
54823 cat >>$CONFIG_STATUS <<\_ACEOF
54825 \`$as_me' instantiates files from templates according to the
54826 current configuration.
54828 Usage: $0 [OPTIONS] [FILE]...
54830 -h, --help print this help, then exit
54831 -V, --version print version number, then exit
54832 -q, --quiet do not print progress messages
54833 -d, --debug don't remove temporary files
54834 --recheck update $as_me by reconfiguring in the same conditions
54835 --file=FILE[:TEMPLATE]
54836 instantiate the configuration file FILE
54837 --header=FILE[:TEMPLATE]
54838 instantiate the configuration header FILE
54840 Configuration files:
54843 Configuration headers:
54846 Configuration commands:
54849 Report bugs to <bug-autoconf@gnu.org>."
54852 cat >>$CONFIG_STATUS <<_ACEOF
54854 wxWidgets config.status 2.9.0
54855 configured by $0, generated by GNU Autoconf 2.60,
54856 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
54858 Copyright (C) 2006 Free Software Foundation, Inc.
54859 This config.status script is free software; the Free Software Foundation
54860 gives unlimited permission to copy, distribute and modify it."
54867 cat >>$CONFIG_STATUS <<\_ACEOF
54868 # If no file are specified by the user, then we need to provide default
54869 # value. By we need to know if files were specified by the user.
54875 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
54876 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
54887 # Handling of the options.
54888 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
54890 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
54891 echo "$ac_cs_version"; exit ;;
54892 --debug | --debu | --deb | --de | --d | -d )
54894 --file | --fil | --fi | --f )
54896 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
54897 ac_need_defaults
=false
;;
54898 --header | --heade | --head | --hea )
54900 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
54901 ac_need_defaults
=false
;;
54903 # Conflict between --help and --header
54904 { echo "$as_me: error: ambiguous option: $1
54905 Try \`$0 --help' for more information." >&2
54906 { (exit 1); exit 1; }; };;
54907 --help | --hel | -h )
54908 echo "$ac_cs_usage"; exit ;;
54909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
54910 | -silent | --silent | --silen | --sile | --sil | --si | --s)
54913 # This is an error.
54914 -*) { echo "$as_me: error: unrecognized option: $1
54915 Try \`$0 --help' for more information." >&2
54916 { (exit 1); exit 1; }; } ;;
54918 *) ac_config_targets
="$ac_config_targets $1"
54919 ac_need_defaults
=false
;;
54925 ac_configure_extra_args
=
54927 if $ac_cs_silent; then
54929 ac_configure_extra_args
="$ac_configure_extra_args --silent"
54933 cat >>$CONFIG_STATUS <<_ACEOF
54934 if \$ac_cs_recheck; then
54935 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
54936 CONFIG_SHELL=$SHELL
54937 export CONFIG_SHELL
54938 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
54942 cat >>$CONFIG_STATUS <<\_ACEOF
54946 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
54947 ## Running $as_me. ##
54953 cat >>$CONFIG_STATUS <<_ACEOF
54959 infile="$srcdir/include/wx/msw/genrcdefs.h"
54960 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
54963 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54964 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54965 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54971 cat >>$CONFIG_STATUS <<\_ACEOF
54973 # Handling of arguments.
54974 for ac_config_target
in $ac_config_targets
54976 case $ac_config_target in
54977 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
54978 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
54979 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
54980 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
54981 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
54982 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
54983 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
54984 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
54986 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54987 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54988 { (exit 1); exit 1; }; };;
54993 # If the user did not use the arguments to specify the items to instantiate,
54994 # then the envvar interface is used. Set only those that are not.
54995 # We use the long form for the default assignment because of an extremely
54996 # bizarre bug on SunOS 4.1.3.
54997 if $ac_need_defaults; then
54998 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
54999 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
55000 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
55003 # Have a temporary directory for convenience. Make it in the build tree
55004 # simply because there is no reason against having it here, and in addition,
55005 # creating and moving files from /tmp can sometimes cause problems.
55006 # Hook for its removal unless debugging.
55007 # Note that there is a small window in which the directory will not be cleaned:
55008 # after its creation but before its name has been assigned to `$tmp'.
55012 trap 'exit_status=$?
55013 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
55015 trap '{ (exit 1); exit 1; }' 1 2 13 15
55017 # Create a (secure) tmp directory for tmp files.
55020 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
55021 test -n "$tmp" && test -d "$tmp"
55024 tmp
=.
/conf$$
-$RANDOM
55025 (umask 077 && mkdir "$tmp")
55028 echo "$me: cannot create a temporary directory in ." >&2
55029 { (exit 1); exit 1; }
55033 # Set up the sed scripts for CONFIG_FILES section.
55036 # No need to generate the scripts if there are no CONFIG_FILES.
55037 # This happens for instance when ./config.status config.h
55038 if test -n "$CONFIG_FILES"; then
55045 for ac_last_try
in false false false false false
:; do
55046 cat >conf$
$subs.
sed <<_ACEOF
55047 SHELL!$SHELL$ac_delim
55048 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
55049 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
55050 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
55051 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
55052 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
55053 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
55054 exec_prefix!$exec_prefix$ac_delim
55055 prefix!$prefix$ac_delim
55056 program_transform_name!$program_transform_name$ac_delim
55057 bindir!$bindir$ac_delim
55058 sbindir!$sbindir$ac_delim
55059 libexecdir!$libexecdir$ac_delim
55060 datarootdir!$datarootdir$ac_delim
55061 datadir!$datadir$ac_delim
55062 sysconfdir!$sysconfdir$ac_delim
55063 sharedstatedir!$sharedstatedir$ac_delim
55064 localstatedir!$localstatedir$ac_delim
55065 includedir!$includedir$ac_delim
55066 oldincludedir!$oldincludedir$ac_delim
55067 docdir!$docdir$ac_delim
55068 infodir!$infodir$ac_delim
55069 htmldir!$htmldir$ac_delim
55070 dvidir!$dvidir$ac_delim
55071 pdfdir!$pdfdir$ac_delim
55072 psdir!$psdir$ac_delim
55073 libdir!$libdir$ac_delim
55074 localedir!$localedir$ac_delim
55075 mandir!$mandir$ac_delim
55076 DEFS!$DEFS$ac_delim
55077 ECHO_C!$ECHO_C$ac_delim
55078 ECHO_N!$ECHO_N$ac_delim
55079 ECHO_T!$ECHO_T$ac_delim
55080 LIBS!$LIBS$ac_delim
55081 build_alias!$build_alias$ac_delim
55082 host_alias!$host_alias$ac_delim
55083 target_alias!$target_alias$ac_delim
55084 build!$build$ac_delim
55085 build_cpu!$build_cpu$ac_delim
55086 build_vendor!$build_vendor$ac_delim
55087 build_os!$build_os$ac_delim
55088 host!$host$ac_delim
55089 host_cpu!$host_cpu$ac_delim
55090 host_vendor!$host_vendor$ac_delim
55091 host_os!$host_os$ac_delim
55092 target!$target$ac_delim
55093 target_cpu!$target_cpu$ac_delim
55094 target_vendor!$target_vendor$ac_delim
55095 target_os!$target_os$ac_delim
55096 wx_top_builddir!$wx_top_builddir$ac_delim
55098 CFLAGS!$CFLAGS$ac_delim
55099 LDFLAGS!$LDFLAGS$ac_delim
55100 CPPFLAGS!$CPPFLAGS$ac_delim
55101 ac_ct_CC!$ac_ct_CC$ac_delim
55102 EXEEXT!$EXEEXT$ac_delim
55103 OBJEXT!$OBJEXT$ac_delim
55105 GREP!$GREP$ac_delim
55106 EGREP!$EGREP$ac_delim
55108 CXXFLAGS!$CXXFLAGS$ac_delim
55109 ac_ct_CXX!$ac_ct_CXX$ac_delim
55110 RANLIB!$RANLIB$ac_delim
55112 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
55113 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
55114 INSTALL_DATA!$INSTALL_DATA$ac_delim
55115 STRIP!$STRIP$ac_delim
55116 WINDRES!$WINDRES$ac_delim
55117 DLLTOOL!$DLLTOOL$ac_delim
55118 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
55119 LN_S!$LN_S$ac_delim
55120 subdirs!$subdirs$ac_delim
55121 PKG_CONFIG!$PKG_CONFIG$ac_delim
55122 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
55123 GTK_LIBS!$GTK_LIBS$ac_delim
55124 GTK_CONFIG!$GTK_CONFIG$ac_delim
55125 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
55126 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
55127 XMKMF!$XMKMF$ac_delim
55128 X_CFLAGS!$X_CFLAGS$ac_delim
55129 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
55130 X_LIBS!$X_LIBS$ac_delim
55131 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
55132 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
55133 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
55134 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
55135 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
55136 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
55137 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
55139 DEREZ!$DEREZ$ac_delim
55140 SETFILE!$SETFILE$ac_delim
55141 LIBICONV!$LIBICONV$ac_delim
55142 SDL_CONFIG!$SDL_CONFIG$ac_delim
55143 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
55146 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55148 elif $ac_last_try; then
55149 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55150 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55151 { (exit 1); exit 1; }; }
55153 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
55157 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55158 if test -n "$ac_eof"; then
55159 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
55160 ac_eof
=`expr $ac_eof + 1`
55163 cat >>$CONFIG_STATUS <<_ACEOF
55164 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
55165 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55168 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55169 s/^/s,@/; s/!/@,|#_!!_#|/
55172 s/'"$ac_delim"'$/,g/; t
55174 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55175 ' >>$CONFIG_STATUS <conf$
$subs.
sed
55176 rm -f conf$
$subs.
sed
55177 cat >>$CONFIG_STATUS <<_ACEOF
55183 for ac_last_try
in false false false false false
:; do
55184 cat >conf$
$subs.
sed <<_ACEOF
55185 SDL_LIBS!$SDL_LIBS$ac_delim
55186 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
55187 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
55188 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
55189 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
55190 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
55191 HILDON_LIBS!$HILDON_LIBS$ac_delim
55192 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
55193 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
55194 GST_CFLAGS!$GST_CFLAGS$ac_delim
55195 GST_LIBS!$GST_LIBS$ac_delim
55196 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
55197 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
55198 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
55199 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
55200 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
55201 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
55202 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
55203 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
55204 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
55205 VENDOR!$VENDOR$ac_delim
55206 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
55207 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
55208 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
55209 WXUNIV!$WXUNIV$ac_delim
55210 MONOLITHIC!$MONOLITHIC$ac_delim
55211 USE_PLUGINS!$USE_PLUGINS$ac_delim
55212 EXTRALIBS!$EXTRALIBS$ac_delim
55213 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
55214 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
55215 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
55216 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
55217 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
55218 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
55219 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
55220 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
55221 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
55222 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
55223 UNICODE!$UNICODE$ac_delim
55224 BUILD!$BUILD$ac_delim
55225 DEBUG_INFO!$DEBUG_INFO$ac_delim
55226 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
55227 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
55228 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
55229 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
55230 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
55231 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
55232 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
55233 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
55234 SET_MAKE!$SET_MAKE$ac_delim
55235 MAKE_SET!$MAKE_SET$ac_delim
55236 AROPTIONS!$AROPTIONS$ac_delim
55238 INSTALL_DIR!$INSTALL_DIR$ac_delim
55239 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
55240 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
55241 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
55242 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
55243 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
55244 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
55245 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
55246 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
55247 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
55248 SO_SUFFIX!$SO_SUFFIX$ac_delim
55249 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
55250 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
55251 LIBPREFIX!$LIBPREFIX$ac_delim
55252 LIBEXT!$LIBEXT$ac_delim
55253 DLLPREFIX!$DLLPREFIX$ac_delim
55254 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
55255 dlldir!$dlldir$ac_delim
55256 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
55257 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
55258 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
55259 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
55260 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
55261 PIC_FLAG!$PIC_FLAG$ac_delim
55262 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
55263 USE_SOVERSION!$USE_SOVERSION$ac_delim
55264 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
55265 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
55266 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
55267 USE_MACVERSION!$USE_MACVERSION$ac_delim
55268 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
55269 SONAME_FLAG!$SONAME_FLAG$ac_delim
55270 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
55271 BK_DEPS!$BK_DEPS$ac_delim
55272 GCC_PCH!$GCC_PCH$ac_delim
55273 ICC_PCH!$ICC_PCH$ac_delim
55274 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
55275 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
55276 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
55277 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
55278 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
55279 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
55280 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
55281 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
55284 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55286 elif $ac_last_try; then
55287 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55288 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55289 { (exit 1); exit 1; }; }
55291 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
55295 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55296 if test -n "$ac_eof"; then
55297 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
55298 ac_eof
=`expr $ac_eof + 1`
55301 cat >>$CONFIG_STATUS <<_ACEOF
55302 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
55303 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55306 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55307 s/^/s,@/; s/!/@,|#_!!_#|/
55310 s/'"$ac_delim"'$/,g/; t
55312 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55313 ' >>$CONFIG_STATUS <conf$
$subs.
sed
55314 rm -f conf$
$subs.
sed
55315 cat >>$CONFIG_STATUS <<_ACEOF
55321 for ac_last_try
in false false false false false
:; do
55322 cat >conf$
$subs.
sed <<_ACEOF
55323 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
55324 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
55325 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
55326 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
55327 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
55328 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
55329 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
55330 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
55331 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
55332 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
55333 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
55334 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
55335 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
55336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
55337 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
55338 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
55339 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
55340 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
55341 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
55342 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
55343 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
55344 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
55345 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
55346 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
55347 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
55348 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
55349 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
55350 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
55351 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
55352 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
55353 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
55354 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
55355 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
55356 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
55357 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
55358 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
55359 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
55360 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
55361 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
55362 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
55363 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
55364 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
55365 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
55366 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
55367 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
55368 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
55369 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
55370 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
55371 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
55372 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
55373 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
55374 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
55375 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
55376 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
55377 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
55378 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
55379 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
55380 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
55381 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
55382 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
55383 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
55384 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
55385 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
55386 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
55387 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
55388 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
55389 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
55390 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
55391 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
55392 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
55393 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
55394 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
55395 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
55396 COND_SHARED_0!$COND_SHARED_0$ac_delim
55397 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
55398 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
55399 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
55400 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
55401 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
55402 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
55403 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
55404 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
55405 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
55406 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
55407 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
55408 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
55409 COND_SHARED_1!$COND_SHARED_1$ac_delim
55410 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
55411 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
55412 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
55413 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
55414 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
55415 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
55416 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
55417 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
55418 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
55419 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
55422 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55424 elif $ac_last_try; then
55425 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55426 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55427 { (exit 1); exit 1; }; }
55429 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
55433 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55434 if test -n "$ac_eof"; then
55435 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
55436 ac_eof
=`expr $ac_eof + 1`
55439 cat >>$CONFIG_STATUS <<_ACEOF
55440 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
55441 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55444 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55445 s/^/s,@/; s/!/@,|#_!!_#|/
55448 s/'"$ac_delim"'$/,g/; t
55450 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55451 ' >>$CONFIG_STATUS <conf$
$subs.
sed
55452 rm -f conf$
$subs.
sed
55453 cat >>$CONFIG_STATUS <<_ACEOF
55459 for ac_last_try
in false false false false false
:; do
55460 cat >conf$
$subs.
sed <<_ACEOF
55461 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
55462 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
55463 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
55464 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
55465 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
55466 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
55467 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
55468 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
55469 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
55470 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
55471 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
55472 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
55473 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
55474 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
55475 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
55476 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
55477 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
55478 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
55479 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
55480 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
55481 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
55482 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
55483 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
55484 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
55485 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
55486 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
55487 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
55488 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
55489 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
55490 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
55491 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
55492 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
55493 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
55494 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
55495 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
55496 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
55497 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
55498 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
55499 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
55500 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
55501 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
55502 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
55503 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
55504 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
55505 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
55506 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
55507 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
55508 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
55509 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
55510 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
55511 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
55512 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
55513 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
55514 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
55515 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
55516 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
55517 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
55518 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
55519 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
55520 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
55521 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
55522 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
55523 SHARED!$SHARED$ac_delim
55524 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
55525 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
55526 USE_GUI!$USE_GUI$ac_delim
55527 AFMINSTALL!$AFMINSTALL$ac_delim
55528 WIN32INSTALL!$WIN32INSTALL$ac_delim
55529 TOOLKIT!$TOOLKIT$ac_delim
55530 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
55531 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
55532 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
55533 cross_compiling!$cross_compiling$ac_delim
55534 WIDGET_SET!$WIDGET_SET$ac_delim
55535 WX_RELEASE!$WX_RELEASE$ac_delim
55536 WX_VERSION!$WX_VERSION$ac_delim
55537 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
55538 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
55539 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
55540 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
55541 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
55542 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
55543 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
55544 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
55545 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
55546 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
55547 EXE_LINKER!$EXE_LINKER$ac_delim
55548 GUIDIST!$GUIDIST$ac_delim
55549 DISTDIR!$DISTDIR$ac_delim
55550 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
55551 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
55552 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
55553 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
55554 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
55555 RESCOMP!$RESCOMP$ac_delim
55556 RESFLAGS!$RESFLAGS$ac_delim
55557 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
55560 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55562 elif $ac_last_try; then
55563 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55564 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55565 { (exit 1); exit 1; }; }
55567 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
55571 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55572 if test -n "$ac_eof"; then
55573 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
55574 ac_eof
=`expr $ac_eof + 1`
55577 cat >>$CONFIG_STATUS <<_ACEOF
55578 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
55579 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55582 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55583 s/^/s,@/; s/!/@,|#_!!_#|/
55586 s/'"$ac_delim"'$/,g/; t
55588 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55589 ' >>$CONFIG_STATUS <conf$
$subs.
sed
55590 rm -f conf$
$subs.
sed
55591 cat >>$CONFIG_STATUS <<_ACEOF
55597 for ac_last_try
in false false false false false
:; do
55598 cat >conf$
$subs.
sed <<_ACEOF
55599 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
55600 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
55601 LIBWXMACRES!$LIBWXMACRES$ac_delim
55602 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
55603 MACSETFILE!$MACSETFILE$ac_delim
55605 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
55606 LIBOBJS!$LIBOBJS$ac_delim
55607 LTLIBOBJS!$LTLIBOBJS$ac_delim
55610 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
55612 elif $ac_last_try; then
55613 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55614 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55615 { (exit 1); exit 1; }; }
55617 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
55621 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55622 if test -n "$ac_eof"; then
55623 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
55624 ac_eof
=`expr $ac_eof + 1`
55627 cat >>$CONFIG_STATUS <<_ACEOF
55628 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
55629 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
55632 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55633 s/^/s,@/; s/!/@,|#_!!_#|/
55636 s/'"$ac_delim"'$/,g/; t
55638 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55639 ' >>$CONFIG_STATUS <conf$
$subs.
sed
55640 rm -f conf$
$subs.
sed
55641 cat >>$CONFIG_STATUS <<_ACEOF
55648 # VPATH may cause trouble with some makes, so we remove $(srcdir),
55649 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
55650 # trailing colons and then remove the whole line if VPATH becomes empty
55651 # (actually we leave an empty line to preserve line numbers).
55652 if test "x$srcdir" = x.
; then
55653 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
55654 s/:*\$(srcdir):*/:/
55655 s/:*\${srcdir}:*/:/
55657 s/^\([^=]*=[ ]*\):*/\1/
55663 cat >>$CONFIG_STATUS <<\_ACEOF
55664 fi # test -n "$CONFIG_FILES"
55667 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
55670 :[FHLC
]) ac_mode
=$ac_tag; continue;;
55672 case $ac_mode$ac_tag in
55674 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
55675 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
55676 { (exit 1); exit 1; }; };;
55677 :[FH
]-) ac_tag
=-:-;;
55678 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
55695 -) ac_f
="$tmp/stdin";;
55696 *) # Look for the file first in the build tree, then in the source tree
55697 # (if the path is not absolute). The absolute path cannot be DOS-style,
55698 # because $ac_f cannot contain `:'.
55702 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
55704 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
55705 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
55706 { (exit 1); exit 1; }; };;
55708 ac_file_inputs
="$ac_file_inputs $ac_f"
55711 # Let's still pretend it is `configure' which instantiates (i.e., don't
55712 # use $as_me), people would be surprised to read:
55713 # /* config.h. Generated by config.status. */
55714 configure_input
="Generated from "`IFS=:
55715 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
55716 if test x
"$ac_file" != x
-; then
55717 configure_input
="$ac_file. $configure_input"
55718 { echo "$as_me:$LINENO: creating $ac_file" >&5
55719 echo "$as_me: creating $ac_file" >&6;}
55723 *:-:* | *:-) cat >"$tmp/stdin";;
55728 ac_dir
=`$as_dirname -- "$ac_file" ||
55729 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55730 X"$ac_file" : 'X\(//\)[^/]' \| \
55731 X"$ac_file" : 'X\(//\)$' \| \
55732 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
55734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55738 /^X\(\/\/\)[^/].*/{
55753 -*) as_dir
=.
/$as_dir;;
55755 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55759 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55760 *) as_qdir
=$as_dir;;
55762 as_dirs
="'$as_qdir' $as_dirs"
55763 as_dir
=`$as_dirname -- "$as_dir" ||
55764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55765 X"$as_dir" : 'X\(//\)[^/]' \| \
55766 X"$as_dir" : 'X\(//\)$' \| \
55767 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55773 /^X\(\/\/\)[^/].*/{
55786 test -d "$as_dir" && break
55788 test -z "$as_dirs" || eval "mkdir $as_dirs"
55789 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55790 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55791 { (exit 1); exit 1; }; }; }
55795 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55797 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55798 # A ".." for each directory in $ac_dir_suffix.
55799 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55800 case $ac_top_builddir_sub in
55801 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55802 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
55805 ac_abs_top_builddir
=$ac_pwd
55806 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
55807 # for backward compatibility:
55808 ac_top_builddir
=$ac_top_build_prefix
55811 .
) # We are building in place.
55813 ac_top_srcdir
=$ac_top_builddir_sub
55814 ac_abs_top_srcdir
=$ac_pwd ;;
55815 [\\/]* | ?
:[\\/]* ) # Absolute name.
55816 ac_srcdir
=$srcdir$ac_dir_suffix;
55817 ac_top_srcdir
=$srcdir
55818 ac_abs_top_srcdir
=$srcdir ;;
55819 *) # Relative name.
55820 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
55821 ac_top_srcdir
=$ac_top_build_prefix$srcdir
55822 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
55824 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
55834 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
55835 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
55839 cat >>$CONFIG_STATUS <<\_ACEOF
55840 # If the template does not know about datarootdir, expand it.
55841 # FIXME: This hack should be removed a few years after 2.60.
55842 ac_datarootdir_hack
=; ac_datarootdir_seen
=
55844 case `sed -n '/datarootdir/ {
55853 ' $ac_file_inputs` in
55854 *datarootdir
*) ac_datarootdir_seen
=yes;;
55855 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
55856 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
55857 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
55859 cat >>$CONFIG_STATUS <<_ACEOF
55860 ac_datarootdir_hack='
55861 s&@datadir@&$datadir&g
55862 s&@docdir@&$docdir&g
55863 s&@infodir@&$infodir&g
55864 s&@localedir@&$localedir&g
55865 s&@mandir@&$mandir&g
55866 s&\\\${datarootdir}&$datarootdir&g' ;;
55870 # Neutralize VPATH when `$srcdir' = `.'.
55871 # Shell code in configure.ac might set extrasub.
55872 # FIXME: do we really want to maintain this feature?
55873 cat >>$CONFIG_STATUS <<_ACEOF
55877 cat >>$CONFIG_STATUS <<\_ACEOF
55879 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
55880 s
&@configure_input@
&$configure_input&;t t
55881 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
55882 s
&@srcdir@
&$ac_srcdir&;t t
55883 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
55884 s
&@top_srcdir@
&$ac_top_srcdir&;t t
55885 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
55886 s
&@builddir@
&$ac_builddir&;t t
55887 s
&@abs_builddir@
&$ac_abs_builddir&;t t
55888 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
55889 s
&@INSTALL@
&$ac_INSTALL&;t t
55890 $ac_datarootdir_hack
55891 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" | sed -f "$tmp/subs
-3.
sed" | sed -f "$tmp/subs
-4.
sed" | sed -f "$tmp/subs
-5.
sed" >$tmp/out
55893 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
55894 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
55895 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
55896 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
55897 which seems to be undefined. Please make sure it is defined." >&5
55898 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
55899 which seems to be undefined. Please make sure it is defined." >&2;}
55903 -) cat "$tmp/out"; rm -f "$tmp/out";;
55904 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
55913 # Transform confdefs.h into a sed script `conftest.defines', that
55914 # substitutes the proper values into config.h.in to produce config.h.
55915 rm -f conftest.defines conftest.
tail
55916 # First, append a space to every undef/define line, to ease matching.
55917 echo 's/$/ /' >conftest.defines
55918 # Then, protect against being on the right side of a sed subst, or in
55919 # an unquoted here document, in config.status. If some macros were
55920 # called several times there might be several #defines for the same
55921 # symbol, which is useless. But do not sort them, since the last
55922 # AC_DEFINE must be honored.
55923 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
55924 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
55925 # NAME is the cpp macro being defined, VALUE is the value it is being given.
55926 # PARAMS is the parameter list in the macro definition--in most cases, it's
55927 # just an empty string.
55928 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
55929 ac_dB
='\\)[ (].*,\\1define\\2'
55937 s/^[ ]*#[ ]*define[ ][ ]*//
55942 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
55943 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
55944 ' >>conftest.defines
55946 # Remove the space that was appended to ease matching.
55947 # Then replace #undef with comments. This is necessary, for
55948 # example, in the case of _POSIX_SOURCE, which is predefined and required
55949 # on some systems where configure will not decide to define it.
55950 # (The regexp can be short, since the line contains either #define or #undef.)
55952 s,^[ #]*u.*,/* & */,' >>conftest.defines
55954 # Break up conftest.defines:
55955 ac_max_sed_lines
=50
55957 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55958 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55959 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55961 ac_in
='$ac_file_inputs'
55962 ac_out
='"$tmp/out1"'
55963 ac_nxt
='"$tmp/out2"'
55967 # Write a here document:
55968 cat >>$CONFIG_STATUS <<_ACEOF
55969 # First, check the format of the line:
55970 cat >"\$tmp/defines.sed" <<\\CEOF
55971 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55972 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55976 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
55978 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55979 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
55980 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
55981 grep . conftest.
tail >/dev
/null
|| break
55982 rm -f conftest.defines
55983 mv conftest.
tail conftest.defines
55985 rm -f conftest.defines conftest.
tail
55987 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55988 cat >>$CONFIG_STATUS <<\_ACEOF
55989 if test x
"$ac_file" != x
-; then
55990 echo "/* $configure_input */" >"$tmp/config.h"
55991 cat "$ac_result" >>"$tmp/config.h"
55992 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
55993 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55994 echo "$as_me: $ac_file is unchanged" >&6;}
55997 mv "$tmp/config.h" $ac_file
56000 echo "/* $configure_input */"
56006 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
56007 echo "$as_me: executing $ac_file commands" >&6;}
56012 case $ac_file$ac_mode in
56014 mkdir -p $outdir &&
56015 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
56017 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
56018 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
56019 "wx-config":C
) rm -f wx
-config
56020 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
56027 { (exit 0); exit 0; }
56029 chmod +x
$CONFIG_STATUS
56030 ac_clean_files
=$ac_clean_files_save
56033 # configure is writing to config.log, and then calls config.status.
56034 # config.status does its own redirection, appending to config.log.
56035 # Unfortunately, on DOS this fails, as config.log is still kept open
56036 # by configure, so config.status won't be able to write to it; its
56037 # output is simply discarded. So we exec the FD to /dev/null,
56038 # effectively closing config.log, so it can be properly (re)opened and
56039 # appended to by config.status. When coming back to configure, we
56040 # need to make the FD available again.
56041 if test "$no_create" != yes; then
56043 ac_config_status_args
=
56044 test "$silent" = yes &&
56045 ac_config_status_args
="$ac_config_status_args --quiet"
56047 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
56049 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
56050 # would make configure fail if this is the last instruction.
56051 $ac_cs_success || { (exit 1); exit 1; }
56055 # CONFIG_SUBDIRS section.
56057 if test "$no_recursion" != yes; then
56059 # Remove --cache-file and --srcdir arguments so they do not pile up.
56060 ac_sub_configure_args
=
56062 eval "set x $ac_configure_args"
56066 if test -n "$ac_prev"; then
56071 -cache-file | --cache-file | --cache-fil | --cache-fi \
56072 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
56073 ac_prev
=cache_file
;;
56074 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
56075 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
56078 --config-cache | -C)
56080 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
56082 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
56084 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
56086 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
56090 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
56092 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
56096 # Always prepend --prefix to ensure using the same prefix
56097 # in subdir configurations.
56098 ac_arg
="--prefix=$prefix"
56100 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
56102 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
56105 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
56107 # Do not complain, so a configure script can configure whichever
56108 # parts of a large source tree are present.
56109 test -d "$srcdir/$ac_dir" || continue
56111 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
56112 echo "$as_me:$LINENO: $ac_msg" >&5
56116 -*) as_dir
=.
/$as_dir;;
56118 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
56122 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
56123 *) as_qdir
=$as_dir;;
56125 as_dirs
="'$as_qdir' $as_dirs"
56126 as_dir
=`$as_dirname -- "$as_dir" ||
56127 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56128 X"$as_dir" : 'X\(//\)[^/]' \| \
56129 X"$as_dir" : 'X\(//\)$' \| \
56130 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
56132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56136 /^X\(\/\/\)[^/].*/{
56149 test -d "$as_dir" && break
56151 test -z "$as_dirs" || eval "mkdir $as_dirs"
56152 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
56153 echo "$as_me: error: cannot create directory $as_dir" >&2;}
56154 { (exit 1); exit 1; }; }; }
56158 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
56160 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
56161 # A ".." for each directory in $ac_dir_suffix.
56162 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
56163 case $ac_top_builddir_sub in
56164 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
56165 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
56168 ac_abs_top_builddir
=$ac_pwd
56169 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
56170 # for backward compatibility:
56171 ac_top_builddir
=$ac_top_build_prefix
56174 .
) # We are building in place.
56176 ac_top_srcdir
=$ac_top_builddir_sub
56177 ac_abs_top_srcdir
=$ac_pwd ;;
56178 [\\/]* | ?
:[\\/]* ) # Absolute name.
56179 ac_srcdir
=$srcdir$ac_dir_suffix;
56180 ac_top_srcdir
=$srcdir
56181 ac_abs_top_srcdir
=$srcdir ;;
56182 *) # Relative name.
56183 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
56184 ac_top_srcdir
=$ac_top_build_prefix$srcdir
56185 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
56187 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
56192 # Check for guested configure; otherwise get Cygnus style configure.
56193 if test -f "$ac_srcdir/configure.gnu"; then
56194 ac_sub_configure
=$ac_srcdir/configure.gnu
56195 elif test -f "$ac_srcdir/configure"; then
56196 ac_sub_configure
=$ac_srcdir/configure
56197 elif test -f "$ac_srcdir/configure.in"; then
56198 # This should be Cygnus configure.
56199 ac_sub_configure
=$ac_aux_dir/configure
56201 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
56202 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
56206 # The recursion is here.
56207 if test -n "$ac_sub_configure"; then
56208 # Make the cache file name correct relative to the subdirectory.
56209 case $cache_file in
56210 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
56211 *) # Relative name.
56212 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
56215 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
56216 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
56217 # The eval makes quoting arguments work.
56218 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
56219 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
56220 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
56221 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
56222 { (exit 1); exit 1; }; }
56231 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
56233 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
56234 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
56236 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
56237 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
56238 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
56240 echo " What level of wxWidgets compatibility should be enabled?"
56241 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
56242 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
56244 echo " Which libraries should wxWidgets use?"
56245 echo " jpeg ${wxUSE_LIBJPEG-none}"
56246 echo " png ${wxUSE_LIBPNG-none}"
56247 echo " regex ${wxUSE_REGEX}"
56248 echo " tiff ${wxUSE_LIBTIFF-none}"
56249 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
56250 echo " xpm ${wxUSE_LIBXPM-none}"
56252 echo " zlib ${wxUSE_ZLIB}"
56253 echo " odbc ${wxUSE_ODBC}"
56254 echo " expat ${wxUSE_EXPAT}"
56255 echo " libmspack ${wxUSE_LIBMSPACK}"
56256 echo " sdl ${wxUSE_LIBSDL}"