2 # From configure.in Id: configure.in 48174 2007-08-19 10:16:30Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 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 more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
707 LIBGNOMEPRINTUI_CFLAGS
754 SAMPLES_RPATH_POSTLINK
810 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
811 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
812 COND_BUILD_DEBUG_UNICODE_0
813 COND_BUILD_DEBUG_UNICODE_1
815 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
816 COND_BUILD_RELEASE_UNICODE_0
817 COND_BUILD_RELEASE_UNICODE_1
826 COND_MONOLITHIC_0_SHARED_0
827 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
846 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
848 COND_MONOLITHIC_0_USE_AUI_1
849 COND_MONOLITHIC_0_USE_GUI_1
850 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_HTML_1
853 COND_MONOLITHIC_0_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_QA_1
856 COND_MONOLITHIC_0_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_USE_STC_1
858 COND_MONOLITHIC_0_USE_XRC_1
860 COND_MONOLITHIC_1_SHARED_0
861 COND_MONOLITHIC_1_SHARED_1
862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
864 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
865 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
866 COND_PLATFORM_MACOSX_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_
868 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
869 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
873 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
874 COND_PLATFORM_MACOSX_1_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
876 COND_PLATFORM_MACOS_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_USE_XRC_1
899 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
900 COND_SHARED_0_WXUSE_ODBC_BUILTIN
901 COND_SHARED_0_WXUSE_REGEX_BUILTIN
902 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
904 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
905 COND_SHARED_1_USE_XRC_1
908 COND_TOOLKIT_COCOA_USE_GUI_1
909 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_DFB_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_USE_GUI_1
921 COND_TOOLKIT_MAC_USE_GUI_1
922 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MGL_USE_GUI_1
926 COND_TOOLKIT_MOTIF_USE_GUI_1
927 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_USE_GUI_1
930 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_WXUNIV_0
933 COND_TOOLKIT_PM_USE_GUI_1
934 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_USE_GUI_1
937 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_WXUNIV_0
940 COND_TOOLKIT_X11_USE_GUI_1
942 COND_USE_EXCEPTIONS_0
943 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_1_USE_OPENGL_1
947 COND_USE_GUI_1_WXUNIV_0
948 COND_USE_GUI_1_WXUNIV_1
949 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
958 COND_USE_SOSYMLINKS_1
959 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
960 COND_USE_SOVERLINUX_1
962 COND_USE_SOVERSOLARIS_1
967 COND_WINDOWS_IMPLIB_1
968 COND_WITH_PLUGIN_SDL_1
971 COND_WXUSE_EXPAT_BUILTIN
972 COND_WXUSE_LIBJPEG_BUILTIN
973 COND_WXUSE_LIBPNG_BUILTIN
974 COND_WXUSE_LIBTIFF_BUILTIN
975 COND_WXUSE_ODBC_BUILTIN
976 COND_WXUSE_REGEX_BUILTIN
977 COND_WXUSE_ZLIB_BUILTIN
980 WX_LIBRARY_BASENAME_NOGUI
981 WX_LIBRARY_BASENAME_GUI
1001 WXCONFIG_LDFLAGS_GUI
1014 WX_RESOURCES_MACOSX_ASCII
1015 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars
='build_alias
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1057 ac_subdirs_all
='src/expat'
1059 # Initialize some variables set by options.
1061 ac_init_version
=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file
=/dev
/null
1071 program_transform_name
=s
,x
,x
,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir
='${exec_prefix}/bin'
1086 sbindir
='${exec_prefix}/sbin'
1087 libexecdir
='${exec_prefix}/libexec'
1088 datarootdir
='${prefix}/share'
1089 datadir
='${datarootdir}'
1090 sysconfdir
='${prefix}/etc'
1091 sharedstatedir
='${prefix}/com'
1092 localstatedir
='${prefix}/var'
1093 includedir
='${prefix}/include'
1094 oldincludedir
='/usr/include'
1095 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir
='${datarootdir}/info'
1101 libdir
='${exec_prefix}/lib'
1102 localedir
='${datarootdir}/locale'
1103 mandir
='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\
$ac_option
1117 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir
=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev
=build_alias
;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias
=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev
=cache_file
;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file
=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file
=config.cache
;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir
=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev
=datarootdir
;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir
=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_
$ac_feature=no
;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir
=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir
=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_
$ac_feature=\
$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev
=exec_prefix
;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix
=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help
=long
;;
1202 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1203 ac_init_help
=recursive
;;
1204 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1205 ac_init_help
=short
;;
1207 -host | --host | --hos | --ho)
1208 ac_prev
=host_alias
;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias
=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir
=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev
=includedir
;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir
=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir
=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir
=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev
=libexecdir
;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir
=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev
=localedir
;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir
=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev
=localstatedir
;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir
=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir
=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev
=oldincludedir
;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir
=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix
=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev
=program_prefix
;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix
=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev
=program_suffix
;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix
=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev
=program_transform_name
;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name
=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir
=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir
=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev
=sharedstatedir
;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir
=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir
=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev
=sysconfdir
;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir
=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev
=target_alias
;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias
=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version
=: ;;
1376 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_
$ac_package=\
$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_
$ac_package=no
;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev
=x_includes
;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes
=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev
=x_libraries
;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries
=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\
$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val
=\$
$ac_var
1450 [\\/$
]* | ?
:[\\/]* ) continue;;
1451 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target
=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x
; then
1466 if test "x$build_alias" = x
; then
1467 cross_compiling
=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1478 test "$silent" = yes && exec 6>/dev
/null
1481 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di
=`ls -di .` &&
1483 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted
=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir
=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted
=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var
in $ac_precious_vars; do
1546 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1547 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1548 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1549 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are
in DIR
1618 --x-libraries=DIR X library files are
in DIR
1621 --build=BUILD configure
for building on BUILD
[guessed
]
1622 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1623 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1635 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1636 --disable-gui don
't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1669 --enable-universal_binary create Mac PowerPC and Intel Universal binary
(not yet working
)
1670 --enable-compat26 enable wxWidgets
2.6 compatibility
1671 --disable-compat28 disable wxWidgets
2.8 compatibility
1672 --disable-rpath disable use of rpath
for uninstalled builds
1673 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even
if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig
(and derived
) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP
(requires wxProtocol
1679 --enable-http use wxHTTP
(requires wxProtocol
1680 --enable-fileproto use wxFileProto class
(requires wxProtocol
1681 --enable-sockets use socket
/network classes
1682 --enable-ole use OLE classes
(Win32 only
)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication
(wxSocket etc.
)
1685 --enable-baseevtloop use event loop
in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class
(Linux only
)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding
/decoding functions
1691 --enable-backtrace use wxStackWalker class
for getting backtraces
1692 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class
for DLL loading
1698 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1699 --enable-exceptions build exception
-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual
file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP
/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support
in wxProtocol
1730 --enable-protocol-ftp FTP support
in wxProtocol
1731 --enable-protocol-file FILE support
in wxProtocol
1732 --enable-threads use threads
1733 --enable-iniconf use wxIniConfig
(Win32 only
)
1734 --enable-regkey use wxRegKey class
(Win32 only
)
1735 --enable-docview use document view architecture
1736 --enable-help use
help subsystem
1737 --enable-mshtmlhelp use MS HTML Help
(win32
)
1738 --enable-html use wxHTML sub
-library
1739 --enable-htmlhelp use wxHTML
-based help
1740 --enable-xrc use XRC resources sub
-library
1741 --enable-aui use AUI docking library
1742 --enable-stc use wxStyledTextCtrl library
1743 --enable-constraints use layout
-constraints system
1744 --enable-printarch use printing architecture
1745 --enable-mdi use multiple document interface architecture
1746 --enable-mdidoc use docview architecture with MDI
1747 --enable-loggui use standard GUI logger
1748 --enable-logwin use wxLogWindow
1749 --enable-logdialog use wxLogDialog
1750 --enable-webkit use wxWebKitCtrl
(Mac
)
1751 --enable-richtext use wxRichTextCtrl
1752 --enable-graphics_ctx use graphics context
2D drawing API
1753 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1754 --enable-svg use wxSVGFileDC device context
1755 --enable-clipboard use wxClipboard class
1756 --enable-dnd use Drag
'n'Drop classes
1757 --enable-metafile use win32 metafiles
1758 --disable-controls disable compilation of all standard controls
1759 --enable-accel use accelerators
1760 --enable-animatectrl use wxAnimationCtrl class
1761 --enable-button use wxButton class
1762 --enable-bmpbutton use wxBitmapButton class
1763 --enable-bmpcombobox use wxBitmapComboBox class
1764 --enable-calendar use wxCalendarCtrl class
1765 --enable-caret use wxCaret class
1766 --enable-checkbox use wxCheckBox class
1767 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1768 --enable-choice use wxChoice class
1769 --enable-choicebook use wxChoicebook class
1770 --enable-collpane use wxCollapsiblePane class
1771 --enable-colourpicker use wxColourPickerCtrl class
1772 --enable-combobox use wxComboBox class
1773 --enable-comboctrl use wxComboCtrl class
1774 --enable-datepick use wxDatePickerCtrl class
1775 --enable-dirpicker use wxDirPickerCtrl class
1776 --enable-display use wxDisplay class
1777 --enable-detect_sm use code to detect X11 session manager
1778 --enable-editablebox use wxEditableListBox class
1779 --enable-filepicker use wxFilePickerCtrl class
1780 --enable-fontpicker use wxFontPickerCtrl class
1781 --enable-gauge use wxGauge class
1782 --enable-grid use wxGrid class
1783 --enable-dataviewctrl use wxDataViewCtrl class
1784 --enable-hyperlink use wxHyperlinkCtrl class
1785 --enable-imaglist use wxImageList class
1786 --enable-listbook use wxListbook class
1787 --enable-listbox use wxListBox class
1788 --enable-listctrl use wxListCtrl class
1789 --enable-notebook use wxNotebook class
1790 --enable-odcombobox use wxOwnerDrawnComboBox class
1791 --enable-radiobox use wxRadioBox class
1792 --enable-radiobtn use wxRadioButton class
1793 --enable-sash use wxSashWindow class
1794 --enable-scrollbar use wxScrollBar class and scrollable windows
1795 --enable-searchctrl use wxSearchCtrl class
1796 --enable-slider use wxSlider class
1797 --enable-spinbtn use wxSpinButton class
1798 --enable-spinctrl use wxSpinCtrl class
1799 --enable-splitter use wxSplitterWindow class
1800 --enable-statbmp use wxStaticBitmap class
1801 --enable-statbox use wxStaticBox class
1802 --enable-statline use wxStaticLine class
1803 --enable-stattext use wxStaticText class
1804 --enable-statusbar use wxStatusBar class
1805 --enable-tabdialog use wxTabControl class
1806 --enable-taskbaricon use wxTaskBarIcon class
1807 --enable-textctrl use wxTextCtrl class
1808 --enable-togglebtn use wxToggleButton class
1809 --enable-toolbar use wxToolBar class
1810 --enable-tbarnative use native wxToolBar class
1811 --enable-treebook use wxTreebook class
1812 --enable-toolbook use wxToolbook class
1813 --enable-treectrl use wxTreeCtrl class
1814 --enable-tipwindow use wxTipWindow class
1815 --enable-popupwin use wxPopUpWindow class
1816 --enable-commondlg use all common dialogs
1817 --enable-aboutdlg use wxAboutBox
1818 --enable-choicedlg use wxChoiceDialog
1819 --enable-coldlg use wxColourDialog
1820 --enable-filedlg use wxFileDialog
1821 --enable-finddlg use wxFindReplaceDialog
1822 --enable-fontdlg use wxFontDialog
1823 --enable-dirdlg use wxDirDialog
1824 --enable-msgdlg use wxMessageDialog
1825 --enable-numberdlg use wxNumberEntryDialog
1826 --enable-splash use wxSplashScreen
1827 --enable-textdlg use wxTextDialog
1828 --enable-tipdlg use startup tips
1829 --enable-progressdlg use wxProgressDialog
1830 --enable-wizarddlg use wxWizard
1831 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1832 --enable-miniframe use wxMiniFrame class
1833 --enable-tooltips use wxToolTip class
1834 --enable-splines use spline drawing code
1835 --enable-mousewheel use mousewheel
1836 --enable-validators use wxValidator and derived classes
1837 --enable-busyinfo use wxBusyInfo
1838 --enable-joystick use wxJoystick
1839 --enable-metafiles use wxMetaFile
(Win32 only
)
1840 --enable-dragimage use wxDragImage
1841 --enable-accessibility enable accessibility support
1842 --enable-palette use wxPalette class
1843 --enable-image use wxImage class
1844 --enable-gif use gif images
(GIF
file format
)
1845 --enable-pcx use pcx images
(PCX
file format
)
1846 --enable-tga use tga images
(TGA
file format
)
1847 --enable-iff use iff images
(IFF
file format
)
1848 --enable-pnm use pnm images
(PNM
file format
)
1849 --enable-xpm use xpm images
(XPM
file format
)
1850 --enable-icocur use Windows ICO and CUR formats
1851 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1852 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1853 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1854 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1855 --enable-wxdib use wxDIB class
(Win32 only
)
1856 --disable-largefile omit support
for large files
1857 --disable-gtktest do not try to compile and run a
test GTK
+ program
1858 --disable-gtktest Do not try to compile and run a
test GTK program
1859 --disable-sdltest Do not try to compile and run a
test SDL program
1860 --enable-omf use OMF object format
(OS
/2)
1861 --disable-dependency-tracking
1862 don
't use dependency tracking even if the compiler
1864 --disable-precomp-headers
1865 don't use precompiled headers even
if compiler can
1868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1870 --without-subdirs don
't generate makefiles for samples/demos/...
1871 --with-flavour=NAME specify a name to identify this build
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1874 --with-motif use Motif/Lesstif
1875 --with-mac use Mac OS X
1876 --with-cocoa use Cocoa
1877 --with-wine use Wine
1878 --with-msw use MS-Windows
1879 --with-pm use OS/2 Presentation Manager
1880 --with-mgl use SciTech MGL
1881 --with-directfb use DirectFB
1882 --with-microwin use MicroWindows
1884 --with-libpng use libpng (PNG image format)
1885 --with-libjpeg use libjpeg (JPEG file format)
1886 --with-libtiff use libtiff (TIFF file format)
1887 --with-libxpm use libxpm (XPM file format)
1888 --with-libmspack use libmspack (CHM help files loading)
1889 --without-gnomeprint don't use GNOME printing libraries
1890 --with-gnomevfs use GNOME VFS
for associating MIME types
1891 --with-hildon use Hildon framework
for Nokia
770
1892 --with-opengl use OpenGL
(or Mesa
)
1893 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1894 --with-sdl use SDL
for audio on Unix
1895 --with-regex enable support
for wxRegEx class
1896 --with-zlib use zlib
for LZW compression
1897 --with-odbc use the IODBC and wxODBC classes
1898 --with-expat enable XML support using expat parser
1899 --with-macosx-sdk=PATH use an OS X SDK
at PATH
1900 --with-macosx-version-min=VER build binaries
which require
at least this OS X version
1901 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1902 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1903 --with-x use the X Window System
1904 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1905 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1906 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1907 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1908 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1910 Some influential environment variables
:
1911 CC C compiler
command
1912 CFLAGS C compiler flags
1913 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1914 nonstandard directory
<lib dir
>
1915 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1916 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1917 you have headers
in a nonstandard directory
<include dir
>
1919 CXX C
++ compiler
command
1920 CXXFLAGS C
++ compiler flags
1921 PKG_CONFIG path to pkg
-config utility
1923 C compiler flags
for DIRECTFB
, overriding pkg
-config
1925 linker flags
for DIRECTFB
, overriding pkg
-config
1926 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1928 C compiler flags
for PANGOX
, overriding pkg
-config
1929 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1931 C compiler flags
for PANGOFT2
, overriding pkg
-config
1933 linker flags
for PANGOFT2
, overriding pkg
-config
1935 C compiler flags
for PANGOXFT
, overriding pkg
-config
1937 linker flags
for PANGOXFT
, overriding pkg
-config
1938 LIBGNOMEPRINTUI_CFLAGS
1939 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1940 LIBGNOMEPRINTUI_LIBS
1941 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1943 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1945 linker flags
for GNOMEVFS
, overriding pkg
-config
1947 C compiler flags
for HILDON
, overriding pkg
-config
1948 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1950 C compiler flags
for CAIRO
, overriding pkg
-config
1951 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1952 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1953 GST_LIBS linker flags
for GST
, overriding pkg
-config
1955 Use these variables to override the choices made by
`configure' or to help
1956 it to find libraries and programs with nonstandard names/locations.
1958 Report bugs to <wx-dev@lists.wxwidgets.org>.
1963 if test "$ac_init_help" = "recursive"; then
1964 # If there are subdirs, report their specific --help.
1965 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1966 test -d "$ac_dir" || continue
1970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1972 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1973 # A ".." for each directory in $ac_dir_suffix.
1974 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1975 case $ac_top_builddir_sub in
1976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1980 ac_abs_top_builddir=$ac_pwd
1981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1982 # for backward compatibility:
1983 ac_top_builddir=$ac_top_build_prefix
1986 .) # We are building in place.
1988 ac_top_srcdir=$ac_top_builddir_sub
1989 ac_abs_top_srcdir=$ac_pwd ;;
1990 [\\/]* | ?:[\\/]* ) # Absolute name.
1991 ac_srcdir=$srcdir$ac_dir_suffix;
1992 ac_top_srcdir=$srcdir
1993 ac_abs_top_srcdir=$srcdir ;;
1995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1996 ac_top_srcdir=$ac_top_build_prefix$srcdir
1997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2001 cd "$ac_dir" || { ac_status=$?; continue; }
2002 # Check for guested configure.
2003 if test -f "$ac_srcdir/configure.gnu"; then
2005 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2006 elif test -f "$ac_srcdir/configure"; then
2008 $SHELL "$ac_srcdir/configure" --help=recursive
2010 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2012 cd "$ac_pwd" || { ac_status=$?; break; }
2016 test -n "$ac_init_help" && exit $ac_status
2017 if $ac_init_version; then
2019 wxWidgets configure 2.9.0
2020 generated by GNU Autoconf 2.61
2022 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2023 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2024 This configure script is free software; the Free Software Foundation
2025 gives unlimited permission to copy, distribute and modify it.
2029 cat >config.log <<_ACEOF
2030 This file contains any messages produced by compilers while
2031 running configure, to aid debugging if configure makes a mistake.
2033 It was created by wxWidgets $as_me 2.9.0, which was
2034 generated by GNU Autoconf 2.61. Invocation command line was
2046 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2047 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2048 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2049 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2050 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2052 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2053 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2055 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2056 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2057 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2058 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2059 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2060 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2061 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 test -z "$as_dir" && as_dir=.
2070 echo "PATH: $as_dir"
2086 # Keep a trace of the command line.
2087 # Strip out --no-create and --no-recursion so they do not pile up.
2088 # Strip out --silent because we don't want to record it for future runs.
2089 # Also quote any args containing shell meta-characters.
2090 # Make two passes to allow for proper duplicate-argument suppression.
2094 ac_must_keep_next=false
2100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2102 | -silent | --silent | --silen | --sile | --sil)
2105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2111 if test $ac_must_keep_next = true; then
2112 ac_must_keep_next=false # Got value, back to normal.
2115 *=* | --config-cache | -C | -disable-* | --disable-* \
2116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2118 | -with-* | --with-* | -without-* | --without-* | --x)
2119 case "$ac_configure_args0 " in
2120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2123 -* ) ac_must_keep_next=true ;;
2126 ac_configure_args="$ac_configure_args '$ac_arg'"
2131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2134 # When interrupted or exit'd, cleanup temporary files, and complete
2135 # config.log. We remove comments because anyway the quotes in there
2136 # would cause problems or look ugly.
2137 # WARNING: Use '\'' to represent an apostrophe within the trap.
2138 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2139 trap 'exit_status=$?
2140 # Save into config.log some information that might help in debugging.
2145 ## ---------------- ##
2146 ## Cache variables. ##
2147 ## ---------------- ##
2150 # The following way of writing the cache mishandles newlines in values,
2152 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2153 eval ac_val=\$$ac_var
2157 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2158 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2161 _ | IFS | as_nl) ;; #(
2162 *) $as_unset $ac_var ;;
2167 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2168 *${as_nl}ac_space=\ *)
2170 "s/'\''/'\''\\\\'\'''\''/g;
2171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2182 ## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##
2187 for ac_var in $ac_subst_vars
2189 eval ac_val=\$$ac_var
2191 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2193 echo "$ac_var='\''$ac_val'\''"
2197 if test -n "$ac_subst_files"; then
2199 ## ------------------- ##
2200 ## File substitutions. ##
2201 ## ------------------- ##
2204 for ac_var in $ac_subst_files
2206 eval ac_val=\$$ac_var
2208 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2210 echo "$ac_var='\''$ac_val'\''"
2215 if test -s confdefs.h; then
2225 test "$ac_signal" != 0 &&
2226 echo "$as_me: caught signal $ac_signal"
2227 echo "$as_me: exit $exit_status"
2229 rm -f core *.core core.conftest.* &&
2230 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2233 for ac_signal in 1 2 13 15; do
2234 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2238 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2239 rm -f -r conftest* confdefs.h
2241 # Predefined preprocessor variables.
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_NAME "$PACKAGE_NAME"
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_STRING "$PACKAGE_STRING"
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer explicitly selected file to automatically selected ones.
2270 if test -n "$CONFIG_SITE"; then
2271 set x "$CONFIG_SITE"
2272 elif test "x$prefix" != xNONE; then
2273 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2275 set x "$ac_default_prefix/share/config.site" \
2276 "$ac_default_prefix/etc/config.site"
2281 if test -r "$ac_site_file"; then
2282 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2283 echo "$as_me: loading site script $ac_site_file" >&6;}
2284 sed 's/^/| /' "$ac_site_file" >&5
2289 if test -r "$cache_file"; then
2290 # Some versions of bash will fail to source /dev/null (special
2291 # files actually), so we avoid doing that.
2292 if test -f "$cache_file"; then
2293 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2294 echo "$as_me: loading cache $cache_file" >&6;}
2296 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297 *) . "./$cache_file";;
2301 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2302 echo "$as_me: creating cache $cache_file" >&6;}
2306 # Check that the precious variables saved in the cache have kept the same
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311 eval ac_new_set=\$ac_env_${ac_var}_set
2312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313 eval ac_new_val=\$ac_env_${ac_var}_value
2314 case $ac_old_set,$ac_new_set in
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2317 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2320 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2321 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2325 if test "x$ac_old_val" != "x$ac_new_val"; then
2326 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2327 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2328 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2329 echo "$as_me: former value
: $ac_old_val" >&2;}
2330 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2331 echo "$as_me: current value
: $ac_new_val" >&2;}
2332 ac_cache_corrupted=:
2335 # Pass precious variables to config.status.
2336 if test "$ac_new_set" = set; then
2338 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2339 *) ac_arg=$ac_var=$ac_new_val ;;
2341 case " $ac_configure_args " in
2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2343 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2347 if $ac_cache_corrupted; then
2348 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2349 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2350 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2351 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2352 { (exit 1); exit 1; }; }
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2390 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2391 if test -f "$ac_dir/install-sh"; then
2393 ac_install_sh="$ac_aux_dir/install-sh -c"
2395 elif test -f "$ac_dir/install.sh"; then
2397 ac_install_sh="$ac_aux_dir/install.sh -c"
2399 elif test -f "$ac_dir/shtool"; then
2401 ac_install_sh="$ac_aux_dir/shtool install -c"
2405 if test -z "$ac_aux_dir"; then
2406 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2407 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2408 { (exit 1); exit 1; }; }
2411 # These three variables are undocumented and unsupported,
2412 # and are intended to be withdrawn in a future Autoconf release.
2413 # They can cause serious problems if a builder's source tree is in a directory
2414 # whose full name contains unusual characters.
2415 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2416 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2417 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2420 # Make sure we can run config.sub.
2421 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2422 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2423 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2424 { (exit 1); exit 1; }; }
2426 { echo "$as_me:$LINENO: checking build system type" >&5
2427 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2428 if test "${ac_cv_build+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 ac_build_alias=$build_alias
2432 test "x$ac_build_alias" = x &&
2433 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2434 test "x$ac_build_alias" = x &&
2435 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2437 { (exit 1); exit 1; }; }
2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2444 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2445 echo "${ECHO_T}$ac_cv_build" >&6; }
2446 case $ac_cv_build in
2448 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2449 echo "$as_me: error: invalid value of canonical build" >&2;}
2450 { (exit 1); exit 1; }; };;
2453 ac_save_IFS=$IFS; IFS='-'
2459 # Remember, the first character of IFS is used to create $*,
2460 # except with old shells:
2463 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2466 { echo "$as_me:$LINENO: checking host system type" >&5
2467 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2468 if test "${ac_cv_host+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 if test "x$host_alias" = x; then
2472 ac_cv_host=$ac_cv_build
2474 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2481 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2482 echo "${ECHO_T}$ac_cv_host" >&6; }
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2486 echo "$as_me: error: invalid value of canonical host" >&2;}
2487 { (exit 1); exit 1; }; };;
2490 ac_save_IFS=$IFS; IFS='-'
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2503 { echo "$as_me:$LINENO: checking target system type" >&5
2504 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_target+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test "x$target_alias" = x; then
2509 ac_cv_target=$ac_cv_host
2511 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2518 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2519 echo "${ECHO_T}$ac_cv_target" >&6; }
2520 case $ac_cv_target in
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2523 echo "$as_me: error: invalid value of canonical target" >&2;}
2524 { (exit 1); exit 1; }; };;
2526 target=$ac_cv_target
2527 ac_save_IFS=$IFS; IFS='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2540 # The aliases save the names the user supplied, while $host etc.
2541 # will get canonicalized.
2542 test -n "$target_alias" &&
2543 test "$program_prefix$program_suffix$program_transform_name" = \
2545 program_prefix=${target_alias}-
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2552 wx_subrelease_number=0
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2561 wx_top_builddir="`pwd`"
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2588 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2590 DEFAULT_wxUSE_COCOA=0
2594 DEFAULT_wxUSE_MICROWIN=0
2595 DEFAULT_wxUSE_MOTIF=0
2601 DEFAULT_DEFAULT_wxUSE_COCOA=0
2602 DEFAULT_DEFAULT_wxUSE_GTK=0
2603 DEFAULT_DEFAULT_wxUSE_MAC=0
2604 DEFAULT_DEFAULT_wxUSE_MGL=0
2605 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2607 DEFAULT_DEFAULT_wxUSE_MSW=0
2608 DEFAULT_DEFAULT_wxUSE_PM=0
2609 DEFAULT_DEFAULT_wxUSE_X11=0
2610 DEFAULT_DEFAULT_wxUSE_DFB=0
2615 SAMPLES_RPATH_POSTLINK=
2617 DEFAULT_STD_FLAG=yes
2622 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2625 cat >>confdefs.h <<\_ACEOF
2630 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2634 cat >>confdefs.h <<\_ACEOF
2639 if test "x$TMP" = "xalpha"; then
2641 cat >>confdefs.h <<\_ACEOF
2646 DEFAULT_DEFAULT_wxUSE_GTK=1
2648 *-*-gnu* | *-*-k*bsd*-gnu )
2651 if test "x$TMP" = "xalpha"; then
2653 cat >>confdefs.h <<\_ACEOF
2658 DEFAULT_DEFAULT_wxUSE_GTK=1
2660 *-*-irix5* | *-*-irix6* )
2663 cat >>confdefs.h <<\_ACEOF
2667 cat >>confdefs.h <<\_ACEOF
2671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2677 cat >>confdefs.h <<\_ACEOF
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SOLARIS__ 1
2685 cat >>confdefs.h <<\_ACEOF
2689 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2690 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2696 cat >>confdefs.h <<\_ACEOF
2700 cat >>confdefs.h <<\_ACEOF
2704 cat >>confdefs.h <<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __FREEBSD__ 1
2717 cat >>confdefs.h <<\_ACEOF
2721 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 *-*-openbsd*|*-*-mirbsd*)
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __OPENBSD__ 1
2730 cat >>confdefs.h <<\_ACEOF
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __NETBSD__ 1
2743 cat >>confdefs.h <<\_ACEOF
2747 DEFAULT_DEFAULT_wxUSE_GTK=1
2748 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2750 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2755 cat >>confdefs.h <<\_ACEOF
2759 cat >>confdefs.h <<\_ACEOF
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2769 cat >>confdefs.h <<\_ACEOF
2773 cat >>confdefs.h <<\_ACEOF
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 cat >>confdefs.h <<\_ACEOF
2786 cat >>confdefs.h <<\_ACEOF
2790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2797 cat >>confdefs.h <<\_ACEOF
2801 cat >>confdefs.h <<\_ACEOF
2805 cat >>confdefs.h <<\_ACEOF
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2822 *-*-cygwin* | *-*-mingw32* )
2825 DEFAULT_DEFAULT_wxUSE_MSW=1
2831 cat >>confdefs.h <<\_ACEOF
2836 DEFAULT_DEFAULT_wxUSE_MGL=1
2839 *-pc-os2_emx | *-pc-os2-emx )
2840 cat >>confdefs.h <<\_ACEOF
2845 cat >>confdefs.h <<\_ACEOF
2850 DEFAULT_DEFAULT_wxUSE_PM=1
2852 LDFLAGS="$LDFLAGS -Zcrtdll"
2853 ac_executable_extensions=".exe"
2854 export ac_executable_extensions
2858 for ac_dir in $PATH; do
2860 if test -z "$ac_TEMP_PATH"; then
2861 ac_TEMP_PATH="$ac_dir"
2863 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2866 export PATH="$ac_TEMP_PATH"
2875 cat >>confdefs.h <<\_ACEOF
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __DARWIN__ 1
2883 cat >>confdefs.h <<\_ACEOF
2884 #define TARGET_CARBON 1
2887 DEFAULT_DEFAULT_wxUSE_MAC=1
2890 powerpc-apple-macos* )
2892 ac_cv_c_bigendian=yes
2894 DEFAULT_DEFAULT_wxUSE_MAC=1
2900 cat >>confdefs.h <<\_ACEOF
2907 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2908 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2909 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2910 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2912 DEFAULT_DEFAULT_wxUSE_X11=1
2913 DEFAULT_wxUSE_SHARED=no
2919 wx_arg_cache_file="configarg.cache"
2920 echo "loading argument cache $wx_arg_cache_file"
2921 rm -f ${wx_arg_cache_file}.tmp
2922 touch ${wx_arg_cache_file}.tmp
2923 touch ${wx_arg_cache_file}
2926 DEFAULT_wxUSE_ALL_FEATURES=yes
2928 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2931 DEFAULT_wxUSE_DMALLOC=no
2932 DEFAULT_wxUSE_LIBGNOMEVFS=no
2933 DEFAULT_wxUSE_LIBHILDON=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2939 DEFAULT_wxUSE_ACCESSIBILITY=no
2940 DEFAULT_wxUSE_DATAVIEWCTRL=no
2941 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2942 DEFAULT_wxUSE_MEDIACTRL=no
2943 DEFAULT_wxUSE_TAB_DIALOG=no
2945 DEFAULT_wxUSE_UNICODE_UTF8=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2952 DEFAULT_wxUSE_GTK2=yes
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2957 for toolkit in `echo $ALL_TOOLKITS`; do
2958 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 has_toolkit_in_cache=1
2961 eval "DEFAULT_$LINE"
2962 eval "CACHE_$toolkit=1"
2964 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2965 if test "x$LINE" != "x" ; then
2966 eval "DEFAULT_$LINE"
2975 enablestring=disable
2977 if test -z "$defaultval"; then
2978 if test x"$enablestring" = xdisable; then
2985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2986 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2987 # Check whether --enable-gui was given.
2988 if test "${enable_gui+set}" = set; then
2989 enableval=$enable_gui;
2990 if test "$enableval" = yes; then
2991 wx_cv_use_gui='wxUSE_GUI=yes'
2993 wx_cv_use_gui='wxUSE_GUI=no'
2999 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x ; then
3001 eval "DEFAULT_$LINE"
3007 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3012 eval "$wx_cv_use_gui"
3013 if test "x$cache" = xyes; then
3014 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_GUI = yes; then
3027 { echo "$as_me:$LINENO: result: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3042 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3043 # Check whether --enable-monolithic was given.
3044 if test "${enable_monolithic+set}" = set; then
3045 enableval=$enable_monolithic;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3055 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x ; then
3057 eval "DEFAULT_$LINE"
3063 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3068 eval "$wx_cv_use_monolithic"
3069 if test "x$cache" = xyes; then
3070 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3073 if test x"$enablestring" = xdisable; then
3074 if test $wxUSE_MONOLITHIC = yes; then
3080 result=$wxUSE_MONOLITHIC
3083 { echo "$as_me:$LINENO: result: $result" >&5
3084 echo "${ECHO_T}$result" >&6; }
3089 if test -z "$defaultval"; then
3090 if test x"$enablestring" = xdisable; then
3097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3098 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3099 # Check whether --enable-plugins was given.
3100 if test "${enable_plugins+set}" = set; then
3101 enableval=$enable_plugins;
3102 if test "$enableval" = yes; then
3103 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3105 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3111 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x ; then
3113 eval "DEFAULT_$LINE"
3119 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3124 eval "$wx_cv_use_plugins"
3125 if test "x$cache" = xyes; then
3126 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3129 if test x"$enablestring" = xdisable; then
3130 if test $wxUSE_PLUGINS = yes; then
3136 result=$wxUSE_PLUGINS
3139 { echo "$as_me:$LINENO: result: $result" >&5
3140 echo "${ECHO_T}$result" >&6; }
3144 defaultval=$wxUSE_ALL_FEATURES
3145 if test -z "$defaultval"; then
3146 if test x"$withstring" = xwithout; then
3152 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3153 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3155 # Check whether --with-subdirs was given.
3156 if test "${with_subdirs+set}" = set; then
3157 withval=$with_subdirs;
3158 if test "$withval" = yes; then
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3161 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3167 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x ; then
3169 eval "DEFAULT_$LINE"
3175 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3180 eval "$wx_cv_use_subdirs"
3181 if test "x$cache" = xyes; then
3182 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3185 if test x"$withstring" = xwithout; then
3186 if test $wxWITH_SUBDIRS = yes; then
3192 result=$wxWITH_SUBDIRS
3195 { echo "$as_me:$LINENO: result: $result" >&5
3196 echo "${ECHO_T}$result" >&6; }
3199 # Check whether --with-flavour was given.
3200 if test "${with_flavour+set}" = set; then
3201 withval=$with_flavour; WX_FLAVOUR="$withval"
3207 if test -z "$defaultval"; then
3208 if test x"$enablestring" = xdisable; then
3215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3216 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3217 # Check whether --enable-official_build was given.
3218 if test "${enable_official_build+set}" = set; then
3219 enableval=$enable_official_build;
3220 if test "$enableval" = yes; then
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3223 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3229 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3237 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3242 eval "$wx_cv_use_official_build"
3243 if test "x$cache" = xyes; then
3244 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3247 if test x"$enablestring" = xdisable; then
3248 if test $wxUSE_OFFICIAL_BUILD = yes; then
3254 result=$wxUSE_OFFICIAL_BUILD
3257 { echo "$as_me:$LINENO: result: $result" >&5
3258 echo "${ECHO_T}$result" >&6; }
3260 # Check whether --enable-vendor was given.
3261 if test "${enable_vendor+set}" = set; then
3262 enableval=$enable_vendor; VENDOR="$enableval"
3265 if test "x$VENDOR" = "x"; then
3270 enablestring=disable
3272 if test -z "$defaultval"; then
3273 if test x"$enablestring" = xdisable; then
3280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3281 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3282 # Check whether --enable-all-features was given.
3283 if test "${enable_all_features+set}" = set; then
3284 enableval=$enable_all_features;
3285 if test "$enableval" = yes; then
3286 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3288 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3294 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3302 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3307 eval "$wx_cv_use_all_features"
3308 if test "x$cache" = xyes; then
3309 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3312 if test x"$enablestring" = xdisable; then
3313 if test $wxUSE_ALL_FEATURES = yes; then
3319 result=$wxUSE_ALL_FEATURES
3322 { echo "$as_me:$LINENO: result: $result" >&5
3323 echo "${ECHO_T}$result" >&6; }
3327 if test "$wxUSE_GUI" = "yes"; then
3332 if test -z "$defaultval"; then
3333 if test x"$enablestring" = xdisable; then
3340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3341 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3342 # Check whether --enable-universal was given.
3343 if test "${enable_universal+set}" = set; then
3344 enableval=$enable_universal;
3345 if test "$enableval" = yes; then
3346 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3348 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3354 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3362 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3367 eval "$wx_cv_use_universal"
3368 if test "x$cache" = xyes; then
3369 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3372 if test x"$enablestring" = xdisable; then
3373 if test $wxUSE_UNIVERSAL = yes; then
3379 result=$wxUSE_UNIVERSAL
3382 { echo "$as_me:$LINENO: result: $result" >&5
3383 echo "${ECHO_T}$result" >&6; }
3385 if test "$wxUSE_UNIVERSAL" = "yes"; then
3387 # Check whether --with-themes was given.
3388 if test "${with_themes+set}" = set; then
3389 withval=$with_themes; wxUNIV_THEMES="$withval"
3395 # Check whether --with-gtk was given.
3396 if test "${with_gtk+set}" = set; then
3397 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3401 # Check whether --with-motif was given.
3402 if test "${with_motif+set}" = set; then
3403 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3407 # Check whether --with-mac was given.
3408 if test "${with_mac+set}" = set; then
3409 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-cocoa was given.
3414 if test "${with_cocoa+set}" = set; then
3415 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-wine was given.
3420 if test "${with_wine+set}" = set; then
3421 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3425 # Check whether --with-msw was given.
3426 if test "${with_msw+set}" = set; then
3427 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-pm was given.
3432 if test "${with_pm+set}" = set; then
3433 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-mgl was given.
3438 if test "${with_mgl+set}" = set; then
3439 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3443 # Check whether --with-directfb was given.
3444 if test "${with_directfb+set}" = set; then
3445 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3449 # Check whether --with-microwin was given.
3450 if test "${with_microwin+set}" = set; then
3451 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3455 # Check whether --with-x11 was given.
3456 if test "${with_x11+set}" = set; then
3457 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3463 if test -z "$defaultval"; then
3464 if test x"$enablestring" = xdisable; then
3471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3473 # Check whether --enable-nanox was given.
3474 if test "${enable_nanox+set}" = set; then
3475 enableval=$enable_nanox;
3476 if test "$enableval" = yes; then
3477 wx_cv_use_nanox='wxUSE_NANOX=yes'
3479 wx_cv_use_nanox='wxUSE_NANOX=no'
3485 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x ; then
3487 eval "DEFAULT_$LINE"
3493 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3498 eval "$wx_cv_use_nanox"
3499 if test "x$cache" = xyes; then
3500 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3503 if test x"$enablestring" = xdisable; then
3504 if test $wxUSE_NANOX = yes; then
3513 { echo "$as_me:$LINENO: result: $result" >&5
3514 echo "${ECHO_T}$result" >&6; }
3517 # Check whether --enable-gtk2 was given.
3518 if test "${enable_gtk2+set}" = set; then
3519 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3525 if test -z "$defaultval"; then
3526 if test x"$enablestring" = xdisable; then
3533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3535 # Check whether --enable-gpe was given.
3536 if test "${enable_gpe+set}" = set; then
3537 enableval=$enable_gpe;
3538 if test "$enableval" = yes; then
3539 wx_cv_use_gpe='wxUSE_GPE=yes'
3541 wx_cv_use_gpe='wxUSE_GPE=no'
3547 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x ; then
3549 eval "DEFAULT_$LINE"
3555 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3560 eval "$wx_cv_use_gpe"
3561 if test "x$cache" = xyes; then
3562 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3565 if test x"$enablestring" = xdisable; then
3566 if test $wxUSE_GPE = yes; then
3575 { echo "$as_me:$LINENO: result: $result" >&5
3576 echo "${ECHO_T}$result" >&6; }
3581 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3582 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3584 # Check whether --with-libpng was given.
3585 if test "${with_libpng+set}" = set; then
3586 withval=$with_libpng;
3587 if test "$withval" = yes; then
3588 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3589 elif test "$withval" = no; then
3590 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3591 elif test "$withval" = sys; then
3592 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3593 elif test "$withval" = builtin; then
3594 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3596 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3597 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3598 { (exit 1); exit 1; }; }
3604 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x ; then
3606 eval "DEFAULT_$LINE"
3612 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3617 eval "$wx_cv_use_libpng"
3618 if test "x$cache" = xyes; then
3619 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3622 if test "$wxUSE_LIBPNG" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBPNG" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBPNG" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBPNG" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3641 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3642 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3644 # Check whether --with-libjpeg was given.
3645 if test "${with_libjpeg+set}" = set; then
3646 withval=$with_libjpeg;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3664 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3672 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3677 eval "$wx_cv_use_libjpeg"
3678 if test "x$cache" = xyes; then
3679 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3682 if test "$wxUSE_LIBJPEG" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBJPEG" = no; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBJPEG" = sys; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBJPEG" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3701 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3702 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3704 # Check whether --with-libtiff was given.
3705 if test "${with_libtiff+set}" = set; then
3706 withval=$with_libtiff;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3724 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3732 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3737 eval "$wx_cv_use_libtiff"
3738 if test "x$cache" = xyes; then
3739 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3742 if test "$wxUSE_LIBTIFF" = yes; then
3743 { echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6; }
3745 elif test "$wxUSE_LIBTIFF" = no; then
3746 { echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6; }
3748 elif test "$wxUSE_LIBTIFF" = sys; then
3749 { echo "$as_me:$LINENO: result: system version" >&5
3750 echo "${ECHO_T}system version" >&6; }
3751 elif test "$wxUSE_LIBTIFF" = builtin; then
3752 { echo "$as_me:$LINENO: result: builtin version" >&5
3753 echo "${ECHO_T}builtin version" >&6; }
3755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3756 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3757 { (exit 1); exit 1; }; }
3761 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3762 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3764 # Check whether --with-libxpm was given.
3765 if test "${with_libxpm+set}" = set; then
3766 withval=$with_libxpm;
3767 if test "$withval" = yes; then
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3769 elif test "$withval" = no; then
3770 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3771 elif test "$withval" = sys; then
3772 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3773 elif test "$withval" = builtin; then
3774 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3784 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x ; then
3786 eval "DEFAULT_$LINE"
3792 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3797 eval "$wx_cv_use_libxpm"
3798 if test "x$cache" = xyes; then
3799 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3802 if test "$wxUSE_LIBXPM" = yes; then
3803 { echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6; }
3805 elif test "$wxUSE_LIBXPM" = no; then
3806 { echo "$as_me:$LINENO: result: no" >&5
3807 echo "${ECHO_T}no" >&6; }
3808 elif test "$wxUSE_LIBXPM" = sys; then
3809 { echo "$as_me:$LINENO: result: system version" >&5
3810 echo "${ECHO_T}system version" >&6; }
3811 elif test "$wxUSE_LIBXPM" = builtin; then
3812 { echo "$as_me:$LINENO: result: builtin version" >&5
3813 echo "${ECHO_T}builtin version" >&6; }
3815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3816 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3817 { (exit 1); exit 1; }; }
3822 defaultval=$wxUSE_ALL_FEATURES
3823 if test -z "$defaultval"; then
3824 if test x"$withstring" = xwithout; then
3830 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3831 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3833 # Check whether --with-libmspack was given.
3834 if test "${with_libmspack+set}" = set; then
3835 withval=$with_libmspack;
3836 if test "$withval" = yes; then
3837 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3839 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3845 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x ; then
3847 eval "DEFAULT_$LINE"
3853 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3858 eval "$wx_cv_use_libmspack"
3859 if test "x$cache" = xyes; then
3860 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_LIBMSPACK = yes; then
3870 result=$wxUSE_LIBMSPACK
3873 { echo "$as_me:$LINENO: result: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3886 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3887 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3889 # Check whether --with-gnomeprint was given.
3890 if test "${with_gnomeprint+set}" = set; then
3891 withval=$with_gnomeprint;
3892 if test "$withval" = yes; then
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3901 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3909 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3914 eval "$wx_cv_use_gnomeprint"
3915 if test "x$cache" = xyes; then
3916 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3919 if test x"$withstring" = xwithout; then
3920 if test $wxUSE_LIBGNOMEPRINT = yes; then
3926 result=$wxUSE_LIBGNOMEPRINT
3929 { echo "$as_me:$LINENO: result: $result" >&5
3930 echo "${ECHO_T}$result" >&6; }
3934 defaultval=$wxUSE_ALL_FEATURES
3935 if test -z "$defaultval"; then
3936 if test x"$withstring" = xwithout; then
3942 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3943 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3945 # Check whether --with-gnomevfs was given.
3946 if test "${with_gnomevfs+set}" = set; then
3947 withval=$with_gnomevfs;
3948 if test "$withval" = yes; then
3949 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3951 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3957 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3965 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3970 eval "$wx_cv_use_gnomevfs"
3971 if test "x$cache" = xyes; then
3972 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3975 if test x"$withstring" = xwithout; then
3976 if test $wxUSE_LIBGNOMEVFS = yes; then
3982 result=$wxUSE_LIBGNOMEVFS
3985 { echo "$as_me:$LINENO: result: $result" >&5
3986 echo "${ECHO_T}$result" >&6; }
3990 defaultval=$wxUSE_ALL_FEATURES
3991 if test -z "$defaultval"; then
3992 if test x"$withstring" = xwithout; then
3998 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3999 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4001 # Check whether --with-hildon was given.
4002 if test "${with_hildon+set}" = set; then
4003 withval=$with_hildon;
4004 if test "$withval" = yes; then
4005 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4007 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4013 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4021 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4026 eval "$wx_cv_use_hildon"
4027 if test "x$cache" = xyes; then
4028 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4031 if test x"$withstring" = xwithout; then
4032 if test $wxUSE_LIBHILDON = yes; then
4038 result=$wxUSE_LIBHILDON
4041 { echo "$as_me:$LINENO: result: $result" >&5
4042 echo "${ECHO_T}$result" >&6; }
4046 defaultval=$wxUSE_ALL_FEATURES
4047 if test -z "$defaultval"; then
4048 if test x"$withstring" = xwithout; then
4054 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4055 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4057 # Check whether --with-opengl was given.
4058 if test "${with_opengl+set}" = set; then
4059 withval=$with_opengl;
4060 if test "$withval" = yes; then
4061 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4063 wx_cv_use_opengl='wxUSE_OPENGL=no'
4069 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4077 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4082 eval "$wx_cv_use_opengl"
4083 if test "x$cache" = xyes; then
4084 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4087 if test x"$withstring" = xwithout; then
4088 if test $wxUSE_OPENGL = yes; then
4094 result=$wxUSE_OPENGL
4097 { echo "$as_me:$LINENO: result: $result" >&5
4098 echo "${ECHO_T}$result" >&6; }
4105 defaultval=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x"$withstring" = xwithout; then
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4116 # Check whether --with-dmalloc was given.
4117 if test "${with_dmalloc+set}" = set; then
4118 withval=$with_dmalloc;
4119 if test "$withval" = yes; then
4120 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4122 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4128 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4129 if test "x$LINE" != x ; then
4130 eval "DEFAULT_$LINE"
4136 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4141 eval "$wx_cv_use_dmalloc"
4142 if test "x$cache" = xyes; then
4143 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4146 if test x"$withstring" = xwithout; then
4147 if test $wxUSE_DMALLOC = yes; then
4153 result=$wxUSE_DMALLOC
4156 { echo "$as_me:$LINENO: result: $result" >&5
4157 echo "${ECHO_T}$result" >&6; }
4161 defaultval=$wxUSE_ALL_FEATURES
4162 if test -z "$defaultval"; then
4163 if test x"$withstring" = xwithout; then
4169 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4170 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4172 # Check whether --with-sdl was given.
4173 if test "${with_sdl+set}" = set; then
4175 if test "$withval" = yes; then
4176 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4178 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4184 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x ; then
4186 eval "DEFAULT_$LINE"
4192 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4197 eval "$wx_cv_use_sdl"
4198 if test "x$cache" = xyes; then
4199 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4202 if test x"$withstring" = xwithout; then
4203 if test $wxUSE_LIBSDL = yes; then
4209 result=$wxUSE_LIBSDL
4212 { echo "$as_me:$LINENO: result: $result" >&5
4213 echo "${ECHO_T}$result" >&6; }
4216 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4217 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4219 # Check whether --with-regex was given.
4220 if test "${with_regex+set}" = set; then
4221 withval=$with_regex;
4222 if test "$withval" = yes; then
4223 wx_cv_use_regex='wxUSE_REGEX=yes'
4224 elif test "$withval" = no; then
4225 wx_cv_use_regex='wxUSE_REGEX=no'
4226 elif test "$withval" = sys; then
4227 wx_cv_use_regex='wxUSE_REGEX=sys'
4228 elif test "$withval" = builtin; then
4229 wx_cv_use_regex='wxUSE_REGEX=builtin'
4231 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4232 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4239 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4247 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4252 eval "$wx_cv_use_regex"
4253 if test "x$cache" = xyes; then
4254 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4257 if test "$wxUSE_REGEX" = yes; then
4258 { echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6; }
4260 elif test "$wxUSE_REGEX" = no; then
4261 { echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6; }
4263 elif test "$wxUSE_REGEX" = sys; then
4264 { echo "$as_me:$LINENO: result: system version" >&5
4265 echo "${ECHO_T}system version" >&6; }
4266 elif test "$wxUSE_REGEX" = builtin; then
4267 { echo "$as_me:$LINENO: result: builtin version" >&5
4268 echo "${ECHO_T}builtin version" >&6; }
4270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4272 { (exit 1); exit 1; }; }
4276 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4277 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4279 # Check whether --with-zlib was given.
4280 if test "${with_zlib+set}" = set; then
4282 if test "$withval" = yes; then
4283 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4284 elif test "$withval" = no; then
4285 wx_cv_use_zlib='wxUSE_ZLIB=no'
4286 elif test "$withval" = sys; then
4287 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4288 elif test "$withval" = builtin; then
4289 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4291 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4292 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4299 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x ; then
4301 eval "DEFAULT_$LINE"
4307 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4312 eval "$wx_cv_use_zlib"
4313 if test "x$cache" = xyes; then
4314 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4317 if test "$wxUSE_ZLIB" = yes; then
4318 { echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6; }
4320 elif test "$wxUSE_ZLIB" = no; then
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4323 elif test "$wxUSE_ZLIB" = sys; then
4324 { echo "$as_me:$LINENO: result: system version" >&5
4325 echo "${ECHO_T}system version" >&6; }
4326 elif test "$wxUSE_ZLIB" = builtin; then
4327 { echo "$as_me:$LINENO: result: builtin version" >&5
4328 echo "${ECHO_T}builtin version" >&6; }
4330 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4331 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4332 { (exit 1); exit 1; }; }
4336 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4337 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4339 # Check whether --with-odbc was given.
4340 if test "${with_odbc+set}" = set; then
4342 if test "$withval" = yes; then
4343 wx_cv_use_odbc='wxUSE_ODBC=yes'
4344 elif test "$withval" = no; then
4345 wx_cv_use_odbc='wxUSE_ODBC=no'
4346 elif test "$withval" = sys; then
4347 wx_cv_use_odbc='wxUSE_ODBC=sys'
4348 elif test "$withval" = builtin; then
4349 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4351 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4352 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4353 { (exit 1); exit 1; }; }
4359 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x ; then
4361 eval "DEFAULT_$LINE"
4367 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4372 eval "$wx_cv_use_odbc"
4373 if test "x$cache" = xyes; then
4374 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_ODBC" = yes; then
4378 { echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6; }
4380 elif test "$wxUSE_ODBC" = no; then
4381 { echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6; }
4383 elif test "$wxUSE_ODBC" = sys; then
4384 { echo "$as_me:$LINENO: result: system version" >&5
4385 echo "${ECHO_T}system version" >&6; }
4386 elif test "$wxUSE_ODBC" = builtin; then
4387 { echo "$as_me:$LINENO: result: builtin version" >&5
4388 echo "${ECHO_T}builtin version" >&6; }
4390 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4391 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4392 { (exit 1); exit 1; }; }
4396 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4397 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4399 # Check whether --with-expat was given.
4400 if test "${with_expat+set}" = set; then
4401 withval=$with_expat;
4402 if test "$withval" = yes; then
4403 wx_cv_use_expat='wxUSE_EXPAT=yes'
4404 elif test "$withval" = no; then
4405 wx_cv_use_expat='wxUSE_EXPAT=no'
4406 elif test "$withval" = sys; then
4407 wx_cv_use_expat='wxUSE_EXPAT=sys'
4408 elif test "$withval" = builtin; then
4409 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4411 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4412 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4413 { (exit 1); exit 1; }; }
4419 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4427 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4432 eval "$wx_cv_use_expat"
4433 if test "x$cache" = xyes; then
4434 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4437 if test "$wxUSE_EXPAT" = yes; then
4438 { echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6; }
4440 elif test "$wxUSE_EXPAT" = no; then
4441 { echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6; }
4443 elif test "$wxUSE_EXPAT" = sys; then
4444 { echo "$as_me:$LINENO: result: system version" >&5
4445 echo "${ECHO_T}system version" >&6; }
4446 elif test "$wxUSE_EXPAT" = builtin; then
4447 { echo "$as_me:$LINENO: result: builtin version" >&5
4448 echo "${ECHO_T}builtin version" >&6; }
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; }; }
4456 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4457 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4459 # Check whether --with-macosx-sdk was given.
4460 if test "${with_macosx_sdk+set}" = set; then
4461 withval=$with_macosx_sdk;
4462 wxUSE_MACOSX_SDK=$withval
4463 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4464 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4468 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4469 # will override --enable-universal_binary's automatic SDK usage.
4471 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x ; then
4474 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4479 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4480 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4482 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4483 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4485 # Check whether --with-macosx-version-min was given.
4486 if test "${with_macosx_version_min+set}" = set; then
4487 withval=$with_macosx_version_min;
4488 wxUSE_MACOSX_VERSION_MIN=$withval
4489 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4490 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4494 # default "yes" because when not using an SDK it means the same as no
4495 # but when using an SDK it means to use the SDK version
4496 wxUSE_MACOSX_VERSION_MIN=yes
4497 # See if there is a value in the cache
4498 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4501 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4506 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4507 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4511 enablestring=disable
4513 if test -z "$defaultval"; then
4514 if test x"$enablestring" = xdisable; then
4521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4523 # Check whether --enable-shared was given.
4524 if test "${enable_shared+set}" = set; then
4525 enableval=$enable_shared;
4526 if test "$enableval" = yes; then
4527 wx_cv_use_shared='wxUSE_SHARED=yes'
4529 wx_cv_use_shared='wxUSE_SHARED=no'
4535 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x ; then
4537 eval "DEFAULT_$LINE"
4543 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4548 eval "$wx_cv_use_shared"
4549 if test "x$cache" = xyes; then
4550 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_SHARED = yes; then
4560 result=$wxUSE_SHARED
4563 { echo "$as_me:$LINENO: result: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4567 enablestring=disable
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4579 # Check whether --enable-optimise was given.
4580 if test "${enable_optimise+set}" = set; then
4581 enableval=$enable_optimise;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4585 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4591 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4599 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4604 eval "$wx_cv_use_optimise"
4605 if test "x$cache" = xyes; then
4606 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_OPTIMISE = yes; then
4616 result=$wxUSE_OPTIMISE
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4635 # Check whether --enable-debug was given.
4636 if test "${enable_debug+set}" = set; then
4637 enableval=$enable_debug;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_debug='wxUSE_DEBUG=yes'
4641 wx_cv_use_debug='wxUSE_DEBUG=no'
4647 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4655 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4660 eval "$wx_cv_use_debug"
4661 if test "x$cache" = xyes; then
4662 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4665 if test x"$enablestring" = xdisable; then
4666 if test $wxUSE_DEBUG = yes; then
4675 { echo "$as_me:$LINENO: result: $result" >&5
4676 echo "${ECHO_T}$result" >&6; }
4681 if test -z "$defaultval"; then
4682 if test x"$enablestring" = xdisable; then
4689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4691 # Check whether --enable-stl was given.
4692 if test "${enable_stl+set}" = set; then
4693 enableval=$enable_stl;
4694 if test "$enableval" = yes; then
4695 wx_cv_use_stl='wxUSE_STL=yes'
4697 wx_cv_use_stl='wxUSE_STL=no'
4703 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4711 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4716 eval "$wx_cv_use_stl"
4717 if test "x$cache" = xyes; then
4718 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_STL = yes; then
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4747 # Check whether --enable-std_iostreams was given.
4748 if test "${enable_std_iostreams+set}" = set; then
4749 enableval=$enable_std_iostreams;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4753 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4759 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4767 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4772 eval "$wx_cv_use_std_iostreams"
4773 if test "x$cache" = xyes; then
4774 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4777 if test x"$enablestring" = xdisable; then
4778 if test $wxUSE_STD_IOSTREAM = yes; then
4784 result=$wxUSE_STD_IOSTREAM
4787 { echo "$as_me:$LINENO: result: $result" >&5
4788 echo "${ECHO_T}$result" >&6; }
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4803 # Check whether --enable-std_string was given.
4804 if test "${enable_std_string+set}" = set; then
4805 enableval=$enable_std_string;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4809 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4815 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4823 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4828 eval "$wx_cv_use_std_string"
4829 if test "x$cache" = xyes; then
4830 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4833 if test x"$enablestring" = xdisable; then
4834 if test $wxUSE_STD_STRING = yes; then
4840 result=$wxUSE_STD_STRING
4843 { echo "$as_me:$LINENO: result: $result" >&5
4844 echo "${ECHO_T}$result" >&6; }
4847 enablestring=disable
4849 if test -z "$defaultval"; then
4850 if test x"$enablestring" = xdisable; then
4857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4859 # Check whether --enable-unicode was given.
4860 if test "${enable_unicode+set}" = set; then
4861 enableval=$enable_unicode;
4862 if test "$enableval" = yes; then
4863 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4865 wx_cv_use_unicode='wxUSE_UNICODE=no'
4871 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4879 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4884 eval "$wx_cv_use_unicode"
4885 if test "x$cache" = xyes; then
4886 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_UNICODE = yes; then
4896 result=$wxUSE_UNICODE
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4905 if test -z "$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4915 # Check whether --enable-mslu was given.
4916 if test "${enable_mslu+set}" = set; then
4917 enableval=$enable_mslu;
4918 if test "$enableval" = yes; then
4919 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4927 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4928 if test "x$LINE" != x ; then
4929 eval "DEFAULT_$LINE"
4935 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4940 eval "$wx_cv_use_mslu"
4941 if test "x$cache" = xyes; then
4942 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4945 if test x"$enablestring" = xdisable; then
4946 if test $wxUSE_UNICODE_MSLU = yes; then
4952 result=$wxUSE_UNICODE_MSLU
4955 { echo "$as_me:$LINENO: result: $result" >&5
4956 echo "${ECHO_T}$result" >&6; }
4960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4962 # Check whether --enable-utf8 was given.
4963 if test "${enable_utf8+set}" = set; then
4964 enableval=$enable_utf8;
4965 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4970 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4978 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4983 eval "$wx_cv_use_utf8"
4984 if test "x$cache" = xyes; then
4985 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4988 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4989 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4994 if test -z "$defaultval"; then
4995 if test x"$enablestring" = xdisable; then
5002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5003 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5004 # Check whether --enable-utf8only was given.
5005 if test "${enable_utf8only+set}" = set; then
5006 enableval=$enable_utf8only;
5007 if test "$enableval" = yes; then
5008 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5010 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5016 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x ; then
5018 eval "DEFAULT_$LINE"
5024 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5029 eval "$wx_cv_use_utf8only"
5030 if test "x$cache" = xyes; then
5031 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5041 result=$wxUSE_UNICODE_UTF8_LOCALE
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5060 # Check whether --enable-extended_rtti was given.
5061 if test "${enable_extended_rtti+set}" = set; then
5062 enableval=$enable_extended_rtti;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5066 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5072 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5080 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5085 eval "$wx_cv_use_extended_rtti"
5086 if test "x$cache" = xyes; then
5087 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_EXTENDED_RTTI = yes; then
5097 result=$wxUSE_EXTENDED_RTTI
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5103 if test "$USE_OS2" = "1"; then
5104 DEFAULT_wxUSE_OMF=no
5108 if test -z "$defaultval"; then
5109 if test x"$enablestring" = xdisable; then
5116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5117 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5118 # Check whether --enable-omf was given.
5119 if test "${enable_omf+set}" = set; then
5120 enableval=$enable_omf;
5121 if test "$enableval" = yes; then
5122 wx_cv_use_omf='wxUSE_OMF=yes'
5124 wx_cv_use_omf='wxUSE_OMF=no'
5130 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x ; then
5132 eval "DEFAULT_$LINE"
5138 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5143 eval "$wx_cv_use_omf"
5144 if test "x$cache" = xyes; then
5145 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5148 if test x"$enablestring" = xdisable; then
5149 if test $wxUSE_OMF = yes; then
5158 { echo "$as_me:$LINENO: result: $result" >&5
5159 echo "${ECHO_T}$result" >&6; }
5163 if test "$wxUSE_DEBUG" = "yes"; then
5164 DEFAULT_wxUSE_DEBUG_FLAG=yes
5165 DEFAULT_wxUSE_DEBUG_INFO=yes
5167 elif test "$wxUSE_DEBUG" = "no"; then
5168 DEFAULT_wxUSE_DEBUG_FLAG=no
5169 DEFAULT_wxUSE_DEBUG_INFO=no
5176 if test -z "$defaultval"; then
5177 if test x"$enablestring" = xdisable; then
5184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5186 # Check whether --enable-debug_flag was given.
5187 if test "${enable_debug_flag+set}" = set; then
5188 enableval=$enable_debug_flag;
5189 if test "$enableval" = yes; then
5190 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5192 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5198 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5206 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5211 eval "$wx_cv_use_debug_flag"
5212 if test "x$cache" = xyes; then
5213 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5216 if test x"$enablestring" = xdisable; then
5217 if test $wxUSE_DEBUG_FLAG = yes; then
5223 result=$wxUSE_DEBUG_FLAG
5226 { echo "$as_me:$LINENO: result: $result" >&5
5227 echo "${ECHO_T}$result" >&6; }
5232 if test -z "$defaultval"; then
5233 if test x"$enablestring" = xdisable; then
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5242 # Check whether --enable-debug_info was given.
5243 if test "${enable_debug_info+set}" = set; then
5244 enableval=$enable_debug_info;
5245 if test "$enableval" = yes; then
5246 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5248 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5254 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x ; then
5256 eval "DEFAULT_$LINE"
5262 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5267 eval "$wx_cv_use_debug_info"
5268 if test "x$cache" = xyes; then
5269 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5272 if test x"$enablestring" = xdisable; then
5273 if test $wxUSE_DEBUG_INFO = yes; then
5279 result=$wxUSE_DEBUG_INFO
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5288 if test -z "$defaultval"; then
5289 if test x"$enablestring" = xdisable; then
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5298 # Check whether --enable-debug_gdb was given.
5299 if test "${enable_debug_gdb+set}" = set; then
5300 enableval=$enable_debug_gdb;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5304 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5310 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5318 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5323 eval "$wx_cv_use_debug_gdb"
5324 if test "x$cache" = xyes; then
5325 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5328 if test x"$enablestring" = xdisable; then
5329 if test $wxUSE_DEBUG_GDB = yes; then
5335 result=$wxUSE_DEBUG_GDB
5338 { echo "$as_me:$LINENO: result: $result" >&5
5339 echo "${ECHO_T}$result" >&6; }
5344 if test -z "$defaultval"; then
5345 if test x"$enablestring" = xdisable; then
5352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5354 # Check whether --enable-debug_cntxt was given.
5355 if test "${enable_debug_cntxt+set}" = set; then
5356 enableval=$enable_debug_cntxt;
5357 if test "$enableval" = yes; then
5358 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5360 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5366 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x ; then
5368 eval "DEFAULT_$LINE"
5374 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5379 eval "$wx_cv_use_debug_cntxt"
5380 if test "x$cache" = xyes; then
5381 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5384 if test x"$enablestring" = xdisable; then
5385 if test $wxUSE_DEBUG_CONTEXT = yes; then
5391 result=$wxUSE_DEBUG_CONTEXT
5394 { echo "$as_me:$LINENO: result: $result" >&5
5395 echo "${ECHO_T}$result" >&6; }
5400 if test -z "$defaultval"; then
5401 if test x"$enablestring" = xdisable; then
5408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5410 # Check whether --enable-mem_tracing was given.
5411 if test "${enable_mem_tracing+set}" = set; then
5412 enableval=$enable_mem_tracing;
5413 if test "$enableval" = yes; then
5414 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5416 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5422 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x ; then
5424 eval "DEFAULT_$LINE"
5430 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5435 eval "$wx_cv_use_mem_tracing"
5436 if test "x$cache" = xyes; then
5437 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5440 if test x"$enablestring" = xdisable; then
5441 if test $wxUSE_MEM_TRACING = yes; then
5447 result=$wxUSE_MEM_TRACING
5450 { echo "$as_me:$LINENO: result: $result" >&5
5451 echo "${ECHO_T}$result" >&6; }
5456 if test -z "$defaultval"; then
5457 if test x"$enablestring" = xdisable; then
5464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5466 # Check whether --enable-profile was given.
5467 if test "${enable_profile+set}" = set; then
5468 enableval=$enable_profile;
5469 if test "$enableval" = yes; then
5470 wx_cv_use_profile='wxUSE_PROFILE=yes'
5472 wx_cv_use_profile='wxUSE_PROFILE=no'
5478 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5479 if test "x$LINE" != x ; then
5480 eval "DEFAULT_$LINE"
5486 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5491 eval "$wx_cv_use_profile"
5492 if test "x$cache" = xyes; then
5493 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5496 if test x"$enablestring" = xdisable; then
5497 if test $wxUSE_PROFILE = yes; then
5503 result=$wxUSE_PROFILE
5506 { echo "$as_me:$LINENO: result: $result" >&5
5507 echo "${ECHO_T}$result" >&6; }
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5522 # Check whether --enable-no_rtti was given.
5523 if test "${enable_no_rtti+set}" = set; then
5524 enableval=$enable_no_rtti;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5528 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5534 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x ; then
5536 eval "DEFAULT_$LINE"
5542 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5547 eval "$wx_cv_use_no_rtti"
5548 if test "x$cache" = xyes; then
5549 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_NO_RTTI = yes; then
5559 result=$wxUSE_NO_RTTI
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5568 if test -z "$defaultval"; then
5569 if test x"$enablestring" = xdisable; then
5576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5578 # Check whether --enable-no_exceptions was given.
5579 if test "${enable_no_exceptions+set}" = set; then
5580 enableval=$enable_no_exceptions;
5581 if test "$enableval" = yes; then
5582 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5584 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5590 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5598 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5603 eval "$wx_cv_use_no_exceptions"
5604 if test "x$cache" = xyes; then
5605 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_NO_EXCEPTIONS = yes; then
5615 result=$wxUSE_NO_EXCEPTIONS
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5634 # Check whether --enable-permissive was given.
5635 if test "${enable_permissive+set}" = set; then
5636 enableval=$enable_permissive;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5640 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5646 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5654 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5659 eval "$wx_cv_use_permissive"
5660 if test "x$cache" = xyes; then
5661 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5664 if test x"$enablestring" = xdisable; then
5665 if test $wxUSE_PERMISSIVE = yes; then
5671 result=$wxUSE_PERMISSIVE
5674 { echo "$as_me:$LINENO: result: $result" >&5
5675 echo "${ECHO_T}$result" >&6; }
5680 if test -z "$defaultval"; then
5681 if test x"$enablestring" = xdisable; then
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5690 # Check whether --enable-no_deps was given.
5691 if test "${enable_no_deps+set}" = set; then
5692 enableval=$enable_no_deps;
5693 if test "$enableval" = yes; then
5694 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5696 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5702 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5710 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5715 eval "$wx_cv_use_no_deps"
5716 if test "x$cache" = xyes; then
5717 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_NO_DEPS = yes; then
5727 result=$wxUSE_NO_DEPS
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5734 enablestring=disable
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5746 # Check whether --enable-vararg_macros was given.
5747 if test "${enable_vararg_macros+set}" = set; then
5748 enableval=$enable_vararg_macros;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5752 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5758 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5766 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5771 eval "$wx_cv_use_vararg_macros"
5772 if test "x$cache" = xyes; then
5773 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_VARARG_MACROS = yes; then
5783 result=$wxUSE_VARARG_MACROS
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5793 # Check whether --enable-universal_binary was given.
5794 if test "${enable_universal_binary+set}" = set; then
5795 enableval=$enable_universal_binary;
5796 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5801 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5809 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5814 eval "$wx_cv_use_universal_binary"
5815 if test "x$cache" = xyes; then
5816 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5819 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5820 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5836 # Check whether --enable-compat26 was given.
5837 if test "${enable_compat26+set}" = set; then
5838 enableval=$enable_compat26;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5842 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5848 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5856 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5861 eval "$wx_cv_use_compat26"
5862 if test "x$cache" = xyes; then
5863 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5866 if test x"$enablestring" = xdisable; then
5867 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5873 result=$WXWIN_COMPATIBILITY_2_6
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5880 enablestring=disable
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5892 # Check whether --enable-compat28 was given.
5893 if test "${enable_compat28+set}" = set; then
5894 enableval=$enable_compat28;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5898 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5904 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5912 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5917 eval "$wx_cv_use_compat28"
5918 if test "x$cache" = xyes; then
5919 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5922 if test x"$enablestring" = xdisable; then
5923 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5929 result=$WXWIN_COMPATIBILITY_2_8
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5937 enablestring=disable
5939 if test -z "$defaultval"; then
5940 if test x"$enablestring" = xdisable; then
5947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5949 # Check whether --enable-rpath was given.
5950 if test "${enable_rpath+set}" = set; then
5951 enableval=$enable_rpath;
5952 if test "$enableval" = yes; then
5953 wx_cv_use_rpath='wxUSE_RPATH=yes'
5955 wx_cv_use_rpath='wxUSE_RPATH=no'
5961 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x ; then
5963 eval "DEFAULT_$LINE"
5969 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5974 eval "$wx_cv_use_rpath"
5975 if test "x$cache" = xyes; then
5976 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5979 if test x"$enablestring" = xdisable; then
5980 if test $wxUSE_RPATH = yes; then
5989 { echo "$as_me:$LINENO: result: $result" >&5
5990 echo "${ECHO_T}$result" >&6; }
5996 if test -z "$defaultval"; then
5997 if test x"$enablestring" = xdisable; then
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6006 # Check whether --enable-objc_uniquifying was given.
6007 if test "${enable_objc_uniquifying+set}" = set; then
6008 enableval=$enable_objc_uniquifying;
6009 if test "$enableval" = yes; then
6010 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6012 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6018 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6026 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6031 eval "$wx_cv_use_objc_uniquifying"
6032 if test "x$cache" = xyes; then
6033 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6036 if test x"$enablestring" = xdisable; then
6037 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6043 result=$wxUSE_OBJC_UNIQUIFYING
6046 { echo "$as_me:$LINENO: result: $result" >&5
6047 echo "${ECHO_T}$result" >&6; }
6051 enablestring=disable
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6063 # Check whether --enable-visibility was given.
6064 if test "${enable_visibility+set}" = set; then
6065 enableval=$enable_visibility;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6069 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6075 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6083 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6088 eval "$wx_cv_use_visibility"
6089 if test "x$cache" = xyes; then
6090 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_VISIBILITY = yes; then
6100 result=$wxUSE_VISIBILITY
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6110 defaultval=$wxUSE_ALL_FEATURES
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6121 # Check whether --enable-intl was given.
6122 if test "${enable_intl+set}" = set; then
6123 enableval=$enable_intl;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_intl='wxUSE_INTL=yes'
6127 wx_cv_use_intl='wxUSE_INTL=no'
6133 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6141 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6146 eval "$wx_cv_use_intl"
6147 if test "x$cache" = xyes; then
6148 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6151 if test x"$enablestring" = xdisable; then
6152 if test $wxUSE_INTL = yes; then
6161 { echo "$as_me:$LINENO: result: $result" >&5
6162 echo "${ECHO_T}$result" >&6; }
6166 defaultval=$wxUSE_ALL_FEATURES
6167 if test -z "$defaultval"; then
6168 if test x"$enablestring" = xdisable; then
6175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6177 # Check whether --enable-config was given.
6178 if test "${enable_config+set}" = set; then
6179 enableval=$enable_config;
6180 if test "$enableval" = yes; then
6181 wx_cv_use_config='wxUSE_CONFIG=yes'
6183 wx_cv_use_config='wxUSE_CONFIG=no'
6189 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6197 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6202 eval "$wx_cv_use_config"
6203 if test "x$cache" = xyes; then
6204 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_CONFIG = yes; then
6214 result=$wxUSE_CONFIG
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6223 defaultval=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x"$enablestring" = xdisable; then
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6234 # Check whether --enable-protocols was given.
6235 if test "${enable_protocols+set}" = set; then
6236 enableval=$enable_protocols;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6240 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6246 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x ; then
6248 eval "DEFAULT_$LINE"
6254 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6259 eval "$wx_cv_use_protocols"
6260 if test "x$cache" = xyes; then
6261 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_PROTOCOL = yes; then
6271 result=$wxUSE_PROTOCOL
6274 { echo "$as_me:$LINENO: result: $result" >&5
6275 echo "${ECHO_T}$result" >&6; }
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6290 # Check whether --enable-ftp was given.
6291 if test "${enable_ftp+set}" = set; then
6292 enableval=$enable_ftp;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6296 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6302 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6303 if test "x$LINE" != x ; then
6304 eval "DEFAULT_$LINE"
6310 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6315 eval "$wx_cv_use_ftp"
6316 if test "x$cache" = xyes; then
6317 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6320 if test x"$enablestring" = xdisable; then
6321 if test $wxUSE_PROTOCOL_FTP = yes; then
6327 result=$wxUSE_PROTOCOL_FTP
6330 { echo "$as_me:$LINENO: result: $result" >&5
6331 echo "${ECHO_T}$result" >&6; }
6335 defaultval=$wxUSE_ALL_FEATURES
6336 if test -z "$defaultval"; then
6337 if test x"$enablestring" = xdisable; then
6344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6346 # Check whether --enable-http was given.
6347 if test "${enable_http+set}" = set; then
6348 enableval=$enable_http;
6349 if test "$enableval" = yes; then
6350 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6352 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6358 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6366 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6371 eval "$wx_cv_use_http"
6372 if test "x$cache" = xyes; then
6373 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6376 if test x"$enablestring" = xdisable; then
6377 if test $wxUSE_PROTOCOL_HTTP = yes; then
6383 result=$wxUSE_PROTOCOL_HTTP
6386 { echo "$as_me:$LINENO: result: $result" >&5
6387 echo "${ECHO_T}$result" >&6; }
6391 defaultval=$wxUSE_ALL_FEATURES
6392 if test -z "$defaultval"; then
6393 if test x"$enablestring" = xdisable; then
6400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6402 # Check whether --enable-fileproto was given.
6403 if test "${enable_fileproto+set}" = set; then
6404 enableval=$enable_fileproto;
6405 if test "$enableval" = yes; then
6406 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6408 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6414 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x ; then
6416 eval "DEFAULT_$LINE"
6422 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6427 eval "$wx_cv_use_fileproto"
6428 if test "x$cache" = xyes; then
6429 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6432 if test x"$enablestring" = xdisable; then
6433 if test $wxUSE_PROTOCOL_FILE = yes; then
6439 result=$wxUSE_PROTOCOL_FILE
6442 { echo "$as_me:$LINENO: result: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6447 defaultval=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x"$enablestring" = xdisable; then
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6458 # Check whether --enable-sockets was given.
6459 if test "${enable_sockets+set}" = set; then
6460 enableval=$enable_sockets;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6464 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6470 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6478 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6483 eval "$wx_cv_use_sockets"
6484 if test "x$cache" = xyes; then
6485 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_SOCKETS = yes; then
6495 result=$wxUSE_SOCKETS
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6514 # Check whether --enable-ole was given.
6515 if test "${enable_ole+set}" = set; then
6516 enableval=$enable_ole;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_ole='wxUSE_OLE=yes'
6520 wx_cv_use_ole='wxUSE_OLE=no'
6526 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6534 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6539 eval "$wx_cv_use_ole"
6540 if test "x$cache" = xyes; then
6541 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6544 if test x"$enablestring" = xdisable; then
6545 if test $wxUSE_OLE = yes; then
6554 { echo "$as_me:$LINENO: result: $result" >&5
6555 echo "${ECHO_T}$result" >&6; }
6559 defaultval=$wxUSE_ALL_FEATURES
6560 if test -z "$defaultval"; then
6561 if test x"$enablestring" = xdisable; then
6568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6570 # Check whether --enable-dataobj was given.
6571 if test "${enable_dataobj+set}" = set; then
6572 enableval=$enable_dataobj;
6573 if test "$enableval" = yes; then
6574 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6576 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6582 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x ; then
6584 eval "DEFAULT_$LINE"
6590 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6595 eval "$wx_cv_use_dataobj"
6596 if test "x$cache" = xyes; then
6597 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6600 if test x"$enablestring" = xdisable; then
6601 if test $wxUSE_DATAOBJ = yes; then
6607 result=$wxUSE_DATAOBJ
6610 { echo "$as_me:$LINENO: result: $result" >&5
6611 echo "${ECHO_T}$result" >&6; }
6616 defaultval=$wxUSE_ALL_FEATURES
6617 if test -z "$defaultval"; then
6618 if test x"$enablestring" = xdisable; then
6625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6627 # Check whether --enable-ipc was given.
6628 if test "${enable_ipc+set}" = set; then
6629 enableval=$enable_ipc;
6630 if test "$enableval" = yes; then
6631 wx_cv_use_ipc='wxUSE_IPC=yes'
6633 wx_cv_use_ipc='wxUSE_IPC=no'
6639 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x ; then
6641 eval "DEFAULT_$LINE"
6647 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6652 eval "$wx_cv_use_ipc"
6653 if test "x$cache" = xyes; then
6654 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6657 if test x"$enablestring" = xdisable; then
6658 if test $wxUSE_IPC = yes; then
6667 { echo "$as_me:$LINENO: result: $result" >&5
6668 echo "${ECHO_T}$result" >&6; }
6673 defaultval=$wxUSE_ALL_FEATURES
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6684 # Check whether --enable-baseevtloop was given.
6685 if test "${enable_baseevtloop+set}" = set; then
6686 enableval=$enable_baseevtloop;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6690 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6696 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6704 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6709 eval "$wx_cv_use_baseevtloop"
6710 if test "x$cache" = xyes; then
6711 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6721 result=$wxUSE_CONSOLE_EVENTLOOP
6724 { echo "$as_me:$LINENO: result: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6739 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6740 # Check whether --enable-epoolloop was given.
6741 if test "${enable_epoolloop+set}" = set; then
6742 enableval=$enable_epoolloop;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6746 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6752 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x ; then
6754 eval "DEFAULT_$LINE"
6760 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6765 eval "$wx_cv_use_epoolloop"
6766 if test "x$cache" = xyes; then
6767 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6770 if test x"$enablestring" = xdisable; then
6771 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6777 result=$wxUSE_EPOLL_DISPATCHER
6780 { echo "$as_me:$LINENO: result: $result" >&5
6781 echo "${ECHO_T}$result" >&6; }
6785 defaultval=$wxUSE_ALL_FEATURES
6786 if test -z "$defaultval"; then
6787 if test x"$enablestring" = xdisable; then
6794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6796 # Check whether --enable-selectloop was given.
6797 if test "${enable_selectloop+set}" = set; then
6798 enableval=$enable_selectloop;
6799 if test "$enableval" = yes; then
6800 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6802 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6808 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x ; then
6810 eval "DEFAULT_$LINE"
6816 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6821 eval "$wx_cv_use_selectloop"
6822 if test "x$cache" = xyes; then
6823 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_SELECT_DISPATCHER = yes; then
6833 result=$wxUSE_SELECT_DISPATCHER
6836 { echo "$as_me:$LINENO: result: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6842 defaultval=$wxUSE_ALL_FEATURES
6843 if test -z "$defaultval"; then
6844 if test x"$enablestring" = xdisable; then
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6853 # Check whether --enable-apple_ieee was given.
6854 if test "${enable_apple_ieee+set}" = set; then
6855 enableval=$enable_apple_ieee;
6856 if test "$enableval" = yes; then
6857 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6859 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6865 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6873 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6878 eval "$wx_cv_use_apple_ieee"
6879 if test "x$cache" = xyes; then
6880 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6883 if test x"$enablestring" = xdisable; then
6884 if test $wxUSE_APPLE_IEEE = yes; then
6890 result=$wxUSE_APPLE_IEEE
6893 { echo "$as_me:$LINENO: result: $result" >&5
6894 echo "${ECHO_T}$result" >&6; }
6898 defaultval=$wxUSE_ALL_FEATURES
6899 if test -z "$defaultval"; then
6900 if test x"$enablestring" = xdisable; then
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6909 # Check whether --enable-arcstream was given.
6910 if test "${enable_arcstream+set}" = set; then
6911 enableval=$enable_arcstream;
6912 if test "$enableval" = yes; then
6913 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6915 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6921 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6929 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6934 eval "$wx_cv_use_arcstream"
6935 if test "x$cache" = xyes; then
6936 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6939 if test x"$enablestring" = xdisable; then
6940 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6946 result=$wxUSE_ARCHIVE_STREAMS
6949 { echo "$as_me:$LINENO: result: $result" >&5
6950 echo "${ECHO_T}$result" >&6; }
6954 defaultval=$wxUSE_ALL_FEATURES
6955 if test -z "$defaultval"; then
6956 if test x"$enablestring" = xdisable; then
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6965 # Check whether --enable-base64 was given.
6966 if test "${enable_base64+set}" = set; then
6967 enableval=$enable_base64;
6968 if test "$enableval" = yes; then
6969 wx_cv_use_base64='wxUSE_BASE64=yes'
6971 wx_cv_use_base64='wxUSE_BASE64=no'
6977 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6985 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6990 eval "$wx_cv_use_base64"
6991 if test "x$cache" = xyes; then
6992 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_BASE64 = yes; then
7002 result=$wxUSE_BASE64
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7021 # Check whether --enable-backtrace was given.
7022 if test "${enable_backtrace+set}" = set; then
7023 enableval=$enable_backtrace;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7027 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7033 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7041 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7046 eval "$wx_cv_use_backtrace"
7047 if test "x$cache" = xyes; then
7048 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7051 if test x"$enablestring" = xdisable; then
7052 if test $wxUSE_STACKWALKER = yes; then
7058 result=$wxUSE_STACKWALKER
7061 { echo "$as_me:$LINENO: result: $result" >&5
7062 echo "${ECHO_T}$result" >&6; }
7066 defaultval=$wxUSE_ALL_FEATURES
7067 if test -z "$defaultval"; then
7068 if test x"$enablestring" = xdisable; then
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7077 # Check whether --enable-catch_segvs was given.
7078 if test "${enable_catch_segvs+set}" = set; then
7079 enableval=$enable_catch_segvs;
7080 if test "$enableval" = yes; then
7081 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7083 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7089 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7097 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7102 eval "$wx_cv_use_catch_segvs"
7103 if test "x$cache" = xyes; then
7104 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7114 result=$wxUSE_ON_FATAL_EXCEPTION
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7133 # Check whether --enable-cmdline was given.
7134 if test "${enable_cmdline+set}" = set; then
7135 enableval=$enable_cmdline;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7139 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7145 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7153 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7158 eval "$wx_cv_use_cmdline"
7159 if test "x$cache" = xyes; then
7160 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7163 if test x"$enablestring" = xdisable; then
7164 if test $wxUSE_CMDLINE_PARSER = yes; then
7170 result=$wxUSE_CMDLINE_PARSER
7173 { echo "$as_me:$LINENO: result: $result" >&5
7174 echo "${ECHO_T}$result" >&6; }
7178 defaultval=$wxUSE_ALL_FEATURES
7179 if test -z "$defaultval"; then
7180 if test x"$enablestring" = xdisable; then
7187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7189 # Check whether --enable-datetime was given.
7190 if test "${enable_datetime+set}" = set; then
7191 enableval=$enable_datetime;
7192 if test "$enableval" = yes; then
7193 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7195 wx_cv_use_datetime='wxUSE_DATETIME=no'
7201 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7202 if test "x$LINE" != x ; then
7203 eval "DEFAULT_$LINE"
7209 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7214 eval "$wx_cv_use_datetime"
7215 if test "x$cache" = xyes; then
7216 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7219 if test x"$enablestring" = xdisable; then
7220 if test $wxUSE_DATETIME = yes; then
7226 result=$wxUSE_DATETIME
7229 { echo "$as_me:$LINENO: result: $result" >&5
7230 echo "${ECHO_T}$result" >&6; }
7234 defaultval=$wxUSE_ALL_FEATURES
7235 if test -z "$defaultval"; then
7236 if test x"$enablestring" = xdisable; then
7243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7244 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7245 # Check whether --enable-debugreport was given.
7246 if test "${enable_debugreport+set}" = set; then
7247 enableval=$enable_debugreport;
7248 if test "$enableval" = yes; then
7249 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7251 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7257 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x ; then
7259 eval "DEFAULT_$LINE"
7265 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7270 eval "$wx_cv_use_debugreport"
7271 if test "x$cache" = xyes; then
7272 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_DEBUGREPORT = yes; then
7282 result=$wxUSE_DEBUGREPORT
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7301 # Check whether --enable-dialupman was given.
7302 if test "${enable_dialupman+set}" = set; then
7303 enableval=$enable_dialupman;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7307 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7313 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x ; then
7315 eval "DEFAULT_$LINE"
7321 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7326 eval "$wx_cv_use_dialupman"
7327 if test "x$cache" = xyes; then
7328 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7331 if test x"$enablestring" = xdisable; then
7332 if test $wxUSE_DIALUP_MANAGER = yes; then
7338 result=$wxUSE_DIALUP_MANAGER
7341 { echo "$as_me:$LINENO: result: $result" >&5
7342 echo "${ECHO_T}$result" >&6; }
7346 defaultval=$wxUSE_ALL_FEATURES
7347 if test -z "$defaultval"; then
7348 if test x"$enablestring" = xdisable; then
7355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7357 # Check whether --enable-dynlib was given.
7358 if test "${enable_dynlib+set}" = set; then
7359 enableval=$enable_dynlib;
7360 if test "$enableval" = yes; then
7361 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7363 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7369 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7377 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7382 eval "$wx_cv_use_dynlib"
7383 if test "x$cache" = xyes; then
7384 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7387 if test x"$enablestring" = xdisable; then
7388 if test $wxUSE_DYNLIB_CLASS = yes; then
7394 result=$wxUSE_DYNLIB_CLASS
7397 { echo "$as_me:$LINENO: result: $result" >&5
7398 echo "${ECHO_T}$result" >&6; }
7402 defaultval=$wxUSE_ALL_FEATURES
7403 if test -z "$defaultval"; then
7404 if test x"$enablestring" = xdisable; then
7411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7412 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7413 # Check whether --enable-dynamicloader was given.
7414 if test "${enable_dynamicloader+set}" = set; then
7415 enableval=$enable_dynamicloader;
7416 if test "$enableval" = yes; then
7417 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7419 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7425 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7426 if test "x$LINE" != x ; then
7427 eval "DEFAULT_$LINE"
7433 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7438 eval "$wx_cv_use_dynamicloader"
7439 if test "x$cache" = xyes; then
7440 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7443 if test x"$enablestring" = xdisable; then
7444 if test $wxUSE_DYNAMIC_LOADER = yes; then
7450 result=$wxUSE_DYNAMIC_LOADER
7453 { echo "$as_me:$LINENO: result: $result" >&5
7454 echo "${ECHO_T}$result" >&6; }
7458 defaultval=$wxUSE_ALL_FEATURES
7459 if test -z "$defaultval"; then
7460 if test x"$enablestring" = xdisable; then
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7469 # Check whether --enable-exceptions was given.
7470 if test "${enable_exceptions+set}" = set; then
7471 enableval=$enable_exceptions;
7472 if test "$enableval" = yes; then
7473 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7475 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7481 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7489 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7494 eval "$wx_cv_use_exceptions"
7495 if test "x$cache" = xyes; then
7496 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7499 if test x"$enablestring" = xdisable; then
7500 if test $wxUSE_EXCEPTIONS = yes; then
7506 result=$wxUSE_EXCEPTIONS
7509 { echo "$as_me:$LINENO: result: $result" >&5
7510 echo "${ECHO_T}$result" >&6; }
7514 defaultval=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x"$enablestring" = xdisable; then
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7525 # Check whether --enable-ffile was given.
7526 if test "${enable_ffile+set}" = set; then
7527 enableval=$enable_ffile;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_ffile='wxUSE_FFILE=yes'
7531 wx_cv_use_ffile='wxUSE_FFILE=no'
7537 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7545 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7550 eval "$wx_cv_use_ffile"
7551 if test "x$cache" = xyes; then
7552 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7555 if test x"$enablestring" = xdisable; then
7556 if test $wxUSE_FFILE = yes; then
7565 { echo "$as_me:$LINENO: result: $result" >&5
7566 echo "${ECHO_T}$result" >&6; }
7570 defaultval=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x"$enablestring" = xdisable; then
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7581 # Check whether --enable-file was given.
7582 if test "${enable_file+set}" = set; then
7583 enableval=$enable_file;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_file='wxUSE_FILE=yes'
7587 wx_cv_use_file='wxUSE_FILE=no'
7593 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7601 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7606 eval "$wx_cv_use_file"
7607 if test "x$cache" = xyes; then
7608 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_FILE = yes; then
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7637 # Check whether --enable-filesystem was given.
7638 if test "${enable_filesystem+set}" = set; then
7639 enableval=$enable_filesystem;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7643 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7649 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7657 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7662 eval "$wx_cv_use_filesystem"
7663 if test "x$cache" = xyes; then
7664 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7667 if test x"$enablestring" = xdisable; then
7668 if test $wxUSE_FILESYSTEM = yes; then
7674 result=$wxUSE_FILESYSTEM
7677 { echo "$as_me:$LINENO: result: $result" >&5
7678 echo "${ECHO_T}$result" >&6; }
7682 defaultval=$wxUSE_ALL_FEATURES
7683 if test -z "$defaultval"; then
7684 if test x"$enablestring" = xdisable; then
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7693 # Check whether --enable-fontenum was given.
7694 if test "${enable_fontenum+set}" = set; then
7695 enableval=$enable_fontenum;
7696 if test "$enableval" = yes; then
7697 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7699 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7705 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7713 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7718 eval "$wx_cv_use_fontenum"
7719 if test "x$cache" = xyes; then
7720 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_FONTENUM = yes; then
7730 result=$wxUSE_FONTENUM
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7749 # Check whether --enable-fontmap was given.
7750 if test "${enable_fontmap+set}" = set; then
7751 enableval=$enable_fontmap;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7755 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7761 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7762 if test "x$LINE" != x ; then
7763 eval "DEFAULT_$LINE"
7769 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7774 eval "$wx_cv_use_fontmap"
7775 if test "x$cache" = xyes; then
7776 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7779 if test x"$enablestring" = xdisable; then
7780 if test $wxUSE_FONTMAP = yes; then
7786 result=$wxUSE_FONTMAP
7789 { echo "$as_me:$LINENO: result: $result" >&5
7790 echo "${ECHO_T}$result" >&6; }
7794 defaultval=$wxUSE_ALL_FEATURES
7795 if test -z "$defaultval"; then
7796 if test x"$enablestring" = xdisable; then
7803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7805 # Check whether --enable-fs_archive was given.
7806 if test "${enable_fs_archive+set}" = set; then
7807 enableval=$enable_fs_archive;
7808 if test "$enableval" = yes; then
7809 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7811 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7817 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x ; then
7819 eval "DEFAULT_$LINE"
7825 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7830 eval "$wx_cv_use_fs_archive"
7831 if test "x$cache" = xyes; then
7832 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_FS_ARCHIVE = yes; then
7842 result=$wxUSE_FS_ARCHIVE
7845 { echo "$as_me:$LINENO: result: $result" >&5
7846 echo "${ECHO_T}$result" >&6; }
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7860 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7861 # Check whether --enable-fs_inet was given.
7862 if test "${enable_fs_inet+set}" = set; then
7863 enableval=$enable_fs_inet;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7867 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7873 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7874 if test "x$LINE" != x ; then
7875 eval "DEFAULT_$LINE"
7881 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7886 eval "$wx_cv_use_fs_inet"
7887 if test "x$cache" = xyes; then
7888 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_FS_INET = yes; then
7898 result=$wxUSE_FS_INET
7901 { echo "$as_me:$LINENO: result: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7906 defaultval=$wxUSE_ALL_FEATURES
7907 if test -z "$defaultval"; then
7908 if test x"$enablestring" = xdisable; then
7915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7917 # Check whether --enable-fs_zip was given.
7918 if test "${enable_fs_zip+set}" = set; then
7919 enableval=$enable_fs_zip;
7920 if test "$enableval" = yes; then
7921 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7923 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7929 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7937 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7942 eval "$wx_cv_use_fs_zip"
7943 if test "x$cache" = xyes; then
7944 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_FS_ZIP = yes; then
7954 result=$wxUSE_FS_ZIP
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7973 # Check whether --enable-geometry was given.
7974 if test "${enable_geometry+set}" = set; then
7975 enableval=$enable_geometry;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7979 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7985 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7993 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7998 eval "$wx_cv_use_geometry"
7999 if test "x$cache" = xyes; then
8000 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8003 if test x"$enablestring" = xdisable; then
8004 if test $wxUSE_GEOMETRY = yes; then
8010 result=$wxUSE_GEOMETRY
8013 { echo "$as_me:$LINENO: result: $result" >&5
8014 echo "${ECHO_T}$result" >&6; }
8018 defaultval=$wxUSE_ALL_FEATURES
8019 if test -z "$defaultval"; then
8020 if test x"$enablestring" = xdisable; then
8027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8029 # Check whether --enable-log was given.
8030 if test "${enable_log+set}" = set; then
8031 enableval=$enable_log;
8032 if test "$enableval" = yes; then
8033 wx_cv_use_log='wxUSE_LOG=yes'
8035 wx_cv_use_log='wxUSE_LOG=no'
8041 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8049 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8054 eval "$wx_cv_use_log"
8055 if test "x$cache" = xyes; then
8056 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8059 if test x"$enablestring" = xdisable; then
8060 if test $wxUSE_LOG = yes; then
8069 { echo "$as_me:$LINENO: result: $result" >&5
8070 echo "${ECHO_T}$result" >&6; }
8074 defaultval=$wxUSE_ALL_FEATURES
8075 if test -z "$defaultval"; then
8076 if test x"$enablestring" = xdisable; then
8083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8085 # Check whether --enable-longlong was given.
8086 if test "${enable_longlong+set}" = set; then
8087 enableval=$enable_longlong;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8091 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8097 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x ; then
8099 eval "DEFAULT_$LINE"
8105 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8110 eval "$wx_cv_use_longlong"
8111 if test "x$cache" = xyes; then
8112 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8115 if test x"$enablestring" = xdisable; then
8116 if test $wxUSE_LONGLONG = yes; then
8122 result=$wxUSE_LONGLONG
8125 { echo "$as_me:$LINENO: result: $result" >&5
8126 echo "${ECHO_T}$result" >&6; }
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8141 # Check whether --enable-mimetype was given.
8142 if test "${enable_mimetype+set}" = set; then
8143 enableval=$enable_mimetype;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8147 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8153 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x ; then
8155 eval "DEFAULT_$LINE"
8161 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8166 eval "$wx_cv_use_mimetype"
8167 if test "x$cache" = xyes; then
8168 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8171 if test x"$enablestring" = xdisable; then
8172 if test $wxUSE_MIMETYPE = yes; then
8178 result=$wxUSE_MIMETYPE
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8186 defaultval=$wxUSE_ALL_FEATURES
8187 if test -z "$defaultval"; then
8188 if test x"$enablestring" = xdisable; then
8195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8197 # Check whether --enable-snglinst was given.
8198 if test "${enable_snglinst+set}" = set; then
8199 enableval=$enable_snglinst;
8200 if test "$enableval" = yes; then
8201 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8203 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8209 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8217 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8222 eval "$wx_cv_use_snglinst"
8223 if test "x$cache" = xyes; then
8224 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8227 if test x"$enablestring" = xdisable; then
8228 if test $wxUSE_SNGLINST_CHECKER = yes; then
8234 result=$wxUSE_SNGLINST_CHECKER
8237 { echo "$as_me:$LINENO: result: $result" >&5
8238 echo "${ECHO_T}$result" >&6; }
8242 defaultval=$wxUSE_ALL_FEATURES
8243 if test -z "$defaultval"; then
8244 if test x"$enablestring" = xdisable; then
8251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8253 # Check whether --enable-stdpaths was given.
8254 if test "${enable_stdpaths+set}" = set; then
8255 enableval=$enable_stdpaths;
8256 if test "$enableval" = yes; then
8257 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8259 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8265 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8273 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8278 eval "$wx_cv_use_stdpaths"
8279 if test "x$cache" = xyes; then
8280 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8283 if test x"$enablestring" = xdisable; then
8284 if test $wxUSE_STDPATHS = yes; then
8290 result=$wxUSE_STDPATHS
8293 { echo "$as_me:$LINENO: result: $result" >&5
8294 echo "${ECHO_T}$result" >&6; }
8298 defaultval=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x"$enablestring" = xdisable; then
8307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8309 # Check whether --enable-stopwatch was given.
8310 if test "${enable_stopwatch+set}" = set; then
8311 enableval=$enable_stopwatch;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8315 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8321 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x ; then
8323 eval "DEFAULT_$LINE"
8329 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8334 eval "$wx_cv_use_stopwatch"
8335 if test "x$cache" = xyes; then
8336 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8339 if test x"$enablestring" = xdisable; then
8340 if test $wxUSE_STOPWATCH = yes; then
8346 result=$wxUSE_STOPWATCH
8349 { echo "$as_me:$LINENO: result: $result" >&5
8350 echo "${ECHO_T}$result" >&6; }
8354 defaultval=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x"$enablestring" = xdisable; then
8363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8365 # Check whether --enable-streams was given.
8366 if test "${enable_streams+set}" = set; then
8367 enableval=$enable_streams;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_streams='wxUSE_STREAMS=yes'
8371 wx_cv_use_streams='wxUSE_STREAMS=no'
8377 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8385 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8390 eval "$wx_cv_use_streams"
8391 if test "x$cache" = xyes; then
8392 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8395 if test x"$enablestring" = xdisable; then
8396 if test $wxUSE_STREAMS = yes; then
8402 result=$wxUSE_STREAMS
8405 { echo "$as_me:$LINENO: result: $result" >&5
8406 echo "${ECHO_T}$result" >&6; }
8410 defaultval=$wxUSE_ALL_FEATURES
8411 if test -z "$defaultval"; then
8412 if test x"$enablestring" = xdisable; then
8419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8420 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8421 # Check whether --enable-system_options was given.
8422 if test "${enable_system_options+set}" = set; then
8423 enableval=$enable_system_options;
8424 if test "$enableval" = yes; then
8425 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8427 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8433 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8434 if test "x$LINE" != x ; then
8435 eval "DEFAULT_$LINE"
8441 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8446 eval "$wx_cv_use_system_options"
8447 if test "x$cache" = xyes; then
8448 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8451 if test x"$enablestring" = xdisable; then
8452 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8458 result=$wxUSE_SYSTEM_OPTIONS
8461 { echo "$as_me:$LINENO: result: $result" >&5
8462 echo "${ECHO_T}$result" >&6; }
8466 defaultval=$wxUSE_ALL_FEATURES
8467 if test -z "$defaultval"; then
8468 if test x"$enablestring" = xdisable; then
8475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8476 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8477 # Check whether --enable-tarstream was given.
8478 if test "${enable_tarstream+set}" = set; then
8479 enableval=$enable_tarstream;
8480 if test "$enableval" = yes; then
8481 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8483 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8489 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8490 if test "x$LINE" != x ; then
8491 eval "DEFAULT_$LINE"
8497 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8502 eval "$wx_cv_use_tarstream"
8503 if test "x$cache" = xyes; then
8504 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_TARSTREAM = yes; then
8514 result=$wxUSE_TARSTREAM
8517 { echo "$as_me:$LINENO: result: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8522 defaultval=$wxUSE_ALL_FEATURES
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8533 # Check whether --enable-textbuf was given.
8534 if test "${enable_textbuf+set}" = set; then
8535 enableval=$enable_textbuf;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8539 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8545 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8553 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8558 eval "$wx_cv_use_textbuf"
8559 if test "x$cache" = xyes; then
8560 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_TEXTBUFFER = yes; then
8570 result=$wxUSE_TEXTBUFFER
8573 { echo "$as_me:$LINENO: result: $result" >&5
8574 echo "${ECHO_T}$result" >&6; }
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8589 # Check whether --enable-textfile was given.
8590 if test "${enable_textfile+set}" = set; then
8591 enableval=$enable_textfile;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8595 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8601 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x ; then
8603 eval "DEFAULT_$LINE"
8609 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8614 eval "$wx_cv_use_textfile"
8615 if test "x$cache" = xyes; then
8616 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8619 if test x"$enablestring" = xdisable; then
8620 if test $wxUSE_TEXTFILE = yes; then
8626 result=$wxUSE_TEXTFILE
8629 { echo "$as_me:$LINENO: result: $result" >&5
8630 echo "${ECHO_T}$result" >&6; }
8634 defaultval=$wxUSE_ALL_FEATURES
8635 if test -z "$defaultval"; then
8636 if test x"$enablestring" = xdisable; then
8643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8644 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8645 # Check whether --enable-timer was given.
8646 if test "${enable_timer+set}" = set; then
8647 enableval=$enable_timer;
8648 if test "$enableval" = yes; then
8649 wx_cv_use_timer='wxUSE_TIMER=yes'
8651 wx_cv_use_timer='wxUSE_TIMER=no'
8657 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x ; then
8659 eval "DEFAULT_$LINE"
8665 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8670 eval "$wx_cv_use_timer"
8671 if test "x$cache" = xyes; then
8672 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8675 if test x"$enablestring" = xdisable; then
8676 if test $wxUSE_TIMER = yes; then
8685 { echo "$as_me:$LINENO: result: $result" >&5
8686 echo "${ECHO_T}$result" >&6; }
8690 defaultval=$wxUSE_ALL_FEATURES
8691 if test -z "$defaultval"; then
8692 if test x"$enablestring" = xdisable; then
8699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8700 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8701 # Check whether --enable-sound was given.
8702 if test "${enable_sound+set}" = set; then
8703 enableval=$enable_sound;
8704 if test "$enableval" = yes; then
8705 wx_cv_use_sound='wxUSE_SOUND=yes'
8707 wx_cv_use_sound='wxUSE_SOUND=no'
8713 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8721 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8726 eval "$wx_cv_use_sound"
8727 if test "x$cache" = xyes; then
8728 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_SOUND = yes; then
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8757 # Check whether --enable-mediactrl was given.
8758 if test "${enable_mediactrl+set}" = set; then
8759 enableval=$enable_mediactrl;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8763 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8769 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8770 if test "x$LINE" != x ; then
8771 eval "DEFAULT_$LINE"
8777 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8782 eval "$wx_cv_use_mediactrl"
8783 if test "x$cache" = xyes; then
8784 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_MEDIACTRL = yes; then
8794 result=$wxUSE_MEDIACTRL
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8813 # Check whether --enable-gstreamer8 was given.
8814 if test "${enable_gstreamer8+set}" = set; then
8815 enableval=$enable_gstreamer8;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8819 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8825 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8833 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8838 eval "$wx_cv_use_gstreamer8"
8839 if test "x$cache" = xyes; then
8840 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8843 if test x"$enablestring" = xdisable; then
8844 if test $wxUSE_GSTREAMER8 = yes; then
8850 result=$wxUSE_GSTREAMER8
8853 { echo "$as_me:$LINENO: result: $result" >&5
8854 echo "${ECHO_T}$result" >&6; }
8858 defaultval=$wxUSE_ALL_FEATURES
8859 if test -z "$defaultval"; then
8860 if test x"$enablestring" = xdisable; then
8867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8869 # Check whether --enable-printfposparam was given.
8870 if test "${enable_printfposparam+set}" = set; then
8871 enableval=$enable_printfposparam;
8872 if test "$enableval" = yes; then
8873 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8875 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8881 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8889 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8894 eval "$wx_cv_use_printfposparam"
8895 if test "x$cache" = xyes; then
8896 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8899 if test x"$enablestring" = xdisable; then
8900 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8906 result=$wxUSE_PRINTF_POS_PARAMS
8909 { echo "$as_me:$LINENO: result: $result" >&5
8910 echo "${ECHO_T}$result" >&6; }
8914 defaultval=$wxUSE_ALL_FEATURES
8915 if test -z "$defaultval"; then
8916 if test x"$enablestring" = xdisable; then
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8925 # Check whether --enable-zipstream was given.
8926 if test "${enable_zipstream+set}" = set; then
8927 enableval=$enable_zipstream;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8931 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8937 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8945 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8950 eval "$wx_cv_use_zipstream"
8951 if test "x$cache" = xyes; then
8952 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_ZIPSTREAM = yes; then
8962 result=$wxUSE_ZIPSTREAM
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8982 # Check whether --enable-url was given.
8983 if test "${enable_url+set}" = set; then
8984 enableval=$enable_url;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_url='wxUSE_URL=yes'
8988 wx_cv_use_url='wxUSE_URL=no'
8994 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
9002 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9007 eval "$wx_cv_use_url"
9008 if test "x$cache" = xyes; then
9009 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_URL = yes; then
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9038 # Check whether --enable-variant was given.
9039 if test "${enable_variant+set}" = set; then
9040 enableval=$enable_variant;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_variant='wxUSE_VARIANT=yes'
9044 wx_cv_use_variant='wxUSE_VARIANT=no'
9050 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x ; then
9052 eval "DEFAULT_$LINE"
9058 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9063 eval "$wx_cv_use_variant"
9064 if test "x$cache" = xyes; then
9065 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_VARIANT = yes; then
9075 result=$wxUSE_VARIANT
9078 { echo "$as_me:$LINENO: result: $result" >&5
9079 echo "${ECHO_T}$result" >&6; }
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9094 # Check whether --enable-protocol was given.
9095 if test "${enable_protocol+set}" = set; then
9096 enableval=$enable_protocol;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9100 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9106 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9107 if test "x$LINE" != x ; then
9108 eval "DEFAULT_$LINE"
9114 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9119 eval "$wx_cv_use_protocol"
9120 if test "x$cache" = xyes; then
9121 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9124 if test x"$enablestring" = xdisable; then
9125 if test $wxUSE_PROTOCOL = yes; then
9131 result=$wxUSE_PROTOCOL
9134 { echo "$as_me:$LINENO: result: $result" >&5
9135 echo "${ECHO_T}$result" >&6; }
9139 defaultval=$wxUSE_ALL_FEATURES
9140 if test -z "$defaultval"; then
9141 if test x"$enablestring" = xdisable; then
9148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9150 # Check whether --enable-protocol_http was given.
9151 if test "${enable_protocol_http+set}" = set; then
9152 enableval=$enable_protocol_http;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9156 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9162 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9170 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9175 eval "$wx_cv_use_protocol_http"
9176 if test "x$cache" = xyes; then
9177 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9180 if test x"$enablestring" = xdisable; then
9181 if test $wxUSE_PROTOCOL_HTTP = yes; then
9187 result=$wxUSE_PROTOCOL_HTTP
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9206 # Check whether --enable-protocol_ftp was given.
9207 if test "${enable_protocol_ftp+set}" = set; then
9208 enableval=$enable_protocol_ftp;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9212 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9218 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9226 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9231 eval "$wx_cv_use_protocol_ftp"
9232 if test "x$cache" = xyes; then
9233 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9236 if test x"$enablestring" = xdisable; then
9237 if test $wxUSE_PROTOCOL_FTP = yes; then
9243 result=$wxUSE_PROTOCOL_FTP
9246 { echo "$as_me:$LINENO: result: $result" >&5
9247 echo "${ECHO_T}$result" >&6; }
9251 defaultval=$wxUSE_ALL_FEATURES
9252 if test -z "$defaultval"; then
9253 if test x"$enablestring" = xdisable; then
9260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9262 # Check whether --enable-protocol_file was given.
9263 if test "${enable_protocol_file+set}" = set; then
9264 enableval=$enable_protocol_file;
9265 if test "$enableval" = yes; then
9266 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9268 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9274 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9275 if test "x$LINE" != x ; then
9276 eval "DEFAULT_$LINE"
9282 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9287 eval "$wx_cv_use_protocol_file"
9288 if test "x$cache" = xyes; then
9289 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9292 if test x"$enablestring" = xdisable; then
9293 if test $wxUSE_PROTOCOL_FILE = yes; then
9299 result=$wxUSE_PROTOCOL_FILE
9302 { echo "$as_me:$LINENO: result: $result" >&5
9303 echo "${ECHO_T}$result" >&6; }
9308 defaultval=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x"$enablestring" = xdisable; then
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9319 # Check whether --enable-threads was given.
9320 if test "${enable_threads+set}" = set; then
9321 enableval=$enable_threads;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_threads='wxUSE_THREADS=yes'
9325 wx_cv_use_threads='wxUSE_THREADS=no'
9331 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9339 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9344 eval "$wx_cv_use_threads"
9345 if test "x$cache" = xyes; then
9346 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9349 if test x"$enablestring" = xdisable; then
9350 if test $wxUSE_THREADS = yes; then
9356 result=$wxUSE_THREADS
9359 { echo "$as_me:$LINENO: result: $result" >&5
9360 echo "${ECHO_T}$result" >&6; }
9366 if test -z "$defaultval"; then
9367 if test x"$enablestring" = xdisable; then
9374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9375 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9376 # Check whether --enable-iniconf was given.
9377 if test "${enable_iniconf+set}" = set; then
9378 enableval=$enable_iniconf;
9379 if test "$enableval" = yes; then
9380 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9382 wx_cv_use_iniconf='wxUSE_INICONF=no'
9388 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x ; then
9390 eval "DEFAULT_$LINE"
9396 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9401 eval "$wx_cv_use_iniconf"
9402 if test "x$cache" = xyes; then
9403 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_INICONF = yes; then
9413 result=$wxUSE_INICONF
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9432 # Check whether --enable-regkey was given.
9433 if test "${enable_regkey+set}" = set; then
9434 enableval=$enable_regkey;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9438 wx_cv_use_regkey='wxUSE_REGKEY=no'
9444 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9452 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9457 eval "$wx_cv_use_regkey"
9458 if test "x$cache" = xyes; then
9459 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9462 if test x"$enablestring" = xdisable; then
9463 if test $wxUSE_REGKEY = yes; then
9469 result=$wxUSE_REGKEY
9472 { echo "$as_me:$LINENO: result: $result" >&5
9473 echo "${ECHO_T}$result" >&6; }
9476 if test "$wxUSE_GUI" = "yes"; then
9481 defaultval=$wxUSE_ALL_FEATURES
9482 if test -z "$defaultval"; then
9483 if test x"$enablestring" = xdisable; then
9490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9491 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9492 # Check whether --enable-docview was given.
9493 if test "${enable_docview+set}" = set; then
9494 enableval=$enable_docview;
9495 if test "$enableval" = yes; then
9496 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9498 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9504 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9512 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9517 eval "$wx_cv_use_docview"
9518 if test "x$cache" = xyes; then
9519 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9522 if test x"$enablestring" = xdisable; then
9523 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9529 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9532 { echo "$as_me:$LINENO: result: $result" >&5
9533 echo "${ECHO_T}$result" >&6; }
9537 defaultval=$wxUSE_ALL_FEATURES
9538 if test -z "$defaultval"; then
9539 if test x"$enablestring" = xdisable; then
9546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9547 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9548 # Check whether --enable-help was given.
9549 if test "${enable_help+set}" = set; then
9550 enableval=$enable_help;
9551 if test "$enableval" = yes; then
9552 wx_cv_use_help='wxUSE_HELP=yes'
9554 wx_cv_use_help='wxUSE_HELP=no'
9560 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9561 if test "x$LINE" != x ; then
9562 eval "DEFAULT_$LINE"
9568 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9573 eval "$wx_cv_use_help"
9574 if test "x$cache" = xyes; then
9575 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_HELP = yes; then
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9604 # Check whether --enable-mshtmlhelp was given.
9605 if test "${enable_mshtmlhelp+set}" = set; then
9606 enableval=$enable_mshtmlhelp;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9610 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9616 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x ; then
9618 eval "DEFAULT_$LINE"
9624 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9629 eval "$wx_cv_use_mshtmlhelp"
9630 if test "x$cache" = xyes; then
9631 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9634 if test x"$enablestring" = xdisable; then
9635 if test $wxUSE_MS_HTML_HELP = yes; then
9641 result=$wxUSE_MS_HTML_HELP
9644 { echo "$as_me:$LINENO: result: $result" >&5
9645 echo "${ECHO_T}$result" >&6; }
9649 defaultval=$wxUSE_ALL_FEATURES
9650 if test -z "$defaultval"; then
9651 if test x"$enablestring" = xdisable; then
9658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9659 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9660 # Check whether --enable-html was given.
9661 if test "${enable_html+set}" = set; then
9662 enableval=$enable_html;
9663 if test "$enableval" = yes; then
9664 wx_cv_use_html='wxUSE_HTML=yes'
9666 wx_cv_use_html='wxUSE_HTML=no'
9672 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9673 if test "x$LINE" != x ; then
9674 eval "DEFAULT_$LINE"
9680 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9685 eval "$wx_cv_use_html"
9686 if test "x$cache" = xyes; then
9687 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9690 if test x"$enablestring" = xdisable; then
9691 if test $wxUSE_HTML = yes; then
9700 { echo "$as_me:$LINENO: result: $result" >&5
9701 echo "${ECHO_T}$result" >&6; }
9705 defaultval=$wxUSE_ALL_FEATURES
9706 if test -z "$defaultval"; then
9707 if test x"$enablestring" = xdisable; then
9714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9716 # Check whether --enable-htmlhelp was given.
9717 if test "${enable_htmlhelp+set}" = set; then
9718 enableval=$enable_htmlhelp;
9719 if test "$enableval" = yes; then
9720 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9722 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9728 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9729 if test "x$LINE" != x ; then
9730 eval "DEFAULT_$LINE"
9736 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9741 eval "$wx_cv_use_htmlhelp"
9742 if test "x$cache" = xyes; then
9743 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9746 if test x"$enablestring" = xdisable; then
9747 if test $wxUSE_WXHTML_HELP = yes; then
9753 result=$wxUSE_WXHTML_HELP
9756 { echo "$as_me:$LINENO: result: $result" >&5
9757 echo "${ECHO_T}$result" >&6; }
9761 defaultval=$wxUSE_ALL_FEATURES
9762 if test -z "$defaultval"; then
9763 if test x"$enablestring" = xdisable; then
9770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9771 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9772 # Check whether --enable-xrc was given.
9773 if test "${enable_xrc+set}" = set; then
9774 enableval=$enable_xrc;
9775 if test "$enableval" = yes; then
9776 wx_cv_use_xrc='wxUSE_XRC=yes'
9778 wx_cv_use_xrc='wxUSE_XRC=no'
9784 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9785 if test "x$LINE" != x ; then
9786 eval "DEFAULT_$LINE"
9792 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9797 eval "$wx_cv_use_xrc"
9798 if test "x$cache" = xyes; then
9799 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_XRC = yes; then
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9828 # Check whether --enable-aui was given.
9829 if test "${enable_aui+set}" = set; then
9830 enableval=$enable_aui;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_aui='wxUSE_AUI=yes'
9834 wx_cv_use_aui='wxUSE_AUI=no'
9840 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9848 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9853 eval "$wx_cv_use_aui"
9854 if test "x$cache" = xyes; then
9855 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9858 if test x"$enablestring" = xdisable; then
9859 if test $wxUSE_AUI = yes; then
9868 { echo "$as_me:$LINENO: result: $result" >&5
9869 echo "${ECHO_T}$result" >&6; }
9873 defaultval=$wxUSE_ALL_FEATURES
9874 if test -z "$defaultval"; then
9875 if test x"$enablestring" = xdisable; then
9882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9884 # Check whether --enable-stc was given.
9885 if test "${enable_stc+set}" = set; then
9886 enableval=$enable_stc;
9887 if test "$enableval" = yes; then
9888 wx_cv_use_stc='wxUSE_STC=yes'
9890 wx_cv_use_stc='wxUSE_STC=no'
9896 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9897 if test "x$LINE" != x ; then
9898 eval "DEFAULT_$LINE"
9904 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9909 eval "$wx_cv_use_stc"
9910 if test "x$cache" = xyes; then
9911 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_STC = yes; then
9924 { echo "$as_me:$LINENO: result: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9940 # Check whether --enable-constraints was given.
9941 if test "${enable_constraints+set}" = set; then
9942 enableval=$enable_constraints;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9946 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9952 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x ; then
9954 eval "DEFAULT_$LINE"
9960 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9965 eval "$wx_cv_use_constraints"
9966 if test "x$cache" = xyes; then
9967 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9970 if test x"$enablestring" = xdisable; then
9971 if test $wxUSE_CONSTRAINTS = yes; then
9977 result=$wxUSE_CONSTRAINTS
9980 { echo "$as_me:$LINENO: result: $result" >&5
9981 echo "${ECHO_T}$result" >&6; }
9985 defaultval=$wxUSE_ALL_FEATURES
9986 if test -z "$defaultval"; then
9987 if test x"$enablestring" = xdisable; then
9994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9995 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9996 # Check whether --enable-printarch was given.
9997 if test "${enable_printarch+set}" = set; then
9998 enableval=$enable_printarch;
9999 if test "$enableval" = yes; then
10000 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10002 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10008 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10009 if test "x$LINE" != x ; then
10010 eval "DEFAULT_$LINE"
10016 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10021 eval "$wx_cv_use_printarch"
10022 if test "x$cache" = xyes; then
10023 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10026 if test x"$enablestring" = xdisable; then
10027 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10033 result=$wxUSE_PRINTING_ARCHITECTURE
10036 { echo "$as_me:$LINENO: result: $result" >&5
10037 echo "${ECHO_T}$result" >&6; }
10041 defaultval=$wxUSE_ALL_FEATURES
10042 if test -z "$defaultval"; then
10043 if test x"$enablestring" = xdisable; then
10050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10052 # Check whether --enable-mdi was given.
10053 if test "${enable_mdi+set}" = set; then
10054 enableval=$enable_mdi;
10055 if test "$enableval" = yes; then
10056 wx_cv_use_mdi='wxUSE_MDI=yes'
10058 wx_cv_use_mdi='wxUSE_MDI=no'
10064 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10065 if test "x$LINE" != x ; then
10066 eval "DEFAULT_$LINE"
10072 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10077 eval "$wx_cv_use_mdi"
10078 if test "x$cache" = xyes; then
10079 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10082 if test x"$enablestring" = xdisable; then
10083 if test $wxUSE_MDI = yes; then
10092 { echo "$as_me:$LINENO: result: $result" >&5
10093 echo "${ECHO_T}$result" >&6; }
10097 defaultval=$wxUSE_ALL_FEATURES
10098 if test -z "$defaultval"; then
10099 if test x"$enablestring" = xdisable; then
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10108 # Check whether --enable-mdidoc was given.
10109 if test "${enable_mdidoc+set}" = set; then
10110 enableval=$enable_mdidoc;
10111 if test "$enableval" = yes; then
10112 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10114 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10120 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10121 if test "x$LINE" != x ; then
10122 eval "DEFAULT_$LINE"
10128 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10133 eval "$wx_cv_use_mdidoc"
10134 if test "x$cache" = xyes; then
10135 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10138 if test x"$enablestring" = xdisable; then
10139 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10145 result=$wxUSE_MDI_ARCHITECTURE
10148 { echo "$as_me:$LINENO: result: $result" >&5
10149 echo "${ECHO_T}$result" >&6; }
10153 defaultval=$wxUSE_ALL_FEATURES
10154 if test -z "$defaultval"; then
10155 if test x"$enablestring" = xdisable; then
10162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10164 # Check whether --enable-loggui was given.
10165 if test "${enable_loggui+set}" = set; then
10166 enableval=$enable_loggui;
10167 if test "$enableval" = yes; then
10168 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10170 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10176 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10177 if test "x$LINE" != x ; then
10178 eval "DEFAULT_$LINE"
10184 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10189 eval "$wx_cv_use_loggui"
10190 if test "x$cache" = xyes; then
10191 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10194 if test x"$enablestring" = xdisable; then
10195 if test $wxUSE_LOGGUI = yes; then
10201 result=$wxUSE_LOGGUI
10204 { echo "$as_me:$LINENO: result: $result" >&5
10205 echo "${ECHO_T}$result" >&6; }
10209 defaultval=$wxUSE_ALL_FEATURES
10210 if test -z "$defaultval"; then
10211 if test x"$enablestring" = xdisable; then
10218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10220 # Check whether --enable-logwin was given.
10221 if test "${enable_logwin+set}" = set; then
10222 enableval=$enable_logwin;
10223 if test "$enableval" = yes; then
10224 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10226 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10232 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x ; then
10234 eval "DEFAULT_$LINE"
10240 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10245 eval "$wx_cv_use_logwin"
10246 if test "x$cache" = xyes; then
10247 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10250 if test x"$enablestring" = xdisable; then
10251 if test $wxUSE_LOGWINDOW = yes; then
10257 result=$wxUSE_LOGWINDOW
10260 { echo "$as_me:$LINENO: result: $result" >&5
10261 echo "${ECHO_T}$result" >&6; }
10265 defaultval=$wxUSE_ALL_FEATURES
10266 if test -z "$defaultval"; then
10267 if test x"$enablestring" = xdisable; then
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10276 # Check whether --enable-logdialog was given.
10277 if test "${enable_logdialog+set}" = set; then
10278 enableval=$enable_logdialog;
10279 if test "$enableval" = yes; then
10280 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10282 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10288 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10296 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10301 eval "$wx_cv_use_logdialog"
10302 if test "x$cache" = xyes; then
10303 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10306 if test x"$enablestring" = xdisable; then
10307 if test $wxUSE_LOGDIALOG = yes; then
10313 result=$wxUSE_LOGDIALOG
10316 { echo "$as_me:$LINENO: result: $result" >&5
10317 echo "${ECHO_T}$result" >&6; }
10321 defaultval=$wxUSE_ALL_FEATURES
10322 if test -z "$defaultval"; then
10323 if test x"$enablestring" = xdisable; then
10330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10331 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10332 # Check whether --enable-webkit was given.
10333 if test "${enable_webkit+set}" = set; then
10334 enableval=$enable_webkit;
10335 if test "$enableval" = yes; then
10336 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10338 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10344 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10345 if test "x$LINE" != x ; then
10346 eval "DEFAULT_$LINE"
10352 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10357 eval "$wx_cv_use_webkit"
10358 if test "x$cache" = xyes; then
10359 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10362 if test x"$enablestring" = xdisable; then
10363 if test $wxUSE_WEBKIT = yes; then
10369 result=$wxUSE_WEBKIT
10372 { echo "$as_me:$LINENO: result: $result" >&5
10373 echo "${ECHO_T}$result" >&6; }
10377 defaultval=$wxUSE_ALL_FEATURES
10378 if test -z "$defaultval"; then
10379 if test x"$enablestring" = xdisable; then
10386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10387 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10388 # Check whether --enable-richtext was given.
10389 if test "${enable_richtext+set}" = set; then
10390 enableval=$enable_richtext;
10391 if test "$enableval" = yes; then
10392 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10394 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10400 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10401 if test "x$LINE" != x ; then
10402 eval "DEFAULT_$LINE"
10408 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10413 eval "$wx_cv_use_richtext"
10414 if test "x$cache" = xyes; then
10415 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_RICHTEXT = yes; then
10425 result=$wxUSE_RICHTEXT
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10444 # Check whether --enable-graphics_ctx was given.
10445 if test "${enable_graphics_ctx+set}" = set; then
10446 enableval=$enable_graphics_ctx;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10450 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10456 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10457 if test "x$LINE" != x ; then
10458 eval "DEFAULT_$LINE"
10464 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10469 eval "$wx_cv_use_graphics_ctx"
10470 if test "x$cache" = xyes; then
10471 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10474 if test x"$enablestring" = xdisable; then
10475 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10481 result=$wxUSE_GRAPHICS_CONTEXT
10484 { echo "$as_me:$LINENO: result: $result" >&5
10485 echo "${ECHO_T}$result" >&6; }
10489 defaultval=$wxUSE_ALL_FEATURES
10490 if test -z "$defaultval"; then
10491 if test x"$enablestring" = xdisable; then
10498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10499 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10500 # Check whether --enable-postscript was given.
10501 if test "${enable_postscript+set}" = set; then
10502 enableval=$enable_postscript;
10503 if test "$enableval" = yes; then
10504 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10506 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10512 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10513 if test "x$LINE" != x ; then
10514 eval "DEFAULT_$LINE"
10520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10525 eval "$wx_cv_use_postscript"
10526 if test "x$cache" = xyes; then
10527 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_POSTSCRIPT = yes; then
10537 result=$wxUSE_POSTSCRIPT
10540 { echo "$as_me:$LINENO: result: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10556 # Check whether --enable-svg was given.
10557 if test "${enable_svg+set}" = set; then
10558 enableval=$enable_svg;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_svg='wxUSE_SVG=yes'
10562 wx_cv_use_svg='wxUSE_SVG=no'
10568 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10569 if test "x$LINE" != x ; then
10570 eval "DEFAULT_$LINE"
10576 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10581 eval "$wx_cv_use_svg"
10582 if test "x$cache" = xyes; then
10583 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10586 if test x"$enablestring" = xdisable; then
10587 if test $wxUSE_SVG = yes; then
10596 { echo "$as_me:$LINENO: result: $result" >&5
10597 echo "${ECHO_T}$result" >&6; }
10603 defaultval=$wxUSE_ALL_FEATURES
10604 if test -z "$defaultval"; then
10605 if test x"$enablestring" = xdisable; then
10612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10613 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10614 # Check whether --enable-clipboard was given.
10615 if test "${enable_clipboard+set}" = set; then
10616 enableval=$enable_clipboard;
10617 if test "$enableval" = yes; then
10618 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10620 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10626 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10627 if test "x$LINE" != x ; then
10628 eval "DEFAULT_$LINE"
10634 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10639 eval "$wx_cv_use_clipboard"
10640 if test "x$cache" = xyes; then
10641 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10644 if test x"$enablestring" = xdisable; then
10645 if test $wxUSE_CLIPBOARD = yes; then
10651 result=$wxUSE_CLIPBOARD
10654 { echo "$as_me:$LINENO: result: $result" >&5
10655 echo "${ECHO_T}$result" >&6; }
10659 defaultval=$wxUSE_ALL_FEATURES
10660 if test -z "$defaultval"; then
10661 if test x"$enablestring" = xdisable; then
10668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10670 # Check whether --enable-dnd was given.
10671 if test "${enable_dnd+set}" = set; then
10672 enableval=$enable_dnd;
10673 if test "$enableval" = yes; then
10674 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10676 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10682 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10683 if test "x$LINE" != x ; then
10684 eval "DEFAULT_$LINE"
10690 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10695 eval "$wx_cv_use_dnd"
10696 if test "x$cache" = xyes; then
10697 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10700 if test x"$enablestring" = xdisable; then
10701 if test $wxUSE_DRAG_AND_DROP = yes; then
10707 result=$wxUSE_DRAG_AND_DROP
10710 { echo "$as_me:$LINENO: result: $result" >&5
10711 echo "${ECHO_T}$result" >&6; }
10715 defaultval=$wxUSE_ALL_FEATURES
10716 if test -z "$defaultval"; then
10717 if test x"$enablestring" = xdisable; then
10724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10725 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10726 # Check whether --enable-metafile was given.
10727 if test "${enable_metafile+set}" = set; then
10728 enableval=$enable_metafile;
10729 if test "$enableval" = yes; then
10730 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10732 wx_cv_use_metafile='wxUSE_METAFILE=no'
10738 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10739 if test "x$LINE" != x ; then
10740 eval "DEFAULT_$LINE"
10746 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10751 eval "$wx_cv_use_metafile"
10752 if test "x$cache" = xyes; then
10753 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10756 if test x"$enablestring" = xdisable; then
10757 if test $wxUSE_METAFILE = yes; then
10763 result=$wxUSE_METAFILE
10766 { echo "$as_me:$LINENO: result: $result" >&5
10767 echo "${ECHO_T}$result" >&6; }
10771 DEFAULT_wxUSE_CONTROLS=none
10773 enablestring=disable
10775 if test -z "$defaultval"; then
10776 if test x"$enablestring" = xdisable; then
10783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10784 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10785 # Check whether --enable-controls was given.
10786 if test "${enable_controls+set}" = set; then
10787 enableval=$enable_controls;
10788 if test "$enableval" = yes; then
10789 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10791 wx_cv_use_controls='wxUSE_CONTROLS=no'
10797 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10805 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10810 eval "$wx_cv_use_controls"
10811 if test "x$cache" = xyes; then
10812 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10815 if test x"$enablestring" = xdisable; then
10816 if test $wxUSE_CONTROLS = yes; then
10822 result=$wxUSE_CONTROLS
10825 { echo "$as_me:$LINENO: result: $result" >&5
10826 echo "${ECHO_T}$result" >&6; }
10829 if test "$wxUSE_CONTROLS" = "yes"; then
10830 DEFAULT_wxUSE_ACCEL=yes
10831 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10832 DEFAULT_wxUSE_BMPBUTTON=yes
10833 DEFAULT_wxUSE_BUTTON=yes
10834 DEFAULT_wxUSE_CALCTRL=yes
10835 DEFAULT_wxUSE_CARET=yes
10836 DEFAULT_wxUSE_COMBOBOX=yes
10837 DEFAULT_wxUSE_CHECKBOX=yes
10838 DEFAULT_wxUSE_CHECKLISTBOX=yes
10839 DEFAULT_wxUSE_CHOICE=yes
10840 DEFAULT_wxUSE_CHOICEBOOK=yes
10841 DEFAULT_wxUSE_COLLPANE=yes
10842 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10843 DEFAULT_wxUSE_COMBOBOX=yes
10844 DEFAULT_wxUSE_DATEPICKCTRL=yes
10845 DEFAULT_wxUSE_DISPLAY=yes
10846 DEFAULT_wxUSE_DETECT_SM=yes
10847 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10848 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10849 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10850 DEFAULT_wxUSE_GAUGE=yes
10851 DEFAULT_wxUSE_GRID=yes
10852 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10853 DEFAULT_wxUSE_DATAVIEWCTRL=no
10854 DEFAULT_wxUSE_IMAGLIST=yes
10855 DEFAULT_wxUSE_LISTBOOK=yes
10856 DEFAULT_wxUSE_LISTBOX=yes
10857 DEFAULT_wxUSE_LISTCTRL=yes
10858 DEFAULT_wxUSE_NOTEBOOK=yes
10859 DEFAULT_wxUSE_RADIOBOX=yes
10860 DEFAULT_wxUSE_RADIOBTN=yes
10861 DEFAULT_wxUSE_SASH=yes
10862 DEFAULT_wxUSE_SCROLLBAR=yes
10863 DEFAULT_wxUSE_SEARCHCTRL=yes
10864 DEFAULT_wxUSE_SLIDER=yes
10865 DEFAULT_wxUSE_SPINBTN=yes
10866 DEFAULT_wxUSE_SPINCTRL=yes
10867 DEFAULT_wxUSE_SPLITTER=yes
10868 DEFAULT_wxUSE_STATBMP=yes
10869 DEFAULT_wxUSE_STATBOX=yes
10870 DEFAULT_wxUSE_STATLINE=yes
10871 DEFAULT_wxUSE_STATUSBAR=yes
10872 DEFAULT_wxUSE_TAB_DIALOG=yes
10873 DEFAULT_wxUSE_TOGGLEBTN=yes
10874 DEFAULT_wxUSE_TOOLBAR=yes
10875 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10876 DEFAULT_wxUSE_TOOLTIPS=yes
10877 DEFAULT_wxUSE_TREEBOOK=yes
10878 DEFAULT_wxUSE_TOOLBOOK=yes
10879 DEFAULT_wxUSE_TREECTRL=yes
10880 DEFAULT_wxUSE_POPUPWIN=yes
10881 DEFAULT_wxUSE_TIPWINDOW=yes
10882 elif test "$wxUSE_CONTROLS" = "no"; then
10883 DEFAULT_wxUSE_ACCEL=no
10884 DEFAULT_wxUSE_ANIMATIONCTRL=no
10885 DEFAULT_wxUSE_BMPBUTTON=no
10886 DEFAULT_wxUSE_BUTTON=no
10887 DEFAULT_wxUSE_CALCTRL=no
10888 DEFAULT_wxUSE_CARET=no
10889 DEFAULT_wxUSE_COLLPANE=no
10890 DEFAULT_wxUSE_COMBOBOX=no
10891 DEFAULT_wxUSE_CHECKBOX=no
10892 DEFAULT_wxUSE_CHECKLISTBOX=no
10893 DEFAULT_wxUSE_CHOICE=no
10894 DEFAULT_wxUSE_CHOICEBOOK=no
10895 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10896 DEFAULT_wxUSE_COMBOBOX=no
10897 DEFAULT_wxUSE_DATEPICKCTRL=no
10898 DEFAULT_wxUSE_DISPLAY=no
10899 DEFAULT_wxUSE_DETECT_SM=no
10900 DEFAULT_wxUSE_DIRPICKERCTRL=no
10901 DEFAULT_wxUSE_FILEPICKERCTRL=no
10902 DEFAULT_wxUSE_FONTPICKERCTRL=no
10903 DEFAULT_wxUSE_GAUGE=no
10904 DEFAULT_wxUSE_GRID=no
10905 DEFAULT_wxUSE_HYPERLINKCTRL=no
10906 DEFAULT_wxUSE_DATAVIEWCTRL=no
10907 DEFAULT_wxUSE_IMAGLIST=no
10908 DEFAULT_wxUSE_LISTBOOK=no
10909 DEFAULT_wxUSE_LISTBOX=no
10910 DEFAULT_wxUSE_LISTCTRL=no
10911 DEFAULT_wxUSE_NOTEBOOK=no
10912 DEFAULT_wxUSE_RADIOBOX=no
10913 DEFAULT_wxUSE_RADIOBTN=no
10914 DEFAULT_wxUSE_SASH=no
10915 DEFAULT_wxUSE_SCROLLBAR=no
10916 DEFAULT_wxUSE_SEARCHCTRL=no
10917 DEFAULT_wxUSE_SLIDER=no
10918 DEFAULT_wxUSE_SPINBTN=no
10919 DEFAULT_wxUSE_SPINCTRL=no
10920 DEFAULT_wxUSE_SPLITTER=no
10921 DEFAULT_wxUSE_STATBMP=no
10922 DEFAULT_wxUSE_STATBOX=no
10923 DEFAULT_wxUSE_STATLINE=no
10924 DEFAULT_wxUSE_STATUSBAR=no
10925 DEFAULT_wxUSE_TAB_DIALOG=no
10926 DEFAULT_wxUSE_TOGGLEBTN=no
10927 DEFAULT_wxUSE_TOOLBAR=no
10928 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10929 DEFAULT_wxUSE_TOOLTIPS=no
10930 DEFAULT_wxUSE_TREEBOOK=no
10931 DEFAULT_wxUSE_TOOLBOOK=no
10932 DEFAULT_wxUSE_TREECTRL=no
10933 DEFAULT_wxUSE_POPUPWIN=no
10934 DEFAULT_wxUSE_TIPWINDOW=no
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10950 # Check whether --enable-accel was given.
10951 if test "${enable_accel+set}" = set; then
10952 enableval=$enable_accel;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_accel='wxUSE_ACCEL=yes'
10956 wx_cv_use_accel='wxUSE_ACCEL=no'
10962 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10963 if test "x$LINE" != x ; then
10964 eval "DEFAULT_$LINE"
10970 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10975 eval "$wx_cv_use_accel"
10976 if test "x$cache" = xyes; then
10977 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10980 if test x"$enablestring" = xdisable; then
10981 if test $wxUSE_ACCEL = yes; then
10987 result=$wxUSE_ACCEL
10990 { echo "$as_me:$LINENO: result: $result" >&5
10991 echo "${ECHO_T}$result" >&6; }
10995 defaultval=$wxUSE_ALL_FEATURES
10996 if test -z "$defaultval"; then
10997 if test x"$enablestring" = xdisable; then
11004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11005 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11006 # Check whether --enable-animatectrl was given.
11007 if test "${enable_animatectrl+set}" = set; then
11008 enableval=$enable_animatectrl;
11009 if test "$enableval" = yes; then
11010 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11012 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11018 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11019 if test "x$LINE" != x ; then
11020 eval "DEFAULT_$LINE"
11026 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11031 eval "$wx_cv_use_animatectrl"
11032 if test "x$cache" = xyes; then
11033 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11036 if test x"$enablestring" = xdisable; then
11037 if test $wxUSE_ANIMATIONCTRL = yes; then
11043 result=$wxUSE_ANIMATIONCTRL
11046 { echo "$as_me:$LINENO: result: $result" >&5
11047 echo "${ECHO_T}$result" >&6; }
11051 defaultval=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x"$enablestring" = xdisable; then
11060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11061 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11062 # Check whether --enable-button was given.
11063 if test "${enable_button+set}" = set; then
11064 enableval=$enable_button;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_button='wxUSE_BUTTON=yes'
11068 wx_cv_use_button='wxUSE_BUTTON=no'
11074 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11075 if test "x$LINE" != x ; then
11076 eval "DEFAULT_$LINE"
11082 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11087 eval "$wx_cv_use_button"
11088 if test "x$cache" = xyes; then
11089 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11092 if test x"$enablestring" = xdisable; then
11093 if test $wxUSE_BUTTON = yes; then
11099 result=$wxUSE_BUTTON
11102 { echo "$as_me:$LINENO: result: $result" >&5
11103 echo "${ECHO_T}$result" >&6; }
11107 defaultval=$wxUSE_ALL_FEATURES
11108 if test -z "$defaultval"; then
11109 if test x"$enablestring" = xdisable; then
11116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11117 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11118 # Check whether --enable-bmpbutton was given.
11119 if test "${enable_bmpbutton+set}" = set; then
11120 enableval=$enable_bmpbutton;
11121 if test "$enableval" = yes; then
11122 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11124 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11130 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11131 if test "x$LINE" != x ; then
11132 eval "DEFAULT_$LINE"
11138 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11143 eval "$wx_cv_use_bmpbutton"
11144 if test "x$cache" = xyes; then
11145 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_BMPBUTTON = yes; then
11155 result=$wxUSE_BMPBUTTON
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11174 # Check whether --enable-bmpcombobox was given.
11175 if test "${enable_bmpcombobox+set}" = set; then
11176 enableval=$enable_bmpcombobox;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11180 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11186 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11187 if test "x$LINE" != x ; then
11188 eval "DEFAULT_$LINE"
11194 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11199 eval "$wx_cv_use_bmpcombobox"
11200 if test "x$cache" = xyes; then
11201 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11204 if test x"$enablestring" = xdisable; then
11205 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11211 result=$wxUSE_BITMAPCOMBOBOX
11214 { echo "$as_me:$LINENO: result: $result" >&5
11215 echo "${ECHO_T}$result" >&6; }
11219 defaultval=$wxUSE_ALL_FEATURES
11220 if test -z "$defaultval"; then
11221 if test x"$enablestring" = xdisable; then
11228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11229 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11230 # Check whether --enable-calendar was given.
11231 if test "${enable_calendar+set}" = set; then
11232 enableval=$enable_calendar;
11233 if test "$enableval" = yes; then
11234 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11236 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11242 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11243 if test "x$LINE" != x ; then
11244 eval "DEFAULT_$LINE"
11250 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11255 eval "$wx_cv_use_calendar"
11256 if test "x$cache" = xyes; then
11257 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_CALCTRL = yes; then
11267 result=$wxUSE_CALCTRL
11270 { echo "$as_me:$LINENO: result: $result" >&5
11271 echo "${ECHO_T}$result" >&6; }
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11285 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11286 # Check whether --enable-caret was given.
11287 if test "${enable_caret+set}" = set; then
11288 enableval=$enable_caret;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_caret='wxUSE_CARET=yes'
11292 wx_cv_use_caret='wxUSE_CARET=no'
11298 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11299 if test "x$LINE" != x ; then
11300 eval "DEFAULT_$LINE"
11306 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11311 eval "$wx_cv_use_caret"
11312 if test "x$cache" = xyes; then
11313 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11316 if test x"$enablestring" = xdisable; then
11317 if test $wxUSE_CARET = yes; then
11323 result=$wxUSE_CARET
11326 { echo "$as_me:$LINENO: result: $result" >&5
11327 echo "${ECHO_T}$result" >&6; }
11331 defaultval=$wxUSE_ALL_FEATURES
11332 if test -z "$defaultval"; then
11333 if test x"$enablestring" = xdisable; then
11340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11342 # Check whether --enable-checkbox was given.
11343 if test "${enable_checkbox+set}" = set; then
11344 enableval=$enable_checkbox;
11345 if test "$enableval" = yes; then
11346 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11348 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11354 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11355 if test "x$LINE" != x ; then
11356 eval "DEFAULT_$LINE"
11362 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11367 eval "$wx_cv_use_checkbox"
11368 if test "x$cache" = xyes; then
11369 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11372 if test x"$enablestring" = xdisable; then
11373 if test $wxUSE_CHECKBOX = yes; then
11379 result=$wxUSE_CHECKBOX
11382 { echo "$as_me:$LINENO: result: $result" >&5
11383 echo "${ECHO_T}$result" >&6; }
11387 defaultval=$wxUSE_ALL_FEATURES
11388 if test -z "$defaultval"; then
11389 if test x"$enablestring" = xdisable; then
11396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11397 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11398 # Check whether --enable-checklst was given.
11399 if test "${enable_checklst+set}" = set; then
11400 enableval=$enable_checklst;
11401 if test "$enableval" = yes; then
11402 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11404 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11410 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11411 if test "x$LINE" != x ; then
11412 eval "DEFAULT_$LINE"
11418 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11423 eval "$wx_cv_use_checklst"
11424 if test "x$cache" = xyes; then
11425 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11428 if test x"$enablestring" = xdisable; then
11429 if test $wxUSE_CHECKLST = yes; then
11435 result=$wxUSE_CHECKLST
11438 { echo "$as_me:$LINENO: result: $result" >&5
11439 echo "${ECHO_T}$result" >&6; }
11443 defaultval=$wxUSE_ALL_FEATURES
11444 if test -z "$defaultval"; then
11445 if test x"$enablestring" = xdisable; then
11452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11453 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11454 # Check whether --enable-choice was given.
11455 if test "${enable_choice+set}" = set; then
11456 enableval=$enable_choice;
11457 if test "$enableval" = yes; then
11458 wx_cv_use_choice='wxUSE_CHOICE=yes'
11460 wx_cv_use_choice='wxUSE_CHOICE=no'
11466 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11467 if test "x$LINE" != x ; then
11468 eval "DEFAULT_$LINE"
11474 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11479 eval "$wx_cv_use_choice"
11480 if test "x$cache" = xyes; then
11481 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11484 if test x"$enablestring" = xdisable; then
11485 if test $wxUSE_CHOICE = yes; then
11491 result=$wxUSE_CHOICE
11494 { echo "$as_me:$LINENO: result: $result" >&5
11495 echo "${ECHO_T}$result" >&6; }
11499 defaultval=$wxUSE_ALL_FEATURES
11500 if test -z "$defaultval"; then
11501 if test x"$enablestring" = xdisable; then
11508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11509 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11510 # Check whether --enable-choicebook was given.
11511 if test "${enable_choicebook+set}" = set; then
11512 enableval=$enable_choicebook;
11513 if test "$enableval" = yes; then
11514 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11516 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11522 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11523 if test "x$LINE" != x ; then
11524 eval "DEFAULT_$LINE"
11530 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11535 eval "$wx_cv_use_choicebook"
11536 if test "x$cache" = xyes; then
11537 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11540 if test x"$enablestring" = xdisable; then
11541 if test $wxUSE_CHOICEBOOK = yes; then
11547 result=$wxUSE_CHOICEBOOK
11550 { echo "$as_me:$LINENO: result: $result" >&5
11551 echo "${ECHO_T}$result" >&6; }
11555 defaultval=$wxUSE_ALL_FEATURES
11556 if test -z "$defaultval"; then
11557 if test x"$enablestring" = xdisable; then
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11566 # Check whether --enable-collpane was given.
11567 if test "${enable_collpane+set}" = set; then
11568 enableval=$enable_collpane;
11569 if test "$enableval" = yes; then
11570 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11572 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11578 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11579 if test "x$LINE" != x ; then
11580 eval "DEFAULT_$LINE"
11586 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11591 eval "$wx_cv_use_collpane"
11592 if test "x$cache" = xyes; then
11593 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11596 if test x"$enablestring" = xdisable; then
11597 if test $wxUSE_COLLPANE = yes; then
11603 result=$wxUSE_COLLPANE
11606 { echo "$as_me:$LINENO: result: $result" >&5
11607 echo "${ECHO_T}$result" >&6; }
11611 defaultval=$wxUSE_ALL_FEATURES
11612 if test -z "$defaultval"; then
11613 if test x"$enablestring" = xdisable; then
11620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11621 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11622 # Check whether --enable-colourpicker was given.
11623 if test "${enable_colourpicker+set}" = set; then
11624 enableval=$enable_colourpicker;
11625 if test "$enableval" = yes; then
11626 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11628 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11634 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11635 if test "x$LINE" != x ; then
11636 eval "DEFAULT_$LINE"
11642 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11647 eval "$wx_cv_use_colourpicker"
11648 if test "x$cache" = xyes; then
11649 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11652 if test x"$enablestring" = xdisable; then
11653 if test $wxUSE_COLOURPICKERCTRL = yes; then
11659 result=$wxUSE_COLOURPICKERCTRL
11662 { echo "$as_me:$LINENO: result: $result" >&5
11663 echo "${ECHO_T}$result" >&6; }
11667 defaultval=$wxUSE_ALL_FEATURES
11668 if test -z "$defaultval"; then
11669 if test x"$enablestring" = xdisable; then
11676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11677 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11678 # Check whether --enable-combobox was given.
11679 if test "${enable_combobox+set}" = set; then
11680 enableval=$enable_combobox;
11681 if test "$enableval" = yes; then
11682 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11684 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11690 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11691 if test "x$LINE" != x ; then
11692 eval "DEFAULT_$LINE"
11698 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11703 eval "$wx_cv_use_combobox"
11704 if test "x$cache" = xyes; then
11705 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11708 if test x"$enablestring" = xdisable; then
11709 if test $wxUSE_COMBOBOX = yes; then
11715 result=$wxUSE_COMBOBOX
11718 { echo "$as_me:$LINENO: result: $result" >&5
11719 echo "${ECHO_T}$result" >&6; }
11723 defaultval=$wxUSE_ALL_FEATURES
11724 if test -z "$defaultval"; then
11725 if test x"$enablestring" = xdisable; then
11732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11734 # Check whether --enable-comboctrl was given.
11735 if test "${enable_comboctrl+set}" = set; then
11736 enableval=$enable_comboctrl;
11737 if test "$enableval" = yes; then
11738 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11740 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11746 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11747 if test "x$LINE" != x ; then
11748 eval "DEFAULT_$LINE"
11754 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11759 eval "$wx_cv_use_comboctrl"
11760 if test "x$cache" = xyes; then
11761 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_COMBOCTRL = yes; then
11771 result=$wxUSE_COMBOCTRL
11774 { echo "$as_me:$LINENO: result: $result" >&5
11775 echo "${ECHO_T}$result" >&6; }
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11790 # Check whether --enable-datepick was given.
11791 if test "${enable_datepick+set}" = set; then
11792 enableval=$enable_datepick;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11796 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11802 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11803 if test "x$LINE" != x ; then
11804 eval "DEFAULT_$LINE"
11810 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11815 eval "$wx_cv_use_datepick"
11816 if test "x$cache" = xyes; then
11817 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11820 if test x"$enablestring" = xdisable; then
11821 if test $wxUSE_DATEPICKCTRL = yes; then
11827 result=$wxUSE_DATEPICKCTRL
11830 { echo "$as_me:$LINENO: result: $result" >&5
11831 echo "${ECHO_T}$result" >&6; }
11835 defaultval=$wxUSE_ALL_FEATURES
11836 if test -z "$defaultval"; then
11837 if test x"$enablestring" = xdisable; then
11844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11845 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11846 # Check whether --enable-dirpicker was given.
11847 if test "${enable_dirpicker+set}" = set; then
11848 enableval=$enable_dirpicker;
11849 if test "$enableval" = yes; then
11850 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11852 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11858 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11859 if test "x$LINE" != x ; then
11860 eval "DEFAULT_$LINE"
11866 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11871 eval "$wx_cv_use_dirpicker"
11872 if test "x$cache" = xyes; then
11873 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11876 if test x"$enablestring" = xdisable; then
11877 if test $wxUSE_DIRPICKERCTRL = yes; then
11883 result=$wxUSE_DIRPICKERCTRL
11886 { echo "$as_me:$LINENO: result: $result" >&5
11887 echo "${ECHO_T}$result" >&6; }
11891 defaultval=$wxUSE_ALL_FEATURES
11892 if test -z "$defaultval"; then
11893 if test x"$enablestring" = xdisable; then
11900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11901 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11902 # Check whether --enable-display was given.
11903 if test "${enable_display+set}" = set; then
11904 enableval=$enable_display;
11905 if test "$enableval" = yes; then
11906 wx_cv_use_display='wxUSE_DISPLAY=yes'
11908 wx_cv_use_display='wxUSE_DISPLAY=no'
11914 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11915 if test "x$LINE" != x ; then
11916 eval "DEFAULT_$LINE"
11922 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11927 eval "$wx_cv_use_display"
11928 if test "x$cache" = xyes; then
11929 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_DISPLAY = yes; then
11939 result=$wxUSE_DISPLAY
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11958 # Check whether --enable-detect_sm was given.
11959 if test "${enable_detect_sm+set}" = set; then
11960 enableval=$enable_detect_sm;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11964 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11970 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11971 if test "x$LINE" != x ; then
11972 eval "DEFAULT_$LINE"
11978 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11983 eval "$wx_cv_use_detect_sm"
11984 if test "x$cache" = xyes; then
11985 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11988 if test x"$enablestring" = xdisable; then
11989 if test $wxUSE_DETECT_SM = yes; then
11995 result=$wxUSE_DETECT_SM
11998 { echo "$as_me:$LINENO: result: $result" >&5
11999 echo "${ECHO_T}$result" >&6; }
12003 defaultval=$wxUSE_ALL_FEATURES
12004 if test -z "$defaultval"; then
12005 if test x"$enablestring" = xdisable; then
12012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12013 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12014 # Check whether --enable-editablebox was given.
12015 if test "${enable_editablebox+set}" = set; then
12016 enableval=$enable_editablebox;
12017 if test "$enableval" = yes; then
12018 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12020 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12026 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12027 if test "x$LINE" != x ; then
12028 eval "DEFAULT_$LINE"
12034 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12039 eval "$wx_cv_use_editablebox"
12040 if test "x$cache" = xyes; then
12041 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12044 if test x"$enablestring" = xdisable; then
12045 if test $wxUSE_EDITABLELISTBOX = yes; then
12051 result=$wxUSE_EDITABLELISTBOX
12054 { echo "$as_me:$LINENO: result: $result" >&5
12055 echo "${ECHO_T}$result" >&6; }
12059 defaultval=$wxUSE_ALL_FEATURES
12060 if test -z "$defaultval"; then
12061 if test x"$enablestring" = xdisable; then
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12070 # Check whether --enable-filepicker was given.
12071 if test "${enable_filepicker+set}" = set; then
12072 enableval=$enable_filepicker;
12073 if test "$enableval" = yes; then
12074 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12076 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12082 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12090 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12095 eval "$wx_cv_use_filepicker"
12096 if test "x$cache" = xyes; then
12097 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12100 if test x"$enablestring" = xdisable; then
12101 if test $wxUSE_FILEPICKERCTRL = yes; then
12107 result=$wxUSE_FILEPICKERCTRL
12110 { echo "$as_me:$LINENO: result: $result" >&5
12111 echo "${ECHO_T}$result" >&6; }
12115 defaultval=$wxUSE_ALL_FEATURES
12116 if test -z "$defaultval"; then
12117 if test x"$enablestring" = xdisable; then
12124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12125 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12126 # Check whether --enable-fontpicker was given.
12127 if test "${enable_fontpicker+set}" = set; then
12128 enableval=$enable_fontpicker;
12129 if test "$enableval" = yes; then
12130 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12132 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12138 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12139 if test "x$LINE" != x ; then
12140 eval "DEFAULT_$LINE"
12146 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12151 eval "$wx_cv_use_fontpicker"
12152 if test "x$cache" = xyes; then
12153 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12156 if test x"$enablestring" = xdisable; then
12157 if test $wxUSE_FONTPICKERCTRL = yes; then
12163 result=$wxUSE_FONTPICKERCTRL
12166 { echo "$as_me:$LINENO: result: $result" >&5
12167 echo "${ECHO_T}$result" >&6; }
12171 defaultval=$wxUSE_ALL_FEATURES
12172 if test -z "$defaultval"; then
12173 if test x"$enablestring" = xdisable; then
12180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12181 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12182 # Check whether --enable-gauge was given.
12183 if test "${enable_gauge+set}" = set; then
12184 enableval=$enable_gauge;
12185 if test "$enableval" = yes; then
12186 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12188 wx_cv_use_gauge='wxUSE_GAUGE=no'
12194 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12195 if test "x$LINE" != x ; then
12196 eval "DEFAULT_$LINE"
12202 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12207 eval "$wx_cv_use_gauge"
12208 if test "x$cache" = xyes; then
12209 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12212 if test x"$enablestring" = xdisable; then
12213 if test $wxUSE_GAUGE = yes; then
12219 result=$wxUSE_GAUGE
12222 { echo "$as_me:$LINENO: result: $result" >&5
12223 echo "${ECHO_T}$result" >&6; }
12227 defaultval=$wxUSE_ALL_FEATURES
12228 if test -z "$defaultval"; then
12229 if test x"$enablestring" = xdisable; then
12236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12237 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12238 # Check whether --enable-grid was given.
12239 if test "${enable_grid+set}" = set; then
12240 enableval=$enable_grid;
12241 if test "$enableval" = yes; then
12242 wx_cv_use_grid='wxUSE_GRID=yes'
12244 wx_cv_use_grid='wxUSE_GRID=no'
12250 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12251 if test "x$LINE" != x ; then
12252 eval "DEFAULT_$LINE"
12258 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12263 eval "$wx_cv_use_grid"
12264 if test "x$cache" = xyes; then
12265 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_GRID = yes; then
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12294 # Check whether --enable-dataviewctrl was given.
12295 if test "${enable_dataviewctrl+set}" = set; then
12296 enableval=$enable_dataviewctrl;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12300 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12306 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12314 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12319 eval "$wx_cv_use_dataviewctrl"
12320 if test "x$cache" = xyes; then
12321 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12324 if test x"$enablestring" = xdisable; then
12325 if test $wxUSE_DATAVIEWCTRL = yes; then
12331 result=$wxUSE_DATAVIEWCTRL
12334 { echo "$as_me:$LINENO: result: $result" >&5
12335 echo "${ECHO_T}$result" >&6; }
12339 defaultval=$wxUSE_ALL_FEATURES
12340 if test -z "$defaultval"; then
12341 if test x"$enablestring" = xdisable; then
12348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12349 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12350 # Check whether --enable-hyperlink was given.
12351 if test "${enable_hyperlink+set}" = set; then
12352 enableval=$enable_hyperlink;
12353 if test "$enableval" = yes; then
12354 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12356 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12362 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12363 if test "x$LINE" != x ; then
12364 eval "DEFAULT_$LINE"
12370 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12375 eval "$wx_cv_use_hyperlink"
12376 if test "x$cache" = xyes; then
12377 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_HYPERLINKCTRL = yes; then
12387 result=$wxUSE_HYPERLINKCTRL
12390 { echo "$as_me:$LINENO: result: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12406 # Check whether --enable-imaglist was given.
12407 if test "${enable_imaglist+set}" = set; then
12408 enableval=$enable_imaglist;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12412 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12418 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12419 if test "x$LINE" != x ; then
12420 eval "DEFAULT_$LINE"
12426 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12431 eval "$wx_cv_use_imaglist"
12432 if test "x$cache" = xyes; then
12433 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12436 if test x"$enablestring" = xdisable; then
12437 if test $wxUSE_IMAGLIST = yes; then
12443 result=$wxUSE_IMAGLIST
12446 { echo "$as_me:$LINENO: result: $result" >&5
12447 echo "${ECHO_T}$result" >&6; }
12451 defaultval=$wxUSE_ALL_FEATURES
12452 if test -z "$defaultval"; then
12453 if test x"$enablestring" = xdisable; then
12460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12461 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12462 # Check whether --enable-listbook was given.
12463 if test "${enable_listbook+set}" = set; then
12464 enableval=$enable_listbook;
12465 if test "$enableval" = yes; then
12466 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12468 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12474 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12475 if test "x$LINE" != x ; then
12476 eval "DEFAULT_$LINE"
12482 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12487 eval "$wx_cv_use_listbook"
12488 if test "x$cache" = xyes; then
12489 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12492 if test x"$enablestring" = xdisable; then
12493 if test $wxUSE_LISTBOOK = yes; then
12499 result=$wxUSE_LISTBOOK
12502 { echo "$as_me:$LINENO: result: $result" >&5
12503 echo "${ECHO_T}$result" >&6; }
12507 defaultval=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x"$enablestring" = xdisable; then
12516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12517 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12518 # Check whether --enable-listbox was given.
12519 if test "${enable_listbox+set}" = set; then
12520 enableval=$enable_listbox;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12524 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12530 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12531 if test "x$LINE" != x ; then
12532 eval "DEFAULT_$LINE"
12538 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12543 eval "$wx_cv_use_listbox"
12544 if test "x$cache" = xyes; then
12545 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12548 if test x"$enablestring" = xdisable; then
12549 if test $wxUSE_LISTBOX = yes; then
12555 result=$wxUSE_LISTBOX
12558 { echo "$as_me:$LINENO: result: $result" >&5
12559 echo "${ECHO_T}$result" >&6; }
12563 defaultval=$wxUSE_ALL_FEATURES
12564 if test -z "$defaultval"; then
12565 if test x"$enablestring" = xdisable; then
12572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12573 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12574 # Check whether --enable-listctrl was given.
12575 if test "${enable_listctrl+set}" = set; then
12576 enableval=$enable_listctrl;
12577 if test "$enableval" = yes; then
12578 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12580 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12586 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12587 if test "x$LINE" != x ; then
12588 eval "DEFAULT_$LINE"
12594 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12599 eval "$wx_cv_use_listctrl"
12600 if test "x$cache" = xyes; then
12601 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12604 if test x"$enablestring" = xdisable; then
12605 if test $wxUSE_LISTCTRL = yes; then
12611 result=$wxUSE_LISTCTRL
12614 { echo "$as_me:$LINENO: result: $result" >&5
12615 echo "${ECHO_T}$result" >&6; }
12619 defaultval=$wxUSE_ALL_FEATURES
12620 if test -z "$defaultval"; then
12621 if test x"$enablestring" = xdisable; then
12628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12629 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12630 # Check whether --enable-notebook was given.
12631 if test "${enable_notebook+set}" = set; then
12632 enableval=$enable_notebook;
12633 if test "$enableval" = yes; then
12634 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12636 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12642 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12643 if test "x$LINE" != x ; then
12644 eval "DEFAULT_$LINE"
12650 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12655 eval "$wx_cv_use_notebook"
12656 if test "x$cache" = xyes; then
12657 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12660 if test x"$enablestring" = xdisable; then
12661 if test $wxUSE_NOTEBOOK = yes; then
12667 result=$wxUSE_NOTEBOOK
12670 { echo "$as_me:$LINENO: result: $result" >&5
12671 echo "${ECHO_T}$result" >&6; }
12675 defaultval=$wxUSE_ALL_FEATURES
12676 if test -z "$defaultval"; then
12677 if test x"$enablestring" = xdisable; then
12684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12685 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12686 # Check whether --enable-odcombobox was given.
12687 if test "${enable_odcombobox+set}" = set; then
12688 enableval=$enable_odcombobox;
12689 if test "$enableval" = yes; then
12690 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12692 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12698 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12699 if test "x$LINE" != x ; then
12700 eval "DEFAULT_$LINE"
12706 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12711 eval "$wx_cv_use_odcombobox"
12712 if test "x$cache" = xyes; then
12713 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12716 if test x"$enablestring" = xdisable; then
12717 if test $wxUSE_ODCOMBOBOX = yes; then
12723 result=$wxUSE_ODCOMBOBOX
12726 { echo "$as_me:$LINENO: result: $result" >&5
12727 echo "${ECHO_T}$result" >&6; }
12731 defaultval=$wxUSE_ALL_FEATURES
12732 if test -z "$defaultval"; then
12733 if test x"$enablestring" = xdisable; then
12740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12741 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12742 # Check whether --enable-radiobox was given.
12743 if test "${enable_radiobox+set}" = set; then
12744 enableval=$enable_radiobox;
12745 if test "$enableval" = yes; then
12746 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12748 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12754 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12755 if test "x$LINE" != x ; then
12756 eval "DEFAULT_$LINE"
12762 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12767 eval "$wx_cv_use_radiobox"
12768 if test "x$cache" = xyes; then
12769 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12772 if test x"$enablestring" = xdisable; then
12773 if test $wxUSE_RADIOBOX = yes; then
12779 result=$wxUSE_RADIOBOX
12782 { echo "$as_me:$LINENO: result: $result" >&5
12783 echo "${ECHO_T}$result" >&6; }
12787 defaultval=$wxUSE_ALL_FEATURES
12788 if test -z "$defaultval"; then
12789 if test x"$enablestring" = xdisable; then
12796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12797 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12798 # Check whether --enable-radiobtn was given.
12799 if test "${enable_radiobtn+set}" = set; then
12800 enableval=$enable_radiobtn;
12801 if test "$enableval" = yes; then
12802 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12804 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12810 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12811 if test "x$LINE" != x ; then
12812 eval "DEFAULT_$LINE"
12818 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12823 eval "$wx_cv_use_radiobtn"
12824 if test "x$cache" = xyes; then
12825 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12828 if test x"$enablestring" = xdisable; then
12829 if test $wxUSE_RADIOBTN = yes; then
12835 result=$wxUSE_RADIOBTN
12838 { echo "$as_me:$LINENO: result: $result" >&5
12839 echo "${ECHO_T}$result" >&6; }
12843 defaultval=$wxUSE_ALL_FEATURES
12844 if test -z "$defaultval"; then
12845 if test x"$enablestring" = xdisable; then
12852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12853 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12854 # Check whether --enable-sash was given.
12855 if test "${enable_sash+set}" = set; then
12856 enableval=$enable_sash;
12857 if test "$enableval" = yes; then
12858 wx_cv_use_sash='wxUSE_SASH=yes'
12860 wx_cv_use_sash='wxUSE_SASH=no'
12866 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12867 if test "x$LINE" != x ; then
12868 eval "DEFAULT_$LINE"
12874 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12879 eval "$wx_cv_use_sash"
12880 if test "x$cache" = xyes; then
12881 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12884 if test x"$enablestring" = xdisable; then
12885 if test $wxUSE_SASH = yes; then
12894 { echo "$as_me:$LINENO: result: $result" >&5
12895 echo "${ECHO_T}$result" >&6; }
12899 defaultval=$wxUSE_ALL_FEATURES
12900 if test -z "$defaultval"; then
12901 if test x"$enablestring" = xdisable; then
12908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12909 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12910 # Check whether --enable-scrollbar was given.
12911 if test "${enable_scrollbar+set}" = set; then
12912 enableval=$enable_scrollbar;
12913 if test "$enableval" = yes; then
12914 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12916 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12922 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12923 if test "x$LINE" != x ; then
12924 eval "DEFAULT_$LINE"
12930 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12935 eval "$wx_cv_use_scrollbar"
12936 if test "x$cache" = xyes; then
12937 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12940 if test x"$enablestring" = xdisable; then
12941 if test $wxUSE_SCROLLBAR = yes; then
12947 result=$wxUSE_SCROLLBAR
12950 { echo "$as_me:$LINENO: result: $result" >&5
12951 echo "${ECHO_T}$result" >&6; }
12955 defaultval=$wxUSE_ALL_FEATURES
12956 if test -z "$defaultval"; then
12957 if test x"$enablestring" = xdisable; then
12964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12965 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12966 # Check whether --enable-searchctrl was given.
12967 if test "${enable_searchctrl+set}" = set; then
12968 enableval=$enable_searchctrl;
12969 if test "$enableval" = yes; then
12970 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12972 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12978 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12979 if test "x$LINE" != x ; then
12980 eval "DEFAULT_$LINE"
12986 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12991 eval "$wx_cv_use_searchctrl"
12992 if test "x$cache" = xyes; then
12993 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_SEARCHCTRL = yes; then
13003 result=$wxUSE_SEARCHCTRL
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13022 # Check whether --enable-slider was given.
13023 if test "${enable_slider+set}" = set; then
13024 enableval=$enable_slider;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_slider='wxUSE_SLIDER=yes'
13028 wx_cv_use_slider='wxUSE_SLIDER=no'
13034 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13035 if test "x$LINE" != x ; then
13036 eval "DEFAULT_$LINE"
13042 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13047 eval "$wx_cv_use_slider"
13048 if test "x$cache" = xyes; then
13049 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13052 if test x"$enablestring" = xdisable; then
13053 if test $wxUSE_SLIDER = yes; then
13059 result=$wxUSE_SLIDER
13062 { echo "$as_me:$LINENO: result: $result" >&5
13063 echo "${ECHO_T}$result" >&6; }
13067 defaultval=$wxUSE_ALL_FEATURES
13068 if test -z "$defaultval"; then
13069 if test x"$enablestring" = xdisable; then
13076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13077 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13078 # Check whether --enable-spinbtn was given.
13079 if test "${enable_spinbtn+set}" = set; then
13080 enableval=$enable_spinbtn;
13081 if test "$enableval" = yes; then
13082 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13084 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13090 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13091 if test "x$LINE" != x ; then
13092 eval "DEFAULT_$LINE"
13098 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13103 eval "$wx_cv_use_spinbtn"
13104 if test "x$cache" = xyes; then
13105 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_SPINBTN = yes; then
13115 result=$wxUSE_SPINBTN
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13134 # Check whether --enable-spinctrl was given.
13135 if test "${enable_spinctrl+set}" = set; then
13136 enableval=$enable_spinctrl;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13140 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13146 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13147 if test "x$LINE" != x ; then
13148 eval "DEFAULT_$LINE"
13154 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13159 eval "$wx_cv_use_spinctrl"
13160 if test "x$cache" = xyes; then
13161 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13164 if test x"$enablestring" = xdisable; then
13165 if test $wxUSE_SPINCTRL = yes; then
13171 result=$wxUSE_SPINCTRL
13174 { echo "$as_me:$LINENO: result: $result" >&5
13175 echo "${ECHO_T}$result" >&6; }
13179 defaultval=$wxUSE_ALL_FEATURES
13180 if test -z "$defaultval"; then
13181 if test x"$enablestring" = xdisable; then
13188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13189 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13190 # Check whether --enable-splitter was given.
13191 if test "${enable_splitter+set}" = set; then
13192 enableval=$enable_splitter;
13193 if test "$enableval" = yes; then
13194 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13196 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13202 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13203 if test "x$LINE" != x ; then
13204 eval "DEFAULT_$LINE"
13210 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13215 eval "$wx_cv_use_splitter"
13216 if test "x$cache" = xyes; then
13217 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13220 if test x"$enablestring" = xdisable; then
13221 if test $wxUSE_SPLITTER = yes; then
13227 result=$wxUSE_SPLITTER
13230 { echo "$as_me:$LINENO: result: $result" >&5
13231 echo "${ECHO_T}$result" >&6; }
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13245 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13246 # Check whether --enable-statbmp was given.
13247 if test "${enable_statbmp+set}" = set; then
13248 enableval=$enable_statbmp;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13252 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13258 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13259 if test "x$LINE" != x ; then
13260 eval "DEFAULT_$LINE"
13266 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13271 eval "$wx_cv_use_statbmp"
13272 if test "x$cache" = xyes; then
13273 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13276 if test x"$enablestring" = xdisable; then
13277 if test $wxUSE_STATBMP = yes; then
13283 result=$wxUSE_STATBMP
13286 { echo "$as_me:$LINENO: result: $result" >&5
13287 echo "${ECHO_T}$result" >&6; }
13291 defaultval=$wxUSE_ALL_FEATURES
13292 if test -z "$defaultval"; then
13293 if test x"$enablestring" = xdisable; then
13300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13301 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13302 # Check whether --enable-statbox was given.
13303 if test "${enable_statbox+set}" = set; then
13304 enableval=$enable_statbox;
13305 if test "$enableval" = yes; then
13306 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13308 wx_cv_use_statbox='wxUSE_STATBOX=no'
13314 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13315 if test "x$LINE" != x ; then
13316 eval "DEFAULT_$LINE"
13322 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13327 eval "$wx_cv_use_statbox"
13328 if test "x$cache" = xyes; then
13329 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13332 if test x"$enablestring" = xdisable; then
13333 if test $wxUSE_STATBOX = yes; then
13339 result=$wxUSE_STATBOX
13342 { echo "$as_me:$LINENO: result: $result" >&5
13343 echo "${ECHO_T}$result" >&6; }
13347 defaultval=$wxUSE_ALL_FEATURES
13348 if test -z "$defaultval"; then
13349 if test x"$enablestring" = xdisable; then
13356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13357 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13358 # Check whether --enable-statline was given.
13359 if test "${enable_statline+set}" = set; then
13360 enableval=$enable_statline;
13361 if test "$enableval" = yes; then
13362 wx_cv_use_statline='wxUSE_STATLINE=yes'
13364 wx_cv_use_statline='wxUSE_STATLINE=no'
13370 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13371 if test "x$LINE" != x ; then
13372 eval "DEFAULT_$LINE"
13378 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13383 eval "$wx_cv_use_statline"
13384 if test "x$cache" = xyes; then
13385 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13388 if test x"$enablestring" = xdisable; then
13389 if test $wxUSE_STATLINE = yes; then
13395 result=$wxUSE_STATLINE
13398 { echo "$as_me:$LINENO: result: $result" >&5
13399 echo "${ECHO_T}$result" >&6; }
13403 defaultval=$wxUSE_ALL_FEATURES
13404 if test -z "$defaultval"; then
13405 if test x"$enablestring" = xdisable; then
13412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13413 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13414 # Check whether --enable-stattext was given.
13415 if test "${enable_stattext+set}" = set; then
13416 enableval=$enable_stattext;
13417 if test "$enableval" = yes; then
13418 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13420 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13426 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13427 if test "x$LINE" != x ; then
13428 eval "DEFAULT_$LINE"
13434 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13439 eval "$wx_cv_use_stattext"
13440 if test "x$cache" = xyes; then
13441 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13444 if test x"$enablestring" = xdisable; then
13445 if test $wxUSE_STATTEXT = yes; then
13451 result=$wxUSE_STATTEXT
13454 { echo "$as_me:$LINENO: result: $result" >&5
13455 echo "${ECHO_T}$result" >&6; }
13459 defaultval=$wxUSE_ALL_FEATURES
13460 if test -z "$defaultval"; then
13461 if test x"$enablestring" = xdisable; then
13468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13469 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13470 # Check whether --enable-statusbar was given.
13471 if test "${enable_statusbar+set}" = set; then
13472 enableval=$enable_statusbar;
13473 if test "$enableval" = yes; then
13474 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13476 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13482 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13483 if test "x$LINE" != x ; then
13484 eval "DEFAULT_$LINE"
13490 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13495 eval "$wx_cv_use_statusbar"
13496 if test "x$cache" = xyes; then
13497 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13500 if test x"$enablestring" = xdisable; then
13501 if test $wxUSE_STATUSBAR = yes; then
13507 result=$wxUSE_STATUSBAR
13510 { echo "$as_me:$LINENO: result: $result" >&5
13511 echo "${ECHO_T}$result" >&6; }
13515 defaultval=$wxUSE_ALL_FEATURES
13516 if test -z "$defaultval"; then
13517 if test x"$enablestring" = xdisable; then
13524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13525 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13526 # Check whether --enable-tabdialog was given.
13527 if test "${enable_tabdialog+set}" = set; then
13528 enableval=$enable_tabdialog;
13529 if test "$enableval" = yes; then
13530 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13532 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13538 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13539 if test "x$LINE" != x ; then
13540 eval "DEFAULT_$LINE"
13546 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13551 eval "$wx_cv_use_tabdialog"
13552 if test "x$cache" = xyes; then
13553 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_TAB_DIALOG = yes; then
13563 result=$wxUSE_TAB_DIALOG
13566 { echo "$as_me:$LINENO: result: $result" >&5
13567 echo "${ECHO_T}$result" >&6; }
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13581 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13582 # Check whether --enable-taskbaricon was given.
13583 if test "${enable_taskbaricon+set}" = set; then
13584 enableval=$enable_taskbaricon;
13585 if test "$enableval" = yes; then
13586 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13588 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13594 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13595 if test "x$LINE" != x ; then
13596 eval "DEFAULT_$LINE"
13602 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13607 eval "$wx_cv_use_taskbaricon"
13608 if test "x$cache" = xyes; then
13609 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13612 if test x"$enablestring" = xdisable; then
13613 if test $wxUSE_TASKBARICON = yes; then
13619 result=$wxUSE_TASKBARICON
13622 { echo "$as_me:$LINENO: result: $result" >&5
13623 echo "${ECHO_T}$result" >&6; }
13627 defaultval=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x"$enablestring" = xdisable; then
13636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13637 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13638 # Check whether --enable-textctrl was given.
13639 if test "${enable_textctrl+set}" = set; then
13640 enableval=$enable_textctrl;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13644 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13650 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13651 if test "x$LINE" != x ; then
13652 eval "DEFAULT_$LINE"
13658 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13663 eval "$wx_cv_use_textctrl"
13664 if test "x$cache" = xyes; then
13665 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13668 if test x"$enablestring" = xdisable; then
13669 if test $wxUSE_TEXTCTRL = yes; then
13675 result=$wxUSE_TEXTCTRL
13678 { echo "$as_me:$LINENO: result: $result" >&5
13679 echo "${ECHO_T}$result" >&6; }
13683 defaultval=$wxUSE_ALL_FEATURES
13684 if test -z "$defaultval"; then
13685 if test x"$enablestring" = xdisable; then
13692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13693 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13694 # Check whether --enable-togglebtn was given.
13695 if test "${enable_togglebtn+set}" = set; then
13696 enableval=$enable_togglebtn;
13697 if test "$enableval" = yes; then
13698 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13700 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13706 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13707 if test "x$LINE" != x ; then
13708 eval "DEFAULT_$LINE"
13714 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13719 eval "$wx_cv_use_togglebtn"
13720 if test "x$cache" = xyes; then
13721 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13724 if test x"$enablestring" = xdisable; then
13725 if test $wxUSE_TOGGLEBTN = yes; then
13731 result=$wxUSE_TOGGLEBTN
13734 { echo "$as_me:$LINENO: result: $result" >&5
13735 echo "${ECHO_T}$result" >&6; }
13739 defaultval=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x"$enablestring" = xdisable; then
13748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13749 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13750 # Check whether --enable-toolbar was given.
13751 if test "${enable_toolbar+set}" = set; then
13752 enableval=$enable_toolbar;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13756 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13762 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13763 if test "x$LINE" != x ; then
13764 eval "DEFAULT_$LINE"
13770 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13775 eval "$wx_cv_use_toolbar"
13776 if test "x$cache" = xyes; then
13777 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13780 if test x"$enablestring" = xdisable; then
13781 if test $wxUSE_TOOLBAR = yes; then
13787 result=$wxUSE_TOOLBAR
13790 { echo "$as_me:$LINENO: result: $result" >&5
13791 echo "${ECHO_T}$result" >&6; }
13795 defaultval=$wxUSE_ALL_FEATURES
13796 if test -z "$defaultval"; then
13797 if test x"$enablestring" = xdisable; then
13804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13805 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13806 # Check whether --enable-tbarnative was given.
13807 if test "${enable_tbarnative+set}" = set; then
13808 enableval=$enable_tbarnative;
13809 if test "$enableval" = yes; then
13810 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13812 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13818 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13819 if test "x$LINE" != x ; then
13820 eval "DEFAULT_$LINE"
13826 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13831 eval "$wx_cv_use_tbarnative"
13832 if test "x$cache" = xyes; then
13833 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13843 result=$wxUSE_TOOLBAR_NATIVE
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13862 # Check whether --enable-treebook was given.
13863 if test "${enable_treebook+set}" = set; then
13864 enableval=$enable_treebook;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13868 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13874 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13875 if test "x$LINE" != x ; then
13876 eval "DEFAULT_$LINE"
13882 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13887 eval "$wx_cv_use_treebook"
13888 if test "x$cache" = xyes; then
13889 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13892 if test x"$enablestring" = xdisable; then
13893 if test $wxUSE_TREEBOOK = yes; then
13899 result=$wxUSE_TREEBOOK
13902 { echo "$as_me:$LINENO: result: $result" >&5
13903 echo "${ECHO_T}$result" >&6; }
13907 defaultval=$wxUSE_ALL_FEATURES
13908 if test -z "$defaultval"; then
13909 if test x"$enablestring" = xdisable; then
13916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13917 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13918 # Check whether --enable-toolbook was given.
13919 if test "${enable_toolbook+set}" = set; then
13920 enableval=$enable_toolbook;
13921 if test "$enableval" = yes; then
13922 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13924 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13930 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13931 if test "x$LINE" != x ; then
13932 eval "DEFAULT_$LINE"
13938 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13943 eval "$wx_cv_use_toolbook"
13944 if test "x$cache" = xyes; then
13945 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13948 if test x"$enablestring" = xdisable; then
13949 if test $wxUSE_TOOLBOOK = yes; then
13955 result=$wxUSE_TOOLBOOK
13958 { echo "$as_me:$LINENO: result: $result" >&5
13959 echo "${ECHO_T}$result" >&6; }
13963 defaultval=$wxUSE_ALL_FEATURES
13964 if test -z "$defaultval"; then
13965 if test x"$enablestring" = xdisable; then
13972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13973 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13974 # Check whether --enable-treectrl was given.
13975 if test "${enable_treectrl+set}" = set; then
13976 enableval=$enable_treectrl;
13977 if test "$enableval" = yes; then
13978 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13980 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13986 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13987 if test "x$LINE" != x ; then
13988 eval "DEFAULT_$LINE"
13994 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13999 eval "$wx_cv_use_treectrl"
14000 if test "x$cache" = xyes; then
14001 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14004 if test x"$enablestring" = xdisable; then
14005 if test $wxUSE_TREECTRL = yes; then
14011 result=$wxUSE_TREECTRL
14014 { echo "$as_me:$LINENO: result: $result" >&5
14015 echo "${ECHO_T}$result" >&6; }
14019 defaultval=$wxUSE_ALL_FEATURES
14020 if test -z "$defaultval"; then
14021 if test x"$enablestring" = xdisable; then
14028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14029 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14030 # Check whether --enable-tipwindow was given.
14031 if test "${enable_tipwindow+set}" = set; then
14032 enableval=$enable_tipwindow;
14033 if test "$enableval" = yes; then
14034 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14036 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14042 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14043 if test "x$LINE" != x ; then
14044 eval "DEFAULT_$LINE"
14050 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14055 eval "$wx_cv_use_tipwindow"
14056 if test "x$cache" = xyes; then
14057 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14060 if test x"$enablestring" = xdisable; then
14061 if test $wxUSE_TIPWINDOW = yes; then
14067 result=$wxUSE_TIPWINDOW
14070 { echo "$as_me:$LINENO: result: $result" >&5
14071 echo "${ECHO_T}$result" >&6; }
14075 defaultval=$wxUSE_ALL_FEATURES
14076 if test -z "$defaultval"; then
14077 if test x"$enablestring" = xdisable; then
14084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14085 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14086 # Check whether --enable-popupwin was given.
14087 if test "${enable_popupwin+set}" = set; then
14088 enableval=$enable_popupwin;
14089 if test "$enableval" = yes; then
14090 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14092 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14098 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14099 if test "x$LINE" != x ; then
14100 eval "DEFAULT_$LINE"
14106 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14111 eval "$wx_cv_use_popupwin"
14112 if test "x$cache" = xyes; then
14113 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14116 if test x"$enablestring" = xdisable; then
14117 if test $wxUSE_POPUPWIN = yes; then
14123 result=$wxUSE_POPUPWIN
14126 { echo "$as_me:$LINENO: result: $result" >&5
14127 echo "${ECHO_T}$result" >&6; }
14133 defaultval=$wxUSE_ALL_FEATURES
14134 if test -z "$defaultval"; then
14135 if test x"$enablestring" = xdisable; then
14142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14143 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14144 # Check whether --enable-commondlg was given.
14145 if test "${enable_commondlg+set}" = set; then
14146 enableval=$enable_commondlg;
14147 if test "$enableval" = yes; then
14148 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14150 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14156 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14157 if test "x$LINE" != x ; then
14158 eval "DEFAULT_$LINE"
14164 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14169 eval "$wx_cv_use_commondlg"
14170 if test "x$cache" = xyes; then
14171 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14174 if test x"$enablestring" = xdisable; then
14175 if test $wxUSE_COMMONDLGS = yes; then
14181 result=$wxUSE_COMMONDLGS
14184 { echo "$as_me:$LINENO: result: $result" >&5
14185 echo "${ECHO_T}$result" >&6; }
14189 defaultval=$wxUSE_ALL_FEATURES
14190 if test -z "$defaultval"; then
14191 if test x"$enablestring" = xdisable; then
14198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14199 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14200 # Check whether --enable-aboutdlg was given.
14201 if test "${enable_aboutdlg+set}" = set; then
14202 enableval=$enable_aboutdlg;
14203 if test "$enableval" = yes; then
14204 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14206 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14212 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14213 if test "x$LINE" != x ; then
14214 eval "DEFAULT_$LINE"
14220 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14225 eval "$wx_cv_use_aboutdlg"
14226 if test "x$cache" = xyes; then
14227 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14230 if test x"$enablestring" = xdisable; then
14231 if test $wxUSE_ABOUTDLG = yes; then
14237 result=$wxUSE_ABOUTDLG
14240 { echo "$as_me:$LINENO: result: $result" >&5
14241 echo "${ECHO_T}$result" >&6; }
14245 defaultval=$wxUSE_ALL_FEATURES
14246 if test -z "$defaultval"; then
14247 if test x"$enablestring" = xdisable; then
14254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14255 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14256 # Check whether --enable-choicedlg was given.
14257 if test "${enable_choicedlg+set}" = set; then
14258 enableval=$enable_choicedlg;
14259 if test "$enableval" = yes; then
14260 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14262 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14268 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14269 if test "x$LINE" != x ; then
14270 eval "DEFAULT_$LINE"
14276 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14281 eval "$wx_cv_use_choicedlg"
14282 if test "x$cache" = xyes; then
14283 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14286 if test x"$enablestring" = xdisable; then
14287 if test $wxUSE_CHOICEDLG = yes; then
14293 result=$wxUSE_CHOICEDLG
14296 { echo "$as_me:$LINENO: result: $result" >&5
14297 echo "${ECHO_T}$result" >&6; }
14301 defaultval=$wxUSE_ALL_FEATURES
14302 if test -z "$defaultval"; then
14303 if test x"$enablestring" = xdisable; then
14310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14311 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14312 # Check whether --enable-coldlg was given.
14313 if test "${enable_coldlg+set}" = set; then
14314 enableval=$enable_coldlg;
14315 if test "$enableval" = yes; then
14316 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14318 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14324 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14325 if test "x$LINE" != x ; then
14326 eval "DEFAULT_$LINE"
14332 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14337 eval "$wx_cv_use_coldlg"
14338 if test "x$cache" = xyes; then
14339 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14342 if test x"$enablestring" = xdisable; then
14343 if test $wxUSE_COLOURDLG = yes; then
14349 result=$wxUSE_COLOURDLG
14352 { echo "$as_me:$LINENO: result: $result" >&5
14353 echo "${ECHO_T}$result" >&6; }
14357 defaultval=$wxUSE_ALL_FEATURES
14358 if test -z "$defaultval"; then
14359 if test x"$enablestring" = xdisable; then
14366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14367 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14368 # Check whether --enable-filedlg was given.
14369 if test "${enable_filedlg+set}" = set; then
14370 enableval=$enable_filedlg;
14371 if test "$enableval" = yes; then
14372 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14374 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14380 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14381 if test "x$LINE" != x ; then
14382 eval "DEFAULT_$LINE"
14388 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14393 eval "$wx_cv_use_filedlg"
14394 if test "x$cache" = xyes; then
14395 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14398 if test x"$enablestring" = xdisable; then
14399 if test $wxUSE_FILEDLG = yes; then
14405 result=$wxUSE_FILEDLG
14408 { echo "$as_me:$LINENO: result: $result" >&5
14409 echo "${ECHO_T}$result" >&6; }
14413 defaultval=$wxUSE_ALL_FEATURES
14414 if test -z "$defaultval"; then
14415 if test x"$enablestring" = xdisable; then
14422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14423 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14424 # Check whether --enable-finddlg was given.
14425 if test "${enable_finddlg+set}" = set; then
14426 enableval=$enable_finddlg;
14427 if test "$enableval" = yes; then
14428 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14430 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14436 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14437 if test "x$LINE" != x ; then
14438 eval "DEFAULT_$LINE"
14444 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14449 eval "$wx_cv_use_finddlg"
14450 if test "x$cache" = xyes; then
14451 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14454 if test x"$enablestring" = xdisable; then
14455 if test $wxUSE_FINDREPLDLG = yes; then
14461 result=$wxUSE_FINDREPLDLG
14464 { echo "$as_me:$LINENO: result: $result" >&5
14465 echo "${ECHO_T}$result" >&6; }
14469 defaultval=$wxUSE_ALL_FEATURES
14470 if test -z "$defaultval"; then
14471 if test x"$enablestring" = xdisable; then
14478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14479 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14480 # Check whether --enable-fontdlg was given.
14481 if test "${enable_fontdlg+set}" = set; then
14482 enableval=$enable_fontdlg;
14483 if test "$enableval" = yes; then
14484 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14486 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14492 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14493 if test "x$LINE" != x ; then
14494 eval "DEFAULT_$LINE"
14500 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14505 eval "$wx_cv_use_fontdlg"
14506 if test "x$cache" = xyes; then
14507 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14510 if test x"$enablestring" = xdisable; then
14511 if test $wxUSE_FONTDLG = yes; then
14517 result=$wxUSE_FONTDLG
14520 { echo "$as_me:$LINENO: result: $result" >&5
14521 echo "${ECHO_T}$result" >&6; }
14525 defaultval=$wxUSE_ALL_FEATURES
14526 if test -z "$defaultval"; then
14527 if test x"$enablestring" = xdisable; then
14534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14535 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14536 # Check whether --enable-dirdlg was given.
14537 if test "${enable_dirdlg+set}" = set; then
14538 enableval=$enable_dirdlg;
14539 if test "$enableval" = yes; then
14540 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14542 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14548 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14549 if test "x$LINE" != x ; then
14550 eval "DEFAULT_$LINE"
14556 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14561 eval "$wx_cv_use_dirdlg"
14562 if test "x$cache" = xyes; then
14563 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14566 if test x"$enablestring" = xdisable; then
14567 if test $wxUSE_DIRDLG = yes; then
14573 result=$wxUSE_DIRDLG
14576 { echo "$as_me:$LINENO: result: $result" >&5
14577 echo "${ECHO_T}$result" >&6; }
14581 defaultval=$wxUSE_ALL_FEATURES
14582 if test -z "$defaultval"; then
14583 if test x"$enablestring" = xdisable; then
14590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14591 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14592 # Check whether --enable-msgdlg was given.
14593 if test "${enable_msgdlg+set}" = set; then
14594 enableval=$enable_msgdlg;
14595 if test "$enableval" = yes; then
14596 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14598 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14604 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14605 if test "x$LINE" != x ; then
14606 eval "DEFAULT_$LINE"
14612 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14617 eval "$wx_cv_use_msgdlg"
14618 if test "x$cache" = xyes; then
14619 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14622 if test x"$enablestring" = xdisable; then
14623 if test $wxUSE_MSGDLG = yes; then
14629 result=$wxUSE_MSGDLG
14632 { echo "$as_me:$LINENO: result: $result" >&5
14633 echo "${ECHO_T}$result" >&6; }
14637 defaultval=$wxUSE_ALL_FEATURES
14638 if test -z "$defaultval"; then
14639 if test x"$enablestring" = xdisable; then
14646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14647 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14648 # Check whether --enable-numberdlg was given.
14649 if test "${enable_numberdlg+set}" = set; then
14650 enableval=$enable_numberdlg;
14651 if test "$enableval" = yes; then
14652 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14654 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14660 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14661 if test "x$LINE" != x ; then
14662 eval "DEFAULT_$LINE"
14668 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14673 eval "$wx_cv_use_numberdlg"
14674 if test "x$cache" = xyes; then
14675 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14678 if test x"$enablestring" = xdisable; then
14679 if test $wxUSE_NUMBERDLG = yes; then
14685 result=$wxUSE_NUMBERDLG
14688 { echo "$as_me:$LINENO: result: $result" >&5
14689 echo "${ECHO_T}$result" >&6; }
14693 defaultval=$wxUSE_ALL_FEATURES
14694 if test -z "$defaultval"; then
14695 if test x"$enablestring" = xdisable; then
14702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14703 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14704 # Check whether --enable-splash was given.
14705 if test "${enable_splash+set}" = set; then
14706 enableval=$enable_splash;
14707 if test "$enableval" = yes; then
14708 wx_cv_use_splash='wxUSE_SPLASH=yes'
14710 wx_cv_use_splash='wxUSE_SPLASH=no'
14716 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14717 if test "x$LINE" != x ; then
14718 eval "DEFAULT_$LINE"
14724 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14729 eval "$wx_cv_use_splash"
14730 if test "x$cache" = xyes; then
14731 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14734 if test x"$enablestring" = xdisable; then
14735 if test $wxUSE_SPLASH = yes; then
14741 result=$wxUSE_SPLASH
14744 { echo "$as_me:$LINENO: result: $result" >&5
14745 echo "${ECHO_T}$result" >&6; }
14749 defaultval=$wxUSE_ALL_FEATURES
14750 if test -z "$defaultval"; then
14751 if test x"$enablestring" = xdisable; then
14758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14759 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14760 # Check whether --enable-textdlg was given.
14761 if test "${enable_textdlg+set}" = set; then
14762 enableval=$enable_textdlg;
14763 if test "$enableval" = yes; then
14764 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14766 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14772 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14773 if test "x$LINE" != x ; then
14774 eval "DEFAULT_$LINE"
14780 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14785 eval "$wx_cv_use_textdlg"
14786 if test "x$cache" = xyes; then
14787 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14790 if test x"$enablestring" = xdisable; then
14791 if test $wxUSE_TEXTDLG = yes; then
14797 result=$wxUSE_TEXTDLG
14800 { echo "$as_me:$LINENO: result: $result" >&5
14801 echo "${ECHO_T}$result" >&6; }
14805 defaultval=$wxUSE_ALL_FEATURES
14806 if test -z "$defaultval"; then
14807 if test x"$enablestring" = xdisable; then
14814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14815 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14816 # Check whether --enable-tipdlg was given.
14817 if test "${enable_tipdlg+set}" = set; then
14818 enableval=$enable_tipdlg;
14819 if test "$enableval" = yes; then
14820 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14822 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14828 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14829 if test "x$LINE" != x ; then
14830 eval "DEFAULT_$LINE"
14836 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14841 eval "$wx_cv_use_tipdlg"
14842 if test "x$cache" = xyes; then
14843 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14846 if test x"$enablestring" = xdisable; then
14847 if test $wxUSE_STARTUP_TIPS = yes; then
14853 result=$wxUSE_STARTUP_TIPS
14856 { echo "$as_me:$LINENO: result: $result" >&5
14857 echo "${ECHO_T}$result" >&6; }
14861 defaultval=$wxUSE_ALL_FEATURES
14862 if test -z "$defaultval"; then
14863 if test x"$enablestring" = xdisable; then
14870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14871 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14872 # Check whether --enable-progressdlg was given.
14873 if test "${enable_progressdlg+set}" = set; then
14874 enableval=$enable_progressdlg;
14875 if test "$enableval" = yes; then
14876 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14878 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14884 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14885 if test "x$LINE" != x ; then
14886 eval "DEFAULT_$LINE"
14892 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14897 eval "$wx_cv_use_progressdlg"
14898 if test "x$cache" = xyes; then
14899 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14902 if test x"$enablestring" = xdisable; then
14903 if test $wxUSE_PROGRESSDLG = yes; then
14909 result=$wxUSE_PROGRESSDLG
14912 { echo "$as_me:$LINENO: result: $result" >&5
14913 echo "${ECHO_T}$result" >&6; }
14917 defaultval=$wxUSE_ALL_FEATURES
14918 if test -z "$defaultval"; then
14919 if test x"$enablestring" = xdisable; then
14926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14927 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14928 # Check whether --enable-wizarddlg was given.
14929 if test "${enable_wizarddlg+set}" = set; then
14930 enableval=$enable_wizarddlg;
14931 if test "$enableval" = yes; then
14932 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14934 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14940 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14941 if test "x$LINE" != x ; then
14942 eval "DEFAULT_$LINE"
14948 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14953 eval "$wx_cv_use_wizarddlg"
14954 if test "x$cache" = xyes; then
14955 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14958 if test x"$enablestring" = xdisable; then
14959 if test $wxUSE_WIZARDDLG = yes; then
14965 result=$wxUSE_WIZARDDLG
14968 { echo "$as_me:$LINENO: result: $result" >&5
14969 echo "${ECHO_T}$result" >&6; }
14975 defaultval=$wxUSE_ALL_FEATURES
14976 if test -z "$defaultval"; then
14977 if test x"$enablestring" = xdisable; then
14984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14985 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14986 # Check whether --enable-menus was given.
14987 if test "${enable_menus+set}" = set; then
14988 enableval=$enable_menus;
14989 if test "$enableval" = yes; then
14990 wx_cv_use_menus='wxUSE_MENUS=yes'
14992 wx_cv_use_menus='wxUSE_MENUS=no'
14998 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14999 if test "x$LINE" != x ; then
15000 eval "DEFAULT_$LINE"
15006 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15011 eval "$wx_cv_use_menus"
15012 if test "x$cache" = xyes; then
15013 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15016 if test x"$enablestring" = xdisable; then
15017 if test $wxUSE_MENUS = yes; then
15023 result=$wxUSE_MENUS
15026 { echo "$as_me:$LINENO: result: $result" >&5
15027 echo "${ECHO_T}$result" >&6; }
15031 defaultval=$wxUSE_ALL_FEATURES
15032 if test -z "$defaultval"; then
15033 if test x"$enablestring" = xdisable; then
15040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15041 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15042 # Check whether --enable-miniframe was given.
15043 if test "${enable_miniframe+set}" = set; then
15044 enableval=$enable_miniframe;
15045 if test "$enableval" = yes; then
15046 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15048 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15054 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15055 if test "x$LINE" != x ; then
15056 eval "DEFAULT_$LINE"
15062 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15067 eval "$wx_cv_use_miniframe"
15068 if test "x$cache" = xyes; then
15069 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15072 if test x"$enablestring" = xdisable; then
15073 if test $wxUSE_MINIFRAME = yes; then
15079 result=$wxUSE_MINIFRAME
15082 { echo "$as_me:$LINENO: result: $result" >&5
15083 echo "${ECHO_T}$result" >&6; }
15087 defaultval=$wxUSE_ALL_FEATURES
15088 if test -z "$defaultval"; then
15089 if test x"$enablestring" = xdisable; then
15096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15097 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15098 # Check whether --enable-tooltips was given.
15099 if test "${enable_tooltips+set}" = set; then
15100 enableval=$enable_tooltips;
15101 if test "$enableval" = yes; then
15102 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15104 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15110 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15111 if test "x$LINE" != x ; then
15112 eval "DEFAULT_$LINE"
15118 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15123 eval "$wx_cv_use_tooltips"
15124 if test "x$cache" = xyes; then
15125 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15128 if test x"$enablestring" = xdisable; then
15129 if test $wxUSE_TOOLTIPS = yes; then
15135 result=$wxUSE_TOOLTIPS
15138 { echo "$as_me:$LINENO: result: $result" >&5
15139 echo "${ECHO_T}$result" >&6; }
15143 defaultval=$wxUSE_ALL_FEATURES
15144 if test -z "$defaultval"; then
15145 if test x"$enablestring" = xdisable; then
15152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15153 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15154 # Check whether --enable-splines was given.
15155 if test "${enable_splines+set}" = set; then
15156 enableval=$enable_splines;
15157 if test "$enableval" = yes; then
15158 wx_cv_use_splines='wxUSE_SPLINES=yes'
15160 wx_cv_use_splines='wxUSE_SPLINES=no'
15166 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15167 if test "x$LINE" != x ; then
15168 eval "DEFAULT_$LINE"
15174 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15179 eval "$wx_cv_use_splines"
15180 if test "x$cache" = xyes; then
15181 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15184 if test x"$enablestring" = xdisable; then
15185 if test $wxUSE_SPLINES = yes; then
15191 result=$wxUSE_SPLINES
15194 { echo "$as_me:$LINENO: result: $result" >&5
15195 echo "${ECHO_T}$result" >&6; }
15199 defaultval=$wxUSE_ALL_FEATURES
15200 if test -z "$defaultval"; then
15201 if test x"$enablestring" = xdisable; then
15208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15209 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15210 # Check whether --enable-mousewheel was given.
15211 if test "${enable_mousewheel+set}" = set; then
15212 enableval=$enable_mousewheel;
15213 if test "$enableval" = yes; then
15214 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15216 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15222 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15223 if test "x$LINE" != x ; then
15224 eval "DEFAULT_$LINE"
15230 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15235 eval "$wx_cv_use_mousewheel"
15236 if test "x$cache" = xyes; then
15237 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15240 if test x"$enablestring" = xdisable; then
15241 if test $wxUSE_MOUSEWHEEL = yes; then
15247 result=$wxUSE_MOUSEWHEEL
15250 { echo "$as_me:$LINENO: result: $result" >&5
15251 echo "${ECHO_T}$result" >&6; }
15255 defaultval=$wxUSE_ALL_FEATURES
15256 if test -z "$defaultval"; then
15257 if test x"$enablestring" = xdisable; then
15264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15265 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15266 # Check whether --enable-validators was given.
15267 if test "${enable_validators+set}" = set; then
15268 enableval=$enable_validators;
15269 if test "$enableval" = yes; then
15270 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15272 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15278 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15279 if test "x$LINE" != x ; then
15280 eval "DEFAULT_$LINE"
15286 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15291 eval "$wx_cv_use_validators"
15292 if test "x$cache" = xyes; then
15293 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15296 if test x"$enablestring" = xdisable; then
15297 if test $wxUSE_VALIDATORS = yes; then
15303 result=$wxUSE_VALIDATORS
15306 { echo "$as_me:$LINENO: result: $result" >&5
15307 echo "${ECHO_T}$result" >&6; }
15311 defaultval=$wxUSE_ALL_FEATURES
15312 if test -z "$defaultval"; then
15313 if test x"$enablestring" = xdisable; then
15320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15321 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15322 # Check whether --enable-busyinfo was given.
15323 if test "${enable_busyinfo+set}" = set; then
15324 enableval=$enable_busyinfo;
15325 if test "$enableval" = yes; then
15326 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15328 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15334 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15335 if test "x$LINE" != x ; then
15336 eval "DEFAULT_$LINE"
15342 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15347 eval "$wx_cv_use_busyinfo"
15348 if test "x$cache" = xyes; then
15349 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15352 if test x"$enablestring" = xdisable; then
15353 if test $wxUSE_BUSYINFO = yes; then
15359 result=$wxUSE_BUSYINFO
15362 { echo "$as_me:$LINENO: result: $result" >&5
15363 echo "${ECHO_T}$result" >&6; }
15367 defaultval=$wxUSE_ALL_FEATURES
15368 if test -z "$defaultval"; then
15369 if test x"$enablestring" = xdisable; then
15376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15377 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15378 # Check whether --enable-joystick was given.
15379 if test "${enable_joystick+set}" = set; then
15380 enableval=$enable_joystick;
15381 if test "$enableval" = yes; then
15382 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15384 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15390 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15391 if test "x$LINE" != x ; then
15392 eval "DEFAULT_$LINE"
15398 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15403 eval "$wx_cv_use_joystick"
15404 if test "x$cache" = xyes; then
15405 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15408 if test x"$enablestring" = xdisable; then
15409 if test $wxUSE_JOYSTICK = yes; then
15415 result=$wxUSE_JOYSTICK
15418 { echo "$as_me:$LINENO: result: $result" >&5
15419 echo "${ECHO_T}$result" >&6; }
15423 defaultval=$wxUSE_ALL_FEATURES
15424 if test -z "$defaultval"; then
15425 if test x"$enablestring" = xdisable; then
15432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15433 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15434 # Check whether --enable-metafile was given.
15435 if test "${enable_metafile+set}" = set; then
15436 enableval=$enable_metafile;
15437 if test "$enableval" = yes; then
15438 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15440 wx_cv_use_metafile='wxUSE_METAFILE=no'
15446 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15447 if test "x$LINE" != x ; then
15448 eval "DEFAULT_$LINE"
15454 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15459 eval "$wx_cv_use_metafile"
15460 if test "x$cache" = xyes; then
15461 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15464 if test x"$enablestring" = xdisable; then
15465 if test $wxUSE_METAFILE = yes; then
15471 result=$wxUSE_METAFILE
15474 { echo "$as_me:$LINENO: result: $result" >&5
15475 echo "${ECHO_T}$result" >&6; }
15479 defaultval=$wxUSE_ALL_FEATURES
15480 if test -z "$defaultval"; then
15481 if test x"$enablestring" = xdisable; then
15488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15489 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15490 # Check whether --enable-dragimage was given.
15491 if test "${enable_dragimage+set}" = set; then
15492 enableval=$enable_dragimage;
15493 if test "$enableval" = yes; then
15494 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15496 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15502 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15503 if test "x$LINE" != x ; then
15504 eval "DEFAULT_$LINE"
15510 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15515 eval "$wx_cv_use_dragimage"
15516 if test "x$cache" = xyes; then
15517 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15520 if test x"$enablestring" = xdisable; then
15521 if test $wxUSE_DRAGIMAGE = yes; then
15527 result=$wxUSE_DRAGIMAGE
15530 { echo "$as_me:$LINENO: result: $result" >&5
15531 echo "${ECHO_T}$result" >&6; }
15535 defaultval=$wxUSE_ALL_FEATURES
15536 if test -z "$defaultval"; then
15537 if test x"$enablestring" = xdisable; then
15544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15545 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15546 # Check whether --enable-accessibility was given.
15547 if test "${enable_accessibility+set}" = set; then
15548 enableval=$enable_accessibility;
15549 if test "$enableval" = yes; then
15550 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15552 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15558 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15559 if test "x$LINE" != x ; then
15560 eval "DEFAULT_$LINE"
15566 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15571 eval "$wx_cv_use_accessibility"
15572 if test "x$cache" = xyes; then
15573 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15576 if test x"$enablestring" = xdisable; then
15577 if test $wxUSE_ACCESSIBILITY = yes; then
15583 result=$wxUSE_ACCESSIBILITY
15586 { echo "$as_me:$LINENO: result: $result" >&5
15587 echo "${ECHO_T}$result" >&6; }
15593 defaultval=$wxUSE_ALL_FEATURES
15594 if test -z "$defaultval"; then
15595 if test x"$enablestring" = xdisable; then
15602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15603 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15604 # Check whether --enable-palette was given.
15605 if test "${enable_palette+set}" = set; then
15606 enableval=$enable_palette;
15607 if test "$enableval" = yes; then
15608 wx_cv_use_palette='wxUSE_PALETTE=yes'
15610 wx_cv_use_palette='wxUSE_PALETTE=no'
15616 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15617 if test "x$LINE" != x ; then
15618 eval "DEFAULT_$LINE"
15624 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15629 eval "$wx_cv_use_palette"
15630 if test "x$cache" = xyes; then
15631 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15634 if test x"$enablestring" = xdisable; then
15635 if test $wxUSE_PALETTE = yes; then
15641 result=$wxUSE_PALETTE
15644 { echo "$as_me:$LINENO: result: $result" >&5
15645 echo "${ECHO_T}$result" >&6; }
15649 defaultval=$wxUSE_ALL_FEATURES
15650 if test -z "$defaultval"; then
15651 if test x"$enablestring" = xdisable; then
15658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15659 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15660 # Check whether --enable-image was given.
15661 if test "${enable_image+set}" = set; then
15662 enableval=$enable_image;
15663 if test "$enableval" = yes; then
15664 wx_cv_use_image='wxUSE_IMAGE=yes'
15666 wx_cv_use_image='wxUSE_IMAGE=no'
15672 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15673 if test "x$LINE" != x ; then
15674 eval "DEFAULT_$LINE"
15680 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15685 eval "$wx_cv_use_image"
15686 if test "x$cache" = xyes; then
15687 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15690 if test x"$enablestring" = xdisable; then
15691 if test $wxUSE_IMAGE = yes; then
15697 result=$wxUSE_IMAGE
15700 { echo "$as_me:$LINENO: result: $result" >&5
15701 echo "${ECHO_T}$result" >&6; }
15705 defaultval=$wxUSE_ALL_FEATURES
15706 if test -z "$defaultval"; then
15707 if test x"$enablestring" = xdisable; then
15714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15715 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15716 # Check whether --enable-gif was given.
15717 if test "${enable_gif+set}" = set; then
15718 enableval=$enable_gif;
15719 if test "$enableval" = yes; then
15720 wx_cv_use_gif='wxUSE_GIF=yes'
15722 wx_cv_use_gif='wxUSE_GIF=no'
15728 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15729 if test "x$LINE" != x ; then
15730 eval "DEFAULT_$LINE"
15736 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15741 eval "$wx_cv_use_gif"
15742 if test "x$cache" = xyes; then
15743 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15746 if test x"$enablestring" = xdisable; then
15747 if test $wxUSE_GIF = yes; then
15756 { echo "$as_me:$LINENO: result: $result" >&5
15757 echo "${ECHO_T}$result" >&6; }
15761 defaultval=$wxUSE_ALL_FEATURES
15762 if test -z "$defaultval"; then
15763 if test x"$enablestring" = xdisable; then
15770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15771 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15772 # Check whether --enable-pcx was given.
15773 if test "${enable_pcx+set}" = set; then
15774 enableval=$enable_pcx;
15775 if test "$enableval" = yes; then
15776 wx_cv_use_pcx='wxUSE_PCX=yes'
15778 wx_cv_use_pcx='wxUSE_PCX=no'
15784 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15785 if test "x$LINE" != x ; then
15786 eval "DEFAULT_$LINE"
15792 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15797 eval "$wx_cv_use_pcx"
15798 if test "x$cache" = xyes; then
15799 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15802 if test x"$enablestring" = xdisable; then
15803 if test $wxUSE_PCX = yes; then
15812 { echo "$as_me:$LINENO: result: $result" >&5
15813 echo "${ECHO_T}$result" >&6; }
15817 defaultval=$wxUSE_ALL_FEATURES
15818 if test -z "$defaultval"; then
15819 if test x"$enablestring" = xdisable; then
15826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15827 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15828 # Check whether --enable-tga was given.
15829 if test "${enable_tga+set}" = set; then
15830 enableval=$enable_tga;
15831 if test "$enableval" = yes; then
15832 wx_cv_use_tga='wxUSE_TGA=yes'
15834 wx_cv_use_tga='wxUSE_TGA=no'
15840 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15841 if test "x$LINE" != x ; then
15842 eval "DEFAULT_$LINE"
15848 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15853 eval "$wx_cv_use_tga"
15854 if test "x$cache" = xyes; then
15855 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15858 if test x"$enablestring" = xdisable; then
15859 if test $wxUSE_TGA = yes; then
15868 { echo "$as_me:$LINENO: result: $result" >&5
15869 echo "${ECHO_T}$result" >&6; }
15873 defaultval=$wxUSE_ALL_FEATURES
15874 if test -z "$defaultval"; then
15875 if test x"$enablestring" = xdisable; then
15882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15883 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15884 # Check whether --enable-iff was given.
15885 if test "${enable_iff+set}" = set; then
15886 enableval=$enable_iff;
15887 if test "$enableval" = yes; then
15888 wx_cv_use_iff='wxUSE_IFF=yes'
15890 wx_cv_use_iff='wxUSE_IFF=no'
15896 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15897 if test "x$LINE" != x ; then
15898 eval "DEFAULT_$LINE"
15904 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15909 eval "$wx_cv_use_iff"
15910 if test "x$cache" = xyes; then
15911 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15914 if test x"$enablestring" = xdisable; then
15915 if test $wxUSE_IFF = yes; then
15924 { echo "$as_me:$LINENO: result: $result" >&5
15925 echo "${ECHO_T}$result" >&6; }
15929 defaultval=$wxUSE_ALL_FEATURES
15930 if test -z "$defaultval"; then
15931 if test x"$enablestring" = xdisable; then
15938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15939 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15940 # Check whether --enable-pnm was given.
15941 if test "${enable_pnm+set}" = set; then
15942 enableval=$enable_pnm;
15943 if test "$enableval" = yes; then
15944 wx_cv_use_pnm='wxUSE_PNM=yes'
15946 wx_cv_use_pnm='wxUSE_PNM=no'
15952 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15953 if test "x$LINE" != x ; then
15954 eval "DEFAULT_$LINE"
15960 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15965 eval "$wx_cv_use_pnm"
15966 if test "x$cache" = xyes; then
15967 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15970 if test x"$enablestring" = xdisable; then
15971 if test $wxUSE_PNM = yes; then
15980 { echo "$as_me:$LINENO: result: $result" >&5
15981 echo "${ECHO_T}$result" >&6; }
15985 defaultval=$wxUSE_ALL_FEATURES
15986 if test -z "$defaultval"; then
15987 if test x"$enablestring" = xdisable; then
15994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15995 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15996 # Check whether --enable-xpm was given.
15997 if test "${enable_xpm+set}" = set; then
15998 enableval=$enable_xpm;
15999 if test "$enableval" = yes; then
16000 wx_cv_use_xpm='wxUSE_XPM=yes'
16002 wx_cv_use_xpm='wxUSE_XPM=no'
16008 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16009 if test "x$LINE" != x ; then
16010 eval "DEFAULT_$LINE"
16016 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16021 eval "$wx_cv_use_xpm"
16022 if test "x$cache" = xyes; then
16023 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16026 if test x"$enablestring" = xdisable; then
16027 if test $wxUSE_XPM = yes; then
16036 { echo "$as_me:$LINENO: result: $result" >&5
16037 echo "${ECHO_T}$result" >&6; }
16041 defaultval=$wxUSE_ALL_FEATURES
16042 if test -z "$defaultval"; then
16043 if test x"$enablestring" = xdisable; then
16050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16051 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16052 # Check whether --enable-ico_cur was given.
16053 if test "${enable_ico_cur+set}" = set; then
16054 enableval=$enable_ico_cur;
16055 if test "$enableval" = yes; then
16056 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16058 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16064 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16065 if test "x$LINE" != x ; then
16066 eval "DEFAULT_$LINE"
16072 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16077 eval "$wx_cv_use_ico_cur"
16078 if test "x$cache" = xyes; then
16079 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16082 if test x"$enablestring" = xdisable; then
16083 if test $wxUSE_ICO_CUR = yes; then
16089 result=$wxUSE_ICO_CUR
16092 { echo "$as_me:$LINENO: result: $result" >&5
16093 echo "${ECHO_T}$result" >&6; }
16099 defaultval=$wxUSE_ALL_FEATURES
16100 if test -z "$defaultval"; then
16101 if test x"$enablestring" = xdisable; then
16108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16109 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16110 # Check whether --enable-dccache was given.
16111 if test "${enable_dccache+set}" = set; then
16112 enableval=$enable_dccache;
16113 if test "$enableval" = yes; then
16114 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16116 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16122 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16123 if test "x$LINE" != x ; then
16124 eval "DEFAULT_$LINE"
16130 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16135 eval "$wx_cv_use_dccache"
16136 if test "x$cache" = xyes; then
16137 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16140 if test x"$enablestring" = xdisable; then
16141 if test $wxUSE_DC_CACHEING = yes; then
16147 result=$wxUSE_DC_CACHEING
16150 { echo "$as_me:$LINENO: result: $result" >&5
16151 echo "${ECHO_T}$result" >&6; }
16155 defaultval=$wxUSE_ALL_FEATURES
16156 if test -z "$defaultval"; then
16157 if test x"$enablestring" = xdisable; then
16164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16165 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16166 # Check whether --enable-ps-in-msw was given.
16167 if test "${enable_ps_in_msw+set}" = set; then
16168 enableval=$enable_ps_in_msw;
16169 if test "$enableval" = yes; then
16170 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16172 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16178 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16179 if test "x$LINE" != x ; then
16180 eval "DEFAULT_$LINE"
16186 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16191 eval "$wx_cv_use_ps_in_msw"
16192 if test "x$cache" = xyes; then
16193 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16196 if test x"$enablestring" = xdisable; then
16197 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16203 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16206 { echo "$as_me:$LINENO: result: $result" >&5
16207 echo "${ECHO_T}$result" >&6; }
16211 defaultval=$wxUSE_ALL_FEATURES
16212 if test -z "$defaultval"; then
16213 if test x"$enablestring" = xdisable; then
16220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16221 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16222 # Check whether --enable-ownerdrawn was given.
16223 if test "${enable_ownerdrawn+set}" = set; then
16224 enableval=$enable_ownerdrawn;
16225 if test "$enableval" = yes; then
16226 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16228 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16234 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16235 if test "x$LINE" != x ; then
16236 eval "DEFAULT_$LINE"
16242 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16247 eval "$wx_cv_use_ownerdrawn"
16248 if test "x$cache" = xyes; then
16249 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16252 if test x"$enablestring" = xdisable; then
16253 if test $wxUSE_OWNER_DRAWN = yes; then
16259 result=$wxUSE_OWNER_DRAWN
16262 { echo "$as_me:$LINENO: result: $result" >&5
16263 echo "${ECHO_T}$result" >&6; }
16267 defaultval=$wxUSE_ALL_FEATURES
16268 if test -z "$defaultval"; then
16269 if test x"$enablestring" = xdisable; then
16276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16277 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16278 # Check whether --enable-uxtheme was given.
16279 if test "${enable_uxtheme+set}" = set; then
16280 enableval=$enable_uxtheme;
16281 if test "$enableval" = yes; then
16282 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16284 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16290 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16291 if test "x$LINE" != x ; then
16292 eval "DEFAULT_$LINE"
16298 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16303 eval "$wx_cv_use_uxtheme"
16304 if test "x$cache" = xyes; then
16305 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16308 if test x"$enablestring" = xdisable; then
16309 if test $wxUSE_UXTHEME = yes; then
16315 result=$wxUSE_UXTHEME
16318 { echo "$as_me:$LINENO: result: $result" >&5
16319 echo "${ECHO_T}$result" >&6; }
16323 defaultval=$wxUSE_ALL_FEATURES
16324 if test -z "$defaultval"; then
16325 if test x"$enablestring" = xdisable; then
16332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16333 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16334 # Check whether --enable-wxdib was given.
16335 if test "${enable_wxdib+set}" = set; then
16336 enableval=$enable_wxdib;
16337 if test "$enableval" = yes; then
16338 wx_cv_use_wxdib='wxUSE_DIB=yes'
16340 wx_cv_use_wxdib='wxUSE_DIB=no'
16346 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16347 if test "x$LINE" != x ; then
16348 eval "DEFAULT_$LINE"
16354 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16359 eval "$wx_cv_use_wxdib"
16360 if test "x$cache" = xyes; then
16361 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16364 if test x"$enablestring" = xdisable; then
16365 if test $wxUSE_DIB = yes; then
16374 { echo "$as_me:$LINENO: result: $result" >&5
16375 echo "${ECHO_T}$result" >&6; }
16381 echo "saving argument cache $wx_arg_cache_file"
16382 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16386 { echo "$as_me:$LINENO: checking for toolkit" >&5
16387 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16389 # In Wine, we need to default to MSW, not GTK or MOTIF
16390 if test "$wxUSE_WINE" = "yes"; then
16391 DEFAULT_DEFAULT_wxUSE_GTK=0
16392 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16393 DEFAULT_DEFAULT_wxUSE_MSW=1
16396 CXX=${CXX:-wineg++}
16400 if test "$wxUSE_GUI" = "yes"; then
16402 if test "$USE_BEOS" = 1; then
16403 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16404 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16405 { (exit 1); exit 1; }; }
16408 if test "$TOOLKIT_GIVEN" = 1; then
16409 for toolkit in `echo $ALL_TOOLKITS`; do
16411 eval "value=\$${var}"
16412 if test "x$value" = "xno"; then
16414 elif test "x$value" != "x"; then
16418 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16419 eval "wx${toolkit}_VERSION=$value"
16423 for toolkit in `echo $ALL_TOOLKITS`; do
16424 if test "$has_toolkit_in_cache" != 1; then
16425 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16427 var=DEFAULT_wxUSE_$toolkit
16429 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16430 if test "x$version" != "x"; then
16431 eval "wx${toolkit}_VERSION=$version"
16434 eval "wxUSE_$toolkit=\$${var}"
16438 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16439 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16440 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16443 *-pc-os2_emx | *-pc-os2-emx )
16444 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16447 case "$NUM_TOOLKITS" in
16451 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16452 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16453 { (exit 1); exit 1; }; }
16456 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16457 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16458 { (exit 1); exit 1; }; }
16461 # to be removed when --disable-gtk2 isn't needed
16462 if test "x$wxUSE_GTK2" = "xyes"; then
16464 elif test "x$wxUSE_GTK2" = "xno"; then
16468 for toolkit in `echo $ALL_TOOLKITS`; do
16470 eval "value=\$${var}"
16471 if test "x$value" != x; then
16472 cache_var=CACHE_$toolkit
16473 eval "cache=\$${cache_var}"
16474 if test "$cache" = 1; then
16475 echo "$var=$value" >> ${wx_arg_cache_file}
16476 eval "version=\$wx${toolkit}_VERSION"
16477 if test "x$version" != "x"; then
16478 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16481 if test "$value" = 1; then
16482 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16483 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16484 echo "${ECHO_T}$toolkit_echo" >&6; }
16489 if test "x$host_alias" != "x"; then
16490 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16491 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16493 { echo "$as_me:$LINENO: result: base only" >&5
16494 echo "${ECHO_T}base only" >&6; }
16499 cat >confcache <<\_ACEOF
16500 # This file is a shell script that caches the results of configure
16501 # tests run on this system so they can be shared between configure
16502 # scripts and configure runs, see configure's option --config-cache.
16503 # It is not useful on other systems. If it contains results you don't
16504 # want to keep, you may remove or edit it.
16506 # config.status only pays attention to the cache file if you give it
16507 # the --recheck option to rerun configure.
16509 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
16510 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16511 # following values.
16515 # The following way of writing the cache mishandles newlines in values,
16516 # but we know of no workaround that is simple, portable, and efficient.
16517 # So, we kill variables containing newlines.
16518 # Ultrix sh set writes to stderr and can't be redirected directly,
16519 # and sets the high bit in the cache file unless we assign to the vars.
16521 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16522 eval ac_val
=\$
$ac_var
16526 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16527 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16530 _
| IFS
| as_nl
) ;; #(
16531 *) $as_unset $ac_var ;;
16537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16538 *${as_nl}ac_space
=\
*)
16539 # `set' does not quote correctly, so add quotes (double-quote
16540 # substitution turns \\\\ into \\, and sed turns \\ into \).
16543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16546 # `set' quotes correctly as required by POSIX, so do not add quotes.
16547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16560 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16561 if test -w "$cache_file"; then
16562 test "x$cache_file" != "x/dev/null" &&
16563 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16564 echo "$as_me: updating cache $cache_file" >&6;}
16565 cat confcache
>$cache_file
16567 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16568 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16578 ac_cpp
='$CPP $CPPFLAGS'
16579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16582 if test -n "$ac_tool_prefix"; then
16583 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16584 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_CC+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 if test -n "$CC"; then
16591 ac_cv_prog_CC
="$CC" # Let the user override the test.
16593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16594 for as_dir
in $PATH
16597 test -z "$as_dir" && as_dir
=.
16598 for ac_exec_ext
in '' $ac_executable_extensions; do
16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16600 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16611 if test -n "$CC"; then
16612 { echo "$as_me:$LINENO: result: $CC" >&5
16613 echo "${ECHO_T}$CC" >&6; }
16615 { echo "$as_me:$LINENO: result: no" >&5
16616 echo "${ECHO_T}no" >&6; }
16621 if test -z "$ac_cv_prog_CC"; then
16623 # Extract the first word of "gcc", so it can be a program name with args.
16624 set dummy gcc
; ac_word
=$2
16625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 if test -n "$ac_ct_CC"; then
16631 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16634 for as_dir
in $PATH
16637 test -z "$as_dir" && as_dir
=.
16638 for ac_exec_ext
in '' $ac_executable_extensions; do
16639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16640 ac_cv_prog_ac_ct_CC
="gcc"
16641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16650 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16651 if test -n "$ac_ct_CC"; then
16652 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16653 echo "${ECHO_T}$ac_ct_CC" >&6; }
16655 { echo "$as_me:$LINENO: result: no" >&5
16656 echo "${ECHO_T}no" >&6; }
16659 if test "x$ac_ct_CC" = x
; then
16662 case $cross_compiling:$ac_tool_warned in
16664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16665 whose name does not start with the host triplet. If you think this
16666 configuration is useful to you, please write to autoconf@gnu.org." >&5
16667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16668 whose name does not start with the host triplet. If you think this
16669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16670 ac_tool_warned
=yes ;;
16675 CC
="$ac_cv_prog_CC"
16678 if test -z "$CC"; then
16679 if test -n "$ac_tool_prefix"; then
16680 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16681 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16684 if test "${ac_cv_prog_CC+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 if test -n "$CC"; then
16688 ac_cv_prog_CC
="$CC" # Let the user override the test.
16690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16691 for as_dir
in $PATH
16694 test -z "$as_dir" && as_dir
=.
16695 for ac_exec_ext
in '' $ac_executable_extensions; do
16696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16697 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16708 if test -n "$CC"; then
16709 { echo "$as_me:$LINENO: result: $CC" >&5
16710 echo "${ECHO_T}$CC" >&6; }
16712 { echo "$as_me:$LINENO: result: no" >&5
16713 echo "${ECHO_T}no" >&6; }
16719 if test -z "$CC"; then
16720 # Extract the first word of "cc", so it can be a program name with args.
16721 set dummy cc
; ac_word
=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_CC+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 if test -n "$CC"; then
16728 ac_cv_prog_CC
="$CC" # Let the user override the test.
16730 ac_prog_rejected
=no
16731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16732 for as_dir
in $PATH
16735 test -z "$as_dir" && as_dir
=.
16736 for ac_exec_ext
in '' $ac_executable_extensions; do
16737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16738 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16739 ac_prog_rejected
=yes
16743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16750 if test $ac_prog_rejected = yes; then
16751 # We found a bogon in the path, so make sure we never use it.
16752 set dummy
$ac_cv_prog_CC
16754 if test $# != 0; then
16755 # We chose a different compiler from the bogus one.
16756 # However, it has the same basename, so the bogon will be chosen
16757 # first if we set CC to just the basename; use the full file name.
16759 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16765 if test -n "$CC"; then
16766 { echo "$as_me:$LINENO: result: $CC" >&5
16767 echo "${ECHO_T}$CC" >&6; }
16769 { echo "$as_me:$LINENO: result: no" >&5
16770 echo "${ECHO_T}no" >&6; }
16775 if test -z "$CC"; then
16776 if test -n "$ac_tool_prefix"; then
16777 for ac_prog
in cl.exe
16779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16780 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16783 if test "${ac_cv_prog_CC+set}" = set; then
16784 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 if test -n "$CC"; then
16787 ac_cv_prog_CC
="$CC" # Let the user override the test.
16789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16790 for as_dir
in $PATH
16793 test -z "$as_dir" && as_dir
=.
16794 for ac_exec_ext
in '' $ac_executable_extensions; do
16795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16796 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16807 if test -n "$CC"; then
16808 { echo "$as_me:$LINENO: result: $CC" >&5
16809 echo "${ECHO_T}$CC" >&6; }
16811 { echo "$as_me:$LINENO: result: no" >&5
16812 echo "${ECHO_T}no" >&6; }
16816 test -n "$CC" && break
16819 if test -z "$CC"; then
16821 for ac_prog
in cl.exe
16823 # Extract the first word of "$ac_prog", so it can be a program name with args.
16824 set dummy
$ac_prog; ac_word
=$2
16825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 if test -n "$ac_ct_CC"; then
16831 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16834 for as_dir
in $PATH
16837 test -z "$as_dir" && as_dir
=.
16838 for ac_exec_ext
in '' $ac_executable_extensions; do
16839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16840 ac_cv_prog_ac_ct_CC
="$ac_prog"
16841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16851 if test -n "$ac_ct_CC"; then
16852 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16853 echo "${ECHO_T}$ac_ct_CC" >&6; }
16855 { echo "$as_me:$LINENO: result: no" >&5
16856 echo "${ECHO_T}no" >&6; }
16860 test -n "$ac_ct_CC" && break
16863 if test "x$ac_ct_CC" = x
; then
16866 case $cross_compiling:$ac_tool_warned in
16868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16869 whose name does not start with the host triplet. If you think this
16870 configuration is useful to you, please write to autoconf@gnu.org." >&5
16871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16872 whose name does not start with the host triplet. If you think this
16873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16874 ac_tool_warned
=yes ;;
16883 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16884 See \`config.log' for more details." >&5
16885 echo "$as_me: error: no acceptable C compiler found in \$PATH
16886 See \`config.log' for more details." >&2;}
16887 { (exit 1); exit 1; }; }
16889 # Provide some information about the compiler.
16890 echo "$as_me:$LINENO: checking for C compiler version" >&5
16891 ac_compiler
=`set X $ac_compile; echo $2`
16892 { (ac_try
="$ac_compiler --version >&5"
16893 case "(($ac_try" in
16894 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16895 *) ac_try_echo=$ac_try;;
16897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16898 (eval "$ac_compiler --version >&5") 2>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); }
16902 { (ac_try="$ac_compiler -v >&5"
16903 case "(($ac_try" in
16904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16905 *) ac_try_echo
=$ac_try;;
16907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16908 (eval "$ac_compiler -v >&5") 2>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }
16912 { (ac_try
="$ac_compiler -V >&5"
16913 case "(($ac_try" in
16914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16915 *) ac_try_echo=$ac_try;;
16917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16918 (eval "$ac_compiler -V >&5") 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }
16923 cat >conftest.$ac_ext <<_ACEOF
16926 cat confdefs.h >>conftest.$ac_ext
16927 cat >>conftest.$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16938 ac_clean_files_save=$ac_clean_files
16939 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16940 # Try to create an executable without -o first, disregard a.out.
16941 # It will help us diagnose broken compilers, and finding out an intuition
16943 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16944 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16945 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16947 # List of possible output files, starting from the most likely.
16948 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
16949 # only as a last resort. b.out is created by i960 compilers.
16950 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
16952 # The IRIX 6 linker writes into existing files which may not be
16953 # executable, retaining their permissions. Remove them first so a
16954 # subsequent execution test works.
16956 for ac_file in $ac_files
16959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16960 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16965 if { (ac_try="$ac_link_default"
16966 case "(($ac_try" in
16967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16968 *) ac_try_echo=$ac_try;;
16970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16971 (eval "$ac_link_default") 2>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; then
16975 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16976 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16977 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16978 # so that the user can short-circuit this test for compilers unknown to
16980 for ac_file
in $ac_files ''
16982 test -f "$ac_file" || continue
16984 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
16987 # We found the default executable, but exeext='' is most
16991 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16993 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16995 # We set ac_cv_exeext here because the later test for it is not
16996 # safe: cross compilers may not add the suffix if given an `-o'
16997 # argument, so we may need to know it at that point already.
16998 # Even if this section looks crufty: it has the advantage of
16999 # actually working.
17005 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
17011 { echo "$as_me:$LINENO: result: $ac_file" >&5
17012 echo "${ECHO_T}$ac_file" >&6; }
17013 if test -z "$ac_file"; then
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.
$ac_ext >&5
17017 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17018 See \`config.log' for more details." >&5
17019 echo "$as_me: error: C compiler cannot create executables
17020 See \`config.log' for more details." >&2;}
17021 { (exit 77); exit 77; }; }
17024 ac_exeext
=$ac_cv_exeext
17026 # Check that the compiler produces executables we can run. If not, either
17027 # the compiler is broken, or we cross compile.
17028 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17029 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17030 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17031 # If not cross compiling, check that we can run a simple program.
17032 if test "$cross_compiling" != yes; then
17033 if { ac_try
='./$ac_file'
17034 { (case "(($ac_try" in
17035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17036 *) ac_try_echo=$ac_try;;
17038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17039 (eval "$ac_try") 2>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); }; }; then
17045 if test "$cross_compiling" = maybe; then
17046 cross_compiling=yes
17048 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17049 If you meant to cross compile, use \`--host'.
17050 See \`config.log' for more details.
" >&5
17051 echo "$as_me: error
: cannot run C compiled programs.
17052 If you meant to cross compile
, use \
`--host'.
17053 See \`config.log
' for more details." >&2;}
17054 { (exit 1); exit 1; }; }
17058 { echo "$as_me:$LINENO: result: yes" >&5
17059 echo "${ECHO_T}yes" >&6; }
17061 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17062 ac_clean_files=$ac_clean_files_save
17063 # Check that the compiler produces executables we can run. If not, either
17064 # the compiler is broken, or we cross compile.
17065 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17066 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17067 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17068 echo "${ECHO_T}$cross_compiling" >&6; }
17070 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17071 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17072 if { (ac_try="$ac_link"
17073 case "(($ac_try" in
17074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17075 *) ac_try_echo=$ac_try;;
17077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17078 (eval "$ac_link") 2>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; then
17082 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
17083 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
17084 # work properly (i.e., refer to `conftest.exe
'), while it won't with
17086 for ac_file
in conftest.exe conftest conftest.
*; do
17087 test -f "$ac_file" || continue
17089 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17090 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17096 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17097 See \`config.log' for more details." >&5
17098 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17099 See \`config.log' for more details." >&2;}
17100 { (exit 1); exit 1; }; }
17103 rm -f conftest
$ac_cv_exeext
17104 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17105 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17107 rm -f conftest.
$ac_ext
17108 EXEEXT
=$ac_cv_exeext
17110 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17111 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17112 if test "${ac_cv_objext+set}" = set; then
17113 echo $ECHO_N "(cached) $ECHO_C" >&6
17115 cat >conftest.
$ac_ext <<_ACEOF
17118 cat confdefs.h
>>conftest.
$ac_ext
17119 cat >>conftest.
$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17130 rm -f conftest.o conftest.obj
17131 if { (ac_try
="$ac_compile"
17132 case "(($ac_try" in
17133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17134 *) ac_try_echo=$ac_try;;
17136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17137 (eval "$ac_compile") 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; then
17141 for ac_file in conftest.o conftest.obj conftest.*; do
17142 test -f "$ac_file" || continue;
17144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17145 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17153 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17154 See \`config.log
' for more details." >&5
17155 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17156 See \`config.log' for more details.
" >&2;}
17157 { (exit 1); exit 1; }; }
17160 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17162 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17163 echo "${ECHO_T}$ac_cv_objext" >&6; }
17164 OBJEXT=$ac_cv_objext
17166 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17167 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17168 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17169 echo $ECHO_N "(cached
) $ECHO_C" >&6
17171 cat >conftest.$ac_ext <<_ACEOF
17174 cat confdefs.h >>conftest.$ac_ext
17175 cat >>conftest.$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17189 rm -f conftest.$ac_objext
17190 if { (ac_try="$ac_compile"
17191 case "(($ac_try" in
17192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17193 *) ac_try_echo=$ac_try;;
17195 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17196 (eval "$ac_compile") 2>conftest.er1
17198 grep -v '^ *+' conftest.er1 >conftest.err
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17202 (exit $ac_status); } && {
17203 test -z "$ac_c_werror_flag" ||
17204 test ! -s conftest.err
17205 } && test -s conftest.$ac_objext; then
17206 ac_compiler_gnu=yes
17208 echo "$as_me: failed program was
:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17218 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17219 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17220 GCC=`test $ac_compiler_gnu = yes && echo yes`
17221 ac_test_CFLAGS=${CFLAGS+set}
17222 ac_save_CFLAGS=$CFLAGS
17223 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17224 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17225 if test "${ac_cv_prog_cc_g+set}" = set; then
17226 echo $ECHO_N "(cached
) $ECHO_C" >&6
17228 ac_save_c_werror_flag=$ac_c_werror_flag
17229 ac_c_werror_flag=yes
17232 cat >conftest.$ac_ext <<_ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17247 rm -f conftest.$ac_objext
17248 if { (ac_try="$ac_compile"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17253 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compile") 2>conftest.er1
17256 grep -v '^ *+' conftest.er1 >conftest.err
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_c_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest.$ac_objext; then
17264 ac_cv_prog_cc_g=yes
17266 echo "$as_me: failed program was
:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17270 cat >conftest.$ac_ext <<_ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17285 rm -f conftest.$ac_objext
17286 if { (ac_try="$ac_compile"
17287 case "(($ac_try" in
17288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17289 *) ac_try_echo=$ac_try;;
17291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17292 (eval "$ac_compile") 2>conftest.er1
17294 grep -v '^ *+' conftest.er1 >conftest.err
17296 cat conftest.err >&5
17297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17298 (exit $ac_status); } && {
17299 test -z "$ac_c_werror_flag" ||
17300 test ! -s conftest.err
17301 } && test -s conftest.$ac_objext; then
17304 echo "$as_me: failed program was
:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17307 ac_c_werror_flag=$ac_save_c_werror_flag
17309 cat >conftest.$ac_ext <<_ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17324 rm -f conftest.$ac_objext
17325 if { (ac_try="$ac_compile"
17326 case "(($ac_try" in
17327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17328 *) ac_try_echo=$ac_try;;
17330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17331 (eval "$ac_compile") 2>conftest.er1
17333 grep -v '^ *+' conftest.er1 >conftest.err
17335 cat conftest.err >&5
17336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17337 (exit $ac_status); } && {
17338 test -z "$ac_c_werror_flag" ||
17339 test ! -s conftest.err
17340 } && test -s conftest.$ac_objext; then
17341 ac_cv_prog_cc_g=yes
17343 echo "$as_me: failed program was
:" >&5
17344 sed 's/^/| /' conftest.$ac_ext >&5
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356 ac_c_werror_flag=$ac_save_c_werror_flag
17358 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17359 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17360 if test "$ac_test_CFLAGS" = set; then
17361 CFLAGS=$ac_save_CFLAGS
17362 elif test $ac_cv_prog_cc_g = yes; then
17363 if test "$GCC" = yes; then
17369 if test "$GCC" = yes; then
17375 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17376 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17377 if test "${ac_cv_prog_cc_c89+set}" = set; then
17378 echo $ECHO_N "(cached
) $ECHO_C" >&6
17380 ac_cv_prog_cc_c89=no
17382 cat >conftest.$ac_ext <<_ACEOF
17385 cat confdefs.h >>conftest.$ac_ext
17386 cat >>conftest.$ac_ext <<_ACEOF
17387 /* end confdefs.h. */
17388 #include <stdarg.h>
17390 #include <sys/types.h>
17391 #include <sys/stat.h>
17392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17393 struct buf { int x; };
17394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17395 static char *e (p, i)
17401 static char *f (char * (*g) (char **, int), char **p, ...)
17406 s = g (p, va_arg (v,int));
17411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17412 function prototypes and stuff, but not '\xHH' hex character constants.
17413 These don't provoke an error unfortunately, instead are silently treated
17414 as 'x'. The following induces an error, until -std is added to get
17415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17416 array size at least. It's necessary to write '\x00'==0 to get something
17417 that's true only with -std. */
17418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17421 inside strings and character constants. */
17423 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17425 int test (int i, double x);
17426 struct s1 {int (*f) (int a);};
17427 struct s2 {int (*f) (double a);};
17428 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17434 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17439 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17440 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17442 CC="$ac_save_CC $ac_arg"
17443 rm -f conftest.$ac_objext
17444 if { (ac_try="$ac_compile"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17449 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_compile") 2>conftest.er1
17452 grep -v '^ *+' conftest.er1 >conftest.err
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_c_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest.$ac_objext; then
17460 ac_cv_prog_cc_c89=$ac_arg
17462 echo "$as_me: failed program was
:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17468 rm -f core conftest.err conftest.$ac_objext
17469 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17471 rm -f conftest.$ac_ext
17476 case "x
$ac_cv_prog_cc_c89" in
17478 { echo "$as_me:$LINENO: result
: none needed
" >&5
17479 echo "${ECHO_T}none needed
" >&6; } ;;
17481 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17482 echo "${ECHO_T}unsupported
" >&6; } ;;
17484 CC="$CC $ac_cv_prog_cc_c89"
17485 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17486 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17491 ac_cpp='$CPP $CPPFLAGS'
17492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17500 ac_cpp='$CPP $CPPFLAGS'
17501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17505 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17506 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17507 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17508 echo $ECHO_N "(cached
) $ECHO_C" >&6
17510 cat >conftest.$ac_ext <<_ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17521 #ifndef __INTEL_COMPILER
17529 rm -f conftest.$ac_objext
17530 if { (ac_try="$ac_compile"
17531 case "(($ac_try" in
17532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17533 *) ac_try_echo=$ac_try;;
17535 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17536 (eval "$ac_compile") 2>conftest.er1
17538 grep -v '^ *+' conftest.er1 >conftest.err
17540 cat conftest.err >&5
17541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17542 (exit $ac_status); } && {
17543 test -z "$ac_c_werror_flag" ||
17544 test ! -s conftest.err
17545 } && test -s conftest.$ac_objext; then
17546 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17548 echo "$as_me: failed program was
:" >&5
17549 sed 's/^/| /' conftest.$ac_ext >&5
17551 bakefile_cv_c_compiler___INTEL_COMPILER=no
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17559 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17560 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17561 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17567 ac_cpp='$CPP $CPPFLAGS'
17568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17575 if test "x
$GCC" != "xyes
"; then
17576 if test "xCC
" = "xC
"; then
17577 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17578 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17579 if test "${bakefile_cv_c_exto+set}" = set; then
17580 echo $ECHO_N "(cached
) $ECHO_C" >&6
17582 cat >conftest.$ac_ext <<_ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17597 rm -f conftest.$ac_objext conftest.$ac_ext.o
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>&5
17601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17602 (exit $ac_status); }; then
17603 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17605 conftest.$ac_ext.o)
17606 bakefile_cv_c_exto="-ext o
"
17613 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17614 See \
`config.log' for more details." >&5
17615 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17616 See \`config.log
' for more details." >&2;}
17617 { (exit 1); exit 1; }; }
17621 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17624 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17625 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17626 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17627 if test "c" = "c"; then
17628 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17630 if test "c" = "cxx"; then
17631 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17635 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17636 unset ac_cv_prog_cc_g
17637 ac_test_CFLAGS=${CFLAGS+set}
17638 ac_save_CFLAGS=$CFLAGS
17639 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17640 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17641 if test "${ac_cv_prog_cc_g+set}" = set; then
17642 echo $ECHO_N "(cached) $ECHO_C" >&6
17644 ac_save_c_werror_flag=$ac_c_werror_flag
17645 ac_c_werror_flag=yes
17648 cat >conftest.$ac_ext <<_ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17663 rm -f conftest.$ac_objext
17664 if { (ac_try="$ac_compile"
17665 case "(($ac_try" in
17666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17667 *) ac_try_echo=$ac_try;;
17669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17670 (eval "$ac_compile") 2>conftest.er1
17672 grep -v '^
*+' conftest.er1 >conftest.err
17674 cat conftest.err >&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); } && {
17677 test -z "$ac_c_werror_flag" ||
17678 test ! -s conftest.err
17679 } && test -s conftest.$ac_objext; then
17680 ac_cv_prog_cc_g=yes
17682 echo "$as_me: failed program was:" >&5
17683 sed 's
/^
/| /' conftest.$ac_ext >&5
17686 cat >conftest.$ac_ext <<_ACEOF
17689 cat confdefs.h >>conftest.$ac_ext
17690 cat >>conftest.$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17701 rm -f conftest.$ac_objext
17702 if { (ac_try="$ac_compile"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_compile") 2>conftest.er1
17710 grep -v '^
*+' conftest.er1 >conftest.err
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_c_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest.$ac_objext; then
17720 echo "$as_me: failed program was:" >&5
17721 sed 's
/^
/| /' conftest.$ac_ext >&5
17723 ac_c_werror_flag=$ac_save_c_werror_flag
17725 cat >conftest.$ac_ext <<_ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17740 rm -f conftest.$ac_objext
17741 if { (ac_try="$ac_compile"
17742 case "(($ac_try" in
17743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17744 *) ac_try_echo=$ac_try;;
17746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17747 (eval "$ac_compile") 2>conftest.er1
17749 grep -v '^
*+' conftest.er1 >conftest.err
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } && {
17754 test -z "$ac_c_werror_flag" ||
17755 test ! -s conftest.err
17756 } && test -s conftest.$ac_objext; then
17757 ac_cv_prog_cc_g=yes
17759 echo "$as_me: failed program was:" >&5
17760 sed 's
/^
/| /' conftest.$ac_ext >&5
17765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772 ac_c_werror_flag=$ac_save_c_werror_flag
17774 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17775 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17776 if test "$ac_test_CFLAGS" = set; then
17777 CFLAGS=$ac_save_CFLAGS
17778 elif test $ac_cv_prog_cc_g = yes; then
17779 if test "$GCC" = yes; then
17785 if test "$GCC" = yes; then
17799 ac_cpp='$CPP $CPPFLAGS'
17800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17801 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17804 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17805 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17806 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17807 echo $ECHO_N "(cached) $ECHO_C" >&6
17809 cat >conftest.$ac_ext <<_ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17828 rm -f conftest.$ac_objext
17829 if { (ac_try="$ac_compile"
17830 case "(($ac_try" in
17831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17832 *) ac_try_echo=$ac_try;;
17834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17835 (eval "$ac_compile") 2>conftest.er1
17837 grep -v '^
*+' conftest.er1 >conftest.err
17839 cat conftest.err >&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } && {
17842 test -z "$ac_c_werror_flag" ||
17843 test ! -s conftest.err
17844 } && test -s conftest.$ac_objext; then
17845 bakefile_cv_c_compiler___xlC__=yes
17847 echo "$as_me: failed program was:" >&5
17848 sed 's
/^
/| /' conftest.$ac_ext >&5
17850 bakefile_cv_c_compiler___xlC__=no
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17859 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17860 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17866 ac_cpp='$CPP $CPPFLAGS'
17867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17868 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17879 ac_cpp='$CPP $CPPFLAGS'
17880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17881 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17884 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17885 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17886 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 cat >conftest.$ac_ext <<_ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17908 rm -f conftest.$ac_objext
17909 if { (ac_try="$ac_compile"
17910 case "(($ac_try" in
17911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17912 *) ac_try_echo=$ac_try;;
17914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17915 (eval "$ac_compile") 2>conftest.er1
17917 grep -v '^
*+' conftest.er1 >conftest.err
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } && {
17922 test -z "$ac_c_werror_flag" ||
17923 test ! -s conftest.err
17924 } && test -s conftest.$ac_objext; then
17925 bakefile_cv_c_compiler___MWERKS__=yes
17927 echo "$as_me: failed program was:" >&5
17928 sed 's
/^
/| /' conftest.$ac_ext >&5
17930 bakefile_cv_c_compiler___MWERKS__=no
17934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17938 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17939 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17940 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17946 ac_cpp='$CPP $CPPFLAGS'
17947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17948 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17956 ac_cpp='$CPP $CPPFLAGS'
17957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17958 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17961 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17962 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17963 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17966 cat >conftest.$ac_ext <<_ACEOF
17969 cat confdefs.h >>conftest.$ac_ext
17970 cat >>conftest.$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17985 rm -f conftest.$ac_objext
17986 if { (ac_try="$ac_compile"
17987 case "(($ac_try" in
17988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17989 *) ac_try_echo=$ac_try;;
17991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17992 (eval "$ac_compile") 2>conftest.er1
17994 grep -v '^
*+' conftest.er1 >conftest.err
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } && {
17999 test -z "$ac_c_werror_flag" ||
18000 test ! -s conftest.err
18001 } && test -s conftest.$ac_objext; then
18002 bakefile_cv_c_compiler___xlC__=yes
18004 echo "$as_me: failed program was:" >&5
18005 sed 's
/^
/| /' conftest.$ac_ext >&5
18007 bakefile_cv_c_compiler___xlC__=no
18011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18015 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18016 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18017 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18023 ac_cpp='$CPP $CPPFLAGS'
18024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18025 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18036 ac_cpp='$CPP $CPPFLAGS'
18037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18038 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18041 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18042 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18043 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18044 echo $ECHO_N "(cached) $ECHO_C" >&6
18046 cat >conftest.$ac_ext <<_ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18057 #ifndef _SGI_COMPILER_VERSION
18065 rm -f conftest.$ac_objext
18066 if { (ac_try="$ac_compile"
18067 case "(($ac_try" in
18068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18069 *) ac_try_echo=$ac_try;;
18071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18072 (eval "$ac_compile") 2>conftest.er1
18074 grep -v '^
*+' conftest.er1 >conftest.err
18076 cat conftest.err >&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); } && {
18079 test -z "$ac_c_werror_flag" ||
18080 test ! -s conftest.err
18081 } && test -s conftest.$ac_objext; then
18082 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18084 echo "$as_me: failed program was:" >&5
18085 sed 's
/^
/| /' conftest.$ac_ext >&5
18087 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18095 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18096 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18097 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18103 ac_cpp='$CPP $CPPFLAGS'
18104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18105 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18116 ac_cpp='$CPP $CPPFLAGS'
18117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18118 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18121 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18122 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18123 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18126 cat >conftest.$ac_ext <<_ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18145 rm -f conftest.$ac_objext
18146 if { (ac_try="$ac_compile"
18147 case "(($ac_try" in
18148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18149 *) ac_try_echo=$ac_try;;
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_compile") 2>conftest.er1
18154 grep -v '^
*+' conftest.er1 >conftest.err
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && {
18159 test -z "$ac_c_werror_flag" ||
18160 test ! -s conftest.err
18161 } && test -s conftest.$ac_objext; then
18162 bakefile_cv_c_compiler___SUNPRO_C=yes
18164 echo "$as_me: failed program was:" >&5
18165 sed 's
/^
/| /' conftest.$ac_ext >&5
18167 bakefile_cv_c_compiler___SUNPRO_C=no
18171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18175 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18176 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18177 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18183 ac_cpp='$CPP $CPPFLAGS'
18184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18185 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18196 ac_cpp='$CPP $CPPFLAGS'
18197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18198 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18201 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18202 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18203 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 cat >conftest.$ac_ext <<_ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18225 rm -f conftest.$ac_objext
18226 if { (ac_try="$ac_compile"
18227 case "(($ac_try" in
18228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18229 *) ac_try_echo=$ac_try;;
18231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18232 (eval "$ac_compile") 2>conftest.er1
18234 grep -v '^
*+' conftest.er1 >conftest.err
18236 cat conftest.err >&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } && {
18239 test -z "$ac_c_werror_flag" ||
18240 test ! -s conftest.err
18241 } && test -s conftest.$ac_objext; then
18242 bakefile_cv_c_compiler___HP_cc=yes
18244 echo "$as_me: failed program was:" >&5
18245 sed 's
/^
/| /' conftest.$ac_ext >&5
18247 bakefile_cv_c_compiler___HP_cc=no
18251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18255 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18256 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18257 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18263 ac_cpp='$CPP $CPPFLAGS'
18264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18265 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18276 ac_cpp='$CPP $CPPFLAGS'
18277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18278 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18281 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18282 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18283 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18284 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 cat >conftest.$ac_ext <<_ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18314 grep -v '^
*+' conftest.er1 >conftest.err
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_c_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 bakefile_cv_c_compiler___DECC=yes
18324 echo "$as_me: failed program was:" >&5
18325 sed 's
/^
/| /' conftest.$ac_ext >&5
18327 bakefile_cv_c_compiler___DECC=no
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18336 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18337 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18343 ac_cpp='$CPP $CPPFLAGS'
18344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18345 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18356 ac_cpp='$CPP $CPPFLAGS'
18357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18358 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18361 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18362 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18363 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 cat >conftest.$ac_ext <<_ACEOF
18369 cat confdefs.h >>conftest.$ac_ext
18370 cat >>conftest.$ac_ext <<_ACEOF
18371 /* end confdefs.h. */
18385 rm -f conftest.$ac_objext
18386 if { (ac_try="$ac_compile"
18387 case "(($ac_try" in
18388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18389 *) ac_try_echo=$ac_try;;
18391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18392 (eval "$ac_compile") 2>conftest.er1
18394 grep -v '^
*+' conftest.er1 >conftest.err
18396 cat conftest.err >&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); } && {
18399 test -z "$ac_c_werror_flag" ||
18400 test ! -s conftest.err
18401 } && test -s conftest.$ac_objext; then
18402 bakefile_cv_c_compiler___SUNPRO_C=yes
18404 echo "$as_me: failed program was:" >&5
18405 sed 's
/^
/| /' conftest.$ac_ext >&5
18407 bakefile_cv_c_compiler___SUNPRO_C=no
18411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18415 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18416 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18417 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18423 ac_cpp='$CPP $CPPFLAGS'
18424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18425 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18437 ac_cpp='$CPP $CPPFLAGS'
18438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18439 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18441 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18442 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18443 # On Suns, sometimes $CPP names a directory.
18444 if test -n "$CPP" && test -d "$CPP"; then
18447 if test -z "$CPP"; then
18448 if test "${ac_cv_prog_CPP+set}" = set; then
18449 echo $ECHO_N "(cached) $ECHO_C" >&6
18451 # Double quotes because CPP needs to be expanded
18452 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18454 ac_preproc_ok=false
18455 for ac_c_preproc_warn_flag in '' yes
18457 # Use a header file that comes with gcc, so configuring glibc
18458 # with a fresh cross-compiler works.
18459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18460 # <limits.h> exists even on freestanding compilers.
18461 # On the NeXT, cc -E runs the code through the compiler's parser
,
18462 # not just through cpp. "Syntax error" is here to catch this case.
18463 cat >conftest.
$ac_ext <<_ACEOF
18466 cat confdefs.h
>>conftest.
$ac_ext
18467 cat >>conftest.
$ac_ext <<_ACEOF
18468 /* end confdefs.h. */
18470 # include <limits.h>
18472 # include <assert.h>
18476 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18477 case "(($ac_try" in
18478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18484 grep -v '^ *+' conftest.er1 >conftest.err
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } >/dev/null && {
18489 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18490 test ! -s conftest.err
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18497 # Broken: fails on valid input.
18501 rm -f conftest.err conftest.$ac_ext
18503 # OK, works on sane cases. Now check whether nonexistent headers
18504 # can be detected and how.
18505 cat >conftest.$ac_ext <<_ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 #include <ac_nonexistent.h>
18513 if { (ac_try="$ac_cpp conftest.$ac_ext"
18514 case "(($ac_try" in
18515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18516 *) ac_try_echo
=$ac_try;;
18518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18521 grep -v '^ *+' conftest.er1
>conftest.err
18523 cat conftest.err
>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } >/dev
/null
&& {
18526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18527 test ! -s conftest.err
18529 # Broken: success on invalid input.
18532 echo "$as_me: failed program was:" >&5
18533 sed 's/^/| /' conftest.
$ac_ext >&5
18535 # Passes both tests.
18540 rm -f conftest.err conftest.
$ac_ext
18543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18544 rm -f conftest.err conftest.
$ac_ext
18545 if $ac_preproc_ok; then
18550 ac_cv_prog_CPP
=$CPP
18553 CPP
=$ac_cv_prog_CPP
18555 ac_cv_prog_CPP
=$CPP
18557 { echo "$as_me:$LINENO: result: $CPP" >&5
18558 echo "${ECHO_T}$CPP" >&6; }
18559 ac_preproc_ok
=false
18560 for ac_c_preproc_warn_flag
in '' yes
18562 # Use a header file that comes with gcc, so configuring glibc
18563 # with a fresh cross-compiler works.
18564 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18565 # <limits.h> exists even on freestanding compilers.
18566 # On the NeXT, cc -E runs the code through the compiler's parser,
18567 # not just through cpp. "Syntax error" is here to catch this case.
18568 cat >conftest.
$ac_ext <<_ACEOF
18571 cat confdefs.h
>>conftest.
$ac_ext
18572 cat >>conftest.
$ac_ext <<_ACEOF
18573 /* end confdefs.h. */
18575 # include <limits.h>
18577 # include <assert.h>
18581 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18582 case "(($ac_try" in
18583 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18589 grep -v '^ *+' conftest.er1 >conftest.err
18591 cat conftest.err >&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } >/dev/null && {
18594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18595 test ! -s conftest.err
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18602 # Broken: fails on valid input.
18606 rm -f conftest.err conftest.$ac_ext
18608 # OK, works on sane cases. Now check whether nonexistent headers
18609 # can be detected and how.
18610 cat >conftest.$ac_ext <<_ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #include <ac_nonexistent.h>
18618 if { (ac_try="$ac_cpp conftest.$ac_ext"
18619 case "(($ac_try" in
18620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18621 *) ac_try_echo
=$ac_try;;
18623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18626 grep -v '^ *+' conftest.er1
>conftest.err
18628 cat conftest.err
>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } >/dev
/null
&& {
18631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18632 test ! -s conftest.err
18634 # Broken: success on invalid input.
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.
$ac_ext >&5
18640 # Passes both tests.
18645 rm -f conftest.err conftest.
$ac_ext
18648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18649 rm -f conftest.err conftest.
$ac_ext
18650 if $ac_preproc_ok; then
18653 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18654 See \`config.log' for more details." >&5
18655 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18656 See \`config.log' for more details." >&2;}
18657 { (exit 1); exit 1; }; }
18661 ac_cpp
='$CPP $CPPFLAGS'
18662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18667 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18668 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18669 if test "${ac_cv_path_GREP+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 # Extract the first word of "grep ggrep" to use in msg output
18673 if test -z "$GREP"; then
18674 set dummy
grep ggrep
; ac_prog_name
=$2
18675 if test "${ac_cv_path_GREP+set}" = set; then
18676 echo $ECHO_N "(cached) $ECHO_C" >&6
18678 ac_path_GREP_found
=false
18679 # Loop through the user's path and test for each of PROGNAME-LIST
18680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18681 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18684 test -z "$as_dir" && as_dir
=.
18685 for ac_prog
in grep ggrep
; do
18686 for ac_exec_ext
in '' $ac_executable_extensions; do
18687 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18688 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18689 # Check for GNU ac_path_GREP and select it if it is found.
18690 # Check for GNU $ac_path_GREP
18691 case `"$ac_path_GREP" --version 2>&1` in
18693 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18696 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18699 cat "conftest.in" "conftest.in" >"conftest.tmp"
18700 mv "conftest.tmp" "conftest.in"
18701 cp "conftest.in" "conftest.nl"
18702 echo 'GREP' >> "conftest.nl"
18703 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18704 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18705 ac_count
=`expr $ac_count + 1`
18706 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18707 # Best one so far, save it but keep looking for a better one
18708 ac_cv_path_GREP
="$ac_path_GREP"
18709 ac_path_GREP_max
=$ac_count
18711 # 10*(2^10) chars as input seems more than enough
18712 test $ac_count -gt 10 && break
18714 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18718 $ac_path_GREP_found && break 3
18728 GREP
="$ac_cv_path_GREP"
18729 if test -z "$GREP"; then
18730 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18731 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18732 { (exit 1); exit 1; }; }
18736 ac_cv_path_GREP
=$GREP
18741 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18742 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18743 GREP
="$ac_cv_path_GREP"
18746 { echo "$as_me:$LINENO: checking for egrep" >&5
18747 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18748 if test "${ac_cv_path_EGREP+set}" = set; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18751 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18752 then ac_cv_path_EGREP
="$GREP -E"
18754 # Extract the first word of "egrep" to use in msg output
18755 if test -z "$EGREP"; then
18756 set dummy
egrep; ac_prog_name
=$2
18757 if test "${ac_cv_path_EGREP+set}" = set; then
18758 echo $ECHO_N "(cached) $ECHO_C" >&6
18760 ac_path_EGREP_found
=false
18761 # Loop through the user's path and test for each of PROGNAME-LIST
18762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18763 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18766 test -z "$as_dir" && as_dir
=.
18767 for ac_prog
in egrep; do
18768 for ac_exec_ext
in '' $ac_executable_extensions; do
18769 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18770 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18771 # Check for GNU ac_path_EGREP and select it if it is found.
18772 # Check for GNU $ac_path_EGREP
18773 case `"$ac_path_EGREP" --version 2>&1` in
18775 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18778 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18781 cat "conftest.in" "conftest.in" >"conftest.tmp"
18782 mv "conftest.tmp" "conftest.in"
18783 cp "conftest.in" "conftest.nl"
18784 echo 'EGREP' >> "conftest.nl"
18785 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18786 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18787 ac_count
=`expr $ac_count + 1`
18788 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18789 # Best one so far, save it but keep looking for a better one
18790 ac_cv_path_EGREP
="$ac_path_EGREP"
18791 ac_path_EGREP_max
=$ac_count
18793 # 10*(2^10) chars as input seems more than enough
18794 test $ac_count -gt 10 && break
18796 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18800 $ac_path_EGREP_found && break 3
18810 EGREP
="$ac_cv_path_EGREP"
18811 if test -z "$EGREP"; then
18812 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18813 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18814 { (exit 1); exit 1; }; }
18818 ac_cv_path_EGREP
=$EGREP
18824 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18825 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18826 EGREP
="$ac_cv_path_EGREP"
18829 if test $ac_cv_c_compiler_gnu = yes; then
18830 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18831 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18832 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 ac_pattern
="Autoconf.*'x'"
18836 cat >conftest.
$ac_ext <<_ACEOF
18839 cat confdefs.h
>>conftest.
$ac_ext
18840 cat >>conftest.
$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18846 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18847 ac_cv_prog_gcc_traditional
=yes
18849 ac_cv_prog_gcc_traditional
=no
18854 if test $ac_cv_prog_gcc_traditional = no
; then
18855 cat >conftest.
$ac_ext <<_ACEOF
18858 cat confdefs.h
>>conftest.
$ac_ext
18859 cat >>conftest.
$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 #include <termio.h>
18864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18865 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18866 ac_cv_prog_gcc_traditional
=yes
18872 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18873 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18874 if test $ac_cv_prog_gcc_traditional = yes; then
18875 CC
="$CC -traditional"
18880 CXXFLAGS
=${CXXFLAGS:=}
18885 ac_cpp
='$CXXCPP $CPPFLAGS'
18886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18889 if test -z "$CXX"; then
18890 if test -n "$CCC"; then
18893 if test -n "$ac_tool_prefix"; then
18894 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18897 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18900 if test "${ac_cv_prog_CXX+set}" = set; then
18901 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 if test -n "$CXX"; then
18904 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18907 for as_dir
in $PATH
18910 test -z "$as_dir" && as_dir
=.
18911 for ac_exec_ext
in '' $ac_executable_extensions; do
18912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18913 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18923 CXX
=$ac_cv_prog_CXX
18924 if test -n "$CXX"; then
18925 { echo "$as_me:$LINENO: result: $CXX" >&5
18926 echo "${ECHO_T}$CXX" >&6; }
18928 { echo "$as_me:$LINENO: result: no" >&5
18929 echo "${ECHO_T}no" >&6; }
18933 test -n "$CXX" && break
18936 if test -z "$CXX"; then
18938 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18940 # Extract the first word of "$ac_prog", so it can be a program name with args.
18941 set dummy
$ac_prog; ac_word
=$2
18942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18944 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 if test -n "$ac_ct_CXX"; then
18948 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18951 for as_dir
in $PATH
18954 test -z "$as_dir" && as_dir
=.
18955 for ac_exec_ext
in '' $ac_executable_extensions; do
18956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18957 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18967 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18968 if test -n "$ac_ct_CXX"; then
18969 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18970 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18972 { echo "$as_me:$LINENO: result: no" >&5
18973 echo "${ECHO_T}no" >&6; }
18977 test -n "$ac_ct_CXX" && break
18980 if test "x$ac_ct_CXX" = x
; then
18983 case $cross_compiling:$ac_tool_warned in
18985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18986 whose name does not start with the host triplet. If you think this
18987 configuration is useful to you, please write to autoconf@gnu.org." >&5
18988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18989 whose name does not start with the host triplet. If you think this
18990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18991 ac_tool_warned
=yes ;;
18999 # Provide some information about the compiler.
19000 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19001 ac_compiler
=`set X $ac_compile; echo $2`
19002 { (ac_try
="$ac_compiler --version >&5"
19003 case "(($ac_try" in
19004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19005 *) ac_try_echo=$ac_try;;
19007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19008 (eval "$ac_compiler --version >&5") 2>&5
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }
19012 { (ac_try="$ac_compiler -v >&5"
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_compiler -v >&5") 2>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }
19022 { (ac_try
="$ac_compiler -V >&5"
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_compiler -V >&5") 2>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); }
19033 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19034 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19035 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19036 echo $ECHO_N "(cached) $ECHO_C" >&6
19038 cat >conftest.$ac_ext <<_ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19060 *) ac_try_echo
=$ac_try;;
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19065 grep -v '^ *+' conftest.er1
>conftest.err
19067 cat conftest.err
>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_cxx_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.
$ac_objext; then
19073 ac_compiler_gnu
=yes
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.
$ac_ext >&5
19081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19082 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19085 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19086 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19087 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19088 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19089 ac_save_CXXFLAGS
=$CXXFLAGS
19090 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19091 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19092 if test "${ac_cv_prog_cxx_g+set}" = set; then
19093 echo $ECHO_N "(cached) $ECHO_C" >&6
19095 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19096 ac_cxx_werror_flag
=yes
19097 ac_cv_prog_cxx_g
=no
19099 cat >conftest.
$ac_ext <<_ACEOF
19102 cat confdefs.h
>>conftest.
$ac_ext
19103 cat >>conftest.
$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19114 rm -f conftest.
$ac_objext
19115 if { (ac_try
="$ac_compile"
19116 case "(($ac_try" in
19117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19118 *) ac_try_echo=$ac_try;;
19120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19121 (eval "$ac_compile") 2>conftest.er1
19123 grep -v '^ *+' conftest.er1 >conftest.err
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } && {
19128 test -z "$ac_cxx_werror_flag" ||
19129 test ! -s conftest.err
19130 } && test -s conftest.$ac_objext; then
19131 ac_cv_prog_cxx_g=yes
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19137 cat >conftest.$ac_ext <<_ACEOF
19140 cat confdefs.h >>conftest.$ac_ext
19141 cat >>conftest.$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19156 *) ac_try_echo
=$ac_try;;
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19161 grep -v '^ *+' conftest.er1
>conftest.err
19163 cat conftest.err
>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_cxx_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.
$ac_objext; then
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.
$ac_ext >&5
19174 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19176 cat >conftest.
$ac_ext <<_ACEOF
19179 cat confdefs.h
>>conftest.
$ac_ext
19180 cat >>conftest.
$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19191 rm -f conftest.
$ac_objext
19192 if { (ac_try
="$ac_compile"
19193 case "(($ac_try" in
19194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19195 *) ac_try_echo=$ac_try;;
19197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_compile") 2>conftest.er1
19200 grep -v '^ *+' conftest.er1 >conftest.err
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } && {
19205 test -z "$ac_cxx_werror_flag" ||
19206 test ! -s conftest.err
19207 } && test -s conftest.$ac_objext; then
19208 ac_cv_prog_cxx_g=yes
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19225 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19226 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19227 if test "$ac_test_CXXFLAGS" = set; then
19228 CXXFLAGS=$ac_save_CXXFLAGS
19229 elif test $ac_cv_prog_cxx_g = yes; then
19230 if test "$GXX" = yes; then
19236 if test "$GXX" = yes; then
19243 ac_cpp='$CPP $CPPFLAGS'
19244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19252 ac_cpp='$CXXCPP $CPPFLAGS'
19253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19257 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19258 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19259 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19260 echo $ECHO_N "(cached) $ECHO_C" >&6
19262 cat >conftest.$ac_ext <<_ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19273 #ifndef __INTEL_COMPILER
19281 rm -f conftest.$ac_objext
19282 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19290 grep -v '^ *+' conftest.er1
>conftest.err
19292 cat conftest.err
>&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); } && {
19295 test -z "$ac_cxx_werror_flag" ||
19296 test ! -s conftest.err
19297 } && test -s conftest.
$ac_objext; then
19298 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.
$ac_ext >&5
19303 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19311 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19312 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19313 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19319 ac_cpp
='$CPP $CPPFLAGS'
19320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19327 if test "x$GCXX" != "xyes"; then
19328 if test "xCXX" = "xC"; then
19329 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19330 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19331 if test "${bakefile_cv_c_exto+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 cat >conftest.
$ac_ext <<_ACEOF
19337 cat confdefs.h
>>conftest.
$ac_ext
19338 cat >>conftest.
$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19349 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19351 (eval $ac_compile) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; then
19355 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19357 conftest.
$ac_ext.o
)
19358 bakefile_cv_c_exto
="-ext o"
19365 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19366 See \`config.log' for more details." >&5
19367 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19368 See \`config.log' for more details." >&2;}
19369 { (exit 1); exit 1; }; }
19373 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19376 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19377 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19378 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19379 if test "c" = "c"; then
19380 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19382 if test "c" = "cxx"; then
19383 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19387 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19388 unset ac_cv_prog_cc_g
19389 ac_test_CFLAGS
=${CFLAGS+set}
19390 ac_save_CFLAGS
=$CFLAGS
19391 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19392 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19393 if test "${ac_cv_prog_cc_g+set}" = set; then
19394 echo $ECHO_N "(cached) $ECHO_C" >&6
19396 ac_save_c_werror_flag
=$ac_c_werror_flag
19397 ac_c_werror_flag
=yes
19400 cat >conftest.
$ac_ext <<_ACEOF
19403 cat confdefs.h
>>conftest.
$ac_ext
19404 cat >>conftest.
$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19415 rm -f conftest.
$ac_objext
19416 if { (ac_try
="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19424 grep -v '^ *+' conftest.er1 >conftest.err
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19432 ac_cv_prog_cc_g=yes
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19438 cat >conftest.$ac_ext <<_ACEOF
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19453 rm -f conftest.$ac_objext
19454 if { (ac_try="$ac_compile"
19455 case "(($ac_try" in
19456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19457 *) ac_try_echo
=$ac_try;;
19459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19460 (eval "$ac_compile") 2>conftest.er1
19462 grep -v '^ *+' conftest.er1
>conftest.err
19464 cat conftest.err
>&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } && {
19467 test -z "$ac_c_werror_flag" ||
19468 test ! -s conftest.err
19469 } && test -s conftest.
$ac_objext; then
19472 echo "$as_me: failed program was:" >&5
19473 sed 's/^/| /' conftest.
$ac_ext >&5
19475 ac_c_werror_flag
=$ac_save_c_werror_flag
19477 cat >conftest.
$ac_ext <<_ACEOF
19480 cat confdefs.h
>>conftest.
$ac_ext
19481 cat >>conftest.
$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19492 rm -f conftest.
$ac_objext
19493 if { (ac_try
="$ac_compile"
19494 case "(($ac_try" in
19495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19496 *) ac_try_echo=$ac_try;;
19498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19499 (eval "$ac_compile") 2>conftest.er1
19501 grep -v '^ *+' conftest.er1 >conftest.err
19503 cat conftest.err >&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } && {
19506 test -z "$ac_c_werror_flag" ||
19507 test ! -s conftest.err
19508 } && test -s conftest.$ac_objext; then
19509 ac_cv_prog_cc_g=yes
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 ac_c_werror_flag=$ac_save_c_werror_flag
19526 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19527 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19528 if test "$ac_test_CFLAGS" = set; then
19529 CFLAGS=$ac_save_CFLAGS
19530 elif test $ac_cv_prog_cc_g = yes; then
19531 if test "$GCC" = yes; then
19537 if test "$GCC" = yes; then
19551 ac_cpp='$CXXCPP $CPPFLAGS'
19552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19556 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19557 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19558 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 cat >conftest.$ac_ext <<_ACEOF
19564 cat confdefs.h >>conftest.$ac_ext
19565 cat >>conftest.$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19584 *) ac_try_echo
=$ac_try;;
19586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19587 (eval "$ac_compile") 2>conftest.er1
19589 grep -v '^ *+' conftest.er1
>conftest.err
19591 cat conftest.err
>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } && {
19594 test -z "$ac_cxx_werror_flag" ||
19595 test ! -s conftest.err
19596 } && test -s conftest.
$ac_objext; then
19597 bakefile_cv_cxx_compiler___xlC__
=yes
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.
$ac_ext >&5
19602 bakefile_cv_cxx_compiler___xlC__
=no
19606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19610 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19611 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19612 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19618 ac_cpp
='$CPP $CPPFLAGS'
19619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19631 ac_cpp
='$CXXCPP $CPPFLAGS'
19632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19636 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19637 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19638 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19641 cat >conftest.
$ac_ext <<_ACEOF
19644 cat confdefs.h
>>conftest.
$ac_ext
19645 cat >>conftest.
$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19660 rm -f conftest.
$ac_objext
19661 if { (ac_try
="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19664 *) ac_try_echo=$ac_try;;
19666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19669 grep -v '^ *+' conftest.er1 >conftest.err
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_cxx_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.$ac_objext; then
19677 bakefile_cv_cxx_compiler___MWERKS__=yes
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19682 bakefile_cv_cxx_compiler___MWERKS__=no
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19690 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19691 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19692 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19698 ac_cpp='$CPP $CPPFLAGS'
19699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19708 ac_cpp='$CXXCPP $CPPFLAGS'
19709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19713 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19714 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19715 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 cat >conftest.$ac_ext <<_ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19737 rm -f conftest.$ac_objext
19738 if { (ac_try="$ac_compile"
19739 case "(($ac_try" in
19740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19741 *) ac_try_echo
=$ac_try;;
19743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744 (eval "$ac_compile") 2>conftest.er1
19746 grep -v '^ *+' conftest.er1
>conftest.err
19748 cat conftest.err
>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } && {
19751 test -z "$ac_cxx_werror_flag" ||
19752 test ! -s conftest.err
19753 } && test -s conftest.
$ac_objext; then
19754 bakefile_cv_cxx_compiler___xlC__
=yes
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.
$ac_ext >&5
19759 bakefile_cv_cxx_compiler___xlC__
=no
19763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19767 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19768 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19769 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19775 ac_cpp
='$CPP $CPPFLAGS'
19776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19788 ac_cpp
='$CXXCPP $CPPFLAGS'
19789 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19790 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19791 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19793 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19794 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19795 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 cat >conftest.
$ac_ext <<_ACEOF
19801 cat confdefs.h
>>conftest.
$ac_ext
19802 cat >>conftest.
$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19809 #ifndef _SGI_COMPILER_VERSION
19817 rm -f conftest.
$ac_objext
19818 if { (ac_try
="$ac_compile"
19819 case "(($ac_try" in
19820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19821 *) ac_try_echo=$ac_try;;
19823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19824 (eval "$ac_compile") 2>conftest.er1
19826 grep -v '^ *+' conftest.er1 >conftest.err
19828 cat conftest.err >&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } && {
19831 test -z "$ac_cxx_werror_flag" ||
19832 test ! -s conftest.err
19833 } && test -s conftest.$ac_objext; then
19834 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.$ac_ext >&5
19839 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19847 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19848 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19849 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19855 ac_cpp='$CPP $CPPFLAGS'
19856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19868 ac_cpp='$CXXCPP $CPPFLAGS'
19869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19873 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19874 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19875 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19876 echo $ECHO_N "(cached) $ECHO_C" >&6
19878 cat >conftest.$ac_ext <<_ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19889 #ifndef __SUNPRO_CC
19897 rm -f conftest.$ac_objext
19898 if { (ac_try="$ac_compile"
19899 case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19901 *) ac_try_echo
=$ac_try;;
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_compile") 2>conftest.er1
19906 grep -v '^ *+' conftest.er1
>conftest.err
19908 cat conftest.err
>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } && {
19911 test -z "$ac_cxx_werror_flag" ||
19912 test ! -s conftest.err
19913 } && test -s conftest.
$ac_objext; then
19914 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.
$ac_ext >&5
19919 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19927 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19928 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19929 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19935 ac_cpp
='$CPP $CPPFLAGS'
19936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19948 ac_cpp
='$CXXCPP $CPPFLAGS'
19949 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19950 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19951 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19953 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19954 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19955 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 cat >conftest.
$ac_ext <<_ACEOF
19961 cat confdefs.h
>>conftest.
$ac_ext
19962 cat >>conftest.
$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19977 rm -f conftest.
$ac_objext
19978 if { (ac_try
="$ac_compile"
19979 case "(($ac_try" in
19980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19984 (eval "$ac_compile") 2>conftest.er1
19986 grep -v '^ *+' conftest.er1 >conftest.err
19988 cat conftest.err >&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); } && {
19991 test -z "$ac_cxx_werror_flag" ||
19992 test ! -s conftest.err
19993 } && test -s conftest.$ac_objext; then
19994 bakefile_cv_cxx_compiler___HP_aCC=yes
19996 echo "$as_me: failed program was:" >&5
19997 sed 's/^/| /' conftest.$ac_ext >&5
19999 bakefile_cv_cxx_compiler___HP_aCC=no
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20007 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20008 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20009 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20015 ac_cpp='$CPP $CPPFLAGS'
20016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20028 ac_cpp='$CXXCPP $CPPFLAGS'
20029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20033 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20034 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20035 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 cat >conftest.$ac_ext <<_ACEOF
20041 cat confdefs.h >>conftest.$ac_ext
20042 cat >>conftest.$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20057 rm -f conftest.$ac_objext
20058 if { (ac_try="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20061 *) ac_try_echo
=$ac_try;;
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20066 grep -v '^ *+' conftest.er1
>conftest.err
20068 cat conftest.err
>&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_cxx_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.
$ac_objext; then
20074 bakefile_cv_cxx_compiler___DECCXX
=yes
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.
$ac_ext >&5
20079 bakefile_cv_cxx_compiler___DECCXX
=no
20083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20087 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20088 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20089 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20095 ac_cpp
='$CPP $CPPFLAGS'
20096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20108 ac_cpp
='$CXXCPP $CPPFLAGS'
20109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20113 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20114 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20115 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20116 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 cat >conftest.
$ac_ext <<_ACEOF
20121 cat confdefs.h
>>conftest.
$ac_ext
20122 cat >>conftest.
$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20129 #ifndef __SUNPRO_CC
20137 rm -f conftest.
$ac_objext
20138 if { (ac_try
="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20146 grep -v '^ *+' conftest.er1 >conftest.err
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } && {
20151 test -z "$ac_cxx_werror_flag" ||
20152 test ! -s conftest.err
20153 } && test -s conftest.$ac_objext; then
20154 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20159 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20167 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20168 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20169 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20175 ac_cpp='$CPP $CPPFLAGS'
20176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20188 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20189 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20190 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20191 { (exit 1); exit 1; }; }
20194 if test "x$SUNCXX" != xyes; then
20195 if test -n "$ac_tool_prefix"; then
20196 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20197 set dummy ${ac_tool_prefix}ar; ac_word=$2
20198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20200 if test "${ac_cv_prog_AR+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20203 if test -n "$AR"; then
20204 ac_cv_prog_AR="$AR" # Let the user override the test.
20206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20207 for as_dir in $PATH
20210 test -z "$as_dir" && as_dir=.
20211 for ac_exec_ext in '' $ac_executable_extensions; do
20212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20213 ac_cv_prog_AR="${ac_tool_prefix}ar"
20214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20224 if test -n "$AR"; then
20225 { echo "$as_me:$LINENO: result: $AR" >&5
20226 echo "${ECHO_T}$AR" >&6; }
20228 { echo "$as_me:$LINENO: result: no" >&5
20229 echo "${ECHO_T}no" >&6; }
20234 if test -z "$ac_cv_prog_AR"; then
20236 # Extract the first word of "ar", so it can be a program name with args.
20237 set dummy ar; ac_word=$2
20238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20240 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20243 if test -n "$ac_ct_AR"; then
20244 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20247 for as_dir in $PATH
20250 test -z "$as_dir" && as_dir=.
20251 for ac_exec_ext in '' $ac_executable_extensions; do
20252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20253 ac_cv_prog_ac_ct_AR="ar"
20254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20263 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20264 if test -n "$ac_ct_AR"; then
20265 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20266 echo "${ECHO_T}$ac_ct_AR" >&6; }
20268 { echo "$as_me:$LINENO: result: no" >&5
20269 echo "${ECHO_T}no" >&6; }
20272 if test "x$ac_ct_AR" = x; then
20275 case $cross_compiling:$ac_tool_warned in
20277 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20278 whose name does not start with the host triplet. If you think this
20279 configuration is useful to you, please write to autoconf@gnu.org." >&5
20280 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20281 whose name does not start with the host triplet. If you think this
20282 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20283 ac_tool_warned=yes ;;
20288 AR="$ac_cv_prog_AR"
20291 if test "x$AR" = "x" ; then
20292 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20293 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20294 { (exit 1); exit 1; }; }
20298 retest_macosx_linking=no
20300 #if test "$wxUSE_MAC" = 1; then
20301 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20302 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20303 # Implicitly turn on the new --with-macosx-sdk using the default
20304 # SDK which provides the behavior this option has always had.
20305 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20306 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20307 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20308 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20309 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20310 wxUSE_MACOSX_SDK=yes
20313 # Complain to user if he specified an argument to --enable-universal_binary
20314 # and also 1) specified --with-macosx-sdk using the default (yes) or
20315 # 2) specified --with-macosx-sdk using a path or 3) specified
20316 # --without-macosx-sdk (no).
20317 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20318 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20319 See \`config.log
' for more details." >&5
20320 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20321 See \`config.log' for more details.
" >&2;}
20322 { (exit 1); exit 1; }; }
20324 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20325 # special-case the empty string because the below test simply
20326 # converts "no
" to the empty string anyway.
20327 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20328 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20329 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20332 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20333 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20334 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20335 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20336 retest_macosx_linking=yes
20338 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20339 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20344 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20346 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20347 # TODO: Search for most recent SDK and use it.
20348 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20352 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20353 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20354 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20355 if ! test -d "$wxUSE_MACOSX_SDK"; then
20356 { { echo "$as_me:$LINENO: error
: not found
20357 See \
`config.log' for more details." >&5
20358 echo "$as_me: error: not found
20359 See \`config.log
' for more details." >&2;}
20360 { (exit 1); exit 1; }; }
20362 { echo "$as_me:$LINENO: result: exists" >&5
20363 echo "${ECHO_T}exists" >&6; }
20365 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20366 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20367 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20368 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20369 retest_macosx_linking=yes
20372 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20373 wxUSE_MACOSX_VERSION_MIN=
20374 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20375 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20376 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20377 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20379 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^
*"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\
{0,1\
} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\
{0,1\
}MACOSX_DEPLOYMENT_TARGET
"\{0,1\} *= *"\
{0,1\
}\
([^
"]*\)"\
{0,1\
} *; *$
/\
1/'`
20381 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20382 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20383 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20384 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20386 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20387 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20388 wxUSE_MACOSX_VERSION_MIN=
20391 wxUSE_MACOSX_VERSION_MIN=
20395 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20396 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20397 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20398 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20399 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20400 retest_macosx_linking=yes
20403 if test "x$retest_macosx_linking" = "xyes"; then
20405 ac_cpp='$CPP $CPPFLAGS'
20406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20407 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20410 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20411 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20412 cat >conftest.$ac_ext <<_ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20427 rm -f conftest.$ac_objext conftest$ac_exeext
20428 if { (ac_try="$ac_link"
20429 case "(($ac_try" in
20430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20431 *) ac_try_echo=$ac_try;;
20433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20434 (eval "$ac_link") 2>conftest.er1
20436 grep -v '^
*+' conftest.er1 >conftest.err
20438 cat conftest.err >&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } && {
20441 test -z "$ac_c_werror_flag" ||
20442 test ! -s conftest.err
20443 } && test -s conftest$ac_exeext &&
20444 $as_test_x conftest$ac_exeext; then
20445 { echo "$as_me:$LINENO: result: yes" >&5
20446 echo "${ECHO_T}yes" >&6; }
20448 echo "$as_me: failed program was:" >&5
20449 sed 's
/^
/| /' conftest.$ac_ext >&5
20451 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20452 See \`config.log' for more details.
" >&5
20453 echo "$as_me: error
: no. Try a different SDK
20454 See \
`config.log' for more details." >&2;}
20455 { (exit 1); exit 1; }; }; exit 1
20458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20459 conftest$ac_exeext conftest.$ac_ext
20461 ac_cpp='$CPP $CPPFLAGS'
20462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20468 ac_cpp='$CXXCPP $CPPFLAGS'
20469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20473 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20474 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20475 cat >conftest.$ac_ext <<_ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20490 rm -f conftest.$ac_objext conftest$ac_exeext
20491 if { (ac_try="$ac_link"
20492 case "(($ac_try" in
20493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20494 *) ac_try_echo
=$ac_try;;
20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20497 (eval "$ac_link") 2>conftest.er1
20499 grep -v '^ *+' conftest.er1
>conftest.err
20501 cat conftest.err
>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } && {
20504 test -z "$ac_cxx_werror_flag" ||
20505 test ! -s conftest.err
20506 } && test -s conftest
$ac_exeext &&
20507 $as_test_x conftest
$ac_exeext; then
20508 { echo "$as_me:$LINENO: result: yes" >&5
20509 echo "${ECHO_T}yes" >&6; }
20511 echo "$as_me: failed program was:" >&5
20512 sed 's/^/| /' conftest.
$ac_ext >&5
20514 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20515 See \`config.log' for more details." >&5
20516 echo "$as_me: error: no. Try a different SDK
20517 See \`config.log' for more details." >&2;}
20518 { (exit 1); exit 1; }; }; exit 1
20521 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20522 conftest
$ac_exeext conftest.
$ac_ext
20524 ac_cpp
='$CPP $CPPFLAGS'
20525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20535 INSTALL_PROGRAM
="cp -fp"
20536 INSTALL_DATA
="cp -fp"
20543 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20544 CXXFLAGS
="-qunique $CXXFLAGS"
20548 powerpc
-*-darwin* )
20549 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20550 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20551 cat >conftest.
$ac_ext <<_ACEOF
20554 cat confdefs.h
>>conftest.
$ac_ext
20555 cat >>conftest.
$ac_ext <<_ACEOF
20556 /* end confdefs.h. */
20561 #ifndef __POWERPC__
20562 choke me for lack of PowerPC
20569 rm -f conftest.
$ac_objext
20570 if { (ac_try
="$ac_compile"
20571 case "(($ac_try" in
20572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20573 *) ac_try_echo=$ac_try;;
20575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20576 (eval "$ac_compile") 2>conftest.er1
20578 grep -v '^ *+' conftest.er1 >conftest.err
20580 cat conftest.err >&5
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); } && {
20583 test -z "$ac_c_werror_flag" ||
20584 test ! -s conftest.err
20585 } && test -s conftest.$ac_objext; then
20586 { echo "$as_me:$LINENO: result: yes" >&5
20587 echo "${ECHO_T}yes" >&6; }
20589 echo "$as_me: failed program was:" >&5
20590 sed 's/^/| /' conftest.$ac_ext >&5
20592 { echo "$as_me:$LINENO: result: no" >&5
20593 echo "${ECHO_T}no" >&6; }
20594 cat >>confdefs.h <<\_ACEOF
20595 #define __POWERPC__ 1
20601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20607 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20608 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20609 cat >conftest.$ac_ext <<_ACEOF
20612 cat confdefs.h >>conftest.$ac_ext
20613 cat >>conftest.$ac_ext <<_ACEOF
20614 /* end confdefs.h. */
20615 #include <CoreFoundation/CFBase.h>
20625 rm -f conftest.$ac_objext
20626 if { (ac_try="$ac_compile"
20627 case "(($ac_try" in
20628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20629 *) ac_try_echo
=$ac_try;;
20631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20632 (eval "$ac_compile") 2>conftest.er1
20634 grep -v '^ *+' conftest.er1
>conftest.err
20636 cat conftest.err
>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } && {
20639 test -z "$ac_c_werror_flag" ||
20640 test ! -s conftest.err
20641 } && test -s conftest.
$ac_objext; then
20642 { echo "$as_me:$LINENO: result: yes" >&5
20643 echo "${ECHO_T}yes" >&6; }
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.
$ac_ext >&5
20648 { echo "$as_me:$LINENO: result: no" >&5
20649 echo "${ECHO_T}no" >&6; }
20650 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20651 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20652 cat >conftest.
$ac_ext <<_ACEOF
20655 cat confdefs.h
>>conftest.
$ac_ext
20656 cat >>conftest.
$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658 #define __CF_USE_FRAMEWORK_INCLUDES__
20659 #include <CoreFoundation/CFBase.h>
20669 rm -f conftest.
$ac_objext
20670 if { (ac_try
="$ac_compile"
20671 case "(($ac_try" in
20672 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20673 *) ac_try_echo=$ac_try;;
20675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20676 (eval "$ac_compile") 2>conftest.er1
20678 grep -v '^ *+' conftest.er1 >conftest.err
20680 cat conftest.err >&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } && {
20683 test -z "$ac_c_werror_flag" ||
20684 test ! -s conftest.err
20685 } && test -s conftest.$ac_objext; then
20686 { echo "$as_me:$LINENO: result: yes" >&5
20687 echo "${ECHO_T}yes" >&6; }
20688 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20690 echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.$ac_ext >&5
20693 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20694 See \`config.log
' for more details." >&5
20695 echo "$as_me: error: no. CoreFoundation not available.
20696 See \`config.log' for more details.
" >&2;}
20697 { (exit 1); exit 1; }; }
20701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20711 doesnt_want_win32=0
20714 if test "$wxUSE_MSW" = 1 ; then
20717 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
20718 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
20719 if test "${wx_cv_nocygwin+set}" = set; then
20720 echo $ECHO_N "(cached
) $ECHO_C" >&6
20723 cat >conftest.$ac_ext <<_ACEOF
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20742 rm -f conftest.$ac_objext
20743 if { (ac_try="$ac_compile"
20744 case "(($ac_try" in
20745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_compile") 2>conftest.er1
20751 grep -v '^ *+' conftest.er1 >conftest.err
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20755 (exit $ac_status); } && {
20756 test -z "$ac_c_werror_flag" ||
20757 test ! -s conftest.err
20758 } && test -s conftest.$ac_objext; then
20761 echo "$as_me: failed program was
:" >&5
20762 sed 's/^/| /' conftest.$ac_ext >&5
20768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20772 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
20773 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20775 if test "$wx_cv_nocygwin" = "yes"; then
20778 doesnt_want_win32=1
20781 if test "$wants_win32" = 1 ; then
20782 BAKEFILE_FORCE_PLATFORM=win32
20790 if test "$wxUSE_WINE" = "yes"; then
20792 LDFLAGS_GUI="-mwindows"
20795 if test "$wants_win32" = 1 ; then
20798 cat >>confdefs.h <<\_ACEOF
20799 #define __WIN32__ 1
20802 cat >>confdefs.h <<\_ACEOF
20803 #define __WIN95__ 1
20806 cat >>confdefs.h <<\_ACEOF
20807 #define __WINDOWS__ 1
20810 cat >>confdefs.h <<\_ACEOF
20811 #define __GNUWIN32__ 1
20814 cat >>confdefs.h <<\_ACEOF
20819 if test "$doesnt_want_win32" = 1 ; then
20824 if test "$USE_UNIX" = 1 ; then
20826 cat >>confdefs.h <<\_ACEOF
20833 *-pc-os2_emx | *-pc-os2-emx )
20834 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20835 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
20836 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
20837 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20838 echo $ECHO_N "(cached
) $ECHO_C" >&6
20840 ac_check_lib_save_LIBS=$LIBS
20841 LIBS="-lcExt $LIBS"
20842 cat >conftest.$ac_ext <<_ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20849 /* Override any GCC internal prototype to avoid an error.
20850 Use char because int might match the return type of a GCC
20851 builtin and then its argument prototype would still apply. */
20864 rm -f conftest.$ac_objext conftest$ac_exeext
20865 if { (ac_try="$ac_link"
20866 case "(($ac_try" in
20867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20868 *) ac_try_echo=$ac_try;;
20870 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20871 (eval "$ac_link") 2>conftest.er1
20873 grep -v '^ *+' conftest.er1 >conftest.err
20875 cat conftest.err >&5
20876 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20877 (exit $ac_status); } && {
20878 test -z "$ac_c_werror_flag" ||
20879 test ! -s conftest.err
20880 } && test -s conftest$ac_exeext &&
20881 $as_test_x conftest$ac_exeext; then
20882 ac_cv_lib_cExt_drand48=yes
20884 echo "$as_me: failed program was
:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20887 ac_cv_lib_cExt_drand48=no
20890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20891 conftest$ac_exeext conftest.$ac_ext
20892 LIBS=$ac_check_lib_save_LIBS
20894 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
20895 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20896 if test $ac_cv_lib_cExt_drand48 = yes; then
20897 LIBS="$LIBS -lcExt"
20901 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
20903 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
20904 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
20905 if test "${wx_cv_gccversion+set}" = set; then
20906 echo $ECHO_N "(cached
) $ECHO_C" >&6
20909 if test "$cross_compiling" = yes; then
20910 wx_cv_gccversion="EMX2
"
20913 cat >conftest.$ac_ext <<_ACEOF
20916 cat confdefs.h >>conftest.$ac_ext
20917 cat >>conftest.$ac_ext <<_ACEOF
20918 /* end confdefs.h. */
20924 FILE *f=fopen("conftestval
", "w
");
20929 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20931 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20941 rm -f conftest$ac_exeext
20942 if { (ac_try="$ac_link"
20943 case "(($ac_try" in
20944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20945 *) ac_try_echo=$ac_try;;
20947 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20948 (eval "$ac_link") 2>&5
20950 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20951 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20952 { (case "(($ac_try" in
20953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20954 *) ac_try_echo=$ac_try;;
20956 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20957 (eval "$ac_try") 2>&5
20959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20960 (exit $ac_status); }; }; then
20961 wx_cv_gccversion=`cat conftestval`
20963 echo "$as_me: program exited with status
$ac_status" >&5
20964 echo "$as_me: failed program was
:" >&5
20965 sed 's/^/| /' conftest.$ac_ext >&5
20967 ( exit $ac_status )
20968 wx_cv_gccversion="EMX2
"
20970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20976 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
20977 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20978 if test "$wx_cv_gccversion" = "EMX2
"; then
20979 LIBS="$LIBS -lstdcpp"
20980 LDFLAGS="$LDFLAGS -Zsysv-signals"
20982 if test "$wx_cv_gccversion" = "EMX3
"; then
20983 LIBS="$LIBS -lstdcxx -lgcc"
20984 LDFLAGS="$LDFLAGS -Zsysv-signals"
20986 LIBS="$LIBS -lstdc++"
20989 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
20990 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
20991 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
20998 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
20999 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
21000 if test "${ac_cv_string_strcasecmp+set}" = set; then
21001 echo $ECHO_N "(cached
) $ECHO_C" >&6
21004 cat >conftest.$ac_ext <<_ACEOF
21007 cat confdefs.h >>conftest.$ac_ext
21008 cat >>conftest.$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21011 #include <string.h>
21017 strcasecmp("foo
", "bar
");
21023 rm -f conftest.$ac_objext conftest$ac_exeext
21024 if { (ac_try="$ac_link"
21025 case "(($ac_try" in
21026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21027 *) ac_try_echo=$ac_try;;
21029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_link") 2>conftest.er1
21032 grep -v '^ *+' conftest.er1 >conftest.err
21034 cat conftest.err >&5
21035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21036 (exit $ac_status); } && {
21037 test -z "$ac_c_werror_flag" ||
21038 test ! -s conftest.err
21039 } && test -s conftest$ac_exeext &&
21040 $as_test_x conftest$ac_exeext; then
21041 ac_cv_string_strcasecmp=yes
21043 echo "$as_me: failed program was
:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21046 ac_cv_string_strcasecmp=no
21050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21051 conftest$ac_exeext conftest.$ac_ext
21054 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21055 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21057 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21058 cat >>confdefs.h <<\_ACEOF
21059 #define HAVE_STRCASECMP_IN_STRING_H 1
21063 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21064 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21065 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21066 echo $ECHO_N "(cached
) $ECHO_C" >&6
21069 cat >conftest.$ac_ext <<_ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21076 #include <strings.h>
21082 strcasecmp("foo
", "bar
");
21088 rm -f conftest.$ac_objext conftest$ac_exeext
21089 if { (ac_try="$ac_link"
21090 case "(($ac_try" in
21091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092 *) ac_try_echo=$ac_try;;
21094 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21095 (eval "$ac_link") 2>conftest.er1
21097 grep -v '^ *+' conftest.er1 >conftest.err
21099 cat conftest.err >&5
21100 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21101 (exit $ac_status); } && {
21102 test -z "$ac_c_werror_flag" ||
21103 test ! -s conftest.err
21104 } && test -s conftest$ac_exeext &&
21105 $as_test_x conftest$ac_exeext; then
21106 ac_cv_strings_strcasecmp=yes
21108 echo "$as_me: failed program was
:" >&5
21109 sed 's/^/| /' conftest.$ac_ext >&5
21111 ac_cv_strings_strcasecmp=no
21115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21116 conftest$ac_exeext conftest.$ac_ext
21119 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21120 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21122 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21123 cat >>confdefs.h <<\_ACEOF
21124 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21128 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21129 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21130 { (exit 1); exit 1; }; }
21138 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21139 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21140 if test "${ac_cv_header_stdc+set}" = set; then
21141 echo $ECHO_N "(cached
) $ECHO_C" >&6
21143 cat >conftest.$ac_ext <<_ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 #include <stdlib.h>
21150 #include <stdarg.h>
21151 #include <string.h>
21162 rm -f conftest.$ac_objext
21163 if { (ac_try="$ac_compile"
21164 case "(($ac_try" in
21165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21166 *) ac_try_echo=$ac_try;;
21168 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21169 (eval "$ac_compile") 2>conftest.er1
21171 grep -v '^ *+' conftest.er1 >conftest.err
21173 cat conftest.err >&5
21174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21175 (exit $ac_status); } && {
21176 test -z "$ac_c_werror_flag" ||
21177 test ! -s conftest.err
21178 } && test -s conftest.$ac_objext; then
21179 ac_cv_header_stdc=yes
21181 echo "$as_me: failed program was
:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21184 ac_cv_header_stdc=no
21187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21189 if test $ac_cv_header_stdc = yes; then
21190 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21191 cat >conftest.$ac_ext <<_ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 #include <string.h>
21200 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21201 $EGREP "memchr
" >/dev/null 2>&1; then
21204 ac_cv_header_stdc=no
21210 if test $ac_cv_header_stdc = yes; then
21211 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21212 cat >conftest.$ac_ext <<_ACEOF
21215 cat confdefs.h >>conftest.$ac_ext
21216 cat >>conftest.$ac_ext <<_ACEOF
21217 /* end confdefs.h. */
21218 #include <stdlib.h>
21221 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21222 $EGREP "free
" >/dev/null 2>&1; then
21225 ac_cv_header_stdc=no
21231 if test $ac_cv_header_stdc = yes; then
21232 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21233 if test "$cross_compiling" = yes; then
21236 cat >conftest.$ac_ext <<_ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21243 #include <stdlib.h>
21244 #if ((' ' & 0x0FF) == 0x020)
21245 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21246 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21248 # define ISLOWER(c) \
21249 (('a' <= (c) && (c) <= 'i') \
21250 || ('j' <= (c) && (c) <= 'r') \
21251 || ('s' <= (c) && (c) <= 'z'))
21252 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21255 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21260 for (i = 0; i < 256; i++)
21261 if (XOR (islower (i), ISLOWER (i))
21262 || toupper (i) != TOUPPER (i))
21267 rm -f conftest$ac_exeext
21268 if { (ac_try="$ac_link"
21269 case "(($ac_try" in
21270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21271 *) ac_try_echo=$ac_try;;
21273 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21274 (eval "$ac_link") 2>&5
21276 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21278 { (case "(($ac_try" in
21279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280 *) ac_try_echo=$ac_try;;
21282 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21283 (eval "$ac_try") 2>&5
21285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21286 (exit $ac_status); }; }; then
21289 echo "$as_me: program exited with status
$ac_status" >&5
21290 echo "$as_me: failed program was
:" >&5
21291 sed 's/^/| /' conftest.$ac_ext >&5
21293 ( exit $ac_status )
21294 ac_cv_header_stdc=no
21296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21302 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21303 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21304 if test $ac_cv_header_stdc = yes; then
21306 cat >>confdefs.h <<\_ACEOF
21307 #define STDC_HEADERS 1
21312 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21322 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21323 inttypes.h stdint.h unistd.h
21325 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21326 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21327 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21328 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21329 echo $ECHO_N "(cached
) $ECHO_C" >&6
21331 cat >conftest.$ac_ext <<_ACEOF
21334 cat confdefs.h >>conftest.$ac_ext
21335 cat >>conftest.$ac_ext <<_ACEOF
21336 /* end confdefs.h. */
21337 $ac_includes_default
21339 #include <$ac_header>
21341 rm -f conftest.$ac_objext
21342 if { (ac_try="$ac_compile"
21343 case "(($ac_try" in
21344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21345 *) ac_try_echo=$ac_try;;
21347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21348 (eval "$ac_compile") 2>conftest.er1
21350 grep -v '^ *+' conftest.er1 >conftest.err
21352 cat conftest.err >&5
21353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21354 (exit $ac_status); } && {
21355 test -z "$ac_c_werror_flag" ||
21356 test ! -s conftest.err
21357 } && test -s conftest.$ac_objext; then
21358 eval "$as_ac_Header=yes"
21360 echo "$as_me: failed program was
:" >&5
21361 sed 's/^/| /' conftest.$ac_ext >&5
21363 eval "$as_ac_Header=no
"
21366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21368 ac_res=`eval echo '${'$as_ac_Header'}'`
21369 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21370 echo "${ECHO_T}$ac_res" >&6; }
21371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21372 cat >>confdefs.h <<_ACEOF
21373 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21387 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21389 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21390 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21391 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21392 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21393 echo $ECHO_N "(cached
) $ECHO_C" >&6
21395 cat >conftest.$ac_ext <<_ACEOF
21398 cat confdefs.h >>conftest.$ac_ext
21399 cat >>conftest.$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21401 $ac_includes_default
21403 #include <$ac_header>
21405 rm -f conftest.$ac_objext
21406 if { (ac_try="$ac_compile"
21407 case "(($ac_try" in
21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21411 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_compile") 2>conftest.er1
21414 grep -v '^ *+' conftest.er1 >conftest.err
21416 cat conftest.err >&5
21417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21418 (exit $ac_status); } && {
21419 test -z "$ac_c_werror_flag" ||
21420 test ! -s conftest.err
21421 } && test -s conftest.$ac_objext; then
21422 eval "$as_ac_Header=yes"
21424 echo "$as_me: failed program was
:" >&5
21425 sed 's/^/| /' conftest.$ac_ext >&5
21427 eval "$as_ac_Header=no
"
21430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21432 ac_res=`eval echo '${'$as_ac_Header'}'`
21433 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21434 echo "${ECHO_T}$ac_res" >&6; }
21435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21436 cat >>confdefs.h <<_ACEOF
21437 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21445 if test "$ac_cv_header_wchar_h" != "yes"; then
21447 for ac_header in wcstr.h
21449 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21450 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21451 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21452 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21453 echo $ECHO_N "(cached
) $ECHO_C" >&6
21455 cat >conftest.$ac_ext <<_ACEOF
21458 cat confdefs.h >>conftest.$ac_ext
21459 cat >>conftest.$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21461 $ac_includes_default
21463 #include <$ac_header>
21465 rm -f conftest.$ac_objext
21466 if { (ac_try="$ac_compile"
21467 case "(($ac_try" in
21468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21469 *) ac_try_echo=$ac_try;;
21471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21472 (eval "$ac_compile") 2>conftest.er1
21474 grep -v '^ *+' conftest.er1 >conftest.err
21476 cat conftest.err >&5
21477 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21478 (exit $ac_status); } && {
21479 test -z "$ac_c_werror_flag" ||
21480 test ! -s conftest.err
21481 } && test -s conftest.$ac_objext; then
21482 eval "$as_ac_Header=yes"
21484 echo "$as_me: failed program was
:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21487 eval "$as_ac_Header=no
"
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21492 ac_res=`eval echo '${'$as_ac_Header'}'`
21493 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21494 echo "${ECHO_T}$ac_res" >&6; }
21495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21496 cat >>confdefs.h <<_ACEOF
21497 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21507 *-pc-os2_emx | *-pc-os2-emx )
21508 if test $ac_cv_header_langinfo_h = "yes" \
21509 -a \( "$wx_cv_gccversion" = "EMX2
" \
21510 -o "$wx_cv_gccversion" = "EMX3
" \
21511 -o "$wx_cv_gccversion" = "Innotek5
" \); then
21512 LIBS="$LIBS -lintl"
21517 if test "$USE_UNIX" = 1 ; then
21519 for ac_header in sys/select.h
21521 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21522 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21523 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21524 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21525 echo $ECHO_N "(cached
) $ECHO_C" >&6
21527 cat >conftest.$ac_ext <<_ACEOF
21530 cat confdefs.h >>conftest.$ac_ext
21531 cat >>conftest.$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21533 $ac_includes_default
21535 #include <$ac_header>
21537 rm -f conftest.$ac_objext
21538 if { (ac_try="$ac_compile"
21539 case "(($ac_try" in
21540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21541 *) ac_try_echo=$ac_try;;
21543 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21544 (eval "$ac_compile") 2>conftest.er1
21546 grep -v '^ *+' conftest.er1 >conftest.err
21548 cat conftest.err >&5
21549 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21550 (exit $ac_status); } && {
21551 test -z "$ac_c_werror_flag" ||
21552 test ! -s conftest.err
21553 } && test -s conftest.$ac_objext; then
21554 eval "$as_ac_Header=yes"
21556 echo "$as_me: failed program was
:" >&5
21557 sed 's/^/| /' conftest.$ac_ext >&5
21559 eval "$as_ac_Header=no
"
21562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21564 ac_res=`eval echo '${'$as_ac_Header'}'`
21565 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21566 echo "${ECHO_T}$ac_res" >&6; }
21567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21568 cat >>confdefs.h <<_ACEOF
21569 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21579 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
21580 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
21581 if test "${ac_cv_c_const+set}" = set; then
21582 echo $ECHO_N "(cached
) $ECHO_C" >&6
21584 cat >conftest.$ac_ext <<_ACEOF
21587 cat confdefs.h >>conftest.$ac_ext
21588 cat >>conftest.$ac_ext <<_ACEOF
21589 /* end confdefs.h. */
21594 /* FIXME: Include the comments suggested by Paul. */
21595 #ifndef __cplusplus
21596 /* Ultrix mips cc rejects this. */
21597 typedef int charset[2];
21599 /* SunOS 4.1.1 cc rejects this. */
21600 char const *const *pcpcc;
21602 /* NEC SVR4.0.2 mips cc rejects this. */
21603 struct point {int x, y;};
21604 static struct point const zero = {0,0};
21605 /* AIX XL C 1.02.0.0 rejects this.
21606 It does not let you subtract one const X* pointer from another in
21607 an arm of an if-expression whose if-part is not a constant
21609 const char *g = "string
";
21610 pcpcc = &g + (g ? g-g : 0);
21611 /* HPUX 7.0 cc rejects these. */
21613 ppc = (char**) pcpcc;
21614 pcpcc = (char const *const *) ppc;
21615 { /* SCO 3.2v4 cc rejects this. */
21617 char const *s = 0 ? (char *) 0 : (char const *) 0;
21622 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21623 int x[] = {25, 17};
21624 const int *foo = &x[0];
21627 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21628 typedef const int *iptr;
21632 { /* AIX XL C 1.02.0.0 rejects this saying
21633 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21634 struct s { int j; const int *ap[3]; };
21635 struct s *b; b->j = 5;
21637 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21638 const int foo = 10;
21639 if (!foo) return 0;
21641 return !cs[0] && !zero.x;
21648 rm -f conftest.$ac_objext
21649 if { (ac_try="$ac_compile"
21650 case "(($ac_try" in
21651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652 *) ac_try_echo=$ac_try;;
21654 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21655 (eval "$ac_compile") 2>conftest.er1
21657 grep -v '^ *+' conftest.er1 >conftest.err
21659 cat conftest.err >&5
21660 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21661 (exit $ac_status); } && {
21662 test -z "$ac_c_werror_flag" ||
21663 test ! -s conftest.err
21664 } && test -s conftest.$ac_objext; then
21667 echo "$as_me: failed program was
:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21675 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21676 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21677 if test $ac_cv_c_const = no; then
21679 cat >>confdefs.h <<\_ACEOF
21685 { echo "$as_me:$LINENO: checking
for inline
" >&5
21686 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
21687 if test "${ac_cv_c_inline+set}" = set; then
21688 echo $ECHO_N "(cached
) $ECHO_C" >&6
21691 for ac_kw in inline __inline__ __inline; do
21692 cat >conftest.$ac_ext <<_ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 #ifndef __cplusplus
21700 static $ac_kw foo_t static_foo () {return 0; }
21701 $ac_kw foo_t foo () {return 0; }
21705 rm -f conftest.$ac_objext
21706 if { (ac_try="$ac_compile"
21707 case "(($ac_try" in
21708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21709 *) ac_try_echo=$ac_try;;
21711 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21712 (eval "$ac_compile") 2>conftest.er1
21714 grep -v '^ *+' conftest.er1 >conftest.err
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21718 (exit $ac_status); } && {
21719 test -z "$ac_c_werror_flag" ||
21720 test ! -s conftest.err
21721 } && test -s conftest.$ac_objext; then
21722 ac_cv_c_inline=$ac_kw
21724 echo "$as_me: failed program was
:" >&5
21725 sed 's/^/| /' conftest.$ac_ext >&5
21730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21731 test "$ac_cv_c_inline" != no && break
21735 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21736 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21739 case $ac_cv_c_inline in
21742 case $ac_cv_c_inline in
21744 *) ac_val=$ac_cv_c_inline;;
21746 cat >>confdefs.h <<_ACEOF
21747 #ifndef __cplusplus
21748 #define inline $ac_val
21755 { echo "$as_me:$LINENO: checking
for short
" >&5
21756 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
21757 if test "${ac_cv_type_short+set}" = set; then
21758 echo $ECHO_N "(cached
) $ECHO_C" >&6
21760 cat >conftest.$ac_ext <<_ACEOF
21763 cat confdefs.h >>conftest.$ac_ext
21764 cat >>conftest.$ac_ext <<_ACEOF
21765 /* end confdefs.h. */
21766 $ac_includes_default
21767 typedef short ac__type_new_;
21771 if ((ac__type_new_ *) 0)
21773 if (sizeof (ac__type_new_))
21779 rm -f conftest.$ac_objext
21780 if { (ac_try="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21788 grep -v '^ *+' conftest.er1 >conftest.err
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21796 ac_cv_type_short=yes
21798 echo "$as_me: failed program was
:" >&5
21799 sed 's/^/| /' conftest.$ac_ext >&5
21801 ac_cv_type_short=no
21804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21806 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
21807 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21809 # The cast to long int works around a bug in the HP C Compiler
21810 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21811 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21812 # This bug is HP SR number 8606223364.
21813 { echo "$as_me:$LINENO: checking size of short
" >&5
21814 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
21815 if test "${ac_cv_sizeof_short+set}" = set; then
21816 echo $ECHO_N "(cached
) $ECHO_C" >&6
21818 if test "$cross_compiling" = yes; then
21819 # Depending upon the size, compute the lo and hi bounds.
21820 cat >conftest.$ac_ext <<_ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 $ac_includes_default
21827 typedef short ac__type_sizeof_;
21831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21838 rm -f conftest.$ac_objext
21839 if { (ac_try="$ac_compile"
21840 case "(($ac_try" in
21841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21842 *) ac_try_echo=$ac_try;;
21844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21845 (eval "$ac_compile") 2>conftest.er1
21847 grep -v '^ *+' conftest.er1 >conftest.err
21849 cat conftest.err >&5
21850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21851 (exit $ac_status); } && {
21852 test -z "$ac_c_werror_flag" ||
21853 test ! -s conftest.err
21854 } && test -s conftest.$ac_objext; then
21857 cat >conftest.$ac_ext <<_ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 typedef short ac__type_sizeof_;
21868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21875 rm -f conftest.$ac_objext
21876 if { (ac_try="$ac_compile"
21877 case "(($ac_try" in
21878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21879 *) ac_try_echo=$ac_try;;
21881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21882 (eval "$ac_compile") 2>conftest.er1
21884 grep -v '^ *+' conftest.er1 >conftest.err
21886 cat conftest.err >&5
21887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21888 (exit $ac_status); } && {
21889 test -z "$ac_c_werror_flag" ||
21890 test ! -s conftest.err
21891 } && test -s conftest.$ac_objext; then
21892 ac_hi=$ac_mid; break
21894 echo "$as_me: failed program was
:" >&5
21895 sed 's/^/| /' conftest.$ac_ext >&5
21897 ac_lo=`expr $ac_mid + 1`
21898 if test $ac_lo -le $ac_mid; then
21902 ac_mid=`expr 2 '*' $ac_mid + 1`
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21908 echo "$as_me: failed program was
:" >&5
21909 sed 's/^/| /' conftest.$ac_ext >&5
21911 cat >conftest.$ac_ext <<_ACEOF
21914 cat confdefs.h >>conftest.$ac_ext
21915 cat >>conftest.$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 $ac_includes_default
21918 typedef short ac__type_sizeof_;
21922 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21929 rm -f conftest.$ac_objext
21930 if { (ac_try="$ac_compile"
21931 case "(($ac_try" in
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21933 *) ac_try_echo=$ac_try;;
21935 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21936 (eval "$ac_compile") 2>conftest.er1
21938 grep -v '^ *+' conftest.er1 >conftest.err
21940 cat conftest.err >&5
21941 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21942 (exit $ac_status); } && {
21943 test -z "$ac_c_werror_flag" ||
21944 test ! -s conftest.err
21945 } && test -s conftest.$ac_objext; then
21948 cat >conftest.$ac_ext <<_ACEOF
21951 cat confdefs.h >>conftest.$ac_ext
21952 cat >>conftest.$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 $ac_includes_default
21955 typedef short ac__type_sizeof_;
21959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21966 rm -f conftest.$ac_objext
21967 if { (ac_try="$ac_compile"
21968 case "(($ac_try" in
21969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21970 *) ac_try_echo=$ac_try;;
21972 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21973 (eval "$ac_compile") 2>conftest.er1
21975 grep -v '^ *+' conftest.er1 >conftest.err
21977 cat conftest.err >&5
21978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21979 (exit $ac_status); } && {
21980 test -z "$ac_c_werror_flag" ||
21981 test ! -s conftest.err
21982 } && test -s conftest.$ac_objext; then
21983 ac_lo=$ac_mid; break
21985 echo "$as_me: failed program was
:" >&5
21986 sed 's/^/| /' conftest.$ac_ext >&5
21988 ac_hi=`expr '(' $ac_mid ')' - 1`
21989 if test $ac_mid -le $ac_hi; then
21993 ac_mid=`expr 2 '*' $ac_mid`
21996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21999 echo "$as_me: failed program was
:" >&5
22000 sed 's/^/| /' conftest.$ac_ext >&5
22005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22009 # Binary search between lo and hi bounds.
22010 while test "x
$ac_lo" != "x
$ac_hi"; do
22011 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22012 cat >conftest.$ac_ext <<_ACEOF
22015 cat confdefs.h >>conftest.$ac_ext
22016 cat >>conftest.$ac_ext <<_ACEOF
22017 /* end confdefs.h. */
22018 $ac_includes_default
22019 typedef short ac__type_sizeof_;
22023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22030 rm -f conftest.$ac_objext
22031 if { (ac_try="$ac_compile"
22032 case "(($ac_try" in
22033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22034 *) ac_try_echo=$ac_try;;
22036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22037 (eval "$ac_compile") 2>conftest.er1
22039 grep -v '^ *+' conftest.er1 >conftest.err
22041 cat conftest.err >&5
22042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22043 (exit $ac_status); } && {
22044 test -z "$ac_c_werror_flag" ||
22045 test ! -s conftest.err
22046 } && test -s conftest.$ac_objext; then
22049 echo "$as_me: failed program was
:" >&5
22050 sed 's/^/| /' conftest.$ac_ext >&5
22052 ac_lo=`expr '(' $ac_mid ')' + 1`
22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22058 ?*) ac_cv_sizeof_short=$ac_lo;;
22059 '') if test "$ac_cv_type_short" = yes; then
22060 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22061 See \
`config.log' for more details." >&5
22062 echo "$as_me: error: cannot compute sizeof (short)
22063 See \`config.log
' for more details." >&2;}
22064 { (exit 77); exit 77; }; }
22066 ac_cv_sizeof_short=0
22070 cat >conftest.$ac_ext <<_ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 $ac_includes_default
22077 typedef short ac__type_sizeof_;
22078 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22079 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22081 #include <stdlib.h>
22086 FILE *f = fopen ("conftest.val", "w");
22089 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22091 long int i = longval ();
22092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22094 fprintf (f, "%ld\n", i);
22098 unsigned long int i = ulongval ();
22099 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22101 fprintf (f, "%lu\n", i);
22103 return ferror (f) || fclose (f) != 0;
22109 rm -f conftest$ac_exeext
22110 if { (ac_try="$ac_link"
22111 case "(($ac_try" in
22112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22113 *) ac_try_echo=$ac_try;;
22115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22116 (eval "$ac_link") 2>&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22120 { (case "(($ac_try" in
22121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22122 *) ac_try_echo=$ac_try;;
22124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22125 (eval "$ac_try") 2>&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; }; then
22129 ac_cv_sizeof_short=`cat conftest.val`
22131 echo "$as_me: program exited with status $ac_status" >&5
22132 echo "$as_me: failed program was:" >&5
22133 sed 's
/^
/| /' conftest.$ac_ext >&5
22135 ( exit $ac_status )
22136 if test "$ac_cv_type_short" = yes; then
22137 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22138 See \`config.log' for more details.
" >&5
22139 echo "$as_me: error
: cannot compute sizeof
(short
)
22140 See \
`config.log' for more details." >&2;}
22141 { (exit 77); exit 77; }; }
22143 ac_cv_sizeof_short=0
22146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22150 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22151 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22155 cat >>confdefs.h <<_ACEOF
22156 #define SIZEOF_SHORT $ac_cv_sizeof_short
22160 { echo "$as_me:$LINENO: checking for void *" >&5
22161 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22162 if test "${ac_cv_type_void_p+set}" = set; then
22163 echo $ECHO_N "(cached) $ECHO_C" >&6
22165 cat >conftest.$ac_ext <<_ACEOF
22168 cat confdefs.h >>conftest.$ac_ext
22169 cat >>conftest.$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22171 $ac_includes_default
22172 typedef void * ac__type_new_;
22176 if ((ac__type_new_ *) 0)
22178 if (sizeof (ac__type_new_))
22184 rm -f conftest.$ac_objext
22185 if { (ac_try="$ac_compile"
22186 case "(($ac_try" in
22187 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22188 *) ac_try_echo
=$ac_try;;
22190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22191 (eval "$ac_compile") 2>conftest.er1
22193 grep -v '^ *+' conftest.er1
>conftest.err
22195 cat conftest.err
>&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } && {
22198 test -z "$ac_c_werror_flag" ||
22199 test ! -s conftest.err
22200 } && test -s conftest.
$ac_objext; then
22201 ac_cv_type_void_p
=yes
22203 echo "$as_me: failed program was:" >&5
22204 sed 's/^/| /' conftest.
$ac_ext >&5
22206 ac_cv_type_void_p
=no
22209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22211 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22212 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22214 # The cast to long int works around a bug in the HP C Compiler
22215 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22216 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22217 # This bug is HP SR number 8606223364.
22218 { echo "$as_me:$LINENO: checking size of void *" >&5
22219 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22220 if test "${ac_cv_sizeof_void_p+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22223 if test "$cross_compiling" = yes; then
22224 # Depending upon the size, compute the lo and hi bounds.
22225 cat >conftest.
$ac_ext <<_ACEOF
22228 cat confdefs.h
>>conftest.
$ac_ext
22229 cat >>conftest.
$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 $ac_includes_default
22232 typedef void * ac__type_sizeof_;
22236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22243 rm -f conftest.
$ac_objext
22244 if { (ac_try
="$ac_compile"
22245 case "(($ac_try" in
22246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22247 *) ac_try_echo=$ac_try;;
22249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22250 (eval "$ac_compile") 2>conftest.er1
22252 grep -v '^ *+' conftest.er1 >conftest.err
22254 cat conftest.err >&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } && {
22257 test -z "$ac_c_werror_flag" ||
22258 test ! -s conftest.err
22259 } && test -s conftest.$ac_objext; then
22262 cat >conftest.$ac_ext <<_ACEOF
22265 cat confdefs.h >>conftest.$ac_ext
22266 cat >>conftest.$ac_ext <<_ACEOF
22267 /* end confdefs.h. */
22268 $ac_includes_default
22269 typedef void * ac__type_sizeof_;
22273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22280 rm -f conftest.$ac_objext
22281 if { (ac_try="$ac_compile"
22282 case "(($ac_try" in
22283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22284 *) ac_try_echo
=$ac_try;;
22286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22287 (eval "$ac_compile") 2>conftest.er1
22289 grep -v '^ *+' conftest.er1
>conftest.err
22291 cat conftest.err
>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } && {
22294 test -z "$ac_c_werror_flag" ||
22295 test ! -s conftest.err
22296 } && test -s conftest.
$ac_objext; then
22297 ac_hi
=$ac_mid; break
22299 echo "$as_me: failed program was:" >&5
22300 sed 's/^/| /' conftest.
$ac_ext >&5
22302 ac_lo
=`expr $ac_mid + 1`
22303 if test $ac_lo -le $ac_mid; then
22307 ac_mid
=`expr 2 '*' $ac_mid + 1`
22310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.
$ac_ext >&5
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 void * ac__type_sizeof_;
22327 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22334 rm -f conftest.
$ac_objext
22335 if { (ac_try
="$ac_compile"
22336 case "(($ac_try" in
22337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22338 *) ac_try_echo=$ac_try;;
22340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22341 (eval "$ac_compile") 2>conftest.er1
22343 grep -v '^ *+' conftest.er1 >conftest.err
22345 cat conftest.err >&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); } && {
22348 test -z "$ac_c_werror_flag" ||
22349 test ! -s conftest.err
22350 } && test -s conftest.$ac_objext; then
22353 cat >conftest.$ac_ext <<_ACEOF
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22359 $ac_includes_default
22360 typedef void * ac__type_sizeof_;
22364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22371 rm -f conftest.$ac_objext
22372 if { (ac_try="$ac_compile"
22373 case "(($ac_try" in
22374 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22375 *) ac_try_echo
=$ac_try;;
22377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22378 (eval "$ac_compile") 2>conftest.er1
22380 grep -v '^ *+' conftest.er1
>conftest.err
22382 cat conftest.err
>&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } && {
22385 test -z "$ac_c_werror_flag" ||
22386 test ! -s conftest.err
22387 } && test -s conftest.
$ac_objext; then
22388 ac_lo
=$ac_mid; break
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.
$ac_ext >&5
22393 ac_hi
=`expr '(' $ac_mid ')' - 1`
22394 if test $ac_mid -le $ac_hi; then
22398 ac_mid
=`expr 2 '*' $ac_mid`
22401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.
$ac_ext >&5
22410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22414 # Binary search between lo and hi bounds.
22415 while test "x$ac_lo" != "x$ac_hi"; do
22416 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22417 cat >conftest.
$ac_ext <<_ACEOF
22420 cat confdefs.h
>>conftest.
$ac_ext
22421 cat >>conftest.
$ac_ext <<_ACEOF
22422 /* end confdefs.h. */
22423 $ac_includes_default
22424 typedef void * ac__type_sizeof_;
22428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22435 rm -f conftest.
$ac_objext
22436 if { (ac_try
="$ac_compile"
22437 case "(($ac_try" in
22438 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22439 *) ac_try_echo=$ac_try;;
22441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442 (eval "$ac_compile") 2>conftest.er1
22444 grep -v '^ *+' conftest.er1 >conftest.err
22446 cat conftest.err >&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); } && {
22449 test -z "$ac_c_werror_flag" ||
22450 test ! -s conftest.err
22451 } && test -s conftest.$ac_objext; then
22454 echo "$as_me: failed program was:" >&5
22455 sed 's/^/| /' conftest.$ac_ext >&5
22457 ac_lo=`expr '(' $ac_mid ')' + 1`
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22463 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22464 '') if test "$ac_cv_type_void_p" = yes; then
22465 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22466 See \`config.log
' for more details." >&5
22467 echo "$as_me: error: cannot compute sizeof (void *)
22468 See \`config.log' for more details.
" >&2;}
22469 { (exit 77); exit 77; }; }
22471 ac_cv_sizeof_void_p=0
22475 cat >conftest.$ac_ext <<_ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h. */
22481 $ac_includes_default
22482 typedef void * ac__type_sizeof_;
22483 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22484 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22486 #include <stdlib.h>
22491 FILE *f = fopen ("conftest.val
", "w
");
22494 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22496 long int i = longval ();
22497 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22499 fprintf (f, "%ld
\n", i);
22503 unsigned long int i = ulongval ();
22504 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22506 fprintf (f, "%lu
\n", i);
22508 return ferror (f) || fclose (f) != 0;
22514 rm -f conftest$ac_exeext
22515 if { (ac_try="$ac_link"
22516 case "(($ac_try" in
22517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22518 *) ac_try_echo=$ac_try;;
22520 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22521 (eval "$ac_link") 2>&5
22523 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22525 { (case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527 *) ac_try_echo=$ac_try;;
22529 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_try") 2>&5
22532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22533 (exit $ac_status); }; }; then
22534 ac_cv_sizeof_void_p=`cat conftest.val`
22536 echo "$as_me: program exited with status
$ac_status" >&5
22537 echo "$as_me: failed program was
:" >&5
22538 sed 's/^/| /' conftest.$ac_ext >&5
22540 ( exit $ac_status )
22541 if test "$ac_cv_type_void_p" = yes; then
22542 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22543 See \
`config.log' for more details." >&5
22544 echo "$as_me: error: cannot compute sizeof (void *)
22545 See \`config.log
' for more details." >&2;}
22546 { (exit 77); exit 77; }; }
22548 ac_cv_sizeof_void_p=0
22551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22555 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22556 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22560 cat >>confdefs.h <<_ACEOF
22561 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22565 { echo "$as_me:$LINENO: checking for int" >&5
22566 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22567 if test "${ac_cv_type_int+set}" = set; then
22568 echo $ECHO_N "(cached) $ECHO_C" >&6
22570 cat >conftest.$ac_ext <<_ACEOF
22573 cat confdefs.h >>conftest.$ac_ext
22574 cat >>conftest.$ac_ext <<_ACEOF
22575 /* end confdefs.h. */
22576 $ac_includes_default
22577 typedef int ac__type_new_;
22581 if ((ac__type_new_ *) 0)
22583 if (sizeof (ac__type_new_))
22589 rm -f conftest.$ac_objext
22590 if { (ac_try="$ac_compile"
22591 case "(($ac_try" in
22592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22593 *) ac_try_echo=$ac_try;;
22595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22596 (eval "$ac_compile") 2>conftest.er1
22598 grep -v '^
*+' conftest.er1 >conftest.err
22600 cat conftest.err >&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } && {
22603 test -z "$ac_c_werror_flag" ||
22604 test ! -s conftest.err
22605 } && test -s conftest.$ac_objext; then
22608 echo "$as_me: failed program was:" >&5
22609 sed 's
/^
/| /' conftest.$ac_ext >&5
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22616 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22617 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22619 # The cast to long int works around a bug in the HP C Compiler
22620 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22621 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22622 # This bug is HP SR number 8606223364.
22623 { echo "$as_me:$LINENO: checking size of int" >&5
22624 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22625 if test "${ac_cv_sizeof_int+set}" = set; then
22626 echo $ECHO_N "(cached) $ECHO_C" >&6
22628 if test "$cross_compiling" = yes; then
22629 # Depending upon the size, compute the lo and hi bounds.
22630 cat >conftest.
$ac_ext <<_ACEOF
22633 cat confdefs.h
>>conftest.
$ac_ext
22634 cat >>conftest.
$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 $ac_includes_default
22637 typedef int ac__type_sizeof_;
22641 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22648 rm -f conftest.
$ac_objext
22649 if { (ac_try
="$ac_compile"
22650 case "(($ac_try" in
22651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22652 *) ac_try_echo=$ac_try;;
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_compile") 2>conftest.er1
22657 grep -v '^ *+' conftest.er1 >conftest.err
22659 cat conftest.err >&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } && {
22662 test -z "$ac_c_werror_flag" ||
22663 test ! -s conftest.err
22664 } && test -s conftest.$ac_objext; then
22667 cat >conftest.$ac_ext <<_ACEOF
22670 cat confdefs.h >>conftest.$ac_ext
22671 cat >>conftest.$ac_ext <<_ACEOF
22672 /* end confdefs.h. */
22673 $ac_includes_default
22674 typedef int ac__type_sizeof_;
22678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22685 rm -f conftest.$ac_objext
22686 if { (ac_try="$ac_compile"
22687 case "(($ac_try" in
22688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22689 *) ac_try_echo
=$ac_try;;
22691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22692 (eval "$ac_compile") 2>conftest.er1
22694 grep -v '^ *+' conftest.er1
>conftest.err
22696 cat conftest.err
>&5
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); } && {
22699 test -z "$ac_c_werror_flag" ||
22700 test ! -s conftest.err
22701 } && test -s conftest.
$ac_objext; then
22702 ac_hi
=$ac_mid; break
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.
$ac_ext >&5
22707 ac_lo
=`expr $ac_mid + 1`
22708 if test $ac_lo -le $ac_mid; then
22712 ac_mid
=`expr 2 '*' $ac_mid + 1`
22715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22718 echo "$as_me: failed program was:" >&5
22719 sed 's/^/| /' conftest.
$ac_ext >&5
22721 cat >conftest.
$ac_ext <<_ACEOF
22724 cat confdefs.h
>>conftest.
$ac_ext
22725 cat >>conftest.
$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22727 $ac_includes_default
22728 typedef int ac__type_sizeof_;
22732 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22739 rm -f conftest.
$ac_objext
22740 if { (ac_try
="$ac_compile"
22741 case "(($ac_try" in
22742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22743 *) ac_try_echo=$ac_try;;
22745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22746 (eval "$ac_compile") 2>conftest.er1
22748 grep -v '^ *+' conftest.er1 >conftest.err
22750 cat conftest.err >&5
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); } && {
22753 test -z "$ac_c_werror_flag" ||
22754 test ! -s conftest.err
22755 } && test -s conftest.$ac_objext; then
22758 cat >conftest.$ac_ext <<_ACEOF
22761 cat confdefs.h >>conftest.$ac_ext
22762 cat >>conftest.$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22764 $ac_includes_default
22765 typedef int ac__type_sizeof_;
22769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22776 rm -f conftest.$ac_objext
22777 if { (ac_try="$ac_compile"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22780 *) ac_try_echo
=$ac_try;;
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_compile") 2>conftest.er1
22785 grep -v '^ *+' conftest.er1
>conftest.err
22787 cat conftest.err
>&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } && {
22790 test -z "$ac_c_werror_flag" ||
22791 test ! -s conftest.err
22792 } && test -s conftest.
$ac_objext; then
22793 ac_lo
=$ac_mid; break
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.
$ac_ext >&5
22798 ac_hi
=`expr '(' $ac_mid ')' - 1`
22799 if test $ac_mid -le $ac_hi; then
22803 ac_mid
=`expr 2 '*' $ac_mid`
22806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22809 echo "$as_me: failed program was:" >&5
22810 sed 's/^/| /' conftest.
$ac_ext >&5
22815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22819 # Binary search between lo and hi bounds.
22820 while test "x$ac_lo" != "x$ac_hi"; do
22821 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22822 cat >conftest.
$ac_ext <<_ACEOF
22825 cat confdefs.h
>>conftest.
$ac_ext
22826 cat >>conftest.
$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 $ac_includes_default
22829 typedef int ac__type_sizeof_;
22833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22840 rm -f conftest.
$ac_objext
22841 if { (ac_try
="$ac_compile"
22842 case "(($ac_try" in
22843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22844 *) ac_try_echo=$ac_try;;
22846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_compile") 2>conftest.er1
22849 grep -v '^ *+' conftest.er1 >conftest.err
22851 cat conftest.err >&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } && {
22854 test -z "$ac_c_werror_flag" ||
22855 test ! -s conftest.err
22856 } && test -s conftest.$ac_objext; then
22859 echo "$as_me: failed program was:" >&5
22860 sed 's/^/| /' conftest.$ac_ext >&5
22862 ac_lo=`expr '(' $ac_mid ')' + 1`
22865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ?*) ac_cv_sizeof_int=$ac_lo;;
22869 '') if test "$ac_cv_type_int" = yes; then
22870 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22871 See \`config.log
' for more details." >&5
22872 echo "$as_me: error: cannot compute sizeof (int)
22873 See \`config.log' for more details.
" >&2;}
22874 { (exit 77); exit 77; }; }
22880 cat >conftest.$ac_ext <<_ACEOF
22883 cat confdefs.h >>conftest.$ac_ext
22884 cat >>conftest.$ac_ext <<_ACEOF
22885 /* end confdefs.h. */
22886 $ac_includes_default
22887 typedef int ac__type_sizeof_;
22888 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22889 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22891 #include <stdlib.h>
22896 FILE *f = fopen ("conftest.val
", "w
");
22899 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22901 long int i = longval ();
22902 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22904 fprintf (f, "%ld
\n", i);
22908 unsigned long int i = ulongval ();
22909 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22911 fprintf (f, "%lu
\n", i);
22913 return ferror (f) || fclose (f) != 0;
22919 rm -f conftest$ac_exeext
22920 if { (ac_try="$ac_link"
22921 case "(($ac_try" in
22922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22923 *) ac_try_echo=$ac_try;;
22925 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22926 (eval "$ac_link") 2>&5
22928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22929 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22930 { (case "(($ac_try" in
22931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22932 *) ac_try_echo=$ac_try;;
22934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22935 (eval "$ac_try") 2>&5
22937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22938 (exit $ac_status); }; }; then
22939 ac_cv_sizeof_int=`cat conftest.val`
22941 echo "$as_me: program exited with status
$ac_status" >&5
22942 echo "$as_me: failed program was
:" >&5
22943 sed 's/^/| /' conftest.$ac_ext >&5
22945 ( exit $ac_status )
22946 if test "$ac_cv_type_int" = yes; then
22947 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
22948 See \
`config.log' for more details." >&5
22949 echo "$as_me: error: cannot compute sizeof (int)
22950 See \`config.log
' for more details." >&2;}
22951 { (exit 77); exit 77; }; }
22956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22960 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22961 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22965 cat >>confdefs.h <<_ACEOF
22966 #define SIZEOF_INT $ac_cv_sizeof_int
22970 { echo "$as_me:$LINENO: checking for long" >&5
22971 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22972 if test "${ac_cv_type_long+set}" = set; then
22973 echo $ECHO_N "(cached) $ECHO_C" >&6
22975 cat >conftest.$ac_ext <<_ACEOF
22978 cat confdefs.h >>conftest.$ac_ext
22979 cat >>conftest.$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981 $ac_includes_default
22982 typedef long ac__type_new_;
22986 if ((ac__type_new_ *) 0)
22988 if (sizeof (ac__type_new_))
22994 rm -f conftest.$ac_objext
22995 if { (ac_try="$ac_compile"
22996 case "(($ac_try" in
22997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22998 *) ac_try_echo=$ac_try;;
23000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23001 (eval "$ac_compile") 2>conftest.er1
23003 grep -v '^
*+' conftest.er1 >conftest.err
23005 cat conftest.err >&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); } && {
23008 test -z "$ac_c_werror_flag" ||
23009 test ! -s conftest.err
23010 } && test -s conftest.$ac_objext; then
23011 ac_cv_type_long=yes
23013 echo "$as_me: failed program was:" >&5
23014 sed 's
/^
/| /' conftest.$ac_ext >&5
23019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23021 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23022 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23024 # The cast to long int works around a bug in the HP C Compiler
23025 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23026 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23027 # This bug is HP SR number 8606223364.
23028 { echo "$as_me:$LINENO: checking size of long" >&5
23029 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23030 if test "${ac_cv_sizeof_long+set}" = set; then
23031 echo $ECHO_N "(cached) $ECHO_C" >&6
23033 if test "$cross_compiling" = yes; then
23034 # Depending upon the size, compute the lo and hi bounds.
23035 cat >conftest.
$ac_ext <<_ACEOF
23038 cat confdefs.h
>>conftest.
$ac_ext
23039 cat >>conftest.
$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 $ac_includes_default
23042 typedef long ac__type_sizeof_;
23046 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23053 rm -f conftest.
$ac_objext
23054 if { (ac_try
="$ac_compile"
23055 case "(($ac_try" in
23056 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23057 *) ac_try_echo=$ac_try;;
23059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23060 (eval "$ac_compile") 2>conftest.er1
23062 grep -v '^ *+' conftest.er1 >conftest.err
23064 cat conftest.err >&5
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); } && {
23067 test -z "$ac_c_werror_flag" ||
23068 test ! -s conftest.err
23069 } && test -s conftest.$ac_objext; then
23072 cat >conftest.$ac_ext <<_ACEOF
23075 cat confdefs.h >>conftest.$ac_ext
23076 cat >>conftest.$ac_ext <<_ACEOF
23077 /* end confdefs.h. */
23078 $ac_includes_default
23079 typedef long ac__type_sizeof_;
23083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23090 rm -f conftest.$ac_objext
23091 if { (ac_try="$ac_compile"
23092 case "(($ac_try" in
23093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23094 *) ac_try_echo
=$ac_try;;
23096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23097 (eval "$ac_compile") 2>conftest.er1
23099 grep -v '^ *+' conftest.er1
>conftest.err
23101 cat conftest.err
>&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } && {
23104 test -z "$ac_c_werror_flag" ||
23105 test ! -s conftest.err
23106 } && test -s conftest.
$ac_objext; then
23107 ac_hi
=$ac_mid; break
23109 echo "$as_me: failed program was:" >&5
23110 sed 's/^/| /' conftest.
$ac_ext >&5
23112 ac_lo
=`expr $ac_mid + 1`
23113 if test $ac_lo -le $ac_mid; then
23117 ac_mid
=`expr 2 '*' $ac_mid + 1`
23120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23123 echo "$as_me: failed program was:" >&5
23124 sed 's/^/| /' conftest.
$ac_ext >&5
23126 cat >conftest.
$ac_ext <<_ACEOF
23129 cat confdefs.h
>>conftest.
$ac_ext
23130 cat >>conftest.
$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132 $ac_includes_default
23133 typedef long ac__type_sizeof_;
23137 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23144 rm -f conftest.
$ac_objext
23145 if { (ac_try
="$ac_compile"
23146 case "(($ac_try" in
23147 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23148 *) ac_try_echo=$ac_try;;
23150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23151 (eval "$ac_compile") 2>conftest.er1
23153 grep -v '^ *+' conftest.er1 >conftest.err
23155 cat conftest.err >&5
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); } && {
23158 test -z "$ac_c_werror_flag" ||
23159 test ! -s conftest.err
23160 } && test -s conftest.$ac_objext; then
23163 cat >conftest.$ac_ext <<_ACEOF
23166 cat confdefs.h >>conftest.$ac_ext
23167 cat >>conftest.$ac_ext <<_ACEOF
23168 /* end confdefs.h. */
23169 $ac_includes_default
23170 typedef long ac__type_sizeof_;
23174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23181 rm -f conftest.$ac_objext
23182 if { (ac_try="$ac_compile"
23183 case "(($ac_try" in
23184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23185 *) ac_try_echo
=$ac_try;;
23187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23188 (eval "$ac_compile") 2>conftest.er1
23190 grep -v '^ *+' conftest.er1
>conftest.err
23192 cat conftest.err
>&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } && {
23195 test -z "$ac_c_werror_flag" ||
23196 test ! -s conftest.err
23197 } && test -s conftest.
$ac_objext; then
23198 ac_lo
=$ac_mid; break
23200 echo "$as_me: failed program was:" >&5
23201 sed 's/^/| /' conftest.
$ac_ext >&5
23203 ac_hi
=`expr '(' $ac_mid ')' - 1`
23204 if test $ac_mid -le $ac_hi; then
23208 ac_mid
=`expr 2 '*' $ac_mid`
23211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23214 echo "$as_me: failed program was:" >&5
23215 sed 's/^/| /' conftest.
$ac_ext >&5
23220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23224 # Binary search between lo and hi bounds.
23225 while test "x$ac_lo" != "x$ac_hi"; do
23226 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23227 cat >conftest.
$ac_ext <<_ACEOF
23230 cat confdefs.h
>>conftest.
$ac_ext
23231 cat >>conftest.
$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23233 $ac_includes_default
23234 typedef long ac__type_sizeof_;
23238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23245 rm -f conftest.
$ac_objext
23246 if { (ac_try
="$ac_compile"
23247 case "(($ac_try" in
23248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23249 *) ac_try_echo=$ac_try;;
23251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23252 (eval "$ac_compile") 2>conftest.er1
23254 grep -v '^ *+' conftest.er1 >conftest.err
23256 cat conftest.err >&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } && {
23259 test -z "$ac_c_werror_flag" ||
23260 test ! -s conftest.err
23261 } && test -s conftest.$ac_objext; then
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.$ac_ext >&5
23267 ac_lo=`expr '(' $ac_mid ')' + 1`
23270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23273 ?*) ac_cv_sizeof_long=$ac_lo;;
23274 '') if test "$ac_cv_type_long" = yes; then
23275 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23276 See \`config.log
' for more details." >&5
23277 echo "$as_me: error: cannot compute sizeof (long)
23278 See \`config.log' for more details.
" >&2;}
23279 { (exit 77); exit 77; }; }
23281 ac_cv_sizeof_long=0
23285 cat >conftest.$ac_ext <<_ACEOF
23288 cat confdefs.h >>conftest.$ac_ext
23289 cat >>conftest.$ac_ext <<_ACEOF
23290 /* end confdefs.h. */
23291 $ac_includes_default
23292 typedef long ac__type_sizeof_;
23293 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23294 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23296 #include <stdlib.h>
23301 FILE *f = fopen ("conftest.val
", "w
");
23304 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23306 long int i = longval ();
23307 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23309 fprintf (f, "%ld
\n", i);
23313 unsigned long int i = ulongval ();
23314 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23316 fprintf (f, "%lu
\n", i);
23318 return ferror (f) || fclose (f) != 0;
23324 rm -f conftest$ac_exeext
23325 if { (ac_try="$ac_link"
23326 case "(($ac_try" in
23327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23328 *) ac_try_echo=$ac_try;;
23330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23331 (eval "$ac_link") 2>&5
23333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23335 { (case "(($ac_try" in
23336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23337 *) ac_try_echo=$ac_try;;
23339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23340 (eval "$ac_try") 2>&5
23342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23343 (exit $ac_status); }; }; then
23344 ac_cv_sizeof_long=`cat conftest.val`
23346 echo "$as_me: program exited with status
$ac_status" >&5
23347 echo "$as_me: failed program was
:" >&5
23348 sed 's/^/| /' conftest.$ac_ext >&5
23350 ( exit $ac_status )
23351 if test "$ac_cv_type_long" = yes; then
23352 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23353 See \
`config.log' for more details." >&5
23354 echo "$as_me: error: cannot compute sizeof (long)
23355 See \`config.log
' for more details." >&2;}
23356 { (exit 77); exit 77; }; }
23358 ac_cv_sizeof_long=0
23361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23365 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23366 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23370 cat >>confdefs.h <<_ACEOF
23371 #define SIZEOF_LONG $ac_cv_sizeof_long
23375 { echo "$as_me:$LINENO: checking for size_t" >&5
23376 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23377 if test "${ac_cv_type_size_t+set}" = set; then
23378 echo $ECHO_N "(cached) $ECHO_C" >&6
23380 cat >conftest.$ac_ext <<_ACEOF
23383 cat confdefs.h >>conftest.$ac_ext
23384 cat >>conftest.$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23386 $ac_includes_default
23387 typedef size_t ac__type_new_;
23391 if ((ac__type_new_ *) 0)
23393 if (sizeof (ac__type_new_))
23399 rm -f conftest.$ac_objext
23400 if { (ac_try="$ac_compile"
23401 case "(($ac_try" in
23402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23403 *) ac_try_echo=$ac_try;;
23405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23406 (eval "$ac_compile") 2>conftest.er1
23408 grep -v '^
*+' conftest.er1 >conftest.err
23410 cat conftest.err >&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); } && {
23413 test -z "$ac_c_werror_flag" ||
23414 test ! -s conftest.err
23415 } && test -s conftest.$ac_objext; then
23416 ac_cv_type_size_t=yes
23418 echo "$as_me: failed program was:" >&5
23419 sed 's
/^
/| /' conftest.$ac_ext >&5
23421 ac_cv_type_size_t=no
23424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23426 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23427 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23429 # The cast to long int works around a bug in the HP C Compiler
23430 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23431 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23432 # This bug is HP SR number 8606223364.
23433 { echo "$as_me:$LINENO: checking size of size_t" >&5
23434 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23435 if test "${ac_cv_sizeof_size_t+set}" = set; then
23436 echo $ECHO_N "(cached) $ECHO_C" >&6
23438 if test "$cross_compiling" = yes; then
23439 # Depending upon the size, compute the lo and hi bounds.
23440 cat >conftest.
$ac_ext <<_ACEOF
23443 cat confdefs.h
>>conftest.
$ac_ext
23444 cat >>conftest.
$ac_ext <<_ACEOF
23445 /* end confdefs.h. */
23446 $ac_includes_default
23447 typedef size_t ac__type_sizeof_;
23451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23458 rm -f conftest.
$ac_objext
23459 if { (ac_try
="$ac_compile"
23460 case "(($ac_try" in
23461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23462 *) ac_try_echo=$ac_try;;
23464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23465 (eval "$ac_compile") 2>conftest.er1
23467 grep -v '^ *+' conftest.er1 >conftest.err
23469 cat conftest.err >&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } && {
23472 test -z "$ac_c_werror_flag" ||
23473 test ! -s conftest.err
23474 } && test -s conftest.$ac_objext; then
23477 cat >conftest.$ac_ext <<_ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 typedef size_t ac__type_sizeof_;
23488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23495 rm -f conftest.$ac_objext
23496 if { (ac_try="$ac_compile"
23497 case "(($ac_try" in
23498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23499 *) ac_try_echo
=$ac_try;;
23501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23502 (eval "$ac_compile") 2>conftest.er1
23504 grep -v '^ *+' conftest.er1
>conftest.err
23506 cat conftest.err
>&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && {
23509 test -z "$ac_c_werror_flag" ||
23510 test ! -s conftest.err
23511 } && test -s conftest.
$ac_objext; then
23512 ac_hi
=$ac_mid; break
23514 echo "$as_me: failed program was:" >&5
23515 sed 's/^/| /' conftest.
$ac_ext >&5
23517 ac_lo
=`expr $ac_mid + 1`
23518 if test $ac_lo -le $ac_mid; then
23522 ac_mid
=`expr 2 '*' $ac_mid + 1`
23525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.
$ac_ext >&5
23531 cat >conftest.
$ac_ext <<_ACEOF
23534 cat confdefs.h
>>conftest.
$ac_ext
23535 cat >>conftest.
$ac_ext <<_ACEOF
23536 /* end confdefs.h. */
23537 $ac_includes_default
23538 typedef size_t ac__type_sizeof_;
23542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23549 rm -f conftest.
$ac_objext
23550 if { (ac_try
="$ac_compile"
23551 case "(($ac_try" in
23552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23553 *) ac_try_echo=$ac_try;;
23555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23556 (eval "$ac_compile") 2>conftest.er1
23558 grep -v '^ *+' conftest.er1 >conftest.err
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } && {
23563 test -z "$ac_c_werror_flag" ||
23564 test ! -s conftest.err
23565 } && test -s conftest.$ac_objext; then
23568 cat >conftest.$ac_ext <<_ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef size_t ac__type_sizeof_;
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23586 rm -f conftest.$ac_objext
23587 if { (ac_try="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23590 *) ac_try_echo
=$ac_try;;
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23595 grep -v '^ *+' conftest.er1
>conftest.err
23597 cat conftest.err
>&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.
$ac_objext; then
23603 ac_lo
=$ac_mid; break
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.
$ac_ext >&5
23608 ac_hi
=`expr '(' $ac_mid ')' - 1`
23609 if test $ac_mid -le $ac_hi; then
23613 ac_mid
=`expr 2 '*' $ac_mid`
23616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23619 echo "$as_me: failed program was:" >&5
23620 sed 's/^/| /' conftest.
$ac_ext >&5
23625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23629 # Binary search between lo and hi bounds.
23630 while test "x$ac_lo" != "x$ac_hi"; do
23631 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23632 cat >conftest.
$ac_ext <<_ACEOF
23635 cat confdefs.h
>>conftest.
$ac_ext
23636 cat >>conftest.
$ac_ext <<_ACEOF
23637 /* end confdefs.h. */
23638 $ac_includes_default
23639 typedef size_t ac__type_sizeof_;
23643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23650 rm -f conftest.
$ac_objext
23651 if { (ac_try
="$ac_compile"
23652 case "(($ac_try" in
23653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23654 *) ac_try_echo=$ac_try;;
23656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23657 (eval "$ac_compile") 2>conftest.er1
23659 grep -v '^ *+' conftest.er1 >conftest.err
23661 cat conftest.err >&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); } && {
23664 test -z "$ac_c_werror_flag" ||
23665 test ! -s conftest.err
23666 } && test -s conftest.$ac_objext; then
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23672 ac_lo=`expr '(' $ac_mid ')' + 1`
23675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23678 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23679 '') if test "$ac_cv_type_size_t" = yes; then
23680 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23681 See \`config.log
' for more details." >&5
23682 echo "$as_me: error: cannot compute sizeof (size_t)
23683 See \`config.log' for more details.
" >&2;}
23684 { (exit 77); exit 77; }; }
23686 ac_cv_sizeof_size_t=0
23690 cat >conftest.$ac_ext <<_ACEOF
23693 cat confdefs.h >>conftest.$ac_ext
23694 cat >>conftest.$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23696 $ac_includes_default
23697 typedef size_t ac__type_sizeof_;
23698 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23699 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23701 #include <stdlib.h>
23706 FILE *f = fopen ("conftest.val
", "w
");
23709 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23711 long int i = longval ();
23712 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23714 fprintf (f, "%ld
\n", i);
23718 unsigned long int i = ulongval ();
23719 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23721 fprintf (f, "%lu
\n", i);
23723 return ferror (f) || fclose (f) != 0;
23729 rm -f conftest$ac_exeext
23730 if { (ac_try="$ac_link"
23731 case "(($ac_try" in
23732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23733 *) ac_try_echo=$ac_try;;
23735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23736 (eval "$ac_link") 2>&5
23738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
23749 ac_cv_sizeof_size_t=`cat conftest.val`
23751 echo "$as_me: program exited with status
$ac_status" >&5
23752 echo "$as_me: failed program was
:" >&5
23753 sed 's/^/| /' conftest.$ac_ext >&5
23755 ( exit $ac_status )
23756 if test "$ac_cv_type_size_t" = yes; then
23757 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23758 See \
`config.log' for more details." >&5
23759 echo "$as_me: error: cannot compute sizeof (size_t)
23760 See \`config.log
' for more details." >&2;}
23761 { (exit 77); exit 77; }; }
23763 ac_cv_sizeof_size_t=0
23766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23770 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23771 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23775 cat >>confdefs.h <<_ACEOF
23776 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23783 { echo "$as_me:$LINENO: checking for long long" >&5
23784 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23785 if test "${ac_cv_type_long_long+set}" = set; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23788 cat >conftest.$ac_ext <<_ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 $ac_includes_default
23795 typedef long long ac__type_new_;
23799 if ((ac__type_new_ *) 0)
23801 if (sizeof (ac__type_new_))
23807 rm -f conftest.$ac_objext
23808 if { (ac_try="$ac_compile"
23809 case "(($ac_try" in
23810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23811 *) ac_try_echo=$ac_try;;
23813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23814 (eval "$ac_compile") 2>conftest.er1
23816 grep -v '^
*+' conftest.er1 >conftest.err
23818 cat conftest.err >&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); } && {
23821 test -z "$ac_c_werror_flag" ||
23822 test ! -s conftest.err
23823 } && test -s conftest.$ac_objext; then
23824 ac_cv_type_long_long=yes
23826 echo "$as_me: failed program was:" >&5
23827 sed 's
/^
/| /' conftest.$ac_ext >&5
23829 ac_cv_type_long_long=no
23832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23834 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23835 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23837 # The cast to long int works around a bug in the HP C Compiler
23838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23839 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23840 # This bug is HP SR number 8606223364.
23841 { echo "$as_me:$LINENO: checking size of long long" >&5
23842 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23843 if test "${ac_cv_sizeof_long_long+set}" = set; then
23844 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 if test "$cross_compiling" = yes; then
23847 # Depending upon the size, compute the lo and hi bounds.
23848 cat >conftest.
$ac_ext <<_ACEOF
23851 cat confdefs.h
>>conftest.
$ac_ext
23852 cat >>conftest.
$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 $ac_includes_default
23855 typedef long long ac__type_sizeof_;
23859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23866 rm -f conftest.
$ac_objext
23867 if { (ac_try
="$ac_compile"
23868 case "(($ac_try" in
23869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_compile") 2>conftest.er1
23875 grep -v '^ *+' conftest.er1 >conftest.err
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } && {
23880 test -z "$ac_c_werror_flag" ||
23881 test ! -s conftest.err
23882 } && test -s conftest.$ac_objext; then
23885 cat >conftest.$ac_ext <<_ACEOF
23888 cat confdefs.h >>conftest.$ac_ext
23889 cat >>conftest.$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23891 $ac_includes_default
23892 typedef long long ac__type_sizeof_;
23896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23903 rm -f conftest.$ac_objext
23904 if { (ac_try="$ac_compile"
23905 case "(($ac_try" in
23906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23907 *) ac_try_echo
=$ac_try;;
23909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23910 (eval "$ac_compile") 2>conftest.er1
23912 grep -v '^ *+' conftest.er1
>conftest.err
23914 cat conftest.err
>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } && {
23917 test -z "$ac_c_werror_flag" ||
23918 test ! -s conftest.err
23919 } && test -s conftest.
$ac_objext; then
23920 ac_hi
=$ac_mid; break
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.
$ac_ext >&5
23925 ac_lo
=`expr $ac_mid + 1`
23926 if test $ac_lo -le $ac_mid; then
23930 ac_mid
=`expr 2 '*' $ac_mid + 1`
23933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23936 echo "$as_me: failed program was:" >&5
23937 sed 's/^/| /' conftest.
$ac_ext >&5
23939 cat >conftest.
$ac_ext <<_ACEOF
23942 cat confdefs.h
>>conftest.
$ac_ext
23943 cat >>conftest.
$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 $ac_includes_default
23946 typedef long long ac__type_sizeof_;
23950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23957 rm -f conftest.
$ac_objext
23958 if { (ac_try
="$ac_compile"
23959 case "(($ac_try" in
23960 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23961 *) ac_try_echo=$ac_try;;
23963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23964 (eval "$ac_compile") 2>conftest.er1
23966 grep -v '^ *+' conftest.er1 >conftest.err
23968 cat conftest.err >&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); } && {
23971 test -z "$ac_c_werror_flag" ||
23972 test ! -s conftest.err
23973 } && test -s conftest.$ac_objext; then
23976 cat >conftest.$ac_ext <<_ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 $ac_includes_default
23983 typedef long long ac__type_sizeof_;
23987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23994 rm -f conftest.$ac_objext
23995 if { (ac_try="$ac_compile"
23996 case "(($ac_try" in
23997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23998 *) ac_try_echo
=$ac_try;;
24000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_compile") 2>conftest.er1
24003 grep -v '^ *+' conftest.er1
>conftest.err
24005 cat conftest.err
>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && {
24008 test -z "$ac_c_werror_flag" ||
24009 test ! -s conftest.err
24010 } && test -s conftest.
$ac_objext; then
24011 ac_lo
=$ac_mid; break
24013 echo "$as_me: failed program was:" >&5
24014 sed 's/^/| /' conftest.
$ac_ext >&5
24016 ac_hi
=`expr '(' $ac_mid ')' - 1`
24017 if test $ac_mid -le $ac_hi; then
24021 ac_mid
=`expr 2 '*' $ac_mid`
24024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24027 echo "$as_me: failed program was:" >&5
24028 sed 's/^/| /' conftest.
$ac_ext >&5
24033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24037 # Binary search between lo and hi bounds.
24038 while test "x$ac_lo" != "x$ac_hi"; do
24039 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24040 cat >conftest.
$ac_ext <<_ACEOF
24043 cat confdefs.h
>>conftest.
$ac_ext
24044 cat >>conftest.
$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 $ac_includes_default
24047 typedef long long ac__type_sizeof_;
24051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24058 rm -f conftest.
$ac_objext
24059 if { (ac_try
="$ac_compile"
24060 case "(($ac_try" in
24061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24062 *) ac_try_echo=$ac_try;;
24064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24065 (eval "$ac_compile") 2>conftest.er1
24067 grep -v '^ *+' conftest.er1 >conftest.err
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && {
24072 test -z "$ac_c_werror_flag" ||
24073 test ! -s conftest.err
24074 } && test -s conftest.$ac_objext; then
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24080 ac_lo=`expr '(' $ac_mid ')' + 1`
24083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24086 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24087 '') if test "$ac_cv_type_long_long" = yes; then
24088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24089 See \`config.log
' for more details." >&5
24090 echo "$as_me: error: cannot compute sizeof (long long)
24091 See \`config.log' for more details.
" >&2;}
24092 { (exit 77); exit 77; }; }
24094 ac_cv_sizeof_long_long=0
24098 cat >conftest.$ac_ext <<_ACEOF
24101 cat confdefs.h >>conftest.$ac_ext
24102 cat >>conftest.$ac_ext <<_ACEOF
24103 /* end confdefs.h. */
24104 $ac_includes_default
24105 typedef long long ac__type_sizeof_;
24106 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24107 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24109 #include <stdlib.h>
24114 FILE *f = fopen ("conftest.val
", "w
");
24117 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24119 long int i = longval ();
24120 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24122 fprintf (f, "%ld
\n", i);
24126 unsigned long int i = ulongval ();
24127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24129 fprintf (f, "%lu
\n", i);
24131 return ferror (f) || fclose (f) != 0;
24137 rm -f conftest$ac_exeext
24138 if { (ac_try="$ac_link"
24139 case "(($ac_try" in
24140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24141 *) ac_try_echo=$ac_try;;
24143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24144 (eval "$ac_link") 2>&5
24146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24148 { (case "(($ac_try" in
24149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24150 *) ac_try_echo=$ac_try;;
24152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24153 (eval "$ac_try") 2>&5
24155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24156 (exit $ac_status); }; }; then
24157 ac_cv_sizeof_long_long=`cat conftest.val`
24159 echo "$as_me: program exited with status
$ac_status" >&5
24160 echo "$as_me: failed program was
:" >&5
24161 sed 's/^/| /' conftest.$ac_ext >&5
24163 ( exit $ac_status )
24164 if test "$ac_cv_type_long_long" = yes; then
24165 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24166 See \
`config.log' for more details." >&5
24167 echo "$as_me: error: cannot compute sizeof (long long)
24168 See \`config.log
' for more details." >&2;}
24169 { (exit 77); exit 77; }; }
24171 ac_cv_sizeof_long_long=0
24174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24178 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24179 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24183 cat >>confdefs.h <<_ACEOF
24184 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24190 { echo "$as_me:$LINENO: checking for long long" >&5
24191 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24192 if test "${ac_cv_type_long_long+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 cat >conftest.$ac_ext <<_ACEOF
24198 cat confdefs.h >>conftest.$ac_ext
24199 cat >>conftest.$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24201 $ac_includes_default
24202 typedef long long ac__type_new_;
24206 if ((ac__type_new_ *) 0)
24208 if (sizeof (ac__type_new_))
24214 rm -f conftest.$ac_objext
24215 if { (ac_try="$ac_compile"
24216 case "(($ac_try" in
24217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24218 *) ac_try_echo=$ac_try;;
24220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24221 (eval "$ac_compile") 2>conftest.er1
24223 grep -v '^
*+' conftest.er1 >conftest.err
24225 cat conftest.err >&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); } && {
24228 test -z "$ac_c_werror_flag" ||
24229 test ! -s conftest.err
24230 } && test -s conftest.$ac_objext; then
24231 ac_cv_type_long_long=yes
24233 echo "$as_me: failed program was:" >&5
24234 sed 's
/^
/| /' conftest.$ac_ext >&5
24236 ac_cv_type_long_long=no
24239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24241 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24242 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24244 # The cast to long int works around a bug in the HP C Compiler
24245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24247 # This bug is HP SR number 8606223364.
24248 { echo "$as_me:$LINENO: checking size of long long" >&5
24249 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24250 if test "${ac_cv_sizeof_long_long+set}" = set; then
24251 echo $ECHO_N "(cached) $ECHO_C" >&6
24253 if test "$cross_compiling" = yes; then
24254 # Depending upon the size, compute the lo and hi bounds.
24255 cat >conftest.
$ac_ext <<_ACEOF
24258 cat confdefs.h
>>conftest.
$ac_ext
24259 cat >>conftest.
$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24261 $ac_includes_default
24262 typedef long long ac__type_sizeof_;
24266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24273 rm -f conftest.
$ac_objext
24274 if { (ac_try
="$ac_compile"
24275 case "(($ac_try" in
24276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24277 *) ac_try_echo=$ac_try;;
24279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24280 (eval "$ac_compile") 2>conftest.er1
24282 grep -v '^ *+' conftest.er1 >conftest.err
24284 cat conftest.err >&5
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); } && {
24287 test -z "$ac_c_werror_flag" ||
24288 test ! -s conftest.err
24289 } && test -s conftest.$ac_objext; then
24292 cat >conftest.$ac_ext <<_ACEOF
24295 cat confdefs.h >>conftest.$ac_ext
24296 cat >>conftest.$ac_ext <<_ACEOF
24297 /* end confdefs.h. */
24298 $ac_includes_default
24299 typedef long long ac__type_sizeof_;
24303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24310 rm -f conftest.$ac_objext
24311 if { (ac_try="$ac_compile"
24312 case "(($ac_try" in
24313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24314 *) ac_try_echo
=$ac_try;;
24316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24317 (eval "$ac_compile") 2>conftest.er1
24319 grep -v '^ *+' conftest.er1
>conftest.err
24321 cat conftest.err
>&5
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); } && {
24324 test -z "$ac_c_werror_flag" ||
24325 test ! -s conftest.err
24326 } && test -s conftest.
$ac_objext; then
24327 ac_hi
=$ac_mid; break
24329 echo "$as_me: failed program was:" >&5
24330 sed 's/^/| /' conftest.
$ac_ext >&5
24332 ac_lo
=`expr $ac_mid + 1`
24333 if test $ac_lo -le $ac_mid; then
24337 ac_mid
=`expr 2 '*' $ac_mid + 1`
24340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24343 echo "$as_me: failed program was:" >&5
24344 sed 's/^/| /' conftest.
$ac_ext >&5
24346 cat >conftest.
$ac_ext <<_ACEOF
24349 cat confdefs.h
>>conftest.
$ac_ext
24350 cat >>conftest.
$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24352 $ac_includes_default
24353 typedef long long ac__type_sizeof_;
24357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24364 rm -f conftest.
$ac_objext
24365 if { (ac_try
="$ac_compile"
24366 case "(($ac_try" in
24367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24368 *) ac_try_echo=$ac_try;;
24370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24371 (eval "$ac_compile") 2>conftest.er1
24373 grep -v '^ *+' conftest.er1 >conftest.err
24375 cat conftest.err >&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } && {
24378 test -z "$ac_c_werror_flag" ||
24379 test ! -s conftest.err
24380 } && test -s conftest.$ac_objext; then
24383 cat >conftest.$ac_ext <<_ACEOF
24386 cat confdefs.h >>conftest.$ac_ext
24387 cat >>conftest.$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24389 $ac_includes_default
24390 typedef long long ac__type_sizeof_;
24394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24401 rm -f conftest.$ac_objext
24402 if { (ac_try="$ac_compile"
24403 case "(($ac_try" in
24404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24405 *) ac_try_echo
=$ac_try;;
24407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24408 (eval "$ac_compile") 2>conftest.er1
24410 grep -v '^ *+' conftest.er1
>conftest.err
24412 cat conftest.err
>&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } && {
24415 test -z "$ac_c_werror_flag" ||
24416 test ! -s conftest.err
24417 } && test -s conftest.
$ac_objext; then
24418 ac_lo
=$ac_mid; break
24420 echo "$as_me: failed program was:" >&5
24421 sed 's/^/| /' conftest.
$ac_ext >&5
24423 ac_hi
=`expr '(' $ac_mid ')' - 1`
24424 if test $ac_mid -le $ac_hi; then
24428 ac_mid
=`expr 2 '*' $ac_mid`
24431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24434 echo "$as_me: failed program was:" >&5
24435 sed 's/^/| /' conftest.
$ac_ext >&5
24440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24444 # Binary search between lo and hi bounds.
24445 while test "x$ac_lo" != "x$ac_hi"; do
24446 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24447 cat >conftest.
$ac_ext <<_ACEOF
24450 cat confdefs.h
>>conftest.
$ac_ext
24451 cat >>conftest.
$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 $ac_includes_default
24454 typedef long long ac__type_sizeof_;
24458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24465 rm -f conftest.
$ac_objext
24466 if { (ac_try
="$ac_compile"
24467 case "(($ac_try" in
24468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24469 *) ac_try_echo=$ac_try;;
24471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24472 (eval "$ac_compile") 2>conftest.er1
24474 grep -v '^ *+' conftest.er1 >conftest.err
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } && {
24479 test -z "$ac_c_werror_flag" ||
24480 test ! -s conftest.err
24481 } && test -s conftest.$ac_objext; then
24484 echo "$as_me: failed program was:" >&5
24485 sed 's/^/| /' conftest.$ac_ext >&5
24487 ac_lo=`expr '(' $ac_mid ')' + 1`
24490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24493 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24494 '') if test "$ac_cv_type_long_long" = yes; then
24495 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24496 See \`config.log
' for more details." >&5
24497 echo "$as_me: error: cannot compute sizeof (long long)
24498 See \`config.log' for more details.
" >&2;}
24499 { (exit 77); exit 77; }; }
24501 ac_cv_sizeof_long_long=0
24505 cat >conftest.$ac_ext <<_ACEOF
24508 cat confdefs.h >>conftest.$ac_ext
24509 cat >>conftest.$ac_ext <<_ACEOF
24510 /* end confdefs.h. */
24511 $ac_includes_default
24512 typedef long long ac__type_sizeof_;
24513 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24514 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24516 #include <stdlib.h>
24521 FILE *f = fopen ("conftest.val
", "w
");
24524 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24526 long int i = longval ();
24527 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24529 fprintf (f, "%ld
\n", i);
24533 unsigned long int i = ulongval ();
24534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24536 fprintf (f, "%lu
\n", i);
24538 return ferror (f) || fclose (f) != 0;
24544 rm -f conftest$ac_exeext
24545 if { (ac_try="$ac_link"
24546 case "(($ac_try" in
24547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24548 *) ac_try_echo=$ac_try;;
24550 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24551 (eval "$ac_link") 2>&5
24553 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24555 { (case "(($ac_try" in
24556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24557 *) ac_try_echo=$ac_try;;
24559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24560 (eval "$ac_try") 2>&5
24562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24563 (exit $ac_status); }; }; then
24564 ac_cv_sizeof_long_long=`cat conftest.val`
24566 echo "$as_me: program exited with status
$ac_status" >&5
24567 echo "$as_me: failed program was
:" >&5
24568 sed 's/^/| /' conftest.$ac_ext >&5
24570 ( exit $ac_status )
24571 if test "$ac_cv_type_long_long" = yes; then
24572 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24573 See \
`config.log' for more details." >&5
24574 echo "$as_me: error: cannot compute sizeof (long long)
24575 See \`config.log
' for more details." >&2;}
24576 { (exit 77); exit 77; }; }
24578 ac_cv_sizeof_long_long=0
24581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24585 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24586 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24590 cat >>confdefs.h <<_ACEOF
24591 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24595 if test "$ac_cv_sizeof_long_long" != "0"; then
24596 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24600 { echo "$as_me:$LINENO: checking for long long" >&5
24601 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24602 if test "${ac_cv_type_long_long+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24605 cat >conftest.$ac_ext <<_ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24611 $ac_includes_default
24612 typedef long long ac__type_new_;
24616 if ((ac__type_new_ *) 0)
24618 if (sizeof (ac__type_new_))
24624 rm -f conftest.$ac_objext
24625 if { (ac_try="$ac_compile"
24626 case "(($ac_try" in
24627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24628 *) ac_try_echo=$ac_try;;
24630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24631 (eval "$ac_compile") 2>conftest.er1
24633 grep -v '^
*+' conftest.er1 >conftest.err
24635 cat conftest.err >&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } && {
24638 test -z "$ac_c_werror_flag" ||
24639 test ! -s conftest.err
24640 } && test -s conftest.$ac_objext; then
24641 ac_cv_type_long_long=yes
24643 echo "$as_me: failed program was:" >&5
24644 sed 's
/^
/| /' conftest.$ac_ext >&5
24646 ac_cv_type_long_long=no
24649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24652 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24654 # The cast to long int works around a bug in the HP C Compiler
24655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24657 # This bug is HP SR number 8606223364.
24658 { echo "$as_me:$LINENO: checking size of long long" >&5
24659 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24660 if test "${ac_cv_sizeof_long_long+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 if test "$cross_compiling" = yes; then
24664 # Depending upon the size, compute the lo and hi bounds.
24665 cat >conftest.
$ac_ext <<_ACEOF
24668 cat confdefs.h
>>conftest.
$ac_ext
24669 cat >>conftest.
$ac_ext <<_ACEOF
24670 /* end confdefs.h. */
24671 $ac_includes_default
24672 typedef long long ac__type_sizeof_;
24676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24683 rm -f conftest.
$ac_objext
24684 if { (ac_try
="$ac_compile"
24685 case "(($ac_try" in
24686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24687 *) ac_try_echo=$ac_try;;
24689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24690 (eval "$ac_compile") 2>conftest.er1
24692 grep -v '^ *+' conftest.er1 >conftest.err
24694 cat conftest.err >&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); } && {
24697 test -z "$ac_c_werror_flag" ||
24698 test ! -s conftest.err
24699 } && test -s conftest.$ac_objext; then
24702 cat >conftest.$ac_ext <<_ACEOF
24705 cat confdefs.h >>conftest.$ac_ext
24706 cat >>conftest.$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708 $ac_includes_default
24709 typedef long long ac__type_sizeof_;
24713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24720 rm -f conftest.$ac_objext
24721 if { (ac_try="$ac_compile"
24722 case "(($ac_try" in
24723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24724 *) ac_try_echo
=$ac_try;;
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_compile") 2>conftest.er1
24729 grep -v '^ *+' conftest.er1
>conftest.err
24731 cat conftest.err
>&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } && {
24734 test -z "$ac_c_werror_flag" ||
24735 test ! -s conftest.err
24736 } && test -s conftest.
$ac_objext; then
24737 ac_hi
=$ac_mid; break
24739 echo "$as_me: failed program was:" >&5
24740 sed 's/^/| /' conftest.
$ac_ext >&5
24742 ac_lo
=`expr $ac_mid + 1`
24743 if test $ac_lo -le $ac_mid; then
24747 ac_mid
=`expr 2 '*' $ac_mid + 1`
24750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.
$ac_ext >&5
24756 cat >conftest.
$ac_ext <<_ACEOF
24759 cat confdefs.h
>>conftest.
$ac_ext
24760 cat >>conftest.
$ac_ext <<_ACEOF
24761 /* end confdefs.h. */
24762 $ac_includes_default
24763 typedef long long ac__type_sizeof_;
24767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24774 rm -f conftest.
$ac_objext
24775 if { (ac_try
="$ac_compile"
24776 case "(($ac_try" in
24777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24778 *) ac_try_echo=$ac_try;;
24780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24781 (eval "$ac_compile") 2>conftest.er1
24783 grep -v '^ *+' conftest.er1 >conftest.err
24785 cat conftest.err >&5
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); } && {
24788 test -z "$ac_c_werror_flag" ||
24789 test ! -s conftest.err
24790 } && test -s conftest.$ac_objext; then
24793 cat >conftest.$ac_ext <<_ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 $ac_includes_default
24800 typedef long long ac__type_sizeof_;
24804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24811 rm -f conftest.$ac_objext
24812 if { (ac_try="$ac_compile"
24813 case "(($ac_try" in
24814 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24815 *) ac_try_echo
=$ac_try;;
24817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24818 (eval "$ac_compile") 2>conftest.er1
24820 grep -v '^ *+' conftest.er1
>conftest.err
24822 cat conftest.err
>&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } && {
24825 test -z "$ac_c_werror_flag" ||
24826 test ! -s conftest.err
24827 } && test -s conftest.
$ac_objext; then
24828 ac_lo
=$ac_mid; break
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.
$ac_ext >&5
24833 ac_hi
=`expr '(' $ac_mid ')' - 1`
24834 if test $ac_mid -le $ac_hi; then
24838 ac_mid
=`expr 2 '*' $ac_mid`
24841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.
$ac_ext >&5
24850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24854 # Binary search between lo and hi bounds.
24855 while test "x$ac_lo" != "x$ac_hi"; do
24856 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24857 cat >conftest.
$ac_ext <<_ACEOF
24860 cat confdefs.h
>>conftest.
$ac_ext
24861 cat >>conftest.
$ac_ext <<_ACEOF
24862 /* end confdefs.h. */
24863 $ac_includes_default
24864 typedef long long ac__type_sizeof_;
24868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24875 rm -f conftest.
$ac_objext
24876 if { (ac_try
="$ac_compile"
24877 case "(($ac_try" in
24878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24879 *) ac_try_echo=$ac_try;;
24881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24882 (eval "$ac_compile") 2>conftest.er1
24884 grep -v '^ *+' conftest.er1 >conftest.err
24886 cat conftest.err >&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); } && {
24889 test -z "$ac_c_werror_flag" ||
24890 test ! -s conftest.err
24891 } && test -s conftest.$ac_objext; then
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.$ac_ext >&5
24897 ac_lo=`expr '(' $ac_mid ')' + 1`
24900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24903 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24904 '') if test "$ac_cv_type_long_long" = yes; then
24905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24906 See \`config.log
' for more details." >&5
24907 echo "$as_me: error: cannot compute sizeof (long long)
24908 See \`config.log' for more details.
" >&2;}
24909 { (exit 77); exit 77; }; }
24911 ac_cv_sizeof_long_long=0
24915 cat >conftest.$ac_ext <<_ACEOF
24918 cat confdefs.h >>conftest.$ac_ext
24919 cat >>conftest.$ac_ext <<_ACEOF
24920 /* end confdefs.h. */
24921 $ac_includes_default
24922 typedef long long ac__type_sizeof_;
24923 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24924 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24926 #include <stdlib.h>
24931 FILE *f = fopen ("conftest.val
", "w
");
24934 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24936 long int i = longval ();
24937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24939 fprintf (f, "%ld
\n", i);
24943 unsigned long int i = ulongval ();
24944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24946 fprintf (f, "%lu
\n", i);
24948 return ferror (f) || fclose (f) != 0;
24954 rm -f conftest$ac_exeext
24955 if { (ac_try="$ac_link"
24956 case "(($ac_try" in
24957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24958 *) ac_try_echo=$ac_try;;
24960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24961 (eval "$ac_link") 2>&5
24963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24965 { (case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24969 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_try") 2>&5
24972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24973 (exit $ac_status); }; }; then
24974 ac_cv_sizeof_long_long=`cat conftest.val`
24976 echo "$as_me: program exited with status
$ac_status" >&5
24977 echo "$as_me: failed program was
:" >&5
24978 sed 's/^/| /' conftest.$ac_ext >&5
24980 ( exit $ac_status )
24981 if test "$ac_cv_type_long_long" = yes; then
24982 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24983 See \
`config.log' for more details." >&5
24984 echo "$as_me: error: cannot compute sizeof (long long)
24985 See \`config.log
' for more details." >&2;}
24986 { (exit 77); exit 77; }; }
24988 ac_cv_sizeof_long_long=0
24991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24995 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24996 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25000 cat >>confdefs.h <<_ACEOF
25001 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25007 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25008 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25009 if test "${ac_cv_type_wchar_t+set}" = set; then
25010 echo $ECHO_N "(cached) $ECHO_C" >&6
25012 cat >conftest.$ac_ext <<_ACEOF
25015 cat confdefs.h >>conftest.$ac_ext
25016 cat >>conftest.$ac_ext <<_ACEOF
25017 /* end confdefs.h. */
25019 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25020 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25021 # error "fake wchar_t"
25023 #ifdef HAVE_WCHAR_H
25025 # include <stddef.h>
25027 # include <wchar.h>
25029 #ifdef HAVE_STDLIB_H
25030 # include <stdlib.h>
25036 typedef wchar_t ac__type_new_
;
25040 if ((ac__type_new_
*) 0)
25042 if (sizeof
(ac__type_new_
))
25048 rm -f conftest.
$ac_objext
25049 if { (ac_try
="$ac_compile"
25050 case "(($ac_try" in
25051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25052 *) ac_try_echo=$ac_try;;
25054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25055 (eval "$ac_compile") 2>conftest.er1
25057 grep -v '^ *+' conftest.er1 >conftest.err
25059 cat conftest.err >&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); } && {
25062 test -z "$ac_c_werror_flag" ||
25063 test ! -s conftest.err
25064 } && test -s conftest.$ac_objext; then
25065 ac_cv_type_wchar_t=yes
25067 echo "$as_me: failed program was:" >&5
25068 sed 's/^/| /' conftest.$ac_ext >&5
25070 ac_cv_type_wchar_t=no
25073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25075 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25076 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25078 # The cast to long int works around a bug in the HP C Compiler
25079 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25080 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25081 # This bug is HP SR number 8606223364.
25082 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25083 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25084 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25085 echo $ECHO_N "(cached) $ECHO_C" >&6
25087 if test "$cross_compiling" = yes; then
25088 # Depending upon the size, compute the lo and hi bounds.
25089 cat >conftest.$ac_ext <<_ACEOF
25092 cat confdefs.h >>conftest.$ac_ext
25093 cat >>conftest.$ac_ext <<_ACEOF
25094 /* end confdefs.h. */
25096 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25097 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25098 # error "fake wchar_t"
25100 #ifdef HAVE_WCHAR_H
25102 # include <stddef.h>
25104 # include <wchar.h>
25106 #ifdef HAVE_STDLIB_H
25107 # include <stdlib.h>
25113 typedef wchar_t ac__type_sizeof_
;
25117 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25124 rm -f conftest.
$ac_objext
25125 if { (ac_try
="$ac_compile"
25126 case "(($ac_try" in
25127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25128 *) ac_try_echo=$ac_try;;
25130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25131 (eval "$ac_compile") 2>conftest.er1
25133 grep -v '^ *+' conftest.er1 >conftest.err
25135 cat conftest.err >&5
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); } && {
25138 test -z "$ac_c_werror_flag" ||
25139 test ! -s conftest.err
25140 } && test -s conftest.$ac_objext; then
25143 cat >conftest.$ac_ext <<_ACEOF
25146 cat confdefs.h >>conftest.$ac_ext
25147 cat >>conftest.$ac_ext <<_ACEOF
25148 /* end confdefs.h. */
25150 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25151 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25152 # error "fake wchar_t"
25154 #ifdef HAVE_WCHAR_H
25156 # include <stddef.h>
25158 # include <wchar.h>
25160 #ifdef HAVE_STDLIB_H
25161 # include <stdlib.h>
25167 typedef wchar_t ac__type_sizeof_;
25171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25178 rm -f conftest.$ac_objext
25179 if { (ac_try="$ac_compile"
25180 case "(($ac_try" in
25181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25182 *) ac_try_echo
=$ac_try;;
25184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25185 (eval "$ac_compile") 2>conftest.er1
25187 grep -v '^ *+' conftest.er1
>conftest.err
25189 cat conftest.err
>&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } && {
25192 test -z "$ac_c_werror_flag" ||
25193 test ! -s conftest.err
25194 } && test -s conftest.
$ac_objext; then
25195 ac_hi
=$ac_mid; break
25197 echo "$as_me: failed program was:" >&5
25198 sed 's/^/| /' conftest.
$ac_ext >&5
25200 ac_lo
=`expr $ac_mid + 1`
25201 if test $ac_lo -le $ac_mid; then
25205 ac_mid
=`expr 2 '*' $ac_mid + 1`
25208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25211 echo "$as_me: failed program was:" >&5
25212 sed 's/^/| /' conftest.
$ac_ext >&5
25214 cat >conftest.
$ac_ext <<_ACEOF
25217 cat confdefs.h
>>conftest.
$ac_ext
25218 cat >>conftest.
$ac_ext <<_ACEOF
25219 /* end confdefs.h. */
25221 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25222 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25223 # error "fake wchar_t"
25225 #ifdef HAVE_WCHAR_H
25227 # include <stddef.h>
25229 # include <wchar.h>
25231 #ifdef HAVE_STDLIB_H
25232 # include <stdlib.h>
25238 typedef wchar_t ac__type_sizeof_;
25242 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25249 rm -f conftest.
$ac_objext
25250 if { (ac_try
="$ac_compile"
25251 case "(($ac_try" in
25252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_compile") 2>conftest.er1
25258 grep -v '^ *+' conftest.er1 >conftest.err
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } && {
25263 test -z "$ac_c_werror_flag" ||
25264 test ! -s conftest.err
25265 } && test -s conftest.$ac_objext; then
25268 cat >conftest.$ac_ext <<_ACEOF
25271 cat confdefs.h >>conftest.$ac_ext
25272 cat >>conftest.$ac_ext <<_ACEOF
25273 /* end confdefs.h. */
25275 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25276 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25277 # error "fake wchar_t"
25279 #ifdef HAVE_WCHAR_H
25281 # include <stddef.h>
25283 # include <wchar.h>
25285 #ifdef HAVE_STDLIB_H
25286 # include <stdlib.h>
25292 typedef wchar_t ac__type_sizeof_;
25296 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25303 rm -f conftest.$ac_objext
25304 if { (ac_try="$ac_compile"
25305 case "(($ac_try" in
25306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25307 *) ac_try_echo
=$ac_try;;
25309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25310 (eval "$ac_compile") 2>conftest.er1
25312 grep -v '^ *+' conftest.er1
>conftest.err
25314 cat conftest.err
>&5
25315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316 (exit $ac_status); } && {
25317 test -z "$ac_c_werror_flag" ||
25318 test ! -s conftest.err
25319 } && test -s conftest.
$ac_objext; then
25320 ac_lo
=$ac_mid; break
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.
$ac_ext >&5
25325 ac_hi
=`expr '(' $ac_mid ')' - 1`
25326 if test $ac_mid -le $ac_hi; then
25330 ac_mid
=`expr 2 '*' $ac_mid`
25333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25336 echo "$as_me: failed program was:" >&5
25337 sed 's/^/| /' conftest.
$ac_ext >&5
25342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25346 # Binary search between lo and hi bounds.
25347 while test "x$ac_lo" != "x$ac_hi"; do
25348 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25349 cat >conftest.
$ac_ext <<_ACEOF
25352 cat confdefs.h
>>conftest.
$ac_ext
25353 cat >>conftest.
$ac_ext <<_ACEOF
25354 /* end confdefs.h. */
25356 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25357 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25358 # error "fake wchar_t"
25360 #ifdef HAVE_WCHAR_H
25362 # include <stddef.h>
25364 # include <wchar.h>
25366 #ifdef HAVE_STDLIB_H
25367 # include <stdlib.h>
25373 typedef wchar_t ac__type_sizeof_;
25377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25384 rm -f conftest.
$ac_objext
25385 if { (ac_try
="$ac_compile"
25386 case "(($ac_try" in
25387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25388 *) ac_try_echo=$ac_try;;
25390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25391 (eval "$ac_compile") 2>conftest.er1
25393 grep -v '^ *+' conftest.er1 >conftest.err
25395 cat conftest.err >&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } && {
25398 test -z "$ac_c_werror_flag" ||
25399 test ! -s conftest.err
25400 } && test -s conftest.$ac_objext; then
25403 echo "$as_me: failed program was:" >&5
25404 sed 's/^/| /' conftest.$ac_ext >&5
25406 ac_lo=`expr '(' $ac_mid ')' + 1`
25409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25412 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25413 '') if test "$ac_cv_type_wchar_t" = yes; then
25414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25415 See \`config.log
' for more details." >&5
25416 echo "$as_me: error: cannot compute sizeof (wchar_t)
25417 See \`config.log' for more details.
" >&2;}
25418 { (exit 77); exit 77; }; }
25420 ac_cv_sizeof_wchar_t=0
25424 cat >conftest.$ac_ext <<_ACEOF
25427 cat confdefs.h >>conftest.$ac_ext
25428 cat >>conftest.$ac_ext <<_ACEOF
25429 /* end confdefs.h. */
25431 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25432 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25433 # error "fake wchar_t
"
25435 #ifdef HAVE_WCHAR_H
25437 # include <stddef.h>
25439 # include <wchar.h>
25441 #ifdef HAVE_STDLIB_H
25442 # include <stdlib.h>
25448 typedef wchar_t ac__type_sizeof_;
25449 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25450 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25452 #include <stdlib.h>
25457 FILE *f = fopen ("conftest.val
", "w
");
25460 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25462 long int i = longval ();
25463 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25465 fprintf (f, "%ld
\n", i);
25469 unsigned long int i = ulongval ();
25470 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25472 fprintf (f, "%lu
\n", i);
25474 return ferror (f) || fclose (f) != 0;
25480 rm -f conftest$ac_exeext
25481 if { (ac_try="$ac_link"
25482 case "(($ac_try" in
25483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25484 *) ac_try_echo=$ac_try;;
25486 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25487 (eval "$ac_link") 2>&5
25489 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25491 { (case "(($ac_try" in
25492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25493 *) ac_try_echo=$ac_try;;
25495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25496 (eval "$ac_try") 2>&5
25498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25499 (exit $ac_status); }; }; then
25500 ac_cv_sizeof_wchar_t=`cat conftest.val`
25502 echo "$as_me: program exited with status
$ac_status" >&5
25503 echo "$as_me: failed program was
:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25506 ( exit $ac_status )
25507 if test "$ac_cv_type_wchar_t" = yes; then
25508 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25509 See \
`config.log' for more details." >&5
25510 echo "$as_me: error: cannot compute sizeof (wchar_t)
25511 See \`config.log
' for more details." >&2;}
25512 { (exit 77); exit 77; }; }
25514 ac_cv_sizeof_wchar_t=0
25517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25521 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25522 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25526 cat >>confdefs.h <<_ACEOF
25527 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25531 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25537 { echo "$as_me:$LINENO: checking for va_copy" >&5
25538 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25539 if test "${wx_cv_func_va_copy+set}" = set; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25544 ac_cpp='$CXXCPP $CPPFLAGS'
25545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25546 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25549 cat >conftest.$ac_ext <<_ACEOF
25551 #include <stdarg.h>
25552 void foo(char *f, ...)
25566 rm -f conftest.$ac_objext conftest$ac_exeext
25567 if { (ac_try="$ac_link"
25568 case "(($ac_try" in
25569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25570 *) ac_try_echo=$ac_try;;
25572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25573 (eval "$ac_link") 2>conftest.er1
25575 grep -v '^
*+' conftest.er1 >conftest.err
25577 cat conftest.err >&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); } && {
25580 test -z "$ac_cxx_werror_flag" ||
25581 test ! -s conftest.err
25582 } && test -s conftest$ac_exeext &&
25583 $as_test_x conftest$ac_exeext; then
25584 wx_cv_func_va_copy=yes
25586 echo "$as_me: failed program was:" >&5
25587 sed 's
/^
/| /' conftest.$ac_ext >&5
25589 wx_cv_func_va_copy=no
25593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25594 conftest$ac_exeext conftest.$ac_ext
25596 ac_cpp='$CPP $CPPFLAGS'
25597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25598 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25604 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25605 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25607 if test $wx_cv_func_va_copy = "yes"; then
25608 cat >>confdefs.h <<\_ACEOF
25609 #define HAVE_VA_COPY 1
25613 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25614 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25615 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 if test "$cross_compiling" = yes; then
25620 wx_cv_type_va_list_lvalue=yes
25623 cat >conftest.$ac_ext <<_ACEOF
25625 #include <stdarg.h>
25626 int foo(char *f, ...)
25631 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25639 return foo("hi", 17);
25642 rm -f conftest$ac_exeext
25643 if { (ac_try="$ac_link"
25644 case "(($ac_try" in
25645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25646 *) ac_try_echo=$ac_try;;
25648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25649 (eval "$ac_link") 2>&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25653 { (case "(($ac_try" in
25654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25655 *) ac_try_echo=$ac_try;;
25657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25658 (eval "$ac_try") 2>&5
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); }; }; then
25662 wx_cv_type_va_list_lvalue=yes
25664 echo "$as_me: program exited with status $ac_status" >&5
25665 echo "$as_me: failed program was:" >&5
25666 sed 's
/^
/| /' conftest.$ac_ext >&5
25668 ( exit $ac_status )
25669 wx_cv_type_va_list_lvalue=no
25671 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25678 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25679 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25681 if test $wx_cv_type_va_list_lvalue != "yes"; then
25682 cat >>confdefs.h <<\_ACEOF
25683 #define VA_LIST_IS_ARRAY 1
25689 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25691 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25692 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25693 if test "${wx_cv_have_variadic_macros+set}" = set; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25698 ac_cpp='$CXXCPP $CPPFLAGS'
25699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25700 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25703 cat >conftest.$ac_ext <<_ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25711 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25717 test("%s %d %p", "test", 1, 0);
25724 rm -f conftest.$ac_objext
25725 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
25733 grep -v '^
*+' conftest.er1 >conftest.err
25735 cat conftest.err >&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); } && {
25738 test -z "$ac_cxx_werror_flag" ||
25739 test ! -s conftest.err
25740 } && test -s conftest.$ac_objext; then
25741 wx_cv_have_variadic_macros=yes
25743 echo "$as_me: failed program was:" >&5
25744 sed 's
/^
/| /' conftest.$ac_ext >&5
25746 wx_cv_have_variadic_macros=no
25750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25752 ac_cpp='$CPP $CPPFLAGS'
25753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25754 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25760 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25761 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25763 if test $wx_cv_have_variadic_macros = "yes"; then
25764 cat >>confdefs.h <<\_ACEOF
25765 #define HAVE_VARIADIC_MACROS 1
25771 # Check whether --enable-largefile was given.
25772 if test "${enable_largefile+set}" = set; then
25773 enableval=$enable_largefile;
25776 if test "$enable_largefile" != no; then
25779 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25780 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25781 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25782 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 cat >conftest.$ac_ext <<_ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791 #define _FILE_OFFSET_BITS 64
25792 #include <sys/types.h>
25797 unsigned int field: sizeof(off_t) == 8;
25804 rm -f conftest.$ac_objext
25805 if { (ac_try="$ac_compile"
25806 case "(($ac_try" in
25807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25808 *) ac_try_echo=$ac_try;;
25810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25811 (eval "$ac_compile") 2>conftest.er1
25813 grep -v '^
*+' conftest.er1 >conftest.err
25815 cat conftest.err >&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); } && {
25818 test -z "$ac_c_werror_flag" ||
25819 test ! -s conftest.err
25820 } && test -s conftest.$ac_objext; then
25821 ac_cv_sys_file_offset_bits=64
25823 echo "$as_me: failed program was:" >&5
25824 sed 's
/^
/| /' conftest.$ac_ext >&5
25826 ac_cv_sys_file_offset_bits=no
25829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25833 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25834 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25836 if test "$ac_cv_sys_file_offset_bits" != no; then
25838 cat >>confdefs.h <<_ACEOF
25839 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25844 if test "x$wx_largefile" != "xyes"; then
25846 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25847 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25848 if test "${ac_cv_sys_large_files+set}" = set; then
25849 echo $ECHO_N "(cached) $ECHO_C" >&6
25852 cat >conftest.$ac_ext <<_ACEOF
25855 cat confdefs.h >>conftest.$ac_ext
25856 cat >>conftest.$ac_ext <<_ACEOF
25857 /* end confdefs.h. */
25858 #define _LARGE_FILES 1
25859 #include <sys/types.h>
25864 unsigned int field: sizeof(off_t) == 8;
25871 rm -f conftest.$ac_objext
25872 if { (ac_try="$ac_compile"
25873 case "(($ac_try" in
25874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25875 *) ac_try_echo=$ac_try;;
25877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25878 (eval "$ac_compile") 2>conftest.er1
25880 grep -v '^
*+' conftest.er1 >conftest.err
25882 cat conftest.err >&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } && {
25885 test -z "$ac_c_werror_flag" ||
25886 test ! -s conftest.err
25887 } && test -s conftest.$ac_objext; then
25888 ac_cv_sys_large_files=1
25890 echo "$as_me: failed program was:" >&5
25891 sed 's
/^
/| /' conftest.$ac_ext >&5
25893 ac_cv_sys_large_files=no
25896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25900 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25901 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25903 if test "$ac_cv_sys_large_files" != no; then
25905 cat >>confdefs.h <<_ACEOF
25906 #define _LARGE_FILES $ac_cv_sys_large_files
25913 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25914 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25915 if test "x$wx_largefile" = "xyes"; then
25916 cat >>confdefs.h <<\_ACEOF
25917 #define HAVE_LARGEFILE_SUPPORT 1
25921 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25922 echo "${ECHO_T}$wx_largefile" >&6; }
25926 if test "x$wx_largefile" = "xyes"; then
25927 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25928 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25930 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25931 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25932 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25933 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25934 echo $ECHO_N "(cached) $ECHO_C" >&6
25938 ac_cpp='$CXXCPP $CPPFLAGS'
25939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25940 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25943 cat >conftest.$ac_ext <<_ACEOF
25946 cat confdefs.h >>conftest.$ac_ext
25947 cat >>conftest.$ac_ext <<_ACEOF
25948 /* end confdefs.h. */
25954 #ifndef __STDC_EXT__
25962 rm -f conftest.$ac_objext
25963 if { (ac_try="$ac_compile"
25964 case "(($ac_try" in
25965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25966 *) ac_try_echo=$ac_try;;
25968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25969 (eval "$ac_compile") 2>conftest.er1
25971 grep -v '^
*+' conftest.er1 >conftest.err
25973 cat conftest.err >&5
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); } && {
25976 test -z "$ac_cxx_werror_flag" ||
25977 test ! -s conftest.err
25978 } && test -s conftest.$ac_objext; then
25979 wx_cv_STDC_EXT_required=no
25981 echo "$as_me: failed program was:" >&5
25982 sed 's
/^
/| /' conftest.$ac_ext >&5
25984 wx_cv_STDC_EXT_required=yes
25988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25990 ac_cpp='$CPP $CPPFLAGS'
25991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25992 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25998 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25999 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26000 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26001 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26005 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26007 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26008 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26009 if test "${ac_cv_sys_largefile_source+set}" = set; then
26010 echo $ECHO_N "(cached) $ECHO_C" >&6
26013 cat >conftest.$ac_ext <<_ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 #include <sys/types.h> /* for off_t */
26024 int (*fp) (FILE *, off_t, int) = fseeko;
26025 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26030 rm -f conftest.$ac_objext conftest$ac_exeext
26031 if { (ac_try="$ac_link"
26032 case "(($ac_try" in
26033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26034 *) ac_try_echo=$ac_try;;
26036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26037 (eval "$ac_link") 2>conftest.er1
26039 grep -v '^
*+' conftest.er1 >conftest.err
26041 cat conftest.err >&5
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); } && {
26044 test -z "$ac_c_werror_flag" ||
26045 test ! -s conftest.err
26046 } && test -s conftest$ac_exeext &&
26047 $as_test_x conftest$ac_exeext; then
26048 ac_cv_sys_largefile_source=no; break
26050 echo "$as_me: failed program was:" >&5
26051 sed 's
/^
/| /' conftest.$ac_ext >&5
26056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26057 conftest$ac_exeext conftest.$ac_ext
26058 cat >conftest.$ac_ext <<_ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26064 #define _LARGEFILE_SOURCE 1
26065 #include <sys/types.h> /* for off_t */
26070 int (*fp) (FILE *, off_t, int) = fseeko;
26071 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26076 rm -f conftest.$ac_objext conftest$ac_exeext
26077 if { (ac_try="$ac_link"
26078 case "(($ac_try" in
26079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26080 *) ac_try_echo=$ac_try;;
26082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26083 (eval "$ac_link") 2>conftest.er1
26085 grep -v '^
*+' conftest.er1 >conftest.err
26087 cat conftest.err >&5
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); } && {
26090 test -z "$ac_c_werror_flag" ||
26091 test ! -s conftest.err
26092 } && test -s conftest$ac_exeext &&
26093 $as_test_x conftest$ac_exeext; then
26094 ac_cv_sys_largefile_source=1; break
26096 echo "$as_me: failed program was:" >&5
26097 sed 's
/^
/| /' conftest.$ac_ext >&5
26102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26103 conftest$ac_exeext conftest.$ac_ext
26104 ac_cv_sys_largefile_source=unknown
26108 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26109 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26110 case $ac_cv_sys_largefile_source in #(
26113 cat >>confdefs.h <<_ACEOF
26114 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26120 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26121 # in glibc 2.1.3, but that breaks too many other things.
26122 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26123 if test $ac_cv_sys_largefile_source != unknown; then
26125 cat >>confdefs.h <<\_ACEOF
26126 #define HAVE_FSEEKO 1
26131 if test "$ac_cv_sys_largefile_source" != no; then
26132 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26136 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26137 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26138 if test "${ac_cv_c_bigendian+set}" = set; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6
26141 ac_cv_c_bigendian=unknown
26142 # See if sys/param.h defines the BYTE_ORDER macro.
26143 cat >conftest.$ac_ext <<_ACEOF
26146 cat confdefs.h >>conftest.$ac_ext
26147 cat >>conftest.$ac_ext <<_ACEOF
26148 /* end confdefs.h. */
26149 #include <sys/types.h>
26150 #include <sys/param.h>
26155 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26156 bogus endian macros
26162 rm -f conftest.$ac_objext
26163 if { (ac_try="$ac_compile"
26164 case "(($ac_try" in
26165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26166 *) ac_try_echo=$ac_try;;
26168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26169 (eval "$ac_compile") 2>conftest.er1
26171 grep -v '^
*+' conftest.er1 >conftest.err
26173 cat conftest.err >&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } && {
26176 test -z "$ac_c_werror_flag" ||
26177 test ! -s conftest.err
26178 } && test -s conftest.$ac_objext; then
26179 # It does; now see whether it defined to BIG_ENDIAN or not.
26180 cat >conftest.$ac_ext <<_ACEOF
26183 cat confdefs.h >>conftest.$ac_ext
26184 cat >>conftest.$ac_ext <<_ACEOF
26185 /* end confdefs.h. */
26186 #include <sys/types.h>
26187 #include <sys/param.h>
26192 #if BYTE_ORDER != BIG_ENDIAN
26199 rm -f conftest.$ac_objext
26200 if { (ac_try="$ac_compile"
26201 case "(($ac_try" in
26202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26203 *) ac_try_echo=$ac_try;;
26205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26206 (eval "$ac_compile") 2>conftest.er1
26208 grep -v '^
*+' conftest.er1 >conftest.err
26210 cat conftest.err >&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); } && {
26213 test -z "$ac_c_werror_flag" ||
26214 test ! -s conftest.err
26215 } && test -s conftest.$ac_objext; then
26216 ac_cv_c_bigendian=yes
26218 echo "$as_me: failed program was:" >&5
26219 sed 's
/^
/| /' conftest.$ac_ext >&5
26221 ac_cv_c_bigendian=no
26224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26226 echo "$as_me: failed program was:" >&5
26227 sed 's
/^
/| /' conftest.$ac_ext >&5
26232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26233 if test $ac_cv_c_bigendian = unknown; then
26234 if test "$cross_compiling" = yes; then
26235 ac_cv_c_bigendian=unknown
26237 cat >conftest.$ac_ext <<_ACEOF
26240 cat confdefs.h >>conftest.$ac_ext
26241 cat >>conftest.$ac_ext <<_ACEOF
26242 /* end confdefs.h. */
26244 /* Are we little or big endian? From Harbison&Steele. */
26248 char c[sizeof (long)];
26251 exit (u.c[sizeof (long) - 1] == 1);
26254 rm -f conftest$ac_exeext
26255 if { (ac_try="$ac_link"
26256 case "(($ac_try" in
26257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26258 *) ac_try_echo=$ac_try;;
26260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26261 (eval "$ac_link") 2>&5
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26265 { (case "(($ac_try" in
26266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26267 *) ac_try_echo=$ac_try;;
26269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270 (eval "$ac_try") 2>&5
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); }; }; then
26274 ac_cv_c_bigendian=no
26276 echo "$as_me: program exited with status $ac_status" >&5
26277 echo "$as_me: failed program was:" >&5
26278 sed 's
/^
/| /' conftest.$ac_ext >&5
26280 ( exit $ac_status )
26281 ac_cv_c_bigendian=yes
26283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26289 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26290 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26291 if test $ac_cv_c_bigendian = unknown; then
26292 { 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
26293 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;}
26295 if test $ac_cv_c_bigendian = yes; then
26296 cat >>confdefs.h <<\_ACEOF
26297 #define WORDS_BIGENDIAN 1
26306 ac_cpp='$CXXCPP $CPPFLAGS'
26307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26308 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26313 for ac_header in iostream
26315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26316 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26319 echo $ECHO_N "(cached) $ECHO_C" >&6
26321 cat >conftest.$ac_ext <<_ACEOF
26324 cat confdefs.h >>conftest.$ac_ext
26325 cat >>conftest.$ac_ext <<_ACEOF
26326 /* end confdefs.h. */
26329 #include <$ac_header>
26331 rm -f conftest.$ac_objext
26332 if { (ac_try="$ac_compile"
26333 case "(($ac_try" in
26334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26335 *) ac_try_echo=$ac_try;;
26337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26338 (eval "$ac_compile") 2>conftest.er1
26340 grep -v '^
*+' conftest.er1 >conftest.err
26342 cat conftest.err >&5
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); } && {
26345 test -z "$ac_cxx_werror_flag" ||
26346 test ! -s conftest.err
26347 } && test -s conftest.$ac_objext; then
26348 eval "$as_ac_Header=yes"
26350 echo "$as_me: failed program was:" >&5
26351 sed 's
/^
/| /' conftest.$ac_ext >&5
26353 eval "$as_ac_Header=no"
26356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26358 ac_res=`eval echo '${'$as_ac_Header'}'`
26359 { echo "$as_me:$LINENO: result: $ac_res" >&5
26360 echo "${ECHO_T}$ac_res" >&6; }
26361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26362 cat >>confdefs.h <<_ACEOF
26363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26371 if test "$ac_cv_header_iostream" = "yes" ; then
26374 cat >>confdefs.h <<\_ACEOF
26375 #define wxUSE_IOSTREAMH 1
26381 ac_cpp='$CPP $CPPFLAGS'
26382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26383 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26389 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26390 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26391 if test "${wx_cv_cpp_bool+set}" = set; then
26392 echo $ECHO_N "(cached) $ECHO_C" >&6
26397 ac_cpp='$CXXCPP $CPPFLAGS'
26398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26399 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26403 cat >conftest.$ac_ext <<_ACEOF
26406 cat confdefs.h >>conftest.$ac_ext
26407 cat >>conftest.$ac_ext <<_ACEOF
26408 /* end confdefs.h. */
26423 rm -f conftest.$ac_objext
26424 if { (ac_try="$ac_compile"
26425 case "(($ac_try" in
26426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26427 *) ac_try_echo=$ac_try;;
26429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26430 (eval "$ac_compile") 2>conftest.er1
26432 grep -v '^
*+' conftest.er1 >conftest.err
26434 cat conftest.err >&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); } && {
26437 test -z "$ac_cxx_werror_flag" ||
26438 test ! -s conftest.err
26439 } && test -s conftest.$ac_objext; then
26444 echo "$as_me: failed program was:" >&5
26445 sed 's
/^
/| /' conftest.$ac_ext >&5
26453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26456 ac_cpp='$CPP $CPPFLAGS'
26457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26458 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26463 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26464 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26466 if test "$wx_cv_cpp_bool" = "yes"; then
26467 cat >>confdefs.h <<\_ACEOF
26468 #define HAVE_BOOL 1
26475 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26476 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26477 if test "${wx_cv_explicit+set}" = set; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26483 ac_cpp='$CXXCPP $CPPFLAGS'
26484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26485 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26489 cat >conftest.$ac_ext <<_ACEOF
26492 cat confdefs.h >>conftest.$ac_ext
26493 cat >>conftest.$ac_ext <<_ACEOF
26494 /* end confdefs.h. */
26496 class Foo { public: explicit Foo(int) {} };
26508 rm -f conftest.$ac_objext
26509 if { (ac_try="$ac_compile"
26510 case "(($ac_try" in
26511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26512 *) ac_try_echo=$ac_try;;
26514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26515 (eval "$ac_compile") 2>conftest.er1
26517 grep -v '^
*+' conftest.er1 >conftest.err
26519 cat conftest.err >&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } && {
26522 test -z "$ac_cxx_werror_flag" ||
26523 test ! -s conftest.err
26524 } && test -s conftest.$ac_objext; then
26526 cat >conftest.$ac_ext <<_ACEOF
26529 cat confdefs.h >>conftest.$ac_ext
26530 cat >>conftest.$ac_ext <<_ACEOF
26531 /* end confdefs.h. */
26533 class Foo { public: explicit Foo(int) {} };
26534 static void TakeFoo(const Foo& foo) { }
26547 rm -f conftest.$ac_objext
26548 if { (ac_try="$ac_compile"
26549 case "(($ac_try" in
26550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26551 *) ac_try_echo=$ac_try;;
26553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26554 (eval "$ac_compile") 2>conftest.er1
26556 grep -v '^
*+' conftest.er1 >conftest.err
26558 cat conftest.err >&5
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); } && {
26561 test -z "$ac_cxx_werror_flag" ||
26562 test ! -s conftest.err
26563 } && test -s conftest.$ac_objext; then
26566 echo "$as_me: failed program was:" >&5
26567 sed 's
/^
/| /' conftest.$ac_ext >&5
26573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26576 echo "$as_me: failed program was:" >&5
26577 sed 's
/^
/| /' conftest.$ac_ext >&5
26583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26586 ac_cpp='$CPP $CPPFLAGS'
26587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26588 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26593 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26594 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26596 if test "$wx_cv_explicit" = "yes"; then
26597 cat >>confdefs.h <<\_ACEOF
26598 #define HAVE_EXPLICIT 1
26604 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26605 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26606 if test "${ac_cv_cxx_const_cast+set}" = set; then
26607 echo $ECHO_N "(cached) $ECHO_C" >&6
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26613 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26616 cat >conftest.$ac_ext <<_ACEOF
26619 cat confdefs.h >>conftest.$ac_ext
26620 cat >>conftest.$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26626 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26631 rm -f conftest.$ac_objext
26632 if { (ac_try="$ac_compile"
26633 case "(($ac_try" in
26634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26635 *) ac_try_echo=$ac_try;;
26637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26638 (eval "$ac_compile") 2>conftest.er1
26640 grep -v '^
*+' conftest.er1 >conftest.err
26642 cat conftest.err >&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } && {
26645 test -z "$ac_cxx_werror_flag" ||
26646 test ! -s conftest.err
26647 } && test -s conftest.$ac_objext; then
26648 ac_cv_cxx_const_cast=yes
26650 echo "$as_me: failed program was:" >&5
26651 sed 's
/^
/| /' conftest.$ac_ext >&5
26653 ac_cv_cxx_const_cast=no
26656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26658 ac_cpp='$CPP $CPPFLAGS'
26659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26660 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26665 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26666 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26667 if test "$ac_cv_cxx_const_cast" = yes; then
26669 cat >>confdefs.h <<\_ACEOF
26670 #define HAVE_CONST_CAST
26675 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26676 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26677 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26682 ac_cpp='$CXXCPP $CPPFLAGS'
26683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26684 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26687 cat >conftest.$ac_ext <<_ACEOF
26690 cat confdefs.h >>conftest.$ac_ext
26691 cat >>conftest.$ac_ext <<_ACEOF
26692 /* end confdefs.h. */
26693 #include <typeinfo>
26694 class Base { public : Base () {} virtual void f () = 0;};
26695 class Derived : public Base { public : Derived () {} virtual void f () {} };
26696 class Unrelated { public : Unrelated () {} };
26697 int g (Unrelated&) { return 0; }
26702 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26707 rm -f conftest.$ac_objext
26708 if { (ac_try="$ac_compile"
26709 case "(($ac_try" in
26710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26711 *) ac_try_echo=$ac_try;;
26713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26714 (eval "$ac_compile") 2>conftest.er1
26716 grep -v '^
*+' conftest.er1 >conftest.err
26718 cat conftest.err >&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); } && {
26721 test -z "$ac_cxx_werror_flag" ||
26722 test ! -s conftest.err
26723 } && test -s conftest.$ac_objext; then
26724 ac_cv_cxx_reinterpret_cast=yes
26726 echo "$as_me: failed program was:" >&5
26727 sed 's
/^
/| /' conftest.$ac_ext >&5
26729 ac_cv_cxx_reinterpret_cast=no
26732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26734 ac_cpp='$CPP $CPPFLAGS'
26735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26736 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26741 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26742 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26743 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26745 cat >>confdefs.h <<\_ACEOF
26746 #define HAVE_REINTERPRET_CAST
26751 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26752 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26753 if test "${ac_cv_cxx_static_cast+set}" = set; then
26754 echo $ECHO_N "(cached) $ECHO_C" >&6
26758 ac_cpp='$CXXCPP $CPPFLAGS'
26759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26760 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26763 cat >conftest.$ac_ext <<_ACEOF
26766 cat confdefs.h >>conftest.$ac_ext
26767 cat >>conftest.$ac_ext <<_ACEOF
26768 /* end confdefs.h. */
26769 #include <typeinfo>
26770 class Base { public : Base () {} virtual void f () = 0; };
26771 class Derived : public Base { public : Derived () {} virtual void f () {} };
26772 int g (Derived&) { return 0; }
26777 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26782 rm -f conftest.$ac_objext
26783 if { (ac_try="$ac_compile"
26784 case "(($ac_try" in
26785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26786 *) ac_try_echo=$ac_try;;
26788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26789 (eval "$ac_compile") 2>conftest.er1
26791 grep -v '^
*+' conftest.er1 >conftest.err
26793 cat conftest.err >&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); } && {
26796 test -z "$ac_cxx_werror_flag" ||
26797 test ! -s conftest.err
26798 } && test -s conftest.$ac_objext; then
26799 ac_cv_cxx_static_cast=yes
26801 echo "$as_me: failed program was:" >&5
26802 sed 's
/^
/| /' conftest.$ac_ext >&5
26804 ac_cv_cxx_static_cast=no
26807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26809 ac_cpp='$CPP $CPPFLAGS'
26810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26811 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26816 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26817 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26818 if test "$ac_cv_cxx_static_cast" = yes; then
26820 cat >>confdefs.h <<\_ACEOF
26821 #define HAVE_STATIC_CAST
26827 if test "x$SUNCXX" = xyes; then
26828 CXXFLAGS="-features=tmplife $CXXFLAGS"
26831 if test "x$SUNCC" = xyes; then
26832 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26835 if test "x$SGICC" = "xyes"; then
26836 CFLAGS="-woff 3970 $CFLAGS"
26838 if test "x$SGICXX" = "xyes"; then
26839 CXXFLAGS="-woff 3970 $CXXFLAGS"
26842 if test "x$HPCC" = "xyes"; then
26843 CFLAGS="+W 2011,2450 $CFLAGS"
26845 if test "x$HPCXX" = "xyes"; then
26846 CXXFLAGS="+W 2340 $CXXFLAGS"
26849 if test "x$COMPAQCXX" = "xyes"; then
26850 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26854 ac_cpp='$CXXCPP $CPPFLAGS'
26855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26856 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26860 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26861 if test "$wxUSE_UNICODE" = "yes"; then
26862 std_string="std::wstring"
26863 char_type="wchar_t"
26865 std_string="std::string"
26869 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26870 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26871 if test "${wx_cv_class_stdstring+set}" = set; then
26872 echo $ECHO_N "(cached) $ECHO_C" >&6
26875 cat >conftest.$ac_ext <<_ACEOF
26878 cat confdefs.h >>conftest.$ac_ext
26879 cat >>conftest.$ac_ext <<_ACEOF
26880 /* end confdefs.h. */
26890 rm -f conftest.$ac_objext
26891 if { (ac_try="$ac_compile"
26892 case "(($ac_try" in
26893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26894 *) ac_try_echo=$ac_try;;
26896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26897 (eval "$ac_compile") 2>conftest.er1
26899 grep -v '^
*+' conftest.er1 >conftest.err
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } && {
26904 test -z "$ac_cxx_werror_flag" ||
26905 test ! -s conftest.err
26906 } && test -s conftest.$ac_objext; then
26907 wx_cv_class_stdstring=yes
26909 echo "$as_me: failed program was:" >&5
26910 sed 's
/^
/| /' conftest.$ac_ext >&5
26912 wx_cv_class_stdstring=no
26916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26920 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26921 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26923 if test "$wx_cv_class_stdstring" = yes; then
26924 if test "$wxUSE_UNICODE" = "yes"; then
26925 cat >>confdefs.h <<\_ACEOF
26926 #define HAVE_STD_WSTRING 1
26931 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26932 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26933 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26934 echo $ECHO_N "(cached) $ECHO_C" >&6
26937 cat >conftest.$ac_ext <<_ACEOF
26940 cat confdefs.h >>conftest.$ac_ext
26941 cat >>conftest.$ac_ext <<_ACEOF
26942 /* end confdefs.h. */
26944 #ifdef HAVE_WCHAR_H
26946 # include <stddef.h>
26948 # include <wchar.h>
26950 #ifdef HAVE_STDLIB_H
26951 # include <stdlib.h>
26959 std::basic_string<$char_type> foo;
26960 const $char_type* dummy = foo.c_str();
26965 rm -f conftest.$ac_objext
26966 if { (ac_try="$ac_compile"
26967 case "(($ac_try" in
26968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26969 *) ac_try_echo=$ac_try;;
26971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26972 (eval "$ac_compile") 2>conftest.er1
26974 grep -v '^
*+' conftest.er1 >conftest.err
26976 cat conftest.err >&5
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); } && {
26979 test -z "$ac_cxx_werror_flag" ||
26980 test ! -s conftest.err
26981 } && test -s conftest.$ac_objext; then
26982 wx_cv_class_stdbasicstring=yes
26984 echo "$as_me: failed program was:" >&5
26985 sed 's
/^
/| /' conftest.$ac_ext >&5
26987 wx_cv_class_stdbasicstring=no
26991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26995 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26996 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26998 if test "$wx_cv_class_stdbasicstring" != yes; then
26999 if test "$wxUSE_STL" = "yes"; then
27000 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27001 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27002 { (exit 1); exit 1; }; }
27003 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27004 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27005 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27006 { (exit 1); exit 1; }; }
27008 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27009 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27010 wxUSE_STD_STRING=no
27016 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27017 { echo "$as_me:$LINENO: checking for std::istream" >&5
27018 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27019 if test "${ac_cv_type_std__istream+set}" = set; then
27020 echo $ECHO_N "(cached) $ECHO_C" >&6
27022 cat >conftest.$ac_ext <<_ACEOF
27025 cat confdefs.h >>conftest.$ac_ext
27026 cat >>conftest.$ac_ext <<_ACEOF
27027 /* end confdefs.h. */
27028 #include <iostream>
27030 typedef std::istream ac__type_new_;
27034 if ((ac__type_new_ *) 0)
27036 if (sizeof (ac__type_new_))
27042 rm -f conftest.$ac_objext
27043 if { (ac_try="$ac_compile"
27044 case "(($ac_try" in
27045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27046 *) ac_try_echo=$ac_try;;
27048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27049 (eval "$ac_compile") 2>conftest.er1
27051 grep -v '^
*+' conftest.er1 >conftest.err
27053 cat conftest.err >&5
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); } && {
27056 test -z "$ac_cxx_werror_flag" ||
27057 test ! -s conftest.err
27058 } && test -s conftest.$ac_objext; then
27059 ac_cv_type_std__istream=yes
27061 echo "$as_me: failed program was:" >&5
27062 sed 's
/^
/| /' conftest.$ac_ext >&5
27064 ac_cv_type_std__istream=no
27067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27069 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27070 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27071 if test $ac_cv_type_std__istream = yes; then
27073 cat >>confdefs.h <<_ACEOF
27074 #define HAVE_STD__ISTREAM 1
27079 wxUSE_STD_IOSTREAM=no
27081 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27082 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27083 if test "${ac_cv_type_std__ostream+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27086 cat >conftest.$ac_ext <<_ACEOF
27089 cat confdefs.h >>conftest.$ac_ext
27090 cat >>conftest.$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27092 #include <iostream>
27094 typedef std::ostream ac__type_new_;
27098 if ((ac__type_new_ *) 0)
27100 if (sizeof (ac__type_new_))
27106 rm -f conftest.$ac_objext
27107 if { (ac_try="$ac_compile"
27108 case "(($ac_try" in
27109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27110 *) ac_try_echo=$ac_try;;
27112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27113 (eval "$ac_compile") 2>conftest.er1
27115 grep -v '^
*+' conftest.er1 >conftest.err
27117 cat conftest.err >&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); } && {
27120 test -z "$ac_cxx_werror_flag" ||
27121 test ! -s conftest.err
27122 } && test -s conftest.$ac_objext; then
27123 ac_cv_type_std__ostream=yes
27125 echo "$as_me: failed program was:" >&5
27126 sed 's
/^
/| /' conftest.$ac_ext >&5
27128 ac_cv_type_std__ostream=no
27131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27133 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27134 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27135 if test $ac_cv_type_std__ostream = yes; then
27137 cat >>confdefs.h <<_ACEOF
27138 #define HAVE_STD__OSTREAM 1
27143 wxUSE_STD_IOSTREAM=no
27147 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27148 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27149 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27150 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27151 { (exit 1); exit 1; }; }
27153 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27154 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27159 if test "$wxUSE_STL" = "yes"; then
27160 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27161 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27162 if test "${wx_cv_lib_stl+set}" = set; then
27163 echo $ECHO_N "(cached) $ECHO_C" >&6
27165 cat >conftest.$ac_ext <<_ACEOF
27168 cat confdefs.h >>conftest.$ac_ext
27169 cat >>conftest.$ac_ext <<_ACEOF
27170 /* end confdefs.h. */
27172 #include <functional>
27173 #include <algorithm>
27179 std::vector<int> moo;
27180 std::list<int> foo;
27181 std::vector<int>::iterator it =
27182 std::find_if(moo.begin(), moo.end(),
27183 std::bind2nd(std::less<int>(), 3));
27188 rm -f conftest.$ac_objext
27189 if { (ac_try="$ac_compile"
27190 case "(($ac_try" in
27191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27192 *) ac_try_echo=$ac_try;;
27194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27195 (eval "$ac_compile") 2>conftest.er1
27197 grep -v '^
*+' conftest.er1 >conftest.err
27199 cat conftest.err >&5
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); } && {
27202 test -z "$ac_cxx_werror_flag" ||
27203 test ! -s conftest.err
27204 } && test -s conftest.$ac_objext; then
27207 echo "$as_me: failed program was:" >&5
27208 sed 's
/^
/| /' conftest.$ac_ext >&5
27214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27217 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27218 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27220 if test "$wx_cv_lib_stl" != yes; then
27221 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27222 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27223 { (exit 1); exit 1; }; }
27226 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27227 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27228 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27229 echo $ECHO_N "(cached) $ECHO_C" >&6
27231 cat >conftest.$ac_ext <<_ACEOF
27234 cat confdefs.h >>conftest.$ac_ext
27235 cat >>conftest.$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27241 std::string foo, bar;
27243 foo.compare(1, 1, bar);
27244 foo.compare(1, 1, bar, 1, 1);
27246 foo.compare(1, 1, "");
27247 foo.compare(1, 1, "", 2);
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27261 grep -v '^
*+' conftest.er1 >conftest.err
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_cxx_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27269 wx_cv_func_stdstring_compare=yes
27271 echo "$as_me: failed program was:" >&5
27272 sed 's
/^
/| /' conftest.$ac_ext >&5
27274 wx_cv_func_stdstring_compare=no
27278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27281 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27282 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27284 if test "$wx_cv_func_stdstring_compare" = yes; then
27285 cat >>confdefs.h <<\_ACEOF
27286 #define HAVE_STD_STRING_COMPARE 1
27291 { echo "$as_me:$LINENO: checking for hash_map" >&5
27292 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27293 if test "${ac_cv_header_hash_map+set}" = set; then
27294 echo $ECHO_N "(cached) $ECHO_C" >&6
27296 cat >conftest.$ac_ext <<_ACEOF
27299 cat confdefs.h >>conftest.$ac_ext
27300 cat >>conftest.$ac_ext <<_ACEOF
27301 /* end confdefs.h. */
27305 #include <hash_map>
27307 rm -f conftest.$ac_objext
27308 if { (ac_try="$ac_compile"
27309 case "(($ac_try" in
27310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27311 *) ac_try_echo=$ac_try;;
27313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27314 (eval "$ac_compile") 2>conftest.er1
27316 grep -v '^
*+' conftest.er1 >conftest.err
27318 cat conftest.err >&5
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); } && {
27321 test -z "$ac_cxx_werror_flag" ||
27322 test ! -s conftest.err
27323 } && test -s conftest.$ac_objext; then
27324 ac_cv_header_hash_map=yes
27326 echo "$as_me: failed program was:" >&5
27327 sed 's
/^
/| /' conftest.$ac_ext >&5
27329 ac_cv_header_hash_map=no
27332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27334 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27335 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27336 if test $ac_cv_header_hash_map = yes; then
27337 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27338 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27339 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 cat >conftest.$ac_ext <<_ACEOF
27345 cat confdefs.h >>conftest.$ac_ext
27346 cat >>conftest.$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27348 #include <hash_map>
27349 #include <hash_set>
27353 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27354 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27359 rm -f conftest.$ac_objext
27360 if { (ac_try="$ac_compile"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27363 *) ac_try_echo=$ac_try;;
27365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_compile") 2>conftest.er1
27368 grep -v '^
*+' conftest.er1 >conftest.err
27370 cat conftest.err >&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } && {
27373 test -z "$ac_cxx_werror_flag" ||
27374 test ! -s conftest.err
27375 } && test -s conftest.$ac_objext; then
27376 wx_cv_class_stdhashmapset=yes
27378 echo "$as_me: failed program was:" >&5
27379 sed 's
/^
/| /' conftest.$ac_ext >&5
27381 wx_cv_class_stdhashmapset=no
27384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27388 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27389 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27394 if test "$wx_cv_class_stdhashmapset" = yes; then
27395 cat >>confdefs.h <<\_ACEOF
27396 #define HAVE_HASH_MAP 1
27399 cat >>confdefs.h <<\_ACEOF
27400 #define HAVE_STD_HASH_MAP 1
27405 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27406 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27407 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27408 echo $ECHO_N "(cached) $ECHO_C" >&6
27410 cat >conftest.$ac_ext <<_ACEOF
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27419 #include <ext/hash_map>
27421 rm -f conftest.$ac_objext
27422 if { (ac_try="$ac_compile"
27423 case "(($ac_try" in
27424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27425 *) ac_try_echo=$ac_try;;
27427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27428 (eval "$ac_compile") 2>conftest.er1
27430 grep -v '^
*+' conftest.er1 >conftest.err
27432 cat conftest.err >&5
27433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434 (exit $ac_status); } && {
27435 test -z "$ac_cxx_werror_flag" ||
27436 test ! -s conftest.err
27437 } && test -s conftest.$ac_objext; then
27438 ac_cv_header_ext_hash_map=yes
27440 echo "$as_me: failed program was:" >&5
27441 sed 's
/^
/| /' conftest.$ac_ext >&5
27443 ac_cv_header_ext_hash_map=no
27446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27448 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27449 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27450 if test $ac_cv_header_ext_hash_map = yes; then
27451 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27452 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27453 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27454 echo $ECHO_N "(cached) $ECHO_C" >&6
27456 cat >conftest.$ac_ext <<_ACEOF
27459 cat confdefs.h >>conftest.$ac_ext
27460 cat >>conftest.$ac_ext <<_ACEOF
27461 /* end confdefs.h. */
27462 #include <ext/hash_map>
27463 #include <ext/hash_set>
27467 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27468 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27473 rm -f conftest.$ac_objext
27474 if { (ac_try="$ac_compile"
27475 case "(($ac_try" in
27476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27477 *) ac_try_echo=$ac_try;;
27479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27480 (eval "$ac_compile") 2>conftest.er1
27482 grep -v '^
*+' conftest.er1 >conftest.err
27484 cat conftest.err >&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); } && {
27487 test -z "$ac_cxx_werror_flag" ||
27488 test ! -s conftest.err
27489 } && test -s conftest.$ac_objext; then
27490 wx_cv_class_gnuhashmapset=yes
27492 echo "$as_me: failed program was:" >&5
27493 sed 's
/^
/| /' conftest.$ac_ext >&5
27495 wx_cv_class_gnuhashmapset=no
27498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27502 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27503 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27508 if test "$wx_cv_class_gnuhashmapset" = yes; then
27509 cat >>confdefs.h <<\_ACEOF
27510 #define HAVE_EXT_HASH_MAP 1
27513 cat >>confdefs.h <<\_ACEOF
27514 #define HAVE_GNU_CXX_HASH_MAP 1
27521 ac_cpp='$CPP $CPPFLAGS'
27522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27523 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27529 /usr/local/include \
27531 /usr/Motif-2.1/include \
27532 /usr/Motif-1.2/include \
27533 /usr/include/Motif1.2 \
27536 /usr/openwin/include \
27540 /usr/X11R6/include \
27541 /usr/X11R6.4/include \
27542 /usr/X11R5/include \
27543 /usr/X11R4/include \
27545 /usr/include/X11R6 \
27546 /usr/include/X11R5 \
27547 /usr/include/X11R4 \
27549 /usr/local/X11R6/include \
27550 /usr/local/X11R5/include \
27551 /usr/local/X11R4/include \
27553 /usr/local/include/X11R6 \
27554 /usr/local/include/X11R5 \
27555 /usr/local/include/X11R4 \
27559 /usr/local/X11/include \
27560 /usr/local/include/X11 \
27562 /usr/XFree86/include/X11 \
27565 /usr/openwin/share/include"
27567 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27568 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27572 if test "${wx_cv_std_libpath+set}" = set; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27576 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27577 for e in a so sl dylib dll.a; do
27579 if test -f $libc; then
27582 cat >conftest.$ac_ext <<_ACEOF
27583 int main() { return 0; }
27585 rm -f conftest.$ac_objext conftest$ac_exeext
27586 if { (ac_try="$ac_link"
27587 case "(($ac_try" in
27588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27589 *) ac_try_echo=$ac_try;;
27591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27592 (eval "$ac_link") 2>conftest.er1
27594 grep -v '^
*+' conftest.er1 >conftest.err
27596 cat conftest.err >&5
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); } && {
27599 test -z "$ac_c_werror_flag" ||
27600 test ! -s conftest.err
27601 } && test -s conftest$ac_exeext &&
27602 $as_test_x conftest$ac_exeext; then
27603 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27605 echo "$as_me: failed program was:" >&5
27606 sed 's
/^
/| /' conftest.$ac_ext >&5
27611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27612 conftest$ac_exeext conftest.$ac_ext
27614 if test "x$wx_cv_std_libpath" != "x"; then
27620 if test "x$wx_cv_std_libpath" = "x"; then
27621 wx_cv_std_libpath="lib"
27630 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27631 wx_cv_std_libpath="lib/64"
27633 wx_cv_std_libpath="lib"
27638 if test "$ac_cv_sizeof_void_p" = 8 -a \
27639 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27640 wx_cv_std_libpath="lib64"
27642 wx_cv_std_libpath="lib"
27647 wx_cv_std_libpath="lib";
27651 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27652 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27654 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27656 if test "$build" != "$host" -a "$GCC" = yes; then
27657 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27658 cross_root=`dirname $cross_root`
27659 cross_root=`dirname $cross_root`
27661 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27662 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27663 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27665 if test -z "$PKG_CONFIG_PATH"; then
27666 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27667 export PKG_CONFIG_PATH
27670 if test -z "$x_includes" -o "$x_includes" = NONE; then
27673 for ac_dir in $SEARCH_INCLUDE /usr/include;
27675 if test -f "$ac_dir/X11/Intrinsic.h"; then
27676 ac_find_includes=$ac_dir
27681 x_includes=$ac_find_includes
27683 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27686 for ac_dir in $SEARCH_LIB;
27688 for ac_extension in a so sl dylib dll.a; do
27689 if test -f "$ac_dir/libXt.$ac_extension"; then
27690 ac_find_libraries=$ac_dir
27696 x_libraries=$ac_find_libraries
27702 cat >confcache <<\_ACEOF
27703 # This file is a shell script that caches the results of configure
27704 # tests run on this system so they can be shared between configure
27705 # scripts and configure runs, see configure's option
--config-cache.
27706 # It is not useful on other systems. If it contains results you don't
27707 # want to keep, you may remove or edit it.
27709 # config.status only pays attention to the cache file if you give it
27710 # the --recheck option to rerun configure.
27712 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27713 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27714 # following values.
27718 # The following way of writing the cache mishandles newlines in values,
27719 # but we know of no workaround that is simple, portable, and efficient.
27720 # So, we kill variables containing newlines.
27721 # Ultrix sh set writes to stderr and can't be redirected directly,
27722 # and sets the high bit in the cache file unless we assign to the vars.
27724 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27725 eval ac_val
=\$
$ac_var
27729 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27730 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27733 _
| IFS
| as_nl
) ;; #(
27734 *) $as_unset $ac_var ;;
27740 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27741 *${as_nl}ac_space
=\
*)
27742 # `set' does not quote correctly, so add quotes (double-quote
27743 # substitution turns \\\\ into \\, and sed turns \\ into \).
27746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27749 # `set' quotes correctly as required by POSIX, so do not add quotes.
27750 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27761 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27763 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27764 if test -w "$cache_file"; then
27765 test "x$cache_file" != "x/dev/null" &&
27766 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27767 echo "$as_me: updating cache $cache_file" >&6;}
27768 cat confcache
>$cache_file
27770 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27771 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27776 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27777 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27778 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27779 if test "${wx_cv_lib_glibc21+set}" = set; then
27780 echo $ECHO_N "(cached) $ECHO_C" >&6
27783 cat >conftest.
$ac_ext <<_ACEOF
27786 cat confdefs.h
>>conftest.
$ac_ext
27787 cat >>conftest.
$ac_ext <<_ACEOF
27788 /* end confdefs.h. */
27789 #include <features.h>
27794 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27802 rm -f conftest.
$ac_objext
27803 if { (ac_try
="$ac_compile"
27804 case "(($ac_try" in
27805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27806 *) ac_try_echo=$ac_try;;
27808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27809 (eval "$ac_compile") 2>conftest.er1
27811 grep -v '^ *+' conftest.er1 >conftest.err
27813 cat conftest.err >&5
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); } && {
27816 test -z "$ac_c_werror_flag" ||
27817 test ! -s conftest.err
27818 } && test -s conftest.$ac_objext; then
27820 wx_cv_lib_glibc21=yes
27823 echo "$as_me: failed program was:" >&5
27824 sed 's/^/| /' conftest.$ac_ext >&5
27827 wx_cv_lib_glibc21=no
27832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27835 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27836 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27837 if test "$wx_cv_lib_glibc21" = "yes"; then
27838 cat >>confdefs.h <<\_ACEOF
27839 #define wxHAVE_GLIBC2 1
27845 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27846 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27847 cat >>confdefs.h <<\_ACEOF
27848 #define _GNU_SOURCE 1
27859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27860 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27865 cat >conftest.$ac_ext <<_ACEOF
27868 cat confdefs.h >>conftest.$ac_ext
27869 cat >>conftest.$ac_ext <<_ACEOF
27870 /* end confdefs.h. */
27871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27873 #define $ac_func innocuous_$ac_func
27875 /* System header to define __stub macros and hopefully few prototypes,
27876 which can conflict with char $ac_func (); below.
27877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27878 <limits.h> exists even on freestanding compilers. */
27881 # include <limits.h>
27883 # include <assert.h>
27888 /* Override any GCC internal prototype to avoid an error.
27889 Use char because int might match the return type of a GCC
27890 builtin and then its argument prototype would still apply. */
27895 /* The GNU C library defines this for functions which it implements
27896 to always fail with ENOSYS. Some functions are actually named
27897 something starting with __ and the normal name is an alias. */
27898 #if defined __stub_$ac_func || defined __stub___$ac_func
27905 return $ac_func ();
27910 rm -f conftest.$ac_objext conftest$ac_exeext
27911 if { (ac_try="$ac_link"
27912 case "(($ac_try" in
27913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27914 *) ac_try_echo
=$ac_try;;
27916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27917 (eval "$ac_link") 2>conftest.er1
27919 grep -v '^ *+' conftest.er1
>conftest.err
27921 cat conftest.err
>&5
27922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27923 (exit $ac_status); } && {
27924 test -z "$ac_c_werror_flag" ||
27925 test ! -s conftest.err
27926 } && test -s conftest
$ac_exeext &&
27927 $as_test_x conftest
$ac_exeext; then
27928 eval "$as_ac_var=yes"
27930 echo "$as_me: failed program was:" >&5
27931 sed 's/^/| /' conftest.
$ac_ext >&5
27933 eval "$as_ac_var=no"
27936 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27937 conftest
$ac_exeext conftest.
$ac_ext
27939 ac_res
=`eval echo '${'$as_ac_var'}'`
27940 { echo "$as_me:$LINENO: result: $ac_res" >&5
27941 echo "${ECHO_T}$ac_res" >&6; }
27942 if test `eval echo '${'$as_ac_var'}'` = yes; then
27943 cat >>confdefs.h
<<_ACEOF
27944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27951 for ac_func
in floor
27953 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27954 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27956 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27959 cat >conftest.
$ac_ext <<_ACEOF
27962 cat confdefs.h
>>conftest.
$ac_ext
27963 cat >>conftest.
$ac_ext <<_ACEOF
27964 /* end confdefs.h. */
27965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27967 #define $ac_func innocuous_$ac_func
27969 /* System header to define __stub macros and hopefully few prototypes,
27970 which can conflict with char $ac_func (); below.
27971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27972 <limits.h> exists even on freestanding compilers. */
27975 # include <limits.h>
27977 # include <assert.h>
27982 /* Override any GCC internal prototype to avoid an error.
27983 Use char because int might match the return type of a GCC
27984 builtin and then its argument prototype would still apply. */
27989 /* The GNU C library defines this for functions which it implements
27990 to always fail with ENOSYS. Some functions are actually named
27991 something starting with __ and the normal name is an alias. */
27992 #if defined __stub_$ac_func || defined __stub___$ac_func
27999 return $ac_func ();
28004 rm -f conftest.
$ac_objext conftest
$ac_exeext
28005 if { (ac_try
="$ac_link"
28006 case "(($ac_try" in
28007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28008 *) ac_try_echo=$ac_try;;
28010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28011 (eval "$ac_link") 2>conftest.er1
28013 grep -v '^ *+' conftest.er1 >conftest.err
28015 cat conftest.err >&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } && {
28018 test -z "$ac_c_werror_flag" ||
28019 test ! -s conftest.err
28020 } && test -s conftest$ac_exeext &&
28021 $as_test_x conftest$ac_exeext; then
28022 eval "$as_ac_var=yes"
28024 echo "$as_me: failed program was:" >&5
28025 sed 's/^/| /' conftest.$ac_ext >&5
28027 eval "$as_ac_var=no"
28030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28031 conftest$ac_exeext conftest.$ac_ext
28033 ac_res=`eval echo '${'$as_ac_var'}'`
28034 { echo "$as_me:$LINENO: result: $ac_res" >&5
28035 echo "${ECHO_T}$ac_res" >&6; }
28036 if test `eval echo '${'$as_ac_var'}'` = yes; then
28037 cat >>confdefs.h <<_ACEOF
28038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28044 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28045 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28046 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28047 { echo "$as_me:$LINENO: result: yes" >&5
28048 echo "${ECHO_T}yes" >&6; }
28050 { echo "$as_me:$LINENO: result: no" >&5
28051 echo "${ECHO_T}no" >&6; }
28053 # use different functions to avoid configure caching
28059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28060 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28062 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28063 echo $ECHO_N "(cached) $ECHO_C" >&6
28065 cat >conftest.$ac_ext <<_ACEOF
28068 cat confdefs.h >>conftest.$ac_ext
28069 cat >>conftest.$ac_ext <<_ACEOF
28070 /* end confdefs.h. */
28071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28073 #define $ac_func innocuous_$ac_func
28075 /* System header to define __stub macros and hopefully few prototypes,
28076 which can conflict with char $ac_func (); below.
28077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28078 <limits.h> exists even on freestanding compilers. */
28081 # include <limits.h>
28083 # include <assert.h>
28088 /* Override any GCC internal prototype to avoid an error.
28089 Use char because int might match the return type of a GCC
28090 builtin and then its argument prototype would still apply. */
28095 /* The GNU C library defines this for functions which it implements
28096 to always fail with ENOSYS. Some functions are actually named
28097 something starting with __ and the normal name is an alias. */
28098 #if defined __stub_$ac_func || defined __stub___$ac_func
28105 return $ac_func ();
28110 rm -f conftest.$ac_objext conftest$ac_exeext
28111 if { (ac_try="$ac_link"
28112 case "(($ac_try" in
28113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28114 *) ac_try_echo
=$ac_try;;
28116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28117 (eval "$ac_link") 2>conftest.er1
28119 grep -v '^ *+' conftest.er1
>conftest.err
28121 cat conftest.err
>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } && {
28124 test -z "$ac_c_werror_flag" ||
28125 test ! -s conftest.err
28126 } && test -s conftest
$ac_exeext &&
28127 $as_test_x conftest
$ac_exeext; then
28128 eval "$as_ac_var=yes"
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.
$ac_ext >&5
28133 eval "$as_ac_var=no"
28136 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28137 conftest
$ac_exeext conftest.
$ac_ext
28139 ac_res
=`eval echo '${'$as_ac_var'}'`
28140 { echo "$as_me:$LINENO: result: $ac_res" >&5
28141 echo "${ECHO_T}$ac_res" >&6; }
28142 if test `eval echo '${'$as_ac_var'}'` = yes; then
28143 cat >>confdefs.h
<<_ACEOF
28144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28151 for ac_func
in ceil
28153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28156 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28159 cat >conftest.
$ac_ext <<_ACEOF
28162 cat confdefs.h
>>conftest.
$ac_ext
28163 cat >>conftest.
$ac_ext <<_ACEOF
28164 /* end confdefs.h. */
28165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28167 #define $ac_func innocuous_$ac_func
28169 /* System header to define __stub macros and hopefully few prototypes,
28170 which can conflict with char $ac_func (); below.
28171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28172 <limits.h> exists even on freestanding compilers. */
28175 # include <limits.h>
28177 # include <assert.h>
28182 /* Override any GCC internal prototype to avoid an error.
28183 Use char because int might match the return type of a GCC
28184 builtin and then its argument prototype would still apply. */
28189 /* The GNU C library defines this for functions which it implements
28190 to always fail with ENOSYS. Some functions are actually named
28191 something starting with __ and the normal name is an alias. */
28192 #if defined __stub_$ac_func || defined __stub___$ac_func
28199 return $ac_func ();
28204 rm -f conftest.
$ac_objext conftest
$ac_exeext
28205 if { (ac_try
="$ac_link"
28206 case "(($ac_try" in
28207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28208 *) ac_try_echo=$ac_try;;
28210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28211 (eval "$ac_link") 2>conftest.er1
28213 grep -v '^ *+' conftest.er1 >conftest.err
28215 cat conftest.err >&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); } && {
28218 test -z "$ac_c_werror_flag" ||
28219 test ! -s conftest.err
28220 } && test -s conftest$ac_exeext &&
28221 $as_test_x conftest$ac_exeext; then
28222 eval "$as_ac_var=yes"
28224 echo "$as_me: failed program was:" >&5
28225 sed 's/^/| /' conftest.$ac_ext >&5
28227 eval "$as_ac_var=no"
28230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28231 conftest$ac_exeext conftest.$ac_ext
28233 ac_res=`eval echo '${'$as_ac_var'}'`
28234 { echo "$as_me:$LINENO: result: $ac_res" >&5
28235 echo "${ECHO_T}$ac_res" >&6; }
28236 if test `eval echo '${'$as_ac_var'}'` = yes; then
28237 cat >>confdefs.h <<_ACEOF
28238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28244 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28245 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28246 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28247 { echo "$as_me:$LINENO: result: yes" >&5
28248 echo "${ECHO_T}yes" >&6; }
28250 { echo "$as_me:$LINENO: result: no" >&5
28251 echo "${ECHO_T}no" >&6; }
28252 # not sure we should warn the user, crash, etc.
28257 ac_cpp='$CXXCPP $CPPFLAGS'
28258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28262 if test "wxUSE_UNICODE" = "yes"; then
28264 for wx_func in wcstoull
28266 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28267 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28268 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28269 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 cat >conftest.$ac_ext <<_ACEOF
28276 cat confdefs.h >>conftest.$ac_ext
28277 cat >>conftest.$ac_ext <<_ACEOF
28278 /* end confdefs.h. */
28281 $ac_includes_default
28297 rm -f conftest.$ac_objext conftest$ac_exeext
28298 if { (ac_try="$ac_link"
28299 case "(($ac_try" in
28300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28301 *) ac_try_echo
=$ac_try;;
28303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28304 (eval "$ac_link") 2>conftest.er1
28306 grep -v '^ *+' conftest.er1
>conftest.err
28308 cat conftest.err
>&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); } && {
28311 test -z "$ac_cxx_werror_flag" ||
28312 test ! -s conftest.err
28313 } && test -s conftest
$ac_exeext &&
28314 $as_test_x conftest
$ac_exeext; then
28315 eval wx_cv_func_
$wx_func=yes
28317 echo "$as_me: failed program was:" >&5
28318 sed 's/^/| /' conftest.
$ac_ext >&5
28320 eval wx_cv_func_
$wx_func=no
28323 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28324 conftest
$ac_exeext conftest.
$ac_ext
28327 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28328 { echo "$as_me:$LINENO: result: $ac_res" >&5
28329 echo "${ECHO_T}$ac_res" >&6; }
28331 if eval test \
$wx_cv_func_$wx_func = yes
28333 cat >>confdefs.h
<<_ACEOF
28334 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28346 for wx_func
in strtoull
28348 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28349 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28350 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28351 echo $ECHO_N "(cached) $ECHO_C" >&6
28354 cat >conftest.
$ac_ext <<_ACEOF
28358 cat confdefs.h
>>conftest.
$ac_ext
28359 cat >>conftest.
$ac_ext <<_ACEOF
28360 /* end confdefs.h. */
28363 $ac_includes_default
28379 rm -f conftest.
$ac_objext conftest
$ac_exeext
28380 if { (ac_try
="$ac_link"
28381 case "(($ac_try" in
28382 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28383 *) ac_try_echo=$ac_try;;
28385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28386 (eval "$ac_link") 2>conftest.er1
28388 grep -v '^ *+' conftest.er1 >conftest.err
28390 cat conftest.err >&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } && {
28393 test -z "$ac_cxx_werror_flag" ||
28394 test ! -s conftest.err
28395 } && test -s conftest$ac_exeext &&
28396 $as_test_x conftest$ac_exeext; then
28397 eval wx_cv_func_$wx_func=yes
28399 echo "$as_me: failed program was:" >&5
28400 sed 's/^/| /' conftest.$ac_ext >&5
28402 eval wx_cv_func_$wx_func=no
28405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28406 conftest$ac_exeext conftest.$ac_ext
28409 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28410 { echo "$as_me:$LINENO: result: $ac_res" >&5
28411 echo "${ECHO_T}$ac_res" >&6; }
28413 if eval test \$wx_cv_func_$wx_func = yes
28415 cat >>confdefs.h <<_ACEOF
28416 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28428 ac_cpp='$CPP $CPPFLAGS'
28429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28436 if test "$wxUSE_REGEX" != "no"; then
28437 cat >>confdefs.h <<\_ACEOF
28438 #define wxUSE_REGEX 1
28442 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28443 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28444 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28445 wxUSE_REGEX=builtin
28448 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28449 { echo "$as_me:$LINENO: checking for regex.h" >&5
28450 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28451 if test "${ac_cv_header_regex_h+set}" = set; then
28452 echo $ECHO_N "(cached) $ECHO_C" >&6
28454 cat >conftest.$ac_ext <<_ACEOF
28457 cat confdefs.h >>conftest.$ac_ext
28458 cat >>conftest.$ac_ext <<_ACEOF
28459 /* end confdefs.h. */
28464 rm -f conftest.$ac_objext
28465 if { (ac_try="$ac_compile"
28466 case "(($ac_try" in
28467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28468 *) ac_try_echo
=$ac_try;;
28470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28471 (eval "$ac_compile") 2>conftest.er1
28473 grep -v '^ *+' conftest.er1
>conftest.err
28475 cat conftest.err
>&5
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); } && {
28478 test -z "$ac_c_werror_flag" ||
28479 test ! -s conftest.err
28480 } && test -s conftest.
$ac_objext; then
28481 ac_cv_header_regex_h
=yes
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.
$ac_ext >&5
28486 ac_cv_header_regex_h
=no
28489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28491 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28492 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28493 if test $ac_cv_header_regex_h = yes; then
28496 for ac_func
in regcomp re_search
28498 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28501 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28502 echo $ECHO_N "(cached) $ECHO_C" >&6
28504 cat >conftest.
$ac_ext <<_ACEOF
28507 cat confdefs.h
>>conftest.
$ac_ext
28508 cat >>conftest.
$ac_ext <<_ACEOF
28509 /* end confdefs.h. */
28510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28512 #define $ac_func innocuous_$ac_func
28514 /* System header to define __stub macros and hopefully few prototypes,
28515 which can conflict with char $ac_func (); below.
28516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28517 <limits.h> exists even on freestanding compilers. */
28520 # include <limits.h>
28522 # include <assert.h>
28527 /* Override any GCC internal prototype to avoid an error.
28528 Use char because int might match the return type of a GCC
28529 builtin and then its argument prototype would still apply. */
28534 /* The GNU C library defines this for functions which it implements
28535 to always fail with ENOSYS. Some functions are actually named
28536 something starting with __ and the normal name is an alias. */
28537 #if defined __stub_$ac_func || defined __stub___$ac_func
28544 return $ac_func ();
28549 rm -f conftest.
$ac_objext conftest
$ac_exeext
28550 if { (ac_try
="$ac_link"
28551 case "(($ac_try" in
28552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28553 *) ac_try_echo=$ac_try;;
28555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28556 (eval "$ac_link") 2>conftest.er1
28558 grep -v '^ *+' conftest.er1 >conftest.err
28560 cat conftest.err >&5
28561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28562 (exit $ac_status); } && {
28563 test -z "$ac_c_werror_flag" ||
28564 test ! -s conftest.err
28565 } && test -s conftest$ac_exeext &&
28566 $as_test_x conftest$ac_exeext; then
28567 eval "$as_ac_var=yes"
28569 echo "$as_me: failed program was:" >&5
28570 sed 's/^/| /' conftest.$ac_ext >&5
28572 eval "$as_ac_var=no"
28575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28576 conftest$ac_exeext conftest.$ac_ext
28578 ac_res=`eval echo '${'$as_ac_var'}'`
28579 { echo "$as_me:$LINENO: result: $ac_res" >&5
28580 echo "${ECHO_T}$ac_res" >&6; }
28581 if test `eval echo '${'$as_ac_var'}'` = yes; then
28582 cat >>confdefs.h <<_ACEOF
28583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28593 if test "x$ac_cv_func_regcomp" != "xyes"; then
28594 if test "$wxUSE_REGEX" = "sys" ; then
28595 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28596 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28597 { (exit 1); exit 1; }; }
28599 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28600 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28601 wxUSE_REGEX=builtin
28605 cat >>confdefs.h <<\_ACEOF
28606 #define WX_NO_REGEX_ADVANCED 1
28615 if test "$wxUSE_ZLIB" != "no" ; then
28616 cat >>confdefs.h <<\_ACEOF
28617 #define wxUSE_ZLIB 1
28621 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28622 if test "$USE_DARWIN" = 1; then
28623 system_zlib_h_ok="yes"
28625 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28626 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28627 if test "${ac_cv_header_zlib_h+set}" = set; then
28628 echo $ECHO_N "(cached) $ECHO_C" >&6
28630 if test "$cross_compiling" = yes; then
28631 unset ac_cv_header_zlib_h
28634 cat >conftest.$ac_ext <<_ACEOF
28637 cat confdefs.h >>conftest.$ac_ext
28638 cat >>conftest.$ac_ext <<_ACEOF
28639 /* end confdefs.h. */
28646 FILE *f=fopen("conftestval", "w");
28649 ZLIB_VERSION[0] == '1' &&
28650 (ZLIB_VERSION[2] > '1' ||
28651 (ZLIB_VERSION[2] == '1' &&
28652 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28657 rm -f conftest$ac_exeext
28658 if { (ac_try="$ac_link"
28659 case "(($ac_try" in
28660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28661 *) ac_try_echo
=$ac_try;;
28663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28664 (eval "$ac_link") 2>&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28668 { (case "(($ac_try" in
28669 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28670 *) ac_try_echo=$ac_try;;
28672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28673 (eval "$ac_try") 2>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; }; then
28677 ac_cv_header_zlib_h=`cat conftestval
`
28679 echo "$as_me: program exited with status $ac_status" >&5
28680 echo "$as_me: failed program was:" >&5
28681 sed 's/^/| /' conftest.$ac_ext >&5
28683 ( exit $ac_status )
28684 ac_cv_header_zlib_h=no
28686 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28692 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28693 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28694 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28695 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28696 if test "${ac_cv_header_zlib_h+set}" = set; then
28697 echo $ECHO_N "(cached) $ECHO_C" >&6
28699 cat >conftest.$ac_ext <<_ACEOF
28702 cat confdefs.h >>conftest.$ac_ext
28703 cat >>conftest.$ac_ext <<_ACEOF
28704 /* end confdefs.h. */
28709 rm -f conftest.$ac_objext
28710 if { (ac_try="$ac_compile"
28711 case "(($ac_try" in
28712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28713 *) ac_try_echo
=$ac_try;;
28715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28716 (eval "$ac_compile") 2>conftest.er1
28718 grep -v '^ *+' conftest.er1
>conftest.err
28720 cat conftest.err
>&5
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); } && {
28723 test -z "$ac_c_werror_flag" ||
28724 test ! -s conftest.err
28725 } && test -s conftest.
$ac_objext; then
28726 ac_cv_header_zlib_h
=yes
28728 echo "$as_me: failed program was:" >&5
28729 sed 's/^/| /' conftest.
$ac_ext >&5
28731 ac_cv_header_zlib_h
=no
28734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28736 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28737 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28741 system_zlib_h_ok
=$ac_cv_header_zlib_h
28744 if test "$system_zlib_h_ok" = "yes"; then
28745 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28746 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28747 if test "${ac_cv_lib_z_deflate+set}" = set; then
28748 echo $ECHO_N "(cached) $ECHO_C" >&6
28750 ac_check_lib_save_LIBS
=$LIBS
28752 cat >conftest.
$ac_ext <<_ACEOF
28755 cat confdefs.h
>>conftest.
$ac_ext
28756 cat >>conftest.
$ac_ext <<_ACEOF
28757 /* end confdefs.h. */
28759 /* Override any GCC internal prototype to avoid an error.
28760 Use char because int might match the return type of a GCC
28761 builtin and then its argument prototype would still apply. */
28774 rm -f conftest.
$ac_objext conftest
$ac_exeext
28775 if { (ac_try
="$ac_link"
28776 case "(($ac_try" in
28777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28778 *) ac_try_echo=$ac_try;;
28780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28781 (eval "$ac_link") 2>conftest.er1
28783 grep -v '^ *+' conftest.er1 >conftest.err
28785 cat conftest.err >&5
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); } && {
28788 test -z "$ac_c_werror_flag" ||
28789 test ! -s conftest.err
28790 } && test -s conftest$ac_exeext &&
28791 $as_test_x conftest$ac_exeext; then
28792 ac_cv_lib_z_deflate=yes
28794 echo "$as_me: failed program was:" >&5
28795 sed 's/^/| /' conftest.$ac_ext >&5
28797 ac_cv_lib_z_deflate=no
28800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28801 conftest$ac_exeext conftest.$ac_ext
28802 LIBS=$ac_check_lib_save_LIBS
28804 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28805 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28806 if test $ac_cv_lib_z_deflate = yes; then
28812 if test "x$ZLIB_LINK" = "x" ; then
28813 if test "$wxUSE_ZLIB" = "sys" ; then
28814 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28815 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28816 { (exit 1); exit 1; }; }
28818 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28819 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28830 if test "$wxUSE_LIBPNG" != "no" ; then
28831 cat >>confdefs.h <<\_ACEOF
28832 #define wxUSE_LIBPNG 1
28836 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28837 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28838 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28842 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28843 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28844 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28845 wxUSE_LIBPNG=builtin
28848 if test "$wxUSE_MGL" != 1 ; then
28849 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28850 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28851 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28852 if test "${ac_cv_header_png_h+set}" = set; then
28853 echo $ECHO_N "(cached) $ECHO_C" >&6
28855 if test "$cross_compiling" = yes; then
28856 unset ac_cv_header_png_h
28859 cat >conftest.$ac_ext <<_ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28871 FILE *f=fopen("conftestval", "w");
28874 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28879 rm -f conftest$ac_exeext
28880 if { (ac_try="$ac_link"
28881 case "(($ac_try" in
28882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28883 *) ac_try_echo
=$ac_try;;
28885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28886 (eval "$ac_link") 2>&5
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28890 { (case "(($ac_try" in
28891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28892 *) ac_try_echo=$ac_try;;
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_try") 2>&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); }; }; then
28899 ac_cv_header_png_h=`cat conftestval
`
28901 echo "$as_me: program exited with status $ac_status" >&5
28902 echo "$as_me: failed program was:" >&5
28903 sed 's/^/| /' conftest.$ac_ext >&5
28905 ( exit $ac_status )
28906 ac_cv_header_png_h=no
28908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28914 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28915 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28916 { echo "$as_me:$LINENO: checking for png.h" >&5
28917 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28918 if test "${ac_cv_header_png_h+set}" = set; then
28919 echo $ECHO_N "(cached) $ECHO_C" >&6
28921 cat >conftest.$ac_ext <<_ACEOF
28924 cat confdefs.h >>conftest.$ac_ext
28925 cat >>conftest.$ac_ext <<_ACEOF
28926 /* end confdefs.h. */
28931 rm -f conftest.$ac_objext
28932 if { (ac_try="$ac_compile"
28933 case "(($ac_try" in
28934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28935 *) ac_try_echo
=$ac_try;;
28937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28938 (eval "$ac_compile") 2>conftest.er1
28940 grep -v '^ *+' conftest.er1
>conftest.err
28942 cat conftest.err
>&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); } && {
28945 test -z "$ac_c_werror_flag" ||
28946 test ! -s conftest.err
28947 } && test -s conftest.
$ac_objext; then
28948 ac_cv_header_png_h
=yes
28950 echo "$as_me: failed program was:" >&5
28951 sed 's/^/| /' conftest.
$ac_ext >&5
28953 ac_cv_header_png_h
=no
28956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28958 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28959 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28963 if test "$ac_cv_header_png_h" = "yes"; then
28964 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28965 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28966 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28967 echo $ECHO_N "(cached) $ECHO_C" >&6
28969 ac_check_lib_save_LIBS
=$LIBS
28970 LIBS
="-lpng -lz -lm $LIBS"
28971 cat >conftest.
$ac_ext <<_ACEOF
28974 cat confdefs.h
>>conftest.
$ac_ext
28975 cat >>conftest.
$ac_ext <<_ACEOF
28976 /* end confdefs.h. */
28978 /* Override any GCC internal prototype to avoid an error.
28979 Use char because int might match the return type of a GCC
28980 builtin and then its argument prototype would still apply. */
28984 char png_check_sig ();
28988 return png_check_sig ();
28993 rm -f conftest.
$ac_objext conftest
$ac_exeext
28994 if { (ac_try
="$ac_link"
28995 case "(($ac_try" in
28996 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28997 *) ac_try_echo=$ac_try;;
28999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29000 (eval "$ac_link") 2>conftest.er1
29002 grep -v '^ *+' conftest.er1 >conftest.err
29004 cat conftest.err >&5
29005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006 (exit $ac_status); } && {
29007 test -z "$ac_c_werror_flag" ||
29008 test ! -s conftest.err
29009 } && test -s conftest$ac_exeext &&
29010 $as_test_x conftest$ac_exeext; then
29011 ac_cv_lib_png_png_check_sig=yes
29013 echo "$as_me: failed program was:" >&5
29014 sed 's/^/| /' conftest.$ac_ext >&5
29016 ac_cv_lib_png_png_check_sig=no
29019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29020 conftest$ac_exeext conftest.$ac_ext
29021 LIBS=$ac_check_lib_save_LIBS
29023 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29024 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29025 if test $ac_cv_lib_png_png_check_sig = yes; then
29026 PNG_LINK=" -lpng -lz"
29031 if test "x$PNG_LINK" = "x" ; then
29032 if test "$wxUSE_LIBPNG" = "sys" ; then
29033 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29034 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29035 { (exit 1); exit 1; }; }
29037 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29038 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29039 wxUSE_LIBPNG=builtin
29050 if test "$wxUSE_LIBJPEG" != "no" ; then
29051 cat >>confdefs.h <<\_ACEOF
29052 #define wxUSE_LIBJPEG 1
29056 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29057 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29058 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29062 if test "$wxUSE_MGL" != 1 ; then
29063 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29064 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29065 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29066 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29067 echo $ECHO_N "(cached) $ECHO_C" >&6
29069 cat >conftest.$ac_ext <<_ACEOF
29072 cat confdefs.h >>conftest.$ac_ext
29073 cat >>conftest.$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29076 #undef HAVE_STDLIB_H
29078 #include <jpeglib.h>
29089 rm -f conftest.$ac_objext
29090 if { (ac_try="$ac_compile"
29091 case "(($ac_try" in
29092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29093 *) ac_try_echo
=$ac_try;;
29095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29096 (eval "$ac_compile") 2>conftest.er1
29098 grep -v '^ *+' conftest.er1
>conftest.err
29100 cat conftest.err
>&5
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); } && {
29103 test -z "$ac_c_werror_flag" ||
29104 test ! -s conftest.err
29105 } && test -s conftest.
$ac_objext; then
29106 ac_cv_header_jpeglib_h
=yes
29108 echo "$as_me: failed program was:" >&5
29109 sed 's/^/| /' conftest.
$ac_ext >&5
29111 ac_cv_header_jpeglib_h
=no
29115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29119 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29120 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29122 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29123 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29124 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29125 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29126 echo $ECHO_N "(cached) $ECHO_C" >&6
29128 ac_check_lib_save_LIBS
=$LIBS
29129 LIBS
="-ljpeg $LIBS"
29130 cat >conftest.
$ac_ext <<_ACEOF
29133 cat confdefs.h
>>conftest.
$ac_ext
29134 cat >>conftest.
$ac_ext <<_ACEOF
29135 /* end confdefs.h. */
29137 /* Override any GCC internal prototype to avoid an error.
29138 Use char because int might match the return type of a GCC
29139 builtin and then its argument prototype would still apply. */
29143 char jpeg_read_header ();
29147 return jpeg_read_header ();
29152 rm -f conftest.
$ac_objext conftest
$ac_exeext
29153 if { (ac_try
="$ac_link"
29154 case "(($ac_try" in
29155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29156 *) ac_try_echo=$ac_try;;
29158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29159 (eval "$ac_link") 2>conftest.er1
29161 grep -v '^ *+' conftest.er1 >conftest.err
29163 cat conftest.err >&5
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); } && {
29166 test -z "$ac_c_werror_flag" ||
29167 test ! -s conftest.err
29168 } && test -s conftest$ac_exeext &&
29169 $as_test_x conftest$ac_exeext; then
29170 ac_cv_lib_jpeg_jpeg_read_header=yes
29172 echo "$as_me: failed program was:" >&5
29173 sed 's/^/| /' conftest.$ac_ext >&5
29175 ac_cv_lib_jpeg_jpeg_read_header=no
29178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29179 conftest$ac_exeext conftest.$ac_ext
29180 LIBS=$ac_check_lib_save_LIBS
29182 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29183 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29184 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29185 JPEG_LINK=" -ljpeg"
29190 if test "x$JPEG_LINK" = "x" ; then
29191 if test "$wxUSE_LIBJPEG" = "sys" ; then
29192 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29193 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29194 { (exit 1); exit 1; }; }
29196 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29197 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29198 wxUSE_LIBJPEG=builtin
29203 if test "$wxUSE_MSW" = 1; then
29204 { echo "$as_me:$LINENO: checking for boolean" >&5
29205 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29206 if test "${ac_cv_type_boolean+set}" = set; then
29207 echo $ECHO_N "(cached) $ECHO_C" >&6
29209 cat >conftest.$ac_ext <<_ACEOF
29212 cat confdefs.h >>conftest.$ac_ext
29213 cat >>conftest.$ac_ext <<_ACEOF
29214 /* end confdefs.h. */
29215 #include <windows.h>
29217 typedef boolean ac__type_new_;
29221 if ((ac__type_new_ *) 0)
29223 if (sizeof (ac__type_new_))
29229 rm -f conftest.$ac_objext
29230 if { (ac_try="$ac_compile"
29231 case "(($ac_try" in
29232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29233 *) ac_try_echo
=$ac_try;;
29235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29236 (eval "$ac_compile") 2>conftest.er1
29238 grep -v '^ *+' conftest.er1
>conftest.err
29240 cat conftest.err
>&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } && {
29243 test -z "$ac_c_werror_flag" ||
29244 test ! -s conftest.err
29245 } && test -s conftest.
$ac_objext; then
29246 ac_cv_type_boolean
=yes
29248 echo "$as_me: failed program was:" >&5
29249 sed 's/^/| /' conftest.
$ac_ext >&5
29251 ac_cv_type_boolean
=no
29254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29256 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29257 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29258 if test $ac_cv_type_boolean = yes; then
29260 cat >>confdefs.h
<<_ACEOF
29261 #define HAVE_BOOLEAN 1
29265 { echo "$as_me:$LINENO: checking for boolean" >&5
29266 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29267 if test "${ac_cv_type_boolean+set}" = set; then
29268 echo $ECHO_N "(cached) $ECHO_C" >&6
29270 cat >conftest.
$ac_ext <<_ACEOF
29273 cat confdefs.h
>>conftest.
$ac_ext
29274 cat >>conftest.
$ac_ext <<_ACEOF
29275 /* end confdefs.h. */
29277 #undef HAVE_BOOLEAN
29279 #include <jpeglib.h>
29282 typedef boolean ac__type_new_;
29286 if ((ac__type_new_ *) 0)
29288 if (sizeof (ac__type_new_))
29294 rm -f conftest.
$ac_objext
29295 if { (ac_try
="$ac_compile"
29296 case "(($ac_try" in
29297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29298 *) ac_try_echo=$ac_try;;
29300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29301 (eval "$ac_compile") 2>conftest.er1
29303 grep -v '^ *+' conftest.er1 >conftest.err
29305 cat conftest.err >&5
29306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29307 (exit $ac_status); } && {
29308 test -z "$ac_c_werror_flag" ||
29309 test ! -s conftest.err
29310 } && test -s conftest.$ac_objext; then
29311 ac_cv_type_boolean=yes
29313 echo "$as_me: failed program was:" >&5
29314 sed 's/^/| /' conftest.$ac_ext >&5
29316 ac_cv_type_boolean=no
29319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29321 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29322 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29324 # The cast to long int works around a bug in the HP C Compiler
29325 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29326 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29327 # This bug is HP SR number 8606223364.
29328 { echo "$as_me:$LINENO: checking size of boolean" >&5
29329 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29330 if test "${ac_cv_sizeof_boolean+set}" = set; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 if test "$cross_compiling" = yes; then
29334 # Depending upon the size, compute the lo and hi bounds.
29335 cat >conftest.$ac_ext <<_ACEOF
29338 cat confdefs.h >>conftest.$ac_ext
29339 cat >>conftest.$ac_ext <<_ACEOF
29340 /* end confdefs.h. */
29342 #undef HAVE_BOOLEAN
29344 #include <jpeglib.h>
29347 typedef boolean ac__type_sizeof_;
29351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29358 rm -f conftest.$ac_objext
29359 if { (ac_try="$ac_compile"
29360 case "(($ac_try" in
29361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29362 *) ac_try_echo=$ac_try;;
29364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29365 (eval "$ac_compile") 2>conftest.er1
29367 grep -v '^
*+' conftest.er1 >conftest.err
29369 cat conftest.err >&5
29370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29371 (exit $ac_status); } && {
29372 test -z "$ac_c_werror_flag" ||
29373 test ! -s conftest.err
29374 } && test -s conftest.$ac_objext; then
29377 cat >conftest.$ac_ext <<_ACEOF
29380 cat confdefs.h >>conftest.$ac_ext
29381 cat >>conftest.$ac_ext <<_ACEOF
29382 /* end confdefs.h. */
29384 #undef HAVE_BOOLEAN
29386 #include <jpeglib.h>
29389 typedef boolean ac__type_sizeof_;
29393 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29400 rm -f conftest.$ac_objext
29401 if { (ac_try="$ac_compile"
29402 case "(($ac_try" in
29403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29404 *) ac_try_echo=$ac_try;;
29406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29407 (eval "$ac_compile") 2>conftest.er1
29409 grep -v '^
*+' conftest.er1 >conftest.err
29411 cat conftest.err >&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); } && {
29414 test -z "$ac_c_werror_flag" ||
29415 test ! -s conftest.err
29416 } && test -s conftest.$ac_objext; then
29417 ac_hi=$ac_mid; break
29419 echo "$as_me: failed program was:" >&5
29420 sed 's
/^
/| /' conftest.$ac_ext >&5
29422 ac_lo=`expr $ac_mid + 1`
29423 if test $ac_lo -le $ac_mid; then
29427 ac_mid=`expr 2 '*' $ac_mid + 1`
29430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433 echo "$as_me: failed program was:" >&5
29434 sed 's
/^
/| /' conftest.$ac_ext >&5
29436 cat >conftest.$ac_ext <<_ACEOF
29439 cat confdefs.h >>conftest.$ac_ext
29440 cat >>conftest.$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29443 #undef HAVE_BOOLEAN
29445 #include <jpeglib.h>
29448 typedef boolean ac__type_sizeof_;
29452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29459 rm -f conftest.$ac_objext
29460 if { (ac_try="$ac_compile"
29461 case "(($ac_try" in
29462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29463 *) ac_try_echo=$ac_try;;
29465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29466 (eval "$ac_compile") 2>conftest.er1
29468 grep -v '^
*+' conftest.er1 >conftest.err
29470 cat conftest.err >&5
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); } && {
29473 test -z "$ac_c_werror_flag" ||
29474 test ! -s conftest.err
29475 } && test -s conftest.$ac_objext; then
29478 cat >conftest.$ac_ext <<_ACEOF
29481 cat confdefs.h >>conftest.$ac_ext
29482 cat >>conftest.$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29485 #undef HAVE_BOOLEAN
29487 #include <jpeglib.h>
29490 typedef boolean ac__type_sizeof_;
29494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29501 rm -f conftest.$ac_objext
29502 if { (ac_try="$ac_compile"
29503 case "(($ac_try" in
29504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29505 *) ac_try_echo=$ac_try;;
29507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29508 (eval "$ac_compile") 2>conftest.er1
29510 grep -v '^
*+' conftest.er1 >conftest.err
29512 cat conftest.err >&5
29513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29514 (exit $ac_status); } && {
29515 test -z "$ac_c_werror_flag" ||
29516 test ! -s conftest.err
29517 } && test -s conftest.$ac_objext; then
29518 ac_lo=$ac_mid; break
29520 echo "$as_me: failed program was:" >&5
29521 sed 's
/^
/| /' conftest.$ac_ext >&5
29523 ac_hi=`expr '(' $ac_mid ')' - 1`
29524 if test $ac_mid -le $ac_hi; then
29528 ac_mid=`expr 2 '*' $ac_mid`
29531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29534 echo "$as_me: failed program was:" >&5
29535 sed 's
/^
/| /' conftest.$ac_ext >&5
29540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29544 # Binary search between lo and hi bounds.
29545 while test "x$ac_lo" != "x$ac_hi"; do
29546 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29547 cat >conftest.$ac_ext <<_ACEOF
29550 cat confdefs.h >>conftest.$ac_ext
29551 cat >>conftest.$ac_ext <<_ACEOF
29552 /* end confdefs.h. */
29554 #undef HAVE_BOOLEAN
29556 #include <jpeglib.h>
29559 typedef boolean ac__type_sizeof_;
29563 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29570 rm -f conftest.$ac_objext
29571 if { (ac_try="$ac_compile"
29572 case "(($ac_try" in
29573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29574 *) ac_try_echo=$ac_try;;
29576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29577 (eval "$ac_compile") 2>conftest.er1
29579 grep -v '^
*+' conftest.er1 >conftest.err
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } && {
29584 test -z "$ac_c_werror_flag" ||
29585 test ! -s conftest.err
29586 } && test -s conftest.$ac_objext; then
29589 echo "$as_me: failed program was:" >&5
29590 sed 's
/^
/| /' conftest.$ac_ext >&5
29592 ac_lo=`expr '(' $ac_mid ')' + 1`
29595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29598 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29599 '') if test "$ac_cv_type_boolean" = yes; then
29600 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29601 See \`config.log' for more details.
" >&5
29602 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29603 See \
`config.log' for more details." >&2;}
29604 { (exit 77); exit 77; }; }
29606 ac_cv_sizeof_boolean=0
29610 cat >conftest.$ac_ext <<_ACEOF
29613 cat confdefs.h >>conftest.$ac_ext
29614 cat >>conftest.$ac_ext <<_ACEOF
29615 /* end confdefs.h. */
29617 #undef HAVE_BOOLEAN
29619 #include <jpeglib.h>
29622 typedef boolean ac__type_sizeof_;
29623 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29624 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29626 #include <stdlib.h>
29631 FILE *f = fopen ("conftest.val", "w");
29634 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29636 long int i = longval ();
29637 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29639 fprintf (f, "%ld\n", i);
29643 unsigned long int i = ulongval ();
29644 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29646 fprintf (f, "%lu\n", i);
29648 return ferror (f) || fclose (f) != 0;
29654 rm -f conftest$ac_exeext
29655 if { (ac_try="$ac_link"
29656 case "(($ac_try" in
29657 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29658 *) ac_try_echo
=$ac_try;;
29660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29661 (eval "$ac_link") 2>&5
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29665 { (case "(($ac_try" in
29666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29667 *) ac_try_echo=$ac_try;;
29669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29670 (eval "$ac_try") 2>&5
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; }; then
29674 ac_cv_sizeof_boolean=`cat conftest.val
`
29676 echo "$as_me: program exited with status $ac_status" >&5
29677 echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29680 ( exit $ac_status )
29681 if test "$ac_cv_type_boolean" = yes; then
29682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29683 See \`config.log
' for more details." >&5
29684 echo "$as_me: error: cannot compute sizeof (boolean)
29685 See \`config.log' for more details.
" >&2;}
29686 { (exit 77); exit 77; }; }
29688 ac_cv_sizeof_boolean=0
29691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29695 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29696 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29700 cat >>confdefs.h <<_ACEOF
29701 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29705 cat >>confdefs.h <<_ACEOF
29706 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29720 TIFF_PREREQ_LINKS=-lm
29721 if test "$wxUSE_LIBTIFF" != "no
" ; then
29722 cat >>confdefs.h <<\_ACEOF
29723 #define wxUSE_LIBTIFF 1
29727 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29728 if test "$wxUSE_LIBJPEG" = "sys
"; then
29729 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29731 if test "$wxUSE_ZLIB" = "sys
"; then
29732 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29734 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29735 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29736 if test "${ac_cv_header_tiffio_h+set}" = set; then
29737 echo $ECHO_N "(cached
) $ECHO_C" >&6
29739 cat >conftest.$ac_ext <<_ACEOF
29742 cat confdefs.h >>conftest.$ac_ext
29743 cat >>conftest.$ac_ext <<_ACEOF
29744 /* end confdefs.h. */
29748 #include <tiffio.h>
29750 rm -f conftest.$ac_objext
29751 if { (ac_try="$ac_compile"
29752 case "(($ac_try" in
29753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29754 *) ac_try_echo=$ac_try;;
29756 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29757 (eval "$ac_compile") 2>conftest.er1
29759 grep -v '^ *+' conftest.er1 >conftest.err
29761 cat conftest.err >&5
29762 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29763 (exit $ac_status); } && {
29764 test -z "$ac_c_werror_flag" ||
29765 test ! -s conftest.err
29766 } && test -s conftest.$ac_objext; then
29767 ac_cv_header_tiffio_h=yes
29769 echo "$as_me: failed program was
:" >&5
29770 sed 's/^/| /' conftest.$ac_ext >&5
29772 ac_cv_header_tiffio_h=no
29775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29777 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29778 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29779 if test $ac_cv_header_tiffio_h = yes; then
29781 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29782 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29783 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29784 echo $ECHO_N "(cached
) $ECHO_C" >&6
29786 ac_check_lib_save_LIBS=$LIBS
29787 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29788 cat >conftest.$ac_ext <<_ACEOF
29791 cat confdefs.h >>conftest.$ac_ext
29792 cat >>conftest.$ac_ext <<_ACEOF
29793 /* end confdefs.h. */
29795 /* Override any GCC internal prototype to avoid an error.
29796 Use char because int might match the return type of a GCC
29797 builtin and then its argument prototype would still apply. */
29805 return TIFFError ();
29810 rm -f conftest.$ac_objext conftest$ac_exeext
29811 if { (ac_try="$ac_link"
29812 case "(($ac_try" in
29813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29814 *) ac_try_echo=$ac_try;;
29816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29817 (eval "$ac_link") 2>conftest.er1
29819 grep -v '^ *+' conftest.er1 >conftest.err
29821 cat conftest.err >&5
29822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29823 (exit $ac_status); } && {
29824 test -z "$ac_c_werror_flag" ||
29825 test ! -s conftest.err
29826 } && test -s conftest$ac_exeext &&
29827 $as_test_x conftest$ac_exeext; then
29828 ac_cv_lib_tiff_TIFFError=yes
29830 echo "$as_me: failed program was
:" >&5
29831 sed 's/^/| /' conftest.$ac_ext >&5
29833 ac_cv_lib_tiff_TIFFError=no
29836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29837 conftest$ac_exeext conftest.$ac_ext
29838 LIBS=$ac_check_lib_save_LIBS
29840 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29841 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29842 if test $ac_cv_lib_tiff_TIFFError = yes; then
29843 TIFF_LINK=" -ltiff"
29851 if test "x
$TIFF_LINK" = "x
" ; then
29852 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29853 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29854 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29855 { (exit 1); exit 1; }; }
29857 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29858 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29859 wxUSE_LIBTIFF=builtin
29868 if test "$wxUSE_WCHAR_T" != "yes"; then
29869 if test "$wxUSE_EXPAT" != "no
"; then
29870 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
29871 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
29874 if test "$wxUSE_XML" != "no
"; then
29875 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
29876 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
29881 if test "$wxUSE_EXPAT" != "no
"; then
29883 cat >>confdefs.h <<\_ACEOF
29884 #define wxUSE_EXPAT 1
29887 cat >>confdefs.h <<\_ACEOF
29888 #define wxUSE_XML 1
29892 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29893 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29894 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29895 if test "${ac_cv_header_expat_h+set}" = set; then
29896 echo $ECHO_N "(cached
) $ECHO_C" >&6
29898 cat >conftest.$ac_ext <<_ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29908 rm -f conftest.$ac_objext
29909 if { (ac_try="$ac_compile"
29910 case "(($ac_try" in
29911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29912 *) ac_try_echo=$ac_try;;
29914 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29915 (eval "$ac_compile") 2>conftest.er1
29917 grep -v '^ *+' conftest.er1 >conftest.err
29919 cat conftest.err >&5
29920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29921 (exit $ac_status); } && {
29922 test -z "$ac_c_werror_flag" ||
29923 test ! -s conftest.err
29924 } && test -s conftest.$ac_objext; then
29925 ac_cv_header_expat_h=yes
29927 echo "$as_me: failed program was
:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29930 ac_cv_header_expat_h=no
29933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29935 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29936 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29937 if test $ac_cv_header_expat_h = yes; then
29942 if test "x
$found_expat_h" = "x1
"; then
29943 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29944 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29945 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29946 echo $ECHO_N "(cached
) $ECHO_C" >&6
29950 ac_cpp='$CXXCPP $CPPFLAGS'
29951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29955 cat >conftest.$ac_ext <<_ACEOF
29958 cat confdefs.h >>conftest.$ac_ext
29959 cat >>conftest.$ac_ext <<_ACEOF
29960 /* end confdefs.h. */
29970 rm -f conftest.$ac_objext
29971 if { (ac_try="$ac_compile"
29972 case "(($ac_try" in
29973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29974 *) ac_try_echo=$ac_try;;
29976 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29977 (eval "$ac_compile") 2>conftest.er1
29979 grep -v '^ *+' conftest.er1 >conftest.err
29981 cat conftest.err >&5
29982 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29983 (exit $ac_status); } && {
29984 test -z "$ac_cxx_werror_flag" ||
29985 test ! -s conftest.err
29986 } && test -s conftest.$ac_objext; then
29987 wx_cv_expat_is_not_broken=yes
29989 echo "$as_me: failed program was
:" >&5
29990 sed 's/^/| /' conftest.$ac_ext >&5
29992 wx_cv_expat_is_not_broken=no
29996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29998 ac_cpp='$CPP $CPPFLAGS'
29999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30006 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30007 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30008 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30009 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30010 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30011 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30012 echo $ECHO_N "(cached
) $ECHO_C" >&6
30014 ac_check_lib_save_LIBS=$LIBS
30015 LIBS="-lexpat $LIBS"
30016 cat >conftest.$ac_ext <<_ACEOF
30019 cat confdefs.h >>conftest.$ac_ext
30020 cat >>conftest.$ac_ext <<_ACEOF
30021 /* end confdefs.h. */
30023 /* Override any GCC internal prototype to avoid an error.
30024 Use char because int might match the return type of a GCC
30025 builtin and then its argument prototype would still apply. */
30029 char XML_ParserCreate ();
30033 return XML_ParserCreate ();
30038 rm -f conftest.$ac_objext conftest$ac_exeext
30039 if { (ac_try="$ac_link"
30040 case "(($ac_try" in
30041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30042 *) ac_try_echo=$ac_try;;
30044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30045 (eval "$ac_link") 2>conftest.er1
30047 grep -v '^ *+' conftest.er1 >conftest.err
30049 cat conftest.err >&5
30050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30051 (exit $ac_status); } && {
30052 test -z "$ac_c_werror_flag" ||
30053 test ! -s conftest.err
30054 } && test -s conftest$ac_exeext &&
30055 $as_test_x conftest$ac_exeext; then
30056 ac_cv_lib_expat_XML_ParserCreate=yes
30058 echo "$as_me: failed program was
:" >&5
30059 sed 's/^/| /' conftest.$ac_ext >&5
30061 ac_cv_lib_expat_XML_ParserCreate=no
30064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30065 conftest$ac_exeext conftest.$ac_ext
30066 LIBS=$ac_check_lib_save_LIBS
30068 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30069 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30070 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30071 EXPAT_LINK=" -lexpat"
30076 if test "x
$EXPAT_LINK" = "x
" ; then
30077 if test "$wxUSE_EXPAT" = "sys
" ; then
30078 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30079 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30080 { (exit 1); exit 1; }; }
30082 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30083 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30084 wxUSE_EXPAT=builtin
30090 if test "$wxUSE_EXPAT" = "builtin" ; then
30091 subdirs="$subdirs src
/expat
"
30098 if test "$wxUSE_LIBMSPACK" != "no
"; then
30099 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30100 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30101 if test "${ac_cv_header_mspack_h+set}" = set; then
30102 echo $ECHO_N "(cached
) $ECHO_C" >&6
30104 cat >conftest.$ac_ext <<_ACEOF
30107 cat confdefs.h >>conftest.$ac_ext
30108 cat >>conftest.$ac_ext <<_ACEOF
30109 /* end confdefs.h. */
30112 #include <mspack.h>
30114 rm -f conftest.$ac_objext
30115 if { (ac_try="$ac_compile"
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_compile") 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 test -z "$ac_c_werror_flag" ||
30129 test ! -s conftest.err
30130 } && test -s conftest.$ac_objext; then
30131 ac_cv_header_mspack_h=yes
30133 echo "$as_me: failed program was
:" >&5
30134 sed 's/^/| /' conftest.$ac_ext >&5
30136 ac_cv_header_mspack_h=no
30139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30141 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30142 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30143 if test $ac_cv_header_mspack_h = yes; then
30148 if test "x
$found_mspack_h" = "x1
"; then
30149 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30150 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30151 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30152 echo $ECHO_N "(cached
) $ECHO_C" >&6
30154 ac_check_lib_save_LIBS=$LIBS
30155 LIBS="-lmspack $LIBS"
30156 cat >conftest.$ac_ext <<_ACEOF
30159 cat confdefs.h >>conftest.$ac_ext
30160 cat >>conftest.$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30163 /* Override any GCC internal prototype to avoid an error.
30164 Use char because int might match the return type of a GCC
30165 builtin and then its argument prototype would still apply. */
30169 char mspack_create_chm_decompressor ();
30173 return mspack_create_chm_decompressor ();
30178 rm -f conftest.$ac_objext conftest$ac_exeext
30179 if { (ac_try="$ac_link"
30180 case "(($ac_try" in
30181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30182 *) ac_try_echo=$ac_try;;
30184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30185 (eval "$ac_link") 2>conftest.er1
30187 grep -v '^ *+' conftest.er1 >conftest.err
30189 cat conftest.err >&5
30190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30191 (exit $ac_status); } && {
30192 test -z "$ac_c_werror_flag" ||
30193 test ! -s conftest.err
30194 } && test -s conftest$ac_exeext &&
30195 $as_test_x conftest$ac_exeext; then
30196 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30198 echo "$as_me: failed program was
:" >&5
30199 sed 's/^/| /' conftest.$ac_ext >&5
30201 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30205 conftest$ac_exeext conftest.$ac_ext
30206 LIBS=$ac_check_lib_save_LIBS
30208 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30209 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30210 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30211 MSPACK_LINK=" -lmspack"
30215 if test "x
$MSPACK_LINK" = "x
" ; then
30220 if test "$wxUSE_LIBMSPACK" != "no
"; then
30221 cat >>confdefs.h <<\_ACEOF
30222 #define wxUSE_LIBMSPACK 1
30236 if test "$USE_WIN32" = 1 ; then
30238 for ac_header in w32api.h
30240 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30241 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30242 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30243 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30244 echo $ECHO_N "(cached
) $ECHO_C" >&6
30246 cat >conftest.$ac_ext <<_ACEOF
30249 cat confdefs.h >>conftest.$ac_ext
30250 cat >>conftest.$ac_ext <<_ACEOF
30251 /* end confdefs.h. */
30254 #include <$ac_header>
30256 rm -f conftest.$ac_objext
30257 if { (ac_try="$ac_compile"
30258 case "(($ac_try" in
30259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30260 *) ac_try_echo=$ac_try;;
30262 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30263 (eval "$ac_compile") 2>conftest.er1
30265 grep -v '^ *+' conftest.er1 >conftest.err
30267 cat conftest.err >&5
30268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30269 (exit $ac_status); } && {
30270 test -z "$ac_c_werror_flag" ||
30271 test ! -s conftest.err
30272 } && test -s conftest.$ac_objext; then
30273 eval "$as_ac_Header=yes"
30275 echo "$as_me: failed program was
:" >&5
30276 sed 's/^/| /' conftest.$ac_ext >&5
30278 eval "$as_ac_Header=no
"
30281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30283 ac_res=`eval echo '${'$as_ac_Header'}'`
30284 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30285 echo "${ECHO_T}$ac_res" >&6; }
30286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30287 cat >>confdefs.h <<_ACEOF
30288 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30295 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30296 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30297 if test "${ac_cv_header_windows_h+set}" = set; then
30298 echo $ECHO_N "(cached
) $ECHO_C" >&6
30300 cat >conftest.$ac_ext <<_ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30308 #include <windows.h>
30310 rm -f conftest.$ac_objext
30311 if { (ac_try="$ac_compile"
30312 case "(($ac_try" in
30313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30314 *) ac_try_echo=$ac_try;;
30316 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30317 (eval "$ac_compile") 2>conftest.er1
30319 grep -v '^ *+' conftest.er1 >conftest.err
30321 cat conftest.err >&5
30322 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30323 (exit $ac_status); } && {
30324 test -z "$ac_c_werror_flag" ||
30325 test ! -s conftest.err
30326 } && test -s conftest.$ac_objext; then
30327 ac_cv_header_windows_h=yes
30329 echo "$as_me: failed program was
:" >&5
30330 sed 's/^/| /' conftest.$ac_ext >&5
30332 ac_cv_header_windows_h=no
30335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30337 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30338 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30339 if test $ac_cv_header_windows_h = yes; then
30343 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30344 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30345 { (exit 1); exit 1; }; }
30351 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30353 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30354 LIBS="$LIBS -loleacc"
30359 LIBS="$LIBS -lkernel32 -luser32"
30362 if test "$wxUSE_ODBC" = "sys
" ; then
30365 if test "$wxUSE_ODBC" = "yes" ; then
30366 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30367 cat >>confdefs.h <<\_ACEOF
30368 #define wxUSE_ODBC 1
30373 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30374 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30376 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30378 WIN32INSTALL=win32install
30380 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30381 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30382 if test "${ac_cv_header_pbt_h+set}" = set; then
30383 echo $ECHO_N "(cached
) $ECHO_C" >&6
30385 cat >conftest.$ac_ext <<_ACEOF
30388 cat confdefs.h >>conftest.$ac_ext
30389 cat >>conftest.$ac_ext <<_ACEOF
30390 /* end confdefs.h. */
30395 rm -f conftest.$ac_objext
30396 if { (ac_try="$ac_compile"
30397 case "(($ac_try" in
30398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30399 *) ac_try_echo=$ac_try;;
30401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30402 (eval "$ac_compile") 2>conftest.er1
30404 grep -v '^ *+' conftest.er1 >conftest.err
30406 cat conftest.err >&5
30407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30408 (exit $ac_status); } && {
30409 test -z "$ac_c_werror_flag" ||
30410 test ! -s conftest.err
30411 } && test -s conftest.$ac_objext; then
30412 ac_cv_header_pbt_h=yes
30414 echo "$as_me: failed program was
:" >&5
30415 sed 's/^/| /' conftest.$ac_ext >&5
30417 ac_cv_header_pbt_h=no
30420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30422 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30423 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30424 if test $ac_cv_header_pbt_h = yes; then
30427 cat >>confdefs.h <<\_ACEOF
30428 #define NEED_PBT_H 1
30436 if test "$wxUSE_GUI" = "yes"; then
30446 if test "$wxUSE_COCOA" = 1 ; then
30447 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30448 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30449 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30450 wxUSE_PRINTING_ARCHITECTURE=no
30452 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30453 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30454 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30455 wxUSE_DRAG_AND_DROP=no
30457 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30458 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30459 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30464 if test "$wxUSE_MSW" = 1 ; then
30470 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30474 if test "$wxUSE_GTK" = 1; then
30475 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30476 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30478 gtk_version_cached=1
30479 if test "${wx_cv_lib_gtk+set}" = set; then
30480 echo $ECHO_N "(cached
) $ECHO_C" >&6
30483 gtk_version_cached=0
30484 { echo "$as_me:$LINENO: result
: " >&5
30485 echo "${ECHO_T}" >&6; }
30488 if test "$wxUSE_THREADS" = "yes"; then
30489 GTK_MODULES=gthread
30493 if test "x
$wxGTK_VERSION" != "x1
"
30497 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30502 # Check whether --enable-gtktest was given.
30503 if test "${enable_gtktest+set}" = set; then
30504 enableval=$enable_gtktest;
30510 pkg_config_args=gtk+-2.0
30511 for module in . $GTK_MODULES
30515 pkg_config_args="$pkg_config_args gthread
-2.0
"
30522 # Extract the first word of "pkg
-config", so it can be a program name with args.
30523 set dummy pkg-config; ac_word=$2
30524 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30525 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30526 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30527 echo $ECHO_N "(cached
) $ECHO_C" >&6
30529 case $PKG_CONFIG in
30531 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30535 for as_dir in $PATH
30538 test -z "$as_dir" && as_dir=.
30539 for ac_exec_ext in '' $ac_executable_extensions; do
30540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30541 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30542 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30549 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30553 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30554 if test -n "$PKG_CONFIG"; then
30555 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30556 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30558 { echo "$as_me:$LINENO: result
: no
" >&5
30559 echo "${ECHO_T}no
" >&6; }
30564 if test x$PKG_CONFIG != xno ; then
30565 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30568 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30576 min_gtk_version=2.0.0
30577 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30578 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30580 if test x$PKG_CONFIG != xno ; then
30581 ## don't try to run the test against uninstalled libtool libs
30582 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30583 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30587 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30594 if test x"$no_gtk" = x ; then
30595 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30596 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30597 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30599 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30601 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30603 if test "x
$enable_gtktest" = "xyes
" ; then
30604 ac_save_CFLAGS="$CFLAGS"
30605 ac_save_LIBS="$LIBS"
30606 CFLAGS="$CFLAGS $GTK_CFLAGS"
30607 LIBS="$GTK_LIBS $LIBS"
30609 if test "$cross_compiling" = yes; then
30610 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30612 cat >conftest.$ac_ext <<_ACEOF
30615 cat confdefs.h >>conftest.$ac_ext
30616 cat >>conftest.$ac_ext <<_ACEOF
30617 /* end confdefs.h. */
30619 #include <gtk/gtk.h>
30621 #include <stdlib.h>
30626 int major, minor, micro;
30629 system ("touch conf.gtktest
");
30631 /* HP/UX 9 (%@#!) writes to sscanf strings */
30632 tmp_version = g_strdup("$min_gtk_version");
30633 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30634 printf("%s
, bad version string
\n", "$min_gtk_version");
30638 if ((gtk_major_version != $gtk_config_major_version) ||
30639 (gtk_minor_version != $gtk_config_minor_version) ||
30640 (gtk_micro_version != $gtk_config_micro_version))
30642 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30643 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30644 gtk_major_version, gtk_minor_version, gtk_micro_version);
30645 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30646 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30647 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30648 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30649 printf("*** required on your system.
\n");
30650 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30651 printf("*** to point to the correct configuration files
\n");
30653 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30654 (gtk_minor_version != GTK_MINOR_VERSION) ||
30655 (gtk_micro_version != GTK_MICRO_VERSION))
30657 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30658 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30659 printf("*** library
(version
%d.
%d.
%d
)\n",
30660 gtk_major_version, gtk_minor_version, gtk_micro_version);
30664 if ((gtk_major_version > major) ||
30665 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30666 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30672 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30673 gtk_major_version, gtk_minor_version, gtk_micro_version);
30674 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30675 major, minor, micro);
30676 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30678 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30679 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30680 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30681 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30682 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30683 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30684 printf("*** so that the correct libraries are found
at run
-time))\n");
30691 rm -f conftest$ac_exeext
30692 if { (ac_try="$ac_link"
30693 case "(($ac_try" in
30694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30695 *) ac_try_echo=$ac_try;;
30697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30698 (eval "$ac_link") 2>&5
30700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30701 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30702 { (case "(($ac_try" in
30703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30704 *) ac_try_echo=$ac_try;;
30706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30707 (eval "$ac_try") 2>&5
30709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30710 (exit $ac_status); }; }; then
30713 echo "$as_me: program exited with status
$ac_status" >&5
30714 echo "$as_me: failed program was
:" >&5
30715 sed 's/^/| /' conftest.$ac_ext >&5
30717 ( exit $ac_status )
30720 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30724 CFLAGS="$ac_save_CFLAGS"
30725 LIBS="$ac_save_LIBS"
30728 if test "x
$no_gtk" = x ; then
30729 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30730 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30733 { echo "$as_me:$LINENO: result
: no
" >&5
30734 echo "${ECHO_T}no
" >&6; }
30735 if test "$PKG_CONFIG" = "no
" ; then
30736 echo "*** A new enough version of pkg
-config was not found.
"
30737 echo "*** See http
://pkgconfig.sourceforge.net
"
30739 if test -f conf.gtktest ; then
30742 echo "*** Could not run GTK
+ test program
, checking why...
"
30743 ac_save_CFLAGS="$CFLAGS"
30744 ac_save_LIBS="$LIBS"
30745 CFLAGS="$CFLAGS $GTK_CFLAGS"
30746 LIBS="$LIBS $GTK_LIBS"
30747 cat >conftest.$ac_ext <<_ACEOF
30750 cat confdefs.h >>conftest.$ac_ext
30751 cat >>conftest.$ac_ext <<_ACEOF
30752 /* end confdefs.h. */
30754 #include <gtk/gtk.h>
30760 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30765 rm -f conftest.$ac_objext conftest$ac_exeext
30766 if { (ac_try="$ac_link"
30767 case "(($ac_try" in
30768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30769 *) ac_try_echo=$ac_try;;
30771 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30772 (eval "$ac_link") 2>conftest.er1
30774 grep -v '^ *+' conftest.er1 >conftest.err
30776 cat conftest.err >&5
30777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30778 (exit $ac_status); } && {
30779 test -z "$ac_c_werror_flag" ||
30780 test ! -s conftest.err
30781 } && test -s conftest$ac_exeext &&
30782 $as_test_x conftest$ac_exeext; then
30783 echo "*** The
test program compiled
, but did not run. This usually means
"
30784 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30785 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30786 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30787 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30788 echo "*** is required on your system"
30790 echo "*** If you have an old version installed, it is best to remove it, although"
30791 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30793 echo "$as_me: failed program was:" >&5
30794 sed 's
/^
/| /' conftest.$ac_ext >&5
30796 echo "*** The test program failed to compile or link. See the file config.log for the"
30797 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30801 conftest$ac_exeext conftest.$ac_ext
30802 CFLAGS="$ac_save_CFLAGS"
30803 LIBS="$ac_save_LIBS"
30817 if test "$wxUSE_SHARED" != "yes"; then
30818 GTK_LIBS="$GTK_LIBS -lX11"
30823 if test -z "$wx_cv_lib_gtk"; then
30824 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30826 # Check whether --with-gtk-prefix was given.
30827 if test "${with_gtk_prefix+set}" = set; then
30828 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30830 gtk_config_prefix=""
30834 # Check whether --with-gtk-exec-prefix was given.
30835 if test "${with_gtk_exec_prefix+set}" = set; then
30836 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30838 gtk_config_exec_prefix=""
30841 # Check whether --enable-gtktest was given.
30842 if test "${enable_gtktest+set}" = set; then
30843 enableval=$enable_gtktest;
30849 for module in . $GTK_MODULES
30853 gtk_config_args="$gtk_config_args gthread"
30858 if test x$gtk_config_exec_prefix != x ; then
30859 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30860 if test x${GTK_CONFIG+set} != xset ; then
30861 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30864 if test x$gtk_config_prefix != x ; then
30865 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30866 if test x${GTK_CONFIG+set} != xset ; then
30867 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30871 # Extract the first word of "gtk-config", so it can be a program name with args.
30872 set dummy gtk-config; ac_word=$2
30873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30875 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30876 echo $ECHO_N "(cached) $ECHO_C" >&6
30878 case $GTK_CONFIG in
30880 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30884 for as_dir in $PATH
30887 test -z "$as_dir" && as_dir=.
30888 for ac_exec_ext in '' $ac_executable_extensions; do
30889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30890 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30898 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30902 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30903 if test -n "$GTK_CONFIG"; then
30904 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30905 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30907 { echo "$as_me:$LINENO: result: no" >&5
30908 echo "${ECHO_T}no" >&6; }
30912 min_gtk_version=1.2.7
30913 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30914 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30916 if test "$GTK_CONFIG" = "no" ; then
30919 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30920 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30921 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30922 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30923 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30924 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30925 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30926 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30927 if test "x$enable_gtktest" = "xyes" ; then
30928 ac_save_CFLAGS="$CFLAGS"
30929 ac_save_LIBS="$LIBS"
30930 CFLAGS="$CFLAGS $GTK_CFLAGS"
30931 LIBS="$GTK_LIBS $LIBS"
30933 if test "$cross_compiling" = yes; then
30934 echo $ac_n "cross compiling; assumed OK... $ac_c"
30936 cat >conftest.$ac_ext <<_ACEOF
30939 cat confdefs.h >>conftest.$ac_ext
30940 cat >>conftest.$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30943 #include <gtk/gtk.h>
30945 #include <stdlib.h>
30950 int major, minor, micro;
30953 system ("touch conf.gtktest");
30955 /* HP/UX 9 (%@#!) writes to sscanf strings */
30956 tmp_version = g_strdup("$min_gtk_version");
30957 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30958 printf("%s, bad version string\n", "$min_gtk_version");
30962 if ((gtk_major_version != $gtk_config_major_version) ||
30963 (gtk_minor_version != $gtk_config_minor_version) ||
30964 (gtk_micro_version != $gtk_config_micro_version))
30966 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30967 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30968 gtk_major_version, gtk_minor_version, gtk_micro_version);
30969 printf ("*** was found! If gtk-config was correct, then it is best\n");
30970 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30971 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30972 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30973 printf("*** required on your system.\n");
30974 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30975 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30976 printf("*** before re-running configure\n");
30978 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30979 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30980 (gtk_minor_version != GTK_MINOR_VERSION) ||
30981 (gtk_micro_version != GTK_MICRO_VERSION))
30983 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30984 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30985 printf("*** library (version %d.%d.%d)\n",
30986 gtk_major_version, gtk_minor_version, gtk_micro_version);
30988 #endif /* defined (GTK_MAJOR_VERSION) ... */
30991 if ((gtk_major_version > major) ||
30992 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30993 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30999 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31000 gtk_major_version, gtk_minor_version, gtk_micro_version);
31001 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31002 major, minor, micro);
31003 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31005 printf("*** If you have already installed a sufficiently new version, this error\n");
31006 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31007 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31008 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31009 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31010 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31011 printf("*** so that the correct libraries are found at run-time))\n");
31018 rm -f conftest$ac_exeext
31019 if { (ac_try="$ac_link"
31020 case "(($ac_try" in
31021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31022 *) ac_try_echo=$ac_try;;
31024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31025 (eval "$ac_link") 2>&5
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31029 { (case "(($ac_try" in
31030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31031 *) ac_try_echo=$ac_try;;
31033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31034 (eval "$ac_try") 2>&5
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); }; }; then
31040 echo "$as_me: program exited with status $ac_status" >&5
31041 echo "$as_me: failed program was:" >&5
31042 sed 's
/^
/| /' conftest.$ac_ext >&5
31044 ( exit $ac_status )
31047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31051 CFLAGS="$ac_save_CFLAGS"
31052 LIBS="$ac_save_LIBS"
31055 if test "x$no_gtk" = x ; then
31056 { echo "$as_me:$LINENO: result: yes" >&5
31057 echo "${ECHO_T}yes" >&6; }
31058 wx_cv_lib_gtk=1.2.7
31060 { echo "$as_me:$LINENO: result: no" >&5
31061 echo "${ECHO_T}no" >&6; }
31062 if test "$GTK_CONFIG" = "no" ; then
31063 echo "*** The gtk-config script installed by GTK could not be found"
31064 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31065 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31066 echo "*** full path to gtk-config."
31068 if test -f conf.gtktest ; then
31071 echo "*** Could not run GTK test program, checking why..."
31072 CFLAGS="$CFLAGS $GTK_CFLAGS"
31073 LIBS="$LIBS $GTK_LIBS"
31074 cat >conftest.$ac_ext <<_ACEOF
31077 cat confdefs.h >>conftest.$ac_ext
31078 cat >>conftest.$ac_ext <<_ACEOF
31079 /* end confdefs.h. */
31081 #include <gtk/gtk.h>
31087 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31092 rm -f conftest.$ac_objext conftest$ac_exeext
31093 if { (ac_try="$ac_link"
31094 case "(($ac_try" in
31095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31096 *) ac_try_echo=$ac_try;;
31098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31099 (eval "$ac_link") 2>conftest.er1
31101 grep -v '^
*+' conftest.er1 >conftest.err
31103 cat conftest.err >&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); } && {
31106 test -z "$ac_c_werror_flag" ||
31107 test ! -s conftest.err
31108 } && test -s conftest$ac_exeext &&
31109 $as_test_x conftest$ac_exeext; then
31110 echo "*** The test program compiled, but did not run. This usually means"
31111 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31112 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31113 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31114 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31115 echo "*** is required on your system
"
31117 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31118 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31120 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31121 echo "*** came with the system with the
command"
31123 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31125 echo "$as_me: failed program was
:" >&5
31126 sed 's/^/| /' conftest.$ac_ext >&5
31128 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31129 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31130 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31131 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31135 conftest$ac_exeext conftest.$ac_ext
31136 CFLAGS="$ac_save_CFLAGS"
31137 LIBS="$ac_save_LIBS"
31149 if test -z "$wx_cv_lib_gtk"; then
31151 # Check whether --with-gtk-prefix was given.
31152 if test "${with_gtk_prefix+set}" = set; then
31153 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31155 gtk_config_prefix=""
31159 # Check whether --with-gtk-exec-prefix was given.
31160 if test "${with_gtk_exec_prefix+set}" = set; then
31161 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31163 gtk_config_exec_prefix=""
31166 # Check whether --enable-gtktest was given.
31167 if test "${enable_gtktest+set}" = set; then
31168 enableval=$enable_gtktest;
31174 for module in . $GTK_MODULES
31178 gtk_config_args="$gtk_config_args gthread
"
31183 if test x$gtk_config_exec_prefix != x ; then
31184 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31185 if test x${GTK_CONFIG+set} != xset ; then
31186 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31189 if test x$gtk_config_prefix != x ; then
31190 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31191 if test x${GTK_CONFIG+set} != xset ; then
31192 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31196 # Extract the first word of "gtk
-config", so it can be a program name with args.
31197 set dummy gtk-config; ac_word=$2
31198 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31199 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31200 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31201 echo $ECHO_N "(cached
) $ECHO_C" >&6
31203 case $GTK_CONFIG in
31205 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31209 for as_dir in $PATH
31212 test -z "$as_dir" && as_dir=.
31213 for ac_exec_ext in '' $ac_executable_extensions; do
31214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31215 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31216 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31223 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31227 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31228 if test -n "$GTK_CONFIG"; then
31229 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31230 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31232 { echo "$as_me:$LINENO: result
: no
" >&5
31233 echo "${ECHO_T}no
" >&6; }
31237 min_gtk_version=1.2.3
31238 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31239 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31241 if test "$GTK_CONFIG" = "no
" ; then
31244 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31245 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31246 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31248 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31250 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31252 if test "x
$enable_gtktest" = "xyes
" ; then
31253 ac_save_CFLAGS="$CFLAGS"
31254 ac_save_LIBS="$LIBS"
31255 CFLAGS="$CFLAGS $GTK_CFLAGS"
31256 LIBS="$GTK_LIBS $LIBS"
31258 if test "$cross_compiling" = yes; then
31259 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31261 cat >conftest.$ac_ext <<_ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31268 #include <gtk/gtk.h>
31270 #include <stdlib.h>
31275 int major, minor, micro;
31278 system ("touch conf.gtktest
");
31280 /* HP/UX 9 (%@#!) writes to sscanf strings */
31281 tmp_version = g_strdup("$min_gtk_version");
31282 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31283 printf("%s
, bad version string
\n", "$min_gtk_version");
31287 if ((gtk_major_version != $gtk_config_major_version) ||
31288 (gtk_minor_version != $gtk_config_minor_version) ||
31289 (gtk_micro_version != $gtk_config_micro_version))
31291 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31292 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31293 gtk_major_version, gtk_minor_version, gtk_micro_version);
31294 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31295 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31296 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31297 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31298 printf("*** required on your system.
\n");
31299 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31300 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31301 printf("*** before re
-running configure
\n");
31303 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31304 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31305 (gtk_minor_version != GTK_MINOR_VERSION) ||
31306 (gtk_micro_version != GTK_MICRO_VERSION))
31308 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31309 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31310 printf("*** library
(version
%d.
%d.
%d
)\n",
31311 gtk_major_version, gtk_minor_version, gtk_micro_version);
31313 #endif /* defined (GTK_MAJOR_VERSION) ... */
31316 if ((gtk_major_version > major) ||
31317 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31318 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31324 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31325 gtk_major_version, gtk_minor_version, gtk_micro_version);
31326 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31327 major, minor, micro);
31328 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31330 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31331 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31332 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31333 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31334 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31335 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31336 printf("*** so that the correct libraries are found
at run
-time))\n");
31343 rm -f conftest$ac_exeext
31344 if { (ac_try="$ac_link"
31345 case "(($ac_try" in
31346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31347 *) ac_try_echo=$ac_try;;
31349 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31350 (eval "$ac_link") 2>&5
31352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31354 { (case "(($ac_try" in
31355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31356 *) ac_try_echo=$ac_try;;
31358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31359 (eval "$ac_try") 2>&5
31361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31362 (exit $ac_status); }; }; then
31365 echo "$as_me: program exited with status
$ac_status" >&5
31366 echo "$as_me: failed program was
:" >&5
31367 sed 's/^/| /' conftest.$ac_ext >&5
31369 ( exit $ac_status )
31372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31376 CFLAGS="$ac_save_CFLAGS"
31377 LIBS="$ac_save_LIBS"
31380 if test "x
$no_gtk" = x ; then
31381 { echo "$as_me:$LINENO: result
: yes" >&5
31382 echo "${ECHO_T}yes" >&6; }
31383 wx_cv_lib_gtk=1.2.3
31385 { echo "$as_me:$LINENO: result
: no
" >&5
31386 echo "${ECHO_T}no
" >&6; }
31387 if test "$GTK_CONFIG" = "no
" ; then
31388 echo "*** The gtk
-config script installed by GTK could not be found
"
31389 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31390 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31391 echo "*** full path to gtk
-config.
"
31393 if test -f conf.gtktest ; then
31396 echo "*** Could not run GTK
test program
, checking why...
"
31397 CFLAGS="$CFLAGS $GTK_CFLAGS"
31398 LIBS="$LIBS $GTK_LIBS"
31399 cat >conftest.$ac_ext <<_ACEOF
31402 cat confdefs.h >>conftest.$ac_ext
31403 cat >>conftest.$ac_ext <<_ACEOF
31404 /* end confdefs.h. */
31406 #include <gtk/gtk.h>
31412 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31417 rm -f conftest.$ac_objext conftest$ac_exeext
31418 if { (ac_try="$ac_link"
31419 case "(($ac_try" in
31420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31421 *) ac_try_echo=$ac_try;;
31423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31424 (eval "$ac_link") 2>conftest.er1
31426 grep -v '^ *+' conftest.er1 >conftest.err
31428 cat conftest.err >&5
31429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31430 (exit $ac_status); } && {
31431 test -z "$ac_c_werror_flag" ||
31432 test ! -s conftest.err
31433 } && test -s conftest$ac_exeext &&
31434 $as_test_x conftest$ac_exeext; then
31435 echo "*** The
test program compiled
, but did not run. This usually means
"
31436 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31437 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31438 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31439 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31440 echo "*** is required on your system"
31442 echo "*** If you have an old version installed, it is best to remove it, although"
31443 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31445 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31446 echo "*** came with the system with the command"
31448 echo "*** rpm --erase --nodeps gtk gtk-devel"
31450 echo "$as_me: failed program was:" >&5
31451 sed 's
/^
/| /' conftest.$ac_ext >&5
31453 echo "*** The test program failed to compile or link. See the file config.log for the"
31454 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31455 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31456 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31460 conftest$ac_exeext conftest.$ac_ext
31461 CFLAGS="$ac_save_CFLAGS"
31462 LIBS="$ac_save_LIBS"
31477 if test -z "$wx_cv_lib_gtk"; then
31480 wx_cv_cflags_gtk=$GTK_CFLAGS
31481 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31488 if test "$gtk_version_cached" = 1; then
31489 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31490 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31493 case "$wx_cv_lib_gtk" in
31502 *) { { echo "$as_me:$LINENO: error:
31503 The development files for GTK+ were not found. For GTK+ 2, please
31504 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31505 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31506 and that the version is 1.2.3 or above. Also check that the
31507 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31508 --libs' are in the LD_LIBRARY_PATH or equivalent.
31510 echo "$as_me: error:
31511 The development files for GTK+ were not found. For GTK+ 2, please
31512 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31513 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31514 and that the version is 1.2.3 or above. Also check that the
31515 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31516 --libs' are in the LD_LIBRARY_PATH or equivalent.
31518 { (exit 1); exit 1; }; }
31522 if test "$WXGTK20" = 1; then
31523 save_CFLAGS="$CFLAGS"
31525 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31526 LIBS="$LIBS $wx_cv_libs_gtk"
31528 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31529 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31530 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31531 echo $ECHO_N "(cached) $ECHO_C" >&6
31533 cat >conftest.$ac_ext <<_ACEOF
31536 cat confdefs.h >>conftest.$ac_ext
31537 cat >>conftest.$ac_ext <<_ACEOF
31538 /* end confdefs.h. */
31539 #include <gtk/gtk.h>
31544 #ifndef gtk_icon_size_lookup
31545 (void) gtk_icon_size_lookup;
31552 rm -f conftest.$ac_objext
31553 if { (ac_try="$ac_compile"
31554 case "(($ac_try" in
31555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31556 *) ac_try_echo=$ac_try;;
31558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31559 (eval "$ac_compile") 2>conftest.er1
31561 grep -v '^
*+' conftest.er1 >conftest.err
31563 cat conftest.err >&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } && {
31566 test -z "$ac_c_werror_flag" ||
31567 test ! -s conftest.err
31568 } && test -s conftest.$ac_objext; then
31569 ac_cv_have_decl_gtk_icon_size_lookup=yes
31571 echo "$as_me: failed program was:" >&5
31572 sed 's
/^
/| /' conftest.$ac_ext >&5
31574 ac_cv_have_decl_gtk_icon_size_lookup=no
31577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31579 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31580 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31581 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31583 cat >>confdefs.h <<_ACEOF
31584 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31589 cat >>confdefs.h <<_ACEOF
31590 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31593 cat >>confdefs.h <<\_ACEOF
31594 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31602 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31603 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31604 cat >conftest.$ac_ext <<_ACEOF
31607 cat confdefs.h >>conftest.$ac_ext
31608 cat >>conftest.$ac_ext <<_ACEOF
31609 /* end confdefs.h. */
31611 #include <gtk/gtk.h>
31617 #if !GTK_CHECK_VERSION(2,10,0)
31625 rm -f conftest.$ac_objext
31626 if { (ac_try="$ac_compile"
31627 case "(($ac_try" in
31628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31629 *) ac_try_echo=$ac_try;;
31631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31632 (eval "$ac_compile") 2>conftest.er1
31634 grep -v '^
*+' conftest.er1 >conftest.err
31636 cat conftest.err >&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } && {
31639 test -z "$ac_c_werror_flag" ||
31640 test ! -s conftest.err
31641 } && test -s conftest.$ac_objext; then
31643 cat >>confdefs.h <<\_ACEOF
31644 #define __WXGTK210__ 1
31647 cat >>confdefs.h <<\_ACEOF
31648 #define __WXGTK26__ 1
31651 cat >>confdefs.h <<\_ACEOF
31652 #define __WXGTK24__ 1
31655 { echo "$as_me:$LINENO: result: yes" >&5
31656 echo "${ECHO_T}yes" >&6; }
31660 echo "$as_me: failed program was:" >&5
31661 sed 's
/^
/| /' conftest.$ac_ext >&5
31664 { echo "$as_me:$LINENO: result: no" >&5
31665 echo "${ECHO_T}no" >&6; }
31670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31672 if test "$ac_wxgtk210" = 0; then
31673 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31674 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31675 cat >conftest.$ac_ext <<_ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31682 #include <gtk/gtk.h>
31688 #if !GTK_CHECK_VERSION(2,6,0)
31696 rm -f conftest.$ac_objext
31697 if { (ac_try="$ac_compile"
31698 case "(($ac_try" in
31699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31700 *) ac_try_echo=$ac_try;;
31702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31703 (eval "$ac_compile") 2>conftest.er1
31705 grep -v '^
*+' conftest.er1 >conftest.err
31707 cat conftest.err >&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); } && {
31710 test -z "$ac_c_werror_flag" ||
31711 test ! -s conftest.err
31712 } && test -s conftest.$ac_objext; then
31714 cat >>confdefs.h <<\_ACEOF
31715 #define __WXGTK26__ 1
31718 cat >>confdefs.h <<\_ACEOF
31719 #define __WXGTK24__ 1
31722 { echo "$as_me:$LINENO: result: yes" >&5
31723 echo "${ECHO_T}yes" >&6; }
31727 echo "$as_me: failed program was:" >&5
31728 sed 's
/^
/| /' conftest.$ac_ext >&5
31731 { echo "$as_me:$LINENO: result: no" >&5
31732 echo "${ECHO_T}no" >&6; }
31737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31740 if test "$ac_wxgtk26" = 0; then
31741 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31742 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31743 cat >conftest.$ac_ext <<_ACEOF
31746 cat confdefs.h >>conftest.$ac_ext
31747 cat >>conftest.$ac_ext <<_ACEOF
31748 /* end confdefs.h. */
31750 #include <gtk/gtk.h>
31756 #if !GTK_CHECK_VERSION(2,4,0)
31764 rm -f conftest.$ac_objext
31765 if { (ac_try="$ac_compile"
31766 case "(($ac_try" in
31767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31768 *) ac_try_echo=$ac_try;;
31770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31771 (eval "$ac_compile") 2>conftest.er1
31773 grep -v '^
*+' conftest.er1 >conftest.err
31775 cat conftest.err >&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } && {
31778 test -z "$ac_c_werror_flag" ||
31779 test ! -s conftest.err
31780 } && test -s conftest.$ac_objext; then
31782 cat >>confdefs.h <<\_ACEOF
31783 #define __WXGTK24__ 1
31786 { echo "$as_me:$LINENO: result: yes" >&5
31787 echo "${ECHO_T}yes" >&6; }
31790 echo "$as_me: failed program was:" >&5
31791 sed 's
/^
/| /' conftest.$ac_ext >&5
31794 { echo "$as_me:$LINENO: result: no" >&5
31795 echo "${ECHO_T}no" >&6; }
31799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31802 CFLAGS="$save_CFLAGS"
31805 if test "$wxUSE_UNICODE" = "yes"; then
31806 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31807 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31811 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31812 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31813 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31814 echo $ECHO_N "(cached) $ECHO_C" >&6
31816 ac_check_lib_save_LIBS=$LIBS
31818 cat >conftest.$ac_ext <<_ACEOF
31821 cat confdefs.h >>conftest.$ac_ext
31822 cat >>conftest.$ac_ext <<_ACEOF
31823 /* end confdefs.h. */
31825 /* Override any GCC internal prototype to avoid an error.
31826 Use char because int might match the return type of a GCC
31827 builtin and then its argument prototype would still apply. */
31831 char gdk_im_open ();
31835 return gdk_im_open ();
31840 rm -f conftest.$ac_objext conftest$ac_exeext
31841 if { (ac_try="$ac_link"
31842 case "(($ac_try" in
31843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31844 *) ac_try_echo=$ac_try;;
31846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31847 (eval "$ac_link") 2>conftest.er1
31849 grep -v '^
*+' conftest.er1 >conftest.err
31851 cat conftest.err >&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); } && {
31854 test -z "$ac_c_werror_flag" ||
31855 test ! -s conftest.err
31856 } && test -s conftest$ac_exeext &&
31857 $as_test_x conftest$ac_exeext; then
31858 ac_cv_lib_gdk_gdk_im_open=yes
31860 echo "$as_me: failed program was:" >&5
31861 sed 's
/^
/| /' conftest.$ac_ext >&5
31863 ac_cv_lib_gdk_gdk_im_open=no
31866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31867 conftest$ac_exeext conftest.$ac_ext
31868 LIBS=$ac_check_lib_save_LIBS
31870 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31871 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31872 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31873 cat >>confdefs.h <<\_ACEOF
31880 if test "$USE_DARWIN" != 1; then
31882 for ac_func in poll
31884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31885 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31887 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31888 echo $ECHO_N "(cached) $ECHO_C" >&6
31890 cat >conftest.$ac_ext <<_ACEOF
31893 cat confdefs.h >>conftest.$ac_ext
31894 cat >>conftest.$ac_ext <<_ACEOF
31895 /* end confdefs.h. */
31896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31898 #define $ac_func innocuous_$ac_func
31900 /* System header to define __stub macros and hopefully few prototypes,
31901 which can conflict with char $ac_func (); below.
31902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31903 <limits.h> exists even on freestanding compilers. */
31906 # include <limits.h>
31908 # include <assert.h>
31913 /* Override any GCC internal prototype to avoid an error.
31914 Use char because int might match the return type of a GCC
31915 builtin and then its argument prototype would still apply. */
31920 /* The GNU C library defines this for functions which it implements
31921 to always fail with ENOSYS. Some functions are actually named
31922 something starting with __ and the normal name is an alias. */
31923 #if defined __stub_$ac_func || defined __stub___$ac_func
31930 return $ac_func ();
31935 rm -f conftest.$ac_objext conftest$ac_exeext
31936 if { (ac_try="$ac_link"
31937 case "(($ac_try" in
31938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31939 *) ac_try_echo=$ac_try;;
31941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31942 (eval "$ac_link") 2>conftest.er1
31944 grep -v '^
*+' conftest.er1 >conftest.err
31946 cat conftest.err >&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); } && {
31949 test -z "$ac_c_werror_flag" ||
31950 test ! -s conftest.err
31951 } && test -s conftest$ac_exeext &&
31952 $as_test_x conftest$ac_exeext; then
31953 eval "$as_ac_var=yes"
31955 echo "$as_me: failed program was:" >&5
31956 sed 's
/^
/| /' conftest.$ac_ext >&5
31958 eval "$as_ac_var=no"
31961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31962 conftest$ac_exeext conftest.$ac_ext
31964 ac_res=`eval echo '${'$as_ac_var'}'`
31965 { echo "$as_me:$LINENO: result: $ac_res" >&5
31966 echo "${ECHO_T}$ac_res" >&6; }
31967 if test `eval echo '${'$as_ac_var'}'` = yes; then
31968 cat >>confdefs.h <<_ACEOF
31969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31978 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31979 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31981 AFMINSTALL=afminstall
31985 if test "$wxUSE_GPE" = "yes"; then
31986 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31987 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31990 for ac_dir in $SEARCH_LIB;
31992 for ac_extension in a so sl dylib dll.a; do
31993 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31994 ac_find_libraries=$ac_dir
32000 if test "$ac_find_libraries" != "" ; then
32002 if test "$ac_find_libraries" = "default location"; then
32005 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32007 if test $result = 0; then
32010 ac_path_to_link=" -L$ac_find_libraries"
32014 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32016 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32017 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32019 { echo "$as_me:$LINENO: result: not found" >&5
32020 echo "${ECHO_T}not found" >&6; }
32026 if test "$wxUSE_MGL" = 1; then
32027 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32028 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32029 if test "x$MGL_ROOT" = x ; then
32030 { echo "$as_me:$LINENO: result: not found" >&5
32031 echo "${ECHO_T}not found" >&6; }
32032 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32033 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32034 { (exit 1); exit 1; }; }
32036 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32037 echo "${ECHO_T}$MGL_ROOT" >&6; }
32040 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32041 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32044 if test "x$wxUSE_SHARED" = xyes ; then
32045 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32047 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32051 mgl_os_candidates="dos32/dj2"
32054 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32055 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32056 { (exit 1); exit 1; }; }
32062 for mgl_os_i in $mgl_os_candidates ; do
32063 if test "x$mgl_os" = x ; then
32064 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32065 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32066 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32071 if test "x$mgl_lib_type" = x ; then
32072 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32073 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32074 mgl_lib_type=release
32081 if test "x$mgl_os" = x ; then
32082 { echo "$as_me:$LINENO: result: not found" >&5
32083 echo "${ECHO_T}not found" >&6; }
32084 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32085 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32086 { (exit 1); exit 1; }; }
32088 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32089 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32091 wxUSE_UNIVERSAL="yes"
32093 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32094 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32096 AFMINSTALL=afminstall
32101 if test "$wxUSE_DFB" = 1; then
32104 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32105 if test -n "$ac_tool_prefix"; then
32106 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32107 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32110 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32111 echo $ECHO_N "(cached) $ECHO_C" >&6
32113 case $PKG_CONFIG in
32115 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32119 for as_dir in $PATH
32122 test -z "$as_dir" && as_dir=.
32123 for ac_exec_ext in '' $ac_executable_extensions; do
32124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32125 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32136 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32137 if test -n "$PKG_CONFIG"; then
32138 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32139 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32141 { echo "$as_me:$LINENO: result: no" >&5
32142 echo "${ECHO_T}no" >&6; }
32147 if test -z "$ac_cv_path_PKG_CONFIG"; then
32148 ac_pt_PKG_CONFIG=$PKG_CONFIG
32149 # Extract the first word of "pkg-config", so it can be a program name with args.
32150 set dummy pkg-config; ac_word=$2
32151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32153 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32154 echo $ECHO_N "(cached) $ECHO_C" >&6
32156 case $ac_pt_PKG_CONFIG in
32158 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32162 for as_dir in $PATH
32165 test -z "$as_dir" && as_dir=.
32166 for ac_exec_ext in '' $ac_executable_extensions; do
32167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32168 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32179 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32180 if test -n "$ac_pt_PKG_CONFIG"; then
32181 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32182 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32184 { echo "$as_me:$LINENO: result: no" >&5
32185 echo "${ECHO_T}no" >&6; }
32188 if test "x$ac_pt_PKG_CONFIG" = x; then
32191 case $cross_compiling:$ac_tool_warned in
32193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32194 whose name does not start with the host triplet. If you think this
32195 configuration is useful to you, please write to autoconf@gnu.org." >&5
32196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32197 whose name does not start with the host triplet. If you think this
32198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32199 ac_tool_warned=yes ;;
32201 PKG_CONFIG=$ac_pt_PKG_CONFIG
32204 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32208 if test -n "$PKG_CONFIG"; then
32209 _pkg_min_version=0.9.0
32210 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32211 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32212 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32213 { echo "$as_me:$LINENO: result: yes" >&5
32214 echo "${ECHO_T}yes" >&6; }
32216 { echo "$as_me:$LINENO: result: no" >&5
32217 echo "${ECHO_T}no" >&6; }
32225 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32226 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32228 if test -n "$PKG_CONFIG"; then
32229 if test -n "$DIRECTFB_CFLAGS"; then
32230 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32232 if test -n "$PKG_CONFIG" && \
32233 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32234 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; then
32238 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32246 if test -n "$PKG_CONFIG"; then
32247 if test -n "$DIRECTFB_LIBS"; then
32248 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32250 if test -n "$PKG_CONFIG" && \
32251 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32252 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255 (exit $ac_status); }; then
32256 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32267 if test $pkg_failed = yes; then
32269 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32270 _pkg_short_errors_supported=yes
32272 _pkg_short_errors_supported=no
32274 if test $_pkg_short_errors_supported = yes; then
32275 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32277 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32279 # Put the nasty error message in config.log where it belongs
32280 echo "$DIRECTFB_PKG_ERRORS" >&5
32283 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32284 echo "$as_me: error: DirectFB not found." >&2;}
32285 { (exit 1); exit 1; }; }
32288 elif test $pkg_failed = untried; then
32290 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32291 echo "$as_me: error: DirectFB not found." >&2;}
32292 { (exit 1); exit 1; }; }
32296 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32297 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32298 { echo "$as_me:$LINENO: result: yes" >&5
32299 echo "${ECHO_T}yes" >&6; }
32301 wxUSE_UNIVERSAL="yes"
32302 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32303 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32310 if test "$wxUSE_MICROWIN" = 1; then
32311 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32312 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32313 if test "x$MICROWINDOWS" = x ; then
32314 { echo "$as_me:$LINENO: result: not found" >&5
32315 echo "${ECHO_T}not found" >&6; }
32316 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32317 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32318 { (exit 1); exit 1; }; }
32320 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32321 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32324 if test -f $MICROWINDOWS/lib/libmwin.a; then
32325 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32326 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32328 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32329 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32330 { (exit 1); exit 1; }; }
32333 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32334 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32336 wxUSE_UNIVERSAL="yes"
32338 AFMINSTALL=afminstall
32340 GUIDIST=MICROWIN_DIST
32342 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32345 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32346 { echo "$as_me:$LINENO: checking for X" >&5
32347 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32350 # Check whether --with-x was given.
32351 if test "${with_x+set}" = set; then
32355 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32356 if test "x$with_x" = xno; then
32357 # The user explicitly disabled X.
32360 case $x_includes,$x_libraries in #(
32361 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32362 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32363 { (exit 1); exit 1; }; };; #(
32364 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32365 echo $ECHO_N "(cached) $ECHO_C" >&6
32367 # One or both of the vars are not set, and there is no cached value.
32368 ac_x_includes=no ac_x_libraries=no
32369 rm -f -r conftest.dir
32370 if mkdir conftest.dir; then
32372 cat >Imakefile <<'_ACEOF'
32374 @echo incroot='${INCROOT}'
32376 @echo usrlibdir='${USRLIBDIR}'
32378 @echo libdir='${LIBDIR}'
32380 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32381 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32382 for ac_var in incroot usrlibdir libdir; do
32383 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32385 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32386 for ac_extension in a so sl; do
32387 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32388 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32389 ac_im_usrlibdir=$ac_im_libdir; break
32392 # Screen out bogus values from the imake configuration. They are
32393 # bogus both because they are the default anyway, and because
32394 # using them would break gcc on systems where it needs fixed includes.
32395 case $ac_im_incroot in
32396 /usr/include) ac_x_includes= ;;
32397 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32399 case $ac_im_usrlibdir in
32400 /usr/lib | /lib) ;;
32401 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32405 rm -f -r conftest.dir
32408 # Standard set of common directories for X headers.
32409 # Check X11 before X11Rn because it is often a symlink to the current release.
32421 /usr
/local
/X
11/include
32422 /usr
/local
/X
11R
6/include
32423 /usr
/local
/X
11R
5/include
32424 /usr
/local
/X
11R
4/include
32426 /usr
/local
/include
/X11
32427 /usr
/local
/include
/X11R6
32428 /usr
/local
/include
/X11R5
32429 /usr
/local
/include
/X11R4
32433 /usr
/XFree
86/include
/X11
32437 /usr
/unsupported
/include
32438 /usr
/athena
/include
32439 /usr
/local
/x
11r
5/include
32440 /usr
/lpp
/Xamples
/include
32442 /usr
/openwin
/include
32443 /usr
/openwin
/share
/include
'
32445 if test "$ac_x_includes" = no; then
32446 # Guess where to find include files, by looking for Xlib.h.
32447 # First, try using that file with no special directory specified.
32448 cat >conftest.$ac_ext <<_ACEOF
32451 cat confdefs.h >>conftest.$ac_ext
32452 cat >>conftest.$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32454 #include <X11/Xlib.h>
32456 if { (ac_try="$ac_cpp conftest.$ac_ext"
32457 case "(($ac_try" in
32458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32459 *) ac_try_echo=$ac_try;;
32461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32464 grep -v '^
*+' conftest.er1 >conftest.err
32466 cat conftest.err >&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } >/dev/null && {
32469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32470 test ! -s conftest.err
32472 # We can compile using X headers with no special include directory.
32475 echo "$as_me: failed program was:" >&5
32476 sed 's
/^
/| /' conftest.$ac_ext >&5
32478 for ac_dir in $ac_x_header_dirs; do
32479 if test -r "$ac_dir/X11/Xlib.h"; then
32480 ac_x_includes=$ac_dir
32486 rm -f conftest.err conftest.$ac_ext
32487 fi # $ac_x_includes = no
32489 if test "$ac_x_libraries" = no; then
32490 # Check for the libraries.
32491 # See if we find them without any special options.
32492 # Don't add to
$LIBS permanently.
32495 cat >conftest.
$ac_ext <<_ACEOF
32498 cat confdefs.h
>>conftest.
$ac_ext
32499 cat >>conftest.
$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32501 #include <X11/Xlib.h>
32510 rm -f conftest.
$ac_objext conftest
$ac_exeext
32511 if { (ac_try
="$ac_link"
32512 case "(($ac_try" in
32513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32514 *) ac_try_echo=$ac_try;;
32516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32517 (eval "$ac_link") 2>conftest.er1
32519 grep -v '^ *+' conftest.er1 >conftest.err
32521 cat conftest.err >&5
32522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32523 (exit $ac_status); } && {
32524 test -z "$ac_c_werror_flag" ||
32525 test ! -s conftest.err
32526 } && test -s conftest$ac_exeext &&
32527 $as_test_x conftest$ac_exeext; then
32529 # We can link X programs with no special library path.
32532 echo "$as_me: failed program was:" >&5
32533 sed 's/^/| /' conftest.$ac_ext >&5
32536 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32538 # Don't even attempt the hair of trying to link an X program!
32539 for ac_extension in a so sl; do
32540 if test -r "$ac_dir/libX11.$ac_extension"; then
32541 ac_x_libraries=$ac_dir
32548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32549 conftest$ac_exeext conftest.$ac_ext
32550 fi # $ac_x_libraries = no
32552 case $ac_x_includes,$ac_x_libraries in #(
32553 no,* | *,no | *\'*)
32554 # Didn't find X, or a directory has "'" in its name.
32555 ac_cv_have_x="have_x=no";; #(
32557 # Record where we found X for the cache.
32558 ac_cv_have_x="have_x=yes\
32559 ac_x_includes='$ac_x_includes'\
32560 ac_x_libraries='$ac_x_libraries'"
32566 eval "$ac_cv_have_x"
32569 if test "$have_x" != yes; then
32570 { echo "$as_me:$LINENO: result: $have_x" >&5
32571 echo "${ECHO_T}$have_x" >&6; }
32574 # If each of the values was on the command line, it overrides each guess.
32575 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32576 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32577 # Update the cache value to reflect the command line values.
32578 ac_cv_have_x="have_x=yes\
32579 ac_x_includes='$x_includes'\
32580 ac_x_libraries='$x_libraries'"
32581 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32582 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32585 if test "$no_x" = yes; then
32586 # Not all programs may use this symbol, but it does not hurt to define it.
32588 cat >>confdefs.h <<\_ACEOF
32589 #define X_DISPLAY_MISSING 1
32592 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32594 if test -n "$x_includes"; then
32595 X_CFLAGS="$X_CFLAGS -I$x_includes"
32598 # It would also be nice to do this for all -L options, not just this one.
32599 if test -n "$x_libraries"; then
32600 X_LIBS="$X_LIBS -L$x_libraries"
32601 # For Solaris; some versions of Sun CC require a space after -R and
32602 # others require no space. Words are not sufficient . . . .
32603 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32604 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32605 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32606 ac_xsave_c_werror_flag=$ac_c_werror_flag
32607 ac_c_werror_flag=yes
32608 cat >conftest.$ac_ext <<_ACEOF
32611 cat confdefs.h >>conftest.$ac_ext
32612 cat >>conftest.$ac_ext <<_ACEOF
32613 /* end confdefs.h. */
32623 rm -f conftest.$ac_objext conftest$ac_exeext
32624 if { (ac_try="$ac_link"
32625 case "(($ac_try" in
32626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32627 *) ac_try_echo
=$ac_try;;
32629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32630 (eval "$ac_link") 2>conftest.er1
32632 grep -v '^ *+' conftest.er1
>conftest.err
32634 cat conftest.err
>&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); } && {
32637 test -z "$ac_c_werror_flag" ||
32638 test ! -s conftest.err
32639 } && test -s conftest
$ac_exeext &&
32640 $as_test_x conftest
$ac_exeext; then
32641 { echo "$as_me:$LINENO: result: no" >&5
32642 echo "${ECHO_T}no" >&6; }
32643 X_LIBS
="$X_LIBS -R$x_libraries"
32645 echo "$as_me: failed program was:" >&5
32646 sed 's/^/| /' conftest.
$ac_ext >&5
32648 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32649 cat >conftest.
$ac_ext <<_ACEOF
32652 cat confdefs.h
>>conftest.
$ac_ext
32653 cat >>conftest.
$ac_ext <<_ACEOF
32654 /* end confdefs.h. */
32664 rm -f conftest.
$ac_objext conftest
$ac_exeext
32665 if { (ac_try
="$ac_link"
32666 case "(($ac_try" in
32667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32668 *) ac_try_echo=$ac_try;;
32670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32671 (eval "$ac_link") 2>conftest.er1
32673 grep -v '^ *+' conftest.er1 >conftest.err
32675 cat conftest.err >&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); } && {
32678 test -z "$ac_c_werror_flag" ||
32679 test ! -s conftest.err
32680 } && test -s conftest$ac_exeext &&
32681 $as_test_x conftest$ac_exeext; then
32682 { echo "$as_me:$LINENO: result: yes" >&5
32683 echo "${ECHO_T}yes" >&6; }
32684 X_LIBS="$X_LIBS -R $x_libraries"
32686 echo "$as_me: failed program was:" >&5
32687 sed 's/^/| /' conftest.$ac_ext >&5
32689 { echo "$as_me:$LINENO: result: neither works" >&5
32690 echo "${ECHO_T}neither works" >&6; }
32693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32694 conftest$ac_exeext conftest.$ac_ext
32697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32698 conftest$ac_exeext conftest.$ac_ext
32699 ac_c_werror_flag=$ac_xsave_c_werror_flag
32700 LIBS=$ac_xsave_LIBS
32703 # Check for system-dependent libraries X programs must link with.
32704 # Do this before checking for the system-independent R6 libraries
32705 # (-lICE), since we may need -lsocket or whatever for X linking.
32707 if test "$ISC" = yes; then
32708 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32710 # Martyn Johnson says this is needed for Ultrix, if the X
32711 # libraries were built with DECnet support. And Karl Berry says
32712 # the Alpha needs dnet_stub (dnet does not exist).
32713 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32714 cat >conftest.$ac_ext <<_ACEOF
32717 cat confdefs.h >>conftest.$ac_ext
32718 cat >>conftest.$ac_ext <<_ACEOF
32719 /* end confdefs.h. */
32721 /* Override any GCC internal prototype to avoid an error.
32722 Use char because int might match the return type of a GCC
32723 builtin and then its argument prototype would still apply. */
32727 char XOpenDisplay ();
32731 return XOpenDisplay ();
32736 rm -f conftest.$ac_objext conftest$ac_exeext
32737 if { (ac_try="$ac_link"
32738 case "(($ac_try" in
32739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32740 *) ac_try_echo
=$ac_try;;
32742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32743 (eval "$ac_link") 2>conftest.er1
32745 grep -v '^ *+' conftest.er1
>conftest.err
32747 cat conftest.err
>&5
32748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32749 (exit $ac_status); } && {
32750 test -z "$ac_c_werror_flag" ||
32751 test ! -s conftest.err
32752 } && test -s conftest
$ac_exeext &&
32753 $as_test_x conftest
$ac_exeext; then
32756 echo "$as_me: failed program was:" >&5
32757 sed 's/^/| /' conftest.
$ac_ext >&5
32759 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32760 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32761 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32762 echo $ECHO_N "(cached) $ECHO_C" >&6
32764 ac_check_lib_save_LIBS
=$LIBS
32765 LIBS
="-ldnet $LIBS"
32766 cat >conftest.
$ac_ext <<_ACEOF
32769 cat confdefs.h
>>conftest.
$ac_ext
32770 cat >>conftest.
$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32773 /* Override any GCC internal prototype to avoid an error.
32774 Use char because int might match the return type of a GCC
32775 builtin and then its argument prototype would still apply. */
32783 return dnet_ntoa ();
32788 rm -f conftest.
$ac_objext conftest
$ac_exeext
32789 if { (ac_try
="$ac_link"
32790 case "(($ac_try" in
32791 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32792 *) ac_try_echo=$ac_try;;
32794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32795 (eval "$ac_link") 2>conftest.er1
32797 grep -v '^ *+' conftest.er1 >conftest.err
32799 cat conftest.err >&5
32800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801 (exit $ac_status); } && {
32802 test -z "$ac_c_werror_flag" ||
32803 test ! -s conftest.err
32804 } && test -s conftest$ac_exeext &&
32805 $as_test_x conftest$ac_exeext; then
32806 ac_cv_lib_dnet_dnet_ntoa=yes
32808 echo "$as_me: failed program was:" >&5
32809 sed 's/^/| /' conftest.$ac_ext >&5
32811 ac_cv_lib_dnet_dnet_ntoa=no
32814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32815 conftest$ac_exeext conftest.$ac_ext
32816 LIBS=$ac_check_lib_save_LIBS
32818 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32819 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32820 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32821 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32824 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32825 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32826 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32827 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32828 echo $ECHO_N "(cached) $ECHO_C" >&6
32830 ac_check_lib_save_LIBS=$LIBS
32831 LIBS="-ldnet_stub $LIBS"
32832 cat >conftest.$ac_ext <<_ACEOF
32835 cat confdefs.h >>conftest.$ac_ext
32836 cat >>conftest.$ac_ext <<_ACEOF
32837 /* end confdefs.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. */
32849 return dnet_ntoa ();
32854 rm -f conftest.$ac_objext conftest$ac_exeext
32855 if { (ac_try="$ac_link"
32856 case "(($ac_try" in
32857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32858 *) ac_try_echo
=$ac_try;;
32860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32861 (eval "$ac_link") 2>conftest.er1
32863 grep -v '^ *+' conftest.er1
>conftest.err
32865 cat conftest.err
>&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); } && {
32868 test -z "$ac_c_werror_flag" ||
32869 test ! -s conftest.err
32870 } && test -s conftest
$ac_exeext &&
32871 $as_test_x conftest
$ac_exeext; then
32872 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32874 echo "$as_me: failed program was:" >&5
32875 sed 's/^/| /' conftest.
$ac_ext >&5
32877 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32881 conftest
$ac_exeext conftest.
$ac_ext
32882 LIBS
=$ac_check_lib_save_LIBS
32884 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32885 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32886 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32887 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32893 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32894 conftest
$ac_exeext conftest.
$ac_ext
32895 LIBS
="$ac_xsave_LIBS"
32897 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32898 # to get the SysV transport functions.
32899 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32901 # The nsl library prevents programs from opening the X display
32902 # on Irix 5.2, according to T.E. Dickey.
32903 # The functions gethostbyname, getservbyname, and inet_addr are
32904 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32905 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32906 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32907 if test "${ac_cv_func_gethostbyname+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32910 cat >conftest.
$ac_ext <<_ACEOF
32913 cat confdefs.h
>>conftest.
$ac_ext
32914 cat >>conftest.
$ac_ext <<_ACEOF
32915 /* end confdefs.h. */
32916 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32918 #define gethostbyname innocuous_gethostbyname
32920 /* System header to define __stub macros and hopefully few prototypes,
32921 which can conflict with char gethostbyname (); below.
32922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32923 <limits.h> exists even on freestanding compilers. */
32926 # include <limits.h>
32928 # include <assert.h>
32931 #undef gethostbyname
32933 /* Override any GCC internal prototype to avoid an error.
32934 Use char because int might match the return type of a GCC
32935 builtin and then its argument prototype would still apply. */
32939 char gethostbyname ();
32940 /* The GNU C library defines this for functions which it implements
32941 to always fail with ENOSYS. Some functions are actually named
32942 something starting with __ and the normal name is an alias. */
32943 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32950 return gethostbyname ();
32955 rm -f conftest.
$ac_objext conftest
$ac_exeext
32956 if { (ac_try
="$ac_link"
32957 case "(($ac_try" in
32958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32959 *) ac_try_echo=$ac_try;;
32961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32962 (eval "$ac_link") 2>conftest.er1
32964 grep -v '^ *+' conftest.er1 >conftest.err
32966 cat conftest.err >&5
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); } && {
32969 test -z "$ac_c_werror_flag" ||
32970 test ! -s conftest.err
32971 } && test -s conftest$ac_exeext &&
32972 $as_test_x conftest$ac_exeext; then
32973 ac_cv_func_gethostbyname=yes
32975 echo "$as_me: failed program was:" >&5
32976 sed 's/^/| /' conftest.$ac_ext >&5
32978 ac_cv_func_gethostbyname=no
32981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32982 conftest$ac_exeext conftest.$ac_ext
32984 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32985 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32987 if test $ac_cv_func_gethostbyname = no; then
32988 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32989 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32990 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32991 echo $ECHO_N "(cached) $ECHO_C" >&6
32993 ac_check_lib_save_LIBS=$LIBS
32995 cat >conftest.$ac_ext <<_ACEOF
32998 cat confdefs.h >>conftest.$ac_ext
32999 cat >>conftest.$ac_ext <<_ACEOF
33000 /* end confdefs.h. */
33002 /* Override any GCC internal prototype to avoid an error.
33003 Use char because int might match the return type of a GCC
33004 builtin and then its argument prototype would still apply. */
33008 char gethostbyname ();
33012 return gethostbyname ();
33017 rm -f conftest.$ac_objext conftest$ac_exeext
33018 if { (ac_try="$ac_link"
33019 case "(($ac_try" in
33020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33021 *) ac_try_echo
=$ac_try;;
33023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33024 (eval "$ac_link") 2>conftest.er1
33026 grep -v '^ *+' conftest.er1
>conftest.err
33028 cat conftest.err
>&5
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); } && {
33031 test -z "$ac_c_werror_flag" ||
33032 test ! -s conftest.err
33033 } && test -s conftest
$ac_exeext &&
33034 $as_test_x conftest
$ac_exeext; then
33035 ac_cv_lib_nsl_gethostbyname
=yes
33037 echo "$as_me: failed program was:" >&5
33038 sed 's/^/| /' conftest.
$ac_ext >&5
33040 ac_cv_lib_nsl_gethostbyname
=no
33043 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33044 conftest
$ac_exeext conftest.
$ac_ext
33045 LIBS
=$ac_check_lib_save_LIBS
33047 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33048 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33049 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33050 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33053 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33054 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33055 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33056 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33057 echo $ECHO_N "(cached) $ECHO_C" >&6
33059 ac_check_lib_save_LIBS
=$LIBS
33061 cat >conftest.
$ac_ext <<_ACEOF
33064 cat confdefs.h
>>conftest.
$ac_ext
33065 cat >>conftest.
$ac_ext <<_ACEOF
33066 /* end confdefs.h. */
33068 /* Override any GCC internal prototype to avoid an error.
33069 Use char because int might match the return type of a GCC
33070 builtin and then its argument prototype would still apply. */
33074 char gethostbyname ();
33078 return gethostbyname ();
33083 rm -f conftest.
$ac_objext conftest
$ac_exeext
33084 if { (ac_try
="$ac_link"
33085 case "(($ac_try" in
33086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33087 *) ac_try_echo=$ac_try;;
33089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33090 (eval "$ac_link") 2>conftest.er1
33092 grep -v '^ *+' conftest.er1 >conftest.err
33094 cat conftest.err >&5
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); } && {
33097 test -z "$ac_c_werror_flag" ||
33098 test ! -s conftest.err
33099 } && test -s conftest$ac_exeext &&
33100 $as_test_x conftest$ac_exeext; then
33101 ac_cv_lib_bsd_gethostbyname=yes
33103 echo "$as_me: failed program was:" >&5
33104 sed 's/^/| /' conftest.$ac_ext >&5
33106 ac_cv_lib_bsd_gethostbyname=no
33109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33110 conftest$ac_exeext conftest.$ac_ext
33111 LIBS=$ac_check_lib_save_LIBS
33113 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33114 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33115 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33116 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33122 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33123 # socket/setsockopt and other routines are undefined under SCO ODT
33124 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33125 # on later versions), says Simon Leinen: it contains gethostby*
33126 # variants that don't use the name server (or something). -lsocket
33127 # must be given before -lnsl if both are needed. We assume that
33128 # if connect needs -lnsl, so does gethostbyname.
33129 { echo "$as_me:$LINENO: checking for connect" >&5
33130 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33131 if test "${ac_cv_func_connect+set}" = set; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33134 cat >conftest.$ac_ext <<_ACEOF
33137 cat confdefs.h >>conftest.$ac_ext
33138 cat >>conftest.$ac_ext <<_ACEOF
33139 /* end confdefs.h. */
33140 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33142 #define connect innocuous_connect
33144 /* System header to define __stub macros and hopefully few prototypes,
33145 which can conflict with char connect (); below.
33146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33147 <limits.h> exists even on freestanding compilers. */
33150 # include <limits.h>
33152 # include <assert.h>
33157 /* Override any GCC internal prototype to avoid an error.
33158 Use char because int might match the return type of a GCC
33159 builtin and then its argument prototype would still apply. */
33164 /* The GNU C library defines this for functions which it implements
33165 to always fail with ENOSYS. Some functions are actually named
33166 something starting with __ and the normal name is an alias. */
33167 #if defined __stub_connect || defined __stub___connect
33179 rm -f conftest.$ac_objext conftest$ac_exeext
33180 if { (ac_try="$ac_link"
33181 case "(($ac_try" in
33182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33183 *) ac_try_echo
=$ac_try;;
33185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33186 (eval "$ac_link") 2>conftest.er1
33188 grep -v '^ *+' conftest.er1
>conftest.err
33190 cat conftest.err
>&5
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); } && {
33193 test -z "$ac_c_werror_flag" ||
33194 test ! -s conftest.err
33195 } && test -s conftest
$ac_exeext &&
33196 $as_test_x conftest
$ac_exeext; then
33197 ac_cv_func_connect
=yes
33199 echo "$as_me: failed program was:" >&5
33200 sed 's/^/| /' conftest.
$ac_ext >&5
33202 ac_cv_func_connect
=no
33205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33206 conftest
$ac_exeext conftest.
$ac_ext
33208 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33209 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33211 if test $ac_cv_func_connect = no
; then
33212 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33213 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33214 if test "${ac_cv_lib_socket_connect+set}" = set; then
33215 echo $ECHO_N "(cached) $ECHO_C" >&6
33217 ac_check_lib_save_LIBS
=$LIBS
33218 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33219 cat >conftest.
$ac_ext <<_ACEOF
33222 cat confdefs.h
>>conftest.
$ac_ext
33223 cat >>conftest.
$ac_ext <<_ACEOF
33224 /* end confdefs.h. */
33226 /* Override any GCC internal prototype to avoid an error.
33227 Use char because int might match the return type of a GCC
33228 builtin and then its argument prototype would still apply. */
33241 rm -f conftest.
$ac_objext conftest
$ac_exeext
33242 if { (ac_try
="$ac_link"
33243 case "(($ac_try" in
33244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33245 *) ac_try_echo=$ac_try;;
33247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33248 (eval "$ac_link") 2>conftest.er1
33250 grep -v '^ *+' conftest.er1 >conftest.err
33252 cat conftest.err >&5
33253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33254 (exit $ac_status); } && {
33255 test -z "$ac_c_werror_flag" ||
33256 test ! -s conftest.err
33257 } && test -s conftest$ac_exeext &&
33258 $as_test_x conftest$ac_exeext; then
33259 ac_cv_lib_socket_connect=yes
33261 echo "$as_me: failed program was:" >&5
33262 sed 's/^/| /' conftest.$ac_ext >&5
33264 ac_cv_lib_socket_connect=no
33267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33268 conftest$ac_exeext conftest.$ac_ext
33269 LIBS=$ac_check_lib_save_LIBS
33271 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33272 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33273 if test $ac_cv_lib_socket_connect = yes; then
33274 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33279 # Guillermo Gomez says -lposix is necessary on A/UX.
33280 { echo "$as_me:$LINENO: checking for remove" >&5
33281 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33282 if test "${ac_cv_func_remove+set}" = set; then
33283 echo $ECHO_N "(cached) $ECHO_C" >&6
33285 cat >conftest.$ac_ext <<_ACEOF
33288 cat confdefs.h >>conftest.$ac_ext
33289 cat >>conftest.$ac_ext <<_ACEOF
33290 /* end confdefs.h. */
33291 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33293 #define remove innocuous_remove
33295 /* System header to define __stub macros and hopefully few prototypes,
33296 which can conflict with char remove (); below.
33297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33298 <limits.h> exists even on freestanding compilers. */
33301 # include <limits.h>
33303 # include <assert.h>
33308 /* Override any GCC internal prototype to avoid an error.
33309 Use char because int might match the return type of a GCC
33310 builtin and then its argument prototype would still apply. */
33315 /* The GNU C library defines this for functions which it implements
33316 to always fail with ENOSYS. Some functions are actually named
33317 something starting with __ and the normal name is an alias. */
33318 #if defined __stub_remove || defined __stub___remove
33330 rm -f conftest.$ac_objext conftest$ac_exeext
33331 if { (ac_try="$ac_link"
33332 case "(($ac_try" in
33333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33334 *) ac_try_echo
=$ac_try;;
33336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33337 (eval "$ac_link") 2>conftest.er1
33339 grep -v '^ *+' conftest.er1
>conftest.err
33341 cat conftest.err
>&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); } && {
33344 test -z "$ac_c_werror_flag" ||
33345 test ! -s conftest.err
33346 } && test -s conftest
$ac_exeext &&
33347 $as_test_x conftest
$ac_exeext; then
33348 ac_cv_func_remove
=yes
33350 echo "$as_me: failed program was:" >&5
33351 sed 's/^/| /' conftest.
$ac_ext >&5
33353 ac_cv_func_remove
=no
33356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33357 conftest
$ac_exeext conftest.
$ac_ext
33359 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33360 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33362 if test $ac_cv_func_remove = no
; then
33363 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33364 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33365 if test "${ac_cv_lib_posix_remove+set}" = set; then
33366 echo $ECHO_N "(cached) $ECHO_C" >&6
33368 ac_check_lib_save_LIBS
=$LIBS
33369 LIBS
="-lposix $LIBS"
33370 cat >conftest.
$ac_ext <<_ACEOF
33373 cat confdefs.h
>>conftest.
$ac_ext
33374 cat >>conftest.
$ac_ext <<_ACEOF
33375 /* end confdefs.h. */
33377 /* Override any GCC internal prototype to avoid an error.
33378 Use char because int might match the return type of a GCC
33379 builtin and then its argument prototype would still apply. */
33392 rm -f conftest.
$ac_objext conftest
$ac_exeext
33393 if { (ac_try
="$ac_link"
33394 case "(($ac_try" in
33395 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33396 *) ac_try_echo=$ac_try;;
33398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33399 (eval "$ac_link") 2>conftest.er1
33401 grep -v '^ *+' conftest.er1 >conftest.err
33403 cat conftest.err >&5
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); } && {
33406 test -z "$ac_c_werror_flag" ||
33407 test ! -s conftest.err
33408 } && test -s conftest$ac_exeext &&
33409 $as_test_x conftest$ac_exeext; then
33410 ac_cv_lib_posix_remove=yes
33412 echo "$as_me: failed program was:" >&5
33413 sed 's/^/| /' conftest.$ac_ext >&5
33415 ac_cv_lib_posix_remove=no
33418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33419 conftest$ac_exeext conftest.$ac_ext
33420 LIBS=$ac_check_lib_save_LIBS
33422 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33423 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33424 if test $ac_cv_lib_posix_remove = yes; then
33425 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33430 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33431 { echo "$as_me:$LINENO: checking for shmat" >&5
33432 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33433 if test "${ac_cv_func_shmat+set}" = set; then
33434 echo $ECHO_N "(cached) $ECHO_C" >&6
33436 cat >conftest.$ac_ext <<_ACEOF
33439 cat confdefs.h >>conftest.$ac_ext
33440 cat >>conftest.$ac_ext <<_ACEOF
33441 /* end confdefs.h. */
33442 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33444 #define shmat innocuous_shmat
33446 /* System header to define __stub macros and hopefully few prototypes,
33447 which can conflict with char shmat (); below.
33448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33449 <limits.h> exists even on freestanding compilers. */
33452 # include <limits.h>
33454 # include <assert.h>
33459 /* Override any GCC internal prototype to avoid an error.
33460 Use char because int might match the return type of a GCC
33461 builtin and then its argument prototype would still apply. */
33466 /* The GNU C library defines this for functions which it implements
33467 to always fail with ENOSYS. Some functions are actually named
33468 something starting with __ and the normal name is an alias. */
33469 #if defined __stub_shmat || defined __stub___shmat
33481 rm -f conftest.$ac_objext conftest$ac_exeext
33482 if { (ac_try="$ac_link"
33483 case "(($ac_try" in
33484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33485 *) ac_try_echo
=$ac_try;;
33487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33488 (eval "$ac_link") 2>conftest.er1
33490 grep -v '^ *+' conftest.er1
>conftest.err
33492 cat conftest.err
>&5
33493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33494 (exit $ac_status); } && {
33495 test -z "$ac_c_werror_flag" ||
33496 test ! -s conftest.err
33497 } && test -s conftest
$ac_exeext &&
33498 $as_test_x conftest
$ac_exeext; then
33499 ac_cv_func_shmat
=yes
33501 echo "$as_me: failed program was:" >&5
33502 sed 's/^/| /' conftest.
$ac_ext >&5
33504 ac_cv_func_shmat
=no
33507 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33508 conftest
$ac_exeext conftest.
$ac_ext
33510 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33511 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33513 if test $ac_cv_func_shmat = no
; then
33514 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33515 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33516 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33517 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 ac_check_lib_save_LIBS
=$LIBS
33521 cat >conftest.
$ac_ext <<_ACEOF
33524 cat confdefs.h
>>conftest.
$ac_ext
33525 cat >>conftest.
$ac_ext <<_ACEOF
33526 /* end confdefs.h. */
33528 /* Override any GCC internal prototype to avoid an error.
33529 Use char because int might match the return type of a GCC
33530 builtin and then its argument prototype would still apply. */
33543 rm -f conftest.
$ac_objext conftest
$ac_exeext
33544 if { (ac_try
="$ac_link"
33545 case "(($ac_try" in
33546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33547 *) ac_try_echo=$ac_try;;
33549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33550 (eval "$ac_link") 2>conftest.er1
33552 grep -v '^ *+' conftest.er1 >conftest.err
33554 cat conftest.err >&5
33555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33556 (exit $ac_status); } && {
33557 test -z "$ac_c_werror_flag" ||
33558 test ! -s conftest.err
33559 } && test -s conftest$ac_exeext &&
33560 $as_test_x conftest$ac_exeext; then
33561 ac_cv_lib_ipc_shmat=yes
33563 echo "$as_me: failed program was:" >&5
33564 sed 's/^/| /' conftest.$ac_ext >&5
33566 ac_cv_lib_ipc_shmat=no
33569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33570 conftest$ac_exeext conftest.$ac_ext
33571 LIBS=$ac_check_lib_save_LIBS
33573 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33574 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33575 if test $ac_cv_lib_ipc_shmat = yes; then
33576 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33582 # Check for libraries that X11R6 Xt/Xaw programs need.
33583 ac_save_LDFLAGS=$LDFLAGS
33584 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33585 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33586 # check for ICE first), but we must link in the order -lSM -lICE or
33587 # we get undefined symbols. So assume we have SM if we have ICE.
33588 # These have to be linked with before -lX11, unlike the other
33589 # libraries we check for below, so use a different variable.
33590 # John Interrante, Karl Berry
33591 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33592 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33593 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33594 echo $ECHO_N "(cached) $ECHO_C" >&6
33596 ac_check_lib_save_LIBS=$LIBS
33597 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33598 cat >conftest.$ac_ext <<_ACEOF
33601 cat confdefs.h >>conftest.$ac_ext
33602 cat >>conftest.$ac_ext <<_ACEOF
33603 /* end confdefs.h. */
33605 /* Override any GCC internal prototype to avoid an error.
33606 Use char because int might match the return type of a GCC
33607 builtin and then its argument prototype would still apply. */
33611 char IceConnectionNumber ();
33615 return IceConnectionNumber ();
33620 rm -f conftest.$ac_objext conftest$ac_exeext
33621 if { (ac_try="$ac_link"
33622 case "(($ac_try" in
33623 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33624 *) ac_try_echo
=$ac_try;;
33626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33627 (eval "$ac_link") 2>conftest.er1
33629 grep -v '^ *+' conftest.er1
>conftest.err
33631 cat conftest.err
>&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); } && {
33634 test -z "$ac_c_werror_flag" ||
33635 test ! -s conftest.err
33636 } && test -s conftest
$ac_exeext &&
33637 $as_test_x conftest
$ac_exeext; then
33638 ac_cv_lib_ICE_IceConnectionNumber
=yes
33640 echo "$as_me: failed program was:" >&5
33641 sed 's/^/| /' conftest.
$ac_ext >&5
33643 ac_cv_lib_ICE_IceConnectionNumber
=no
33646 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33647 conftest
$ac_exeext conftest.
$ac_ext
33648 LIBS
=$ac_check_lib_save_LIBS
33650 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33651 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33652 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33653 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33656 LDFLAGS
=$ac_save_LDFLAGS
33661 if test "$no_x" = "yes"; then
33662 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33663 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33664 { (exit 1); exit 1; }; }
33667 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33668 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33669 AFMINSTALL
=afminstall
33670 COMPILED_X_PROGRAM
=0
33674 if test "$wxUSE_X11" = 1; then
33675 if test "$wxUSE_NANOX" = "yes"; then
33676 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33677 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33678 if test "x$MICROWIN" = x
; then
33679 { echo "$as_me:$LINENO: result: not found" >&5
33680 echo "${ECHO_T}not found" >&6; }
33681 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33682 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33683 { (exit 1); exit 1; }; }
33685 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33686 echo "${ECHO_T}$MICROWIN" >&6; }
33687 cat >>confdefs.h
<<\_ACEOF
33688 #define wxUSE_NANOX 1
33694 if test "$wxUSE_UNICODE" = "yes"; then
33697 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33698 if test -n "$ac_tool_prefix"; then
33699 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33700 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33703 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33704 echo $ECHO_N "(cached) $ECHO_C" >&6
33706 case $PKG_CONFIG in
33708 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33712 for as_dir
in $PATH
33715 test -z "$as_dir" && as_dir
=.
33716 for ac_exec_ext
in '' $ac_executable_extensions; do
33717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33718 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33729 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33730 if test -n "$PKG_CONFIG"; then
33731 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33732 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33734 { echo "$as_me:$LINENO: result: no" >&5
33735 echo "${ECHO_T}no" >&6; }
33740 if test -z "$ac_cv_path_PKG_CONFIG"; then
33741 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33742 # Extract the first word of "pkg-config", so it can be a program name with args.
33743 set dummy pkg
-config; ac_word
=$2
33744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33746 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33747 echo $ECHO_N "(cached) $ECHO_C" >&6
33749 case $ac_pt_PKG_CONFIG in
33751 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33755 for as_dir
in $PATH
33758 test -z "$as_dir" && as_dir
=.
33759 for ac_exec_ext
in '' $ac_executable_extensions; do
33760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33761 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33772 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33773 if test -n "$ac_pt_PKG_CONFIG"; then
33774 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33775 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33777 { echo "$as_me:$LINENO: result: no" >&5
33778 echo "${ECHO_T}no" >&6; }
33781 if test "x$ac_pt_PKG_CONFIG" = x
; then
33784 case $cross_compiling:$ac_tool_warned in
33786 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33787 whose name does not start with the host triplet. If you think this
33788 configuration is useful to you, please write to autoconf@gnu.org." >&5
33789 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33790 whose name does not start with the host triplet. If you think this
33791 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33792 ac_tool_warned
=yes ;;
33794 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33797 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33801 if test -n "$PKG_CONFIG"; then
33802 _pkg_min_version
=0.9.0
33803 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33804 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33805 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33806 { echo "$as_me:$LINENO: result: yes" >&5
33807 echo "${ECHO_T}yes" >&6; }
33809 { echo "$as_me:$LINENO: result: no" >&5
33810 echo "${ECHO_T}no" >&6; }
33818 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33819 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33821 if test -n "$PKG_CONFIG"; then
33822 if test -n "$PANGOX_CFLAGS"; then
33823 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33825 if test -n "$PKG_CONFIG" && \
33826 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33827 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33830 (exit $ac_status); }; then
33831 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33839 if test -n "$PKG_CONFIG"; then
33840 if test -n "$PANGOX_LIBS"; then
33841 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33843 if test -n "$PKG_CONFIG" && \
33844 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33845 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); }; then
33849 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33860 if test $pkg_failed = yes; then
33862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33863 _pkg_short_errors_supported
=yes
33865 _pkg_short_errors_supported
=no
33867 if test $_pkg_short_errors_supported = yes; then
33868 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33870 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33872 # Put the nasty error message in config.log where it belongs
33873 echo "$PANGOX_PKG_ERRORS" >&5
33876 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33877 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33878 { (exit 1); exit 1; }; }
33881 elif test $pkg_failed = untried
; then
33883 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33884 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33885 { (exit 1); exit 1; }; }
33889 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33890 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33891 { echo "$as_me:$LINENO: result: yes" >&5
33892 echo "${ECHO_T}yes" >&6; }
33894 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33895 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33896 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33901 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33902 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33904 if test -n "$PKG_CONFIG"; then
33905 if test -n "$PANGOFT2_CFLAGS"; then
33906 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33908 if test -n "$PKG_CONFIG" && \
33909 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33910 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33913 (exit $ac_status); }; then
33914 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33922 if test -n "$PKG_CONFIG"; then
33923 if test -n "$PANGOFT2_LIBS"; then
33924 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33926 if test -n "$PKG_CONFIG" && \
33927 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33928 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931 (exit $ac_status); }; then
33932 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33943 if test $pkg_failed = yes; then
33945 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33946 _pkg_short_errors_supported
=yes
33948 _pkg_short_errors_supported
=no
33950 if test $_pkg_short_errors_supported = yes; then
33951 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33953 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33955 # Put the nasty error message in config.log where it belongs
33956 echo "$PANGOFT2_PKG_ERRORS" >&5
33959 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33960 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33961 wxUSE_PRINTING_ARCHITECTURE
="no"
33964 elif test $pkg_failed = untried
; then
33966 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33967 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33968 wxUSE_PRINTING_ARCHITECTURE
="no"
33972 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33973 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33974 { echo "$as_me:$LINENO: result: yes" >&5
33975 echo "${ECHO_T}yes" >&6; }
33977 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33978 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33979 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33984 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33985 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33987 if test -n "$PKG_CONFIG"; then
33988 if test -n "$PANGOXFT_CFLAGS"; then
33989 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33991 if test -n "$PKG_CONFIG" && \
33992 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33993 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); }; then
33997 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34005 if test -n "$PKG_CONFIG"; then
34006 if test -n "$PANGOXFT_LIBS"; then
34007 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34009 if test -n "$PKG_CONFIG" && \
34010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34011 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); }; then
34015 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34026 if test $pkg_failed = yes; then
34028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34029 _pkg_short_errors_supported
=yes
34031 _pkg_short_errors_supported
=no
34033 if test $_pkg_short_errors_supported = yes; then
34034 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34036 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34038 # Put the nasty error message in config.log where it belongs
34039 echo "$PANGOXFT_PKG_ERRORS" >&5
34042 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34043 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34046 elif test $pkg_failed = untried
; then
34048 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34049 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34053 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34054 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34055 { echo "$as_me:$LINENO: result: yes" >&5
34056 echo "${ECHO_T}yes" >&6; }
34058 cat >>confdefs.h
<<\_ACEOF
34059 #define HAVE_PANGO_XFT 1
34062 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34063 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34064 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34068 LIBS
="$LIBS $PANGOX_LIBS"
34070 for ac_func
in pango_font_family_is_monospace
34072 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34073 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34075 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34078 cat >conftest.
$ac_ext <<_ACEOF
34081 cat confdefs.h
>>conftest.
$ac_ext
34082 cat >>conftest.
$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34086 #define $ac_func innocuous_$ac_func
34088 /* System header to define __stub macros and hopefully few prototypes,
34089 which can conflict with char $ac_func (); below.
34090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34091 <limits.h> exists even on freestanding compilers. */
34094 # include <limits.h>
34096 # include <assert.h>
34101 /* Override any GCC internal prototype to avoid an error.
34102 Use char because int might match the return type of a GCC
34103 builtin and then its argument prototype would still apply. */
34108 /* The GNU C library defines this for functions which it implements
34109 to always fail with ENOSYS. Some functions are actually named
34110 something starting with __ and the normal name is an alias. */
34111 #if defined __stub_$ac_func || defined __stub___$ac_func
34118 return $ac_func ();
34123 rm -f conftest.
$ac_objext conftest
$ac_exeext
34124 if { (ac_try
="$ac_link"
34125 case "(($ac_try" in
34126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34127 *) ac_try_echo=$ac_try;;
34129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34130 (eval "$ac_link") 2>conftest.er1
34132 grep -v '^ *+' conftest.er1 >conftest.err
34134 cat conftest.err >&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); } && {
34137 test -z "$ac_c_werror_flag" ||
34138 test ! -s conftest.err
34139 } && test -s conftest$ac_exeext &&
34140 $as_test_x conftest$ac_exeext; then
34141 eval "$as_ac_var=yes"
34143 echo "$as_me: failed program was:" >&5
34144 sed 's/^/| /' conftest.$ac_ext >&5
34146 eval "$as_ac_var=no"
34149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34150 conftest$ac_exeext conftest.$ac_ext
34152 ac_res=`eval echo '${'$as_ac_var'}'`
34153 { echo "$as_me:$LINENO: result: $ac_res" >&5
34154 echo "${ECHO_T}$ac_res" >&6; }
34155 if test `eval echo '${'$as_ac_var'}'` = yes; then
34156 cat >>confdefs.h <<_ACEOF
34157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34166 wxUSE_UNIVERSAL="yes"
34168 if test "$wxUSE_NANOX" = "yes"; then
34169 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34170 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"
34171 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34173 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34180 if test "$wxUSE_MOTIF" = 1; then
34181 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34182 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34185 for ac_dir in $SEARCH_INCLUDE /usr/include;
34187 if test -f "$ac_dir/Xm/Xm.h"; then
34188 ac_find_includes=$ac_dir
34193 if test "$ac_find_includes" != "" ; then
34194 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34195 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34197 if test "x$ac_find_includes" = "x/usr/include"; then
34198 ac_path_to_include=""
34200 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34202 if test $result = 0; then
34203 ac_path_to_include=""
34205 ac_path_to_include=" -I$ac_find_includes"
34209 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34211 save_CFLAGS=$CFLAGS
34212 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34214 cat >conftest.$ac_ext <<_ACEOF
34217 cat confdefs.h >>conftest.$ac_ext
34218 cat >>conftest.$ac_ext <<_ACEOF
34219 /* end confdefs.h. */
34228 version = xmUseVersion;
34234 rm -f conftest.$ac_objext
34235 if { (ac_try="$ac_compile"
34236 case "(($ac_try" in
34237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34238 *) ac_try_echo
=$ac_try;;
34240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34241 (eval "$ac_compile") 2>conftest.er1
34243 grep -v '^ *+' conftest.er1
>conftest.err
34245 cat conftest.err
>&5
34246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34247 (exit $ac_status); } && {
34248 test -z "$ac_c_werror_flag" ||
34249 test ! -s conftest.err
34250 } && test -s conftest.
$ac_objext; then
34252 { echo "$as_me:$LINENO: result: found in default search path" >&5
34253 echo "${ECHO_T}found in default search path" >&6; }
34254 COMPILED_X_PROGRAM
=1
34257 echo "$as_me: failed program was:" >&5
34258 sed 's/^/| /' conftest.
$ac_ext >&5
34261 { echo "$as_me:$LINENO: result: no" >&5
34262 echo "${ECHO_T}no" >&6; }
34263 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34264 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34265 { (exit 1); exit 1; }; }
34270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34272 CFLAGS
=$save_CFLAGS
34276 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34277 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34280 for ac_dir
in $SEARCH_LIB;
34282 for ac_extension
in a so sl dylib dll.a
; do
34283 if test -f "$ac_dir/libXm.$ac_extension"; then
34284 ac_find_libraries
=$ac_dir
34291 if test "x$ac_find_libraries" != "x" ; then
34292 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34293 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34296 if test "$ac_find_libraries" = "default location"; then
34299 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34301 if test $result = 0; then
34304 ac_path_to_link
=" -L$ac_find_libraries"
34308 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34310 save_CFLAGS
=$CFLAGS
34311 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34313 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34315 cat >conftest.
$ac_ext <<_ACEOF
34318 cat confdefs.h
>>conftest.
$ac_ext
34319 cat >>conftest.
$ac_ext <<_ACEOF
34320 /* end confdefs.h. */
34329 version = xmUseVersion;
34335 rm -f conftest.
$ac_objext conftest
$ac_exeext
34336 if { (ac_try
="$ac_link"
34337 case "(($ac_try" in
34338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34339 *) ac_try_echo=$ac_try;;
34341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34342 (eval "$ac_link") 2>conftest.er1
34344 grep -v '^ *+' conftest.er1 >conftest.err
34346 cat conftest.err >&5
34347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 (exit $ac_status); } && {
34349 test -z "$ac_c_werror_flag" ||
34350 test ! -s conftest.err
34351 } && test -s conftest$ac_exeext &&
34352 $as_test_x conftest$ac_exeext; then
34354 { echo "$as_me:$LINENO: result: found in default search path" >&5
34355 echo "${ECHO_T}found in default search path" >&6; }
34356 COMPILED_X_PROGRAM=1
34359 echo "$as_me: failed program was:" >&5
34360 sed 's/^/| /' conftest.$ac_ext >&5
34363 { echo "$as_me:$LINENO: result: no" >&5
34364 echo "${ECHO_T}no" >&6; }
34365 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34366 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34367 { (exit 1); exit 1; }; }
34372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34373 conftest$ac_exeext conftest.$ac_ext
34375 CFLAGS=$save_CFLAGS
34379 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34380 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34384 for libp in "" " -lXp"; do
34385 if test "$libs_found" = "0"; then
34386 for libsm_ice in "" " -lSM -lICE"; do
34387 if test "$libs_found" = "0"; then
34389 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34390 save_CFLAGS=$CFLAGS
34391 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34393 cat >conftest.$ac_ext <<_ACEOF
34396 cat confdefs.h >>conftest.$ac_ext
34397 cat >>conftest.$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34401 #include <Xm/List.h>
34407 XmString string = NULL;
34410 XmListAddItem(w, string, position);
34416 rm -f conftest.$ac_objext conftest$ac_exeext
34417 if { (ac_try="$ac_link"
34418 case "(($ac_try" in
34419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34420 *) ac_try_echo
=$ac_try;;
34422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34423 (eval "$ac_link") 2>conftest.er1
34425 grep -v '^ *+' conftest.er1
>conftest.err
34427 cat conftest.err
>&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); } && {
34430 test -z "$ac_c_werror_flag" ||
34431 test ! -s conftest.err
34432 } && test -s conftest
$ac_exeext &&
34433 $as_test_x conftest
$ac_exeext; then
34436 libsm_ice_link
="$libsm_ice"
34437 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34438 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34442 echo "$as_me: failed program was:" >&5
34443 sed 's/^/| /' conftest.
$ac_ext >&5
34449 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34450 conftest
$ac_exeext conftest.
$ac_ext
34453 CFLAGS
=$save_CFLAGS
34459 if test "$libs_found" = "0"; then
34460 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34461 echo "${ECHO_T}can't find the right libraries" >&6; }
34462 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34463 echo "$as_me: error: can't link a simple motif program" >&2;}
34464 { (exit 1); exit 1; }; }
34467 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34468 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34469 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34470 echo $ECHO_N "(cached) $ECHO_C" >&6
34472 ac_check_lib_save_LIBS
=$LIBS
34474 cat >conftest.
$ac_ext <<_ACEOF
34477 cat confdefs.h
>>conftest.
$ac_ext
34478 cat >>conftest.
$ac_ext <<_ACEOF
34479 /* end confdefs.h. */
34481 /* Override any GCC internal prototype to avoid an error.
34482 Use char because int might match the return type of a GCC
34483 builtin and then its argument prototype would still apply. */
34487 char SgCreateList ();
34491 return SgCreateList ();
34496 rm -f conftest.
$ac_objext conftest
$ac_exeext
34497 if { (ac_try
="$ac_link"
34498 case "(($ac_try" in
34499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34500 *) ac_try_echo=$ac_try;;
34502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34503 (eval "$ac_link") 2>conftest.er1
34505 grep -v '^ *+' conftest.er1 >conftest.err
34507 cat conftest.err >&5
34508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509 (exit $ac_status); } && {
34510 test -z "$ac_c_werror_flag" ||
34511 test ! -s conftest.err
34512 } && test -s conftest$ac_exeext &&
34513 $as_test_x conftest$ac_exeext; then
34514 ac_cv_lib_Sgm_SgCreateList=yes
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.$ac_ext >&5
34519 ac_cv_lib_Sgm_SgCreateList=no
34522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34523 conftest$ac_exeext conftest.$ac_ext
34524 LIBS=$ac_check_lib_save_LIBS
34526 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34527 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34528 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34529 libsgm_link=" -lSgm"
34533 save_CFLAGS=$CFLAGS
34534 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34536 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34537 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34538 if test "${wx_cv_lib_motif2+set}" = set; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34541 cat >conftest.$ac_ext <<_ACEOF
34544 cat confdefs.h >>conftest.$ac_ext
34545 cat >>conftest.$ac_ext <<_ACEOF
34546 /* end confdefs.h. */
34554 #if XmVersion < 2000
34562 rm -f conftest.$ac_objext
34563 if { (ac_try="$ac_compile"
34564 case "(($ac_try" in
34565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34566 *) ac_try_echo
=$ac_try;;
34568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34569 (eval "$ac_compile") 2>conftest.er1
34571 grep -v '^ *+' conftest.er1
>conftest.err
34573 cat conftest.err
>&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } && {
34576 test -z "$ac_c_werror_flag" ||
34577 test ! -s conftest.err
34578 } && test -s conftest.
$ac_objext; then
34579 wx_cv_lib_motif2
="yes"
34581 echo "$as_me: failed program was:" >&5
34582 sed 's/^/| /' conftest.
$ac_ext >&5
34584 wx_cv_lib_motif2
="no"
34587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34589 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34590 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34591 if test "$wx_cv_lib_motif2" = "yes"; then
34592 cat >>confdefs.h
<<\_ACEOF
34593 #define __WXMOTIF20__ 1
34597 cat >>confdefs.h
<<\_ACEOF
34598 #define __WXMOTIF20__ 0
34603 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34604 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34605 if test "${wx_cv_lib_lesstif+set}" = set; then
34606 echo $ECHO_N "(cached) $ECHO_C" >&6
34608 cat >conftest.
$ac_ext <<_ACEOF
34611 cat confdefs.h
>>conftest.
$ac_ext
34612 cat >>conftest.
$ac_ext <<_ACEOF
34613 /* end confdefs.h. */
34621 #if !defined(LesstifVersion) || LesstifVersion <= 0
34629 rm -f conftest.
$ac_objext
34630 if { (ac_try
="$ac_compile"
34631 case "(($ac_try" in
34632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34633 *) ac_try_echo=$ac_try;;
34635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34636 (eval "$ac_compile") 2>conftest.er1
34638 grep -v '^ *+' conftest.er1 >conftest.err
34640 cat conftest.err >&5
34641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34642 (exit $ac_status); } && {
34643 test -z "$ac_c_werror_flag" ||
34644 test ! -s conftest.err
34645 } && test -s conftest.$ac_objext; then
34646 wx_cv_lib_lesstif="yes"
34648 echo "$as_me: failed program was:" >&5
34649 sed 's/^/| /' conftest.$ac_ext >&5
34651 wx_cv_lib_lesstif="no"
34654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34657 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34658 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34659 if test "$wx_cv_lib_lesstif" = "yes"; then
34660 cat >>confdefs.h <<\_ACEOF
34661 #define __WXLESSTIF__ 1
34665 cat >>confdefs.h <<\_ACEOF
34666 #define __WXLESSTIF__ 0
34671 CFLAGS=$save_CFLAGS
34673 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34678 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34679 if test "$wxUSE_LIBXPM" = "sys"; then
34680 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34681 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34684 for ac_dir in $SEARCH_LIB;
34686 for ac_extension in a so sl dylib dll.a; do
34687 if test -f "$ac_dir/libXpm.$ac_extension"; then
34688 ac_find_libraries=$ac_dir
34694 if test "$ac_find_libraries" != "" ; then
34696 if test "$ac_find_libraries" = "default location"; then
34699 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34701 if test $result = 0; then
34704 ac_path_to_link=" -L$ac_find_libraries"
34708 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34709 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34710 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34712 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34713 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34714 if test "${wx_cv_x11_xpm_h+set}" = set; then
34715 echo $ECHO_N "(cached) $ECHO_C" >&6
34718 save_CFLAGS=$CFLAGS
34719 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34721 cat >conftest.$ac_ext <<_ACEOF
34724 cat confdefs.h >>conftest.$ac_ext
34725 cat >>conftest.$ac_ext <<_ACEOF
34726 /* end confdefs.h. */
34728 #include <X11/xpm.h>
34735 version = XpmLibraryVersion();
34741 rm -f conftest.$ac_objext
34742 if { (ac_try="$ac_compile"
34743 case "(($ac_try" in
34744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34745 *) ac_try_echo
=$ac_try;;
34747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34748 (eval "$ac_compile") 2>conftest.er1
34750 grep -v '^ *+' conftest.er1
>conftest.err
34752 cat conftest.err
>&5
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); } && {
34755 test -z "$ac_c_werror_flag" ||
34756 test ! -s conftest.err
34757 } && test -s conftest.
$ac_objext; then
34758 wx_cv_x11_xpm_h
=yes
34760 echo "$as_me: failed program was:" >&5
34761 sed 's/^/| /' conftest.
$ac_ext >&5
34767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34769 CFLAGS
=$save_CFLAGS
34773 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34774 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34776 if test $wx_cv_x11_xpm_h = "yes"; then
34777 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34778 cat >>confdefs.h
<<\_ACEOF
34779 #define wxHAVE_LIB_XPM 1
34783 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34784 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34790 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34791 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34792 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34793 echo $ECHO_N "(cached) $ECHO_C" >&6
34795 ac_check_lib_save_LIBS
=$LIBS
34796 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34797 cat >conftest.
$ac_ext <<_ACEOF
34800 cat confdefs.h
>>conftest.
$ac_ext
34801 cat >>conftest.
$ac_ext <<_ACEOF
34802 /* end confdefs.h. */
34804 /* Override any GCC internal prototype to avoid an error.
34805 Use char because int might match the return type of a GCC
34806 builtin and then its argument prototype would still apply. */
34810 char XShapeQueryExtension ();
34814 return XShapeQueryExtension ();
34819 rm -f conftest.
$ac_objext conftest
$ac_exeext
34820 if { (ac_try
="$ac_link"
34821 case "(($ac_try" in
34822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34823 *) ac_try_echo=$ac_try;;
34825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34826 (eval "$ac_link") 2>conftest.er1
34828 grep -v '^ *+' conftest.er1 >conftest.err
34830 cat conftest.err >&5
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); } && {
34833 test -z "$ac_c_werror_flag" ||
34834 test ! -s conftest.err
34835 } && test -s conftest$ac_exeext &&
34836 $as_test_x conftest$ac_exeext; then
34837 ac_cv_lib_Xext_XShapeQueryExtension=yes
34839 echo "$as_me: failed program was:" >&5
34840 sed 's/^/| /' conftest.$ac_ext >&5
34842 ac_cv_lib_Xext_XShapeQueryExtension=no
34845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34846 conftest$ac_exeext conftest.$ac_ext
34847 LIBS=$ac_check_lib_save_LIBS
34849 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34850 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34851 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34853 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34859 if test "$wxHAVE_XEXT_LIB" = 1; then
34860 save_CFLAGS="$CFLAGS"
34861 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34863 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34864 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34865 cat >conftest.$ac_ext <<_ACEOF
34868 cat confdefs.h >>conftest.$ac_ext
34869 cat >>conftest.$ac_ext <<_ACEOF
34870 /* end confdefs.h. */
34872 #include <X11/Xlib.h>
34873 #include <X11/extensions/shape.h>
34879 int dummy1, dummy2;
34880 XShapeQueryExtension((Display*)NULL,
34881 (int*)NULL, (int*)NULL);
34887 rm -f conftest.$ac_objext
34888 if { (ac_try="$ac_compile"
34889 case "(($ac_try" in
34890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34891 *) ac_try_echo
=$ac_try;;
34893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34894 (eval "$ac_compile") 2>conftest.er1
34896 grep -v '^ *+' conftest.er1
>conftest.err
34898 cat conftest.err
>&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); } && {
34901 test -z "$ac_c_werror_flag" ||
34902 test ! -s conftest.err
34903 } && test -s conftest.
$ac_objext; then
34905 cat >>confdefs.h
<<\_ACEOF
34906 #define HAVE_XSHAPE 1
34909 { echo "$as_me:$LINENO: result: found" >&5
34910 echo "${ECHO_T}found" >&6; }
34913 echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.
$ac_ext >&5
34917 { echo "$as_me:$LINENO: result: not found" >&5
34918 echo "${ECHO_T}not found" >&6; }
34922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34923 CFLAGS
="$save_CFLAGS"
34928 if test "$wxUSE_MAC" = 1; then
34929 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34930 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34931 if test "$GCC" = yes; then
34932 { echo "$as_me:$LINENO: result: gcc" >&5
34933 echo "${ECHO_T}gcc" >&6; }
34934 CPPFLAGS_PASCAL
="-fpascal-strings"
34935 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34936 { echo "$as_me:$LINENO: result: xlc" >&5
34937 echo "${ECHO_T}xlc" >&6; }
34938 CPPFLAGS_PASCAL
="-qmacpstr"
34940 { echo "$as_me:$LINENO: result: none" >&5
34941 echo "${ECHO_T}none" >&6; }
34944 if test "x$wxUSE_UNIX" = "xyes"; then
34945 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34947 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34952 WXBASEPORT
="_carbon"
34955 if test "$wxUSE_COCOA" = 1; then
34960 if test "$wxUSE_PM" = 1; then
34963 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34964 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34965 if test "${wx_cv_spbcdata+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34969 cat >conftest.
$ac_ext <<_ACEOF
34972 cat confdefs.h
>>conftest.
$ac_ext
34973 cat >>conftest.
$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34989 rm -f conftest.
$ac_objext
34990 if { (ac_try
="$ac_compile"
34991 case "(($ac_try" in
34992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34993 *) ac_try_echo=$ac_try;;
34995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34996 (eval "$ac_compile") 2>conftest.er1
34998 grep -v '^ *+' conftest.er1 >conftest.err
35000 cat conftest.err >&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); } && {
35003 test -z "$ac_c_werror_flag" ||
35004 test ! -s conftest.err
35005 } && test -s conftest.$ac_objext; then
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.$ac_ext >&5
35015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35019 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35020 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35022 if test $wx_cv_spbcdata = "yes"; then
35023 cat >>confdefs.h <<\_ACEOF
35024 #define HAVE_SPBCDATA 1
35030 if test "$TOOLKIT" = "PM" ; then
35033 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35036 if test "$wxUSE_UNIVERSAL" = "yes"; then
35037 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35041 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35042 DISTDIR="wx\$(TOOLKIT)"
35048 if test "$USE_WIN32" = 1 ; then
35052 GUIDIST="BASE_DIST"
35058 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35059 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35060 wxUSE_UNICODE_UTF8=yes
35061 elif test "$USE_OS2" = "1" ; then
35062 wxUSE_UNICODE_UTF8=yes
35064 wxUSE_UNICODE_UTF8=no
35069 if test "$wxUSE_GUI" = "yes"; then
35070 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35072 for ac_header in X11/Xlib.h
35074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35075 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35077 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35078 echo $ECHO_N "(cached) $ECHO_C" >&6
35080 cat >conftest.$ac_ext <<_ACEOF
35083 cat confdefs.h >>conftest.$ac_ext
35084 cat >>conftest.$ac_ext <<_ACEOF
35085 /* end confdefs.h. */
35088 #include <$ac_header>
35090 rm -f conftest.$ac_objext
35091 if { (ac_try="$ac_compile"
35092 case "(($ac_try" in
35093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35094 *) ac_try_echo
=$ac_try;;
35096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35097 (eval "$ac_compile") 2>conftest.er1
35099 grep -v '^ *+' conftest.er1
>conftest.err
35101 cat conftest.err
>&5
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); } && {
35104 test -z "$ac_c_werror_flag" ||
35105 test ! -s conftest.err
35106 } && test -s conftest.
$ac_objext; then
35107 eval "$as_ac_Header=yes"
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.
$ac_ext >&5
35112 eval "$as_ac_Header=no"
35115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35117 ac_res
=`eval echo '${'$as_ac_Header'}'`
35118 { echo "$as_me:$LINENO: result: $ac_res" >&5
35119 echo "${ECHO_T}$ac_res" >&6; }
35120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35121 cat >>confdefs.h
<<_ACEOF
35122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35130 for ac_header
in X
11/XKBlib.h
35132 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35135 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35136 echo $ECHO_N "(cached) $ECHO_C" >&6
35138 cat >conftest.
$ac_ext <<_ACEOF
35141 cat confdefs.h
>>conftest.
$ac_ext
35142 cat >>conftest.
$ac_ext <<_ACEOF
35143 /* end confdefs.h. */
35145 #if HAVE_X11_XLIB_H
35146 #include <X11/Xlib.h>
35150 #include <$ac_header>
35152 rm -f conftest.
$ac_objext
35153 if { (ac_try
="$ac_compile"
35154 case "(($ac_try" in
35155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35156 *) ac_try_echo=$ac_try;;
35158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35159 (eval "$ac_compile") 2>conftest.er1
35161 grep -v '^ *+' conftest.er1 >conftest.err
35163 cat conftest.err >&5
35164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35165 (exit $ac_status); } && {
35166 test -z "$ac_c_werror_flag" ||
35167 test ! -s conftest.err
35168 } && test -s conftest.$ac_objext; then
35169 eval "$as_ac_Header=yes"
35171 echo "$as_me: failed program was:" >&5
35172 sed 's/^/| /' conftest.$ac_ext >&5
35174 eval "$as_ac_Header=no"
35177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35179 ac_res=`eval echo '${'$as_ac_Header'}'`
35180 { echo "$as_me:$LINENO: result: $ac_res" >&5
35181 echo "${ECHO_T}$ac_res" >&6; }
35182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35183 cat >>confdefs.h <<_ACEOF
35184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35199 if test "$TOOLKIT" != "MSW" ; then
35201 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35203 { echo "$as_me:$LINENO: checking for sql.h" >&5
35204 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35205 if test "${ac_cv_header_sql_h+set}" = set; then
35206 echo $ECHO_N "(cached) $ECHO_C" >&6
35208 cat >conftest.$ac_ext <<_ACEOF
35211 cat confdefs.h >>conftest.$ac_ext
35212 cat >>conftest.$ac_ext <<_ACEOF
35213 /* end confdefs.h. */
35218 rm -f conftest.$ac_objext
35219 if { (ac_try="$ac_compile"
35220 case "(($ac_try" in
35221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35222 *) ac_try_echo
=$ac_try;;
35224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35225 (eval "$ac_compile") 2>conftest.er1
35227 grep -v '^ *+' conftest.er1
>conftest.err
35229 cat conftest.err
>&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); } && {
35232 test -z "$ac_c_werror_flag" ||
35233 test ! -s conftest.err
35234 } && test -s conftest.
$ac_objext; then
35235 ac_cv_header_sql_h
=yes
35237 echo "$as_me: failed program was:" >&5
35238 sed 's/^/| /' conftest.
$ac_ext >&5
35240 ac_cv_header_sql_h
=no
35243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35245 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35246 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35247 if test $ac_cv_header_sql_h = yes; then
35252 if test "x$found_sql_h" = "x1" ; then
35253 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35254 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35255 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35258 ac_check_lib_save_LIBS
=$LIBS
35259 LIBS
="-liodbc $LIBS"
35260 cat >conftest.
$ac_ext <<_ACEOF
35263 cat confdefs.h
>>conftest.
$ac_ext
35264 cat >>conftest.
$ac_ext <<_ACEOF
35265 /* end confdefs.h. */
35267 /* Override any GCC internal prototype to avoid an error.
35268 Use char because int might match the return type of a GCC
35269 builtin and then its argument prototype would still apply. */
35273 char SQLAllocEnv ();
35277 return SQLAllocEnv ();
35282 rm -f conftest.
$ac_objext conftest
$ac_exeext
35283 if { (ac_try
="$ac_link"
35284 case "(($ac_try" in
35285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35286 *) ac_try_echo=$ac_try;;
35288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35289 (eval "$ac_link") 2>conftest.er1
35291 grep -v '^ *+' conftest.er1 >conftest.err
35293 cat conftest.err >&5
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); } && {
35296 test -z "$ac_c_werror_flag" ||
35297 test ! -s conftest.err
35298 } && test -s conftest$ac_exeext &&
35299 $as_test_x conftest$ac_exeext; then
35300 ac_cv_lib_iodbc_SQLAllocEnv=yes
35302 echo "$as_me: failed program was:" >&5
35303 sed 's/^/| /' conftest.$ac_ext >&5
35305 ac_cv_lib_iodbc_SQLAllocEnv=no
35308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35309 conftest$ac_exeext conftest.$ac_ext
35310 LIBS=$ac_check_lib_save_LIBS
35312 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35313 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35314 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35315 ODBC_LINK=" -liodbc"
35318 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35319 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35320 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35321 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 ac_check_lib_save_LIBS=$LIBS
35324 LIBS="-lunixodbc $LIBS"
35325 cat >conftest.$ac_ext <<_ACEOF
35328 cat confdefs.h >>conftest.$ac_ext
35329 cat >>conftest.$ac_ext <<_ACEOF
35330 /* end confdefs.h. */
35332 /* Override any GCC internal prototype to avoid an error.
35333 Use char because int might match the return type of a GCC
35334 builtin and then its argument prototype would still apply. */
35338 char SQLAllocEnv ();
35342 return SQLAllocEnv ();
35347 rm -f conftest.$ac_objext conftest$ac_exeext
35348 if { (ac_try="$ac_link"
35349 case "(($ac_try" in
35350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35351 *) ac_try_echo
=$ac_try;;
35353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35354 (eval "$ac_link") 2>conftest.er1
35356 grep -v '^ *+' conftest.er1
>conftest.err
35358 cat conftest.err
>&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } && {
35361 test -z "$ac_c_werror_flag" ||
35362 test ! -s conftest.err
35363 } && test -s conftest
$ac_exeext &&
35364 $as_test_x conftest
$ac_exeext; then
35365 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
35367 echo "$as_me: failed program was:" >&5
35368 sed 's/^/| /' conftest.
$ac_ext >&5
35370 ac_cv_lib_unixodbc_SQLAllocEnv
=no
35373 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35374 conftest
$ac_exeext conftest.
$ac_ext
35375 LIBS
=$ac_check_lib_save_LIBS
35377 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35378 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35379 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35380 ODBC_LINK
=" -lunixodbc"
35383 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35384 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35385 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35386 echo $ECHO_N "(cached) $ECHO_C" >&6
35388 ac_check_lib_save_LIBS
=$LIBS
35389 LIBS
="-lodbc $LIBS"
35390 cat >conftest.
$ac_ext <<_ACEOF
35393 cat confdefs.h
>>conftest.
$ac_ext
35394 cat >>conftest.
$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35397 /* Override any GCC internal prototype to avoid an error.
35398 Use char because int might match the return type of a GCC
35399 builtin and then its argument prototype would still apply. */
35403 char SQLAllocEnv ();
35407 return SQLAllocEnv ();
35412 rm -f conftest.
$ac_objext conftest
$ac_exeext
35413 if { (ac_try
="$ac_link"
35414 case "(($ac_try" in
35415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35416 *) ac_try_echo=$ac_try;;
35418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35419 (eval "$ac_link") 2>conftest.er1
35421 grep -v '^ *+' conftest.er1 >conftest.err
35423 cat conftest.err >&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); } && {
35426 test -z "$ac_c_werror_flag" ||
35427 test ! -s conftest.err
35428 } && test -s conftest$ac_exeext &&
35429 $as_test_x conftest$ac_exeext; then
35430 ac_cv_lib_odbc_SQLAllocEnv=yes
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.$ac_ext >&5
35435 ac_cv_lib_odbc_SQLAllocEnv=no
35438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35439 conftest$ac_exeext conftest.$ac_ext
35440 LIBS=$ac_check_lib_save_LIBS
35442 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35443 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35444 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35445 ODBC_LINK=" -lodbc"
35455 if test "x$ODBC_LINK" = "x" ; then
35456 if test "$wxUSE_ODBC" = "sys" ; then
35457 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35458 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35459 { (exit 1); exit 1; }; }
35461 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35462 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35470 if test "$wxUSE_ODBC" = "builtin" ; then
35471 cat >>confdefs.h <<\_ACEOF
35472 #define wxUSE_BUILTIN_IODBC 1
35478 if test "$wxUSE_ODBC" != "no" ; then
35479 cat >>confdefs.h <<\_ACEOF
35480 #define wxUSE_ODBC 1
35483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35485 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35489 if test "$wxUSE_DISPLAY" = "yes"; then
35490 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35491 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35492 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35495 for ac_dir in $SEARCH_LIB;
35497 for ac_extension in a so sl dylib dll.a; do
35498 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35499 ac_find_libraries=$ac_dir
35505 if test "$ac_find_libraries" != "" ; then
35507 if test "$ac_find_libraries" = "default location"; then
35510 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35512 if test $result = 0; then
35515 ac_path_to_link=" -L$ac_find_libraries"
35519 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35520 LDFLAGS="$LDFLAGS $ac_path_to_link"
35522 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35523 { echo "$as_me:$LINENO: result: yes" >&5
35524 echo "${ECHO_T}yes" >&6; }
35526 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35527 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35530 for ac_dir in $SEARCH_LIB;
35532 for ac_extension in a so sl dylib dll.a; do
35533 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35534 ac_find_libraries=$ac_dir
35540 if test "$ac_find_libraries" != "" ; then
35541 { echo "$as_me:$LINENO: result: yes" >&5
35542 echo "${ECHO_T}yes" >&6; }
35544 for ac_header in X11/extensions/xf86vmode.h
35546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35552 cat >conftest.$ac_ext <<_ACEOF
35555 cat confdefs.h >>conftest.$ac_ext
35556 cat >>conftest.$ac_ext <<_ACEOF
35557 /* end confdefs.h. */
35559 #if HAVE_X11_XLIB_H
35560 #include <X11/Xlib.h>
35564 #include <$ac_header>
35566 rm -f conftest.$ac_objext
35567 if { (ac_try="$ac_compile"
35568 case "(($ac_try" in
35569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35570 *) ac_try_echo
=$ac_try;;
35572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35573 (eval "$ac_compile") 2>conftest.er1
35575 grep -v '^ *+' conftest.er1
>conftest.err
35577 cat conftest.err
>&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } && {
35580 test -z "$ac_c_werror_flag" ||
35581 test ! -s conftest.err
35582 } && test -s conftest.
$ac_objext; then
35583 eval "$as_ac_Header=yes"
35585 echo "$as_me: failed program was:" >&5
35586 sed 's/^/| /' conftest.
$ac_ext >&5
35588 eval "$as_ac_Header=no"
35591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35593 ac_res
=`eval echo '${'$as_ac_Header'}'`
35594 { echo "$as_me:$LINENO: result: $ac_res" >&5
35595 echo "${ECHO_T}$ac_res" >&6; }
35596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35597 cat >>confdefs.h
<<_ACEOF
35598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35601 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35608 { echo "$as_me:$LINENO: result: no" >&5
35609 echo "${ECHO_T}no" >&6; }
35613 { echo "$as_me:$LINENO: result: no" >&5
35614 echo "${ECHO_T}no" >&6; }
35615 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35616 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35619 elif test "$wxUSE_MSW" = 1; then
35620 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35621 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35622 if test "${ac_cv_header_ddraw_h+set}" = set; then
35623 echo $ECHO_N "(cached) $ECHO_C" >&6
35625 cat >conftest.
$ac_ext <<_ACEOF
35628 cat confdefs.h
>>conftest.
$ac_ext
35629 cat >>conftest.
$ac_ext <<_ACEOF
35630 /* end confdefs.h. */
35631 #include <windows.h>
35635 rm -f conftest.
$ac_objext
35636 if { (ac_try
="$ac_compile"
35637 case "(($ac_try" in
35638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35639 *) ac_try_echo=$ac_try;;
35641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35642 (eval "$ac_compile") 2>conftest.er1
35644 grep -v '^ *+' conftest.er1 >conftest.err
35646 cat conftest.err >&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); } && {
35649 test -z "$ac_c_werror_flag" ||
35650 test ! -s conftest.err
35651 } && test -s conftest.$ac_objext; then
35652 ac_cv_header_ddraw_h=yes
35654 echo "$as_me: failed program was:" >&5
35655 sed 's/^/| /' conftest.$ac_ext >&5
35657 ac_cv_header_ddraw_h=no
35660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35662 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35663 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35669 if test "$wxUSE_DETECT_SM" = "yes"; then
35670 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35671 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35672 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35675 for ac_dir in $SEARCH_LIB;
35677 for ac_extension in a so sl dylib dll.a; do
35678 if test -f "$ac_dir/libSM.$ac_extension"; then
35679 ac_find_libraries=$ac_dir
35685 if test "$ac_find_libraries" != "" ; then
35687 if test "$ac_find_libraries" = "default location"; then
35690 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35692 if test $result = 0; then
35695 ac_path_to_link=" -L$ac_find_libraries"
35699 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35700 LDFLAGS="$LDFLAGS $ac_path_to_link"
35702 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35703 { echo "$as_me:$LINENO: result: yes" >&5
35704 echo "${ECHO_T}yes" >&6; }
35706 { echo "$as_me:$LINENO: result: no" >&5
35707 echo "${ECHO_T}no" >&6; }
35708 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35709 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35710 wxUSE_DETECT_SM="no"
35713 wxUSE_DETECT_SM="no"
35720 if test "$wxUSE_OPENGL" = "yes"; then
35721 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35722 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35723 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35725 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35726 OPENGL_LIBS="-framework OpenGL -framework AGL"
35727 elif test "$wxUSE_MSW" = 1; then
35728 OPENGL_LIBS="-lopengl32 -lglu32"
35730 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35731 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35734 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35736 if test -f "$ac_dir/GL/gl.h"; then
35737 ac_find_includes=$ac_dir
35742 if test "$ac_find_includes" != "" ; then
35743 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35744 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35746 if test "x$ac_find_includes" = "x/usr/include"; then
35747 ac_path_to_include=""
35749 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35751 if test $result = 0; then
35752 ac_path_to_include=""
35754 ac_path_to_include=" -I$ac_find_includes"
35758 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35760 { echo "$as_me:$LINENO: result: not found" >&5
35761 echo "${ECHO_T}not found" >&6; }
35764 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35765 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35766 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35767 echo $ECHO_N "(cached) $ECHO_C" >&6
35769 cat >conftest.$ac_ext <<_ACEOF
35772 cat confdefs.h >>conftest.$ac_ext
35773 cat >>conftest.$ac_ext <<_ACEOF
35774 /* end confdefs.h. */
35779 rm -f conftest.$ac_objext
35780 if { (ac_try="$ac_compile"
35781 case "(($ac_try" in
35782 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35783 *) ac_try_echo
=$ac_try;;
35785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35786 (eval "$ac_compile") 2>conftest.er1
35788 grep -v '^ *+' conftest.er1
>conftest.err
35790 cat conftest.err
>&5
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); } && {
35793 test -z "$ac_c_werror_flag" ||
35794 test ! -s conftest.err
35795 } && test -s conftest.
$ac_objext; then
35796 ac_cv_header_GL_gl_h
=yes
35798 echo "$as_me: failed program was:" >&5
35799 sed 's/^/| /' conftest.
$ac_ext >&5
35801 ac_cv_header_GL_gl_h
=no
35804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35806 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35807 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35808 if test $ac_cv_header_GL_gl_h = yes; then
35810 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35811 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35812 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35813 echo $ECHO_N "(cached) $ECHO_C" >&6
35815 cat >conftest.
$ac_ext <<_ACEOF
35818 cat confdefs.h
>>conftest.
$ac_ext
35819 cat >>conftest.
$ac_ext <<_ACEOF
35820 /* end confdefs.h. */
35823 #include <GL/glu.h>
35825 rm -f conftest.
$ac_objext
35826 if { (ac_try
="$ac_compile"
35827 case "(($ac_try" in
35828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35829 *) ac_try_echo=$ac_try;;
35831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35832 (eval "$ac_compile") 2>conftest.er1
35834 grep -v '^ *+' conftest.er1 >conftest.err
35836 cat conftest.err >&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } && {
35839 test -z "$ac_c_werror_flag" ||
35840 test ! -s conftest.err
35841 } && test -s conftest.$ac_objext; then
35842 ac_cv_header_GL_glu_h=yes
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.$ac_ext >&5
35847 ac_cv_header_GL_glu_h=no
35850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35852 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35853 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35854 if test $ac_cv_header_GL_glu_h = yes; then
35858 { echo "$as_me:$LINENO: checking for -lGL" >&5
35859 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35862 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35864 for ac_extension in a so sl dylib dll.a; do
35865 if test -f "$ac_dir/libGL.$ac_extension"; then
35866 ac_find_libraries=$ac_dir
35872 if test "$ac_find_libraries" != "" ; then
35873 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35874 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35877 if test "$ac_find_libraries" = "default location"; then
35880 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35882 if test $result = 0; then
35885 ac_path_to_link=" -L$ac_find_libraries"
35889 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35890 LDFLAGS_GL="$ac_path_to_link"
35893 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35894 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35897 for ac_dir in $SEARCH_LIB;
35899 for ac_extension in a so sl dylib dll.a; do
35900 if test -f "$ac_dir/libGLU.$ac_extension"; then
35901 ac_find_libraries=$ac_dir
35907 if test "$ac_find_libraries" != "" ; then
35909 if test "$ac_find_libraries" = "default location"; then
35912 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35914 if test $result = 0; then
35917 ac_path_to_link=" -L$ac_find_libraries"
35921 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35922 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35923 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35927 OPENGL_LIBS="-lGL -lGLU"
35928 { echo "$as_me:$LINENO: result: yes" >&5
35929 echo "${ECHO_T}yes" >&6; }
35931 { echo "$as_me:$LINENO: result: no" >&5
35932 echo "${ECHO_T}no" >&6; }
35935 { echo "$as_me:$LINENO: result: no" >&5
35936 echo "${ECHO_T}no" >&6; }
35939 if test "$found_gl" != 1; then
35940 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35941 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35944 for ac_dir in $SEARCH_LIB;
35946 for ac_extension in a so sl dylib dll.a; do
35947 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35948 ac_find_libraries=$ac_dir
35954 if test "$ac_find_libraries" != "" ; then
35956 if test "$ac_find_libraries" = "default location"; then
35959 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35961 if test $result = 0; then
35964 ac_path_to_link=" -L$ac_find_libraries"
35968 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35969 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35970 { echo "$as_me:$LINENO: result: yes" >&5
35971 echo "${ECHO_T}yes" >&6; }
35973 { echo "$as_me:$LINENO: result: no" >&5
35974 echo "${ECHO_T}no" >&6; }
35986 if test "x$OPENGL_LIBS" = "x"; then
35987 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35988 echo "$as_me: error: OpenGL libraries not available" >&2;}
35989 { (exit 1); exit 1; }; }
35993 if test "$wxUSE_OPENGL" = "yes"; then
35995 cat >>confdefs.h <<\_ACEOF
35996 #define wxUSE_OPENGL 1
35999 cat >>confdefs.h <<\_ACEOF
36000 #define wxUSE_GLCANVAS 1
36003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36008 if test -n "$TOOLKIT" ; then
36009 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36014 if test "$wxUSE_SHARED" = "yes"; then
36018 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36019 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36024 if test "$wxUSE_SHARED" = "yes"; then
36028 *-*-cygwin* | *-*-mingw* )
36029 wx_cv_version_script=no
36033 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36034 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36035 if test "${wx_cv_version_script+set}" = set; then
36036 echo $ECHO_N "(cached) $ECHO_C" >&6
36039 echo "VER_1 { *; };" >conftest.sym
36040 echo "int main() { return 0; }" >conftest.cpp
36043 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36044 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36046 (eval $ac_try) 2>&5
36048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36049 (exit $ac_status); }; } ; then
36050 if test -s conftest.stderr ; then
36051 wx_cv_version_script=no
36053 wx_cv_version_script=yes
36056 wx_cv_version_script=no
36059 if test $wx_cv_version_script = yes
36061 echo "struct B { virtual ~B() { } }; \
36062 struct D : public B { }; \
36063 void F() { D d; }" > conftest.cpp
36066 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36067 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36069 (eval $ac_try) 2>&5
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); }; } &&
36074 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36075 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36077 (eval $ac_try) 2>&5
36079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36080 (exit $ac_status); }; }
36083 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36084 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36086 (eval $ac_try) 2>&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); }; }
36091 wx_cv_version_script=yes
36093 wx_cv_version_script=no
36098 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36099 rm -f conftest1.output conftest2.output conftest3.output
36102 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36103 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36105 if test $wx_cv_version_script = yes ; then
36106 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36112 if test "$wxUSE_VISIBILITY" != "no"; then
36115 if test -n "$GCC"; then
36116 CFLAGS_VISIBILITY="-fvisibility=hidden"
36117 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36118 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36119 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36120 if test "${wx_cv_cc_visibility+set}" = set; then
36121 echo $ECHO_N "(cached) $ECHO_C" >&6
36124 wx_save_CXXFLAGS="$CXXFLAGS"
36125 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36127 ac_cpp='$CXXCPP $CPPFLAGS'
36128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36132 cat >conftest.$ac_ext <<_ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36139 /* we need gcc >= 4.0, older versions with visibility support
36140 didn't have class visibility: */
36141 #if defined(__GNUC__) && __GNUC__ < 4
36142 error this gcc is too old;
36145 /* visibility only makes sense for ELF shared libs: */
36146 #if !defined(__ELF__) && !defined(__APPLE__)
36147 error this platform has no visibility;
36150 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36151 extern __attribute__((__visibility__("default"))) int exportedvar;
36152 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36153 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36154 class __attribute__((__visibility__("default"))) Foo {
36166 rm -f conftest.$ac_objext
36167 if { (ac_try="$ac_compile"
36168 case "(($ac_try" in
36169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36170 *) ac_try_echo
=$ac_try;;
36172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36173 (eval "$ac_compile") 2>conftest.er1
36175 grep -v '^ *+' conftest.er1
>conftest.err
36177 cat conftest.err
>&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); } && {
36180 test -z "$ac_cxx_werror_flag" ||
36181 test ! -s conftest.err
36182 } && test -s conftest.
$ac_objext; then
36183 wx_cv_cc_visibility
=yes
36185 echo "$as_me: failed program was:" >&5
36186 sed 's/^/| /' conftest.
$ac_ext >&5
36188 wx_cv_cc_visibility
=no
36191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36193 ac_cpp
='$CPP $CPPFLAGS'
36194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36198 CXXFLAGS
="$wx_save_CXXFLAGS"
36201 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36202 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36203 if test $wx_cv_cc_visibility = yes; then
36204 cat >>confdefs.h
<<\_ACEOF
36205 #define HAVE_VISIBILITY 1
36209 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36210 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36211 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36212 echo $ECHO_N "(cached) $ECHO_C" >&6
36215 wx_save_CXXFLAGS
="$CXXFLAGS"
36216 wx_save_LDFLAGS
="$LDFLAGS"
36217 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36218 LDFLAGS
="$LDFLAGS -shared -fPIC"
36220 ac_cpp
='$CXXCPP $CPPFLAGS'
36221 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36225 cat >conftest.
$ac_ext <<_ACEOF
36228 cat confdefs.h
>>conftest.
$ac_ext
36229 cat >>conftest.
$ac_ext <<_ACEOF
36230 /* end confdefs.h. */
36238 std::string s("hello");
36245 rm -f conftest.
$ac_objext conftest
$ac_exeext
36246 if { (ac_try
="$ac_link"
36247 case "(($ac_try" in
36248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36249 *) ac_try_echo=$ac_try;;
36251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36252 (eval "$ac_link") 2>conftest.er1
36254 grep -v '^ *+' conftest.er1 >conftest.err
36256 cat conftest.err >&5
36257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36258 (exit $ac_status); } && {
36259 test -z "$ac_cxx_werror_flag" ||
36260 test ! -s conftest.err
36261 } && test -s conftest$ac_exeext &&
36262 $as_test_x conftest$ac_exeext; then
36263 wx_cv_cc_broken_libstdcxx_visibility=no
36265 echo "$as_me: failed program was:" >&5
36266 sed 's/^/| /' conftest.$ac_ext >&5
36268 wx_cv_cc_broken_libstdcxx_visibility=yes
36271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36272 conftest$ac_exeext conftest.$ac_ext
36274 ac_cpp='$CPP $CPPFLAGS'
36275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36279 CXXFLAGS="$wx_save_CXXFLAGS"
36280 LDFLAGS="$wx_save_LDFLAGS"
36283 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36284 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36285 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36286 cat >>confdefs.h <<\_ACEOF
36287 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36293 CFLAGS_VISIBILITY=""
36294 CXXFLAGS_VISIBILITY=""
36302 if test "x$SUNCXX" = xyes; then
36303 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36304 WXCONFIG_RPATH="-R\$libdir"
36307 *-*-linux* | *-*-gnu* )
36308 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36309 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36314 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36316 saveLdflags="$LDFLAGS"
36317 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36318 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36319 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36320 cat >conftest.$ac_ext <<_ACEOF
36323 cat confdefs.h >>conftest.$ac_ext
36324 cat >>conftest.$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36335 rm -f conftest.$ac_objext conftest$ac_exeext
36336 if { (ac_try="$ac_link"
36337 case "(($ac_try" in
36338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36339 *) ac_try_echo
=$ac_try;;
36341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36342 (eval "$ac_link") 2>conftest.er1
36344 grep -v '^ *+' conftest.er1
>conftest.err
36346 cat conftest.err
>&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); } && {
36349 test -z "$ac_c_werror_flag" ||
36350 test ! -s conftest.err
36351 } && test -s conftest
$ac_exeext &&
36352 $as_test_x conftest
$ac_exeext; then
36354 { echo "$as_me:$LINENO: result: yes" >&5
36355 echo "${ECHO_T}yes" >&6; }
36356 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36357 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36360 echo "$as_me: failed program was:" >&5
36361 sed 's/^/| /' conftest.
$ac_ext >&5
36364 { echo "$as_me:$LINENO: result: no" >&5
36365 echo "${ECHO_T}no" >&6; }
36366 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36367 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36368 LDFLAGS
="$saveLdflags -Wl,-R,/"
36369 cat >conftest.
$ac_ext <<_ACEOF
36372 cat confdefs.h
>>conftest.
$ac_ext
36373 cat >>conftest.
$ac_ext <<_ACEOF
36374 /* end confdefs.h. */
36384 rm -f conftest.
$ac_objext conftest
$ac_exeext
36385 if { (ac_try
="$ac_link"
36386 case "(($ac_try" in
36387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36388 *) ac_try_echo=$ac_try;;
36390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36391 (eval "$ac_link") 2>conftest.er1
36393 grep -v '^ *+' conftest.er1 >conftest.err
36395 cat conftest.err >&5
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); } && {
36398 test -z "$ac_c_werror_flag" ||
36399 test ! -s conftest.err
36400 } && test -s conftest$ac_exeext &&
36401 $as_test_x conftest$ac_exeext; then
36403 { echo "$as_me:$LINENO: result: yes" >&5
36404 echo "${ECHO_T}yes" >&6; }
36405 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36406 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36409 echo "$as_me: failed program was:" >&5
36410 sed 's/^/| /' conftest.$ac_ext >&5
36413 { echo "$as_me:$LINENO: result: no" >&5
36414 echo "${ECHO_T}no" >&6; }
36418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36419 conftest$ac_exeext conftest.$ac_ext
36423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36424 conftest$ac_exeext conftest.$ac_ext
36425 LDFLAGS="$saveLdflags"
36429 install_name_tool=`which install_name_tool
`
36430 if test "$install_name_tool" -a -x "$install_name_tool"; then
36431 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36432 cat <<EOF >change-install-names
36434 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
36435 inst_cmd="install_name_tool "
36436 for i in \${libnames} ; do
36437 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36441 chmod +x change-install-names
36445 *-*-cygwin* | *-*-mingw32* )
36446 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36450 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36451 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36457 if test $wxUSE_RPATH = "no"; then
36458 SAMPLES_RPATH_FLAG=''
36459 SAMPLES_RPATH_POSTLINK=''
36467 config_linkage_component="-static"
36474 lib_unicode_suffix=
36476 if test "$wxUSE_UNICODE" = "yes"; then
36477 lib_unicode_suffix=u
36478 WX_CHARTYPE="unicode"
36483 WX_DEBUGTYPE="release"
36485 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36487 WX_DEBUGTYPE="debug"
36491 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36492 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36495 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36499 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36501 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36503 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36505 if test "$cross_compiling" = "yes"; then
36506 HOST_SUFFIX="-$host_alias"
36507 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36508 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36511 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36512 if test "${TOOLKIT_DIR}" = "os2"; then
36513 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36515 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36520 if test "$wxUSE_COCOA" = 1; then
36523 ac_cpp='$CPP $CPPFLAGS'
36524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36530 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36531 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36532 cat >conftest.$ac_ext <<_ACEOF
36535 cat confdefs.h >>conftest.$ac_ext
36536 cat >>conftest.$ac_ext <<_ACEOF
36537 /* end confdefs.h. */
36538 #include <AppKit/NSEvent.h>
36539 #include <CoreFoundation/CoreFoundation.h>
36549 rm -f conftest.$ac_objext
36550 if { (ac_try="$ac_compile"
36551 case "(($ac_try" in
36552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36553 *) ac_try_echo
=$ac_try;;
36555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36556 (eval "$ac_compile") 2>conftest.er1
36558 grep -v '^ *+' conftest.er1
>conftest.err
36560 cat conftest.err
>&5
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); } && {
36563 test -z "$ac_c_werror_flag" ||
36564 test ! -s conftest.err
36565 } && test -s conftest.
$ac_objext; then
36566 { echo "$as_me:$LINENO: result: no" >&5
36567 echo "${ECHO_T}no" >&6; }
36569 echo "$as_me: failed program was:" >&5
36570 sed 's/^/| /' conftest.
$ac_ext >&5
36572 { echo "$as_me:$LINENO: result: yes" >&5
36573 echo "${ECHO_T}yes" >&6; }
36574 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36575 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36576 cat >conftest.
$ac_ext <<_ACEOF
36579 cat confdefs.h
>>conftest.
$ac_ext
36580 cat >>conftest.
$ac_ext <<_ACEOF
36581 /* end confdefs.h. */
36582 #define __Point__ 1
36583 #include <AppKit/NSEvent.h>
36584 #include <CoreFoundation/CoreFoundation.h>
36594 rm -f conftest.
$ac_objext
36595 if { (ac_try
="$ac_compile"
36596 case "(($ac_try" in
36597 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36598 *) ac_try_echo=$ac_try;;
36600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36601 (eval "$ac_compile") 2>conftest.er1
36603 grep -v '^ *+' conftest.er1 >conftest.err
36605 cat conftest.err >&5
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); } && {
36608 test -z "$ac_c_werror_flag" ||
36609 test ! -s conftest.err
36610 } && test -s conftest.$ac_objext; then
36611 { echo "$as_me:$LINENO: result: yes" >&5
36612 echo "${ECHO_T}yes" >&6; }
36613 cat >>confdefs.h <<\_ACEOF
36614 #define __Point__ 1
36619 echo "$as_me: failed program was:" >&5
36620 sed 's/^/| /' conftest.$ac_ext >&5
36622 { { echo "$as_me:$LINENO: error: no
36623 See \`config.log
' for more details." >&5
36624 echo "$as_me: error: no
36625 See \`config.log' for more details.
" >&2;}
36626 { (exit 1); exit 1; }; }
36630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36636 ac_cpp='$CPP $CPPFLAGS'
36637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36644 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
36645 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
36646 if test "${ac_cv_type_mode_t+set}" = set; then
36647 echo $ECHO_N "(cached
) $ECHO_C" >&6
36649 cat >conftest.$ac_ext <<_ACEOF
36652 cat confdefs.h >>conftest.$ac_ext
36653 cat >>conftest.$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36655 $ac_includes_default
36656 typedef mode_t ac__type_new_;
36660 if ((ac__type_new_ *) 0)
36662 if (sizeof (ac__type_new_))
36668 rm -f conftest.$ac_objext
36669 if { (ac_try="$ac_compile"
36670 case "(($ac_try" in
36671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36672 *) ac_try_echo=$ac_try;;
36674 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36675 (eval "$ac_compile") 2>conftest.er1
36677 grep -v '^ *+' conftest.er1 >conftest.err
36679 cat conftest.err >&5
36680 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36681 (exit $ac_status); } && {
36682 test -z "$ac_c_werror_flag" ||
36683 test ! -s conftest.err
36684 } && test -s conftest.$ac_objext; then
36685 ac_cv_type_mode_t=yes
36687 echo "$as_me: failed program was
:" >&5
36688 sed 's/^/| /' conftest.$ac_ext >&5
36690 ac_cv_type_mode_t=no
36693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36695 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
36696 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36697 if test $ac_cv_type_mode_t = yes; then
36701 cat >>confdefs.h <<_ACEOF
36707 { echo "$as_me:$LINENO: checking
for off_t
" >&5
36708 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
36709 if test "${ac_cv_type_off_t+set}" = set; then
36710 echo $ECHO_N "(cached
) $ECHO_C" >&6
36712 cat >conftest.$ac_ext <<_ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h. */
36718 $ac_includes_default
36719 typedef off_t ac__type_new_;
36723 if ((ac__type_new_ *) 0)
36725 if (sizeof (ac__type_new_))
36731 rm -f conftest.$ac_objext
36732 if { (ac_try="$ac_compile"
36733 case "(($ac_try" in
36734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36735 *) ac_try_echo=$ac_try;;
36737 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36738 (eval "$ac_compile") 2>conftest.er1
36740 grep -v '^ *+' conftest.er1 >conftest.err
36742 cat conftest.err >&5
36743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36744 (exit $ac_status); } && {
36745 test -z "$ac_c_werror_flag" ||
36746 test ! -s conftest.err
36747 } && test -s conftest.$ac_objext; then
36748 ac_cv_type_off_t=yes
36750 echo "$as_me: failed program was
:" >&5
36751 sed 's/^/| /' conftest.$ac_ext >&5
36753 ac_cv_type_off_t=no
36756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36758 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
36759 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36760 if test $ac_cv_type_off_t = yes; then
36764 cat >>confdefs.h <<_ACEOF
36765 #define off_t long int
36770 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
36771 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
36772 if test "${ac_cv_type_pid_t+set}" = set; then
36773 echo $ECHO_N "(cached
) $ECHO_C" >&6
36775 cat >conftest.$ac_ext <<_ACEOF
36778 cat confdefs.h >>conftest.$ac_ext
36779 cat >>conftest.$ac_ext <<_ACEOF
36780 /* end confdefs.h. */
36781 $ac_includes_default
36782 typedef pid_t ac__type_new_;
36786 if ((ac__type_new_ *) 0)
36788 if (sizeof (ac__type_new_))
36794 rm -f conftest.$ac_objext
36795 if { (ac_try="$ac_compile"
36796 case "(($ac_try" in
36797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36798 *) ac_try_echo=$ac_try;;
36800 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36801 (eval "$ac_compile") 2>conftest.er1
36803 grep -v '^ *+' conftest.er1 >conftest.err
36805 cat conftest.err >&5
36806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36807 (exit $ac_status); } && {
36808 test -z "$ac_c_werror_flag" ||
36809 test ! -s conftest.err
36810 } && test -s conftest.$ac_objext; then
36811 ac_cv_type_pid_t=yes
36813 echo "$as_me: failed program was
:" >&5
36814 sed 's/^/| /' conftest.$ac_ext >&5
36816 ac_cv_type_pid_t=no
36819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36821 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
36822 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36823 if test $ac_cv_type_pid_t = yes; then
36827 cat >>confdefs.h <<_ACEOF
36833 { echo "$as_me:$LINENO: checking
for size_t
" >&5
36834 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
36835 if test "${ac_cv_type_size_t+set}" = set; then
36836 echo $ECHO_N "(cached
) $ECHO_C" >&6
36838 cat >conftest.$ac_ext <<_ACEOF
36841 cat confdefs.h >>conftest.$ac_ext
36842 cat >>conftest.$ac_ext <<_ACEOF
36843 /* end confdefs.h. */
36844 $ac_includes_default
36845 typedef size_t ac__type_new_;
36849 if ((ac__type_new_ *) 0)
36851 if (sizeof (ac__type_new_))
36857 rm -f conftest.$ac_objext
36858 if { (ac_try="$ac_compile"
36859 case "(($ac_try" in
36860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36861 *) ac_try_echo=$ac_try;;
36863 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36864 (eval "$ac_compile") 2>conftest.er1
36866 grep -v '^ *+' conftest.er1 >conftest.err
36868 cat conftest.err >&5
36869 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36870 (exit $ac_status); } && {
36871 test -z "$ac_c_werror_flag" ||
36872 test ! -s conftest.err
36873 } && test -s conftest.$ac_objext; then
36874 ac_cv_type_size_t=yes
36876 echo "$as_me: failed program was
:" >&5
36877 sed 's/^/| /' conftest.$ac_ext >&5
36879 ac_cv_type_size_t=no
36882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36884 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
36885 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36886 if test $ac_cv_type_size_t = yes; then
36890 cat >>confdefs.h <<_ACEOF
36891 #define size_t unsigned int
36896 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
36897 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
36898 if test "${ac_cv_type_uid_t+set}" = set; then
36899 echo $ECHO_N "(cached
) $ECHO_C" >&6
36901 cat >conftest.$ac_ext <<_ACEOF
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h. */
36907 #include <sys/types.h>
36910 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
36911 $EGREP "uid_t
" >/dev/null 2>&1; then
36912 ac_cv_type_uid_t=yes
36914 ac_cv_type_uid_t=no
36919 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
36920 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36921 if test $ac_cv_type_uid_t = no; then
36923 cat >>confdefs.h <<\_ACEOF
36928 cat >>confdefs.h <<\_ACEOF
36935 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
36936 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
36937 if test "${ac_cv_type_ssize_t+set}" = set; then
36938 echo $ECHO_N "(cached
) $ECHO_C" >&6
36940 cat >conftest.$ac_ext <<_ACEOF
36943 cat confdefs.h >>conftest.$ac_ext
36944 cat >>conftest.$ac_ext <<_ACEOF
36945 /* end confdefs.h. */
36946 $ac_includes_default
36947 typedef ssize_t ac__type_new_;
36951 if ((ac__type_new_ *) 0)
36953 if (sizeof (ac__type_new_))
36959 rm -f conftest.$ac_objext
36960 if { (ac_try="$ac_compile"
36961 case "(($ac_try" in
36962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36963 *) ac_try_echo=$ac_try;;
36965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36966 (eval "$ac_compile") 2>conftest.er1
36968 grep -v '^ *+' conftest.er1 >conftest.err
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36972 (exit $ac_status); } && {
36973 test -z "$ac_c_werror_flag" ||
36974 test ! -s conftest.err
36975 } && test -s conftest.$ac_objext; then
36976 ac_cv_type_ssize_t=yes
36978 echo "$as_me: failed program was
:" >&5
36979 sed 's/^/| /' conftest.$ac_ext >&5
36981 ac_cv_type_ssize_t=no
36984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36986 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
36987 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36988 if test $ac_cv_type_ssize_t = yes; then
36990 cat >>confdefs.h <<_ACEOF
36991 #define HAVE_SSIZE_T 1
36999 ac_cpp='$CXXCPP $CPPFLAGS'
37000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37003 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
37004 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
37005 if test "${wx_cv_size_t_is_uint+set}" = set; then
37006 echo $ECHO_N "(cached
) $ECHO_C" >&6
37009 cat >conftest.$ac_ext <<_ACEOF
37012 cat confdefs.h >>conftest.$ac_ext
37013 cat >>conftest.$ac_ext <<_ACEOF
37014 /* end confdefs.h. */
37015 #include <stddef.h>
37022 struct Foo { void foo(size_t); void foo(unsigned int); };
37030 rm -f conftest.$ac_objext
37031 if { (ac_try="$ac_compile"
37032 case "(($ac_try" in
37033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37034 *) ac_try_echo=$ac_try;;
37036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37037 (eval "$ac_compile") 2>conftest.er1
37039 grep -v '^ *+' conftest.er1 >conftest.err
37041 cat conftest.err >&5
37042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37043 (exit $ac_status); } && {
37044 test -z "$ac_cxx_werror_flag" ||
37045 test ! -s conftest.err
37046 } && test -s conftest.$ac_objext; then
37047 wx_cv_size_t_is_uint=no
37049 echo "$as_me: failed program was
:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37052 wx_cv_size_t_is_uint=yes
37056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37060 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
37061 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37063 if test "$wx_cv_size_t_is_uint" = "yes"; then
37064 cat >>confdefs.h <<\_ACEOF
37065 #define wxSIZE_T_IS_UINT 1
37069 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
37070 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
37071 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37072 echo $ECHO_N "(cached
) $ECHO_C" >&6
37074 cat >conftest.$ac_ext <<_ACEOF
37077 cat confdefs.h >>conftest.$ac_ext
37078 cat >>conftest.$ac_ext <<_ACEOF
37079 /* end confdefs.h. */
37080 #include <stddef.h>
37087 struct Foo { void foo(size_t); void foo(unsigned long); };
37095 rm -f conftest.$ac_objext
37096 if { (ac_try="$ac_compile"
37097 case "(($ac_try" in
37098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37099 *) ac_try_echo=$ac_try;;
37101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37102 (eval "$ac_compile") 2>conftest.er1
37104 grep -v '^ *+' conftest.er1 >conftest.err
37106 cat conftest.err >&5
37107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37108 (exit $ac_status); } && {
37109 test -z "$ac_cxx_werror_flag" ||
37110 test ! -s conftest.err
37111 } && test -s conftest.$ac_objext; then
37112 wx_cv_size_t_is_ulong=no
37114 echo "$as_me: failed program was
:" >&5
37115 sed 's/^/| /' conftest.$ac_ext >&5
37117 wx_cv_size_t_is_ulong=yes
37121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37124 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
37125 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37127 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37128 cat >>confdefs.h <<\_ACEOF
37129 #define wxSIZE_T_IS_ULONG 1
37135 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
37136 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
37137 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37138 echo $ECHO_N "(cached
) $ECHO_C" >&6
37140 cat >conftest.$ac_ext <<_ACEOF
37143 cat confdefs.h >>conftest.$ac_ext
37144 cat >>conftest.$ac_ext <<_ACEOF
37145 /* end confdefs.h. */
37153 struct Foo { void foo(wchar_t);
37154 void foo(unsigned short);
37155 void foo(unsigned int);
37156 void foo(unsigned long); };
37164 rm -f conftest.$ac_objext
37165 if { (ac_try="$ac_compile"
37166 case "(($ac_try" in
37167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37168 *) ac_try_echo=$ac_try;;
37170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37171 (eval "$ac_compile") 2>conftest.er1
37173 grep -v '^ *+' conftest.er1 >conftest.err
37175 cat conftest.err >&5
37176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37177 (exit $ac_status); } && {
37178 test -z "$ac_cxx_werror_flag" ||
37179 test ! -s conftest.err
37180 } && test -s conftest.$ac_objext; then
37181 wx_cv_wchar_t_is_separate_type=yes
37183 echo "$as_me: failed program was
:" >&5
37184 sed 's/^/| /' conftest.$ac_ext >&5
37186 wx_cv_wchar_t_is_separate_type=no
37190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37193 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
37194 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37196 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37197 cat >>confdefs.h <<\_ACEOF
37198 #define wxWCHAR_T_IS_REAL_TYPE 1
37202 cat >>confdefs.h <<\_ACEOF
37203 #define wxWCHAR_T_IS_REAL_TYPE 0
37209 ac_cpp='$CPP $CPPFLAGS'
37210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37215 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
37216 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
37217 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37218 echo $ECHO_N "(cached
) $ECHO_C" >&6
37221 cat >conftest.$ac_ext <<_ACEOF
37224 cat confdefs.h >>conftest.$ac_ext
37225 cat >>conftest.$ac_ext <<_ACEOF
37226 /* end confdefs.h. */
37240 rm -f conftest.$ac_objext
37241 if { (ac_try="$ac_compile"
37242 case "(($ac_try" in
37243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37244 *) ac_try_echo=$ac_try;;
37246 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37247 (eval "$ac_compile") 2>conftest.er1
37249 grep -v '^ *+' conftest.er1 >conftest.err
37251 cat conftest.err >&5
37252 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37253 (exit $ac_status); } && {
37254 test -z "$ac_c_werror_flag" ||
37255 test ! -s conftest.err
37256 } && test -s conftest.$ac_objext; then
37258 wx_cv_struct_pw_gecos=yes
37261 echo "$as_me: failed program was
:" >&5
37262 sed 's/^/| /' conftest.$ac_ext >&5
37265 wx_cv_struct_pw_gecos=no
37270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37274 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
37275 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37277 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37278 cat >>confdefs.h <<\_ACEOF
37279 #define HAVE_PW_GECOS 1
37285 if test "$wxUSE_WCHAR_T" = "yes"; then
37286 cat >>confdefs.h <<\_ACEOF
37287 #define wxUSE_WCHAR_T 1
37294 for ac_func in wcslen
37296 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37297 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37298 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37299 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37300 echo $ECHO_N "(cached
) $ECHO_C" >&6
37302 cat >conftest.$ac_ext <<_ACEOF
37305 cat confdefs.h >>conftest.$ac_ext
37306 cat >>conftest.$ac_ext <<_ACEOF
37307 /* end confdefs.h. */
37308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37310 #define $ac_func innocuous_$ac_func
37312 /* System header to define __stub macros and hopefully few prototypes,
37313 which can conflict with char $ac_func (); below.
37314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37315 <limits.h> exists even on freestanding compilers. */
37318 # include <limits.h>
37320 # include <assert.h>
37325 /* Override any GCC internal prototype to avoid an error.
37326 Use char because int might match the return type of a GCC
37327 builtin and then its argument prototype would still apply. */
37332 /* The GNU C library defines this for functions which it implements
37333 to always fail with ENOSYS. Some functions are actually named
37334 something starting with __ and the normal name is an alias. */
37335 #if defined __stub_$ac_func || defined __stub___$ac_func
37342 return $ac_func ();
37347 rm -f conftest.$ac_objext conftest$ac_exeext
37348 if { (ac_try="$ac_link"
37349 case "(($ac_try" in
37350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37351 *) ac_try_echo=$ac_try;;
37353 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37354 (eval "$ac_link") 2>conftest.er1
37356 grep -v '^ *+' conftest.er1 >conftest.err
37358 cat conftest.err >&5
37359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37360 (exit $ac_status); } && {
37361 test -z "$ac_c_werror_flag" ||
37362 test ! -s conftest.err
37363 } && test -s conftest$ac_exeext &&
37364 $as_test_x conftest$ac_exeext; then
37365 eval "$as_ac_var=yes"
37367 echo "$as_me: failed program was
:" >&5
37368 sed 's/^/| /' conftest.$ac_ext >&5
37370 eval "$as_ac_var=no
"
37373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37374 conftest$ac_exeext conftest.$ac_ext
37376 ac_res=`eval echo '${'$as_ac_var'}'`
37377 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37378 echo "${ECHO_T}$ac_res" >&6; }
37379 if test `eval echo '${'$as_ac_var'}'` = yes; then
37380 cat >>confdefs.h <<_ACEOF
37381 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37388 if test "$WCSLEN_FOUND" = 0; then
37389 if test "$TOOLKIT" = "MSW
"; then
37390 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
37391 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
37392 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37393 echo $ECHO_N "(cached
) $ECHO_C" >&6
37395 ac_check_lib_save_LIBS=$LIBS
37396 LIBS="-lmsvcrt $LIBS"
37397 cat >conftest.$ac_ext <<_ACEOF
37400 cat confdefs.h >>conftest.$ac_ext
37401 cat >>conftest.$ac_ext <<_ACEOF
37402 /* end confdefs.h. */
37404 /* Override any GCC internal prototype to avoid an error.
37405 Use char because int might match the return type of a GCC
37406 builtin and then its argument prototype would still apply. */
37419 rm -f conftest.$ac_objext conftest$ac_exeext
37420 if { (ac_try="$ac_link"
37421 case "(($ac_try" in
37422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37423 *) ac_try_echo=$ac_try;;
37425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37426 (eval "$ac_link") 2>conftest.er1
37428 grep -v '^ *+' conftest.er1 >conftest.err
37430 cat conftest.err >&5
37431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37432 (exit $ac_status); } && {
37433 test -z "$ac_c_werror_flag" ||
37434 test ! -s conftest.err
37435 } && test -s conftest$ac_exeext &&
37436 $as_test_x conftest$ac_exeext; then
37437 ac_cv_lib_msvcrt_wcslen=yes
37439 echo "$as_me: failed program was
:" >&5
37440 sed 's/^/| /' conftest.$ac_ext >&5
37442 ac_cv_lib_msvcrt_wcslen=no
37445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37446 conftest$ac_exeext conftest.$ac_ext
37447 LIBS=$ac_check_lib_save_LIBS
37449 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
37450 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37451 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37456 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
37457 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
37458 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37459 echo $ECHO_N "(cached
) $ECHO_C" >&6
37461 ac_check_lib_save_LIBS=$LIBS
37463 cat >conftest.$ac_ext <<_ACEOF
37466 cat confdefs.h >>conftest.$ac_ext
37467 cat >>conftest.$ac_ext <<_ACEOF
37468 /* end confdefs.h. */
37470 /* Override any GCC internal prototype to avoid an error.
37471 Use char because int might match the return type of a GCC
37472 builtin and then its argument prototype would still apply. */
37485 rm -f conftest.$ac_objext conftest$ac_exeext
37486 if { (ac_try="$ac_link"
37487 case "(($ac_try" in
37488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37489 *) ac_try_echo=$ac_try;;
37491 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37492 (eval "$ac_link") 2>conftest.er1
37494 grep -v '^ *+' conftest.er1 >conftest.err
37496 cat conftest.err >&5
37497 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37498 (exit $ac_status); } && {
37499 test -z "$ac_c_werror_flag" ||
37500 test ! -s conftest.err
37501 } && test -s conftest$ac_exeext &&
37502 $as_test_x conftest$ac_exeext; then
37503 ac_cv_lib_w_wcslen=yes
37505 echo "$as_me: failed program was
:" >&5
37506 sed 's/^/| /' conftest.$ac_ext >&5
37508 ac_cv_lib_w_wcslen=no
37511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37512 conftest$ac_exeext conftest.$ac_ext
37513 LIBS=$ac_check_lib_save_LIBS
37515 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
37516 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37517 if test $ac_cv_lib_w_wcslen = yes; then
37527 if test "$WCSLEN_FOUND" = 1; then
37528 cat >>confdefs.h <<\_ACEOF
37529 #define HAVE_WCSLEN 1
37535 for ac_func in wcsdup
37537 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37538 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37539 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37540 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37541 echo $ECHO_N "(cached
) $ECHO_C" >&6
37543 cat >conftest.$ac_ext <<_ACEOF
37546 cat confdefs.h >>conftest.$ac_ext
37547 cat >>conftest.$ac_ext <<_ACEOF
37548 /* end confdefs.h. */
37549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37551 #define $ac_func innocuous_$ac_func
37553 /* System header to define __stub macros and hopefully few prototypes,
37554 which can conflict with char $ac_func (); below.
37555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37556 <limits.h> exists even on freestanding compilers. */
37559 # include <limits.h>
37561 # include <assert.h>
37566 /* Override any GCC internal prototype to avoid an error.
37567 Use char because int might match the return type of a GCC
37568 builtin and then its argument prototype would still apply. */
37573 /* The GNU C library defines this for functions which it implements
37574 to always fail with ENOSYS. Some functions are actually named
37575 something starting with __ and the normal name is an alias. */
37576 #if defined __stub_$ac_func || defined __stub___$ac_func
37583 return $ac_func ();
37588 rm -f conftest.$ac_objext conftest$ac_exeext
37589 if { (ac_try="$ac_link"
37590 case "(($ac_try" in
37591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37592 *) ac_try_echo=$ac_try;;
37594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37595 (eval "$ac_link") 2>conftest.er1
37597 grep -v '^ *+' conftest.er1 >conftest.err
37599 cat conftest.err >&5
37600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37601 (exit $ac_status); } && {
37602 test -z "$ac_c_werror_flag" ||
37603 test ! -s conftest.err
37604 } && test -s conftest$ac_exeext &&
37605 $as_test_x conftest$ac_exeext; then
37606 eval "$as_ac_var=yes"
37608 echo "$as_me: failed program was
:" >&5
37609 sed 's/^/| /' conftest.$ac_ext >&5
37611 eval "$as_ac_var=no
"
37614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37615 conftest$ac_exeext conftest.$ac_ext
37617 ac_res=`eval echo '${'$as_ac_var'}'`
37618 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37619 echo "${ECHO_T}$ac_res" >&6; }
37620 if test `eval echo '${'$as_ac_var'}'` = yes; then
37621 cat >>confdefs.h <<_ACEOF
37622 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37629 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37630 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37633 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
37634 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
37635 if test "${ac_cv_type_mbstate_t+set}" = set; then
37636 echo $ECHO_N "(cached
) $ECHO_C" >&6
37638 cat >conftest.$ac_ext <<_ACEOF
37641 cat confdefs.h >>conftest.$ac_ext
37642 cat >>conftest.$ac_ext <<_ACEOF
37643 /* end confdefs.h. */
37646 typedef mbstate_t ac__type_new_;
37650 if ((ac__type_new_ *) 0)
37652 if (sizeof (ac__type_new_))
37658 rm -f conftest.$ac_objext
37659 if { (ac_try="$ac_compile"
37660 case "(($ac_try" in
37661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37662 *) ac_try_echo=$ac_try;;
37664 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37665 (eval "$ac_compile") 2>conftest.er1
37667 grep -v '^ *+' conftest.er1 >conftest.err
37669 cat conftest.err >&5
37670 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37671 (exit $ac_status); } && {
37672 test -z "$ac_c_werror_flag" ||
37673 test ! -s conftest.err
37674 } && test -s conftest.$ac_objext; then
37675 ac_cv_type_mbstate_t=yes
37677 echo "$as_me: failed program was
:" >&5
37678 sed 's/^/| /' conftest.$ac_ext >&5
37680 ac_cv_type_mbstate_t=no
37683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37685 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
37686 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37687 if test $ac_cv_type_mbstate_t = yes; then
37689 cat >>confdefs.h <<_ACEOF
37690 #define HAVE_MBSTATE_T 1
37694 for ac_func in wcsrtombs
37696 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37697 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37698 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37699 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37700 echo $ECHO_N "(cached
) $ECHO_C" >&6
37702 cat >conftest.$ac_ext <<_ACEOF
37705 cat confdefs.h >>conftest.$ac_ext
37706 cat >>conftest.$ac_ext <<_ACEOF
37707 /* end confdefs.h. */
37708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37710 #define $ac_func innocuous_$ac_func
37712 /* System header to define __stub macros and hopefully few prototypes,
37713 which can conflict with char $ac_func (); below.
37714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37715 <limits.h> exists even on freestanding compilers. */
37718 # include <limits.h>
37720 # include <assert.h>
37725 /* Override any GCC internal prototype to avoid an error.
37726 Use char because int might match the return type of a GCC
37727 builtin and then its argument prototype would still apply. */
37732 /* The GNU C library defines this for functions which it implements
37733 to always fail with ENOSYS. Some functions are actually named
37734 something starting with __ and the normal name is an alias. */
37735 #if defined __stub_$ac_func || defined __stub___$ac_func
37742 return $ac_func ();
37747 rm -f conftest.$ac_objext conftest$ac_exeext
37748 if { (ac_try="$ac_link"
37749 case "(($ac_try" in
37750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37751 *) ac_try_echo=$ac_try;;
37753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37754 (eval "$ac_link") 2>conftest.er1
37756 grep -v '^ *+' conftest.er1 >conftest.err
37758 cat conftest.err >&5
37759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37760 (exit $ac_status); } && {
37761 test -z "$ac_c_werror_flag" ||
37762 test ! -s conftest.err
37763 } && test -s conftest$ac_exeext &&
37764 $as_test_x conftest$ac_exeext; then
37765 eval "$as_ac_var=yes"
37767 echo "$as_me: failed program was
:" >&5
37768 sed 's/^/| /' conftest.$ac_ext >&5
37770 eval "$as_ac_var=no
"
37773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37774 conftest$ac_exeext conftest.$ac_ext
37776 ac_res=`eval echo '${'$as_ac_var'}'`
37777 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37778 echo "${ECHO_T}$ac_res" >&6; }
37779 if test `eval echo '${'$as_ac_var'}'` = yes; then
37780 cat >>confdefs.h <<_ACEOF
37781 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37790 { echo "$as_me:$LINENO: WARNING
: Wide character support is unavailable
" >&5
37791 echo "$as_me: WARNING
: Wide character support is unavailable
" >&2;}
37796 for ac_func in snprintf vsnprintf
37798 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37799 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37800 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37801 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37802 echo $ECHO_N "(cached
) $ECHO_C" >&6
37804 cat >conftest.$ac_ext <<_ACEOF
37807 cat confdefs.h >>conftest.$ac_ext
37808 cat >>conftest.$ac_ext <<_ACEOF
37809 /* end confdefs.h. */
37810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37812 #define $ac_func innocuous_$ac_func
37814 /* System header to define __stub macros and hopefully few prototypes,
37815 which can conflict with char $ac_func (); below.
37816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37817 <limits.h> exists even on freestanding compilers. */
37820 # include <limits.h>
37822 # include <assert.h>
37827 /* Override any GCC internal prototype to avoid an error.
37828 Use char because int might match the return type of a GCC
37829 builtin and then its argument prototype would still apply. */
37834 /* The GNU C library defines this for functions which it implements
37835 to always fail with ENOSYS. Some functions are actually named
37836 something starting with __ and the normal name is an alias. */
37837 #if defined __stub_$ac_func || defined __stub___$ac_func
37844 return $ac_func ();
37849 rm -f conftest.$ac_objext conftest$ac_exeext
37850 if { (ac_try="$ac_link"
37851 case "(($ac_try" in
37852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37853 *) ac_try_echo=$ac_try;;
37855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37856 (eval "$ac_link") 2>conftest.er1
37858 grep -v '^ *+' conftest.er1 >conftest.err
37860 cat conftest.err >&5
37861 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37862 (exit $ac_status); } && {
37863 test -z "$ac_c_werror_flag" ||
37864 test ! -s conftest.err
37865 } && test -s conftest$ac_exeext &&
37866 $as_test_x conftest$ac_exeext; then
37867 eval "$as_ac_var=yes"
37869 echo "$as_me: failed program was
:" >&5
37870 sed 's/^/| /' conftest.$ac_ext >&5
37872 eval "$as_ac_var=no
"
37875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37876 conftest$ac_exeext conftest.$ac_ext
37878 ac_res=`eval echo '${'$as_ac_var'}'`
37879 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37880 echo "${ECHO_T}$ac_res" >&6; }
37881 if test `eval echo '${'$as_ac_var'}'` = yes; then
37882 cat >>confdefs.h <<_ACEOF
37883 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37890 if test "$ac_cv_func_vsnprintf" = "yes"; then
37891 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
37892 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
37893 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37894 echo $ECHO_N "(cached
) $ECHO_C" >&6
37897 cat >conftest.$ac_ext <<_ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37905 #include <stdarg.h>
37907 #if __MSL__ >= 0x6000
37909 using namespace std;
37919 vsnprintf(buf, 10u, "%s
", ap);
37925 rm -f conftest.$ac_objext
37926 if { (ac_try="$ac_compile"
37927 case "(($ac_try" in
37928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37929 *) ac_try_echo=$ac_try;;
37931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37932 (eval "$ac_compile") 2>conftest.er1
37934 grep -v '^ *+' conftest.er1 >conftest.err
37936 cat conftest.err >&5
37937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37938 (exit $ac_status); } && {
37939 test -z "$ac_c_werror_flag" ||
37940 test ! -s conftest.err
37941 } && test -s conftest.$ac_objext; then
37942 wx_cv_func_vsnprintf_decl=yes
37944 echo "$as_me: failed program was
:" >&5
37945 sed 's/^/| /' conftest.$ac_ext >&5
37947 wx_cv_func_vsnprintf_decl=no
37951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37955 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
37956 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37958 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37959 cat >>confdefs.h <<\_ACEOF
37960 #define HAVE_VSNPRINTF_DECL 1
37964 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
37965 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
37966 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37967 echo $ECHO_N "(cached
) $ECHO_C" >&6
37970 cat >conftest.$ac_ext <<_ACEOF
37973 cat confdefs.h >>conftest.$ac_ext
37974 cat >>conftest.$ac_ext <<_ACEOF
37975 /* end confdefs.h. */
37978 #include <stdarg.h>
37980 #if __MSL__ >= 0x6000
37982 using namespace std;
37992 const char *fmt = "%s
";
37993 vsnprintf(buf, 10u, fmt, ap);
37999 rm -f conftest.$ac_objext
38000 if { (ac_try="$ac_compile"
38001 case "(($ac_try" in
38002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38003 *) ac_try_echo=$ac_try;;
38005 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38006 (eval "$ac_compile") 2>conftest.er1
38008 grep -v '^ *+' conftest.er1 >conftest.err
38010 cat conftest.err >&5
38011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38012 (exit $ac_status); } && {
38013 test -z "$ac_c_werror_flag" ||
38014 test ! -s conftest.err
38015 } && test -s conftest.$ac_objext; then
38016 wx_cv_func_broken_vsnprintf_decl=no
38018 echo "$as_me: failed program was
:" >&5
38019 sed 's/^/| /' conftest.$ac_ext >&5
38021 wx_cv_func_broken_vsnprintf_decl=yes
38025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38029 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
38030 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38032 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38033 cat >>confdefs.h <<\_ACEOF
38034 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38041 if test "$ac_cv_func_snprintf" = "yes"; then
38042 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
38043 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
38044 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38045 echo $ECHO_N "(cached
) $ECHO_C" >&6
38048 cat >conftest.$ac_ext <<_ACEOF
38051 cat confdefs.h >>conftest.$ac_ext
38052 cat >>conftest.$ac_ext <<_ACEOF
38053 /* end confdefs.h. */
38056 #include <stdarg.h>
38058 #if __MSL__ >= 0x6000
38060 using namespace std;
38069 snprintf(buf, 10u, "%s
", "wx
");
38075 rm -f conftest.$ac_objext
38076 if { (ac_try="$ac_compile"
38077 case "(($ac_try" in
38078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38079 *) ac_try_echo=$ac_try;;
38081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38082 (eval "$ac_compile") 2>conftest.er1
38084 grep -v '^ *+' conftest.er1 >conftest.err
38086 cat conftest.err >&5
38087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38088 (exit $ac_status); } && {
38089 test -z "$ac_c_werror_flag" ||
38090 test ! -s conftest.err
38091 } && test -s conftest.$ac_objext; then
38092 wx_cv_func_snprintf_decl=yes
38094 echo "$as_me: failed program was
:" >&5
38095 sed 's/^/| /' conftest.$ac_ext >&5
38097 wx_cv_func_snprintf_decl=no
38101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38105 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
38106 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38108 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38109 cat >>confdefs.h <<\_ACEOF
38110 #define HAVE_SNPRINTF_DECL 1
38114 { echo "$as_me:$LINENO: checking
if snprintf declaration is broken
" >&5
38115 echo $ECHO_N "checking
if snprintf declaration is broken...
$ECHO_C" >&6; }
38116 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38117 echo $ECHO_N "(cached
) $ECHO_C" >&6
38120 cat >conftest.$ac_ext <<_ACEOF
38123 cat confdefs.h >>conftest.$ac_ext
38124 cat >>conftest.$ac_ext <<_ACEOF
38125 /* end confdefs.h. */
38128 #include <stdarg.h>
38130 #if __MSL__ >= 0x6000
38132 using namespace std;
38141 const char *fmt = "%s
";
38142 snprintf(buf, 10u, fmt, "wx
");
38148 rm -f conftest.$ac_objext
38149 if { (ac_try="$ac_compile"
38150 case "(($ac_try" in
38151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38152 *) ac_try_echo=$ac_try;;
38154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38155 (eval "$ac_compile") 2>conftest.er1
38157 grep -v '^ *+' conftest.er1 >conftest.err
38159 cat conftest.err >&5
38160 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38161 (exit $ac_status); } && {
38162 test -z "$ac_c_werror_flag" ||
38163 test ! -s conftest.err
38164 } && test -s conftest.$ac_objext; then
38165 wx_cv_func_broken_snprintf_decl=no
38167 echo "$as_me: failed program was
:" >&5
38168 sed 's/^/| /' conftest.$ac_ext >&5
38170 wx_cv_func_broken_snprintf_decl=yes
38174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38178 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_snprintf_decl" >&5
38179 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38181 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38182 cat >>confdefs.h <<\_ACEOF
38183 #define HAVE_BROKEN_SNPRINTF_DECL 1
38189 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38191 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
38192 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
38193 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38194 echo $ECHO_N "(cached
) $ECHO_C" >&6
38197 if test "$cross_compiling" = yes; then
38199 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
38200 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
38201 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
38202 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
38203 wx_cv_func_snprintf_pos_params=no
38207 cat >conftest.$ac_ext <<_ACEOF
38210 cat confdefs.h >>conftest.$ac_ext
38211 cat >>conftest.$ac_ext <<_ACEOF
38212 /* end confdefs.h. */
38219 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38220 if (strcmp ("2 3 1", buffer) == 0)
38226 rm -f conftest$ac_exeext
38227 if { (ac_try="$ac_link"
38228 case "(($ac_try" in
38229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38230 *) ac_try_echo=$ac_try;;
38232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38233 (eval "$ac_link") 2>&5
38235 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38236 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38237 { (case "(($ac_try" in
38238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38239 *) ac_try_echo=$ac_try;;
38241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38242 (eval "$ac_try") 2>&5
38244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38245 (exit $ac_status); }; }; then
38246 wx_cv_func_snprintf_pos_params=no
38248 echo "$as_me: program exited with status
$ac_status" >&5
38249 echo "$as_me: failed program was
:" >&5
38250 sed 's/^/| /' conftest.$ac_ext >&5
38252 ( exit $ac_status )
38253 wx_cv_func_snprintf_pos_params=yes
38255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38262 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
38263 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38265 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38266 cat >>confdefs.h <<\_ACEOF
38267 #define HAVE_UNIX98_PRINTF 1
38274 if test "$wxUSE_UNICODE" = yes; then
38277 for ac_func in swprintf
38279 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38280 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38281 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38282 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38283 echo $ECHO_N "(cached
) $ECHO_C" >&6
38285 cat >conftest.$ac_ext <<_ACEOF
38288 cat confdefs.h >>conftest.$ac_ext
38289 cat >>conftest.$ac_ext <<_ACEOF
38290 /* end confdefs.h. */
38291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38293 #define $ac_func innocuous_$ac_func
38295 /* System header to define __stub macros and hopefully few prototypes,
38296 which can conflict with char $ac_func (); below.
38297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38298 <limits.h> exists even on freestanding compilers. */
38301 # include <limits.h>
38303 # include <assert.h>
38308 /* Override any GCC internal prototype to avoid an error.
38309 Use char because int might match the return type of a GCC
38310 builtin and then its argument prototype would still apply. */
38315 /* The GNU C library defines this for functions which it implements
38316 to always fail with ENOSYS. Some functions are actually named
38317 something starting with __ and the normal name is an alias. */
38318 #if defined __stub_$ac_func || defined __stub___$ac_func
38325 return $ac_func ();
38330 rm -f conftest.$ac_objext conftest$ac_exeext
38331 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
38339 grep -v '^ *+' conftest.er1 >conftest.err
38341 cat conftest.err >&5
38342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38343 (exit $ac_status); } && {
38344 test -z "$ac_c_werror_flag" ||
38345 test ! -s conftest.err
38346 } && test -s conftest$ac_exeext &&
38347 $as_test_x conftest$ac_exeext; then
38348 eval "$as_ac_var=yes"
38350 echo "$as_me: failed program was
:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38353 eval "$as_ac_var=no
"
38356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38357 conftest$ac_exeext conftest.$ac_ext
38359 ac_res=`eval echo '${'$as_ac_var'}'`
38360 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38361 echo "${ECHO_T}$ac_res" >&6; }
38362 if test `eval echo '${'$as_ac_var'}'` = yes; then
38363 cat >>confdefs.h <<_ACEOF
38364 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38371 if test "$ac_cv_func_swprintf" = "yes"; then
38372 { echo "$as_me:$LINENO: checking
if swprintf declaration is broken
" >&5
38373 echo $ECHO_N "checking
if swprintf declaration is broken...
$ECHO_C" >&6; }
38374 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38375 echo $ECHO_N "(cached
) $ECHO_C" >&6
38378 cat >conftest.$ac_ext <<_ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38386 #include <stdarg.h>
38394 const wchar_t *fmt = L"test";
38395 swprintf(buf, 10u, fmt);
38401 rm -f conftest.$ac_objext
38402 if { (ac_try="$ac_compile"
38403 case "(($ac_try" in
38404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38405 *) ac_try_echo=$ac_try;;
38407 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38408 (eval "$ac_compile") 2>conftest.er1
38410 grep -v '^ *+' conftest.er1 >conftest.err
38412 cat conftest.err >&5
38413 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38414 (exit $ac_status); } && {
38415 test -z "$ac_c_werror_flag" ||
38416 test ! -s conftest.err
38417 } && test -s conftest.$ac_objext; then
38418 wx_cv_func_broken_swprintf_decl=no
38420 echo "$as_me: failed program was
:" >&5
38421 sed 's/^/| /' conftest.$ac_ext >&5
38423 wx_cv_func_broken_swprintf_decl=yes
38427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38431 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_swprintf_decl" >&5
38432 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38434 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38435 cat >>confdefs.h <<\_ACEOF
38436 #define HAVE_BROKEN_SWPRINTF_DECL 1
38442 wchar_headers="#include <stdio.h>
38443 #include <wchar.h>"
38447 for ac_header
in widec.h
38449 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38450 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38452 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38453 echo $ECHO_N "(cached) $ECHO_C" >&6
38455 cat >conftest.
$ac_ext <<_ACEOF
38458 cat confdefs.h
>>conftest.
$ac_ext
38459 cat >>conftest.
$ac_ext <<_ACEOF
38460 /* end confdefs.h. */
38461 $ac_includes_default
38463 #include <$ac_header>
38465 rm -f conftest.
$ac_objext
38466 if { (ac_try
="$ac_compile"
38467 case "(($ac_try" in
38468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38469 *) ac_try_echo=$ac_try;;
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_compile") 2>conftest.er1
38474 grep -v '^ *+' conftest.er1 >conftest.err
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_c_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest.$ac_objext; then
38482 eval "$as_ac_Header=yes"
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38487 eval "$as_ac_Header=no"
38490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492 ac_res=`eval echo '${'$as_ac_Header'}'`
38493 { echo "$as_me:$LINENO: result: $ac_res" >&5
38494 echo "${ECHO_T}$ac_res" >&6; }
38495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38496 cat >>confdefs.h <<_ACEOF
38497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38504 if test "$ac_cv_header_widec_h" = "yes"; then
38505 wchar_headers="$wchar_headers
38506 #include <widec.h>"
38511 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38513 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38514 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38515 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38516 echo $ECHO_N "(cached) $ECHO_C" >&6
38519 cat >conftest.$ac_ext <<_ACEOF
38523 cat confdefs.h >>conftest.$ac_ext
38524 cat >>conftest.$ac_ext <<_ACEOF
38525 /* end confdefs.h. */
38528 $ac_includes_default
38544 rm -f conftest.$ac_objext conftest$ac_exeext
38545 if { (ac_try="$ac_link"
38546 case "(($ac_try" in
38547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38548 *) ac_try_echo
=$ac_try;;
38550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38551 (eval "$ac_link") 2>conftest.er1
38553 grep -v '^ *+' conftest.er1
>conftest.err
38555 cat conftest.err
>&5
38556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38557 (exit $ac_status); } && {
38558 test -z "$ac_c_werror_flag" ||
38559 test ! -s conftest.err
38560 } && test -s conftest
$ac_exeext &&
38561 $as_test_x conftest
$ac_exeext; then
38562 eval wx_cv_func_
$wx_func=yes
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.
$ac_ext >&5
38567 eval wx_cv_func_
$wx_func=no
38570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38571 conftest
$ac_exeext conftest.
$ac_ext
38574 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38575 { echo "$as_me:$LINENO: result: $ac_res" >&5
38576 echo "${ECHO_T}$ac_res" >&6; }
38578 if eval test \
$wx_cv_func_$wx_func = yes
38580 cat >>confdefs.h
<<_ACEOF
38581 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38592 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38593 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38594 cat >conftest.
$ac_ext <<_ACEOF
38597 cat confdefs.h
>>conftest.
$ac_ext
38598 cat >>conftest.
$ac_ext <<_ACEOF
38599 /* end confdefs.h. */
38609 rm -f conftest.
$ac_objext
38610 if { (ac_try
="$ac_compile"
38611 case "(($ac_try" in
38612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38613 *) ac_try_echo=$ac_try;;
38615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38616 (eval "$ac_compile") 2>conftest.er1
38618 grep -v '^ *+' conftest.er1 >conftest.err
38620 cat conftest.err >&5
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); } && {
38623 test -z "$ac_c_werror_flag" ||
38624 test ! -s conftest.err
38625 } && test -s conftest.$ac_objext; then
38626 { echo "$as_me:$LINENO: result: yes" >&5
38627 echo "${ECHO_T}yes" >&6; }
38628 cat >>confdefs.h <<\_ACEOF
38629 #define HAVE__VSNWPRINTF 1
38633 echo "$as_me: failed program was:" >&5
38634 sed 's/^/| /' conftest.$ac_ext >&5
38636 { echo "$as_me:$LINENO: result: no" >&5
38637 echo "${ECHO_T}no" >&6; }
38640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38643 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38645 for wx_func in fnmatch
38647 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38648 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38649 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38650 echo $ECHO_N "(cached) $ECHO_C" >&6
38653 cat >conftest.$ac_ext <<_ACEOF
38657 cat confdefs.h >>conftest.$ac_ext
38658 cat >>conftest.$ac_ext <<_ACEOF
38659 /* end confdefs.h. */
38661 #include <fnmatch.h>
38662 $ac_includes_default
38678 rm -f conftest.$ac_objext conftest$ac_exeext
38679 if { (ac_try="$ac_link"
38680 case "(($ac_try" in
38681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38682 *) ac_try_echo
=$ac_try;;
38684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38685 (eval "$ac_link") 2>conftest.er1
38687 grep -v '^ *+' conftest.er1
>conftest.err
38689 cat conftest.err
>&5
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); } && {
38692 test -z "$ac_c_werror_flag" ||
38693 test ! -s conftest.err
38694 } && test -s conftest
$ac_exeext &&
38695 $as_test_x conftest
$ac_exeext; then
38696 eval wx_cv_func_
$wx_func=yes
38698 echo "$as_me: failed program was:" >&5
38699 sed 's/^/| /' conftest.
$ac_ext >&5
38701 eval wx_cv_func_
$wx_func=no
38704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38705 conftest
$ac_exeext conftest.
$ac_ext
38708 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38709 { echo "$as_me:$LINENO: result: $ac_res" >&5
38710 echo "${ECHO_T}$ac_res" >&6; }
38712 if eval test \
$wx_cv_func_$wx_func = yes
38714 cat >>confdefs.h
<<_ACEOF
38715 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38727 if test "$wxUSE_FILE" = "yes"; then
38729 for wx_func
in fsync
38731 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38732 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38733 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38734 echo $ECHO_N "(cached) $ECHO_C" >&6
38737 cat >conftest.
$ac_ext <<_ACEOF
38741 cat confdefs.h
>>conftest.
$ac_ext
38742 cat >>conftest.
$ac_ext <<_ACEOF
38743 /* end confdefs.h. */
38746 $ac_includes_default
38762 rm -f conftest.
$ac_objext conftest
$ac_exeext
38763 if { (ac_try
="$ac_link"
38764 case "(($ac_try" in
38765 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38766 *) ac_try_echo=$ac_try;;
38768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38769 (eval "$ac_link") 2>conftest.er1
38771 grep -v '^ *+' conftest.er1 >conftest.err
38773 cat conftest.err >&5
38774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38775 (exit $ac_status); } && {
38776 test -z "$ac_c_werror_flag" ||
38777 test ! -s conftest.err
38778 } && test -s conftest$ac_exeext &&
38779 $as_test_x conftest$ac_exeext; then
38780 eval wx_cv_func_$wx_func=yes
38782 echo "$as_me: failed program was:" >&5
38783 sed 's/^/| /' conftest.$ac_ext >&5
38785 eval wx_cv_func_$wx_func=no
38788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38789 conftest$ac_exeext conftest.$ac_ext
38792 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38793 { echo "$as_me:$LINENO: result: $ac_res" >&5
38794 echo "${ECHO_T}$ac_res" >&6; }
38796 if eval test \$wx_cv_func_$wx_func = yes
38798 cat >>confdefs.h <<_ACEOF
38799 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38812 ac_cpp='$CXXCPP $CPPFLAGS'
38813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38818 for wx_func in round
38820 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38821 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38822 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38823 echo $ECHO_N "(cached) $ECHO_C" >&6
38826 cat >conftest.$ac_ext <<_ACEOF
38830 cat confdefs.h >>conftest.$ac_ext
38831 cat >>conftest.$ac_ext <<_ACEOF
38832 /* end confdefs.h. */
38835 $ac_includes_default
38851 rm -f conftest.$ac_objext conftest$ac_exeext
38852 if { (ac_try="$ac_link"
38853 case "(($ac_try" in
38854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38855 *) ac_try_echo
=$ac_try;;
38857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38858 (eval "$ac_link") 2>conftest.er1
38860 grep -v '^ *+' conftest.er1
>conftest.err
38862 cat conftest.err
>&5
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); } && {
38865 test -z "$ac_cxx_werror_flag" ||
38866 test ! -s conftest.err
38867 } && test -s conftest
$ac_exeext &&
38868 $as_test_x conftest
$ac_exeext; then
38869 eval wx_cv_func_
$wx_func=yes
38871 echo "$as_me: failed program was:" >&5
38872 sed 's/^/| /' conftest.
$ac_ext >&5
38874 eval wx_cv_func_
$wx_func=no
38877 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38878 conftest
$ac_exeext conftest.
$ac_ext
38881 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38882 { echo "$as_me:$LINENO: result: $ac_res" >&5
38883 echo "${ECHO_T}$ac_res" >&6; }
38885 if eval test \
$wx_cv_func_$wx_func = yes
38887 cat >>confdefs.h
<<_ACEOF
38888 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38899 ac_cpp
='$CPP $CPPFLAGS'
38900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38905 if test "$TOOLKIT" != "MSW"; then
38911 # Check whether --with-libiconv-prefix was given.
38912 if test "${with_libiconv_prefix+set}" = set; then
38913 withval
=$with_libiconv_prefix;
38914 for dir
in `echo "$withval" | tr : ' '`; do
38915 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38916 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38922 { echo "$as_me:$LINENO: checking for iconv" >&5
38923 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38924 if test "${am_cv_func_iconv+set}" = set; then
38925 echo $ECHO_N "(cached) $ECHO_C" >&6
38928 am_cv_func_iconv
="no, consider installing GNU libiconv"
38930 cat >conftest.
$ac_ext <<_ACEOF
38933 cat confdefs.h
>>conftest.
$ac_ext
38934 cat >>conftest.
$ac_ext <<_ACEOF
38935 /* end confdefs.h. */
38936 #include <stdlib.h>
38941 iconv_t cd = iconv_open("","");
38942 iconv(cd,NULL,NULL,NULL,NULL);
38948 rm -f conftest.
$ac_objext conftest
$ac_exeext
38949 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
38957 grep -v '^ *+' conftest.er1 >conftest.err
38959 cat conftest.err >&5
38960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38961 (exit $ac_status); } && {
38962 test -z "$ac_c_werror_flag" ||
38963 test ! -s conftest.err
38964 } && test -s conftest$ac_exeext &&
38965 $as_test_x conftest$ac_exeext; then
38966 am_cv_func_iconv=yes
38968 echo "$as_me: failed program was:" >&5
38969 sed 's/^/| /' conftest.$ac_ext >&5
38974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38975 conftest$ac_exeext conftest.$ac_ext
38976 if test "$am_cv_func_iconv" != yes; then
38977 am_save_LIBS="$LIBS"
38978 LIBS="$LIBS -liconv"
38979 cat >conftest.$ac_ext <<_ACEOF
38982 cat confdefs.h >>conftest.$ac_ext
38983 cat >>conftest.$ac_ext <<_ACEOF
38984 /* end confdefs.h. */
38985 #include <stdlib.h>
38990 iconv_t cd = iconv_open("","");
38991 iconv(cd,NULL,NULL,NULL,NULL);
38997 rm -f conftest.$ac_objext conftest$ac_exeext
38998 if { (ac_try="$ac_link"
38999 case "(($ac_try" in
39000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39001 *) ac_try_echo
=$ac_try;;
39003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39004 (eval "$ac_link") 2>conftest.er1
39006 grep -v '^ *+' conftest.er1
>conftest.err
39008 cat conftest.err
>&5
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); } && {
39011 test -z "$ac_c_werror_flag" ||
39012 test ! -s conftest.err
39013 } && test -s conftest
$ac_exeext &&
39014 $as_test_x conftest
$ac_exeext; then
39015 am_cv_lib_iconv
=yes
39016 am_cv_func_iconv
=yes
39018 echo "$as_me: failed program was:" >&5
39019 sed 's/^/| /' conftest.
$ac_ext >&5
39024 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39025 conftest
$ac_exeext conftest.
$ac_ext
39026 LIBS
="$am_save_LIBS"
39030 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39031 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39032 if test "$am_cv_func_iconv" = yes; then
39034 cat >>confdefs.h
<<\_ACEOF
39035 #define HAVE_ICONV 1
39038 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39039 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39040 if test "${wx_cv_func_iconv_const+set}" = set; then
39041 echo $ECHO_N "(cached) $ECHO_C" >&6
39043 cat >conftest.
$ac_ext <<_ACEOF
39046 cat confdefs.h
>>conftest.
$ac_ext
39047 cat >>conftest.
$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39050 #include <stdlib.h>
39056 #if defined(__STDC__) || defined(__cplusplus)
39057 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39070 rm -f conftest.
$ac_objext
39071 if { (ac_try
="$ac_compile"
39072 case "(($ac_try" in
39073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39074 *) ac_try_echo=$ac_try;;
39076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39077 (eval "$ac_compile") 2>conftest.er1
39079 grep -v '^ *+' conftest.er1 >conftest.err
39081 cat conftest.err >&5
39082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39083 (exit $ac_status); } && {
39084 test -z "$ac_c_werror_flag" ||
39085 test ! -s conftest.err
39086 } && test -s conftest.$ac_objext; then
39087 wx_cv_func_iconv_const="no"
39089 echo "$as_me: failed program was:" >&5
39090 sed 's/^/| /' conftest.$ac_ext >&5
39092 wx_cv_func_iconv_const="yes"
39096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39099 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39100 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39103 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39104 iconv_const="const"
39108 cat >>confdefs.h <<_ACEOF
39109 #define ICONV_CONST $iconv_const
39114 if test "$am_cv_lib_iconv" = yes; then
39119 LIBS="$LIBICONV $LIBS"
39121 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39123 for ac_func in sigaction
39125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39126 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39128 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39129 echo $ECHO_N "(cached) $ECHO_C" >&6
39131 cat >conftest.$ac_ext <<_ACEOF
39134 cat confdefs.h >>conftest.$ac_ext
39135 cat >>conftest.$ac_ext <<_ACEOF
39136 /* end confdefs.h. */
39137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39139 #define $ac_func innocuous_$ac_func
39141 /* System header to define __stub macros and hopefully few prototypes,
39142 which can conflict with char $ac_func (); below.
39143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39144 <limits.h> exists even on freestanding compilers. */
39147 # include <limits.h>
39149 # include <assert.h>
39154 /* Override any GCC internal prototype to avoid an error.
39155 Use char because int might match the return type of a GCC
39156 builtin and then its argument prototype would still apply. */
39161 /* The GNU C library defines this for functions which it implements
39162 to always fail with ENOSYS. Some functions are actually named
39163 something starting with __ and the normal name is an alias. */
39164 #if defined __stub_$ac_func || defined __stub___$ac_func
39171 return $ac_func ();
39176 rm -f conftest.$ac_objext conftest$ac_exeext
39177 if { (ac_try="$ac_link"
39178 case "(($ac_try" in
39179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39180 *) ac_try_echo
=$ac_try;;
39182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39183 (eval "$ac_link") 2>conftest.er1
39185 grep -v '^ *+' conftest.er1
>conftest.err
39187 cat conftest.err
>&5
39188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39189 (exit $ac_status); } && {
39190 test -z "$ac_c_werror_flag" ||
39191 test ! -s conftest.err
39192 } && test -s conftest
$ac_exeext &&
39193 $as_test_x conftest
$ac_exeext; then
39194 eval "$as_ac_var=yes"
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.
$ac_ext >&5
39199 eval "$as_ac_var=no"
39202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39203 conftest
$ac_exeext conftest.
$ac_ext
39205 ac_res
=`eval echo '${'$as_ac_var'}'`
39206 { echo "$as_me:$LINENO: result: $ac_res" >&5
39207 echo "${ECHO_T}$ac_res" >&6; }
39208 if test `eval echo '${'$as_ac_var'}'` = yes; then
39209 cat >>confdefs.h
<<_ACEOF
39210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39217 if test "$ac_cv_func_sigaction" = "no"; then
39218 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39219 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39220 wxUSE_ON_FATAL_EXCEPTION
=no
39223 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39224 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39225 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39226 if test "${wx_cv_type_sa_handler+set}" = set; then
39227 echo $ECHO_N "(cached) $ECHO_C" >&6
39231 ac_cpp
='$CXXCPP $CPPFLAGS'
39232 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39233 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39234 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39236 cat >conftest.
$ac_ext <<_ACEOF
39239 cat confdefs.h
>>conftest.
$ac_ext
39240 cat >>conftest.
$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39242 #include <signal.h>
39247 extern void testSigHandler(int);
39249 struct sigaction sa;
39250 sa.sa_handler = testSigHandler;
39256 rm -f conftest.
$ac_objext
39257 if { (ac_try
="$ac_compile"
39258 case "(($ac_try" in
39259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39260 *) ac_try_echo=$ac_try;;
39262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39263 (eval "$ac_compile") 2>conftest.er1
39265 grep -v '^ *+' conftest.er1 >conftest.err
39267 cat conftest.err >&5
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); } && {
39270 test -z "$ac_cxx_werror_flag" ||
39271 test ! -s conftest.err
39272 } && test -s conftest.$ac_objext; then
39274 wx_cv_type_sa_handler=int
39277 echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.$ac_ext >&5
39281 wx_cv_type_sa_handler=void
39285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39287 ac_cpp='$CPP $CPPFLAGS'
39288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39294 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39295 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39297 cat >>confdefs.h <<_ACEOF
39298 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39304 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39305 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39306 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39307 if test "${wx_cv_func_backtrace+set}" = set; then
39308 echo $ECHO_N "(cached) $ECHO_C" >&6
39312 ac_cpp='$CXXCPP $CPPFLAGS'
39313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39317 cat >conftest.$ac_ext <<_ACEOF
39320 cat confdefs.h >>conftest.$ac_ext
39321 cat >>conftest.$ac_ext <<_ACEOF
39322 /* end confdefs.h. */
39323 #include <execinfo.h>
39331 backtrace(trace, 1);
39332 messages = backtrace_symbols(trace, 1);
39338 rm -f conftest.$ac_objext
39339 if { (ac_try="$ac_compile"
39340 case "(($ac_try" in
39341 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39342 *) ac_try_echo
=$ac_try;;
39344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39345 (eval "$ac_compile") 2>conftest.er1
39347 grep -v '^ *+' conftest.er1
>conftest.err
39349 cat conftest.err
>&5
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); } && {
39352 test -z "$ac_cxx_werror_flag" ||
39353 test ! -s conftest.err
39354 } && test -s conftest.
$ac_objext; then
39355 wx_cv_func_backtrace
=yes
39357 echo "$as_me: failed program was:" >&5
39358 sed 's/^/| /' conftest.
$ac_ext >&5
39360 wx_cv_func_backtrace
=no
39364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39366 ac_cpp
='$CPP $CPPFLAGS'
39367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39374 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39375 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39378 if test "$wx_cv_func_backtrace" = "no"; then
39379 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39380 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39381 wxUSE_STACKWALKER
=no
39383 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39384 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39385 if test "${wx_cv_func_cxa_demangle+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 <cxxabi.h>
39407 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39413 rm -f conftest.
$ac_objext conftest
$ac_exeext
39414 if { (ac_try
="$ac_link"
39415 case "(($ac_try" in
39416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39417 *) ac_try_echo=$ac_try;;
39419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39420 (eval "$ac_link") 2>conftest.er1
39422 grep -v '^ *+' conftest.er1 >conftest.err
39424 cat conftest.err >&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); } && {
39427 test -z "$ac_cxx_werror_flag" ||
39428 test ! -s conftest.err
39429 } && test -s conftest$ac_exeext &&
39430 $as_test_x conftest$ac_exeext; then
39431 wx_cv_func_cxa_demangle=yes
39433 echo "$as_me: failed program was:" >&5
39434 sed 's/^/| /' conftest.$ac_ext >&5
39436 wx_cv_func_cxa_demangle=no
39440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39441 conftest$ac_exeext conftest.$ac_ext
39443 ac_cpp='$CPP $CPPFLAGS'
39444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39451 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39452 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39454 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39455 cat >>confdefs.h <<\_ACEOF
39456 #define HAVE_CXA_DEMANGLE 1
39463 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39464 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39465 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39466 wxUSE_STACKWALKER=no
39472 for ac_func in mkstemp mktemp
39474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39478 echo $ECHO_N "(cached) $ECHO_C" >&6
39480 cat >conftest.$ac_ext <<_ACEOF
39483 cat confdefs.h >>conftest.$ac_ext
39484 cat >>conftest.$ac_ext <<_ACEOF
39485 /* end confdefs.h. */
39486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39488 #define $ac_func innocuous_$ac_func
39490 /* System header to define __stub macros and hopefully few prototypes,
39491 which can conflict with char $ac_func (); below.
39492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39493 <limits.h> exists even on freestanding compilers. */
39496 # include <limits.h>
39498 # include <assert.h>
39503 /* Override any GCC internal prototype to avoid an error.
39504 Use char because int might match the return type of a GCC
39505 builtin and then its argument prototype would still apply. */
39510 /* The GNU C library defines this for functions which it implements
39511 to always fail with ENOSYS. Some functions are actually named
39512 something starting with __ and the normal name is an alias. */
39513 #if defined __stub_$ac_func || defined __stub___$ac_func
39520 return $ac_func ();
39525 rm -f conftest.$ac_objext conftest$ac_exeext
39526 if { (ac_try="$ac_link"
39527 case "(($ac_try" in
39528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39529 *) ac_try_echo
=$ac_try;;
39531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39532 (eval "$ac_link") 2>conftest.er1
39534 grep -v '^ *+' conftest.er1
>conftest.err
39536 cat conftest.err
>&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); } && {
39539 test -z "$ac_c_werror_flag" ||
39540 test ! -s conftest.err
39541 } && test -s conftest
$ac_exeext &&
39542 $as_test_x conftest
$ac_exeext; then
39543 eval "$as_ac_var=yes"
39545 echo "$as_me: failed program was:" >&5
39546 sed 's/^/| /' conftest.
$ac_ext >&5
39548 eval "$as_ac_var=no"
39551 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39552 conftest
$ac_exeext conftest.
$ac_ext
39554 ac_res
=`eval echo '${'$as_ac_var'}'`
39555 { echo "$as_me:$LINENO: result: $ac_res" >&5
39556 echo "${ECHO_T}$ac_res" >&6; }
39557 if test `eval echo '${'$as_ac_var'}'` = yes; then
39558 cat >>confdefs.h
<<_ACEOF
39559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39566 { echo "$as_me:$LINENO: checking for statfs" >&5
39567 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39568 if test "${wx_cv_func_statfs+set}" = set; then
39569 echo $ECHO_N "(cached) $ECHO_C" >&6
39571 cat >conftest.
$ac_ext <<_ACEOF
39574 cat confdefs.h
>>conftest.
$ac_ext
39575 cat >>conftest.
$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39578 #if defined(__BSD__)
39579 #include <sys/param.h>
39580 #include <sys/mount.h>
39582 #include <sys/vfs.h>
39600 rm -f conftest.
$ac_objext
39601 if { (ac_try
="$ac_compile"
39602 case "(($ac_try" in
39603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39604 *) ac_try_echo=$ac_try;;
39606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39607 (eval "$ac_compile") 2>conftest.er1
39609 grep -v '^ *+' conftest.er1 >conftest.err
39611 cat conftest.err >&5
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); } && {
39614 test -z "$ac_c_werror_flag" ||
39615 test ! -s conftest.err
39616 } && test -s conftest.$ac_objext; then
39617 wx_cv_func_statfs=yes
39619 echo "$as_me: failed program was:" >&5
39620 sed 's/^/| /' conftest.$ac_ext >&5
39622 wx_cv_func_statfs=no
39626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39629 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39630 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39632 if test "$wx_cv_func_statfs" = "yes"; then
39633 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39634 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39635 if test "${wx_cv_func_statfs_decl+set}" = set; then
39636 echo $ECHO_N "(cached) $ECHO_C" >&6
39639 ac_cpp='$CXXCPP $CPPFLAGS'
39640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39644 cat >conftest.$ac_ext <<_ACEOF
39647 cat confdefs.h >>conftest.$ac_ext
39648 cat >>conftest.$ac_ext <<_ACEOF
39649 /* end confdefs.h. */
39651 #if defined(__BSD__)
39652 #include <sys/param.h>
39653 #include <sys/mount.h>
39655 #include <sys/vfs.h>
39669 rm -f conftest.$ac_objext
39670 if { (ac_try="$ac_compile"
39671 case "(($ac_try" in
39672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39673 *) ac_try_echo
=$ac_try;;
39675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39676 (eval "$ac_compile") 2>conftest.er1
39678 grep -v '^ *+' conftest.er1
>conftest.err
39680 cat conftest.err
>&5
39681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682 (exit $ac_status); } && {
39683 test -z "$ac_cxx_werror_flag" ||
39684 test ! -s conftest.err
39685 } && test -s conftest.
$ac_objext; then
39686 wx_cv_func_statfs_decl
=yes
39688 echo "$as_me: failed program was:" >&5
39689 sed 's/^/| /' conftest.
$ac_ext >&5
39691 wx_cv_func_statfs_decl
=no
39695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39697 ac_cpp
='$CPP $CPPFLAGS'
39698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39704 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39705 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39707 if test "$wx_cv_func_statfs_decl" = "yes"; then
39708 cat >>confdefs.h
<<\_ACEOF
39709 #define HAVE_STATFS_DECL 1
39714 wx_cv_type_statvfs_t
="struct statfs"
39715 cat >>confdefs.h
<<\_ACEOF
39716 #define HAVE_STATFS 1
39720 { echo "$as_me:$LINENO: checking for statvfs" >&5
39721 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39722 if test "${wx_cv_func_statvfs+set}" = set; then
39723 echo $ECHO_N "(cached) $ECHO_C" >&6
39725 cat >conftest.
$ac_ext <<_ACEOF
39728 cat confdefs.h
>>conftest.
$ac_ext
39729 cat >>conftest.
$ac_ext <<_ACEOF
39730 /* end confdefs.h. */
39732 #include <stddef.h>
39733 #include <sys/statvfs.h>
39739 statvfs("/", NULL);
39745 rm -f conftest.
$ac_objext
39746 if { (ac_try
="$ac_compile"
39747 case "(($ac_try" in
39748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39749 *) ac_try_echo=$ac_try;;
39751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39752 (eval "$ac_compile") 2>conftest.er1
39754 grep -v '^ *+' conftest.er1 >conftest.err
39756 cat conftest.err >&5
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); } && {
39759 test -z "$ac_c_werror_flag" ||
39760 test ! -s conftest.err
39761 } && test -s conftest.$ac_objext; then
39762 wx_cv_func_statvfs=yes
39764 echo "$as_me: failed program was:" >&5
39765 sed 's/^/| /' conftest.$ac_ext >&5
39767 wx_cv_func_statvfs=no
39771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39774 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39775 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39777 if test "$wx_cv_func_statvfs" = "yes"; then
39778 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39779 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39780 if test "${wx_cv_type_statvfs_t+set}" = set; then
39781 echo $ECHO_N "(cached) $ECHO_C" >&6
39784 ac_cpp='$CXXCPP $CPPFLAGS'
39785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39789 cat >conftest.$ac_ext <<_ACEOF
39792 cat confdefs.h >>conftest.$ac_ext
39793 cat >>conftest.$ac_ext <<_ACEOF
39794 /* end confdefs.h. */
39796 #include <sys/statvfs.h>
39813 rm -f conftest.$ac_objext
39814 if { (ac_try="$ac_compile"
39815 case "(($ac_try" in
39816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39817 *) ac_try_echo
=$ac_try;;
39819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39820 (eval "$ac_compile") 2>conftest.er1
39822 grep -v '^ *+' conftest.er1
>conftest.err
39824 cat conftest.err
>&5
39825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); } && {
39827 test -z "$ac_cxx_werror_flag" ||
39828 test ! -s conftest.err
39829 } && test -s conftest.
$ac_objext; then
39830 wx_cv_type_statvfs_t
=statvfs_t
39832 echo "$as_me: failed program was:" >&5
39833 sed 's/^/| /' conftest.
$ac_ext >&5
39836 cat >conftest.
$ac_ext <<_ACEOF
39839 cat confdefs.h
>>conftest.
$ac_ext
39840 cat >>conftest.
$ac_ext <<_ACEOF
39841 /* end confdefs.h. */
39843 #include <sys/statvfs.h>
39860 rm -f conftest.
$ac_objext
39861 if { (ac_try
="$ac_compile"
39862 case "(($ac_try" in
39863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39864 *) ac_try_echo=$ac_try;;
39866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39867 (eval "$ac_compile") 2>conftest.er1
39869 grep -v '^ *+' conftest.er1 >conftest.err
39871 cat conftest.err >&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); } && {
39874 test -z "$ac_cxx_werror_flag" ||
39875 test ! -s conftest.err
39876 } && test -s conftest.$ac_objext; then
39877 wx_cv_type_statvfs_t="struct statvfs"
39879 echo "$as_me: failed program was:" >&5
39880 sed 's/^/| /' conftest.$ac_ext >&5
39882 wx_cv_type_statvfs_t="unknown"
39886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39893 ac_cpp='$CPP $CPPFLAGS'
39894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39900 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39901 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39903 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39904 cat >>confdefs.h <<\_ACEOF
39905 #define HAVE_STATVFS 1
39910 wx_cv_type_statvfs_t="unknown"
39914 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39915 cat >>confdefs.h <<_ACEOF
39916 #define WX_STATFS_T $wx_cv_type_statvfs_t
39920 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39921 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39924 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39927 for ac_func in fcntl flock
39929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39930 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39932 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39933 echo $ECHO_N "(cached) $ECHO_C" >&6
39935 cat >conftest.$ac_ext <<_ACEOF
39938 cat confdefs.h >>conftest.$ac_ext
39939 cat >>conftest.$ac_ext <<_ACEOF
39940 /* end confdefs.h. */
39941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39943 #define $ac_func innocuous_$ac_func
39945 /* System header to define __stub macros and hopefully few prototypes,
39946 which can conflict with char $ac_func (); below.
39947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39948 <limits.h> exists even on freestanding compilers. */
39951 # include <limits.h>
39953 # include <assert.h>
39958 /* Override any GCC internal prototype to avoid an error.
39959 Use char because int might match the return type of a GCC
39960 builtin and then its argument prototype would still apply. */
39965 /* The GNU C library defines this for functions which it implements
39966 to always fail with ENOSYS. Some functions are actually named
39967 something starting with __ and the normal name is an alias. */
39968 #if defined __stub_$ac_func || defined __stub___$ac_func
39975 return $ac_func ();
39980 rm -f conftest.$ac_objext conftest$ac_exeext
39981 if { (ac_try="$ac_link"
39982 case "(($ac_try" in
39983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39984 *) ac_try_echo
=$ac_try;;
39986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39987 (eval "$ac_link") 2>conftest.er1
39989 grep -v '^ *+' conftest.er1
>conftest.err
39991 cat conftest.err
>&5
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); } && {
39994 test -z "$ac_c_werror_flag" ||
39995 test ! -s conftest.err
39996 } && test -s conftest
$ac_exeext &&
39997 $as_test_x conftest
$ac_exeext; then
39998 eval "$as_ac_var=yes"
40000 echo "$as_me: failed program was:" >&5
40001 sed 's/^/| /' conftest.
$ac_ext >&5
40003 eval "$as_ac_var=no"
40006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40007 conftest
$ac_exeext conftest.
$ac_ext
40009 ac_res
=`eval echo '${'$as_ac_var'}'`
40010 { echo "$as_me:$LINENO: result: $ac_res" >&5
40011 echo "${ECHO_T}$ac_res" >&6; }
40012 if test `eval echo '${'$as_ac_var'}'` = yes; then
40013 cat >>confdefs.h
<<_ACEOF
40014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40021 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40022 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40023 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40024 wxUSE_SNGLINST_CHECKER
=no
40029 for ac_func
in timegm
40031 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40034 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40035 echo $ECHO_N "(cached) $ECHO_C" >&6
40037 cat >conftest.
$ac_ext <<_ACEOF
40040 cat confdefs.h
>>conftest.
$ac_ext
40041 cat >>conftest.
$ac_ext <<_ACEOF
40042 /* end confdefs.h. */
40043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40045 #define $ac_func innocuous_$ac_func
40047 /* System header to define __stub macros and hopefully few prototypes,
40048 which can conflict with char $ac_func (); below.
40049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40050 <limits.h> exists even on freestanding compilers. */
40053 # include <limits.h>
40055 # include <assert.h>
40060 /* Override any GCC internal prototype to avoid an error.
40061 Use char because int might match the return type of a GCC
40062 builtin and then its argument prototype would still apply. */
40067 /* The GNU C library defines this for functions which it implements
40068 to always fail with ENOSYS. Some functions are actually named
40069 something starting with __ and the normal name is an alias. */
40070 #if defined __stub_$ac_func || defined __stub___$ac_func
40077 return $ac_func ();
40082 rm -f conftest.
$ac_objext conftest
$ac_exeext
40083 if { (ac_try
="$ac_link"
40084 case "(($ac_try" in
40085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40086 *) ac_try_echo=$ac_try;;
40088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40089 (eval "$ac_link") 2>conftest.er1
40091 grep -v '^ *+' conftest.er1 >conftest.err
40093 cat conftest.err >&5
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); } && {
40096 test -z "$ac_c_werror_flag" ||
40097 test ! -s conftest.err
40098 } && test -s conftest$ac_exeext &&
40099 $as_test_x conftest$ac_exeext; then
40100 eval "$as_ac_var=yes"
40102 echo "$as_me: failed program was:" >&5
40103 sed 's/^/| /' conftest.$ac_ext >&5
40105 eval "$as_ac_var=no"
40108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40109 conftest$ac_exeext conftest.$ac_ext
40111 ac_res=`eval echo '${'$as_ac_var'}'`
40112 { echo "$as_me:$LINENO: result: $ac_res" >&5
40113 echo "${ECHO_T}$ac_res" >&6; }
40114 if test `eval echo '${'$as_ac_var'}'` = yes; then
40115 cat >>confdefs.h <<_ACEOF
40116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40125 for ac_func in setenv putenv
40127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40131 echo $ECHO_N "(cached) $ECHO_C" >&6
40133 cat >conftest.$ac_ext <<_ACEOF
40136 cat confdefs.h >>conftest.$ac_ext
40137 cat >>conftest.$ac_ext <<_ACEOF
40138 /* end confdefs.h. */
40139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40141 #define $ac_func innocuous_$ac_func
40143 /* System header to define __stub macros and hopefully few prototypes,
40144 which can conflict with char $ac_func (); below.
40145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40146 <limits.h> exists even on freestanding compilers. */
40149 # include <limits.h>
40151 # include <assert.h>
40156 /* Override any GCC internal prototype to avoid an error.
40157 Use char because int might match the return type of a GCC
40158 builtin and then its argument prototype would still apply. */
40163 /* The GNU C library defines this for functions which it implements
40164 to always fail with ENOSYS. Some functions are actually named
40165 something starting with __ and the normal name is an alias. */
40166 #if defined __stub_$ac_func || defined __stub___$ac_func
40173 return $ac_func ();
40178 rm -f conftest.$ac_objext conftest$ac_exeext
40179 if { (ac_try="$ac_link"
40180 case "(($ac_try" in
40181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40182 *) ac_try_echo
=$ac_try;;
40184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40185 (eval "$ac_link") 2>conftest.er1
40187 grep -v '^ *+' conftest.er1
>conftest.err
40189 cat conftest.err
>&5
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); } && {
40192 test -z "$ac_c_werror_flag" ||
40193 test ! -s conftest.err
40194 } && test -s conftest
$ac_exeext &&
40195 $as_test_x conftest
$ac_exeext; then
40196 eval "$as_ac_var=yes"
40198 echo "$as_me: failed program was:" >&5
40199 sed 's/^/| /' conftest.
$ac_ext >&5
40201 eval "$as_ac_var=no"
40204 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40205 conftest
$ac_exeext conftest.
$ac_ext
40207 ac_res
=`eval echo '${'$as_ac_var'}'`
40208 { echo "$as_me:$LINENO: result: $ac_res" >&5
40209 echo "${ECHO_T}$ac_res" >&6; }
40210 if test `eval echo '${'$as_ac_var'}'` = yes; then
40211 cat >>confdefs.h
<<_ACEOF
40212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40218 if test "$ac_cv_func_setenv" = "yes"; then
40220 for ac_func
in unsetenv
40222 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40223 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40225 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40226 echo $ECHO_N "(cached) $ECHO_C" >&6
40228 cat >conftest.
$ac_ext <<_ACEOF
40231 cat confdefs.h
>>conftest.
$ac_ext
40232 cat >>conftest.
$ac_ext <<_ACEOF
40233 /* end confdefs.h. */
40234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40236 #define $ac_func innocuous_$ac_func
40238 /* System header to define __stub macros and hopefully few prototypes,
40239 which can conflict with char $ac_func (); below.
40240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40241 <limits.h> exists even on freestanding compilers. */
40244 # include <limits.h>
40246 # include <assert.h>
40251 /* Override any GCC internal prototype to avoid an error.
40252 Use char because int might match the return type of a GCC
40253 builtin and then its argument prototype would still apply. */
40258 /* The GNU C library defines this for functions which it implements
40259 to always fail with ENOSYS. Some functions are actually named
40260 something starting with __ and the normal name is an alias. */
40261 #if defined __stub_$ac_func || defined __stub___$ac_func
40268 return $ac_func ();
40273 rm -f conftest.
$ac_objext conftest
$ac_exeext
40274 if { (ac_try
="$ac_link"
40275 case "(($ac_try" in
40276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40277 *) ac_try_echo=$ac_try;;
40279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40280 (eval "$ac_link") 2>conftest.er1
40282 grep -v '^ *+' conftest.er1 >conftest.err
40284 cat conftest.err >&5
40285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286 (exit $ac_status); } && {
40287 test -z "$ac_c_werror_flag" ||
40288 test ! -s conftest.err
40289 } && test -s conftest$ac_exeext &&
40290 $as_test_x conftest$ac_exeext; then
40291 eval "$as_ac_var=yes"
40293 echo "$as_me: failed program was:" >&5
40294 sed 's/^/| /' conftest.$ac_ext >&5
40296 eval "$as_ac_var=no"
40299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40300 conftest$ac_exeext conftest.$ac_ext
40302 ac_res=`eval echo '${'$as_ac_var'}'`
40303 { echo "$as_me:$LINENO: result: $ac_res" >&5
40304 echo "${ECHO_T}$ac_res" >&6; }
40305 if test `eval echo '${'$as_ac_var'}'` = yes; then
40306 cat >>confdefs.h <<_ACEOF
40307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40315 HAVE_SOME_SLEEP_FUNC=0
40316 if test "$USE_BEOS" = 1; then
40317 cat >>confdefs.h <<\_ACEOF
40318 #define HAVE_SLEEP 1
40321 HAVE_SOME_SLEEP_FUNC=1
40324 if test "$USE_DARWIN" = 1; then
40325 cat >>confdefs.h <<\_ACEOF
40326 #define HAVE_USLEEP 1
40329 HAVE_SOME_SLEEP_FUNC=1
40332 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40335 for ac_func in nanosleep
40337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40341 echo $ECHO_N "(cached) $ECHO_C" >&6
40343 cat >conftest.$ac_ext <<_ACEOF
40346 cat confdefs.h >>conftest.$ac_ext
40347 cat >>conftest.$ac_ext <<_ACEOF
40348 /* end confdefs.h. */
40349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40351 #define $ac_func innocuous_$ac_func
40353 /* System header to define __stub macros and hopefully few prototypes,
40354 which can conflict with char $ac_func (); below.
40355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40356 <limits.h> exists even on freestanding compilers. */
40359 # include <limits.h>
40361 # include <assert.h>
40366 /* Override any GCC internal prototype to avoid an error.
40367 Use char because int might match the return type of a GCC
40368 builtin and then its argument prototype would still apply. */
40373 /* The GNU C library defines this for functions which it implements
40374 to always fail with ENOSYS. Some functions are actually named
40375 something starting with __ and the normal name is an alias. */
40376 #if defined __stub_$ac_func || defined __stub___$ac_func
40383 return $ac_func ();
40388 rm -f conftest.$ac_objext conftest$ac_exeext
40389 if { (ac_try="$ac_link"
40390 case "(($ac_try" in
40391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40392 *) ac_try_echo
=$ac_try;;
40394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40395 (eval "$ac_link") 2>conftest.er1
40397 grep -v '^ *+' conftest.er1
>conftest.err
40399 cat conftest.err
>&5
40400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40401 (exit $ac_status); } && {
40402 test -z "$ac_c_werror_flag" ||
40403 test ! -s conftest.err
40404 } && test -s conftest
$ac_exeext &&
40405 $as_test_x conftest
$ac_exeext; then
40406 eval "$as_ac_var=yes"
40408 echo "$as_me: failed program was:" >&5
40409 sed 's/^/| /' conftest.
$ac_ext >&5
40411 eval "$as_ac_var=no"
40414 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40415 conftest
$ac_exeext conftest.
$ac_ext
40417 ac_res
=`eval echo '${'$as_ac_var'}'`
40418 { echo "$as_me:$LINENO: result: $ac_res" >&5
40419 echo "${ECHO_T}$ac_res" >&6; }
40420 if test `eval echo '${'$as_ac_var'}'` = yes; then
40421 cat >>confdefs.h
<<_ACEOF
40422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40424 cat >>confdefs.h
<<\_ACEOF
40425 #define HAVE_NANOSLEEP 1
40430 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40431 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40432 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40435 ac_check_lib_save_LIBS
=$LIBS
40436 LIBS
="-lposix4 $LIBS"
40437 cat >conftest.
$ac_ext <<_ACEOF
40440 cat confdefs.h
>>conftest.
$ac_ext
40441 cat >>conftest.
$ac_ext <<_ACEOF
40442 /* end confdefs.h. */
40444 /* Override any GCC internal prototype to avoid an error.
40445 Use char because int might match the return type of a GCC
40446 builtin and then its argument prototype would still apply. */
40454 return nanosleep ();
40459 rm -f conftest.
$ac_objext conftest
$ac_exeext
40460 if { (ac_try
="$ac_link"
40461 case "(($ac_try" in
40462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40463 *) ac_try_echo=$ac_try;;
40465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40466 (eval "$ac_link") 2>conftest.er1
40468 grep -v '^ *+' conftest.er1 >conftest.err
40470 cat conftest.err >&5
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); } && {
40473 test -z "$ac_c_werror_flag" ||
40474 test ! -s conftest.err
40475 } && test -s conftest$ac_exeext &&
40476 $as_test_x conftest$ac_exeext; then
40477 ac_cv_lib_posix4_nanosleep=yes
40479 echo "$as_me: failed program was:" >&5
40480 sed 's/^/| /' conftest.$ac_ext >&5
40482 ac_cv_lib_posix4_nanosleep=no
40485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40486 conftest$ac_exeext conftest.$ac_ext
40487 LIBS=$ac_check_lib_save_LIBS
40489 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40490 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40491 if test $ac_cv_lib_posix4_nanosleep = yes; then
40493 cat >>confdefs.h <<\_ACEOF
40494 #define HAVE_NANOSLEEP 1
40497 POSIX4_LINK=" -lposix4"
40502 for wx_func in usleep
40504 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40505 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40506 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40507 echo $ECHO_N "(cached) $ECHO_C" >&6
40510 cat >conftest.$ac_ext <<_ACEOF
40514 cat confdefs.h >>conftest.$ac_ext
40515 cat >>conftest.$ac_ext <<_ACEOF
40516 /* end confdefs.h. */
40519 $ac_includes_default
40535 rm -f conftest.$ac_objext conftest$ac_exeext
40536 if { (ac_try="$ac_link"
40537 case "(($ac_try" in
40538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40539 *) ac_try_echo
=$ac_try;;
40541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40542 (eval "$ac_link") 2>conftest.er1
40544 grep -v '^ *+' conftest.er1
>conftest.err
40546 cat conftest.err
>&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); } && {
40549 test -z "$ac_c_werror_flag" ||
40550 test ! -s conftest.err
40551 } && test -s conftest
$ac_exeext &&
40552 $as_test_x conftest
$ac_exeext; then
40553 eval wx_cv_func_
$wx_func=yes
40555 echo "$as_me: failed program was:" >&5
40556 sed 's/^/| /' conftest.
$ac_ext >&5
40558 eval wx_cv_func_
$wx_func=no
40561 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40562 conftest
$ac_exeext conftest.
$ac_ext
40565 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40566 { echo "$as_me:$LINENO: result: $ac_res" >&5
40567 echo "${ECHO_T}$ac_res" >&6; }
40569 if eval test \
$wx_cv_func_$wx_func = yes
40571 cat >>confdefs.h
<<_ACEOF
40572 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40578 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40579 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40596 for wx_func
in uname
40598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40600 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40601 echo $ECHO_N "(cached) $ECHO_C" >&6
40604 cat >conftest.
$ac_ext <<_ACEOF
40608 cat confdefs.h
>>conftest.
$ac_ext
40609 cat >>conftest.
$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40612 #include <sys/utsname.h>
40613 $ac_includes_default
40629 rm -f conftest.
$ac_objext conftest
$ac_exeext
40630 if { (ac_try
="$ac_link"
40631 case "(($ac_try" in
40632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40633 *) ac_try_echo=$ac_try;;
40635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40636 (eval "$ac_link") 2>conftest.er1
40638 grep -v '^ *+' conftest.er1 >conftest.err
40640 cat conftest.err >&5
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); } && {
40643 test -z "$ac_c_werror_flag" ||
40644 test ! -s conftest.err
40645 } && test -s conftest$ac_exeext &&
40646 $as_test_x conftest$ac_exeext; then
40647 eval wx_cv_func_$wx_func=yes
40649 echo "$as_me: failed program was:" >&5
40650 sed 's/^/| /' conftest.$ac_ext >&5
40652 eval wx_cv_func_$wx_func=no
40655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40656 conftest$ac_exeext conftest.$ac_ext
40659 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40660 { echo "$as_me:$LINENO: result: $ac_res" >&5
40661 echo "${ECHO_T}$ac_res" >&6; }
40663 if eval test \$wx_cv_func_$wx_func = yes
40665 cat >>confdefs.h <<_ACEOF
40666 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40676 if test "$wx_cv_func_uname" != yes; then
40678 for wx_func in gethostname
40680 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40682 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40683 echo $ECHO_N "(cached) $ECHO_C" >&6
40686 cat >conftest.$ac_ext <<_ACEOF
40690 cat confdefs.h >>conftest.$ac_ext
40691 cat >>conftest.$ac_ext <<_ACEOF
40692 /* end confdefs.h. */
40695 $ac_includes_default
40711 rm -f conftest.$ac_objext conftest$ac_exeext
40712 if { (ac_try="$ac_link"
40713 case "(($ac_try" in
40714 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40715 *) ac_try_echo
=$ac_try;;
40717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40718 (eval "$ac_link") 2>conftest.er1
40720 grep -v '^ *+' conftest.er1
>conftest.err
40722 cat conftest.err
>&5
40723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40724 (exit $ac_status); } && {
40725 test -z "$ac_c_werror_flag" ||
40726 test ! -s conftest.err
40727 } && test -s conftest
$ac_exeext &&
40728 $as_test_x conftest
$ac_exeext; then
40729 eval wx_cv_func_
$wx_func=yes
40731 echo "$as_me: failed program was:" >&5
40732 sed 's/^/| /' conftest.
$ac_ext >&5
40734 eval wx_cv_func_
$wx_func=no
40737 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40738 conftest
$ac_exeext conftest.
$ac_ext
40741 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40742 { echo "$as_me:$LINENO: result: $ac_res" >&5
40743 echo "${ECHO_T}$ac_res" >&6; }
40745 if eval test \
$wx_cv_func_$wx_func = yes
40747 cat >>confdefs.h
<<_ACEOF
40748 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40761 for wx_func
in strtok_r
40763 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40764 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40765 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40766 echo $ECHO_N "(cached) $ECHO_C" >&6
40769 cat >conftest.
$ac_ext <<_ACEOF
40773 cat confdefs.h
>>conftest.
$ac_ext
40774 cat >>conftest.
$ac_ext <<_ACEOF
40775 /* end confdefs.h. */
40778 $ac_includes_default
40794 rm -f conftest.
$ac_objext conftest
$ac_exeext
40795 if { (ac_try
="$ac_link"
40796 case "(($ac_try" in
40797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40798 *) ac_try_echo=$ac_try;;
40800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40801 (eval "$ac_link") 2>conftest.er1
40803 grep -v '^ *+' conftest.er1 >conftest.err
40805 cat conftest.err >&5
40806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40807 (exit $ac_status); } && {
40808 test -z "$ac_c_werror_flag" ||
40809 test ! -s conftest.err
40810 } && test -s conftest$ac_exeext &&
40811 $as_test_x conftest$ac_exeext; then
40812 eval wx_cv_func_$wx_func=yes
40814 echo "$as_me: failed program was:" >&5
40815 sed 's/^/| /' conftest.$ac_ext >&5
40817 eval wx_cv_func_$wx_func=no
40820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40821 conftest$ac_exeext conftest.$ac_ext
40824 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40825 { echo "$as_me:$LINENO: result: $ac_res" >&5
40826 echo "${ECHO_T}$ac_res" >&6; }
40828 if eval test \$wx_cv_func_$wx_func = yes
40830 cat >>confdefs.h <<_ACEOF
40831 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40844 for ac_func in inet_addr
40846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40849 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40850 echo $ECHO_N "(cached) $ECHO_C" >&6
40852 cat >conftest.$ac_ext <<_ACEOF
40855 cat confdefs.h >>conftest.$ac_ext
40856 cat >>conftest.$ac_ext <<_ACEOF
40857 /* end confdefs.h. */
40858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40860 #define $ac_func innocuous_$ac_func
40862 /* System header to define __stub macros and hopefully few prototypes,
40863 which can conflict with char $ac_func (); below.
40864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40865 <limits.h> exists even on freestanding compilers. */
40868 # include <limits.h>
40870 # include <assert.h>
40875 /* Override any GCC internal prototype to avoid an error.
40876 Use char because int might match the return type of a GCC
40877 builtin and then its argument prototype would still apply. */
40882 /* The GNU C library defines this for functions which it implements
40883 to always fail with ENOSYS. Some functions are actually named
40884 something starting with __ and the normal name is an alias. */
40885 #if defined __stub_$ac_func || defined __stub___$ac_func
40892 return $ac_func ();
40897 rm -f conftest.$ac_objext conftest$ac_exeext
40898 if { (ac_try="$ac_link"
40899 case "(($ac_try" in
40900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40901 *) ac_try_echo
=$ac_try;;
40903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40904 (eval "$ac_link") 2>conftest.er1
40906 grep -v '^ *+' conftest.er1
>conftest.err
40908 cat conftest.err
>&5
40909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40910 (exit $ac_status); } && {
40911 test -z "$ac_c_werror_flag" ||
40912 test ! -s conftest.err
40913 } && test -s conftest
$ac_exeext &&
40914 $as_test_x conftest
$ac_exeext; then
40915 eval "$as_ac_var=yes"
40917 echo "$as_me: failed program was:" >&5
40918 sed 's/^/| /' conftest.
$ac_ext >&5
40920 eval "$as_ac_var=no"
40923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40924 conftest
$ac_exeext conftest.
$ac_ext
40926 ac_res
=`eval echo '${'$as_ac_var'}'`
40927 { echo "$as_me:$LINENO: result: $ac_res" >&5
40928 echo "${ECHO_T}$ac_res" >&6; }
40929 if test `eval echo '${'$as_ac_var'}'` = yes; then
40930 cat >>confdefs.h
<<_ACEOF
40931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40933 cat >>confdefs.h
<<\_ACEOF
40934 #define HAVE_INET_ADDR 1
40939 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40940 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40941 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40942 echo $ECHO_N "(cached) $ECHO_C" >&6
40944 ac_check_lib_save_LIBS
=$LIBS
40946 cat >conftest.
$ac_ext <<_ACEOF
40949 cat confdefs.h
>>conftest.
$ac_ext
40950 cat >>conftest.
$ac_ext <<_ACEOF
40951 /* end confdefs.h. */
40953 /* Override any GCC internal prototype to avoid an error.
40954 Use char because int might match the return type of a GCC
40955 builtin and then its argument prototype would still apply. */
40963 return inet_addr ();
40968 rm -f conftest.
$ac_objext conftest
$ac_exeext
40969 if { (ac_try
="$ac_link"
40970 case "(($ac_try" in
40971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40972 *) ac_try_echo=$ac_try;;
40974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40975 (eval "$ac_link") 2>conftest.er1
40977 grep -v '^ *+' conftest.er1 >conftest.err
40979 cat conftest.err >&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); } && {
40982 test -z "$ac_c_werror_flag" ||
40983 test ! -s conftest.err
40984 } && test -s conftest$ac_exeext &&
40985 $as_test_x conftest$ac_exeext; then
40986 ac_cv_lib_nsl_inet_addr=yes
40988 echo "$as_me: failed program was:" >&5
40989 sed 's/^/| /' conftest.$ac_ext >&5
40991 ac_cv_lib_nsl_inet_addr=no
40994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40995 conftest$ac_exeext conftest.$ac_ext
40996 LIBS=$ac_check_lib_save_LIBS
40998 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40999 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41000 if test $ac_cv_lib_nsl_inet_addr = yes; then
41004 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41005 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41006 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41007 echo $ECHO_N "(cached) $ECHO_C" >&6
41009 ac_check_lib_save_LIBS=$LIBS
41010 LIBS="-lresolv $LIBS"
41011 cat >conftest.$ac_ext <<_ACEOF
41014 cat confdefs.h >>conftest.$ac_ext
41015 cat >>conftest.$ac_ext <<_ACEOF
41016 /* end confdefs.h. */
41018 /* Override any GCC internal prototype to avoid an error.
41019 Use char because int might match the return type of a GCC
41020 builtin and then its argument prototype would still apply. */
41028 return inet_addr ();
41033 rm -f conftest.$ac_objext conftest$ac_exeext
41034 if { (ac_try="$ac_link"
41035 case "(($ac_try" in
41036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41037 *) ac_try_echo
=$ac_try;;
41039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41040 (eval "$ac_link") 2>conftest.er1
41042 grep -v '^ *+' conftest.er1
>conftest.err
41044 cat conftest.err
>&5
41045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046 (exit $ac_status); } && {
41047 test -z "$ac_c_werror_flag" ||
41048 test ! -s conftest.err
41049 } && test -s conftest
$ac_exeext &&
41050 $as_test_x conftest
$ac_exeext; then
41051 ac_cv_lib_resolv_inet_addr
=yes
41053 echo "$as_me: failed program was:" >&5
41054 sed 's/^/| /' conftest.
$ac_ext >&5
41056 ac_cv_lib_resolv_inet_addr
=no
41059 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41060 conftest
$ac_exeext conftest.
$ac_ext
41061 LIBS
=$ac_check_lib_save_LIBS
41063 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41064 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41065 if test $ac_cv_lib_resolv_inet_addr = yes; then
41069 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41070 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41071 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41072 echo $ECHO_N "(cached) $ECHO_C" >&6
41074 ac_check_lib_save_LIBS
=$LIBS
41075 LIBS
="-lsocket $LIBS"
41076 cat >conftest.
$ac_ext <<_ACEOF
41079 cat confdefs.h
>>conftest.
$ac_ext
41080 cat >>conftest.
$ac_ext <<_ACEOF
41081 /* end confdefs.h. */
41083 /* Override any GCC internal prototype to avoid an error.
41084 Use char because int might match the return type of a GCC
41085 builtin and then its argument prototype would still apply. */
41093 return inet_addr ();
41098 rm -f conftest.
$ac_objext conftest
$ac_exeext
41099 if { (ac_try
="$ac_link"
41100 case "(($ac_try" in
41101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41102 *) ac_try_echo=$ac_try;;
41104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41105 (eval "$ac_link") 2>conftest.er1
41107 grep -v '^ *+' conftest.er1 >conftest.err
41109 cat conftest.err >&5
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); } && {
41112 test -z "$ac_c_werror_flag" ||
41113 test ! -s conftest.err
41114 } && test -s conftest$ac_exeext &&
41115 $as_test_x conftest$ac_exeext; then
41116 ac_cv_lib_socket_inet_addr=yes
41118 echo "$as_me: failed program was:" >&5
41119 sed 's/^/| /' conftest.$ac_ext >&5
41121 ac_cv_lib_socket_inet_addr=no
41124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41125 conftest$ac_exeext conftest.$ac_ext
41126 LIBS=$ac_check_lib_save_LIBS
41128 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41129 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41130 if test $ac_cv_lib_socket_inet_addr = yes; then
41150 for ac_func in inet_aton
41152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41156 echo $ECHO_N "(cached) $ECHO_C" >&6
41158 cat >conftest.$ac_ext <<_ACEOF
41161 cat confdefs.h >>conftest.$ac_ext
41162 cat >>conftest.$ac_ext <<_ACEOF
41163 /* end confdefs.h. */
41164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41166 #define $ac_func innocuous_$ac_func
41168 /* System header to define __stub macros and hopefully few prototypes,
41169 which can conflict with char $ac_func (); below.
41170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41171 <limits.h> exists even on freestanding compilers. */
41174 # include <limits.h>
41176 # include <assert.h>
41181 /* Override any GCC internal prototype to avoid an error.
41182 Use char because int might match the return type of a GCC
41183 builtin and then its argument prototype would still apply. */
41188 /* The GNU C library defines this for functions which it implements
41189 to always fail with ENOSYS. Some functions are actually named
41190 something starting with __ and the normal name is an alias. */
41191 #if defined __stub_$ac_func || defined __stub___$ac_func
41198 return $ac_func ();
41203 rm -f conftest.$ac_objext conftest$ac_exeext
41204 if { (ac_try="$ac_link"
41205 case "(($ac_try" in
41206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41207 *) ac_try_echo
=$ac_try;;
41209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41210 (eval "$ac_link") 2>conftest.er1
41212 grep -v '^ *+' conftest.er1
>conftest.err
41214 cat conftest.err
>&5
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); } && {
41217 test -z "$ac_c_werror_flag" ||
41218 test ! -s conftest.err
41219 } && test -s conftest
$ac_exeext &&
41220 $as_test_x conftest
$ac_exeext; then
41221 eval "$as_ac_var=yes"
41223 echo "$as_me: failed program was:" >&5
41224 sed 's/^/| /' conftest.
$ac_ext >&5
41226 eval "$as_ac_var=no"
41229 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41230 conftest
$ac_exeext conftest.
$ac_ext
41232 ac_res
=`eval echo '${'$as_ac_var'}'`
41233 { echo "$as_me:$LINENO: result: $ac_res" >&5
41234 echo "${ECHO_T}$ac_res" >&6; }
41235 if test `eval echo '${'$as_ac_var'}'` = yes; then
41236 cat >>confdefs.h
<<_ACEOF
41237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41239 cat >>confdefs.h
<<\_ACEOF
41240 #define HAVE_INET_ATON 1
41245 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41246 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41247 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41248 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41249 echo $ECHO_N "(cached) $ECHO_C" >&6
41251 ac_check_lib_save_LIBS
=$LIBS
41252 LIBS
="-l$INET_LINK $LIBS"
41253 cat >conftest.
$ac_ext <<_ACEOF
41256 cat confdefs.h
>>conftest.
$ac_ext
41257 cat >>conftest.
$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41260 /* Override any GCC internal prototype to avoid an error.
41261 Use char because int might match the return type of a GCC
41262 builtin and then its argument prototype would still apply. */
41270 return inet_aton ();
41275 rm -f conftest.
$ac_objext conftest
$ac_exeext
41276 if { (ac_try
="$ac_link"
41277 case "(($ac_try" in
41278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41279 *) ac_try_echo=$ac_try;;
41281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41282 (eval "$ac_link") 2>conftest.er1
41284 grep -v '^ *+' conftest.er1 >conftest.err
41286 cat conftest.err >&5
41287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288 (exit $ac_status); } && {
41289 test -z "$ac_c_werror_flag" ||
41290 test ! -s conftest.err
41291 } && test -s conftest$ac_exeext &&
41292 $as_test_x conftest$ac_exeext; then
41293 eval "$as_ac_Lib=yes"
41295 echo "$as_me: failed program was:" >&5
41296 sed 's/^/| /' conftest.$ac_ext >&5
41298 eval "$as_ac_Lib=no"
41301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41302 conftest$ac_exeext conftest.$ac_ext
41303 LIBS=$ac_check_lib_save_LIBS
41305 ac_res=`eval echo '${'$as_ac_Lib'}'`
41306 { echo "$as_me:$LINENO: result: $ac_res" >&5
41307 echo "${ECHO_T}$ac_res" >&6; }
41308 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41309 cat >>confdefs.h <<\_ACEOF
41310 #define HAVE_INET_ATON 1
41320 if test "x$INET_LINK" != "x"; then
41321 cat >>confdefs.h <<\_ACEOF
41322 #define HAVE_INET_ADDR 1
41325 INET_LINK=" -l$INET_LINK"
41329 for wx_func in fdopen
41331 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41332 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41333 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41334 echo $ECHO_N "(cached) $ECHO_C" >&6
41337 cat >conftest.$ac_ext <<_ACEOF
41341 cat confdefs.h >>conftest.$ac_ext
41342 cat >>conftest.$ac_ext <<_ACEOF
41343 /* end confdefs.h. */
41346 $ac_includes_default
41362 rm -f conftest.$ac_objext conftest$ac_exeext
41363 if { (ac_try="$ac_link"
41364 case "(($ac_try" in
41365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41366 *) ac_try_echo
=$ac_try;;
41368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41369 (eval "$ac_link") 2>conftest.er1
41371 grep -v '^ *+' conftest.er1
>conftest.err
41373 cat conftest.err
>&5
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); } && {
41376 test -z "$ac_c_werror_flag" ||
41377 test ! -s conftest.err
41378 } && test -s conftest
$ac_exeext &&
41379 $as_test_x conftest
$ac_exeext; then
41380 eval wx_cv_func_
$wx_func=yes
41382 echo "$as_me: failed program was:" >&5
41383 sed 's/^/| /' conftest.
$ac_ext >&5
41385 eval wx_cv_func_
$wx_func=no
41388 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41389 conftest
$ac_exeext conftest.
$ac_ext
41392 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41393 { echo "$as_me:$LINENO: result: $ac_res" >&5
41394 echo "${ECHO_T}$ac_res" >&6; }
41396 if eval test \
$wx_cv_func_$wx_func = yes
41398 cat >>confdefs.h
<<_ACEOF
41399 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41414 cat >confcache
<<\_ACEOF
41415 # This file is a shell script that caches the results of configure
41416 # tests run on this system so they can be shared between configure
41417 # scripts and configure runs, see configure's option --config-cache.
41418 # It is not useful on other systems. If it contains results you don't
41419 # want to keep, you may remove or edit it.
41421 # config.status only pays attention to the cache file if you give it
41422 # the --recheck option to rerun configure.
41424 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41425 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41426 # following values.
41430 # The following way of writing the cache mishandles newlines in values,
41431 # but we know of no workaround that is simple, portable, and efficient.
41432 # So, we kill variables containing newlines.
41433 # Ultrix sh set writes to stderr and can't be redirected directly,
41434 # and sets the high bit in the cache file unless we assign to the vars.
41436 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41437 eval ac_val
=\$
$ac_var
41441 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41442 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41445 _
| IFS
| as_nl
) ;; #(
41446 *) $as_unset $ac_var ;;
41452 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41453 *${as_nl}ac_space
=\
*)
41454 # `set' does not quote correctly, so add quotes (double-quote
41455 # substitution turns \\\\ into \\, and sed turns \\ into \).
41458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41461 # `set' quotes correctly as required by POSIX, so do not add quotes.
41462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41471 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41473 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41475 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41476 if test -w "$cache_file"; then
41477 test "x$cache_file" != "x/dev/null" &&
41478 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41479 echo "$as_me: updating cache $cache_file" >&6;}
41480 cat confcache
>$cache_file
41482 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41483 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41489 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41495 if test "$wxUSE_THREADS" = "yes" ; then
41496 if test "$USE_BEOS" = 1; then
41497 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41498 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41503 if test "$wxUSE_THREADS" = "yes" ; then
41506 THREAD_OPTS
="-pthread"
41507 if test "x$SUNCXX" = xyes
; then
41508 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41512 *-*-solaris2* | *-*-sunos4* )
41513 if test "x$GCC" = "xyes"; then
41514 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41518 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41520 *-*-darwin* | *-*-cygwin* )
41524 THREAD_OPTS
="pthreads"
41527 if test "x$GCC" = "xyes"; then
41528 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41536 if test "x$GCC" = "xyes"; then
41542 if test "x$GCC" != "xyes"; then
41543 THREAD_OPTS
="-Ethread"
41548 THREAD_OPTS
="$THREAD_OPTS pthread none"
41551 for flag
in $THREAD_OPTS; do
41554 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41555 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41559 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41560 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41561 THREADS_CFLAGS
="$flag"
41565 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41566 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41567 THREADS_LINK
="-l$flag"
41572 save_CFLAGS
="$CFLAGS"
41573 LIBS
="$THREADS_LINK $LIBS"
41574 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41576 cat >conftest.
$ac_ext <<_ACEOF
41579 cat confdefs.h
>>conftest.
$ac_ext
41580 cat >>conftest.
$ac_ext <<_ACEOF
41581 /* end confdefs.h. */
41582 #include <pthread.h>
41586 pthread_create(0,0,0,0);
41591 rm -f conftest.
$ac_objext conftest
$ac_exeext
41592 if { (ac_try
="$ac_link"
41593 case "(($ac_try" in
41594 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41595 *) ac_try_echo=$ac_try;;
41597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41598 (eval "$ac_link") 2>conftest.er1
41600 grep -v '^ *+' conftest.er1 >conftest.err
41602 cat conftest.err >&5
41603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41604 (exit $ac_status); } && {
41605 test -z "$ac_c_werror_flag" ||
41606 test ! -s conftest.err
41607 } && test -s conftest$ac_exeext &&
41608 $as_test_x conftest$ac_exeext; then
41611 echo "$as_me: failed program was:" >&5
41612 sed 's/^/| /' conftest.$ac_ext >&5
41617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41618 conftest$ac_exeext conftest.$ac_ext
41621 CFLAGS="$save_CFLAGS"
41623 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41624 echo "${ECHO_T}$THREADS_OK" >&6; }
41625 if test "x$THREADS_OK" = "xyes"; then
41633 if test "x$THREADS_OK" != "xyes"; then
41635 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41636 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41638 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41639 LIBS="$THREADS_LINK $LIBS"
41641 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41642 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41646 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41647 flag="-D_THREAD_SAFE"
41650 flag="-D_THREAD_SAFE"
41653 flag="-D_REENTRANT"
41654 if test "x$GCC" != "xyes"; then
41655 flag="$flag -D_RWSTD_MULTI_THREAD"
41658 *solaris* | alpha*-osf*)
41659 flag="-D_REENTRANT"
41662 { echo "$as_me:$LINENO: result: ${flag}" >&5
41663 echo "${ECHO_T}${flag}" >&6; }
41664 if test "x$flag" != xno; then
41665 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41668 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41672 if test "$wxUSE_THREADS" = "yes" ; then
41674 for ac_func in thr_setconcurrency
41676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41680 echo $ECHO_N "(cached) $ECHO_C" >&6
41682 cat >conftest.$ac_ext <<_ACEOF
41685 cat confdefs.h >>conftest.$ac_ext
41686 cat >>conftest.$ac_ext <<_ACEOF
41687 /* end confdefs.h. */
41688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41690 #define $ac_func innocuous_$ac_func
41692 /* System header to define __stub macros and hopefully few prototypes,
41693 which can conflict with char $ac_func (); below.
41694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41695 <limits.h> exists even on freestanding compilers. */
41698 # include <limits.h>
41700 # include <assert.h>
41705 /* Override any GCC internal prototype to avoid an error.
41706 Use char because int might match the return type of a GCC
41707 builtin and then its argument prototype would still apply. */
41712 /* The GNU C library defines this for functions which it implements
41713 to always fail with ENOSYS. Some functions are actually named
41714 something starting with __ and the normal name is an alias. */
41715 #if defined __stub_$ac_func || defined __stub___$ac_func
41722 return $ac_func ();
41727 rm -f conftest.$ac_objext conftest$ac_exeext
41728 if { (ac_try="$ac_link"
41729 case "(($ac_try" in
41730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41731 *) ac_try_echo
=$ac_try;;
41733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41734 (eval "$ac_link") 2>conftest.er1
41736 grep -v '^ *+' conftest.er1
>conftest.err
41738 cat conftest.err
>&5
41739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41740 (exit $ac_status); } && {
41741 test -z "$ac_c_werror_flag" ||
41742 test ! -s conftest.err
41743 } && test -s conftest
$ac_exeext &&
41744 $as_test_x conftest
$ac_exeext; then
41745 eval "$as_ac_var=yes"
41747 echo "$as_me: failed program was:" >&5
41748 sed 's/^/| /' conftest.
$ac_ext >&5
41750 eval "$as_ac_var=no"
41753 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41754 conftest
$ac_exeext conftest.
$ac_ext
41756 ac_res
=`eval echo '${'$as_ac_var'}'`
41757 { echo "$as_me:$LINENO: result: $ac_res" >&5
41758 echo "${ECHO_T}$ac_res" >&6; }
41759 if test `eval echo '${'$as_ac_var'}'` = yes; then
41760 cat >>confdefs.h
<<_ACEOF
41761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41768 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41769 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41770 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41771 echo $ECHO_N "(cached) $ECHO_C" >&6
41775 ac_cpp
='$CXXCPP $CPPFLAGS'
41776 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41777 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41778 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41780 cat >conftest.
$ac_ext <<_ACEOF
41783 cat confdefs.h
>>conftest.
$ac_ext
41784 cat >>conftest.
$ac_ext <<_ACEOF
41785 /* end confdefs.h. */
41786 #include <pthread.h>
41787 void ThreadCleanupFunc(void *p);
41794 pthread_cleanup_push(ThreadCleanupFunc, p);
41795 pthread_cleanup_pop(0);
41801 rm -f conftest.
$ac_objext
41802 if { (ac_try
="$ac_compile"
41803 case "(($ac_try" in
41804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41805 *) ac_try_echo=$ac_try;;
41807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41808 (eval "$ac_compile") 2>conftest.er1
41810 grep -v '^ *+' conftest.er1 >conftest.err
41812 cat conftest.err >&5
41813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41814 (exit $ac_status); } && {
41815 test -z "$ac_cxx_werror_flag" ||
41816 test ! -s conftest.err
41817 } && test -s conftest.$ac_objext; then
41819 wx_cv_func_pthread_cleanup=yes
41822 echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.$ac_ext >&5
41826 wx_cv_func_pthread_cleanup=no
41831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41833 ac_cpp='$CPP $CPPFLAGS'
41834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41840 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41841 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41842 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41843 cat >>confdefs.h <<\_ACEOF
41844 #define wxHAVE_PTHREAD_CLEANUP 1
41850 for ac_header in sched.h
41852 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41853 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41855 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41856 echo $ECHO_N "(cached) $ECHO_C" >&6
41858 cat >conftest.$ac_ext <<_ACEOF
41861 cat confdefs.h >>conftest.$ac_ext
41862 cat >>conftest.$ac_ext <<_ACEOF
41863 /* end confdefs.h. */
41864 $ac_includes_default
41866 #include <$ac_header>
41868 rm -f conftest.$ac_objext
41869 if { (ac_try="$ac_compile"
41870 case "(($ac_try" in
41871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41872 *) ac_try_echo
=$ac_try;;
41874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41875 (eval "$ac_compile") 2>conftest.er1
41877 grep -v '^ *+' conftest.er1
>conftest.err
41879 cat conftest.err
>&5
41880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41881 (exit $ac_status); } && {
41882 test -z "$ac_c_werror_flag" ||
41883 test ! -s conftest.err
41884 } && test -s conftest.
$ac_objext; then
41885 eval "$as_ac_Header=yes"
41887 echo "$as_me: failed program was:" >&5
41888 sed 's/^/| /' conftest.
$ac_ext >&5
41890 eval "$as_ac_Header=no"
41893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41895 ac_res
=`eval echo '${'$as_ac_Header'}'`
41896 { echo "$as_me:$LINENO: result: $ac_res" >&5
41897 echo "${ECHO_T}$ac_res" >&6; }
41898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41899 cat >>confdefs.h
<<_ACEOF
41900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41907 if test "$ac_cv_header_sched_h" = "yes"; then
41908 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41909 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41910 if test "${ac_cv_func_sched_yield+set}" = set; then
41911 echo $ECHO_N "(cached) $ECHO_C" >&6
41913 cat >conftest.
$ac_ext <<_ACEOF
41916 cat confdefs.h
>>conftest.
$ac_ext
41917 cat >>conftest.
$ac_ext <<_ACEOF
41918 /* end confdefs.h. */
41919 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41921 #define sched_yield innocuous_sched_yield
41923 /* System header to define __stub macros and hopefully few prototypes,
41924 which can conflict with char sched_yield (); below.
41925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41926 <limits.h> exists even on freestanding compilers. */
41929 # include <limits.h>
41931 # include <assert.h>
41936 /* Override any GCC internal prototype to avoid an error.
41937 Use char because int might match the return type of a GCC
41938 builtin and then its argument prototype would still apply. */
41942 char sched_yield ();
41943 /* The GNU C library defines this for functions which it implements
41944 to always fail with ENOSYS. Some functions are actually named
41945 something starting with __ and the normal name is an alias. */
41946 #if defined __stub_sched_yield || defined __stub___sched_yield
41953 return sched_yield ();
41958 rm -f conftest.
$ac_objext conftest
$ac_exeext
41959 if { (ac_try
="$ac_link"
41960 case "(($ac_try" in
41961 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41962 *) ac_try_echo=$ac_try;;
41964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41965 (eval "$ac_link") 2>conftest.er1
41967 grep -v '^ *+' conftest.er1 >conftest.err
41969 cat conftest.err >&5
41970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41971 (exit $ac_status); } && {
41972 test -z "$ac_c_werror_flag" ||
41973 test ! -s conftest.err
41974 } && test -s conftest$ac_exeext &&
41975 $as_test_x conftest$ac_exeext; then
41976 ac_cv_func_sched_yield=yes
41978 echo "$as_me: failed program was:" >&5
41979 sed 's/^/| /' conftest.$ac_ext >&5
41981 ac_cv_func_sched_yield=no
41984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41985 conftest$ac_exeext conftest.$ac_ext
41987 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41988 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41989 if test $ac_cv_func_sched_yield = yes; then
41990 cat >>confdefs.h <<\_ACEOF
41991 #define HAVE_SCHED_YIELD 1
41996 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41997 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41998 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41999 echo $ECHO_N "(cached) $ECHO_C" >&6
42001 ac_check_lib_save_LIBS=$LIBS
42002 LIBS="-lposix4 $LIBS"
42003 cat >conftest.$ac_ext <<_ACEOF
42006 cat confdefs.h >>conftest.$ac_ext
42007 cat >>conftest.$ac_ext <<_ACEOF
42008 /* end confdefs.h. */
42010 /* Override any GCC internal prototype to avoid an error.
42011 Use char because int might match the return type of a GCC
42012 builtin and then its argument prototype would still apply. */
42016 char sched_yield ();
42020 return sched_yield ();
42025 rm -f conftest.$ac_objext conftest$ac_exeext
42026 if { (ac_try="$ac_link"
42027 case "(($ac_try" in
42028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42029 *) ac_try_echo
=$ac_try;;
42031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42032 (eval "$ac_link") 2>conftest.er1
42034 grep -v '^ *+' conftest.er1
>conftest.err
42036 cat conftest.err
>&5
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); } && {
42039 test -z "$ac_c_werror_flag" ||
42040 test ! -s conftest.err
42041 } && test -s conftest
$ac_exeext &&
42042 $as_test_x conftest
$ac_exeext; then
42043 ac_cv_lib_posix4_sched_yield
=yes
42045 echo "$as_me: failed program was:" >&5
42046 sed 's/^/| /' conftest.
$ac_ext >&5
42048 ac_cv_lib_posix4_sched_yield
=no
42051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42052 conftest
$ac_exeext conftest.
$ac_ext
42053 LIBS
=$ac_check_lib_save_LIBS
42055 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42056 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42057 if test $ac_cv_lib_posix4_sched_yield = yes; then
42058 cat >>confdefs.h
<<\_ACEOF
42059 #define HAVE_SCHED_YIELD 1
42061 POSIX4_LINK
=" -lposix4"
42063 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42064 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42075 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42076 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42077 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42078 echo $ECHO_N "(cached) $ECHO_C" >&6
42080 cat >conftest.
$ac_ext <<_ACEOF
42083 cat confdefs.h
>>conftest.
$ac_ext
42084 cat >>conftest.
$ac_ext <<_ACEOF
42085 /* end confdefs.h. */
42086 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42088 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42090 /* System header to define __stub macros and hopefully few prototypes,
42091 which can conflict with char pthread_attr_getschedpolicy (); below.
42092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42093 <limits.h> exists even on freestanding compilers. */
42096 # include <limits.h>
42098 # include <assert.h>
42101 #undef pthread_attr_getschedpolicy
42103 /* Override any GCC internal prototype to avoid an error.
42104 Use char because int might match the return type of a GCC
42105 builtin and then its argument prototype would still apply. */
42109 char pthread_attr_getschedpolicy ();
42110 /* The GNU C library defines this for functions which it implements
42111 to always fail with ENOSYS. Some functions are actually named
42112 something starting with __ and the normal name is an alias. */
42113 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42120 return pthread_attr_getschedpolicy ();
42125 rm -f conftest.
$ac_objext conftest
$ac_exeext
42126 if { (ac_try
="$ac_link"
42127 case "(($ac_try" in
42128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42129 *) ac_try_echo=$ac_try;;
42131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42132 (eval "$ac_link") 2>conftest.er1
42134 grep -v '^ *+' conftest.er1 >conftest.err
42136 cat conftest.err >&5
42137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42138 (exit $ac_status); } && {
42139 test -z "$ac_c_werror_flag" ||
42140 test ! -s conftest.err
42141 } && test -s conftest$ac_exeext &&
42142 $as_test_x conftest$ac_exeext; then
42143 ac_cv_func_pthread_attr_getschedpolicy=yes
42145 echo "$as_me: failed program was:" >&5
42146 sed 's/^/| /' conftest.$ac_ext >&5
42148 ac_cv_func_pthread_attr_getschedpolicy=no
42151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42152 conftest$ac_exeext conftest.$ac_ext
42154 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42155 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42156 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42157 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42158 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42159 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42160 echo $ECHO_N "(cached) $ECHO_C" >&6
42162 cat >conftest.$ac_ext <<_ACEOF
42165 cat confdefs.h >>conftest.$ac_ext
42166 cat >>conftest.$ac_ext <<_ACEOF
42167 /* end confdefs.h. */
42168 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42170 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42172 /* System header to define __stub macros and hopefully few prototypes,
42173 which can conflict with char pthread_attr_setschedparam (); below.
42174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42175 <limits.h> exists even on freestanding compilers. */
42178 # include <limits.h>
42180 # include <assert.h>
42183 #undef pthread_attr_setschedparam
42185 /* Override any GCC internal prototype to avoid an error.
42186 Use char because int might match the return type of a GCC
42187 builtin and then its argument prototype would still apply. */
42191 char pthread_attr_setschedparam ();
42192 /* The GNU C library defines this for functions which it implements
42193 to always fail with ENOSYS. Some functions are actually named
42194 something starting with __ and the normal name is an alias. */
42195 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42202 return pthread_attr_setschedparam ();
42207 rm -f conftest.$ac_objext conftest$ac_exeext
42208 if { (ac_try="$ac_link"
42209 case "(($ac_try" in
42210 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42211 *) ac_try_echo
=$ac_try;;
42213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42214 (eval "$ac_link") 2>conftest.er1
42216 grep -v '^ *+' conftest.er1
>conftest.err
42218 cat conftest.err
>&5
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); } && {
42221 test -z "$ac_c_werror_flag" ||
42222 test ! -s conftest.err
42223 } && test -s conftest
$ac_exeext &&
42224 $as_test_x conftest
$ac_exeext; then
42225 ac_cv_func_pthread_attr_setschedparam
=yes
42227 echo "$as_me: failed program was:" >&5
42228 sed 's/^/| /' conftest.
$ac_ext >&5
42230 ac_cv_func_pthread_attr_setschedparam
=no
42233 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42234 conftest
$ac_exeext conftest.
$ac_ext
42236 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42237 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42238 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42239 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42240 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42241 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42242 echo $ECHO_N "(cached) $ECHO_C" >&6
42244 cat >conftest.
$ac_ext <<_ACEOF
42247 cat confdefs.h
>>conftest.
$ac_ext
42248 cat >>conftest.
$ac_ext <<_ACEOF
42249 /* end confdefs.h. */
42250 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42252 #define sched_get_priority_max innocuous_sched_get_priority_max
42254 /* System header to define __stub macros and hopefully few prototypes,
42255 which can conflict with char sched_get_priority_max (); below.
42256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42257 <limits.h> exists even on freestanding compilers. */
42260 # include <limits.h>
42262 # include <assert.h>
42265 #undef sched_get_priority_max
42267 /* Override any GCC internal prototype to avoid an error.
42268 Use char because int might match the return type of a GCC
42269 builtin and then its argument prototype would still apply. */
42273 char sched_get_priority_max ();
42274 /* The GNU C library defines this for functions which it implements
42275 to always fail with ENOSYS. Some functions are actually named
42276 something starting with __ and the normal name is an alias. */
42277 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42284 return sched_get_priority_max ();
42289 rm -f conftest.
$ac_objext conftest
$ac_exeext
42290 if { (ac_try
="$ac_link"
42291 case "(($ac_try" in
42292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42293 *) ac_try_echo=$ac_try;;
42295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42296 (eval "$ac_link") 2>conftest.er1
42298 grep -v '^ *+' conftest.er1 >conftest.err
42300 cat conftest.err >&5
42301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42302 (exit $ac_status); } && {
42303 test -z "$ac_c_werror_flag" ||
42304 test ! -s conftest.err
42305 } && test -s conftest$ac_exeext &&
42306 $as_test_x conftest$ac_exeext; then
42307 ac_cv_func_sched_get_priority_max=yes
42309 echo "$as_me: failed program was:" >&5
42310 sed 's/^/| /' conftest.$ac_ext >&5
42312 ac_cv_func_sched_get_priority_max=no
42315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42316 conftest$ac_exeext conftest.$ac_ext
42318 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42319 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42320 if test $ac_cv_func_sched_get_priority_max = yes; then
42323 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42324 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42325 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42326 echo $ECHO_N "(cached) $ECHO_C" >&6
42328 ac_check_lib_save_LIBS=$LIBS
42329 LIBS="-lposix4 $LIBS"
42330 cat >conftest.$ac_ext <<_ACEOF
42333 cat confdefs.h >>conftest.$ac_ext
42334 cat >>conftest.$ac_ext <<_ACEOF
42335 /* end confdefs.h. */
42337 /* Override any GCC internal prototype to avoid an error.
42338 Use char because int might match the return type of a GCC
42339 builtin and then its argument prototype would still apply. */
42343 char sched_get_priority_max ();
42347 return sched_get_priority_max ();
42352 rm -f conftest.$ac_objext conftest$ac_exeext
42353 if { (ac_try="$ac_link"
42354 case "(($ac_try" in
42355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42356 *) ac_try_echo
=$ac_try;;
42358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42359 (eval "$ac_link") 2>conftest.er1
42361 grep -v '^ *+' conftest.er1
>conftest.err
42363 cat conftest.err
>&5
42364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365 (exit $ac_status); } && {
42366 test -z "$ac_c_werror_flag" ||
42367 test ! -s conftest.err
42368 } && test -s conftest
$ac_exeext &&
42369 $as_test_x conftest
$ac_exeext; then
42370 ac_cv_lib_posix4_sched_get_priority_max
=yes
42372 echo "$as_me: failed program was:" >&5
42373 sed 's/^/| /' conftest.
$ac_ext >&5
42375 ac_cv_lib_posix4_sched_get_priority_max
=no
42378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42379 conftest
$ac_exeext conftest.
$ac_ext
42380 LIBS
=$ac_check_lib_save_LIBS
42382 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42383 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42384 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42387 POSIX4_LINK
=" -lposix4"
42401 if test "$HAVE_PRIOR_FUNCS" = 1; then
42402 cat >>confdefs.h
<<\_ACEOF
42403 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42407 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42408 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42411 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42412 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42413 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42414 echo $ECHO_N "(cached) $ECHO_C" >&6
42416 cat >conftest.
$ac_ext <<_ACEOF
42419 cat confdefs.h
>>conftest.
$ac_ext
42420 cat >>conftest.
$ac_ext <<_ACEOF
42421 /* end confdefs.h. */
42422 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42424 #define pthread_cancel innocuous_pthread_cancel
42426 /* System header to define __stub macros and hopefully few prototypes,
42427 which can conflict with char pthread_cancel (); below.
42428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42429 <limits.h> exists even on freestanding compilers. */
42432 # include <limits.h>
42434 # include <assert.h>
42437 #undef pthread_cancel
42439 /* Override any GCC internal prototype to avoid an error.
42440 Use char because int might match the return type of a GCC
42441 builtin and then its argument prototype would still apply. */
42445 char pthread_cancel ();
42446 /* The GNU C library defines this for functions which it implements
42447 to always fail with ENOSYS. Some functions are actually named
42448 something starting with __ and the normal name is an alias. */
42449 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42456 return pthread_cancel ();
42461 rm -f conftest.
$ac_objext conftest
$ac_exeext
42462 if { (ac_try
="$ac_link"
42463 case "(($ac_try" in
42464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42465 *) ac_try_echo=$ac_try;;
42467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42468 (eval "$ac_link") 2>conftest.er1
42470 grep -v '^ *+' conftest.er1 >conftest.err
42472 cat conftest.err >&5
42473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42474 (exit $ac_status); } && {
42475 test -z "$ac_c_werror_flag" ||
42476 test ! -s conftest.err
42477 } && test -s conftest$ac_exeext &&
42478 $as_test_x conftest$ac_exeext; then
42479 ac_cv_func_pthread_cancel=yes
42481 echo "$as_me: failed program was:" >&5
42482 sed 's/^/| /' conftest.$ac_ext >&5
42484 ac_cv_func_pthread_cancel=no
42487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42488 conftest$ac_exeext conftest.$ac_ext
42490 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42491 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42492 if test $ac_cv_func_pthread_cancel = yes; then
42493 cat >>confdefs.h <<\_ACEOF
42494 #define HAVE_PTHREAD_CANCEL 1
42498 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42499 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42503 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42504 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42505 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42506 echo $ECHO_N "(cached) $ECHO_C" >&6
42508 cat >conftest.$ac_ext <<_ACEOF
42511 cat confdefs.h >>conftest.$ac_ext
42512 cat >>conftest.$ac_ext <<_ACEOF
42513 /* end confdefs.h. */
42514 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42516 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42518 /* System header to define __stub macros and hopefully few prototypes,
42519 which can conflict with char pthread_mutex_timedlock (); below.
42520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42521 <limits.h> exists even on freestanding compilers. */
42524 # include <limits.h>
42526 # include <assert.h>
42529 #undef pthread_mutex_timedlock
42531 /* Override any GCC internal prototype to avoid an error.
42532 Use char because int might match the return type of a GCC
42533 builtin and then its argument prototype would still apply. */
42537 char pthread_mutex_timedlock ();
42538 /* The GNU C library defines this for functions which it implements
42539 to always fail with ENOSYS. Some functions are actually named
42540 something starting with __ and the normal name is an alias. */
42541 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42548 return pthread_mutex_timedlock ();
42553 rm -f conftest.$ac_objext conftest$ac_exeext
42554 if { (ac_try="$ac_link"
42555 case "(($ac_try" in
42556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42557 *) ac_try_echo
=$ac_try;;
42559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42560 (eval "$ac_link") 2>conftest.er1
42562 grep -v '^ *+' conftest.er1
>conftest.err
42564 cat conftest.err
>&5
42565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42566 (exit $ac_status); } && {
42567 test -z "$ac_c_werror_flag" ||
42568 test ! -s conftest.err
42569 } && test -s conftest
$ac_exeext &&
42570 $as_test_x conftest
$ac_exeext; then
42571 ac_cv_func_pthread_mutex_timedlock
=yes
42573 echo "$as_me: failed program was:" >&5
42574 sed 's/^/| /' conftest.
$ac_ext >&5
42576 ac_cv_func_pthread_mutex_timedlock
=no
42579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42580 conftest
$ac_exeext conftest.
$ac_ext
42582 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42583 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42584 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42585 cat >>confdefs.h
<<\_ACEOF
42586 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42590 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42591 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42595 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42596 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42597 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42598 echo $ECHO_N "(cached) $ECHO_C" >&6
42600 cat >conftest.
$ac_ext <<_ACEOF
42603 cat confdefs.h
>>conftest.
$ac_ext
42604 cat >>conftest.
$ac_ext <<_ACEOF
42605 /* end confdefs.h. */
42606 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42608 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42610 /* System header to define __stub macros and hopefully few prototypes,
42611 which can conflict with char pthread_attr_setstacksize (); below.
42612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42613 <limits.h> exists even on freestanding compilers. */
42616 # include <limits.h>
42618 # include <assert.h>
42621 #undef pthread_attr_setstacksize
42623 /* Override any GCC internal prototype to avoid an error.
42624 Use char because int might match the return type of a GCC
42625 builtin and then its argument prototype would still apply. */
42629 char pthread_attr_setstacksize ();
42630 /* The GNU C library defines this for functions which it implements
42631 to always fail with ENOSYS. Some functions are actually named
42632 something starting with __ and the normal name is an alias. */
42633 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42640 return pthread_attr_setstacksize ();
42645 rm -f conftest.
$ac_objext conftest
$ac_exeext
42646 if { (ac_try
="$ac_link"
42647 case "(($ac_try" in
42648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42649 *) ac_try_echo=$ac_try;;
42651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42652 (eval "$ac_link") 2>conftest.er1
42654 grep -v '^ *+' conftest.er1 >conftest.err
42656 cat conftest.err >&5
42657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42658 (exit $ac_status); } && {
42659 test -z "$ac_c_werror_flag" ||
42660 test ! -s conftest.err
42661 } && test -s conftest$ac_exeext &&
42662 $as_test_x conftest$ac_exeext; then
42663 ac_cv_func_pthread_attr_setstacksize=yes
42665 echo "$as_me: failed program was:" >&5
42666 sed 's/^/| /' conftest.$ac_ext >&5
42668 ac_cv_func_pthread_attr_setstacksize=no
42671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42672 conftest$ac_exeext conftest.$ac_ext
42674 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42675 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42676 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42677 cat >>confdefs.h <<\_ACEOF
42678 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42685 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42686 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42687 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42688 echo $ECHO_N "(cached) $ECHO_C" >&6
42691 cat >conftest.$ac_ext <<_ACEOF
42694 cat confdefs.h >>conftest.$ac_ext
42695 cat >>conftest.$ac_ext <<_ACEOF
42696 /* end confdefs.h. */
42697 #include <pthread.h>
42702 pthread_mutexattr_t attr;
42703 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42709 rm -f conftest.$ac_objext
42710 if { (ac_try="$ac_compile"
42711 case "(($ac_try" in
42712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42713 *) ac_try_echo
=$ac_try;;
42715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42716 (eval "$ac_compile") 2>conftest.er1
42718 grep -v '^ *+' conftest.er1
>conftest.err
42720 cat conftest.err
>&5
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); } && {
42723 test -z "$ac_c_werror_flag" ||
42724 test ! -s conftest.err
42725 } && test -s conftest.
$ac_objext; then
42726 wx_cv_type_pthread_mutexattr_t
=yes
42728 echo "$as_me: failed program was:" >&5
42729 sed 's/^/| /' conftest.
$ac_ext >&5
42731 wx_cv_type_pthread_mutexattr_t
=no
42735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42738 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42739 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42741 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42742 cat >>confdefs.h
<<\_ACEOF
42743 #define HAVE_PTHREAD_MUTEXATTR_T 1
42747 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42748 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42749 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42750 echo $ECHO_N "(cached) $ECHO_C" >&6
42753 cat >conftest.
$ac_ext <<_ACEOF
42756 cat confdefs.h
>>conftest.
$ac_ext
42757 cat >>conftest.
$ac_ext <<_ACEOF
42758 /* end confdefs.h. */
42759 #include <pthread.h>
42764 pthread_mutexattr_t attr;
42765 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42771 rm -f conftest.
$ac_objext
42772 if { (ac_try
="$ac_compile"
42773 case "(($ac_try" in
42774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42775 *) ac_try_echo=$ac_try;;
42777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42778 (eval "$ac_compile") 2>conftest.er1
42780 grep -v '^ *+' conftest.er1 >conftest.err
42782 cat conftest.err >&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } && {
42785 test -z "$ac_c_werror_flag" ||
42786 test ! -s conftest.err
42787 } && test -s conftest.$ac_objext; then
42788 wx_cv_func_pthread_mutexattr_settype_decl=yes
42790 echo "$as_me: failed program was:" >&5
42791 sed 's/^/| /' conftest.$ac_ext >&5
42793 wx_cv_func_pthread_mutexattr_settype_decl=no
42797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42800 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42801 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42802 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42803 cat >>confdefs.h <<\_ACEOF
42804 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42809 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42810 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42811 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42812 echo $ECHO_N "(cached) $ECHO_C" >&6
42815 cat >conftest.$ac_ext <<_ACEOF
42818 cat confdefs.h >>conftest.$ac_ext
42819 cat >>conftest.$ac_ext <<_ACEOF
42820 /* end confdefs.h. */
42821 #include <pthread.h>
42826 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42832 rm -f conftest.$ac_objext
42833 if { (ac_try="$ac_compile"
42834 case "(($ac_try" in
42835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42836 *) ac_try_echo
=$ac_try;;
42838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42839 (eval "$ac_compile") 2>conftest.er1
42841 grep -v '^ *+' conftest.er1
>conftest.err
42843 cat conftest.err
>&5
42844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42845 (exit $ac_status); } && {
42846 test -z "$ac_c_werror_flag" ||
42847 test ! -s conftest.err
42848 } && test -s conftest.
$ac_objext; then
42850 wx_cv_type_pthread_rec_mutex_init
=yes
42853 echo "$as_me: failed program was:" >&5
42854 sed 's/^/| /' conftest.
$ac_ext >&5
42857 wx_cv_type_pthread_rec_mutex_init
=no
42862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42865 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42866 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42867 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42868 cat >>confdefs.h
<<\_ACEOF
42869 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42873 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42874 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42880 if test "$wxUSE_THREADS" = "yes" ; then
42883 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42884 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42885 if test "${wx_cv_cflags_mthread+set}" = set; then
42886 echo $ECHO_N "(cached) $ECHO_C" >&6
42889 CFLAGS_OLD
="$CFLAGS"
42890 CFLAGS
="-mthreads $CFLAGS"
42891 cat >conftest.
$ac_ext <<_ACEOF
42894 cat confdefs.h
>>conftest.
$ac_ext
42895 cat >>conftest.
$ac_ext <<_ACEOF
42896 /* end confdefs.h. */
42906 rm -f conftest.
$ac_objext
42907 if { (ac_try
="$ac_compile"
42908 case "(($ac_try" in
42909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42910 *) ac_try_echo=$ac_try;;
42912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42913 (eval "$ac_compile") 2>conftest.er1
42915 grep -v '^ *+' conftest.er1 >conftest.err
42917 cat conftest.err >&5
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); } && {
42920 test -z "$ac_c_werror_flag" ||
42921 test ! -s conftest.err
42922 } && test -s conftest.$ac_objext; then
42923 wx_cv_cflags_mthread=yes
42925 echo "$as_me: failed program was:" >&5
42926 sed 's/^/| /' conftest.$ac_ext >&5
42928 wx_cv_cflags_mthread=no
42932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42936 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42937 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42939 if test "$wx_cv_cflags_mthread" = "yes"; then
42940 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42941 LDFLAGS="$LDFLAGS -mthreads"
42943 CFLAGS="$CFLAGS_OLD"
42947 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42948 LDFLAGS="$LDFLAGS -Zmt"
42954 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42955 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42956 if test "${ac_cv_func_localtime_r+set}" = set; then
42957 echo $ECHO_N "(cached) $ECHO_C" >&6
42959 cat >conftest.$ac_ext <<_ACEOF
42962 cat confdefs.h >>conftest.$ac_ext
42963 cat >>conftest.$ac_ext <<_ACEOF
42964 /* end confdefs.h. */
42965 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42967 #define localtime_r innocuous_localtime_r
42969 /* System header to define __stub macros and hopefully few prototypes,
42970 which can conflict with char localtime_r (); below.
42971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42972 <limits.h> exists even on freestanding compilers. */
42975 # include <limits.h>
42977 # include <assert.h>
42982 /* Override any GCC internal prototype to avoid an error.
42983 Use char because int might match the return type of a GCC
42984 builtin and then its argument prototype would still apply. */
42988 char localtime_r ();
42989 /* The GNU C library defines this for functions which it implements
42990 to always fail with ENOSYS. Some functions are actually named
42991 something starting with __ and the normal name is an alias. */
42992 #if defined __stub_localtime_r || defined __stub___localtime_r
42999 return localtime_r ();
43004 rm -f conftest.$ac_objext conftest$ac_exeext
43005 if { (ac_try="$ac_link"
43006 case "(($ac_try" in
43007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43008 *) ac_try_echo
=$ac_try;;
43010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43011 (eval "$ac_link") 2>conftest.er1
43013 grep -v '^ *+' conftest.er1
>conftest.err
43015 cat conftest.err
>&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); } && {
43018 test -z "$ac_c_werror_flag" ||
43019 test ! -s conftest.err
43020 } && test -s conftest
$ac_exeext &&
43021 $as_test_x conftest
$ac_exeext; then
43022 ac_cv_func_localtime_r
=yes
43024 echo "$as_me: failed program was:" >&5
43025 sed 's/^/| /' conftest.
$ac_ext >&5
43027 ac_cv_func_localtime_r
=no
43030 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43031 conftest
$ac_exeext conftest.
$ac_ext
43033 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43034 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43035 if test $ac_cv_func_localtime_r = yes; then
43036 cat >>confdefs.h
<<\_ACEOF
43037 #define HAVE_LOCALTIME_R 1
43042 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43043 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43044 if test "${ac_cv_func_gmtime_r+set}" = set; then
43045 echo $ECHO_N "(cached) $ECHO_C" >&6
43047 cat >conftest.
$ac_ext <<_ACEOF
43050 cat confdefs.h
>>conftest.
$ac_ext
43051 cat >>conftest.
$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43053 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43055 #define gmtime_r innocuous_gmtime_r
43057 /* System header to define __stub macros and hopefully few prototypes,
43058 which can conflict with char gmtime_r (); below.
43059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43060 <limits.h> exists even on freestanding compilers. */
43063 # include <limits.h>
43065 # include <assert.h>
43070 /* Override any GCC internal prototype to avoid an error.
43071 Use char because int might match the return type of a GCC
43072 builtin and then its argument prototype would still apply. */
43077 /* The GNU C library defines this for functions which it implements
43078 to always fail with ENOSYS. Some functions are actually named
43079 something starting with __ and the normal name is an alias. */
43080 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43087 return gmtime_r ();
43092 rm -f conftest.
$ac_objext conftest
$ac_exeext
43093 if { (ac_try
="$ac_link"
43094 case "(($ac_try" in
43095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43096 *) ac_try_echo=$ac_try;;
43098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43099 (eval "$ac_link") 2>conftest.er1
43101 grep -v '^ *+' conftest.er1 >conftest.err
43103 cat conftest.err >&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } && {
43106 test -z "$ac_c_werror_flag" ||
43107 test ! -s conftest.err
43108 } && test -s conftest$ac_exeext &&
43109 $as_test_x conftest$ac_exeext; then
43110 ac_cv_func_gmtime_r=yes
43112 echo "$as_me: failed program was:" >&5
43113 sed 's/^/| /' conftest.$ac_ext >&5
43115 ac_cv_func_gmtime_r=no
43118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43119 conftest$ac_exeext conftest.$ac_ext
43121 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43122 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43123 if test $ac_cv_func_gmtime_r = yes; then
43124 cat >>confdefs.h <<\_ACEOF
43125 #define HAVE_GMTIME_R 1
43130 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43131 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43132 if test "${ac_cv_func_readdir_r+set}" = set; then
43133 echo $ECHO_N "(cached) $ECHO_C" >&6
43135 cat >conftest.$ac_ext <<_ACEOF
43138 cat confdefs.h >>conftest.$ac_ext
43139 cat >>conftest.$ac_ext <<_ACEOF
43140 /* end confdefs.h. */
43141 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43143 #define readdir_r innocuous_readdir_r
43145 /* System header to define __stub macros and hopefully few prototypes,
43146 which can conflict with char readdir_r (); below.
43147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43148 <limits.h> exists even on freestanding compilers. */
43151 # include <limits.h>
43153 # include <assert.h>
43158 /* Override any GCC internal prototype to avoid an error.
43159 Use char because int might match the return type of a GCC
43160 builtin and then its argument prototype would still apply. */
43165 /* The GNU C library defines this for functions which it implements
43166 to always fail with ENOSYS. Some functions are actually named
43167 something starting with __ and the normal name is an alias. */
43168 #if defined __stub_readdir_r || defined __stub___readdir_r
43175 return readdir_r ();
43180 rm -f conftest.$ac_objext conftest$ac_exeext
43181 if { (ac_try="$ac_link"
43182 case "(($ac_try" in
43183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43184 *) ac_try_echo
=$ac_try;;
43186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43187 (eval "$ac_link") 2>conftest.er1
43189 grep -v '^ *+' conftest.er1
>conftest.err
43191 cat conftest.err
>&5
43192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43193 (exit $ac_status); } && {
43194 test -z "$ac_c_werror_flag" ||
43195 test ! -s conftest.err
43196 } && test -s conftest
$ac_exeext &&
43197 $as_test_x conftest
$ac_exeext; then
43198 ac_cv_func_readdir_r
=yes
43200 echo "$as_me: failed program was:" >&5
43201 sed 's/^/| /' conftest.
$ac_ext >&5
43203 ac_cv_func_readdir_r
=no
43206 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43207 conftest
$ac_exeext conftest.
$ac_ext
43209 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43210 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43211 if test $ac_cv_func_readdir_r = yes; then
43212 cat >>confdefs.h
<<\_ACEOF
43213 #define HAVE_READDIR_R 1
43222 ac_cpp
='$CPP $CPPFLAGS'
43223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43227 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43228 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43230 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43231 echo $ECHO_N "(cached) $ECHO_C" >&6
43235 ################################################################
43237 ac_cv_func_which_gethostbyname_r
=unknown
43240 # ONE ARGUMENT (sanity check)
43243 # This should fail, as there is no variant of gethostbyname_r() that takes
43244 # a single argument. If it actually compiles, then we can assume that
43245 # netdb.h is not declaring the function, and the compiler is thereby
43246 # assuming an implicit prototype. In which case, we're out of luck.
43248 cat >conftest.
$ac_ext <<_ACEOF
43251 cat confdefs.h
>>conftest.
$ac_ext
43252 cat >>conftest.
$ac_ext <<_ACEOF
43253 /* end confdefs.h. */
43259 char *name = "www.gnu.org";
43260 (void)gethostbyname_r(name) /* ; */
43266 rm -f conftest.
$ac_objext
43267 if { (ac_try
="$ac_compile"
43268 case "(($ac_try" in
43269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43270 *) ac_try_echo=$ac_try;;
43272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43273 (eval "$ac_compile") 2>conftest.er1
43275 grep -v '^ *+' conftest.er1 >conftest.err
43277 cat conftest.err >&5
43278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43279 (exit $ac_status); } && {
43280 test -z "$ac_c_werror_flag" ||
43281 test ! -s conftest.err
43282 } && test -s conftest.$ac_objext; then
43283 ac_cv_func_which_gethostbyname_r=no
43285 echo "$as_me: failed program was:" >&5
43286 sed 's/^/| /' conftest.$ac_ext >&5
43291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43298 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43300 cat >conftest.$ac_ext <<_ACEOF
43303 cat confdefs.h >>conftest.$ac_ext
43304 cat >>conftest.$ac_ext <<_ACEOF
43305 /* end confdefs.h. */
43311 char *name = "www.gnu.org";
43312 struct hostent ret, *retp;
43316 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43322 rm -f conftest.$ac_objext
43323 if { (ac_try="$ac_compile"
43324 case "(($ac_try" in
43325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43326 *) ac_try_echo
=$ac_try;;
43328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43329 (eval "$ac_compile") 2>conftest.er1
43331 grep -v '^ *+' conftest.er1
>conftest.err
43333 cat conftest.err
>&5
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); } && {
43336 test -z "$ac_c_werror_flag" ||
43337 test ! -s conftest.err
43338 } && test -s conftest.
$ac_objext; then
43339 ac_cv_func_which_gethostbyname_r
=six
43341 echo "$as_me: failed program was:" >&5
43342 sed 's/^/| /' conftest.
$ac_ext >&5
43347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43356 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43358 cat >conftest.
$ac_ext <<_ACEOF
43361 cat confdefs.h
>>conftest.
$ac_ext
43362 cat >>conftest.
$ac_ext <<_ACEOF
43363 /* end confdefs.h. */
43369 char *name = "www.gnu.org";
43370 struct hostent ret;
43374 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43380 rm -f conftest.
$ac_objext
43381 if { (ac_try
="$ac_compile"
43382 case "(($ac_try" in
43383 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43384 *) ac_try_echo=$ac_try;;
43386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43387 (eval "$ac_compile") 2>conftest.er1
43389 grep -v '^ *+' conftest.er1 >conftest.err
43391 cat conftest.err >&5
43392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43393 (exit $ac_status); } && {
43394 test -z "$ac_c_werror_flag" ||
43395 test ! -s conftest.err
43396 } && test -s conftest.$ac_objext; then
43397 ac_cv_func_which_gethostbyname_r=five
43399 echo "$as_me: failed program was:" >&5
43400 sed 's/^/| /' conftest.$ac_ext >&5
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43411 # (e.g. AIX, HP-UX, Tru64)
43414 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43416 cat >conftest.$ac_ext <<_ACEOF
43419 cat confdefs.h >>conftest.$ac_ext
43420 cat >>conftest.$ac_ext <<_ACEOF
43421 /* end confdefs.h. */
43427 char *name = "www.gnu.org";
43428 struct hostent ret;
43429 struct hostent_data data;
43430 (void)gethostbyname_r(name, &ret, &data) /* ; */
43436 rm -f conftest.$ac_objext
43437 if { (ac_try="$ac_compile"
43438 case "(($ac_try" in
43439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43440 *) ac_try_echo
=$ac_try;;
43442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43443 (eval "$ac_compile") 2>conftest.er1
43445 grep -v '^ *+' conftest.er1
>conftest.err
43447 cat conftest.err
>&5
43448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43449 (exit $ac_status); } && {
43450 test -z "$ac_c_werror_flag" ||
43451 test ! -s conftest.err
43452 } && test -s conftest.
$ac_objext; then
43453 ac_cv_func_which_gethostbyname_r
=three
43455 echo "$as_me: failed program was:" >&5
43456 sed 's/^/| /' conftest.
$ac_ext >&5
43461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43465 ################################################################
43470 case "$ac_cv_func_which_gethostbyname_r" in
43472 { echo "$as_me:$LINENO: result: three" >&5
43473 echo "${ECHO_T}three" >&6; }
43474 cat >>confdefs.h
<<\_ACEOF
43475 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43481 { echo "$as_me:$LINENO: result: five" >&5
43482 echo "${ECHO_T}five" >&6; }
43483 cat >>confdefs.h
<<\_ACEOF
43484 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43490 { echo "$as_me:$LINENO: result: six" >&5
43491 echo "${ECHO_T}six" >&6; }
43492 cat >>confdefs.h
<<\_ACEOF
43493 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43499 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43500 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43504 { echo "$as_me:$LINENO: result: can't tell" >&5
43505 echo "${ECHO_T}can't tell" >&6; }
43509 { { echo "$as_me:$LINENO: error: internal error" >&5
43510 echo "$as_me: error: internal error" >&2;}
43511 { (exit 1); exit 1; }; }
43516 ac_cpp
='$CPP $CPPFLAGS'
43517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43523 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43524 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43525 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43526 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43527 if test "${ac_cv_func_gethostbyname+set}" = set; then
43528 echo $ECHO_N "(cached) $ECHO_C" >&6
43530 cat >conftest.
$ac_ext <<_ACEOF
43533 cat confdefs.h
>>conftest.
$ac_ext
43534 cat >>conftest.
$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43536 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43538 #define gethostbyname innocuous_gethostbyname
43540 /* System header to define __stub macros and hopefully few prototypes,
43541 which can conflict with char gethostbyname (); below.
43542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43543 <limits.h> exists even on freestanding compilers. */
43546 # include <limits.h>
43548 # include <assert.h>
43551 #undef gethostbyname
43553 /* Override any GCC internal prototype to avoid an error.
43554 Use char because int might match the return type of a GCC
43555 builtin and then its argument prototype would still apply. */
43559 char gethostbyname ();
43560 /* The GNU C library defines this for functions which it implements
43561 to always fail with ENOSYS. Some functions are actually named
43562 something starting with __ and the normal name is an alias. */
43563 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43570 return gethostbyname ();
43575 rm -f conftest.
$ac_objext conftest
$ac_exeext
43576 if { (ac_try
="$ac_link"
43577 case "(($ac_try" in
43578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43579 *) ac_try_echo=$ac_try;;
43581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43582 (eval "$ac_link") 2>conftest.er1
43584 grep -v '^ *+' conftest.er1 >conftest.err
43586 cat conftest.err >&5
43587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43588 (exit $ac_status); } && {
43589 test -z "$ac_c_werror_flag" ||
43590 test ! -s conftest.err
43591 } && test -s conftest$ac_exeext &&
43592 $as_test_x conftest$ac_exeext; then
43593 ac_cv_func_gethostbyname=yes
43595 echo "$as_me: failed program was:" >&5
43596 sed 's/^/| /' conftest.$ac_ext >&5
43598 ac_cv_func_gethostbyname=no
43601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43602 conftest$ac_exeext conftest.$ac_ext
43604 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43605 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43606 if test $ac_cv_func_gethostbyname = yes; then
43607 cat >>confdefs.h <<\_ACEOF
43608 #define HAVE_GETHOSTBYNAME 1
43615 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43616 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43617 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43618 echo $ECHO_N "(cached) $ECHO_C" >&6
43622 ac_cpp='$CXXCPP $CPPFLAGS'
43623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43628 cat >conftest.$ac_ext <<_ACEOF
43631 cat confdefs.h >>conftest.$ac_ext
43632 cat >>conftest.$ac_ext <<_ACEOF
43633 /* end confdefs.h. */
43641 struct servent *se, *res;
43644 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43650 rm -f conftest.$ac_objext
43651 if { (ac_try="$ac_compile"
43652 case "(($ac_try" in
43653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43654 *) ac_try_echo
=$ac_try;;
43656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43657 (eval "$ac_compile") 2>conftest.er1
43659 grep -v '^ *+' conftest.er1
>conftest.err
43661 cat conftest.err
>&5
43662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43663 (exit $ac_status); } && {
43664 test -z "$ac_cxx_werror_flag" ||
43665 test ! -s conftest.err
43666 } && test -s conftest.
$ac_objext; then
43667 ac_cv_func_which_getservbyname_r
=six
43669 echo "$as_me: failed program was:" >&5
43670 sed 's/^/| /' conftest.
$ac_ext >&5
43673 cat >conftest.
$ac_ext <<_ACEOF
43676 cat confdefs.h
>>conftest.
$ac_ext
43677 cat >>conftest.
$ac_ext <<_ACEOF
43678 /* end confdefs.h. */
43686 struct servent *se;
43689 (void) getservbyname_r(name, proto, se, buffer, buflen)
43695 rm -f conftest.
$ac_objext
43696 if { (ac_try
="$ac_compile"
43697 case "(($ac_try" in
43698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43699 *) ac_try_echo=$ac_try;;
43701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43702 (eval "$ac_compile") 2>conftest.er1
43704 grep -v '^ *+' conftest.er1 >conftest.err
43706 cat conftest.err >&5
43707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43708 (exit $ac_status); } && {
43709 test -z "$ac_cxx_werror_flag" ||
43710 test ! -s conftest.err
43711 } && test -s conftest.$ac_objext; then
43712 ac_cv_func_which_getservbyname_r=five
43714 echo "$as_me: failed program was:" >&5
43715 sed 's/^/| /' conftest.$ac_ext >&5
43718 cat >conftest.$ac_ext <<_ACEOF
43721 cat confdefs.h >>conftest.$ac_ext
43722 cat >>conftest.$ac_ext <<_ACEOF
43723 /* end confdefs.h. */
43731 struct servent *se;
43732 struct servent_data data;
43733 (void) getservbyname_r(name, proto, se, &data);
43739 rm -f conftest.$ac_objext
43740 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
43748 grep -v '^ *+' conftest.er1
>conftest.err
43750 cat conftest.err
>&5
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); } && {
43753 test -z "$ac_cxx_werror_flag" ||
43754 test ! -s conftest.err
43755 } && test -s conftest.
$ac_objext; then
43756 ac_cv_func_which_getservbyname_r
=four
43758 echo "$as_me: failed program was:" >&5
43759 sed 's/^/| /' conftest.
$ac_ext >&5
43761 ac_cv_func_which_getservbyname_r
=no
43765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43777 ac_cpp
='$CPP $CPPFLAGS'
43778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43785 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43786 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43788 if test $ac_cv_func_which_getservbyname_r = six
; then
43789 cat >>confdefs.h
<<\_ACEOF
43790 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43793 elif test $ac_cv_func_which_getservbyname_r = five
; then
43794 cat >>confdefs.h
<<\_ACEOF
43795 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43798 elif test $ac_cv_func_which_getservbyname_r = four
; then
43799 cat >>confdefs.h
<<\_ACEOF
43800 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43806 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43807 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43809 for ac_func
in getservbyname
43811 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43812 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43814 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43815 echo $ECHO_N "(cached) $ECHO_C" >&6
43817 cat >conftest.
$ac_ext <<_ACEOF
43820 cat confdefs.h
>>conftest.
$ac_ext
43821 cat >>conftest.
$ac_ext <<_ACEOF
43822 /* end confdefs.h. */
43823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43825 #define $ac_func innocuous_$ac_func
43827 /* System header to define __stub macros and hopefully few prototypes,
43828 which can conflict with char $ac_func (); below.
43829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43830 <limits.h> exists even on freestanding compilers. */
43833 # include <limits.h>
43835 # include <assert.h>
43840 /* Override any GCC internal prototype to avoid an error.
43841 Use char because int might match the return type of a GCC
43842 builtin and then its argument prototype would still apply. */
43847 /* The GNU C library defines this for functions which it implements
43848 to always fail with ENOSYS. Some functions are actually named
43849 something starting with __ and the normal name is an alias. */
43850 #if defined __stub_$ac_func || defined __stub___$ac_func
43857 return $ac_func ();
43862 rm -f conftest.
$ac_objext conftest
$ac_exeext
43863 if { (ac_try
="$ac_link"
43864 case "(($ac_try" in
43865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43866 *) ac_try_echo=$ac_try;;
43868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43869 (eval "$ac_link") 2>conftest.er1
43871 grep -v '^ *+' conftest.er1 >conftest.err
43873 cat conftest.err >&5
43874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43875 (exit $ac_status); } && {
43876 test -z "$ac_c_werror_flag" ||
43877 test ! -s conftest.err
43878 } && test -s conftest$ac_exeext &&
43879 $as_test_x conftest$ac_exeext; then
43880 eval "$as_ac_var=yes"
43882 echo "$as_me: failed program was:" >&5
43883 sed 's/^/| /' conftest.$ac_ext >&5
43885 eval "$as_ac_var=no"
43888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43889 conftest$ac_exeext conftest.$ac_ext
43891 ac_res=`eval echo '${'$as_ac_var'}'`
43892 { echo "$as_me:$LINENO: result: $ac_res" >&5
43893 echo "${ECHO_T}$ac_res" >&6; }
43894 if test `eval echo '${'$as_ac_var'}'` = yes; then
43895 cat >>confdefs.h <<_ACEOF
43896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43898 cat >>confdefs.h <<\_ACEOF
43899 #define HAVE_GETSERVBYNAME 1
43907 if test "$wxUSE_THREADS" = "yes"; then
43908 cat >>confdefs.h <<\_ACEOF
43909 #define wxUSE_THREADS 1
43913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43915 if test "$wx_cv_func_strtok_r" = "yes"; then
43916 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43917 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43918 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43919 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43920 { echo "$as_me:$LINENO: result: yes" >&5
43921 echo "${ECHO_T}yes" >&6; }
43923 { echo "$as_me:$LINENO: result: no" >&5
43924 echo "${ECHO_T}no" >&6; }
43929 if test "$WXGTK20" = 1 ; then
43930 cat >>confdefs.h <<_ACEOF
43931 #define __WXGTK20__ $WXGTK20
43937 if test "$WXGTK12" = 1 ; then
43938 cat >>confdefs.h <<_ACEOF
43939 #define __WXGTK12__ $WXGTK12
43944 if test "$WXGTK127" = 1 ; then
43945 cat >>confdefs.h <<_ACEOF
43946 #define __WXGTK127__ $WXGTK127
43951 if test "$WXGPE" = 1 ; then
43952 cat >>confdefs.h <<_ACEOF
43953 #define __WXGPE__ $WXGPE
43959 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43964 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43965 wxUSE_DEBUG_INFO=yes
43966 if test "$GCC" = yes; then
43967 DEBUG_CFLAGS="-ggdb"
43971 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43972 cat >>confdefs.h <<\_ACEOF
43976 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43978 if test "$wxUSE_GTK" = 1 ; then
43979 if test "x$wxGTK_VERSION" = "x1" ; then
43980 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43985 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43986 cat >>confdefs.h <<\_ACEOF
43987 #define wxUSE_MEMORY_TRACING 1
43990 cat >>confdefs.h <<\_ACEOF
43991 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43994 cat >>confdefs.h <<\_ACEOF
43995 #define wxUSE_DEBUG_NEW_ALWAYS 1
43998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44001 if test "$wxUSE_DMALLOC" = "yes" ; then
44002 DMALLOC_LIBS="-ldmallocthcxx"
44006 if test "$wxUSE_PROFILE" = "yes" ; then
44007 PROFILE_FLAGS=" -pg"
44010 if test "$GCC" = "yes" ; then
44011 if test "$wxUSE_NO_RTTI" = "yes" ; then
44012 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44014 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44015 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44017 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44018 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44023 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44026 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44032 if test "$wxUSE_OPTIMISE" = "no" ; then
44033 if test "$GCC" = yes ; then
44034 OPTIMISE_CFLAGS="-O0"
44037 if test "$GCC" = yes ; then
44039 *-pc-os2_emx | *-pc-os2-emx )
44040 OPTIMISE_CFLAGS="-O2"
44043 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44047 OPTIMISE_CFLAGS="-O"
44052 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44053 cat >>confdefs.h <<\_ACEOF
44054 #define WXWIN_COMPATIBILITY_2_6 1
44058 WXWIN_COMPATIBILITY_2_8="yes"
44061 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44062 cat >>confdefs.h <<\_ACEOF
44063 #define WXWIN_COMPATIBILITY_2_8 1
44069 if test "$wxUSE_GUI" = "yes"; then
44070 cat >>confdefs.h <<\_ACEOF
44071 #define wxUSE_GUI 1
44078 if test "$wxUSE_UNIX" = "yes"; then
44079 cat >>confdefs.h <<\_ACEOF
44080 #define wxUSE_UNIX 1
44086 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44090 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44091 if test "$USE_DARWIN" = 1; then
44093 elif test "$USE_DOS" = 1; then
44097 for ac_func in dlopen
44099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44100 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44102 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44103 echo $ECHO_N "(cached) $ECHO_C" >&6
44105 cat >conftest.$ac_ext <<_ACEOF
44108 cat confdefs.h >>conftest.$ac_ext
44109 cat >>conftest.$ac_ext <<_ACEOF
44110 /* end confdefs.h. */
44111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44113 #define $ac_func innocuous_$ac_func
44115 /* System header to define __stub macros and hopefully few prototypes,
44116 which can conflict with char $ac_func (); below.
44117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44118 <limits.h> exists even on freestanding compilers. */
44121 # include <limits.h>
44123 # include <assert.h>
44128 /* Override any GCC internal prototype to avoid an error.
44129 Use char because int might match the return type of a GCC
44130 builtin and then its argument prototype would still apply. */
44135 /* The GNU C library defines this for functions which it implements
44136 to always fail with ENOSYS. Some functions are actually named
44137 something starting with __ and the normal name is an alias. */
44138 #if defined __stub_$ac_func || defined __stub___$ac_func
44145 return $ac_func ();
44150 rm -f conftest.$ac_objext conftest$ac_exeext
44151 if { (ac_try="$ac_link"
44152 case "(($ac_try" in
44153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44154 *) ac_try_echo
=$ac_try;;
44156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44157 (eval "$ac_link") 2>conftest.er1
44159 grep -v '^ *+' conftest.er1
>conftest.err
44161 cat conftest.err
>&5
44162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44163 (exit $ac_status); } && {
44164 test -z "$ac_c_werror_flag" ||
44165 test ! -s conftest.err
44166 } && test -s conftest
$ac_exeext &&
44167 $as_test_x conftest
$ac_exeext; then
44168 eval "$as_ac_var=yes"
44170 echo "$as_me: failed program was:" >&5
44171 sed 's/^/| /' conftest.
$ac_ext >&5
44173 eval "$as_ac_var=no"
44176 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44177 conftest
$ac_exeext conftest.
$ac_ext
44179 ac_res
=`eval echo '${'$as_ac_var'}'`
44180 { echo "$as_me:$LINENO: result: $ac_res" >&5
44181 echo "${ECHO_T}$ac_res" >&6; }
44182 if test `eval echo '${'$as_ac_var'}'` = yes; then
44183 cat >>confdefs.h
<<_ACEOF
44184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44187 cat >>confdefs.h
<<\_ACEOF
44188 #define HAVE_DLOPEN 1
44195 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44196 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44197 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44198 echo $ECHO_N "(cached) $ECHO_C" >&6
44200 ac_check_lib_save_LIBS
=$LIBS
44202 cat >conftest.
$ac_ext <<_ACEOF
44205 cat confdefs.h
>>conftest.
$ac_ext
44206 cat >>conftest.
$ac_ext <<_ACEOF
44207 /* end confdefs.h. */
44209 /* Override any GCC internal prototype to avoid an error.
44210 Use char because int might match the return type of a GCC
44211 builtin and then its argument prototype would still apply. */
44224 rm -f conftest.
$ac_objext conftest
$ac_exeext
44225 if { (ac_try
="$ac_link"
44226 case "(($ac_try" in
44227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44228 *) ac_try_echo=$ac_try;;
44230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44231 (eval "$ac_link") 2>conftest.er1
44233 grep -v '^ *+' conftest.er1 >conftest.err
44235 cat conftest.err >&5
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); } && {
44238 test -z "$ac_c_werror_flag" ||
44239 test ! -s conftest.err
44240 } && test -s conftest$ac_exeext &&
44241 $as_test_x conftest$ac_exeext; then
44242 ac_cv_lib_dl_dlopen=yes
44244 echo "$as_me: failed program was:" >&5
44245 sed 's/^/| /' conftest.$ac_ext >&5
44247 ac_cv_lib_dl_dlopen=no
44250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44251 conftest$ac_exeext conftest.$ac_ext
44252 LIBS=$ac_check_lib_save_LIBS
44254 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44255 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44256 if test $ac_cv_lib_dl_dlopen = yes; then
44258 cat >>confdefs.h <<\_ACEOF
44259 #define HAVE_DLOPEN 1
44263 DL_LINK=" -ldl$DL_LINK"
44268 for ac_func in shl_load
44270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44273 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44274 echo $ECHO_N "(cached) $ECHO_C" >&6
44276 cat >conftest.$ac_ext <<_ACEOF
44279 cat confdefs.h >>conftest.$ac_ext
44280 cat >>conftest.$ac_ext <<_ACEOF
44281 /* end confdefs.h. */
44282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44284 #define $ac_func innocuous_$ac_func
44286 /* System header to define __stub macros and hopefully few prototypes,
44287 which can conflict with char $ac_func (); below.
44288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44289 <limits.h> exists even on freestanding compilers. */
44292 # include <limits.h>
44294 # include <assert.h>
44299 /* Override any GCC internal prototype to avoid an error.
44300 Use char because int might match the return type of a GCC
44301 builtin and then its argument prototype would still apply. */
44306 /* The GNU C library defines this for functions which it implements
44307 to always fail with ENOSYS. Some functions are actually named
44308 something starting with __ and the normal name is an alias. */
44309 #if defined __stub_$ac_func || defined __stub___$ac_func
44316 return $ac_func ();
44321 rm -f conftest.$ac_objext conftest$ac_exeext
44322 if { (ac_try="$ac_link"
44323 case "(($ac_try" in
44324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44325 *) ac_try_echo
=$ac_try;;
44327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44328 (eval "$ac_link") 2>conftest.er1
44330 grep -v '^ *+' conftest.er1
>conftest.err
44332 cat conftest.err
>&5
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); } && {
44335 test -z "$ac_c_werror_flag" ||
44336 test ! -s conftest.err
44337 } && test -s conftest
$ac_exeext &&
44338 $as_test_x conftest
$ac_exeext; then
44339 eval "$as_ac_var=yes"
44341 echo "$as_me: failed program was:" >&5
44342 sed 's/^/| /' conftest.
$ac_ext >&5
44344 eval "$as_ac_var=no"
44347 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44348 conftest
$ac_exeext conftest.
$ac_ext
44350 ac_res
=`eval echo '${'$as_ac_var'}'`
44351 { echo "$as_me:$LINENO: result: $ac_res" >&5
44352 echo "${ECHO_T}$ac_res" >&6; }
44353 if test `eval echo '${'$as_ac_var'}'` = yes; then
44354 cat >>confdefs.h
<<_ACEOF
44355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44358 cat >>confdefs.h
<<\_ACEOF
44359 #define HAVE_SHL_LOAD 1
44366 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44367 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44368 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44369 echo $ECHO_N "(cached) $ECHO_C" >&6
44371 ac_check_lib_save_LIBS
=$LIBS
44372 LIBS
="-lshl_load $LIBS"
44373 cat >conftest.
$ac_ext <<_ACEOF
44376 cat confdefs.h
>>conftest.
$ac_ext
44377 cat >>conftest.
$ac_ext <<_ACEOF
44378 /* end confdefs.h. */
44380 /* Override any GCC internal prototype to avoid an error.
44381 Use char because int might match the return type of a GCC
44382 builtin and then its argument prototype would still apply. */
44395 rm -f conftest.
$ac_objext conftest
$ac_exeext
44396 if { (ac_try
="$ac_link"
44397 case "(($ac_try" in
44398 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44399 *) ac_try_echo=$ac_try;;
44401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44402 (eval "$ac_link") 2>conftest.er1
44404 grep -v '^ *+' conftest.er1 >conftest.err
44406 cat conftest.err >&5
44407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44408 (exit $ac_status); } && {
44409 test -z "$ac_c_werror_flag" ||
44410 test ! -s conftest.err
44411 } && test -s conftest$ac_exeext &&
44412 $as_test_x conftest$ac_exeext; then
44413 ac_cv_lib_shl_load_dld=yes
44415 echo "$as_me: failed program was:" >&5
44416 sed 's/^/| /' conftest.$ac_ext >&5
44418 ac_cv_lib_shl_load_dld=no
44421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44422 conftest$ac_exeext conftest.$ac_ext
44423 LIBS=$ac_check_lib_save_LIBS
44425 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44426 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44427 if test $ac_cv_lib_shl_load_dld = yes; then
44430 DL_LINK=" -ldld$DL_LINK"
44446 if test "$HAVE_DL_FUNCS" = 1; then
44448 for ac_func in dlerror
44450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44454 echo $ECHO_N "(cached) $ECHO_C" >&6
44456 cat >conftest.$ac_ext <<_ACEOF
44459 cat confdefs.h >>conftest.$ac_ext
44460 cat >>conftest.$ac_ext <<_ACEOF
44461 /* end confdefs.h. */
44462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44464 #define $ac_func innocuous_$ac_func
44466 /* System header to define __stub macros and hopefully few prototypes,
44467 which can conflict with char $ac_func (); below.
44468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44469 <limits.h> exists even on freestanding compilers. */
44472 # include <limits.h>
44474 # include <assert.h>
44479 /* Override any GCC internal prototype to avoid an error.
44480 Use char because int might match the return type of a GCC
44481 builtin and then its argument prototype would still apply. */
44486 /* The GNU C library defines this for functions which it implements
44487 to always fail with ENOSYS. Some functions are actually named
44488 something starting with __ and the normal name is an alias. */
44489 #if defined __stub_$ac_func || defined __stub___$ac_func
44496 return $ac_func ();
44501 rm -f conftest.$ac_objext conftest$ac_exeext
44502 if { (ac_try="$ac_link"
44503 case "(($ac_try" in
44504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44505 *) ac_try_echo
=$ac_try;;
44507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44508 (eval "$ac_link") 2>conftest.er1
44510 grep -v '^ *+' conftest.er1
>conftest.err
44512 cat conftest.err
>&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); } && {
44515 test -z "$ac_c_werror_flag" ||
44516 test ! -s conftest.err
44517 } && test -s conftest
$ac_exeext &&
44518 $as_test_x conftest
$ac_exeext; then
44519 eval "$as_ac_var=yes"
44521 echo "$as_me: failed program was:" >&5
44522 sed 's/^/| /' conftest.
$ac_ext >&5
44524 eval "$as_ac_var=no"
44527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44528 conftest
$ac_exeext conftest.
$ac_ext
44530 ac_res
=`eval echo '${'$as_ac_var'}'`
44531 { echo "$as_me:$LINENO: result: $ac_res" >&5
44532 echo "${ECHO_T}$ac_res" >&6; }
44533 if test `eval echo '${'$as_ac_var'}'` = yes; then
44534 cat >>confdefs.h
<<_ACEOF
44535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44537 cat >>confdefs.h
<<\_ACEOF
44538 #define HAVE_DLERROR 1
44543 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44544 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44545 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44546 echo $ECHO_N "(cached) $ECHO_C" >&6
44548 ac_check_lib_save_LIBS
=$LIBS
44550 cat >conftest.
$ac_ext <<_ACEOF
44553 cat confdefs.h
>>conftest.
$ac_ext
44554 cat >>conftest.
$ac_ext <<_ACEOF
44555 /* end confdefs.h. */
44557 /* Override any GCC internal prototype to avoid an error.
44558 Use char because int might match the return type of a GCC
44559 builtin and then its argument prototype would still apply. */
44572 rm -f conftest.
$ac_objext conftest
$ac_exeext
44573 if { (ac_try
="$ac_link"
44574 case "(($ac_try" in
44575 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44576 *) ac_try_echo=$ac_try;;
44578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44579 (eval "$ac_link") 2>conftest.er1
44581 grep -v '^ *+' conftest.er1 >conftest.err
44583 cat conftest.err >&5
44584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585 (exit $ac_status); } && {
44586 test -z "$ac_c_werror_flag" ||
44587 test ! -s conftest.err
44588 } && test -s conftest$ac_exeext &&
44589 $as_test_x conftest$ac_exeext; then
44590 ac_cv_lib_dl_dlerror=yes
44592 echo "$as_me: failed program was:" >&5
44593 sed 's/^/| /' conftest.$ac_ext >&5
44595 ac_cv_lib_dl_dlerror=no
44598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44599 conftest$ac_exeext conftest.$ac_ext
44600 LIBS=$ac_check_lib_save_LIBS
44602 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44603 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44604 if test $ac_cv_lib_dl_dlerror = yes; then
44605 cat >>confdefs.h <<\_ACEOF
44606 #define HAVE_DLERROR 1
44619 if test "$HAVE_DL_FUNCS" = 0; then
44620 if test "$HAVE_SHL_FUNCS" = 0; then
44621 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44622 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44623 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44624 wxUSE_DYNAMIC_LOADER=no
44625 wxUSE_DYNLIB_CLASS=no
44627 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44628 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44635 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44636 cat >>confdefs.h <<\_ACEOF
44637 #define wxUSE_DYNAMIC_LOADER 1
44641 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44642 cat >>confdefs.h <<\_ACEOF
44643 #define wxUSE_DYNLIB_CLASS 1
44650 if test "$wxUSE_PLUGINS" = "yes" ; then
44651 if test "$wxUSE_SHARED" = "no" ; then
44652 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44653 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44656 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44657 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44658 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44661 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44662 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44663 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44666 if test "$wxUSE_PLUGINS" = "yes" ; then
44667 cat >>confdefs.h <<\_ACEOF
44668 #define wxUSE_PLUGINS 1
44675 if test "$wxUSE_STL" = "yes"; then
44676 cat >>confdefs.h <<\_ACEOF
44677 #define wxUSE_STL 1
44682 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44683 cat >>confdefs.h <<\_ACEOF
44684 #define wxUSE_EXTENDED_RTTI 1
44689 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_APPLE_IEEE 1
44696 if test "$wxUSE_TIMER" = "yes"; then
44697 cat >>confdefs.h <<\_ACEOF
44698 #define wxUSE_TIMER 1
44703 if test "$USE_UNIX" = "1" ; then
44704 if test "$wxUSE_MGL" != 1; then
44705 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44706 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44707 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44708 echo $ECHO_N "(cached) $ECHO_C" >&6
44711 cat >conftest.$ac_ext <<_ACEOF
44714 cat confdefs.h >>conftest.$ac_ext
44715 cat >>conftest.$ac_ext <<_ACEOF
44716 /* end confdefs.h. */
44718 #include <sys/ioctl.h>
44719 #include <sys/soundcard.h>
44725 ioctl(0, SNDCTL_DSP_SPEED, 0);
44731 rm -f conftest.$ac_objext conftest$ac_exeext
44732 if { (ac_try="$ac_link"
44733 case "(($ac_try" in
44734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44735 *) ac_try_echo
=$ac_try;;
44737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44738 (eval "$ac_link") 2>conftest.er1
44740 grep -v '^ *+' conftest.er1
>conftest.err
44742 cat conftest.err
>&5
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); } && {
44745 test -z "$ac_c_werror_flag" ||
44746 test ! -s conftest.err
44747 } && test -s conftest
$ac_exeext &&
44748 $as_test_x conftest
$ac_exeext; then
44749 ac_cv_header_sys_soundcard
=yes
44751 echo "$as_me: failed program was:" >&5
44752 sed 's/^/| /' conftest.
$ac_ext >&5
44756 LIBS
="$saveLibs -lossaudio"
44757 cat >conftest.
$ac_ext <<_ACEOF
44760 cat confdefs.h
>>conftest.
$ac_ext
44761 cat >>conftest.
$ac_ext <<_ACEOF
44762 /* end confdefs.h. */
44764 #include <sys/ioctl.h>
44765 #include <sys/soundcard.h>
44771 ioctl(0, SNDCTL_DSP_SPEED, 0);
44777 rm -f conftest.
$ac_objext conftest
$ac_exeext
44778 if { (ac_try
="$ac_link"
44779 case "(($ac_try" in
44780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44781 *) ac_try_echo=$ac_try;;
44783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44784 (eval "$ac_link") 2>conftest.er1
44786 grep -v '^ *+' conftest.er1 >conftest.err
44788 cat conftest.err >&5
44789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44790 (exit $ac_status); } && {
44791 test -z "$ac_c_werror_flag" ||
44792 test ! -s conftest.err
44793 } && test -s conftest$ac_exeext &&
44794 $as_test_x conftest$ac_exeext; then
44795 ac_cv_header_sys_soundcard=yes
44797 echo "$as_me: failed program was:" >&5
44798 sed 's/^/| /' conftest.$ac_ext >&5
44802 ac_cv_header_sys_soundcard=no
44807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44808 conftest$ac_exeext conftest.$ac_ext
44813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44814 conftest$ac_exeext conftest.$ac_ext
44817 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44818 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44821 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44822 cat >>confdefs.h <<\_ACEOF
44823 #define HAVE_SYS_SOUNDCARD_H 1
44830 if test "$wxUSE_SOUND" = "yes"; then
44831 if test "$USE_UNIX" = "1" ; then
44832 if test "$wxUSE_LIBSDL" != "no"; then
44834 # Check whether --with-sdl-prefix was given.
44835 if test "${with_sdl_prefix+set}" = set; then
44836 withval=$with_sdl_prefix; sdl_prefix="$withval"
44842 # Check whether --with-sdl-exec-prefix was given.
44843 if test "${with_sdl_exec_prefix+set}" = set; then
44844 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44849 # Check whether --enable-sdltest was given.
44850 if test "${enable_sdltest+set}" = set; then
44851 enableval=$enable_sdltest;
44857 if test x$sdl_exec_prefix != x ; then
44858 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44859 if test x${SDL_CONFIG+set} != xset ; then
44860 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44863 if test x$sdl_prefix != x ; then
44864 sdl_args="$sdl_args --prefix=$sdl_prefix"
44865 if test x${SDL_CONFIG+set} != xset ; then
44866 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44870 if test "x$prefix" != xNONE; then
44871 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44873 # Extract the first word of "sdl-config", so it can be a program name with args.
44874 set dummy sdl-config; ac_word=$2
44875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44877 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44878 echo $ECHO_N "(cached) $ECHO_C" >&6
44880 case $SDL_CONFIG in
44882 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44886 for as_dir in $PATH
44889 test -z "$as_dir" && as_dir=.
44890 for ac_exec_ext in '' $ac_executable_extensions; do
44891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44892 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44900 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44904 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44905 if test -n "$SDL_CONFIG"; then
44906 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44907 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44909 { echo "$as_me:$LINENO: result: no" >&5
44910 echo "${ECHO_T}no" >&6; }
44914 min_sdl_version=1.2.0
44915 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44916 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44918 if test "$SDL_CONFIG" = "no" ; then
44921 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44922 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44924 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44926 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44928 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44930 if test "x$enable_sdltest" = "xyes" ; then
44931 ac_save_CFLAGS="$CFLAGS"
44932 ac_save_CXXFLAGS="$CXXFLAGS"
44933 ac_save_LIBS="$LIBS"
44934 CFLAGS="$CFLAGS $SDL_CFLAGS"
44935 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44936 LIBS="$LIBS $SDL_LIBS"
44938 if test "$cross_compiling" = yes; then
44939 echo $ac_n "cross compiling; assumed OK... $ac_c"
44941 cat >conftest.$ac_ext <<_ACEOF
44944 cat confdefs.h >>conftest.$ac_ext
44945 cat >>conftest.$ac_ext <<_ACEOF
44946 /* end confdefs.h. */
44949 #include <stdlib.h>
44950 #include <string.h>
44954 my_strdup (char *str)
44960 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44961 strcpy (new_str, str);
44969 int main (int argc, char *argv[])
44971 int major, minor, micro;
44974 /* This hangs on some systems (?)
44975 system ("touch conf.sdltest");
44977 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44979 /* HP/UX 9 (%@#!) writes to sscanf strings */
44980 tmp_version = my_strdup("$min_sdl_version");
44981 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44982 printf("%s, bad version string\n", "$min_sdl_version");
44986 if (($sdl_major_version > major) ||
44987 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44988 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44994 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44995 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44996 printf("*** best to upgrade to the required version.\n");
44997 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44998 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44999 printf("*** config.cache before re-running configure\n");
45006 rm -f conftest$ac_exeext
45007 if { (ac_try="$ac_link"
45008 case "(($ac_try" in
45009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45010 *) ac_try_echo
=$ac_try;;
45012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45013 (eval "$ac_link") 2>&5
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
45017 { (case "(($ac_try" in
45018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45019 *) ac_try_echo=$ac_try;;
45021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45022 (eval "$ac_try") 2>&5
45024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45025 (exit $ac_status); }; }; then
45028 echo "$as_me: program exited with status $ac_status" >&5
45029 echo "$as_me: failed program was:" >&5
45030 sed 's/^/| /' conftest.$ac_ext >&5
45032 ( exit $ac_status )
45035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45039 CFLAGS="$ac_save_CFLAGS"
45040 CXXFLAGS="$ac_save_CXXFLAGS"
45041 LIBS="$ac_save_LIBS"
45044 if test "x$no_sdl" = x ; then
45045 { echo "$as_me:$LINENO: result: yes" >&5
45046 echo "${ECHO_T}yes" >&6; }
45048 EXTRALIBS_SDL="$SDL_LIBS"
45049 CFLAGS="$SDL_CFLAGS $CFLAGS"
45050 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_LIBSDL 1
45057 { echo "$as_me:$LINENO: result: no" >&5
45058 echo "${ECHO_T}no" >&6; }
45059 if test "$SDL_CONFIG" = "no" ; then
45060 echo "*** The sdl-config script installed by SDL could not be found"
45061 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45062 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45063 echo "*** full path to sdl-config."
45065 if test -f conf.sdltest ; then
45068 echo "*** Could not run SDL test program, checking why..."
45069 CFLAGS="$CFLAGS $SDL_CFLAGS"
45070 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45071 LIBS="$LIBS $SDL_LIBS"
45072 cat >conftest.$ac_ext <<_ACEOF
45075 cat confdefs.h >>conftest.$ac_ext
45076 cat >>conftest.$ac_ext <<_ACEOF
45077 /* end confdefs.h. */
45082 int main(int argc, char *argv[])
45085 #define main K_and_R_C_main
45095 rm -f conftest.$ac_objext conftest$ac_exeext
45096 if { (ac_try="$ac_link"
45097 case "(($ac_try" in
45098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45099 *) ac_try_echo
=$ac_try;;
45101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45102 (eval "$ac_link") 2>conftest.er1
45104 grep -v '^ *+' conftest.er1
>conftest.err
45106 cat conftest.err
>&5
45107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108 (exit $ac_status); } && {
45109 test -z "$ac_c_werror_flag" ||
45110 test ! -s conftest.err
45111 } && test -s conftest
$ac_exeext &&
45112 $as_test_x conftest
$ac_exeext; then
45113 echo "*** The test program compiled, but did not run. This usually means"
45114 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45115 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45116 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45117 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45118 echo "*** is required on your system"
45120 echo "*** If you have an old version installed, it is best to remove it, although"
45121 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45123 echo "$as_me: failed program was:" >&5
45124 sed 's/^/| /' conftest.
$ac_ext >&5
45126 echo "*** The test program failed to compile or link. See the file config.log for the"
45127 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45128 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45129 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45132 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45133 conftest
$ac_exeext conftest.
$ac_ext
45134 CFLAGS
="$ac_save_CFLAGS"
45135 CXXFLAGS
="$ac_save_CXXFLAGS"
45136 LIBS
="$ac_save_LIBS"
45147 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45152 if test "$wxUSE_MGL" = 1; then
45153 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45154 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45160 if test "$wxUSE_SOUND" = "yes"; then
45161 cat >>confdefs.h
<<\_ACEOF
45162 #define wxUSE_SOUND 1
45165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
45168 if test "$WXGTK20" = 1; then
45171 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45172 if test -n "$ac_tool_prefix"; then
45173 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45174 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
45175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45177 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45178 echo $ECHO_N "(cached) $ECHO_C" >&6
45180 case $PKG_CONFIG in
45182 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45186 for as_dir
in $PATH
45189 test -z "$as_dir" && as_dir
=.
45190 for ac_exec_ext
in '' $ac_executable_extensions; do
45191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45192 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45203 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45204 if test -n "$PKG_CONFIG"; then
45205 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45206 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45208 { echo "$as_me:$LINENO: result: no" >&5
45209 echo "${ECHO_T}no" >&6; }
45214 if test -z "$ac_cv_path_PKG_CONFIG"; then
45215 ac_pt_PKG_CONFIG
=$PKG_CONFIG
45216 # Extract the first word of "pkg-config", so it can be a program name with args.
45217 set dummy pkg
-config; ac_word
=$2
45218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45220 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45221 echo $ECHO_N "(cached) $ECHO_C" >&6
45223 case $ac_pt_PKG_CONFIG in
45225 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45229 for as_dir
in $PATH
45232 test -z "$as_dir" && as_dir
=.
45233 for ac_exec_ext
in '' $ac_executable_extensions; do
45234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45235 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45246 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
45247 if test -n "$ac_pt_PKG_CONFIG"; then
45248 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45249 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45251 { echo "$as_me:$LINENO: result: no" >&5
45252 echo "${ECHO_T}no" >&6; }
45255 if test "x$ac_pt_PKG_CONFIG" = x
; then
45258 case $cross_compiling:$ac_tool_warned in
45260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45261 whose name does not start with the host triplet. If you think this
45262 configuration is useful to you, please write to autoconf@gnu.org." >&5
45263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45264 whose name does not start with the host triplet. If you think this
45265 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45266 ac_tool_warned
=yes ;;
45268 PKG_CONFIG
=$ac_pt_PKG_CONFIG
45271 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
45275 if test -n "$PKG_CONFIG"; then
45276 _pkg_min_version
=0.9.0
45277 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45278 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45279 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45280 { echo "$as_me:$LINENO: result: yes" >&5
45281 echo "${ECHO_T}yes" >&6; }
45283 { echo "$as_me:$LINENO: result: no" >&5
45284 echo "${ECHO_T}no" >&6; }
45290 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45291 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45295 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45296 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45298 if test -n "$PKG_CONFIG"; then
45299 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45300 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
45302 if test -n "$PKG_CONFIG" && \
45303 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45304 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45307 (exit $ac_status); }; then
45308 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45316 if test -n "$PKG_CONFIG"; then
45317 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45318 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
45320 if test -n "$PKG_CONFIG" && \
45321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45322 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45325 (exit $ac_status); }; then
45326 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45337 if test $pkg_failed = yes; then
45339 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45340 _pkg_short_errors_supported
=yes
45342 _pkg_short_errors_supported
=no
45344 if test $_pkg_short_errors_supported = yes; then
45345 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45347 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45349 # Put the nasty error message in config.log where it belongs
45350 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45353 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45354 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45355 wxUSE_LIBGNOMEPRINT
="no"
45358 elif test $pkg_failed = untried
; then
45360 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45361 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45362 wxUSE_LIBGNOMEPRINT
="no"
45366 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45367 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45368 { echo "$as_me:$LINENO: result: yes" >&5
45369 echo "${ECHO_T}yes" >&6; }
45371 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45372 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45373 cat >>confdefs.h
<<\_ACEOF
45374 #define wxUSE_LIBGNOMEPRINT 1
45382 if test "$wxUSE_MIMETYPE" = "yes" ; then
45383 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45387 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45388 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45390 if test -n "$PKG_CONFIG"; then
45391 if test -n "$GNOMEVFS_CFLAGS"; then
45392 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
45394 if test -n "$PKG_CONFIG" && \
45395 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45396 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399 (exit $ac_status); }; then
45400 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45408 if test -n "$PKG_CONFIG"; then
45409 if test -n "$GNOMEVFS_LIBS"; then
45410 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
45412 if test -n "$PKG_CONFIG" && \
45413 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45414 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45417 (exit $ac_status); }; then
45418 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45429 if test $pkg_failed = yes; then
45431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45432 _pkg_short_errors_supported
=yes
45434 _pkg_short_errors_supported
=no
45436 if test $_pkg_short_errors_supported = yes; then
45437 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45439 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45441 # Put the nasty error message in config.log where it belongs
45442 echo "$GNOMEVFS_PKG_ERRORS" >&5
45445 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45446 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45447 wxUSE_LIBGNOMEVFS
="no"
45450 elif test $pkg_failed = untried
; then
45452 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45453 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45454 wxUSE_LIBGNOMEVFS
="no"
45458 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
45459 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
45460 { echo "$as_me:$LINENO: result: yes" >&5
45461 echo "${ECHO_T}yes" >&6; }
45463 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
45464 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
45465 cat >>confdefs.h
<<\_ACEOF
45466 #define wxUSE_LIBGNOMEVFS 1
45474 if test "$wxUSE_LIBHILDON" = "yes" ; then
45477 { echo "$as_me:$LINENO: checking for HILDON" >&5
45478 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45480 if test -n "$PKG_CONFIG"; then
45481 if test -n "$HILDON_CFLAGS"; then
45482 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
45484 if test -n "$PKG_CONFIG" && \
45485 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45486 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45489 (exit $ac_status); }; then
45490 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45498 if test -n "$PKG_CONFIG"; then
45499 if test -n "$HILDON_LIBS"; then
45500 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
45502 if test -n "$PKG_CONFIG" && \
45503 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45504 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45507 (exit $ac_status); }; then
45508 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45519 if test $pkg_failed = yes; then
45521 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45522 _pkg_short_errors_supported
=yes
45524 _pkg_short_errors_supported
=no
45526 if test $_pkg_short_errors_supported = yes; then
45527 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45529 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45531 # Put the nasty error message in config.log where it belongs
45532 echo "$HILDON_PKG_ERRORS" >&5
45535 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45536 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45537 wxUSE_LIBHILDON
="no"
45540 elif test $pkg_failed = untried
; then
45542 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45543 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45544 wxUSE_LIBHILDON
="no"
45548 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
45549 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
45550 { echo "$as_me:$LINENO: result: yes" >&5
45551 echo "${ECHO_T}yes" >&6; }
45553 EXTRALIBS_HILDON
="$HILDON_LIBS"
45554 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
45555 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
45556 cat >>confdefs.h
<<\_ACEOF
45557 #define wxUSE_LIBHILDON 1
45565 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45566 cat >>confdefs.h
<<\_ACEOF
45567 #define wxUSE_CMDLINE_PARSER 1
45572 if test "$wxUSE_STOPWATCH" = "yes"; then
45573 cat >>confdefs.h
<<\_ACEOF
45574 #define wxUSE_STOPWATCH 1
45579 if test "$wxUSE_DATETIME" = "yes"; then
45580 cat >>confdefs.h
<<\_ACEOF
45581 #define wxUSE_DATETIME 1
45586 if test "$wxUSE_FILE" = "yes"; then
45587 cat >>confdefs.h
<<\_ACEOF
45588 #define wxUSE_FILE 1
45593 if test "$wxUSE_FFILE" = "yes"; then
45594 cat >>confdefs.h
<<\_ACEOF
45595 #define wxUSE_FFILE 1
45600 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45601 if test "$wxUSE_STREAMS" != yes; then
45602 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45603 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45604 wxUSE_ARCHIVE_STREAMS
=no
45606 cat >>confdefs.h
<<\_ACEOF
45607 #define wxUSE_ARCHIVE_STREAMS 1
45613 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45614 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45615 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45616 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45617 elif test "$wxUSE_ZLIB" = "no"; then
45618 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45619 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45621 cat >>confdefs.h
<<\_ACEOF
45622 #define wxUSE_ZIPSTREAM 1
45628 if test "$wxUSE_TARSTREAM" = "yes"; then
45629 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45630 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45631 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45633 cat >>confdefs.h
<<\_ACEOF
45634 #define wxUSE_TARSTREAM 1
45640 if test "$wxUSE_FILESYSTEM" = "yes"; then
45641 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45642 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45643 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45644 wxUSE_FILESYSTEM
=no
45646 cat >>confdefs.h
<<\_ACEOF
45647 #define wxUSE_FILESYSTEM 1
45653 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45654 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45655 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45656 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45658 cat >>confdefs.h
<<\_ACEOF
45659 #define wxUSE_FS_ARCHIVE 1
45665 if test "$wxUSE_FS_ZIP" = "yes"; then
45666 if test "$wxUSE_FS_ARCHIVE" != yes; then
45667 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45668 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45670 cat >>confdefs.h
<<\_ACEOF
45671 #define wxUSE_FS_ZIP 1
45677 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45678 if test "$USE_UNIX" != 1; then
45679 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45680 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45681 wxUSE_ON_FATAL_EXCEPTION
=no
45683 cat >>confdefs.h
<<\_ACEOF
45684 #define wxUSE_ON_FATAL_EXCEPTION 1
45690 if test "$wxUSE_STACKWALKER" = "yes"; then
45691 cat >>confdefs.h
<<\_ACEOF
45692 #define wxUSE_STACKWALKER 1
45697 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45698 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45699 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45700 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45701 wxUSE_DEBUGREPORT
=no
45703 cat >>confdefs.h
<<\_ACEOF
45704 #define wxUSE_DEBUGREPORT 1
45707 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45713 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45714 cat >>confdefs.h
<<\_ACEOF
45715 #define wxUSE_SNGLINST_CHECKER 1
45720 if test "$wxUSE_BUSYINFO" = "yes"; then
45721 cat >>confdefs.h
<<\_ACEOF
45722 #define wxUSE_BUSYINFO 1
45727 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45728 cat >>confdefs.h
<<\_ACEOF
45729 #define wxUSE_STD_IOSTREAM 1
45734 if test "$wxUSE_STD_STRING" = "yes"; then
45735 cat >>confdefs.h
<<\_ACEOF
45736 #define wxUSE_STD_STRING 1
45741 if test "$wxUSE_STDPATHS" = "yes"; then
45742 cat >>confdefs.h
<<\_ACEOF
45743 #define wxUSE_STDPATHS 1
45748 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45749 cat >>confdefs.h
<<\_ACEOF
45750 #define wxUSE_TEXTBUFFER 1
45755 if test "$wxUSE_TEXTFILE" = "yes"; then
45756 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45757 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45758 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45760 cat >>confdefs.h
<<\_ACEOF
45761 #define wxUSE_TEXTFILE 1
45767 if test "$wxUSE_CONFIG" = "yes" ; then
45768 if test "$wxUSE_TEXTFILE" != "yes"; then
45769 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45770 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45772 cat >>confdefs.h
<<\_ACEOF
45773 #define wxUSE_CONFIG 1
45776 cat >>confdefs.h
<<\_ACEOF
45777 #define wxUSE_CONFIG_NATIVE 1
45780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45784 if test "$wxUSE_INTL" = "yes" ; then
45785 if test "$wxUSE_FILE" != "yes"; then
45786 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45787 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45789 cat >>confdefs.h
<<\_ACEOF
45790 #define wxUSE_INTL 1
45793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45794 GUIDIST
="$GUIDIST INTL_DIST"
45798 if test "$wxUSE_LOG" = "yes"; then
45799 cat >>confdefs.h
<<\_ACEOF
45800 #define wxUSE_LOG 1
45804 if test "$wxUSE_LOGGUI" = "yes"; then
45805 cat >>confdefs.h
<<\_ACEOF
45806 #define wxUSE_LOGGUI 1
45811 if test "$wxUSE_LOGWINDOW" = "yes"; then
45812 cat >>confdefs.h
<<\_ACEOF
45813 #define wxUSE_LOGWINDOW 1
45818 if test "$wxUSE_LOGDIALOG" = "yes"; then
45819 cat >>confdefs.h
<<\_ACEOF
45820 #define wxUSE_LOG_DIALOG 1
45825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
45828 if test "$wxUSE_LONGLONG" = "yes"; then
45829 cat >>confdefs.h
<<\_ACEOF
45830 #define wxUSE_LONGLONG 1
45835 if test "$wxUSE_GEOMETRY" = "yes"; then
45836 cat >>confdefs.h
<<\_ACEOF
45837 #define wxUSE_GEOMETRY 1
45842 if test "$wxUSE_BASE64" = "yes"; then
45843 cat >>confdefs.h
<<\_ACEOF
45844 #define wxUSE_BASE64 1
45849 if test "$wxUSE_STREAMS" = "yes" ; then
45850 cat >>confdefs.h
<<\_ACEOF
45851 #define wxUSE_STREAMS 1
45856 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45857 cat >>confdefs.h
<<\_ACEOF
45858 #define wxUSE_PRINTF_POS_PARAMS 1
45863 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45864 cat >>confdefs.h
<<\_ACEOF
45865 #define wxUSE_OBJC_UNIQUIFYING 1
45871 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45872 cat >>confdefs.h
<<\_ACEOF
45873 #define wxUSE_CONSOLE_EVENTLOOP 1
45877 if test "$wxUSE_UNIX" = "yes"; then
45878 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45879 cat >>confdefs.h
<<\_ACEOF
45880 #define wxUSE_SELECT_DISPATCHER 1
45885 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45887 for ac_header
in sys
/epoll.h
45889 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45892 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45893 echo $ECHO_N "(cached) $ECHO_C" >&6
45895 cat >conftest.
$ac_ext <<_ACEOF
45898 cat confdefs.h
>>conftest.
$ac_ext
45899 cat >>conftest.
$ac_ext <<_ACEOF
45900 /* end confdefs.h. */
45901 $ac_includes_default
45903 #include <$ac_header>
45905 rm -f conftest.
$ac_objext
45906 if { (ac_try
="$ac_compile"
45907 case "(($ac_try" in
45908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45909 *) ac_try_echo=$ac_try;;
45911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45912 (eval "$ac_compile") 2>conftest.er1
45914 grep -v '^ *+' conftest.er1 >conftest.err
45916 cat conftest.err >&5
45917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918 (exit $ac_status); } && {
45919 test -z "$ac_c_werror_flag" ||
45920 test ! -s conftest.err
45921 } && test -s conftest.$ac_objext; then
45922 eval "$as_ac_Header=yes"
45924 echo "$as_me: failed program was:" >&5
45925 sed 's/^/| /' conftest.$ac_ext >&5
45927 eval "$as_ac_Header=no"
45930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45932 ac_res=`eval echo '${'$as_ac_Header'}'`
45933 { echo "$as_me:$LINENO: result: $ac_res" >&5
45934 echo "${ECHO_T}$ac_res" >&6; }
45935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45936 cat >>confdefs.h <<_ACEOF
45937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45944 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_EPOLL_DISPATCHER 1
45950 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45951 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45960 for ac_func in gettimeofday ftime
45962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45963 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45965 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45966 echo $ECHO_N "(cached) $ECHO_C" >&6
45968 cat >conftest.$ac_ext <<_ACEOF
45971 cat confdefs.h >>conftest.$ac_ext
45972 cat >>conftest.$ac_ext <<_ACEOF
45973 /* end confdefs.h. */
45974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45976 #define $ac_func innocuous_$ac_func
45978 /* System header to define __stub macros and hopefully few prototypes,
45979 which can conflict with char $ac_func (); below.
45980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45981 <limits.h> exists even on freestanding compilers. */
45984 # include <limits.h>
45986 # include <assert.h>
45991 /* Override any GCC internal prototype to avoid an error.
45992 Use char because int might match the return type of a GCC
45993 builtin and then its argument prototype would still apply. */
45998 /* The GNU C library defines this for functions which it implements
45999 to always fail with ENOSYS. Some functions are actually named
46000 something starting with __ and the normal name is an alias. */
46001 #if defined __stub_$ac_func || defined __stub___$ac_func
46008 return $ac_func ();
46013 rm -f conftest.$ac_objext conftest$ac_exeext
46014 if { (ac_try="$ac_link"
46015 case "(($ac_try" in
46016 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46017 *) ac_try_echo
=$ac_try;;
46019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46020 (eval "$ac_link") 2>conftest.er1
46022 grep -v '^ *+' conftest.er1
>conftest.err
46024 cat conftest.err
>&5
46025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46026 (exit $ac_status); } && {
46027 test -z "$ac_c_werror_flag" ||
46028 test ! -s conftest.err
46029 } && test -s conftest
$ac_exeext &&
46030 $as_test_x conftest
$ac_exeext; then
46031 eval "$as_ac_var=yes"
46033 echo "$as_me: failed program was:" >&5
46034 sed 's/^/| /' conftest.
$ac_ext >&5
46036 eval "$as_ac_var=no"
46039 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46040 conftest
$ac_exeext conftest.
$ac_ext
46042 ac_res
=`eval echo '${'$as_ac_var'}'`
46043 { echo "$as_me:$LINENO: result: $ac_res" >&5
46044 echo "${ECHO_T}$ac_res" >&6; }
46045 if test `eval echo '${'$as_ac_var'}'` = yes; then
46046 cat >>confdefs.h
<<_ACEOF
46047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46054 if test "$ac_cv_func_gettimeofday" = "yes"; then
46055 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46056 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46057 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46058 echo $ECHO_N "(cached) $ECHO_C" >&6
46061 cat >conftest.
$ac_ext <<_ACEOF
46064 cat confdefs.h
>>conftest.
$ac_ext
46065 cat >>conftest.
$ac_ext <<_ACEOF
46066 /* end confdefs.h. */
46068 #include <sys/time.h>
46069 #include <unistd.h>
46076 gettimeofday(&tv, NULL);
46082 rm -f conftest.
$ac_objext
46083 if { (ac_try
="$ac_compile"
46084 case "(($ac_try" in
46085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46086 *) ac_try_echo=$ac_try;;
46088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46089 (eval "$ac_compile") 2>conftest.er1
46091 grep -v '^ *+' conftest.er1 >conftest.err
46093 cat conftest.err >&5
46094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46095 (exit $ac_status); } && {
46096 test -z "$ac_c_werror_flag" ||
46097 test ! -s conftest.err
46098 } && test -s conftest.$ac_objext; then
46099 wx_cv_func_gettimeofday_has_2_args=yes
46101 echo "$as_me: failed program was:" >&5
46102 sed 's/^/| /' conftest.$ac_ext >&5
46104 cat >conftest.$ac_ext <<_ACEOF
46107 cat confdefs.h >>conftest.$ac_ext
46108 cat >>conftest.$ac_ext <<_ACEOF
46109 /* end confdefs.h. */
46111 #include <sys/time.h>
46112 #include <unistd.h>
46125 rm -f conftest.$ac_objext
46126 if { (ac_try="$ac_compile"
46127 case "(($ac_try" in
46128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46129 *) ac_try_echo
=$ac_try;;
46131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46132 (eval "$ac_compile") 2>conftest.er1
46134 grep -v '^ *+' conftest.er1
>conftest.err
46136 cat conftest.err
>&5
46137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46138 (exit $ac_status); } && {
46139 test -z "$ac_c_werror_flag" ||
46140 test ! -s conftest.err
46141 } && test -s conftest.
$ac_objext; then
46142 wx_cv_func_gettimeofday_has_2_args
=no
46144 echo "$as_me: failed program was:" >&5
46145 sed 's/^/| /' conftest.
$ac_ext >&5
46148 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46149 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46150 wx_cv_func_gettimeofday_has_2_args
=unknown
46155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46162 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46163 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46165 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46166 cat >>confdefs.h
<<\_ACEOF
46167 #define WX_GETTIMEOFDAY_NO_TZ 1
46173 if test "$wxUSE_DATETIME" = "yes"; then
46174 { echo "$as_me:$LINENO: checking for strptime" >&5
46175 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46176 if test "${ac_cv_func_strptime+set}" = set; then
46177 echo $ECHO_N "(cached) $ECHO_C" >&6
46179 cat >conftest.
$ac_ext <<_ACEOF
46182 cat confdefs.h
>>conftest.
$ac_ext
46183 cat >>conftest.
$ac_ext <<_ACEOF
46184 /* end confdefs.h. */
46185 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46187 #define strptime innocuous_strptime
46189 /* System header to define __stub macros and hopefully few prototypes,
46190 which can conflict with char strptime (); below.
46191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46192 <limits.h> exists even on freestanding compilers. */
46195 # include <limits.h>
46197 # include <assert.h>
46202 /* Override any GCC internal prototype to avoid an error.
46203 Use char because int might match the return type of a GCC
46204 builtin and then its argument prototype would still apply. */
46209 /* The GNU C library defines this for functions which it implements
46210 to always fail with ENOSYS. Some functions are actually named
46211 something starting with __ and the normal name is an alias. */
46212 #if defined __stub_strptime || defined __stub___strptime
46219 return strptime ();
46224 rm -f conftest.
$ac_objext conftest
$ac_exeext
46225 if { (ac_try
="$ac_link"
46226 case "(($ac_try" in
46227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46228 *) ac_try_echo=$ac_try;;
46230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46231 (eval "$ac_link") 2>conftest.er1
46233 grep -v '^ *+' conftest.er1 >conftest.err
46235 cat conftest.err >&5
46236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46237 (exit $ac_status); } && {
46238 test -z "$ac_c_werror_flag" ||
46239 test ! -s conftest.err
46240 } && test -s conftest$ac_exeext &&
46241 $as_test_x conftest$ac_exeext; then
46242 ac_cv_func_strptime=yes
46244 echo "$as_me: failed program was:" >&5
46245 sed 's/^/| /' conftest.$ac_ext >&5
46247 ac_cv_func_strptime=no
46250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46251 conftest$ac_exeext conftest.$ac_ext
46253 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46254 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46256 if test "$ac_cv_func_strptime" = "yes"; then
46257 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46258 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46259 if test "${wx_cv_func_strptime_decl+set}" = set; then
46260 echo $ECHO_N "(cached) $ECHO_C" >&6
46264 ac_cpp='$CXXCPP $CPPFLAGS'
46265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46269 cat >conftest.$ac_ext <<_ACEOF
46272 cat confdefs.h >>conftest.$ac_ext
46273 cat >>conftest.$ac_ext <<_ACEOF
46274 /* end confdefs.h. */
46283 strptime("foo", "bar", &t);
46289 rm -f conftest.$ac_objext
46290 if { (ac_try="$ac_compile"
46291 case "(($ac_try" in
46292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46293 *) ac_try_echo
=$ac_try;;
46295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46296 (eval "$ac_compile") 2>conftest.er1
46298 grep -v '^ *+' conftest.er1
>conftest.err
46300 cat conftest.err
>&5
46301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302 (exit $ac_status); } && {
46303 test -z "$ac_cxx_werror_flag" ||
46304 test ! -s conftest.err
46305 } && test -s conftest.
$ac_objext; then
46306 wx_cv_func_strptime_decl
=yes
46308 echo "$as_me: failed program was:" >&5
46309 sed 's/^/| /' conftest.
$ac_ext >&5
46311 wx_cv_func_strptime_decl
=no
46315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46317 ac_cpp
='$CPP $CPPFLAGS'
46318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46325 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46326 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46328 if test "$wx_cv_func_strptime_decl" = "yes"; then
46329 cat >>confdefs.h
<<\_ACEOF
46330 #define HAVE_STRPTIME_DECL 1
46334 wx_strptime_decl
="extern char *strptime(const char *, const char *, struct tm *);"
46336 if test "$ac_cv_func_strptime" = "yes"; then
46337 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46338 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46339 if test "${wx_cv_func_strptime_ok+set}" = set; then
46340 echo $ECHO_N "(cached) $ECHO_C" >&6
46342 if test "$cross_compiling" = yes; then
46343 wx_cv_func_strptime_ok
=no
46346 cat >conftest.
$ac_ext <<_ACEOF
46348 #include <stdlib.h>
46350 #include "confdefs.h"
46357 return !!strptime("", "%x", &t);
46361 rm -f conftest
$ac_exeext
46362 if { (ac_try
="$ac_link"
46363 case "(($ac_try" in
46364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46365 *) ac_try_echo=$ac_try;;
46367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46368 (eval "$ac_link") 2>&5
46370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46372 { (case "(($ac_try" in
46373 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46374 *) ac_try_echo
=$ac_try;;
46376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46377 (eval "$ac_try") 2>&5
46379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46380 (exit $ac_status); }; }; then
46381 wx_cv_func_strptime_ok
=yes
46383 echo "$as_me: program exited with status $ac_status" >&5
46384 echo "$as_me: failed program was:" >&5
46385 sed 's/^/| /' conftest.
$ac_ext >&5
46387 ( exit $ac_status )
46388 wx_cv_func_strptime_ok
=no
46390 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
46396 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46397 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46399 if test "$wx_cv_func_strptime_ok" = "yes"; then
46400 cat >>confdefs.h
<<\_ACEOF
46401 #define HAVE_STRPTIME 1
46407 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46408 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46409 if test "${wx_cv_var_timezone+set}" = set; then
46410 echo $ECHO_N "(cached) $ECHO_C" >&6
46414 ac_cpp
='$CXXCPP $CPPFLAGS'
46415 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46419 cat >conftest.
$ac_ext <<_ACEOF
46422 cat confdefs.h
>>conftest.
$ac_ext
46423 cat >>conftest.
$ac_ext <<_ACEOF
46424 /* end confdefs.h. */
46439 rm -f conftest.
$ac_objext
46440 if { (ac_try
="$ac_compile"
46441 case "(($ac_try" in
46442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46443 *) ac_try_echo=$ac_try;;
46445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46446 (eval "$ac_compile") 2>conftest.er1
46448 grep -v '^ *+' conftest.er1 >conftest.err
46450 cat conftest.err >&5
46451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46452 (exit $ac_status); } && {
46453 test -z "$ac_cxx_werror_flag" ||
46454 test ! -s conftest.err
46455 } && test -s conftest.$ac_objext; then
46457 wx_cv_var_timezone=timezone
46460 echo "$as_me: failed program was:" >&5
46461 sed 's/^/| /' conftest.$ac_ext >&5
46464 cat >conftest.$ac_ext <<_ACEOF
46467 cat confdefs.h >>conftest.$ac_ext
46468 cat >>conftest.$ac_ext <<_ACEOF
46469 /* end confdefs.h. */
46484 rm -f conftest.$ac_objext
46485 if { (ac_try="$ac_compile"
46486 case "(($ac_try" in
46487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46488 *) ac_try_echo
=$ac_try;;
46490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46491 (eval "$ac_compile") 2>conftest.er1
46493 grep -v '^ *+' conftest.er1
>conftest.err
46495 cat conftest.err
>&5
46496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46497 (exit $ac_status); } && {
46498 test -z "$ac_cxx_werror_flag" ||
46499 test ! -s conftest.err
46500 } && test -s conftest.
$ac_objext; then
46502 wx_cv_var_timezone
=_timezone
46505 echo "$as_me: failed program was:" >&5
46506 sed 's/^/| /' conftest.
$ac_ext >&5
46509 cat >conftest.
$ac_ext <<_ACEOF
46512 cat confdefs.h
>>conftest.
$ac_ext
46513 cat >>conftest.
$ac_ext <<_ACEOF
46514 /* end confdefs.h. */
46529 rm -f conftest.
$ac_objext
46530 if { (ac_try
="$ac_compile"
46531 case "(($ac_try" in
46532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46533 *) ac_try_echo=$ac_try;;
46535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46536 (eval "$ac_compile") 2>conftest.er1
46538 grep -v '^ *+' conftest.er1 >conftest.err
46540 cat conftest.err >&5
46541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46542 (exit $ac_status); } && {
46543 test -z "$ac_cxx_werror_flag" ||
46544 test ! -s conftest.err
46545 } && test -s conftest.$ac_objext; then
46547 wx_cv_var_timezone=__timezone
46550 echo "$as_me: failed program was:" >&5
46551 sed 's/^/| /' conftest.$ac_ext >&5
46554 if test "$USE_DOS" = 0 ; then
46555 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46556 echo "$as_me: WARNING: no timezone variable" >&2;}
46562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46574 ac_cpp='$CPP $CPPFLAGS'
46575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46582 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46583 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46585 if test "x$wx_cv_var_timezone" != x ; then
46586 cat >>confdefs.h <<_ACEOF
46587 #define WX_TIMEZONE $wx_cv_var_timezone
46593 for ac_func in localtime
46595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46599 echo $ECHO_N "(cached) $ECHO_C" >&6
46601 cat >conftest.$ac_ext <<_ACEOF
46604 cat confdefs.h >>conftest.$ac_ext
46605 cat >>conftest.$ac_ext <<_ACEOF
46606 /* end confdefs.h. */
46607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46609 #define $ac_func innocuous_$ac_func
46611 /* System header to define __stub macros and hopefully few prototypes,
46612 which can conflict with char $ac_func (); below.
46613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46614 <limits.h> exists even on freestanding compilers. */
46617 # include <limits.h>
46619 # include <assert.h>
46624 /* Override any GCC internal prototype to avoid an error.
46625 Use char because int might match the return type of a GCC
46626 builtin and then its argument prototype would still apply. */
46631 /* The GNU C library defines this for functions which it implements
46632 to always fail with ENOSYS. Some functions are actually named
46633 something starting with __ and the normal name is an alias. */
46634 #if defined __stub_$ac_func || defined __stub___$ac_func
46641 return $ac_func ();
46646 rm -f conftest.$ac_objext conftest$ac_exeext
46647 if { (ac_try="$ac_link"
46648 case "(($ac_try" in
46649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46650 *) ac_try_echo
=$ac_try;;
46652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46653 (eval "$ac_link") 2>conftest.er1
46655 grep -v '^ *+' conftest.er1
>conftest.err
46657 cat conftest.err
>&5
46658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46659 (exit $ac_status); } && {
46660 test -z "$ac_c_werror_flag" ||
46661 test ! -s conftest.err
46662 } && test -s conftest
$ac_exeext &&
46663 $as_test_x conftest
$ac_exeext; then
46664 eval "$as_ac_var=yes"
46666 echo "$as_me: failed program was:" >&5
46667 sed 's/^/| /' conftest.
$ac_ext >&5
46669 eval "$as_ac_var=no"
46672 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46673 conftest
$ac_exeext conftest.
$ac_ext
46675 ac_res
=`eval echo '${'$as_ac_var'}'`
46676 { echo "$as_me:$LINENO: result: $ac_res" >&5
46677 echo "${ECHO_T}$ac_res" >&6; }
46678 if test `eval echo '${'$as_ac_var'}'` = yes; then
46679 cat >>confdefs.h
<<_ACEOF
46680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46687 if test "$ac_cv_func_localtime" = "yes"; then
46688 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46689 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46690 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46691 echo $ECHO_N "(cached) $ECHO_C" >&6
46694 cat >conftest.
$ac_ext <<_ACEOF
46697 cat confdefs.h
>>conftest.
$ac_ext
46698 cat >>conftest.
$ac_ext <<_ACEOF
46699 /* end confdefs.h. */
46714 rm -f conftest.
$ac_objext
46715 if { (ac_try
="$ac_compile"
46716 case "(($ac_try" in
46717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46718 *) ac_try_echo=$ac_try;;
46720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46721 (eval "$ac_compile") 2>conftest.er1
46723 grep -v '^ *+' conftest.er1 >conftest.err
46725 cat conftest.err >&5
46726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727 (exit $ac_status); } && {
46728 test -z "$ac_c_werror_flag" ||
46729 test ! -s conftest.err
46730 } && test -s conftest.$ac_objext; then
46732 wx_cv_struct_tm_has_gmtoff=yes
46735 echo "$as_me: failed program was:" >&5
46736 sed 's/^/| /' conftest.$ac_ext >&5
46738 wx_cv_struct_tm_has_gmtoff=no
46742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46745 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46746 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46749 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46750 cat >>confdefs.h <<\_ACEOF
46751 #define WX_GMTOFF_IN_TM 1
46756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46760 if test "$wxUSE_SOCKETS" = "yes"; then
46761 if test "$wxUSE_MGL" = "1"; then
46762 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46763 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46768 if test "$wxUSE_SOCKETS" = "yes"; then
46769 if test "$TOOLKIT" != "MSW"; then
46770 { echo "$as_me:$LINENO: checking for socket" >&5
46771 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46772 if test "${ac_cv_func_socket+set}" = set; then
46773 echo $ECHO_N "(cached) $ECHO_C" >&6
46775 cat >conftest.$ac_ext <<_ACEOF
46778 cat confdefs.h >>conftest.$ac_ext
46779 cat >>conftest.$ac_ext <<_ACEOF
46780 /* end confdefs.h. */
46781 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46783 #define socket innocuous_socket
46785 /* System header to define __stub macros and hopefully few prototypes,
46786 which can conflict with char socket (); below.
46787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46788 <limits.h> exists even on freestanding compilers. */
46791 # include <limits.h>
46793 # include <assert.h>
46798 /* Override any GCC internal prototype to avoid an error.
46799 Use char because int might match the return type of a GCC
46800 builtin and then its argument prototype would still apply. */
46805 /* The GNU C library defines this for functions which it implements
46806 to always fail with ENOSYS. Some functions are actually named
46807 something starting with __ and the normal name is an alias. */
46808 #if defined __stub_socket || defined __stub___socket
46820 rm -f conftest.$ac_objext conftest$ac_exeext
46821 if { (ac_try="$ac_link"
46822 case "(($ac_try" in
46823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46824 *) ac_try_echo
=$ac_try;;
46826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46827 (eval "$ac_link") 2>conftest.er1
46829 grep -v '^ *+' conftest.er1
>conftest.err
46831 cat conftest.err
>&5
46832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46833 (exit $ac_status); } && {
46834 test -z "$ac_c_werror_flag" ||
46835 test ! -s conftest.err
46836 } && test -s conftest
$ac_exeext &&
46837 $as_test_x conftest
$ac_exeext; then
46838 ac_cv_func_socket
=yes
46840 echo "$as_me: failed program was:" >&5
46841 sed 's/^/| /' conftest.
$ac_ext >&5
46843 ac_cv_func_socket
=no
46846 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46847 conftest
$ac_exeext conftest.
$ac_ext
46849 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46850 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46851 if test $ac_cv_func_socket = yes; then
46855 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46856 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46857 if test "${ac_cv_lib_socket_socket+set}" = set; then
46858 echo $ECHO_N "(cached) $ECHO_C" >&6
46860 ac_check_lib_save_LIBS
=$LIBS
46861 LIBS
="-lsocket $LIBS"
46862 cat >conftest.
$ac_ext <<_ACEOF
46865 cat confdefs.h
>>conftest.
$ac_ext
46866 cat >>conftest.
$ac_ext <<_ACEOF
46867 /* end confdefs.h. */
46869 /* Override any GCC internal prototype to avoid an error.
46870 Use char because int might match the return type of a GCC
46871 builtin and then its argument prototype would still apply. */
46884 rm -f conftest.
$ac_objext conftest
$ac_exeext
46885 if { (ac_try
="$ac_link"
46886 case "(($ac_try" in
46887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46888 *) ac_try_echo=$ac_try;;
46890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46891 (eval "$ac_link") 2>conftest.er1
46893 grep -v '^ *+' conftest.er1 >conftest.err
46895 cat conftest.err >&5
46896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46897 (exit $ac_status); } && {
46898 test -z "$ac_c_werror_flag" ||
46899 test ! -s conftest.err
46900 } && test -s conftest$ac_exeext &&
46901 $as_test_x conftest$ac_exeext; then
46902 ac_cv_lib_socket_socket=yes
46904 echo "$as_me: failed program was:" >&5
46905 sed 's/^/| /' conftest.$ac_ext >&5
46907 ac_cv_lib_socket_socket=no
46910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46911 conftest$ac_exeext conftest.$ac_ext
46912 LIBS=$ac_check_lib_save_LIBS
46914 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46915 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46916 if test $ac_cv_lib_socket_socket = yes; then
46917 if test "$INET_LINK" != " -lsocket"; then
46918 INET_LINK="$INET_LINK -lsocket"
46922 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46923 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46936 if test "$wxUSE_SOCKETS" = "yes" ; then
46937 if test "$TOOLKIT" != "MSW"; then
46938 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46939 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46940 if test "${wx_cv_type_getsockname3+set}" = set; then
46941 echo $ECHO_N "(cached) $ECHO_C" >&6
46945 ac_cpp='$CXXCPP $CPPFLAGS'
46946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46950 cat >conftest.$ac_ext <<_ACEOF
46953 cat confdefs.h >>conftest.$ac_ext
46954 cat >>conftest.$ac_ext <<_ACEOF
46955 /* end confdefs.h. */
46957 #include <sys/types.h>
46958 #include <sys/socket.h>
46965 getsockname(0, 0, &len);
46971 rm -f conftest.$ac_objext
46972 if { (ac_try="$ac_compile"
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_compile") 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 test -z "$ac_cxx_werror_flag" ||
46986 test ! -s conftest.err
46987 } && test -s conftest.
$ac_objext; then
46988 wx_cv_type_getsockname3
=socklen_t
46990 echo "$as_me: failed program was:" >&5
46991 sed 's/^/| /' conftest.
$ac_ext >&5
46994 CFLAGS_OLD
="$CFLAGS"
46995 if test "$GCC" = yes ; then
46996 CFLAGS
="-Werror $CFLAGS"
46999 cat >conftest.
$ac_ext <<_ACEOF
47002 cat confdefs.h
>>conftest.
$ac_ext
47003 cat >>conftest.
$ac_ext <<_ACEOF
47004 /* end confdefs.h. */
47006 #include <sys/types.h>
47007 #include <sys/socket.h>
47014 getsockname(0, 0, &len);
47020 rm -f conftest.
$ac_objext
47021 if { (ac_try
="$ac_compile"
47022 case "(($ac_try" in
47023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47024 *) ac_try_echo=$ac_try;;
47026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47027 (eval "$ac_compile") 2>conftest.er1
47029 grep -v '^ *+' conftest.er1 >conftest.err
47031 cat conftest.err >&5
47032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47033 (exit $ac_status); } && {
47034 test -z "$ac_cxx_werror_flag" ||
47035 test ! -s conftest.err
47036 } && test -s conftest.$ac_objext; then
47037 wx_cv_type_getsockname3=size_t
47039 echo "$as_me: failed program was:" >&5
47040 sed 's/^/| /' conftest.$ac_ext >&5
47042 cat >conftest.$ac_ext <<_ACEOF
47045 cat confdefs.h >>conftest.$ac_ext
47046 cat >>conftest.$ac_ext <<_ACEOF
47047 /* end confdefs.h. */
47049 #include <sys/types.h>
47050 #include <sys/socket.h>
47057 getsockname(0, 0, &len);
47063 rm -f conftest.$ac_objext
47064 if { (ac_try="$ac_compile"
47065 case "(($ac_try" in
47066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47067 *) ac_try_echo
=$ac_try;;
47069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47070 (eval "$ac_compile") 2>conftest.er1
47072 grep -v '^ *+' conftest.er1
>conftest.err
47074 cat conftest.err
>&5
47075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47076 (exit $ac_status); } && {
47077 test -z "$ac_cxx_werror_flag" ||
47078 test ! -s conftest.err
47079 } && test -s conftest.
$ac_objext; then
47080 wx_cv_type_getsockname3
=int
47082 echo "$as_me: failed program was:" >&5
47083 sed 's/^/| /' conftest.
$ac_ext >&5
47085 wx_cv_type_getsockname3
=unknown
47089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47095 CFLAGS
="$CFLAGS_OLD"
47100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47102 ac_cpp
='$CPP $CPPFLAGS'
47103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47109 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47110 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47112 if test "$wx_cv_type_getsockname3" = "unknown"; then
47114 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47115 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47117 cat >>confdefs.h
<<_ACEOF
47118 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47122 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47123 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47124 if test "${wx_cv_type_getsockopt5+set}" = set; then
47125 echo $ECHO_N "(cached) $ECHO_C" >&6
47129 ac_cpp
='$CXXCPP $CPPFLAGS'
47130 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47131 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47132 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47134 cat >conftest.
$ac_ext <<_ACEOF
47137 cat confdefs.h
>>conftest.
$ac_ext
47138 cat >>conftest.
$ac_ext <<_ACEOF
47139 /* end confdefs.h. */
47141 #include <sys/types.h>
47142 #include <sys/socket.h>
47149 getsockopt(0, 0, 0, 0, &len);
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 test -z "$ac_cxx_werror_flag" ||
47170 test ! -s conftest.err
47171 } && test -s conftest.$ac_objext; then
47172 wx_cv_type_getsockopt5=socklen_t
47174 echo "$as_me: failed program was:" >&5
47175 sed 's/^/| /' conftest.$ac_ext >&5
47178 cat >conftest.$ac_ext <<_ACEOF
47181 cat confdefs.h >>conftest.$ac_ext
47182 cat >>conftest.$ac_ext <<_ACEOF
47183 /* end confdefs.h. */
47185 #include <sys/types.h>
47186 #include <sys/socket.h>
47193 getsockopt(0, 0, 0, 0, &len);
47199 rm -f conftest.$ac_objext
47200 if { (ac_try="$ac_compile"
47201 case "(($ac_try" in
47202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47203 *) ac_try_echo
=$ac_try;;
47205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47206 (eval "$ac_compile") 2>conftest.er1
47208 grep -v '^ *+' conftest.er1
>conftest.err
47210 cat conftest.err
>&5
47211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47212 (exit $ac_status); } && {
47213 test -z "$ac_cxx_werror_flag" ||
47214 test ! -s conftest.err
47215 } && test -s conftest.
$ac_objext; then
47216 wx_cv_type_getsockopt5
=size_t
47218 echo "$as_me: failed program was:" >&5
47219 sed 's/^/| /' conftest.
$ac_ext >&5
47221 cat >conftest.
$ac_ext <<_ACEOF
47224 cat confdefs.h
>>conftest.
$ac_ext
47225 cat >>conftest.
$ac_ext <<_ACEOF
47226 /* end confdefs.h. */
47228 #include <sys/types.h>
47229 #include <sys/socket.h>
47236 getsockopt(0, 0, 0, 0, &len);
47242 rm -f conftest.
$ac_objext
47243 if { (ac_try
="$ac_compile"
47244 case "(($ac_try" in
47245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47246 *) ac_try_echo=$ac_try;;
47248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47249 (eval "$ac_compile") 2>conftest.er1
47251 grep -v '^ *+' conftest.er1 >conftest.err
47253 cat conftest.err >&5
47254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47255 (exit $ac_status); } && {
47256 test -z "$ac_cxx_werror_flag" ||
47257 test ! -s conftest.err
47258 } && test -s conftest.$ac_objext; then
47259 wx_cv_type_getsockopt5=int
47261 echo "$as_me: failed program was:" >&5
47262 sed 's/^/| /' conftest.$ac_ext >&5
47264 wx_cv_type_getsockopt5=unknown
47268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47279 ac_cpp='$CPP $CPPFLAGS'
47280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47286 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47287 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47289 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47291 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47292 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47294 cat >>confdefs.h <<_ACEOF
47295 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47302 if test "$wxUSE_SOCKETS" = "yes" ; then
47303 cat >>confdefs.h <<\_ACEOF
47304 #define wxUSE_SOCKETS 1
47307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47310 if test "$wxUSE_PROTOCOL" = "yes"; then
47311 if test "$wxUSE_SOCKETS" != "yes"; then
47312 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47313 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47318 if test "$wxUSE_PROTOCOL" = "yes"; then
47319 cat >>confdefs.h <<\_ACEOF
47320 #define wxUSE_PROTOCOL 1
47324 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47325 cat >>confdefs.h <<\_ACEOF
47326 #define wxUSE_PROTOCOL_HTTP 1
47330 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47331 cat >>confdefs.h <<\_ACEOF
47332 #define wxUSE_PROTOCOL_FTP 1
47336 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_PROTOCOL_FILE 1
47343 if test "$wxUSE_FS_INET" = "yes"; then
47344 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47345 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47350 if test "$wxUSE_URL" = "yes"; then
47351 if test "$wxUSE_PROTOCOL" != "yes"; then
47352 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47353 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47356 if test "$wxUSE_URL" = "yes"; then
47357 cat >>confdefs.h <<\_ACEOF
47358 #define wxUSE_URL 1
47364 if test "$wxUSE_VARIANT" = "yes"; then
47365 cat >>confdefs.h <<\_ACEOF
47366 #define wxUSE_VARIANT 1
47371 if test "$wxUSE_FS_INET" = "yes"; then
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_FS_INET 1
47379 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47382 if test "$TOOLKIT" = "MSW"; then
47385 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47386 if test "$USE_DARWIN" = 1; then
47387 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47388 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47390 ac_cpp='$CXXCPP $CPPFLAGS'
47391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47395 cat >conftest.$ac_ext <<_ACEOF
47398 cat confdefs.h >>conftest.$ac_ext
47399 cat >>conftest.$ac_ext <<_ACEOF
47400 /* end confdefs.h. */
47401 #include <IOKit/hid/IOHIDLib.h>
47405 IOHIDQueueInterface *qi = NULL;
47406 IOHIDCallbackFunction cb = NULL;
47407 qi->setEventCallout(NULL, cb, NULL, NULL);
47412 rm -f conftest.$ac_objext
47413 if { (ac_try="$ac_compile"
47414 case "(($ac_try" in
47415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47416 *) ac_try_echo
=$ac_try;;
47418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47419 (eval "$ac_compile") 2>conftest.er1
47421 grep -v '^ *+' conftest.er1
>conftest.err
47423 cat conftest.err
>&5
47424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47425 (exit $ac_status); } && {
47426 test -z "$ac_cxx_werror_flag" ||
47427 test ! -s conftest.err
47428 } && test -s conftest.
$ac_objext; then
47432 echo "$as_me: failed program was:" >&5
47433 sed 's/^/| /' conftest.
$ac_ext >&5
47438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47440 ac_cpp
='$CPP $CPPFLAGS'
47441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47445 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47446 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47450 if test "$wxUSE_MGL" != "1"; then
47452 for ac_header
in linux
/joystick.h
47454 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47457 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47458 echo $ECHO_N "(cached) $ECHO_C" >&6
47460 cat >conftest.
$ac_ext <<_ACEOF
47463 cat confdefs.h
>>conftest.
$ac_ext
47464 cat >>conftest.
$ac_ext <<_ACEOF
47465 /* end confdefs.h. */
47466 $ac_includes_default
47468 #include <$ac_header>
47470 rm -f conftest.
$ac_objext
47471 if { (ac_try
="$ac_compile"
47472 case "(($ac_try" in
47473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47474 *) ac_try_echo=$ac_try;;
47476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47477 (eval "$ac_compile") 2>conftest.er1
47479 grep -v '^ *+' conftest.er1 >conftest.err
47481 cat conftest.err >&5
47482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47483 (exit $ac_status); } && {
47484 test -z "$ac_c_werror_flag" ||
47485 test ! -s conftest.err
47486 } && test -s conftest.$ac_objext; then
47487 eval "$as_ac_Header=yes"
47489 echo "$as_me: failed program was:" >&5
47490 sed 's/^/| /' conftest.$ac_ext >&5
47492 eval "$as_ac_Header=no"
47495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47497 ac_res=`eval echo '${'$as_ac_Header'}'`
47498 { echo "$as_me:$LINENO: result: $ac_res" >&5
47499 echo "${ECHO_T}$ac_res" >&6; }
47500 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47501 cat >>confdefs.h <<_ACEOF
47502 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47512 if test "$wxUSE_JOYSTICK" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_JOYSTICK 1
47517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47519 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47520 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47526 if test "$wxUSE_FONTENUM" = "yes" ; then
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_FONTENUM 1
47533 if test "$wxUSE_FONTMAP" = "yes" ; then
47534 cat >>confdefs.h <<\_ACEOF
47535 #define wxUSE_FONTMAP 1
47540 if test "$wxUSE_UNICODE" = "yes" ; then
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_UNICODE 1
47546 if test "$USE_WIN32" != 1; then
47547 wxUSE_UNICODE_MSLU=no
47550 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47551 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47552 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47553 if test "${ac_cv_lib_unicows_main+set}" = set; then
47554 echo $ECHO_N "(cached) $ECHO_C" >&6
47556 ac_check_lib_save_LIBS=$LIBS
47557 LIBS="-lunicows $LIBS"
47558 cat >conftest.$ac_ext <<_ACEOF
47561 cat confdefs.h >>conftest.$ac_ext
47562 cat >>conftest.$ac_ext <<_ACEOF
47563 /* end confdefs.h. */
47574 rm -f conftest.$ac_objext conftest$ac_exeext
47575 if { (ac_try="$ac_link"
47576 case "(($ac_try" in
47577 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47578 *) ac_try_echo
=$ac_try;;
47580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47581 (eval "$ac_link") 2>conftest.er1
47583 grep -v '^ *+' conftest.er1
>conftest.err
47585 cat conftest.err
>&5
47586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47587 (exit $ac_status); } && {
47588 test -z "$ac_c_werror_flag" ||
47589 test ! -s conftest.err
47590 } && test -s conftest
$ac_exeext &&
47591 $as_test_x conftest
$ac_exeext; then
47592 ac_cv_lib_unicows_main
=yes
47594 echo "$as_me: failed program was:" >&5
47595 sed 's/^/| /' conftest.
$ac_ext >&5
47597 ac_cv_lib_unicows_main
=no
47600 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
47601 conftest
$ac_exeext conftest.
$ac_ext
47602 LIBS
=$ac_check_lib_save_LIBS
47604 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47605 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47606 if test $ac_cv_lib_unicows_main = yes; then
47608 cat >>confdefs.h
<<\_ACEOF
47609 #define wxUSE_UNICODE_MSLU 1
47615 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47616 Applications will only run on Windows NT/2000/XP!" >&5
47617 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47618 Applications will only run on Windows NT/2000/XP!" >&2;}
47619 wxUSE_UNICODE_MSLU
=no
47626 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47627 cat >>confdefs.h
<<\_ACEOF
47628 #define wxUSE_UNICODE_UTF8 1
47632 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47633 cat >>confdefs.h
<<\_ACEOF
47634 #define wxUSE_UTF8_LOCALE_ONLY 1
47641 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47642 cat >>confdefs.h
<<\_ACEOF
47643 #define wxUSE_CONSTRAINTS 1
47646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
47649 if test "$wxUSE_MDI" = "yes"; then
47650 cat >>confdefs.h
<<\_ACEOF
47651 #define wxUSE_MDI 1
47655 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47656 cat >>confdefs.h
<<\_ACEOF
47657 #define wxUSE_MDI_ARCHITECTURE 1
47660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
47664 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47665 cat >>confdefs.h
<<\_ACEOF
47666 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
47670 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
47675 if test "$wxUSE_HELP" = "yes"; then
47676 cat >>confdefs.h
<<\_ACEOF
47677 #define wxUSE_HELP 1
47680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
47682 if test "$wxUSE_MSW" = 1; then
47683 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47684 cat >>confdefs.h
<<\_ACEOF
47685 #define wxUSE_MS_HTML_HELP 1
47691 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47692 if test "$wxUSE_HTML" = "yes"; then
47693 cat >>confdefs.h
<<\_ACEOF
47694 #define wxUSE_WXHTML_HELP 1
47698 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47699 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47700 wxUSE_WXHTML_HELP
=no
47705 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47706 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47707 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47708 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47710 cat >>confdefs.h
<<\_ACEOF
47711 #define wxUSE_PRINTING_ARCHITECTURE 1
47715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
47718 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47719 cat >>confdefs.h
<<\_ACEOF
47720 #define wxUSE_POSTSCRIPT 1
47725 cat >>confdefs.h
<<\_ACEOF
47726 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47730 if test "$wxUSE_SVG" = "yes"; then
47731 cat >>confdefs.h
<<\_ACEOF
47732 #define wxUSE_SVG 1
47738 if test "$wxUSE_METAFILE" = "yes"; then
47739 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47740 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47741 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47747 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
47748 -o "$wxUSE_CLIPBOARD" = "yes" \
47749 -o "$wxUSE_OLE" = "yes" \
47750 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
47751 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47752 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47753 if test "${ac_cv_header_ole2_h+set}" = set; then
47754 echo $ECHO_N "(cached) $ECHO_C" >&6
47756 cat >conftest.
$ac_ext <<_ACEOF
47759 cat confdefs.h
>>conftest.
$ac_ext
47760 cat >>conftest.
$ac_ext <<_ACEOF
47761 /* end confdefs.h. */
47766 rm -f conftest.
$ac_objext
47767 if { (ac_try
="$ac_compile"
47768 case "(($ac_try" in
47769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47770 *) ac_try_echo=$ac_try;;
47772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47773 (eval "$ac_compile") 2>conftest.er1
47775 grep -v '^ *+' conftest.er1 >conftest.err
47777 cat conftest.err >&5
47778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47779 (exit $ac_status); } && {
47780 test -z "$ac_c_werror_flag" ||
47781 test ! -s conftest.err
47782 } && test -s conftest.$ac_objext; then
47783 ac_cv_header_ole2_h=yes
47785 echo "$as_me: failed program was:" >&5
47786 sed 's/^/| /' conftest.$ac_ext >&5
47788 ac_cv_header_ole2_h=no
47791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47793 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47794 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47798 if test "$ac_cv_header_ole2_h" = "yes" ; then
47799 if test "$GCC" = yes ; then
47800 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47801 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47802 cat >conftest.$ac_ext <<_ACEOF
47805 cat confdefs.h >>conftest.$ac_ext
47806 cat >>conftest.$ac_ext <<_ACEOF
47807 /* end confdefs.h. */
47808 #include <windows.h>
47818 rm -f conftest.$ac_objext
47819 if { (ac_try="$ac_compile"
47820 case "(($ac_try" in
47821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47822 *) ac_try_echo
=$ac_try;;
47824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47825 (eval "$ac_compile") 2>conftest.er1
47827 grep -v '^ *+' conftest.er1
>conftest.err
47829 cat conftest.err
>&5
47830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47831 (exit $ac_status); } && {
47832 test -z "$ac_c_werror_flag" ||
47833 test ! -s conftest.err
47834 } && test -s conftest.
$ac_objext; then
47835 { echo "$as_me:$LINENO: result: no" >&5
47836 echo "${ECHO_T}no" >&6; }
47838 echo "$as_me: failed program was:" >&5
47839 sed 's/^/| /' conftest.
$ac_ext >&5
47841 { echo "$as_me:$LINENO: result: yes" >&5
47842 echo "${ECHO_T}yes" >&6; }
47843 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47847 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47848 if test "$wxUSE_OLE" = "yes" ; then
47849 cat >>confdefs.h
<<\_ACEOF
47850 #define wxUSE_OLE 1
47853 cat >>confdefs.h
<<\_ACEOF
47854 #define wxUSE_OLE_AUTOMATION 1
47857 cat >>confdefs.h
<<\_ACEOF
47858 #define wxUSE_ACTIVEX 1
47861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
47865 if test "$wxUSE_DATAOBJ" = "yes" ; then
47866 cat >>confdefs.h
<<\_ACEOF
47867 #define wxUSE_DATAOBJ 1
47872 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47873 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47876 wxUSE_DRAG_AND_DROP
=no
47881 if test "$wxUSE_METAFILE" = "yes"; then
47882 cat >>confdefs.h
<<\_ACEOF
47883 #define wxUSE_METAFILE 1
47887 cat >>confdefs.h
<<\_ACEOF
47888 #define wxUSE_ENH_METAFILE 1
47894 if test "$wxUSE_IPC" = "yes"; then
47895 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47896 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47897 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47901 if test "$wxUSE_IPC" = "yes"; then
47902 cat >>confdefs.h
<<\_ACEOF
47903 #define wxUSE_IPC 1
47906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47910 if test "$wxUSE_DATAOBJ" = "yes"; then
47911 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47912 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47913 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47916 cat >>confdefs.h
<<\_ACEOF
47917 #define wxUSE_DATAOBJ 1
47922 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47923 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47925 wxUSE_DRAG_AND_DROP
=no
47928 if test "$wxUSE_CLIPBOARD" = "yes"; then
47929 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47930 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47931 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47935 if test "$wxUSE_CLIPBOARD" = "yes"; then
47936 cat >>confdefs.h
<<\_ACEOF
47937 #define wxUSE_CLIPBOARD 1
47943 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47944 if test "$wxUSE_GTK" = 1; then
47945 if test "$WXGTK12" != 1; then
47946 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47947 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47948 wxUSE_DRAG_AND_DROP
=no
47952 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47953 "$wxUSE_DFB" = 1; then
47954 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47955 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47956 wxUSE_DRAG_AND_DROP
=no
47959 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47960 cat >>confdefs.h
<<\_ACEOF
47961 #define wxUSE_DRAG_AND_DROP 1
47968 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
47972 if test "$wxUSE_SPLINES" = "yes" ; then
47973 cat >>confdefs.h
<<\_ACEOF
47974 #define wxUSE_SPLINES 1
47979 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47980 cat >>confdefs.h
<<\_ACEOF
47981 #define wxUSE_MOUSEWHEEL 1
47988 if test "$wxUSE_CONTROLS" = "yes"; then
47992 if test "$wxUSE_ACCEL" = "yes"; then
47993 cat >>confdefs.h
<<\_ACEOF
47994 #define wxUSE_ACCEL 1
48000 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48001 cat >>confdefs.h
<<\_ACEOF
48002 #define wxUSE_ANIMATIONCTRL 1
48006 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
48009 if test "$wxUSE_BUTTON" = "yes"; then
48010 cat >>confdefs.h
<<\_ACEOF
48011 #define wxUSE_BUTTON 1
48017 if test "$wxUSE_BMPBUTTON" = "yes"; then
48018 cat >>confdefs.h
<<\_ACEOF
48019 #define wxUSE_BMPBUTTON 1
48025 if test "$wxUSE_CALCTRL" = "yes"; then
48026 cat >>confdefs.h
<<\_ACEOF
48027 #define wxUSE_CALENDARCTRL 1
48031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
48034 if test "$wxUSE_CARET" = "yes"; then
48035 cat >>confdefs.h
<<\_ACEOF
48036 #define wxUSE_CARET 1
48040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
48043 if test "$wxUSE_COLLPANE" = "yes"; then
48044 cat >>confdefs.h
<<\_ACEOF
48045 #define wxUSE_COLLPANE 1
48049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
48052 if test "$wxUSE_COMBOBOX" = "yes"; then
48053 cat >>confdefs.h
<<\_ACEOF
48054 #define wxUSE_COMBOBOX 1
48060 if test "$wxUSE_COMBOCTRL" = "yes"; then
48061 cat >>confdefs.h
<<\_ACEOF
48062 #define wxUSE_COMBOCTRL 1
48068 if test "$wxUSE_CHOICE" = "yes"; then
48069 cat >>confdefs.h
<<\_ACEOF
48070 #define wxUSE_CHOICE 1
48076 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48077 cat >>confdefs.h
<<\_ACEOF
48078 #define wxUSE_CHOICEBOOK 1
48084 if test "$wxUSE_CHECKBOX" = "yes"; then
48085 cat >>confdefs.h
<<\_ACEOF
48086 #define wxUSE_CHECKBOX 1
48092 if test "$wxUSE_CHECKLST" = "yes"; then
48093 cat >>confdefs.h
<<\_ACEOF
48094 #define wxUSE_CHECKLISTBOX 1
48100 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48101 cat >>confdefs.h
<<\_ACEOF
48102 #define wxUSE_COLOURPICKERCTRL 1
48108 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48109 cat >>confdefs.h
<<\_ACEOF
48110 #define wxUSE_DATEPICKCTRL 1
48116 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48117 cat >>confdefs.h
<<\_ACEOF
48118 #define wxUSE_DIRPICKERCTRL 1
48124 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48125 cat >>confdefs.h
<<\_ACEOF
48126 #define wxUSE_FILEPICKERCTRL 1
48132 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48133 cat >>confdefs.h
<<\_ACEOF
48134 #define wxUSE_FONTPICKERCTRL 1
48140 if test "$wxUSE_DISPLAY" = "yes"; then
48141 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48142 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48143 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48146 cat >>confdefs.h
<<\_ACEOF
48147 #define wxUSE_DISPLAY 1
48150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
48154 if test "$wxUSE_DETECT_SM" = "yes"; then
48155 cat >>confdefs.h
<<\_ACEOF
48156 #define wxUSE_DETECT_SM 1
48161 if test "$wxUSE_GAUGE" = "yes"; then
48162 cat >>confdefs.h
<<\_ACEOF
48163 #define wxUSE_GAUGE 1
48169 if test "$wxUSE_GRID" = "yes"; then
48170 cat >>confdefs.h
<<\_ACEOF
48171 #define wxUSE_GRID 1
48175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
48178 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48179 cat >>confdefs.h
<<\_ACEOF
48180 #define wxUSE_HYPERLINKCTRL 1
48186 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48187 cat >>confdefs.h
<<\_ACEOF
48188 #define wxUSE_BITMAPCOMBOBOX 1
48194 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48195 cat >>confdefs.h
<<\_ACEOF
48196 #define wxUSE_DATAVIEWCTRL 1
48200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
48203 if test "$wxUSE_IMAGLIST" = "yes"; then
48204 cat >>confdefs.h
<<\_ACEOF
48205 #define wxUSE_IMAGLIST 1
48210 if test "$wxUSE_LISTBOOK" = "yes"; then
48211 cat >>confdefs.h
<<\_ACEOF
48212 #define wxUSE_LISTBOOK 1
48218 if test "$wxUSE_LISTBOX" = "yes"; then
48219 cat >>confdefs.h
<<\_ACEOF
48220 #define wxUSE_LISTBOX 1
48226 if test "$wxUSE_LISTCTRL" = "yes"; then
48227 if test "$wxUSE_IMAGLIST" = "yes"; then
48228 cat >>confdefs.h
<<\_ACEOF
48229 #define wxUSE_LISTCTRL 1
48233 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
48235 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48236 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48240 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48241 cat >>confdefs.h
<<\_ACEOF
48242 #define wxUSE_EDITABLELISTBOX 1
48246 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
48249 if test "$wxUSE_NOTEBOOK" = "yes"; then
48250 cat >>confdefs.h
<<\_ACEOF
48251 #define wxUSE_NOTEBOOK 1
48255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
48258 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48259 cat >>confdefs.h
<<\_ACEOF
48260 #define wxUSE_ODCOMBOBOX 1
48264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
48267 if test "$wxUSE_RADIOBOX" = "yes"; then
48268 cat >>confdefs.h
<<\_ACEOF
48269 #define wxUSE_RADIOBOX 1
48275 if test "$wxUSE_RADIOBTN" = "yes"; then
48276 cat >>confdefs.h
<<\_ACEOF
48277 #define wxUSE_RADIOBTN 1
48283 if test "$wxUSE_SASH" = "yes"; then
48284 cat >>confdefs.h
<<\_ACEOF
48285 #define wxUSE_SASH 1
48288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
48291 if test "$wxUSE_SCROLLBAR" = "yes"; then
48292 cat >>confdefs.h
<<\_ACEOF
48293 #define wxUSE_SCROLLBAR 1
48297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
48300 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48301 cat >>confdefs.h
<<\_ACEOF
48302 #define wxUSE_SEARCHCTRL 1
48308 if test "$wxUSE_SLIDER" = "yes"; then
48309 cat >>confdefs.h
<<\_ACEOF
48310 #define wxUSE_SLIDER 1
48316 if test "$wxUSE_SPINBTN" = "yes"; then
48317 cat >>confdefs.h
<<\_ACEOF
48318 #define wxUSE_SPINBTN 1
48324 if test "$wxUSE_SPINCTRL" = "yes"; then
48325 cat >>confdefs.h
<<\_ACEOF
48326 #define wxUSE_SPINCTRL 1
48332 if test "$wxUSE_SPLITTER" = "yes"; then
48333 cat >>confdefs.h
<<\_ACEOF
48334 #define wxUSE_SPLITTER 1
48337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
48340 if test "$wxUSE_STATBMP" = "yes"; then
48341 cat >>confdefs.h
<<\_ACEOF
48342 #define wxUSE_STATBMP 1
48348 if test "$wxUSE_STATBOX" = "yes"; then
48349 cat >>confdefs.h
<<\_ACEOF
48350 #define wxUSE_STATBOX 1
48356 if test "$wxUSE_STATTEXT" = "yes"; then
48357 cat >>confdefs.h
<<\_ACEOF
48358 #define wxUSE_STATTEXT 1
48364 if test "$wxUSE_STATLINE" = "yes"; then
48365 cat >>confdefs.h
<<\_ACEOF
48366 #define wxUSE_STATLINE 1
48372 if test "$wxUSE_STATUSBAR" = "yes"; then
48373 cat >>confdefs.h
<<\_ACEOF
48374 #define wxUSE_NATIVE_STATUSBAR 1
48377 cat >>confdefs.h
<<\_ACEOF
48378 #define wxUSE_STATUSBAR 1
48383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
48386 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48387 cat >>confdefs.h
<<\_ACEOF
48388 #define wxUSE_TAB_DIALOG 1
48393 if test "$wxUSE_TEXTCTRL" = "yes"; then
48394 cat >>confdefs.h
<<\_ACEOF
48395 #define wxUSE_TEXTCTRL 1
48399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
48402 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48403 if test "$wxUSE_COCOA" = 1 ; then
48404 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48405 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48409 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48410 cat >>confdefs.h
<<\_ACEOF
48411 #define wxUSE_TOGGLEBTN 1
48418 if test "$wxUSE_TOOLBAR" = "yes"; then
48419 cat >>confdefs.h
<<\_ACEOF
48420 #define wxUSE_TOOLBAR 1
48425 if test "$wxUSE_UNIVERSAL" = "yes"; then
48426 wxUSE_TOOLBAR_NATIVE
="no"
48428 wxUSE_TOOLBAR_NATIVE
="yes"
48429 cat >>confdefs.h
<<\_ACEOF
48430 #define wxUSE_TOOLBAR_NATIVE 1
48435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
48438 if test "$wxUSE_TOOLTIPS" = "yes"; then
48439 if test "$wxUSE_MOTIF" = 1; then
48440 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48441 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48443 if test "$wxUSE_UNIVERSAL" = "yes"; then
48444 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48445 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48447 cat >>confdefs.h
<<\_ACEOF
48448 #define wxUSE_TOOLTIPS 1
48455 if test "$wxUSE_TREEBOOK" = "yes"; then
48456 cat >>confdefs.h
<<\_ACEOF
48457 #define wxUSE_TREEBOOK 1
48463 if test "$wxUSE_TOOLBOOK" = "yes"; then
48464 cat >>confdefs.h
<<\_ACEOF
48465 #define wxUSE_TOOLBOOK 1
48471 if test "$wxUSE_TREECTRL" = "yes"; then
48472 if test "$wxUSE_IMAGLIST" = "yes"; then
48473 cat >>confdefs.h
<<\_ACEOF
48474 #define wxUSE_TREECTRL 1
48478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
48480 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48481 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48485 if test "$wxUSE_POPUPWIN" = "yes"; then
48486 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48487 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48488 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48490 if test "$wxUSE_PM" = 1; then
48491 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48492 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48494 cat >>confdefs.h
<<\_ACEOF
48495 #define wxUSE_POPUPWIN 1
48498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
48505 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48506 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48507 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48508 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48510 cat >>confdefs.h
<<\_ACEOF
48511 #define wxUSE_DIALUP_MANAGER 1
48514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
48518 if test "$wxUSE_TIPWINDOW" = "yes"; then
48519 if test "$wxUSE_PM" = 1; then
48520 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48521 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48523 cat >>confdefs.h
<<\_ACEOF
48524 #define wxUSE_TIPWINDOW 1
48530 if test "$USES_CONTROLS" = 1; then
48531 cat >>confdefs.h
<<\_ACEOF
48532 #define wxUSE_CONTROLS 1
48538 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48539 cat >>confdefs.h
<<\_ACEOF
48540 #define wxUSE_ACCESSIBILITY 1
48543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
48546 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48547 cat >>confdefs.h
<<\_ACEOF
48548 #define wxUSE_DRAGIMAGE 1
48551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
48554 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48555 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48556 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48557 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48559 cat >>confdefs.h
<<\_ACEOF
48560 #define wxUSE_EXCEPTIONS 1
48563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
48568 if test "$wxUSE_HTML" = "yes"; then
48569 cat >>confdefs.h
<<\_ACEOF
48570 #define wxUSE_HTML 1
48574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48575 if test "$wxUSE_MAC" = 1; then
48576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
48579 if test "$wxUSE_WEBKIT" = "yes"; then
48580 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48581 old_CPPFLAGS
="$CPPFLAGS"
48582 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
48583 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48584 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48585 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48586 echo $ECHO_N "(cached) $ECHO_C" >&6
48588 cat >conftest.
$ac_ext <<_ACEOF
48591 cat confdefs.h
>>conftest.
$ac_ext
48592 cat >>conftest.
$ac_ext <<_ACEOF
48593 /* end confdefs.h. */
48595 #include <Carbon/Carbon.h>
48596 #include <WebKit/WebKit.h>
48599 #include <WebKit/HIWebView.h>
48601 rm -f conftest.
$ac_objext
48602 if { (ac_try
="$ac_compile"
48603 case "(($ac_try" in
48604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48605 *) ac_try_echo=$ac_try;;
48607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48608 (eval "$ac_compile") 2>conftest.er1
48610 grep -v '^ *+' conftest.er1 >conftest.err
48612 cat conftest.err >&5
48613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48614 (exit $ac_status); } && {
48615 test -z "$ac_c_werror_flag" ||
48616 test ! -s conftest.err
48617 } && test -s conftest.$ac_objext; then
48618 ac_cv_header_WebKit_HIWebView_h=yes
48620 echo "$as_me: failed program was:" >&5
48621 sed 's/^/| /' conftest.$ac_ext >&5
48623 ac_cv_header_WebKit_HIWebView_h=no
48626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48628 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48629 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48630 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48632 cat >>confdefs.h <<\_ACEOF
48633 #define wxUSE_WEBKIT 1
48636 WEBKIT_LINK="-framework WebKit"
48640 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48641 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48647 CPPFLAGS="$old_CPPFLAGS"
48648 elif test "$wxUSE_COCOA" = 1; then
48649 cat >>confdefs.h <<\_ACEOF
48650 #define wxUSE_WEBKIT 1
48659 if test "$wxUSE_XRC" = "yes"; then
48660 if test "$wxUSE_XML" != "yes"; then
48661 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48662 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48665 cat >>confdefs.h <<\_ACEOF
48666 #define wxUSE_XRC 1
48670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48675 if test "$wxUSE_AUI" = "yes"; then
48676 cat >>confdefs.h <<\_ACEOF
48677 #define wxUSE_AUI 1
48681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48685 if test "$wxUSE_STC" = "yes"; then
48686 cat >>confdefs.h <<\_ACEOF
48687 #define wxUSE_STC 1
48691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48694 if test "$wxUSE_MENUS" = "yes"; then
48695 cat >>confdefs.h <<\_ACEOF
48696 #define wxUSE_MENUS 1
48699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48702 if test "$wxUSE_METAFILE" = "yes"; then
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_METAFILE 1
48709 if test "$wxUSE_MIMETYPE" = "yes"; then
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_MIMETYPE 1
48716 if test "$wxUSE_MINIFRAME" = "yes"; then
48717 cat >>confdefs.h <<\_ACEOF
48718 #define wxUSE_MINIFRAME 1
48723 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48724 cat >>confdefs.h <<\_ACEOF
48725 #define wxUSE_SYSTEM_OPTIONS 1
48730 if test "$wxUSE_TASKBARICON" = "yes"; then
48731 cat >>confdefs.h <<\_ACEOF
48732 #define wxUSE_TASKBARICON 1
48735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48739 if test "$wxUSE_VALIDATORS" = "yes"; then
48740 cat >>confdefs.h <<\_ACEOF
48741 #define wxUSE_VALIDATORS 1
48744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48747 if test "$wxUSE_PALETTE" = "yes" ; then
48748 if test "$wxUSE_DFB" = 1; then
48749 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48750 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48753 cat >>confdefs.h <<\_ACEOF
48754 #define wxUSE_PALETTE 1
48760 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48761 LIBS=" -lunicows $LIBS"
48765 if test "$wxUSE_RICHTEXT" = "yes"; then
48766 cat >>confdefs.h <<\_ACEOF
48767 #define wxUSE_RICHTEXT 1
48771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48775 if test "$wxUSE_IMAGE" = "yes" ; then
48776 cat >>confdefs.h <<\_ACEOF
48777 #define wxUSE_IMAGE 1
48781 if test "$wxUSE_GIF" = "yes" ; then
48782 cat >>confdefs.h <<\_ACEOF
48783 #define wxUSE_GIF 1
48788 if test "$wxUSE_PCX" = "yes" ; then
48789 cat >>confdefs.h <<\_ACEOF
48790 #define wxUSE_PCX 1
48795 if test "$wxUSE_TGA" = "yes" ; then
48796 cat >>confdefs.h <<\_ACEOF
48797 #define wxUSE_TGA 1
48802 if test "$wxUSE_IFF" = "yes" ; then
48803 cat >>confdefs.h <<\_ACEOF
48804 #define wxUSE_IFF 1
48809 if test "$wxUSE_PNM" = "yes" ; then
48810 cat >>confdefs.h <<\_ACEOF
48811 #define wxUSE_PNM 1
48816 if test "$wxUSE_XPM" = "yes" ; then
48817 cat >>confdefs.h <<\_ACEOF
48818 #define wxUSE_XPM 1
48823 if test "$wxUSE_ICO_CUR" = "yes" ; then
48824 cat >>confdefs.h <<\_ACEOF
48825 #define wxUSE_ICO_CUR 1
48832 if test "$wxUSE_ABOUTDLG" = "yes"; then
48833 cat >>confdefs.h <<\_ACEOF
48834 #define wxUSE_ABOUTDLG 1
48839 if test "$wxUSE_CHOICEDLG" = "yes"; then
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_CHOICEDLG 1
48846 if test "$wxUSE_COLOURDLG" = "yes"; then
48847 cat >>confdefs.h <<\_ACEOF
48848 #define wxUSE_COLOURDLG 1
48853 if test "$wxUSE_FILEDLG" = "yes"; then
48854 cat >>confdefs.h <<\_ACEOF
48855 #define wxUSE_FILEDLG 1
48860 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48861 cat >>confdefs.h <<\_ACEOF
48862 #define wxUSE_FINDREPLDLG 1
48867 if test "$wxUSE_FONTDLG" = "yes"; then
48868 cat >>confdefs.h <<\_ACEOF
48869 #define wxUSE_FONTDLG 1
48874 if test "$wxUSE_DIRDLG" = "yes"; then
48875 if test "$wxUSE_TREECTRL" != "yes"; then
48876 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48877 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48879 cat >>confdefs.h <<\_ACEOF
48880 #define wxUSE_DIRDLG 1
48886 if test "$wxUSE_MSGDLG" = "yes"; then
48887 cat >>confdefs.h <<\_ACEOF
48888 #define wxUSE_MSGDLG 1
48893 if test "$wxUSE_NUMBERDLG" = "yes"; then
48894 cat >>confdefs.h <<\_ACEOF
48895 #define wxUSE_NUMBERDLG 1
48900 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48901 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48902 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48903 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48905 cat >>confdefs.h <<\_ACEOF
48906 #define wxUSE_PROGRESSDLG 1
48912 if test "$wxUSE_SPLASH" = "yes"; then
48913 cat >>confdefs.h <<\_ACEOF
48914 #define wxUSE_SPLASH 1
48917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48920 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48921 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48922 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48923 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48925 cat >>confdefs.h <<\_ACEOF
48926 #define wxUSE_STARTUP_TIPS 1
48932 if test "$wxUSE_TEXTDLG" = "yes"; then
48933 cat >>confdefs.h <<\_ACEOF
48934 #define wxUSE_TEXTDLG 1
48939 if test "$wxUSE_WIZARDDLG" = "yes"; then
48940 cat >>confdefs.h <<\_ACEOF
48941 #define wxUSE_WIZARDDLG 1
48944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48948 if test "$wxUSE_MSW" = 1 ; then
48950 if test "$wxUSE_DC_CACHEING" = "yes"; then
48951 cat >>confdefs.h <<\_ACEOF
48952 #define wxUSE_DC_CACHEING 1
48957 if test "$wxUSE_DIB" = "yes"; then
48958 cat >>confdefs.h <<\_ACEOF
48959 #define wxUSE_WXDIB 1
48964 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48965 cat >>confdefs.h <<\_ACEOF
48966 #define wxUSE_OWNER_DRAWN 1
48971 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48972 cat >>confdefs.h <<\_ACEOF
48973 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48978 if test "$wxUSE_UXTHEME" = "yes"; then
48979 cat >>confdefs.h <<\_ACEOF
48980 #define wxUSE_UXTHEME 1
48988 if test "$USE_WIN32" = 1 ; then
48989 if test "$wxUSE_INICONF" = "yes"; then
48990 cat >>confdefs.h <<\_ACEOF
48991 #define wxUSE_INICONF 1
48996 if test "$wxUSE_REGKEY" = "yes"; then
48997 cat >>confdefs.h <<\_ACEOF
48998 #define wxUSE_REGKEY 1
49005 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49006 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49007 cat >>confdefs.h <<\_ACEOF
49008 #define wxUSE_GRAPHICS_CONTEXT 1
49011 elif test "$wxUSE_GTK" != 1; then
49012 cat >>confdefs.h <<\_ACEOF
49013 #define wxUSE_GRAPHICS_CONTEXT 1
49019 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49020 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49022 if test -n "$PKG_CONFIG"; then
49023 if test -n "$CAIRO_CFLAGS"; then
49024 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49026 if test -n "$PKG_CONFIG" && \
49027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49028 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49031 (exit $ac_status); }; then
49032 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
49040 if test -n "$PKG_CONFIG"; then
49041 if test -n "$CAIRO_LIBS"; then
49042 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49044 if test -n "$PKG_CONFIG" && \
49045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49046 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49049 (exit $ac_status); }; then
49050 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
49061 if test $pkg_failed = yes; then
49063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49064 _pkg_short_errors_supported=yes
49066 _pkg_short_errors_supported=no
49068 if test $_pkg_short_errors_supported = yes; then
49069 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49071 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49073 # Put the nasty error message in config.log where it belongs
49074 echo "$CAIRO_PKG_ERRORS" >&5
49076 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49077 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49079 elif test $pkg_failed = untried; then
49080 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49081 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49084 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49085 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49086 { echo "$as_me:$LINENO: result: yes" >&5
49087 echo "${ECHO_T}yes" >&6; }
49088 cat >>confdefs.h <<\_ACEOF
49089 #define wxUSE_GRAPHICS_CONTEXT 1
49099 if test "$wxUSE_MEDIACTRL" = "yes"; then
49102 if test "$wxUSE_GTK" = 1; then
49103 wxUSE_GSTREAMER="no"
49105 GST_VERSION_MAJOR=0
49106 GST_VERSION_MINOR=10
49107 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49109 if test "$wxUSE_GSTREAMER8" = "no"; then
49112 { echo "$as_me:$LINENO: checking for GST" >&5
49113 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49115 if test -n "$PKG_CONFIG"; then
49116 if test -n "$GST_CFLAGS"; then
49117 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49119 if test -n "$PKG_CONFIG" && \
49120 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49121 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49124 (exit $ac_status); }; then
49125 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
49133 if test -n "$PKG_CONFIG"; then
49134 if test -n "$GST_LIBS"; then
49135 pkg_cv_GST_LIBS="$GST_LIBS"
49137 if test -n "$PKG_CONFIG" && \
49138 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49139 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49142 (exit $ac_status); }; then
49143 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
49154 if test $pkg_failed = yes; then
49156 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49157 _pkg_short_errors_supported=yes
49159 _pkg_short_errors_supported=no
49161 if test $_pkg_short_errors_supported = yes; then
49162 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49164 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49166 # Put the nasty error message in config.log where it belongs
49167 echo "$GST_PKG_ERRORS" >&5
49170 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49171 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49172 GST_VERSION_MINOR=8
49175 elif test $pkg_failed = untried; then
49177 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49178 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49179 GST_VERSION_MINOR=8
49183 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49184 GST_LIBS=$pkg_cv_GST_LIBS
49185 { echo "$as_me:$LINENO: result: yes" >&5
49186 echo "${ECHO_T}yes" >&6; }
49188 wxUSE_GSTREAMER="yes"
49189 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49193 GST_VERSION_MINOR=8
49196 if test $GST_VERSION_MINOR = "8"; then
49197 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49200 { echo "$as_me:$LINENO: checking for GST" >&5
49201 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49203 if test -n "$PKG_CONFIG"; then
49204 if test -n "$GST_CFLAGS"; then
49205 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49207 if test -n "$PKG_CONFIG" && \
49208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49209 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49212 (exit $ac_status); }; then
49213 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
49221 if test -n "$PKG_CONFIG"; then
49222 if test -n "$GST_LIBS"; then
49223 pkg_cv_GST_LIBS="$GST_LIBS"
49225 if test -n "$PKG_CONFIG" && \
49226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49227 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49230 (exit $ac_status); }; then
49231 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
49242 if test $pkg_failed = yes; then
49244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49245 _pkg_short_errors_supported=yes
49247 _pkg_short_errors_supported=no
49249 if test $_pkg_short_errors_supported = yes; then
49250 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49252 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49254 # Put the nasty error message in config.log where it belongs
49255 echo "$GST_PKG_ERRORS" >&5
49258 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49259 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49261 elif test $pkg_failed = untried; then
49263 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49264 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49267 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49268 GST_LIBS=$pkg_cv_GST_LIBS
49269 { echo "$as_me:$LINENO: result: yes" >&5
49270 echo "${ECHO_T}yes" >&6; }
49271 wxUSE_GSTREAMER="yes"
49276 if test "$wxUSE_GSTREAMER" = "yes"; then
49277 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49278 LIBS="$GST_LIBS $LIBS"
49280 cat >>confdefs.h <<\_ACEOF
49281 #define wxUSE_GSTREAMER 1
49289 if test $USE_MEDIA = 1; then
49290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49291 cat >>confdefs.h <<\_ACEOF
49292 #define wxUSE_MEDIACTRL 1
49299 if test "$cross_compiling" = "yes"; then
49302 OSINFO=`uname
-s -r -m`
49303 OSINFO="\"$OSINFO\""
49306 cat >>confdefs.h <<_ACEOF
49307 #define WXWIN_OS_DESCRIPTION $OSINFO
49312 if test "x$prefix" != "xNONE"; then
49315 wxPREFIX=$ac_default_prefix
49318 cat >>confdefs.h <<_ACEOF
49319 #define wxINSTALL_PREFIX "$wxPREFIX"
49325 STD_BASE_LIBS="base"
49327 BUILT_WX_LIBS="base"
49328 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49330 if test "$wxUSE_SOCKETS" = "yes" ; then
49331 STD_BASE_LIBS="net $STD_BASE_LIBS"
49332 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49334 if test "$wxUSE_ODBC" != "no" ; then
49335 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49337 if test "$wxUSE_XML" = "yes" ; then
49338 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49339 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49342 if test "$wxUSE_GUI" = "yes"; then
49343 STD_GUI_LIBS="adv core"
49344 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49346 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49347 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49348 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49350 if test "$wxUSE_ODBC" != "no" ; then
49351 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49353 if test "$wxUSE_HTML" = "yes" ; then
49354 STD_GUI_LIBS="html $STD_GUI_LIBS"
49355 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49357 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49358 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49360 if test "$wxUSE_OPENGL" = "yes" ; then
49361 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49363 if test "$wxUSE_AUI" = "yes" ; then
49364 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49366 if test "$wxUSE_STC" = "yes" ; then
49367 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49369 if test "$wxUSE_XRC" = "yes" ; then
49370 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49371 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49382 if test "$wxUSE_MAC" = 1 ; then
49383 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49384 if test "$USE_DARWIN" = 1; then
49385 LDFLAGS="$LDFLAGS -framework QuickTime"
49387 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49390 if test "$USE_DARWIN" = 1; then
49391 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49393 LDFLAGS="$LDFLAGS -lCarbonLib"
49396 if test "$wxUSE_COCOA" = 1 ; then
49397 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49398 if test "$wxUSE_MEDIACTRL" = "yes"; then
49399 LDFLAGS="$LDFLAGS -framework QuickTime"
49402 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49403 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49406 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49408 if test "$wxUSE_GUI" = "yes"; then
49411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49412 erase event exec font image minimal mobile \
49413 mobile/wxedit mobile/styles render \
49414 shaped svg taborder vscroll widgets"
49416 if test "$wxUSE_MONOLITHIC" != "yes"; then
49417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49419 if test "$TOOLKIT" = "MSW"; then
49420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49421 if test "$wxUSE_UNIVERSAL" != "yes"; then
49422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49425 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49429 SAMPLES_SUBDIRS="console"
49433 if test "x$INTELCC" = "xyes" ; then
49434 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49435 elif test "$GCC" = yes ; then
49436 CWARNINGS="-Wall -Wundef"
49439 if test "x$INTELCXX" = "xyes" ; then
49440 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49441 elif test "$GXX" = yes ; then
49442 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49446 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49447 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49450 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49451 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
49452 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
49455 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49456 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49457 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49459 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49462 if test "x$MWCC" = "xyes"; then
49464 CC="$CC -cwd source -I-"
49465 CXX="$CXX -cwd source -I-"
49470 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49471 EXTRALIBS_XML="$EXPAT_LINK"
49472 EXTRALIBS_HTML="$MSPACK_LINK"
49473 EXTRALIBS_ODBC="$ODBC_LINK"
49474 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49475 if test "$wxUSE_GUI" = "yes"; then
49476 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49478 if test "$wxUSE_OPENGL" = "yes"; then
49479 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49482 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49484 WXCONFIG_LIBS="$LIBS"
49486 if test "$wxUSE_REGEX" = "builtin" ; then
49487 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49489 if test "$wxUSE_EXPAT" = "builtin" ; then
49490 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49492 if test "$wxUSE_ODBC" = "builtin" ; then
49493 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49495 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49496 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49498 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49499 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49501 if test "$wxUSE_LIBPNG" = "builtin" ; then
49502 wxconfig_3rdparty="png $wxconfig_3rdparty"
49504 if test "$wxUSE_ZLIB" = "builtin" ; then
49505 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49508 for i in $wxconfig_3rdparty ; do
49509 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49513 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49516 case "$wxUNIV_THEMES" in
49518 cat >>confdefs.h <<\_ACEOF
49519 #define wxUSE_ALL_THEMES 1
49525 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
49526 cat >>confdefs.h <<_ACEOF
49527 #define wxUSE_THEME_$t 1
49544 if test $wxUSE_MONOLITHIC = "yes" ; then
49550 if test $wxUSE_PLUGINS = "yes" ; then
49556 if test $wxUSE_ODBC != "no" ; then
49562 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49568 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49599 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49610 TOOLKIT_DESC="GTK+"
49611 if test "$WXGTK20" = 1; then
49612 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49613 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49614 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49616 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49617 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49619 if test "$wxUSE_LIBHILDON" = "yes"; then
49620 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49623 if test "$TOOLKIT_EXTRA" != ""; then
49624 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49630 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49634 TOOLKIT_DESC="base only"
49638 if test "$wxUSE_WINE" = "yes"; then
49639 BAKEFILE_FORCE_PLATFORM=win32
49642 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49644 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49645 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49646 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49647 echo $ECHO_N "(cached) $ECHO_C" >&6
49650 echo '#include <stdio.h>
49651 const wchar_t test_var[] = L"awidetest";' > conftest.h
49653 echo '#include "conftest.h"
49656 printf("%ls", test_var);
49660 wx_cv_gcc_pch_bug="pch not supported"
49662 if $CXX conftest.h >/dev/null 2>&1
49666 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49668 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49669 grep awidetest >/dev/null
49671 wx_cv_gcc_pch_bug=no
49673 wx_cv_gcc_pch_bug=yes
49678 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49681 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49682 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49684 if test "$wx_cv_gcc_pch_bug" = yes; then
49692 if test "x$BAKEFILE_HOST" = "x"; then
49693 if test "x${host}" = "x" ; then
49694 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49695 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49696 { (exit 1); exit 1; }; }
49699 BAKEFILE_HOST="${host}"
49702 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49704 if test -n "$ac_tool_prefix"; then
49705 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49706 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49709 if test "${ac_cv_prog_RANLIB+set}" = set; then
49710 echo $ECHO_N "(cached) $ECHO_C" >&6
49712 if test -n "$RANLIB"; then
49713 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49716 for as_dir in $PATH
49719 test -z "$as_dir" && as_dir=.
49720 for ac_exec_ext in '' $ac_executable_extensions; do
49721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49722 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49732 RANLIB=$ac_cv_prog_RANLIB
49733 if test -n "$RANLIB"; then
49734 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49735 echo "${ECHO_T}$RANLIB" >&6; }
49737 { echo "$as_me:$LINENO: result: no" >&5
49738 echo "${ECHO_T}no" >&6; }
49743 if test -z "$ac_cv_prog_RANLIB"; then
49744 ac_ct_RANLIB=$RANLIB
49745 # Extract the first word of "ranlib", so it can be a program name with args.
49746 set dummy ranlib; ac_word=$2
49747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49749 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49750 echo $ECHO_N "(cached) $ECHO_C" >&6
49752 if test -n "$ac_ct_RANLIB"; then
49753 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49756 for as_dir in $PATH
49759 test -z "$as_dir" && as_dir=.
49760 for ac_exec_ext in '' $ac_executable_extensions; do
49761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49762 ac_cv_prog_ac_ct_RANLIB="ranlib"
49763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49772 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49773 if test -n "$ac_ct_RANLIB"; then
49774 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49775 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49777 { echo "$as_me:$LINENO: result: no" >&5
49778 echo "${ECHO_T}no" >&6; }
49781 if test "x$ac_ct_RANLIB" = x; then
49784 case $cross_compiling:$ac_tool_warned in
49786 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49787 whose name does not start with the host triplet. If you think this
49788 configuration is useful to you, please write to autoconf@gnu.org." >&5
49789 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49790 whose name does not start with the host triplet. If you think this
49791 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49792 ac_tool_warned=yes ;;
49794 RANLIB=$ac_ct_RANLIB
49797 RANLIB="$ac_cv_prog_RANLIB"
49800 # Find a good install program. We prefer a C program (faster),
49801 # so one script is as good as another. But avoid the broken or
49802 # incompatible versions:
49803 # SysV /etc/install, /usr/sbin/install
49804 # SunOS /usr/etc/install
49805 # IRIX /sbin/install
49807 # AmigaOS /C/install, which installs bootblocks on floppy discs
49808 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49809 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49810 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49811 # OS/2's system install, which has a completely different semantic
49812 # ./install, which can be erroneously created by make from ./install.sh.
49813 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49814 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49815 if test -z "$INSTALL"; then
49816 if test "${ac_cv_path_install+set}" = set; then
49817 echo $ECHO_N "(cached) $ECHO_C" >&6
49819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49820 for as_dir in $PATH
49823 test -z "$as_dir" && as_dir=.
49824 # Account for people who put trailing slashes in PATH elements.
49826 ./ | .// | /cC/* | \
49827 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49828 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49831 # OSF1 and SCO ODT 3.0 have their own names for install.
49832 # Don't use installbsd from OSF since it installs stuff as root
49834 for ac_prog in ginstall scoinst install; do
49835 for ac_exec_ext in '' $ac_executable_extensions; do
49836 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49837 if test $ac_prog = install &&
49838 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49839 # AIX install. It has an incompatible calling convention.
49841 elif test $ac_prog = install &&
49842 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49843 # program-specific install script used by HP pwplus--don't use.
49846 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49859 if test "${ac_cv_path_install+set}" = set; then
49860 INSTALL=$ac_cv_path_install
49862 # As a last resort, use the slow shell script. Don't cache a
49863 # value for INSTALL within a source directory, because that will
49864 # break other packages using the cache if that directory is
49865 # removed, or if the value is a relative name.
49866 INSTALL=$ac_install_sh
49869 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49870 echo "${ECHO_T}$INSTALL" >&6; }
49872 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49873 # It thinks the first close brace ends the variable substitution.
49874 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49876 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49878 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49880 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49881 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49883 if test "$LN_S" = "ln -s"; then
49884 { echo "$as_me:$LINENO: result: yes" >&5
49885 echo "${ECHO_T}yes" >&6; }
49887 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49888 echo "${ECHO_T}no, using $LN_S" >&6; }
49892 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49893 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49894 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49895 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49896 echo $ECHO_N "(cached) $ECHO_C" >&6
49898 cat >conftest.make <<\_ACEOF
49901 @echo '@@@%%%=$(MAKE)=@@@%%%'
49903 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49904 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
49905 *@@@%%%=?*=@@@%%%*)
49906 eval ac_cv_prog_make_${ac_make}_set=yes;;
49908 eval ac_cv_prog_make_${ac_make}_set=no;;
49910 rm -f conftest.make
49912 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49913 { echo "$as_me:$LINENO: result: yes" >&5
49914 echo "${ECHO_T}yes" >&6; }
49917 { echo "$as_me:$LINENO: result: no" >&5
49918 echo "${ECHO_T}no" >&6; }
49919 SET_MAKE="MAKE=${MAKE-make}"
49924 if test "x$SUNCXX" = "xyes"; then
49926 AROPTIONS="-xar -o"
49928 elif test "x$SGICC" = "xyes"; then
49933 if test -n "$ac_tool_prefix"; then
49934 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49935 set dummy ${ac_tool_prefix}ar; ac_word=$2
49936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49938 if test "${ac_cv_prog_AR+set}" = set; then
49939 echo $ECHO_N "(cached) $ECHO_C" >&6
49941 if test -n "$AR"; then
49942 ac_cv_prog_AR="$AR" # Let the user override the test.
49944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49945 for as_dir in $PATH
49948 test -z "$as_dir" && as_dir=.
49949 for ac_exec_ext in '' $ac_executable_extensions; do
49950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49951 ac_cv_prog_AR="${ac_tool_prefix}ar"
49952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49962 if test -n "$AR"; then
49963 { echo "$as_me:$LINENO: result: $AR" >&5
49964 echo "${ECHO_T}$AR" >&6; }
49966 { echo "$as_me:$LINENO: result: no" >&5
49967 echo "${ECHO_T}no" >&6; }
49972 if test -z "$ac_cv_prog_AR"; then
49974 # Extract the first word of "ar", so it can be a program name with args.
49975 set dummy ar; ac_word=$2
49976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49978 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49979 echo $ECHO_N "(cached) $ECHO_C" >&6
49981 if test -n "$ac_ct_AR"; then
49982 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49985 for as_dir in $PATH
49988 test -z "$as_dir" && as_dir=.
49989 for ac_exec_ext in '' $ac_executable_extensions; do
49990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49991 ac_cv_prog_ac_ct_AR="ar"
49992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50001 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50002 if test -n "$ac_ct_AR"; then
50003 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50004 echo "${ECHO_T}$ac_ct_AR" >&6; }
50006 { echo "$as_me:$LINENO: result: no" >&5
50007 echo "${ECHO_T}no" >&6; }
50010 if test "x$ac_ct_AR" = x; then
50013 case $cross_compiling:$ac_tool_warned in
50015 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50016 whose name does not start with the host triplet. If you think this
50017 configuration is useful to you, please write to autoconf@gnu.org." >&5
50018 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50019 whose name does not start with the host triplet. If you think this
50020 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50021 ac_tool_warned=yes ;;
50026 AR="$ac_cv_prog_AR"
50033 if test -n "$ac_tool_prefix"; then
50034 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50035 set dummy ${ac_tool_prefix}strip; ac_word=$2
50036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50038 if test "${ac_cv_prog_STRIP+set}" = set; then
50039 echo $ECHO_N "(cached) $ECHO_C" >&6
50041 if test -n "$STRIP"; then
50042 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50045 for as_dir in $PATH
50048 test -z "$as_dir" && as_dir=.
50049 for ac_exec_ext in '' $ac_executable_extensions; do
50050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50051 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50061 STRIP=$ac_cv_prog_STRIP
50062 if test -n "$STRIP"; then
50063 { echo "$as_me:$LINENO: result: $STRIP" >&5
50064 echo "${ECHO_T}$STRIP" >&6; }
50066 { echo "$as_me:$LINENO: result: no" >&5
50067 echo "${ECHO_T}no" >&6; }
50072 if test -z "$ac_cv_prog_STRIP"; then
50074 # Extract the first word of "strip", so it can be a program name with args.
50075 set dummy strip; ac_word=$2
50076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50078 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50079 echo $ECHO_N "(cached) $ECHO_C" >&6
50081 if test -n "$ac_ct_STRIP"; then
50082 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50085 for as_dir in $PATH
50088 test -z "$as_dir" && as_dir=.
50089 for ac_exec_ext in '' $ac_executable_extensions; do
50090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50091 ac_cv_prog_ac_ct_STRIP="strip"
50092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50101 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50102 if test -n "$ac_ct_STRIP"; then
50103 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50104 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50106 { echo "$as_me:$LINENO: result: no" >&5
50107 echo "${ECHO_T}no" >&6; }
50110 if test "x$ac_ct_STRIP" = x; then
50113 case $cross_compiling:$ac_tool_warned in
50115 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50116 whose name does not start with the host triplet. If you think this
50117 configuration is useful to you, please write to autoconf@gnu.org." >&5
50118 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50119 whose name does not start with the host triplet. If you think this
50120 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50121 ac_tool_warned=yes ;;
50126 STRIP="$ac_cv_prog_STRIP"
50129 if test -n "$ac_tool_prefix"; then
50130 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50131 set dummy ${ac_tool_prefix}nm; ac_word=$2
50132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50134 if test "${ac_cv_prog_NM+set}" = set; then
50135 echo $ECHO_N "(cached) $ECHO_C" >&6
50137 if test -n "$NM"; then
50138 ac_cv_prog_NM="$NM" # Let the user override the test.
50140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50141 for as_dir in $PATH
50144 test -z "$as_dir" && as_dir=.
50145 for ac_exec_ext in '' $ac_executable_extensions; do
50146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50147 ac_cv_prog_NM="${ac_tool_prefix}nm"
50148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50158 if test -n "$NM"; then
50159 { echo "$as_me:$LINENO: result: $NM" >&5
50160 echo "${ECHO_T}$NM" >&6; }
50162 { echo "$as_me:$LINENO: result: no" >&5
50163 echo "${ECHO_T}no" >&6; }
50168 if test -z "$ac_cv_prog_NM"; then
50170 # Extract the first word of "nm", so it can be a program name with args.
50171 set dummy nm; ac_word=$2
50172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50174 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50175 echo $ECHO_N "(cached) $ECHO_C" >&6
50177 if test -n "$ac_ct_NM"; then
50178 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50181 for as_dir in $PATH
50184 test -z "$as_dir" && as_dir=.
50185 for ac_exec_ext in '' $ac_executable_extensions; do
50186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50187 ac_cv_prog_ac_ct_NM="nm"
50188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50197 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50198 if test -n "$ac_ct_NM"; then
50199 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50200 echo "${ECHO_T}$ac_ct_NM" >&6; }
50202 { echo "$as_me:$LINENO: result: no" >&5
50203 echo "${ECHO_T}no" >&6; }
50206 if test "x$ac_ct_NM" = x; then
50209 case $cross_compiling:$ac_tool_warned in
50211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50212 whose name does not start with the host triplet. If you think this
50213 configuration is useful to you, please write to autoconf@gnu.org." >&5
50214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50215 whose name does not start with the host triplet. If you think this
50216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50217 ac_tool_warned=yes ;;
50222 NM="$ac_cv_prog_NM"
50226 case ${BAKEFILE_HOST} in
50228 INSTALL_DIR="mkdir -p"
50231 INSTALL_DIR='$(INSTALL) -d'
50237 case ${BAKEFILE_HOST} in
50238 *-*-cygwin* | *-*-mingw32* )
50239 LDFLAGS_GUI="-mwindows"
50245 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50246 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50247 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50248 echo $ECHO_N "(cached) $ECHO_C" >&6
50251 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50252 egrep -s GNU > /dev/null); then
50253 bakefile_cv_prog_makeisgnu="yes"
50255 bakefile_cv_prog_makeisgnu="no"
50259 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50260 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50262 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50279 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50280 case "${BAKEFILE_HOST}" in
50287 *-pc-os2_emx | *-pc-os2-emx )
50297 powerpc-apple-macos* )
50306 case "$BAKEFILE_FORCE_PLATFORM" in
50341 # Check whether --enable-omf was given.
50342 if test "${enable_omf+set}" = set; then
50343 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50347 case "${BAKEFILE_HOST}" in
50349 if test "x$GCC" = "xyes"; then
50350 CFLAGS="$CFLAGS -fno-common"
50351 CXXFLAGS="$CXXFLAGS -fno-common"
50353 if test "x$XLCC" = "xyes"; then
50354 CFLAGS="$CFLAGS -qnocommon"
50355 CXXFLAGS="$CXXFLAGS -qnocommon"
50359 *-pc-os2_emx | *-pc-os2-emx )
50360 if test "x$bk_os2_use_omf" = "xyes" ; then
50363 LDFLAGS="-Zomf $LDFLAGS"
50364 CFLAGS="-Zomf $CFLAGS"
50365 CXXFLAGS="-Zomf $CXXFLAGS"
50373 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50379 SO_SUFFIX_MODULE="so"
50384 DLLPREFIX_MODULE=""
50388 case "${BAKEFILE_HOST}" in
50391 SO_SUFFIX_MODULE="sl"
50395 SO_SUFFIX_MODULE="a"
50399 SO_SUFFIX_MODULE="dll"
50400 DLLIMP_SUFFIX="dll.a"
50407 SO_SUFFIX_MODULE="dll"
50408 DLLIMP_SUFFIX="dll.a"
50418 *-pc-os2_emx | *-pc-os2-emx )
50420 SO_SUFFIX_MODULE="dll"
50421 DLLIMP_SUFFIX=$OS2_LIBEXT
50425 LIBEXT=".$OS2_LIBEXT"
50430 SO_SUFFIX_MODULE="bundle"
50434 if test "x$DLLIMP_SUFFIX" = "x" ; then
50435 DLLIMP_SUFFIX="$SO_SUFFIX"
50450 if test "x$GCC" = "xyes"; then
50454 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50455 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50458 case "${BAKEFILE_HOST}" in
50460 if test "x$GCC" != "xyes"; then
50461 LDFLAGS="$LDFLAGS -L/usr/lib"
50463 SHARED_LD_CC="${CC} -b -o"
50464 SHARED_LD_CXX="${CXX} -b -o"
50470 if test "$INTELCC" = "yes"; then
50472 elif test "x$SUNCXX" = "xyes"; then
50473 SHARED_LD_CC="${CC} -G -o"
50474 SHARED_LD_CXX="${CXX} -G -o"
50480 if test "x$SUNCXX" = xyes ; then
50481 SHARED_LD_CC="${CC} -G -o"
50482 SHARED_LD_CXX="${CXX} -G -o"
50490 cat <<EOF >shared-ld-sh
50492 #-----------------------------------------------------------------------------
50493 #-- Name: distrib/mac/shared-ld-sh
50494 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50495 #-- Author: Gilles Depeyrot
50496 #-- Copyright: (c) 2002 Gilles Depeyrot
50497 #-- Licence: any use permitted
50498 #-----------------------------------------------------------------------------
50503 linking_flag="-dynamiclib"
50504 ldargs="-r -keep_private_externs -nostdlib"
50506 while test ${D}# -gt 0; do
50513 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50514 # collect these options and values
50515 args="${D}{args} ${D}1 ${D}2"
50520 # collect these load args
50521 ldargs="${D}{ldargs} ${D}1"
50524 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50525 # collect these options
50526 args="${D}{args} ${D}1"
50529 -dynamiclib|-bundle)
50530 linking_flag="${D}1"
50534 echo "shared-ld: unhandled option '${D}1'"
50538 *.o | *.a | *.dylib)
50539 # collect object files
50540 objects="${D}{objects} ${D}1"
50544 echo "shared-ld: unhandled argument '${D}1'"
50555 # Link one module containing all the others
50557 if test ${D}{verbose} = 1; then
50558 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50560 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50564 # Link the shared library from the single module created, but only if the
50565 # previous command didn't fail:
50567 if test ${D}{status} = 0; then
50568 if test ${D}{verbose} = 1; then
50569 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50571 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50576 # Remove intermediate module
50578 rm -f master.${D}${D}.o
50583 chmod +x shared-ld-sh
50585 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50586 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50589 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50590 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50591 if test "${bakefile_cv_gcc31+set}" = set; then
50592 echo $ECHO_N "(cached) $ECHO_C" >&6
50595 cat >conftest.$ac_ext <<_ACEOF
50598 cat confdefs.h >>conftest.$ac_ext
50599 cat >>conftest.$ac_ext <<_ACEOF
50600 /* end confdefs.h. */
50606 #if (__GNUC__ < 3) || \
50607 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50615 rm -f conftest.$ac_objext
50616 if { (ac_try="$ac_compile"
50617 case "(($ac_try" in
50618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50619 *) ac_try_echo
=$ac_try;;
50621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50622 (eval "$ac_compile") 2>conftest.er1
50624 grep -v '^ *+' conftest.er1
>conftest.err
50626 cat conftest.err
>&5
50627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50628 (exit $ac_status); } && {
50629 test -z "$ac_c_werror_flag" ||
50630 test ! -s conftest.err
50631 } && test -s conftest.
$ac_objext; then
50633 bakefile_cv_gcc31
=yes
50636 echo "$as_me: failed program was:" >&5
50637 sed 's/^/| /' conftest.
$ac_ext >&5
50640 bakefile_cv_gcc31
=no
50645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50648 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50649 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50650 if test "$bakefile_cv_gcc31" = "no"; then
50651 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50652 SHARED_LD_CXX
="$SHARED_LD_CC"
50654 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50655 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50658 if test "x$GCC" == "xyes"; then
50659 PIC_FLAG
="-dynamic -fPIC"
50661 if test "x$XLCC" = "xyes"; then
50662 PIC_FLAG
="-dynamic -DPIC"
50667 if test "x$GCC" = "xyes"; then
50670 case "${BAKEFILE_HOST}" in
50672 LD_EXPFULL
="-Wl,-bexpfull"
50676 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
50677 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
50679 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50680 set dummy makeC
++SharedLib
; ac_word
=$2
50681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50683 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50684 echo $ECHO_N "(cached) $ECHO_C" >&6
50686 if test -n "$AIX_CXX_LD"; then
50687 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
50689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50690 for as_dir
in $PATH
50693 test -z "$as_dir" && as_dir
=.
50694 for ac_exec_ext
in '' $ac_executable_extensions; do
50695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50696 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
50697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50704 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
50707 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
50708 if test -n "$AIX_CXX_LD"; then
50709 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50710 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50712 { echo "$as_me:$LINENO: result: no" >&5
50713 echo "${ECHO_T}no" >&6; }
50717 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
50718 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
50723 SHARED_LD_CC
="${LD} -nostart -o"
50724 SHARED_LD_CXX
="${LD} -nostart -o"
50728 if test "x$GCC" != "xyes"; then
50733 *-*-cygwin* | *-*-mingw32* )
50735 SHARED_LD_CC
="\$(CC) -shared -o"
50736 SHARED_LD_CXX
="\$(CXX) -shared -o"
50740 *-pc-os2_emx | *-pc-os2-emx )
50741 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50742 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50746 cat <<EOF >dllar.sh
50749 # dllar - a tool to build both a .dll and an .a file
50750 # from a set of object (.o) files for EMX/OS2.
50752 # Written by Andrew Zabolotny, bit@freya.etu.ru
50753 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50755 # This script will accept a set of files on the command line.
50756 # All the public symbols from the .o files will be exported into
50757 # a .DEF file, then linker will be run (through gcc) against them to
50758 # build a shared library consisting of all given .o files. All libraries
50759 # (.a) will be first decompressed into component .o files then act as
50760 # described above. You can optionally give a description (-d "description")
50761 # which will be put into .DLL. To see the list of accepted options (as well
50762 # as command-line format) simply run this program without options. The .DLL
50763 # is built to be imported by name (there is no guarantee that new versions
50764 # of the library you build will have same ordinals for same symbols).
50766 # dllar is free software; you can redistribute it and/or modify
50767 # it under the terms of the GNU General Public License as published by
50768 # the Free Software Foundation; either version 2, or (at your option)
50769 # any later version.
50771 # dllar is distributed in the hope that it will be useful,
50772 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50773 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50774 # GNU General Public License for more details.
50776 # You should have received a copy of the GNU General Public License
50777 # along with dllar; see the file COPYING. If not, write to the Free
50778 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50781 # To successfuly run this program you will need:
50782 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50783 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50785 # (used to build the .dll)
50787 # (used to create .def file from .o files)
50789 # (used to create .a file from .def file)
50790 # - GNU text utilites (cat, sort, uniq)
50791 # used to process emxexp output
50792 # - GNU file utilities (mv, rm)
50794 # - lxlite (optional, see flag below)
50795 # (used for general .dll cleanup)
50802 # basnam, variant of basename, which does _not_ remove the path, _iff_
50803 # second argument (suffix to remove) is given
50807 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50810 echo ${D}1 | sed 's/'${D}2'${D}//'
50813 echo "error in basnam ${D}*"
50819 # Cleanup temporary files and output
50822 for i in ${D}inputFiles ; do
50825 rm -rf \`basnam ${D}i !\`
50832 # Kill result in case of failure as there is just to many stupid make/nmake
50833 # things out there which doesn't do this.
50834 if [ ${D}# -eq 0 ]; then
50835 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50839 # Print usage and exit script with rc=1.
50841 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50842 echo ' [-name-mangler-script script.sh]'
50843 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50844 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50845 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50846 echo ' [*.o] [*.a]'
50847 echo '*> "output_file" should have no extension.'
50848 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50849 echo ' The import library name is derived from this and is set to "name".a,'
50850 echo ' unless overridden by -import'
50851 echo '*> "importlib_name" should have no extension.'
50852 echo ' If it has the .o, or .a extension, it is automatically removed.'
50853 echo ' This name is used as the import library name and may be longer and'
50854 echo ' more descriptive than the DLL name which has to follow the old '
50855 echo ' 8.3 convention of FAT.'
50856 echo '*> "script.sh may be given to override the output_file name by a'
50857 echo ' different name. It is mainly useful if the regular make process'
50858 echo ' of some package does not take into account OS/2 restriction of'
50859 echo ' DLL name lengths. It takes the importlib name as input and is'
50860 echo ' supposed to procude a shorter name as output. The script should'
50861 echo ' expect to get importlib_name without extension and should produce'
50862 echo ' a (max.) 8 letter name without extension.'
50863 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50864 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50865 echo ' These flags will be put at the start of GCC command line.'
50866 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50867 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50868 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50869 echo ' If the last character of a symbol is "*", all symbols beginning'
50870 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50871 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50872 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50873 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50874 echo ' C runtime DLLs.'
50875 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50876 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50877 echo ' unchanged to GCC at the end of command line.'
50878 echo '*> If you create a DLL from a library and you do not specify -o,'
50879 echo ' the basename for DLL and import library will be set to library name,'
50880 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50881 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50882 echo ' library will be renamed into gcc_s.a.'
50885 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50886 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50891 # Execute a command.
50892 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50893 # @Uses Whatever CleanUp() uses.
50899 if [ ${D}rcCmd -ne 0 ]; then
50900 echo "command failed, exit code="${D}rcCmd
50915 CFLAGS="-s -Zcrtdll"
50917 EXPORT_BY_ORDINALS=0
50922 case ${D}curDirS in
50926 curDirS=${D}{curDirS}"/"
50929 # Parse commandline
50932 while [ ${D}1 ]; do
50935 EXPORT_BY_ORDINALS=1;
50945 -name-mangler-script)
50966 exclude_symbols=${D}{exclude_symbols}${D}1" "
50970 library_flags=${D}{library_flags}${D}1" "
50989 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50992 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50993 if [ ${D}omfLinking -eq 1 ]; then
50994 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50996 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51001 if [ ${D}libsToLink -ne 0 ]; then
51002 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51004 for file in ${D}1 ; do
51005 if [ -f ${D}file ]; then
51006 inputFiles="${D}{inputFiles} ${D}file"
51010 if [ ${D}found -eq 0 ]; then
51011 echo "ERROR: No file(s) found: "${D}1
51018 done # iterate cmdline words
51021 if [ -z "${D}inputFiles" ]; then
51022 echo "dllar: no input files"
51026 # Now extract all .o files from .a files
51028 for file in ${D}inputFiles ; do
51039 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51044 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51046 if [ ${D}? -ne 0 ]; then
51047 echo "Failed to create subdirectory ./${D}dirname"
51051 # Append '!' to indicate archive
51052 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51053 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51056 for subfile in ${D}dirname/*.o* ; do
51057 if [ -f ${D}subfile ]; then
51059 if [ -s ${D}subfile ]; then
51060 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51061 newInputFiles="${D}newInputFiles ${D}subfile"
51065 if [ ${D}found -eq 0 ]; then
51066 echo "WARNING: there are no files in archive \\'${D}file\\'"
51070 newInputFiles="${D}{newInputFiles} ${D}file"
51074 inputFiles="${D}newInputFiles"
51076 # Output filename(s).
51078 if [ -z ${D}outFile ]; then
51080 set outFile ${D}inputFiles; outFile=${D}2
51083 # If it is an archive, remove the '!' and the '_%' suffixes
51084 case ${D}outFile in
51086 outFile=\`basnam ${D}outFile _%!\`
51091 case ${D}outFile in
51093 outFile=\`basnam ${D}outFile .dll\`
51096 outFile=\`basnam ${D}outFile .DLL\`
51099 outFile=\`basnam ${D}outFile .o\`
51102 outFile=\`basnam ${D}outFile .obj\`
51105 outFile=\`basnam ${D}outFile .a\`
51108 outFile=\`basnam ${D}outFile .lib\`
51113 case ${D}outimpFile in
51115 outimpFile=\`basnam ${D}outimpFile .a\`
51118 outimpFile=\`basnam ${D}outimpFile .lib\`
51123 if [ -z ${D}outimpFile ]; then
51124 outimpFile=${D}outFile
51126 defFile="${D}{outFile}.def"
51127 arcFile="${D}{outimpFile}.a"
51128 arcFile2="${D}{outimpFile}.lib"
51130 #create ${D}dllFile as something matching 8.3 restrictions,
51131 if [ -z ${D}renameScript ] ; then
51132 dllFile="${D}outFile"
51134 dllFile=\`${D}renameScript ${D}outimpFile\`
51137 if [ ${D}do_backup -ne 0 ] ; then
51138 if [ -f ${D}arcFile ] ; then
51139 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51141 if [ -f ${D}arcFile2 ] ; then
51142 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51146 # Extract public symbols from all the object files.
51147 tmpdefFile=${D}{defFile}_%
51148 rm -f ${D}tmpdefFile
51149 for file in ${D}inputFiles ; do
51154 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51159 # Create the def file.
51161 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51162 dllFile="${D}{dllFile}.dll"
51163 if [ ! -z ${D}description ]; then
51164 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51166 echo "EXPORTS" >> ${D}defFile
51168 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51169 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51171 # Checks if the export is ok or not.
51172 for word in ${D}exclude_symbols; do
51173 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51174 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51178 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51179 sed "=" < ${D}tmpdefFile | \\
51183 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51185 ' > ${D}{tmpdefFile}%
51186 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51188 rm -f ${D}{tmpdefFile}%
51190 cat ${D}tmpdefFile >> ${D}defFile
51191 rm -f ${D}tmpdefFile
51193 # Do linking, create implib, and apply lxlite.
51195 for file in ${D}inputFiles ; do
51200 gccCmdl="${D}gccCmdl ${D}file"
51204 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51205 touch "${D}{outFile}.dll"
51207 doCommand "emximp -o ${D}arcFile ${D}defFile"
51208 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51210 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51213 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51215 doCommand "emxomf -s -l ${D}arcFile"
51225 powerpc
-apple-macos* | \
51226 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
51236 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51237 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51238 { (exit 1); exit 1; }; }
51241 if test "x$PIC_FLAG" != "x" ; then
51242 PIC_FLAG
="$PIC_FLAG -DPIC"
51245 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51246 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
51248 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51249 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
51268 case "${BAKEFILE_HOST}" in
51269 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
51270 if test "x$SUNCXX" = "xyes"; then
51273 SONAME_FLAG
="-Wl,-soname,"
51308 # Check whether --enable-dependency-tracking was given.
51309 if test "${enable_dependency_tracking+set}" = set; then
51310 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
51314 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51315 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51318 if test "x$bk_use_trackdeps" = "xno" ; then
51320 { echo "$as_me:$LINENO: result: disabled" >&5
51321 echo "${ECHO_T}disabled" >&6; }
51325 if test "x$GCC" = "xyes"; then
51327 case "${BAKEFILE_HOST}" in
51329 DEPSFLAG
="-no-cpp-precomp -MMD"
51335 { echo "$as_me:$LINENO: result: gcc" >&5
51336 echo "${ECHO_T}gcc" >&6; }
51337 elif test "x$MWCC" = "xyes"; then
51340 { echo "$as_me:$LINENO: result: mwcc" >&5
51341 echo "${ECHO_T}mwcc" >&6; }
51342 elif test "x$SUNCC" = "xyes"; then
51345 { echo "$as_me:$LINENO: result: Sun cc" >&5
51346 echo "${ECHO_T}Sun cc" >&6; }
51347 elif test "x$SGICC" = "xyes"; then
51350 { echo "$as_me:$LINENO: result: SGI cc" >&5
51351 echo "${ECHO_T}SGI cc" >&6; }
51352 elif test "x$HPCC" = "xyes"; then
51355 { echo "$as_me:$LINENO: result: HP cc" >&5
51356 echo "${ECHO_T}HP cc" >&6; }
51357 elif test "x$COMPAQCC" = "xyes"; then
51360 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51361 echo "${ECHO_T}Compaq cc" >&6; }
51364 { echo "$as_me:$LINENO: result: none" >&5
51365 echo "${ECHO_T}none" >&6; }
51368 if test $DEPS_TRACKING = 1 ; then
51374 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51375 # script. It is used to track C/C++ files dependencies in portable way.
51377 # Permission is given to use this file in any way.
51379 DEPSMODE=${DEPSMODE}
51381 DEPSFLAG="${DEPSFLAG}"
51383 mkdir -p ${D}DEPSDIR
51385 if test ${D}DEPSMODE = gcc ; then
51386 ${D}* ${D}{DEPSFLAG}
51388 if test ${D}{status} != 0 ; then
51391 # move created file to the location we want it in:
51392 while test ${D}# -gt 0; do
51406 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51407 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51408 if test -f ${D}depfile ; then
51409 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51412 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51413 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51414 if test ! -f ${D}depfile ; then
51415 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51416 depfile="${D}objfile.d"
51418 if test -f ${D}depfile ; then
51419 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51424 elif test ${D}DEPSMODE = mwcc ; then
51425 ${D}* || exit ${D}?
51426 # Run mwcc again with -MM and redirect into the dep file we want
51427 # NOTE: We can't use shift here because we need ${D}* to be valid
51429 for arg in ${D}* ; do
51430 if test "${D}prevarg" = "-o"; then
51443 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51445 elif test ${D}DEPSMODE = unixcc; then
51446 ${D}* || exit ${D}?
51447 # Run compiler again with deps flag and redirect into the dep file.
51448 # It doesn't work if the '-o FILE' option is used, but without it the
51449 # dependency file will contain the wrong name for the object. So it is
51450 # removed from the command line, and the dep file is fixed with sed.
51452 while test ${D}# -gt 0; do
51459 eval arg${D}#=\\${D}1
51460 cmd="${D}cmd \\${D}arg${D}#"
51465 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51474 BK_DEPS
="`pwd`/bk-deps"
51482 case ${BAKEFILE_HOST} in
51483 *-*-cygwin* | *-*-mingw32* )
51484 if test -n "$ac_tool_prefix"; then
51485 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51486 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
51487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51489 if test "${ac_cv_prog_WINDRES+set}" = set; then
51490 echo $ECHO_N "(cached) $ECHO_C" >&6
51492 if test -n "$WINDRES"; then
51493 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
51495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51496 for as_dir
in $PATH
51499 test -z "$as_dir" && as_dir
=.
51500 for ac_exec_ext
in '' $ac_executable_extensions; do
51501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51502 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
51503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51512 WINDRES
=$ac_cv_prog_WINDRES
51513 if test -n "$WINDRES"; then
51514 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51515 echo "${ECHO_T}$WINDRES" >&6; }
51517 { echo "$as_me:$LINENO: result: no" >&5
51518 echo "${ECHO_T}no" >&6; }
51523 if test -z "$ac_cv_prog_WINDRES"; then
51524 ac_ct_WINDRES
=$WINDRES
51525 # Extract the first word of "windres", so it can be a program name with args.
51526 set dummy windres
; ac_word
=$2
51527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51529 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51530 echo $ECHO_N "(cached) $ECHO_C" >&6
51532 if test -n "$ac_ct_WINDRES"; then
51533 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
51535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51536 for as_dir
in $PATH
51539 test -z "$as_dir" && as_dir
=.
51540 for ac_exec_ext
in '' $ac_executable_extensions; do
51541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51542 ac_cv_prog_ac_ct_WINDRES
="windres"
51543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51552 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
51553 if test -n "$ac_ct_WINDRES"; then
51554 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51555 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51557 { echo "$as_me:$LINENO: result: no" >&5
51558 echo "${ECHO_T}no" >&6; }
51561 if test "x$ac_ct_WINDRES" = x
; then
51564 case $cross_compiling:$ac_tool_warned in
51566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51567 whose name does not start with the host triplet. If you think this
51568 configuration is useful to you, please write to autoconf@gnu.org." >&5
51569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51570 whose name does not start with the host triplet. If you think this
51571 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51572 ac_tool_warned
=yes ;;
51574 WINDRES
=$ac_ct_WINDRES
51577 WINDRES
="$ac_cv_prog_WINDRES"
51582 *-*-darwin* | powerpc
-apple-macos* )
51583 # Extract the first word of "Rez", so it can be a program name with args.
51584 set dummy Rez
; ac_word
=$2
51585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51587 if test "${ac_cv_prog_REZ+set}" = set; then
51588 echo $ECHO_N "(cached) $ECHO_C" >&6
51590 if test -n "$REZ"; then
51591 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
51593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51594 for as_dir
in $PATH
51597 test -z "$as_dir" && as_dir
=.
51598 for ac_exec_ext
in '' $ac_executable_extensions; do
51599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51600 ac_cv_prog_REZ
="Rez"
51601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51608 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
51611 REZ
=$ac_cv_prog_REZ
51612 if test -n "$REZ"; then
51613 { echo "$as_me:$LINENO: result: $REZ" >&5
51614 echo "${ECHO_T}$REZ" >&6; }
51616 { echo "$as_me:$LINENO: result: no" >&5
51617 echo "${ECHO_T}no" >&6; }
51621 # Extract the first word of "SetFile", so it can be a program name with args.
51622 set dummy SetFile
; ac_word
=$2
51623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51625 if test "${ac_cv_prog_SETFILE+set}" = set; then
51626 echo $ECHO_N "(cached) $ECHO_C" >&6
51628 if test -n "$SETFILE"; then
51629 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
51631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51632 for as_dir
in $PATH
51635 test -z "$as_dir" && as_dir
=.
51636 for ac_exec_ext
in '' $ac_executable_extensions; do
51637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51638 ac_cv_prog_SETFILE
="SetFile"
51639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51646 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
51649 SETFILE
=$ac_cv_prog_SETFILE
51650 if test -n "$SETFILE"; then
51651 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51652 echo "${ECHO_T}$SETFILE" >&6; }
51654 { echo "$as_me:$LINENO: result: no" >&5
51655 echo "${ECHO_T}no" >&6; }
51667 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
51670 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
51674 # Check whether --enable-precomp-headers was given.
51675 if test "${enable_precomp_headers+set}" = set; then
51676 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
51685 case ${BAKEFILE_HOST} in
51691 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51692 if test "x$GCC" = "xyes"; then
51693 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51694 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51695 cat >conftest.
$ac_ext <<_ACEOF
51698 cat confdefs.h
>>conftest.
$ac_ext
51699 cat >>conftest.
$ac_ext <<_ACEOF
51700 /* end confdefs.h. */
51706 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51707 There is no PCH support
51710 There is no PCH support
51712 #if (__GNUC__ == 3) && \
51713 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51714 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51715 ( defined(__INTEL_COMPILER) )
51716 There is no PCH support
51723 rm -f conftest.
$ac_objext
51724 if { (ac_try
="$ac_compile"
51725 case "(($ac_try" in
51726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51727 *) ac_try_echo=$ac_try;;
51729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51730 (eval "$ac_compile") 2>conftest.er1
51732 grep -v '^ *+' conftest.er1 >conftest.err
51734 cat conftest.err >&5
51735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51736 (exit $ac_status); } && {
51737 test -z "$ac_c_werror_flag" ||
51738 test ! -s conftest.err
51739 } && test -s conftest.$ac_objext; then
51741 { echo "$as_me:$LINENO: result: yes" >&5
51742 echo "${ECHO_T}yes" >&6; }
51746 echo "$as_me: failed program was:" >&5
51747 sed 's/^/| /' conftest.$ac_ext >&5
51750 cat >conftest.$ac_ext <<_ACEOF
51753 cat confdefs.h >>conftest.$ac_ext
51754 cat >>conftest.$ac_ext <<_ACEOF
51755 /* end confdefs.h. */
51761 #if !defined(__INTEL_COMPILER) || \
51762 (__INTEL_COMPILER < 800)
51763 There is no PCH support
51770 rm -f conftest.$ac_objext
51771 if { (ac_try="$ac_compile"
51772 case "(($ac_try" in
51773 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51774 *) ac_try_echo
=$ac_try;;
51776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51777 (eval "$ac_compile") 2>conftest.er1
51779 grep -v '^ *+' conftest.er1
>conftest.err
51781 cat conftest.err
>&5
51782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51783 (exit $ac_status); } && {
51784 test -z "$ac_c_werror_flag" ||
51785 test ! -s conftest.err
51786 } && test -s conftest.
$ac_objext; then
51788 { echo "$as_me:$LINENO: result: yes" >&5
51789 echo "${ECHO_T}yes" >&6; }
51793 echo "$as_me: failed program was:" >&5
51794 sed 's/^/| /' conftest.
$ac_ext >&5
51797 { echo "$as_me:$LINENO: result: no" >&5
51798 echo "${ECHO_T}no" >&6; }
51802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51807 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51811 cat <<EOF >bk-make-pch
51814 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51815 # script. It is used to generated precompiled headers.
51817 # Permission is given to use this file in any way.
51827 while test ${D}{#} -gt 0; do
51831 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51832 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51833 headerfile="${D}{incdir}/${D}{header}"
51836 -use-pch|-use_pch )
51841 if test ${D}add_to_cmdline = 1 ; then
51842 compiler="${D}{compiler} ${D}{1}"
51847 if test "x${D}{headerfile}" = "x" ; then
51848 echo "error: can't find header ${D}{header} in include paths" >&2
51850 if test -f ${D}{outfile} ; then
51851 rm -f ${D}{outfile}
51853 mkdir -p \`dirname ${D}{outfile}\`
51855 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51857 if test "x${GCC_PCH}" = "x1" ; then
51858 # can do this because gcc is >= 3.4:
51859 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51860 elif test "x${ICC_PCH}" = "x1" ; then
51861 filename=pch_gen-${D}${D}
51862 file=${D}{filename}.c
51863 dfile=${D}{filename}.d
51864 cat > ${D}file <<EOT
51865 #include "${D}header"
51867 # using -MF icc complains about differing command lines in creation/use
51868 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51869 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51870 rm -f ${D}file ${D}dfile ${D}{filename}.o
51876 chmod +x bk
-make-pch
51877 BK_MAKE_PCH
="`pwd`/bk-make-pch"
51886 COND_BUILD_DEBUG
="#"
51887 if test "x$BUILD" = "xdebug" ; then
51888 COND_BUILD_DEBUG
=""
51891 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
51892 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51893 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
51896 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
51897 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51898 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
51901 COND_BUILD_DEBUG_UNICODE_0
="#"
51902 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51903 COND_BUILD_DEBUG_UNICODE_0
=""
51906 COND_BUILD_DEBUG_UNICODE_1
="#"
51907 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51908 COND_BUILD_DEBUG_UNICODE_1
=""
51911 COND_BUILD_RELEASE
="#"
51912 if test "x$BUILD" = "xrelease" ; then
51913 COND_BUILD_RELEASE
=""
51916 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
51917 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51918 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
51921 COND_BUILD_RELEASE_UNICODE_0
="#"
51922 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51923 COND_BUILD_RELEASE_UNICODE_0
=""
51926 COND_BUILD_RELEASE_UNICODE_1
="#"
51927 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51928 COND_BUILD_RELEASE_UNICODE_1
=""
51931 COND_DEBUG_FLAG_1
="#"
51932 if test "x$DEBUG_FLAG" = "x1" ; then
51933 COND_DEBUG_FLAG_1
=""
51936 COND_DEBUG_INFO_0
="#"
51937 if test "x$DEBUG_INFO" = "x0" ; then
51938 COND_DEBUG_INFO_0
=""
51941 COND_DEBUG_INFO_1
="#"
51942 if test "x$DEBUG_INFO" = "x1" ; then
51943 COND_DEBUG_INFO_1
=""
51946 COND_DEPS_TRACKING_0
="#"
51947 if test "x$DEPS_TRACKING" = "x0" ; then
51948 COND_DEPS_TRACKING_0
=""
51951 COND_DEPS_TRACKING_1
="#"
51952 if test "x$DEPS_TRACKING" = "x1" ; then
51953 COND_DEPS_TRACKING_1
=""
51957 if test "x$GCC_PCH" = "x1" ; then
51962 if test "x$ICC_PCH" = "x1" ; then
51966 COND_MONOLITHIC_0
="#"
51967 if test "x$MONOLITHIC" = "x0" ; then
51968 COND_MONOLITHIC_0
=""
51971 COND_MONOLITHIC_0_SHARED_0
="#"
51972 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51973 COND_MONOLITHIC_0_SHARED_0
=""
51976 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
51977 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51978 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
51981 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
51982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
51986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
51987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
51991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
51992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
51996 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
51997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
52001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
52002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
52006 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
52007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52008 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
52011 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
52012 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52013 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
52016 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
52017 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52018 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
52021 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
52022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52023 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
52026 COND_MONOLITHIC_0_SHARED_1
="#"
52027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52028 COND_MONOLITHIC_0_SHARED_1
=""
52031 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
52032 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52033 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
52036 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
52037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52038 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
52041 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
52042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52043 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
52046 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
52047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52048 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
52051 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
52052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52053 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
52056 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
52057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52058 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
52061 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
52062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52063 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
52066 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
52067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52068 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
52071 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
52072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52073 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
52076 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
52077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52078 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
52081 COND_MONOLITHIC_0_USE_AUI_1
="#"
52082 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52083 COND_MONOLITHIC_0_USE_AUI_1
=""
52086 COND_MONOLITHIC_0_USE_GUI_1
="#"
52087 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52088 COND_MONOLITHIC_0_USE_GUI_1
=""
52091 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
52092 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52093 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
52096 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
52097 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52098 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
52101 COND_MONOLITHIC_0_USE_HTML_1
="#"
52102 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52103 COND_MONOLITHIC_0_USE_HTML_1
=""
52106 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
52107 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52108 COND_MONOLITHIC_0_USE_MEDIA_1
=""
52111 COND_MONOLITHIC_0_USE_ODBC_1
="#"
52112 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52113 COND_MONOLITHIC_0_USE_ODBC_1
=""
52116 COND_MONOLITHIC_0_USE_QA_1
="#"
52117 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52118 COND_MONOLITHIC_0_USE_QA_1
=""
52121 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
52122 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52123 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
52126 COND_MONOLITHIC_0_USE_STC_1
="#"
52127 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52128 COND_MONOLITHIC_0_USE_STC_1
=""
52131 COND_MONOLITHIC_0_USE_XRC_1
="#"
52132 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52133 COND_MONOLITHIC_0_USE_XRC_1
=""
52136 COND_MONOLITHIC_1
="#"
52137 if test "x$MONOLITHIC" = "x1" ; then
52138 COND_MONOLITHIC_1
=""
52141 COND_MONOLITHIC_1_SHARED_0
="#"
52142 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52143 COND_MONOLITHIC_1_SHARED_0
=""
52146 COND_MONOLITHIC_1_SHARED_1
="#"
52147 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52148 COND_MONOLITHIC_1_SHARED_1
=""
52151 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
52152 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52153 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
52156 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
52157 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52158 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
52161 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
52162 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52163 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
52166 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
52167 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52168 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
52171 COND_PLATFORM_MACOSX_1
="#"
52172 if test "x$PLATFORM_MACOSX" = "x1" ; then
52173 COND_PLATFORM_MACOSX_1
=""
52176 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
52177 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52178 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
52181 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
52182 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52183 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
52186 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
52187 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52188 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
52191 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
52192 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52193 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
52196 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
52197 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52198 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
52201 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
52202 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52203 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
52206 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
52207 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52208 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
52211 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
52212 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52213 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
52216 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
52217 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52218 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
52221 COND_PLATFORM_MACOS_1
="#"
52222 if test "x$PLATFORM_MACOS" = "x1" ; then
52223 COND_PLATFORM_MACOS_1
=""
52226 COND_PLATFORM_MAC_1
="#"
52227 if test "x$PLATFORM_MAC" = "x1" ; then
52228 COND_PLATFORM_MAC_1
=""
52231 COND_PLATFORM_MSDOS_0
="#"
52232 if test "x$PLATFORM_MSDOS" = "x0" ; then
52233 COND_PLATFORM_MSDOS_0
=""
52236 COND_PLATFORM_MSDOS_1
="#"
52237 if test "x$PLATFORM_MSDOS" = "x1" ; then
52238 COND_PLATFORM_MSDOS_1
=""
52241 COND_PLATFORM_OS2_1
="#"
52242 if test "x$PLATFORM_OS2" = "x1" ; then
52243 COND_PLATFORM_OS2_1
=""
52246 COND_PLATFORM_UNIX_0
="#"
52247 if test "x$PLATFORM_UNIX" = "x0" ; then
52248 COND_PLATFORM_UNIX_0
=""
52251 COND_PLATFORM_UNIX_1
="#"
52252 if test "x$PLATFORM_UNIX" = "x1" ; then
52253 COND_PLATFORM_UNIX_1
=""
52256 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
52257 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52258 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
52261 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
52262 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52263 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
52266 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
52267 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52268 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
52271 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
52272 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52273 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
52276 COND_PLATFORM_WIN32_0
="#"
52277 if test "x$PLATFORM_WIN32" = "x0" ; then
52278 COND_PLATFORM_WIN32_0
=""
52281 COND_PLATFORM_WIN32_1
="#"
52282 if test "x$PLATFORM_WIN32" = "x1" ; then
52283 COND_PLATFORM_WIN32_1
=""
52287 if test "x$SHARED" = "x0" ; then
52291 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
52292 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52293 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
52296 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
52297 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52298 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
52301 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
52302 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52303 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
52306 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
52307 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52308 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
52311 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52312 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52313 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52316 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52317 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52321 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52322 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52323 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52326 COND_SHARED_0_USE_STC_1
="#"
52327 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52328 COND_SHARED_0_USE_STC_1
=""
52331 COND_SHARED_0_USE_XRC_1
="#"
52332 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52333 COND_SHARED_0_USE_XRC_1
=""
52336 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
52337 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52338 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
52341 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
52342 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52343 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
52346 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
52347 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52348 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
52351 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
52352 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52353 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
52357 if test "x$SHARED" = "x1" ; then
52361 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
52362 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52363 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
52366 COND_SHARED_1_USE_XRC_1
="#"
52367 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52368 COND_SHARED_1_USE_XRC_1
=""
52372 if test "x$TOOLKIT" = "x" ; then
52376 COND_TOOLKIT_COCOA
="#"
52377 if test "x$TOOLKIT" = "xCOCOA" ; then
52378 COND_TOOLKIT_COCOA
=""
52381 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
52382 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52383 COND_TOOLKIT_COCOA_USE_GUI_1
=""
52386 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
52387 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52388 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
52391 COND_TOOLKIT_DFB
="#"
52392 if test "x$TOOLKIT" = "xDFB" ; then
52393 COND_TOOLKIT_DFB
=""
52396 COND_TOOLKIT_DFB_USE_GUI_1
="#"
52397 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52398 COND_TOOLKIT_DFB_USE_GUI_1
=""
52401 COND_TOOLKIT_GTK
="#"
52402 if test "x$TOOLKIT" = "xGTK" ; then
52403 COND_TOOLKIT_GTK
=""
52406 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
52407 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52408 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
52411 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
52412 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52413 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
52416 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
52417 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52418 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
52421 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
52422 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52423 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
52426 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
52427 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52428 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
52431 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
52432 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52433 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
52436 COND_TOOLKIT_GTK_USE_GUI_1
="#"
52437 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52438 COND_TOOLKIT_GTK_USE_GUI_1
=""
52441 COND_TOOLKIT_MAC
="#"
52442 if test "x$TOOLKIT" = "xMAC" ; then
52443 COND_TOOLKIT_MAC
=""
52446 COND_TOOLKIT_MAC_USE_GUI_1
="#"
52447 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52448 COND_TOOLKIT_MAC_USE_GUI_1
=""
52451 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
52452 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52453 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
52456 COND_TOOLKIT_MGL
="#"
52457 if test "x$TOOLKIT" = "xMGL" ; then
52458 COND_TOOLKIT_MGL
=""
52461 COND_TOOLKIT_MGL_USE_GUI_1
="#"
52462 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52463 COND_TOOLKIT_MGL_USE_GUI_1
=""
52466 COND_TOOLKIT_MOTIF
="#"
52467 if test "x$TOOLKIT" = "xMOTIF" ; then
52468 COND_TOOLKIT_MOTIF
=""
52471 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
52472 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52473 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
52476 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
52477 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52478 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
52481 COND_TOOLKIT_MSW
="#"
52482 if test "x$TOOLKIT" = "xMSW" ; then
52483 COND_TOOLKIT_MSW
=""
52486 COND_TOOLKIT_MSW_USE_GUI_1
="#"
52487 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52488 COND_TOOLKIT_MSW_USE_GUI_1
=""
52491 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
52492 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52493 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
52496 COND_TOOLKIT_MSW_WXUNIV_0
="#"
52497 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52498 COND_TOOLKIT_MSW_WXUNIV_0
=""
52501 COND_TOOLKIT_PM
="#"
52502 if test "x$TOOLKIT" = "xPM" ; then
52506 COND_TOOLKIT_PM_USE_GUI_1
="#"
52507 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52508 COND_TOOLKIT_PM_USE_GUI_1
=""
52511 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
52512 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52513 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
52516 COND_TOOLKIT_WINCE
="#"
52517 if test "x$TOOLKIT" = "xWINCE" ; then
52518 COND_TOOLKIT_WINCE
=""
52521 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
52522 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52523 COND_TOOLKIT_WINCE_USE_GUI_1
=""
52526 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
52527 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52528 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
52531 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
52532 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52533 COND_TOOLKIT_WINCE_WXUNIV_0
=""
52536 COND_TOOLKIT_X11
="#"
52537 if test "x$TOOLKIT" = "xX11" ; then
52538 COND_TOOLKIT_X11
=""
52541 COND_TOOLKIT_X11_USE_GUI_1
="#"
52542 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52543 COND_TOOLKIT_X11_USE_GUI_1
=""
52547 if test "x$UNICODE" = "x1" ; then
52551 COND_USE_EXCEPTIONS_0
="#"
52552 if test "x$USE_EXCEPTIONS" = "x0" ; then
52553 COND_USE_EXCEPTIONS_0
=""
52556 COND_USE_EXCEPTIONS_1
="#"
52557 if test "x$USE_EXCEPTIONS" = "x1" ; then
52558 COND_USE_EXCEPTIONS_1
=""
52562 if test "x$USE_GUI" = "x0" ; then
52567 if test "x$USE_GUI" = "x1" ; then
52571 COND_USE_GUI_1_USE_OPENGL_1
="#"
52572 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52573 COND_USE_GUI_1_USE_OPENGL_1
=""
52576 COND_USE_GUI_1_WXUNIV_0
="#"
52577 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52578 COND_USE_GUI_1_WXUNIV_0
=""
52581 COND_USE_GUI_1_WXUNIV_1
="#"
52582 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52583 COND_USE_GUI_1_WXUNIV_1
=""
52586 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52587 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52588 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52591 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52592 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52593 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52596 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52597 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52598 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52601 COND_USE_ODBC_1
="#"
52602 if test "x$USE_ODBC" = "x1" ; then
52606 COND_USE_OPENGL_1
="#"
52607 if test "x$USE_OPENGL" = "x1" ; then
52608 COND_USE_OPENGL_1
=""
52612 if test "x$USE_PCH" = "x1" ; then
52616 COND_USE_PLUGINS_0
="#"
52617 if test "x$USE_PLUGINS" = "x0" ; then
52618 COND_USE_PLUGINS_0
=""
52621 COND_USE_RTTI_0
="#"
52622 if test "x$USE_RTTI" = "x0" ; then
52626 COND_USE_RTTI_1
="#"
52627 if test "x$USE_RTTI" = "x1" ; then
52631 COND_USE_SOSYMLINKS_1
="#"
52632 if test "x$USE_SOSYMLINKS" = "x1" ; then
52633 COND_USE_SOSYMLINKS_1
=""
52636 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
52637 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52638 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
52641 COND_USE_SOVERLINUX_1
="#"
52642 if test "x$USE_SOVERLINUX" = "x1" ; then
52643 COND_USE_SOVERLINUX_1
=""
52646 COND_USE_SOVERSION_0
="#"
52647 if test "x$USE_SOVERSION" = "x0" ; then
52648 COND_USE_SOVERSION_0
=""
52651 COND_USE_SOVERSOLARIS_1
="#"
52652 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52653 COND_USE_SOVERSOLARIS_1
=""
52657 if test "x$USE_STC" = "x1" ; then
52661 COND_USE_THREADS_0
="#"
52662 if test "x$USE_THREADS" = "x0" ; then
52663 COND_USE_THREADS_0
=""
52666 COND_USE_THREADS_1
="#"
52667 if test "x$USE_THREADS" = "x1" ; then
52668 COND_USE_THREADS_1
=""
52672 if test "x$USE_XRC" = "x1" ; then
52676 COND_WINDOWS_IMPLIB_1
="#"
52677 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52678 COND_WINDOWS_IMPLIB_1
=""
52681 COND_WITH_PLUGIN_SDL_1
="#"
52682 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52683 COND_WITH_PLUGIN_SDL_1
=""
52687 if test "x$WXUNIV" = "x0" ; then
52692 if test "x$WXUNIV" = "x1" ; then
52696 COND_WXUSE_EXPAT_BUILTIN
="#"
52697 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52698 COND_WXUSE_EXPAT_BUILTIN
=""
52701 COND_WXUSE_LIBJPEG_BUILTIN
="#"
52702 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52703 COND_WXUSE_LIBJPEG_BUILTIN
=""
52706 COND_WXUSE_LIBPNG_BUILTIN
="#"
52707 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52708 COND_WXUSE_LIBPNG_BUILTIN
=""
52711 COND_WXUSE_LIBTIFF_BUILTIN
="#"
52712 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52713 COND_WXUSE_LIBTIFF_BUILTIN
=""
52716 COND_WXUSE_ODBC_BUILTIN
="#"
52717 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52718 COND_WXUSE_ODBC_BUILTIN
=""
52721 COND_WXUSE_REGEX_BUILTIN
="#"
52722 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52723 COND_WXUSE_REGEX_BUILTIN
=""
52726 COND_WXUSE_ZLIB_BUILTIN
="#"
52727 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52728 COND_WXUSE_ZLIB_BUILTIN
=""
52733 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52734 { { 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
52735 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;}
52736 { (exit 1); exit 1; }; }
52739 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52740 { { 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
52741 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;}
52742 { (exit 1); exit 1; }; }
52749 ?
:* ) # Drive letter, considered as absolute.
52752 INSTALL
=`pwd`/${INSTALL} ;;
52755 if test "$wxUSE_GUI" = "yes"; then
52757 if test "$wxUSE_MSW" = 1 ; then
52758 if test "x$WINDRES" = "x"; then
52759 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52760 echo "$as_me: error: Required windres program not found" >&2;}
52761 { (exit 1); exit 1; }; }
52767 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52768 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52769 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52771 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52773 # Extract the first word of "DeRez", so it can be a program name with args.
52774 set dummy DeRez
; ac_word
=$2
52775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52777 if test "${ac_cv_prog_DEREZ+set}" = set; then
52778 echo $ECHO_N "(cached) $ECHO_C" >&6
52780 if test -n "$DEREZ"; then
52781 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
52783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52784 for as_dir
in $PATH
52787 test -z "$as_dir" && as_dir
=.
52788 for ac_exec_ext
in '' $ac_executable_extensions; do
52789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52790 ac_cv_prog_DEREZ
="DeRez"
52791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52798 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
52801 DEREZ
=$ac_cv_prog_DEREZ
52802 if test -n "$DEREZ"; then
52803 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52804 echo "${ECHO_T}$DEREZ" >&6; }
52806 { echo "$as_me:$LINENO: result: no" >&5
52807 echo "${ECHO_T}no" >&6; }
52812 MACSETFILE
="\$(SETFILE)"
52814 if test "$wxUSE_MAC" = 1; then
52815 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52817 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
52819 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52820 RESCOMP
="cat /dev/null \| $REZ"
52821 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52827 if test "$wxUSE_PM" = 1; then
52829 WXCONFIG_RESFLAGS
="-ep"
52831 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
52833 POSTLINK_COMMAND
="@true"
52840 if test $GCC_PCH = 1
52842 if test "$wx_cv_gcc_pch_bug" = yes; then
52843 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52844 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52845 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52846 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52847 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52848 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52851 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
52855 if test "$wxUSE_MAC" = 1 ; then
52856 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52857 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
52863 if test "$wxUSE_SHARED" = "yes"; then
52865 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
52866 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
52869 *-pc-os2_emx | *-pc-os2-emx )
52870 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52871 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52872 cp -p ${srcdir}/src
/os
2/dllnames.sh .
52873 cp -p ${srcdir}/src
/os
2/dllar.sh .
52878 EXE_LINKER
="$CXX -o"
52881 if test "$wxUSE_OMF" = "yes"; then
52883 *-pc-os2_emx | *-pc-os2-emx )
52884 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
52885 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52886 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52891 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52896 if "$GCC" = yes; then
52897 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
52898 LIBS
=`echo $LIBS | sed 's/-mt//'`
52899 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52904 if test "x$SUNCXX" = xyes
; then
52905 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
52906 LIBS
=`echo $LIBS | sed 's/-pthread//'`
52907 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52912 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
52913 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52915 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52977 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52978 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52979 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52980 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
52981 echo $ECHO_N "(cached) $ECHO_C" >&6
52983 cat >conftest.
make <<\_ACEOF
52986 @
echo '@@@%%%=$(MAKE)=@@@%%%'
52988 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52989 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52990 *@@@
%%%=?
*=@@@
%%%*)
52991 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
52993 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
52995 rm -f conftest.
make
52997 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
52998 { echo "$as_me:$LINENO: result: yes" >&5
52999 echo "${ECHO_T}yes" >&6; }
53002 { echo "$as_me:$LINENO: result: no" >&5
53003 echo "${ECHO_T}no" >&6; }
53004 SET_MAKE
="MAKE=${MAKE-make}"
53009 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53012 if test "$USE_WIN32" = 1; then
53013 ac_config_commands
="$ac_config_commands
53019 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53022 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53025 if test "$wx_cv_version_script" = "yes"; then
53026 ac_config_files
="$ac_config_files version-script"
53029 ac_config_files
="$ac_config_files Makefile"
53032 ac_config_commands
="$ac_config_commands wx-config"
53036 if test "$wxWITH_SUBDIRS" != "no"; then
53037 if test "$wxUSE_GUI" = "yes"; then
53038 SUBDIRS
="samples demos utils"
53039 else SUBDIRS
="samples utils"
53044 # Check whether --with-cppunit-prefix was given.
53045 if test "${with_cppunit_prefix+set}" = set; then
53046 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
53048 cppunit_config_prefix
=""
53052 # Check whether --with-cppunit-exec-prefix was given.
53053 if test "${with_cppunit_exec_prefix+set}" = set; then
53054 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
53056 cppunit_config_exec_prefix
=""
53060 if test x
$cppunit_config_exec_prefix != x
; then
53061 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53062 if test x
${CPPUNIT_CONFIG+set} != xset
; then
53063 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
53066 if test x
$cppunit_config_prefix != x
; then
53067 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
53068 if test x
${CPPUNIT_CONFIG+set} != xset
; then
53069 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
53073 # Extract the first word of "cppunit-config", so it can be a program name with args.
53074 set dummy cppunit
-config; ac_word
=$2
53075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53077 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53078 echo $ECHO_N "(cached) $ECHO_C" >&6
53080 case $CPPUNIT_CONFIG in
53082 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53086 for as_dir
in $PATH
53089 test -z "$as_dir" && as_dir
=.
53090 for ac_exec_ext
in '' $ac_executable_extensions; do
53091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53092 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
53093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53100 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
53104 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
53105 if test -n "$CPPUNIT_CONFIG"; then
53106 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53107 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53109 { echo "$as_me:$LINENO: result: no" >&5
53110 echo "${ECHO_T}no" >&6; }
53114 cppunit_version_min
=1.8.0
53116 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53117 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53119 if test "$CPPUNIT_CONFIG" = "no" ; then
53120 { echo "$as_me:$LINENO: result: no" >&5
53121 echo "${ECHO_T}no" >&6; }
53124 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
53125 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
53126 cppunit_version
=`$CPPUNIT_CONFIG --version`
53128 cppunit_major_version
=`echo $cppunit_version | \
53129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53130 cppunit_minor_version
=`echo $cppunit_version | \
53131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53132 cppunit_micro_version
=`echo $cppunit_version | \
53133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53135 cppunit_major_min
=`echo $cppunit_version_min | \
53136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53137 cppunit_minor_min
=`echo $cppunit_version_min | \
53138 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53139 cppunit_micro_min
=`echo $cppunit_version_min | \
53140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53142 cppunit_version_proper
=`expr \
53143 $cppunit_major_version \> $cppunit_major_min \| \
53144 $cppunit_major_version \= $cppunit_major_min \& \
53145 $cppunit_minor_version \> $cppunit_minor_min \| \
53146 $cppunit_major_version \= $cppunit_major_min \& \
53147 $cppunit_minor_version \= $cppunit_minor_min \& \
53148 $cppunit_micro_version \>= $cppunit_micro_min `
53150 if test "$cppunit_version_proper" = "1" ; then
53151 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53152 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53154 { echo "$as_me:$LINENO: result: no" >&5
53155 echo "${ECHO_T}no" >&6; }
53160 if test "x$no_cppunit" = x
; then
53161 SUBDIRS
="$SUBDIRS tests"
53172 for subdir
in `echo $SUBDIRS`; do
53173 if test -d ${srcdir}/${subdir} ; then
53174 if test "$wxUSE_GUI" = "yes"; then
53175 if test ${subdir} = "samples"; then
53176 makefiles
="samples/Makefile.in $makefiles"
53177 for sample
in `echo $SAMPLES_SUBDIRS`; do
53178 if test -d $srcdir/samples
/$sample; then
53179 makefiles
="samples/$sample/Makefile.in $makefiles"
53183 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
53184 eval "disabled=\$$disabled_var"
53185 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
53186 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53188 else if test ${subdir} = "samples"; then
53189 makefiles
="samples/Makefile.in samples/console/Makefile.in"
53190 elif test ${subdir} = "utils"; then
53192 for util
in HelpGen tex2rtf
; do
53193 if test -d $srcdir/utils
/$util ; then
53194 makefiles
="utils/$util/Makefile.in \
53195 utils/$util/src/Makefile.in \
53199 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
53203 for mkin
in $makefiles ; do
53204 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53205 ac_config_files
="$ac_config_files $mk"
53211 cat >confcache
<<\_ACEOF
53212 # This file is a shell script that caches the results of configure
53213 # tests run on this system so they can be shared between configure
53214 # scripts and configure runs, see configure's option --config-cache.
53215 # It is not useful on other systems. If it contains results you don't
53216 # want to keep, you may remove or edit it.
53218 # config.status only pays attention to the cache file if you give it
53219 # the --recheck option to rerun configure.
53221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53223 # following values.
53227 # The following way of writing the cache mishandles newlines in values,
53228 # but we know of no workaround that is simple, portable, and efficient.
53229 # So, we kill variables containing newlines.
53230 # Ultrix sh set writes to stderr and can't be redirected directly,
53231 # and sets the high bit in the cache file unless we assign to the vars.
53233 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53234 eval ac_val
=\$
$ac_var
53238 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53239 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53242 _
| IFS
| as_nl
) ;; #(
53243 *) $as_unset $ac_var ;;
53249 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53250 *${as_nl}ac_space
=\
*)
53251 # `set' does not quote correctly, so add quotes (double-quote
53252 # substitution turns \\\\ into \\, and sed turns \\ into \).
53255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53258 # `set' quotes correctly as required by POSIX, so do not add quotes.
53259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53268 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53270 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53272 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53273 if test -w "$cache_file"; then
53274 test "x$cache_file" != "x/dev/null" &&
53275 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53276 echo "$as_me: updating cache $cache_file" >&6;}
53277 cat confcache
>$cache_file
53279 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53280 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53285 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53286 # Let make expand exec_prefix.
53287 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53289 DEFS
=-DHAVE_CONFIG_H
53293 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53294 # 1. Remove the extension, and $U if already installed.
53295 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53296 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53297 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53298 # will be set to the directory where LIBOBJS objects are built.
53299 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53300 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53302 LIBOBJS
=$ac_libobjs
53304 LTLIBOBJS
=$ac_ltlibobjs
53308 : ${CONFIG_STATUS=./config.status}
53309 ac_clean_files_save
=$ac_clean_files
53310 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53311 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53312 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53313 cat >$CONFIG_STATUS <<_ACEOF
53315 # Generated by $as_me.
53316 # Run this file to recreate the current configuration.
53317 # Compiler output produced by configure, useful for debugging
53318 # configure, is in config.log if it exists.
53321 ac_cs_recheck=false
53323 SHELL=\${CONFIG_SHELL-$SHELL}
53326 cat >>$CONFIG_STATUS <<\_ACEOF
53327 ## --------------------- ##
53328 ## M4sh Initialization. ##
53329 ## --------------------- ##
53331 # Be more Bourne compatible
53332 DUALCASE
=1; export DUALCASE
# for MKS sh
53333 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53336 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53337 # is contrary to our usage. Disable this feature.
53338 alias -g '${1+"$@"}'='"$@"'
53339 setopt NO_GLOB_SUBST
53341 case `(set -o) 2>/dev/null` in
53342 *posix
*) set -o posix
;;
53351 # Avoid depending upon Character Ranges.
53352 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53353 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53354 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53355 as_cr_digits
='0123456789'
53356 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53358 # The user is always right.
53359 if test "${PATH_SEPARATOR+set}" != set; then
53360 echo "#! /bin/sh" >conf$$.sh
53361 echo "exit 0" >>conf$$.sh
53363 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53371 # Support unset when possible.
53372 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53380 # We need space, tab and new line, in precisely that order. Quoting is
53381 # there to prevent editors from complaining about space-tab.
53382 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53383 # splitting by setting IFS to empty value.)
53388 # Find who we are. Look in the path if we contain no directory separator.
53390 *[\\/]* ) as_myself
=$0 ;;
53391 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53392 for as_dir
in $PATH
53395 test -z "$as_dir" && as_dir
=.
53396 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53402 # We did not find ourselves, most probably we were run as `sh COMMAND'
53403 # in which case we are not to be found in the path.
53404 if test "x$as_myself" = x
; then
53407 if test ! -f "$as_myself"; then
53408 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53409 { (exit 1); exit 1; }
53412 # Work around bugs in pre-3.0 UWIN ksh.
53413 for as_var
in ENV MAIL MAILPATH
53414 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53422 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53423 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53424 LC_TELEPHONE LC_TIME
53426 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53427 eval $as_var=C
; export $as_var
53429 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53433 # Required to use basename.
53434 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53435 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53441 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53442 as_basename
=basename
53448 # Name of the executable.
53449 as_me
=`$as_basename -- "$0" ||
53450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53451 X"$0" : 'X\(//\)$' \| \
53452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53454 sed '/^.*\/\([^/][^/]*\)\/*$/{
53473 as_lineno_1
=$LINENO
53474 as_lineno_2
=$LINENO
53475 test "x$as_lineno_1" != "x$as_lineno_2" &&
53476 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53478 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53479 # uniformly replaced by the line number. The first 'sed' inserts a
53480 # line-number line after each line using $LINENO; the second 'sed'
53481 # does the real work. The second script uses 'N' to pair each
53482 # line-number line with the line containing $LINENO, and appends
53483 # trailing '-' during substitution so that $LINENO is not a special
53484 # case at line end.
53485 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53486 # scripts with optimization help from Paolo Bonzini. Blame Lee
53487 # E. McMahon (1931-1989) for sed's syntax. :-)
53499 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53502 ' >$as_me.lineno
&&
53503 chmod +x
"$as_me.lineno" ||
53504 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53505 { (exit 1); exit 1; }; }
53507 # Don't try to exec as it changes $[0], causing all sort of problems
53508 # (the dirname of $[0] is not the place where we might find the
53509 # original and so on. Autoconf is especially sensitive to this).
53510 .
"./$as_me.lineno"
53511 # Exit status is that of the last command.
53516 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53522 ECHO_C
= ECHO_N
= ECHO_T
=
53523 case `echo -n x` in
53525 case `echo 'x\c'` in
53526 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53533 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53534 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53540 rm -f conf$$ conf$$.exe conf$$.
file
53541 if test -d conf$$.dir
; then
53542 rm -f conf$$.dir
/conf$$.
file
53548 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53550 # ... but there are two gotchas:
53551 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53552 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53553 # In both cases, we have to default to `cp -p'.
53554 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53556 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53561 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53562 rmdir conf$$.dir
2>/dev
/null
53564 if mkdir -p .
2>/dev
/null
; then
53567 test -d .
/-p && rmdir .
/-p
53571 if test -x / >/dev
/null
2>&1; then
53572 as_test_x
='test -x'
53574 if ls -dL / >/dev
/null
2>&1; then
53581 if test -d "$1"; then
53587 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53588 ???[sx]*):;;*)false;;esac;fi
53592 as_executable_p
=$as_test_x
53594 # Sed expression to map a string onto a valid CPP name.
53595 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53597 # Sed expression to map a string onto a valid variable name.
53598 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53603 # Save the log message, to keep $[0] and so on meaningful, and to
53604 # report actual input values of CONFIG_FILES etc. instead of their
53605 # values after options handling.
53607 This file was extended by wxWidgets $as_me 2.9.0, which was
53608 generated by GNU Autoconf 2.61. Invocation command line was
53610 CONFIG_FILES = $CONFIG_FILES
53611 CONFIG_HEADERS = $CONFIG_HEADERS
53612 CONFIG_LINKS = $CONFIG_LINKS
53613 CONFIG_COMMANDS = $CONFIG_COMMANDS
53616 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53621 cat >>$CONFIG_STATUS <<_ACEOF
53622 # Files that config.status was made for.
53623 config_files="$ac_config_files"
53624 config_headers="$ac_config_headers"
53625 config_commands="$ac_config_commands"
53629 cat >>$CONFIG_STATUS <<\_ACEOF
53631 \`$as_me' instantiates files from templates according to the
53632 current configuration.
53634 Usage: $0 [OPTIONS] [FILE]...
53636 -h, --help print this help, then exit
53637 -V, --version print version number and configuration settings, then exit
53638 -q, --quiet do not print progress messages
53639 -d, --debug don't remove temporary files
53640 --recheck update $as_me by reconfiguring in the same conditions
53641 --file=FILE[:TEMPLATE]
53642 instantiate the configuration file FILE
53643 --header=FILE[:TEMPLATE]
53644 instantiate the configuration header FILE
53646 Configuration files:
53649 Configuration headers:
53652 Configuration commands:
53655 Report bugs to <bug-autoconf@gnu.org>."
53658 cat >>$CONFIG_STATUS <<_ACEOF
53660 wxWidgets config.status 2.9.0
53661 configured by $0, generated by GNU Autoconf 2.61,
53662 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53664 Copyright (C) 2006 Free Software Foundation, Inc.
53665 This config.status script is free software; the Free Software Foundation
53666 gives unlimited permission to copy, distribute and modify it."
53673 cat >>$CONFIG_STATUS <<\_ACEOF
53674 # If no file are specified by the user, then we need to provide default
53675 # value. By we need to know if files were specified by the user.
53681 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53682 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53693 # Handling of the options.
53694 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53696 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53697 echo "$ac_cs_version"; exit ;;
53698 --debug | --debu | --deb | --de | --d | -d )
53700 --file | --fil | --fi | --f )
53702 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53703 ac_need_defaults
=false
;;
53704 --header | --heade | --head | --hea )
53706 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53707 ac_need_defaults
=false
;;
53709 # Conflict between --help and --header
53710 { echo "$as_me: error: ambiguous option: $1
53711 Try \`$0 --help' for more information." >&2
53712 { (exit 1); exit 1; }; };;
53713 --help | --hel | -h )
53714 echo "$ac_cs_usage"; exit ;;
53715 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53716 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53719 # This is an error.
53720 -*) { echo "$as_me: error: unrecognized option: $1
53721 Try \`$0 --help' for more information." >&2
53722 { (exit 1); exit 1; }; } ;;
53724 *) ac_config_targets
="$ac_config_targets $1"
53725 ac_need_defaults
=false
;;
53731 ac_configure_extra_args
=
53733 if $ac_cs_silent; then
53735 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53739 cat >>$CONFIG_STATUS <<_ACEOF
53740 if \$ac_cs_recheck; then
53741 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53742 CONFIG_SHELL=$SHELL
53743 export CONFIG_SHELL
53744 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53748 cat >>$CONFIG_STATUS <<\_ACEOF
53752 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53753 ## Running $as_me. ##
53759 cat >>$CONFIG_STATUS <<_ACEOF
53765 infile="$srcdir/include/wx/msw/genrcdefs.h"
53766 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53769 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53770 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53771 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53777 cat >>$CONFIG_STATUS <<\_ACEOF
53779 # Handling of arguments.
53780 for ac_config_target
in $ac_config_targets
53782 case $ac_config_target in
53783 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53784 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53785 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53786 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53787 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53788 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53789 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53790 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53792 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53793 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53794 { (exit 1); exit 1; }; };;
53799 # If the user did not use the arguments to specify the items to instantiate,
53800 # then the envvar interface is used. Set only those that are not.
53801 # We use the long form for the default assignment because of an extremely
53802 # bizarre bug on SunOS 4.1.3.
53803 if $ac_need_defaults; then
53804 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53805 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53806 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53809 # Have a temporary directory for convenience. Make it in the build tree
53810 # simply because there is no reason against having it here, and in addition,
53811 # creating and moving files from /tmp can sometimes cause problems.
53812 # Hook for its removal unless debugging.
53813 # Note that there is a small window in which the directory will not be cleaned:
53814 # after its creation but before its name has been assigned to `$tmp'.
53818 trap 'exit_status=$?
53819 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53821 trap '{ (exit 1); exit 1; }' 1 2 13 15
53823 # Create a (secure) tmp directory for tmp files.
53826 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53827 test -n "$tmp" && test -d "$tmp"
53830 tmp
=.
/conf$$
-$RANDOM
53831 (umask 077 && mkdir "$tmp")
53834 echo "$me: cannot create a temporary directory in ." >&2
53835 { (exit 1); exit 1; }
53839 # Set up the sed scripts for CONFIG_FILES section.
53842 # No need to generate the scripts if there are no CONFIG_FILES.
53843 # This happens for instance when ./config.status config.h
53844 if test -n "$CONFIG_FILES"; then
53851 for ac_last_try
in false false false false false
:; do
53852 cat >conf$
$subs.
sed <<_ACEOF
53853 SHELL!$SHELL$ac_delim
53854 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53855 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53856 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53857 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53858 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53859 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53860 exec_prefix!$exec_prefix$ac_delim
53861 prefix!$prefix$ac_delim
53862 program_transform_name!$program_transform_name$ac_delim
53863 bindir!$bindir$ac_delim
53864 sbindir!$sbindir$ac_delim
53865 libexecdir!$libexecdir$ac_delim
53866 datarootdir!$datarootdir$ac_delim
53867 datadir!$datadir$ac_delim
53868 sysconfdir!$sysconfdir$ac_delim
53869 sharedstatedir!$sharedstatedir$ac_delim
53870 localstatedir!$localstatedir$ac_delim
53871 includedir!$includedir$ac_delim
53872 oldincludedir!$oldincludedir$ac_delim
53873 docdir!$docdir$ac_delim
53874 infodir!$infodir$ac_delim
53875 htmldir!$htmldir$ac_delim
53876 dvidir!$dvidir$ac_delim
53877 pdfdir!$pdfdir$ac_delim
53878 psdir!$psdir$ac_delim
53879 libdir!$libdir$ac_delim
53880 localedir!$localedir$ac_delim
53881 mandir!$mandir$ac_delim
53882 DEFS!$DEFS$ac_delim
53883 ECHO_C!$ECHO_C$ac_delim
53884 ECHO_N!$ECHO_N$ac_delim
53885 ECHO_T!$ECHO_T$ac_delim
53886 LIBS!$LIBS$ac_delim
53887 build_alias!$build_alias$ac_delim
53888 host_alias!$host_alias$ac_delim
53889 target_alias!$target_alias$ac_delim
53890 build!$build$ac_delim
53891 build_cpu!$build_cpu$ac_delim
53892 build_vendor!$build_vendor$ac_delim
53893 build_os!$build_os$ac_delim
53894 host!$host$ac_delim
53895 host_cpu!$host_cpu$ac_delim
53896 host_vendor!$host_vendor$ac_delim
53897 host_os!$host_os$ac_delim
53898 target!$target$ac_delim
53899 target_cpu!$target_cpu$ac_delim
53900 target_vendor!$target_vendor$ac_delim
53901 target_os!$target_os$ac_delim
53902 wx_top_builddir!$wx_top_builddir$ac_delim
53904 CFLAGS!$CFLAGS$ac_delim
53905 LDFLAGS!$LDFLAGS$ac_delim
53906 CPPFLAGS!$CPPFLAGS$ac_delim
53907 ac_ct_CC!$ac_ct_CC$ac_delim
53908 EXEEXT!$EXEEXT$ac_delim
53909 OBJEXT!$OBJEXT$ac_delim
53911 GREP!$GREP$ac_delim
53912 EGREP!$EGREP$ac_delim
53914 CXXFLAGS!$CXXFLAGS$ac_delim
53915 ac_ct_CXX!$ac_ct_CXX$ac_delim
53917 subdirs!$subdirs$ac_delim
53918 PKG_CONFIG!$PKG_CONFIG$ac_delim
53919 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53920 GTK_LIBS!$GTK_LIBS$ac_delim
53921 GTK_CONFIG!$GTK_CONFIG$ac_delim
53922 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53923 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53924 XMKMF!$XMKMF$ac_delim
53925 X_CFLAGS!$X_CFLAGS$ac_delim
53926 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53927 X_LIBS!$X_LIBS$ac_delim
53928 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53929 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53930 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53931 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53932 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53933 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53934 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53935 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53936 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53937 LIBICONV!$LIBICONV$ac_delim
53938 SDL_CONFIG!$SDL_CONFIG$ac_delim
53939 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53940 SDL_LIBS!$SDL_LIBS$ac_delim
53941 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53942 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53943 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53944 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53945 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53946 HILDON_LIBS!$HILDON_LIBS$ac_delim
53947 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53948 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53949 GST_CFLAGS!$GST_CFLAGS$ac_delim
53952 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53954 elif $ac_last_try; then
53955 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53956 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53957 { (exit 1); exit 1; }; }
53959 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53963 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53964 if test -n "$ac_eof"; then
53965 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53966 ac_eof
=`expr $ac_eof + 1`
53969 cat >>$CONFIG_STATUS <<_ACEOF
53970 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53971 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53974 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53975 s/^/s,@/; s/!/@,|#_!!_#|/
53978 s/'"$ac_delim"'$/,g/; t
53980 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53981 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53982 rm -f conf$
$subs.
sed
53983 cat >>$CONFIG_STATUS <<_ACEOF
53989 for ac_last_try
in false false false false false
:; do
53990 cat >conf$
$subs.
sed <<_ACEOF
53991 GST_LIBS!$GST_LIBS$ac_delim
53992 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53993 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53994 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53995 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53996 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53997 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53998 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53999 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54000 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54001 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54002 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54003 VENDOR!$VENDOR$ac_delim
54004 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54005 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54006 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54007 WXUNIV!$WXUNIV$ac_delim
54008 MONOLITHIC!$MONOLITHIC$ac_delim
54009 USE_PLUGINS!$USE_PLUGINS$ac_delim
54010 CXXWARNINGS!$CXXWARNINGS$ac_delim
54011 EXTRALIBS!$EXTRALIBS$ac_delim
54012 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54013 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54014 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54015 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54016 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54017 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54018 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54019 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54020 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54021 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54022 UNICODE!$UNICODE$ac_delim
54023 BUILD!$BUILD$ac_delim
54024 DEBUG_INFO!$DEBUG_INFO$ac_delim
54025 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54026 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54027 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54028 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54029 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54030 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54031 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54032 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54033 RANLIB!$RANLIB$ac_delim
54034 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54035 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54036 INSTALL_DATA!$INSTALL_DATA$ac_delim
54037 LN_S!$LN_S$ac_delim
54038 SET_MAKE!$SET_MAKE$ac_delim
54039 MAKE_SET!$MAKE_SET$ac_delim
54040 AROPTIONS!$AROPTIONS$ac_delim
54041 STRIP!$STRIP$ac_delim
54043 INSTALL_DIR!$INSTALL_DIR$ac_delim
54044 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54045 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54046 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54047 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54048 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54049 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54050 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54051 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54052 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54053 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54054 SO_SUFFIX!$SO_SUFFIX$ac_delim
54055 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54056 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54057 LIBPREFIX!$LIBPREFIX$ac_delim
54058 LIBEXT!$LIBEXT$ac_delim
54059 DLLPREFIX!$DLLPREFIX$ac_delim
54060 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54061 dlldir!$dlldir$ac_delim
54062 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54063 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54064 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54065 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54066 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54067 PIC_FLAG!$PIC_FLAG$ac_delim
54068 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54069 USE_SOVERSION!$USE_SOVERSION$ac_delim
54070 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54071 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54072 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54073 USE_MACVERSION!$USE_MACVERSION$ac_delim
54074 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54075 SONAME_FLAG!$SONAME_FLAG$ac_delim
54076 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54077 BK_DEPS!$BK_DEPS$ac_delim
54078 WINDRES!$WINDRES$ac_delim
54080 SETFILE!$SETFILE$ac_delim
54081 GCC_PCH!$GCC_PCH$ac_delim
54082 ICC_PCH!$ICC_PCH$ac_delim
54083 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54084 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54085 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54086 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54087 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54090 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54092 elif $ac_last_try; then
54093 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54094 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54095 { (exit 1); exit 1; }; }
54097 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54101 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54102 if test -n "$ac_eof"; then
54103 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54104 ac_eof
=`expr $ac_eof + 1`
54107 cat >>$CONFIG_STATUS <<_ACEOF
54108 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54109 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54112 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54113 s/^/s,@/; s/!/@,|#_!!_#|/
54116 s/'"$ac_delim"'$/,g/; t
54118 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54119 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54120 rm -f conf$
$subs.
sed
54121 cat >>$CONFIG_STATUS <<_ACEOF
54127 for ac_last_try
in false false false false false
:; do
54128 cat >conf$
$subs.
sed <<_ACEOF
54129 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54130 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54131 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54132 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54133 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54134 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54135 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54136 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54137 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54138 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54139 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54140 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54141 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54142 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54143 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54144 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54145 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54146 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54147 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54148 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54149 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54150 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54151 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54152 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54153 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54154 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54156 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54158 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54159 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54160 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54161 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54162 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54163 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54164 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54165 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54166 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54167 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54168 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54169 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54170 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54171 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54172 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54173 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54174 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54175 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54176 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54177 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54178 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54179 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54180 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54181 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54182 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54183 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54184 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54185 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54186 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54187 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54188 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54189 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54190 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54191 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54192 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54193 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54194 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54195 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54196 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54197 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54198 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54199 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54200 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54201 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54202 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54203 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54204 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54205 COND_SHARED_0!$COND_SHARED_0$ac_delim
54206 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54207 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54208 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54209 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54210 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54211 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54212 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54213 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54214 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54215 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54216 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54217 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54218 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54219 COND_SHARED_1!$COND_SHARED_1$ac_delim
54220 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54221 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54222 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54223 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54224 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54225 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54228 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54230 elif $ac_last_try; then
54231 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54232 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54233 { (exit 1); exit 1; }; }
54235 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54239 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54240 if test -n "$ac_eof"; then
54241 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54242 ac_eof
=`expr $ac_eof + 1`
54245 cat >>$CONFIG_STATUS <<_ACEOF
54246 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54247 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54250 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54251 s/^/s,@/; s/!/@,|#_!!_#|/
54254 s/'"$ac_delim"'$/,g/; t
54256 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54257 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54258 rm -f conf$
$subs.
sed
54259 cat >>$CONFIG_STATUS <<_ACEOF
54265 for ac_last_try
in false false false false false
:; do
54266 cat >conf$
$subs.
sed <<_ACEOF
54267 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54268 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54269 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54270 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54271 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54272 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54273 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54274 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54275 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54276 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54277 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54278 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54279 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54280 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54281 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54282 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54283 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54284 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54285 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54286 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54287 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54288 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54289 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54290 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54291 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54292 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54293 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54294 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54295 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54296 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54297 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54298 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54299 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54300 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54301 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54302 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54303 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54304 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54305 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54306 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54307 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54308 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54309 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54310 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54311 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54312 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54313 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54314 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54315 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54316 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54317 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54318 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54319 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54320 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54321 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54322 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54323 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54324 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54325 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54326 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54327 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54328 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54329 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54330 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54331 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54332 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54333 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54334 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54335 DEREZ!$DEREZ$ac_delim
54336 SHARED!$SHARED$ac_delim
54337 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54338 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54339 USE_GUI!$USE_GUI$ac_delim
54340 AFMINSTALL!$AFMINSTALL$ac_delim
54341 WIN32INSTALL!$WIN32INSTALL$ac_delim
54342 TOOLKIT!$TOOLKIT$ac_delim
54343 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54344 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54345 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54346 cross_compiling!$cross_compiling$ac_delim
54347 WIDGET_SET!$WIDGET_SET$ac_delim
54348 WX_RELEASE!$WX_RELEASE$ac_delim
54349 WX_VERSION!$WX_VERSION$ac_delim
54350 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54351 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54352 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54353 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54354 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54355 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54356 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54357 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54358 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54359 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54360 EXE_LINKER!$EXE_LINKER$ac_delim
54361 GUIDIST!$GUIDIST$ac_delim
54362 DISTDIR!$DISTDIR$ac_delim
54363 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54366 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54368 elif $ac_last_try; then
54369 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54370 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54371 { (exit 1); exit 1; }; }
54373 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54377 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54378 if test -n "$ac_eof"; then
54379 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54380 ac_eof
=`expr $ac_eof + 1`
54383 cat >>$CONFIG_STATUS <<_ACEOF
54384 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54385 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54388 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54389 s/^/s,@/; s/!/@,|#_!!_#|/
54392 s/'"$ac_delim"'$/,g/; t
54394 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54395 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54396 rm -f conf$
$subs.
sed
54397 cat >>$CONFIG_STATUS <<_ACEOF
54403 for ac_last_try
in false false false false false
:; do
54404 cat >conf$
$subs.
sed <<_ACEOF
54405 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54406 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54407 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54408 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54409 RESCOMP!$RESCOMP$ac_delim
54410 RESFLAGS!$RESFLAGS$ac_delim
54411 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54412 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54413 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54414 LIBWXMACRES!$LIBWXMACRES$ac_delim
54415 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54416 MACSETFILE!$MACSETFILE$ac_delim
54418 DLLTOOL!$DLLTOOL$ac_delim
54419 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54420 LIBOBJS!$LIBOBJS$ac_delim
54421 LTLIBOBJS!$LTLIBOBJS$ac_delim
54424 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54426 elif $ac_last_try; then
54427 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54428 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54429 { (exit 1); exit 1; }; }
54431 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54435 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54436 if test -n "$ac_eof"; then
54437 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54438 ac_eof
=`expr $ac_eof + 1`
54441 cat >>$CONFIG_STATUS <<_ACEOF
54442 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54443 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54446 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54447 s/^/s,@/; s/!/@,|#_!!_#|/
54450 s/'"$ac_delim"'$/,g/; t
54452 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54453 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54454 rm -f conf$
$subs.
sed
54455 cat >>$CONFIG_STATUS <<_ACEOF
54462 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54463 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54464 # trailing colons and then remove the whole line if VPATH becomes empty
54465 # (actually we leave an empty line to preserve line numbers).
54466 if test "x$srcdir" = x.
; then
54467 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54468 s/:*\$(srcdir):*/:/
54469 s/:*\${srcdir}:*/:/
54471 s/^\([^=]*=[ ]*\):*/\1/
54477 cat >>$CONFIG_STATUS <<\_ACEOF
54478 fi # test -n "$CONFIG_FILES"
54481 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54484 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54486 case $ac_mode$ac_tag in
54488 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54489 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54490 { (exit 1); exit 1; }; };;
54491 :[FH
]-) ac_tag
=-:-;;
54492 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54509 -) ac_f
="$tmp/stdin";;
54510 *) # Look for the file first in the build tree, then in the source tree
54511 # (if the path is not absolute). The absolute path cannot be DOS-style,
54512 # because $ac_f cannot contain `:'.
54516 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54518 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54519 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54520 { (exit 1); exit 1; }; };;
54522 ac_file_inputs
="$ac_file_inputs $ac_f"
54525 # Let's still pretend it is `configure' which instantiates (i.e., don't
54526 # use $as_me), people would be surprised to read:
54527 # /* config.h. Generated by config.status. */
54528 configure_input
="Generated from "`IFS=:
54529 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54530 if test x
"$ac_file" != x
-; then
54531 configure_input
="$ac_file. $configure_input"
54532 { echo "$as_me:$LINENO: creating $ac_file" >&5
54533 echo "$as_me: creating $ac_file" >&6;}
54537 *:-:* | *:-) cat >"$tmp/stdin";;
54542 ac_dir
=`$as_dirname -- "$ac_file" ||
54543 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54544 X"$ac_file" : 'X\(//\)[^/]' \| \
54545 X"$ac_file" : 'X\(//\)$' \| \
54546 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54552 /^X\(\/\/\)[^/].*/{
54567 -*) as_dir
=.
/$as_dir;;
54569 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54573 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54574 *) as_qdir
=$as_dir;;
54576 as_dirs
="'$as_qdir' $as_dirs"
54577 as_dir
=`$as_dirname -- "$as_dir" ||
54578 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54579 X"$as_dir" : 'X\(//\)[^/]' \| \
54580 X"$as_dir" : 'X\(//\)$' \| \
54581 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54587 /^X\(\/\/\)[^/].*/{
54600 test -d "$as_dir" && break
54602 test -z "$as_dirs" || eval "mkdir $as_dirs"
54603 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54604 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54605 { (exit 1); exit 1; }; }; }
54609 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54611 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54612 # A ".." for each directory in $ac_dir_suffix.
54613 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54614 case $ac_top_builddir_sub in
54615 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54616 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54619 ac_abs_top_builddir
=$ac_pwd
54620 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54621 # for backward compatibility:
54622 ac_top_builddir
=$ac_top_build_prefix
54625 .
) # We are building in place.
54627 ac_top_srcdir
=$ac_top_builddir_sub
54628 ac_abs_top_srcdir
=$ac_pwd ;;
54629 [\\/]* | ?
:[\\/]* ) # Absolute name.
54630 ac_srcdir
=$srcdir$ac_dir_suffix;
54631 ac_top_srcdir
=$srcdir
54632 ac_abs_top_srcdir
=$srcdir ;;
54633 *) # Relative name.
54634 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54635 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54636 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54638 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54648 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54649 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54653 cat >>$CONFIG_STATUS <<\_ACEOF
54654 # If the template does not know about datarootdir, expand it.
54655 # FIXME: This hack should be removed a few years after 2.60.
54656 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54658 case `sed -n '/datarootdir/ {
54667 ' $ac_file_inputs` in
54668 *datarootdir
*) ac_datarootdir_seen
=yes;;
54669 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54670 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54671 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54673 cat >>$CONFIG_STATUS <<_ACEOF
54674 ac_datarootdir_hack='
54675 s&@datadir@&$datadir&g
54676 s&@docdir@&$docdir&g
54677 s&@infodir@&$infodir&g
54678 s&@localedir@&$localedir&g
54679 s&@mandir@&$mandir&g
54680 s&\\\${datarootdir}&$datarootdir&g' ;;
54684 # Neutralize VPATH when `$srcdir' = `.'.
54685 # Shell code in configure.ac might set extrasub.
54686 # FIXME: do we really want to maintain this feature?
54687 cat >>$CONFIG_STATUS <<_ACEOF
54691 cat >>$CONFIG_STATUS <<\_ACEOF
54693 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54694 s
&@configure_input@
&$configure_input&;t t
54695 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54696 s
&@srcdir@
&$ac_srcdir&;t t
54697 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54698 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54699 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54700 s
&@builddir@
&$ac_builddir&;t t
54701 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54702 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54703 s
&@INSTALL@
&$ac_INSTALL&;t t
54704 $ac_datarootdir_hack
54705 " $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
54707 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54708 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54709 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54710 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54711 which seems to be undefined. Please make sure it is defined." >&5
54712 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54713 which seems to be undefined. Please make sure it is defined." >&2;}
54717 -) cat "$tmp/out"; rm -f "$tmp/out";;
54718 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54727 # Transform confdefs.h into a sed script `conftest.defines', that
54728 # substitutes the proper values into config.h.in to produce config.h.
54729 rm -f conftest.defines conftest.
tail
54730 # First, append a space to every undef/define line, to ease matching.
54731 echo 's/$/ /' >conftest.defines
54732 # Then, protect against being on the right side of a sed subst, or in
54733 # an unquoted here document, in config.status. If some macros were
54734 # called several times there might be several #defines for the same
54735 # symbol, which is useless. But do not sort them, since the last
54736 # AC_DEFINE must be honored.
54737 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54738 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54739 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54740 # PARAMS is the parameter list in the macro definition--in most cases, it's
54741 # just an empty string.
54742 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54743 ac_dB
='\\)[ (].*,\\1define\\2'
54751 s/^[ ]*#[ ]*define[ ][ ]*//
54756 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54757 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54758 ' >>conftest.defines
54760 # Remove the space that was appended to ease matching.
54761 # Then replace #undef with comments. This is necessary, for
54762 # example, in the case of _POSIX_SOURCE, which is predefined and required
54763 # on some systems where configure will not decide to define it.
54764 # (The regexp can be short, since the line contains either #define or #undef.)
54766 s,^[ #]*u.*,/* & */,' >>conftest.defines
54768 # Break up conftest.defines:
54769 ac_max_sed_lines
=50
54771 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54772 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54773 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54775 ac_in
='$ac_file_inputs'
54776 ac_out
='"$tmp/out1"'
54777 ac_nxt
='"$tmp/out2"'
54781 # Write a here document:
54782 cat >>$CONFIG_STATUS <<_ACEOF
54783 # First, check the format of the line:
54784 cat >"\$tmp/defines.sed" <<\\CEOF
54785 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54786 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54790 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54792 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54793 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54794 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54795 grep . conftest.
tail >/dev
/null
|| break
54796 rm -f conftest.defines
54797 mv conftest.
tail conftest.defines
54799 rm -f conftest.defines conftest.
tail
54801 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54802 cat >>$CONFIG_STATUS <<\_ACEOF
54803 if test x
"$ac_file" != x
-; then
54804 echo "/* $configure_input */" >"$tmp/config.h"
54805 cat "$ac_result" >>"$tmp/config.h"
54806 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54807 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54808 echo "$as_me: $ac_file is unchanged" >&6;}
54811 mv "$tmp/config.h" $ac_file
54814 echo "/* $configure_input */"
54820 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54821 echo "$as_me: executing $ac_file commands" >&6;}
54826 case $ac_file$ac_mode in
54828 mkdir -p $outdir &&
54829 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54831 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54832 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54833 "wx-config":C
) rm -f wx
-config
54834 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54841 { (exit 0); exit 0; }
54843 chmod +x
$CONFIG_STATUS
54844 ac_clean_files
=$ac_clean_files_save
54847 # configure is writing to config.log, and then calls config.status.
54848 # config.status does its own redirection, appending to config.log.
54849 # Unfortunately, on DOS this fails, as config.log is still kept open
54850 # by configure, so config.status won't be able to write to it; its
54851 # output is simply discarded. So we exec the FD to /dev/null,
54852 # effectively closing config.log, so it can be properly (re)opened and
54853 # appended to by config.status. When coming back to configure, we
54854 # need to make the FD available again.
54855 if test "$no_create" != yes; then
54857 ac_config_status_args
=
54858 test "$silent" = yes &&
54859 ac_config_status_args
="$ac_config_status_args --quiet"
54861 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54863 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54864 # would make configure fail if this is the last instruction.
54865 $ac_cs_success || { (exit 1); exit 1; }
54869 # CONFIG_SUBDIRS section.
54871 if test "$no_recursion" != yes; then
54873 # Remove --cache-file and --srcdir arguments so they do not pile up.
54874 ac_sub_configure_args
=
54876 eval "set x $ac_configure_args"
54880 if test -n "$ac_prev"; then
54885 -cache-file | --cache-file | --cache-fil | --cache-fi \
54886 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54887 ac_prev
=cache_file
;;
54888 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54889 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54892 --config-cache | -C)
54894 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54896 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54898 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54900 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54904 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54906 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54910 # Always prepend --prefix to ensure using the same prefix
54911 # in subdir configurations.
54912 ac_arg
="--prefix=$prefix"
54914 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54916 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54919 if test "$silent" = yes; then
54920 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54924 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54926 # Do not complain, so a configure script can configure whichever
54927 # parts of a large source tree are present.
54928 test -d "$srcdir/$ac_dir" || continue
54930 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54931 echo "$as_me:$LINENO: $ac_msg" >&5
54935 -*) as_dir
=.
/$as_dir;;
54937 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54941 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54942 *) as_qdir
=$as_dir;;
54944 as_dirs
="'$as_qdir' $as_dirs"
54945 as_dir
=`$as_dirname -- "$as_dir" ||
54946 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54947 X"$as_dir" : 'X\(//\)[^/]' \| \
54948 X"$as_dir" : 'X\(//\)$' \| \
54949 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54955 /^X\(\/\/\)[^/].*/{
54968 test -d "$as_dir" && break
54970 test -z "$as_dirs" || eval "mkdir $as_dirs"
54971 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54972 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54973 { (exit 1); exit 1; }; }; }
54977 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54979 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54980 # A ".." for each directory in $ac_dir_suffix.
54981 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54982 case $ac_top_builddir_sub in
54983 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54984 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54987 ac_abs_top_builddir
=$ac_pwd
54988 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54989 # for backward compatibility:
54990 ac_top_builddir
=$ac_top_build_prefix
54993 .
) # We are building in place.
54995 ac_top_srcdir
=$ac_top_builddir_sub
54996 ac_abs_top_srcdir
=$ac_pwd ;;
54997 [\\/]* | ?
:[\\/]* ) # Absolute name.
54998 ac_srcdir
=$srcdir$ac_dir_suffix;
54999 ac_top_srcdir
=$srcdir
55000 ac_abs_top_srcdir
=$srcdir ;;
55001 *) # Relative name.
55002 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
55003 ac_top_srcdir
=$ac_top_build_prefix$srcdir
55004 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
55006 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
55011 # Check for guested configure; otherwise get Cygnus style configure.
55012 if test -f "$ac_srcdir/configure.gnu"; then
55013 ac_sub_configure
=$ac_srcdir/configure.gnu
55014 elif test -f "$ac_srcdir/configure"; then
55015 ac_sub_configure
=$ac_srcdir/configure
55016 elif test -f "$ac_srcdir/configure.in"; then
55017 # This should be Cygnus configure.
55018 ac_sub_configure
=$ac_aux_dir/configure
55020 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55021 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55025 # The recursion is here.
55026 if test -n "$ac_sub_configure"; then
55027 # Make the cache file name correct relative to the subdirectory.
55028 case $cache_file in
55029 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
55030 *) # Relative name.
55031 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
55034 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55035 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55036 # The eval makes quoting arguments work.
55037 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55038 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55039 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55040 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55041 { (exit 1); exit 1; }; }
55050 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55052 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55053 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55055 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55056 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55057 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55058 if test "$wxUSE_UNICODE" = "yes"; then
55059 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55060 echo " (using UTF-8)"
55062 echo " (using wchar_t)"
55068 echo " What level of wxWidgets compatibility should be enabled?"
55069 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55070 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55072 echo " Which libraries should wxWidgets use?"
55073 echo " STL ${wxUSE_STL}"
55074 echo " jpeg ${wxUSE_LIBJPEG-none}"
55075 echo " png ${wxUSE_LIBPNG-none}"
55076 echo " regex ${wxUSE_REGEX}"
55077 echo " tiff ${wxUSE_LIBTIFF-none}"
55078 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55079 echo " xpm ${wxUSE_LIBXPM-none}"
55081 echo " zlib ${wxUSE_ZLIB}"
55082 echo " odbc ${wxUSE_ODBC}"
55083 echo " expat ${wxUSE_EXPAT}"
55084 echo " libmspack ${wxUSE_LIBMSPACK}"
55085 echo " sdl ${wxUSE_LIBSDL}"