2 # From configure.in Id: configure.in 47800 2007-07-29 00:28:07Z VZ .
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
719 LIBGNOMEPRINTUI_CFLAGS
766 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11_USE_GUI_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSOLARIS_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
1002 WXCONFIG_LDFLAGS_GUI
1015 WX_RESOURCES_MACOSX_ASCII
1016 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-docview use document view architecture
1734 --enable-help use
help subsystem
1735 --enable-mshtmlhelp use MS HTML Help
(win32
)
1736 --enable-html use wxHTML sub
-library
1737 --enable-htmlhelp use wxHTML
-based help
1738 --enable-xrc use XRC resources sub
-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout
-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl
(Mac
)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context
2D drawing API
1751 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag
'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile
(Win32 only
)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images
(GIF
file format
)
1843 --enable-pcx use pcx images
(PCX
file format
)
1844 --enable-tga use tga images
(TGA
file format
)
1845 --enable-iff use iff images
(IFF
file format
)
1846 --enable-pnm use pnm images
(PNM
file format
)
1847 --enable-xpm use xpm images
(XPM
file format
)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1850 --enable-iniconf use wxIniConfig
(Win32 only
)
1851 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1852 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1853 --enable-regkey use wxRegKey class
(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; }
9363 if test "$wxUSE_GUI" = "yes"; then
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9379 # Check whether --enable-docview was given.
9380 if test "${enable_docview+set}" = set; then
9381 enableval=$enable_docview;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9385 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9391 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9399 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9404 eval "$wx_cv_use_docview"
9405 if test "x$cache" = xyes; then
9406 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9409 if test x"$enablestring" = xdisable; then
9410 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9416 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9419 { echo "$as_me:$LINENO: result: $result" >&5
9420 echo "${ECHO_T}$result" >&6; }
9424 defaultval=$wxUSE_ALL_FEATURES
9425 if test -z "$defaultval"; then
9426 if test x"$enablestring" = xdisable; then
9433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9435 # Check whether --enable-help was given.
9436 if test "${enable_help+set}" = set; then
9437 enableval=$enable_help;
9438 if test "$enableval" = yes; then
9439 wx_cv_use_help='wxUSE_HELP=yes'
9441 wx_cv_use_help='wxUSE_HELP=no'
9447 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9455 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9460 eval "$wx_cv_use_help"
9461 if test "x$cache" = xyes; then
9462 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9465 if test x"$enablestring" = xdisable; then
9466 if test $wxUSE_HELP = yes; then
9475 { echo "$as_me:$LINENO: result: $result" >&5
9476 echo "${ECHO_T}$result" >&6; }
9480 defaultval=$wxUSE_ALL_FEATURES
9481 if test -z "$defaultval"; then
9482 if test x"$enablestring" = xdisable; then
9489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9491 # Check whether --enable-mshtmlhelp was given.
9492 if test "${enable_mshtmlhelp+set}" = set; then
9493 enableval=$enable_mshtmlhelp;
9494 if test "$enableval" = yes; then
9495 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9497 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9503 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9504 if test "x$LINE" != x ; then
9505 eval "DEFAULT_$LINE"
9511 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9516 eval "$wx_cv_use_mshtmlhelp"
9517 if test "x$cache" = xyes; then
9518 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9521 if test x"$enablestring" = xdisable; then
9522 if test $wxUSE_MS_HTML_HELP = yes; then
9528 result=$wxUSE_MS_HTML_HELP
9531 { echo "$as_me:$LINENO: result: $result" >&5
9532 echo "${ECHO_T}$result" >&6; }
9536 defaultval=$wxUSE_ALL_FEATURES
9537 if test -z "$defaultval"; then
9538 if test x"$enablestring" = xdisable; then
9545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9546 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9547 # Check whether --enable-html was given.
9548 if test "${enable_html+set}" = set; then
9549 enableval=$enable_html;
9550 if test "$enableval" = yes; then
9551 wx_cv_use_html='wxUSE_HTML=yes'
9553 wx_cv_use_html='wxUSE_HTML=no'
9559 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9560 if test "x$LINE" != x ; then
9561 eval "DEFAULT_$LINE"
9567 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9572 eval "$wx_cv_use_html"
9573 if test "x$cache" = xyes; then
9574 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9577 if test x"$enablestring" = xdisable; then
9578 if test $wxUSE_HTML = yes; then
9587 { echo "$as_me:$LINENO: result: $result" >&5
9588 echo "${ECHO_T}$result" >&6; }
9592 defaultval=$wxUSE_ALL_FEATURES
9593 if test -z "$defaultval"; then
9594 if test x"$enablestring" = xdisable; then
9601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9603 # Check whether --enable-htmlhelp was given.
9604 if test "${enable_htmlhelp+set}" = set; then
9605 enableval=$enable_htmlhelp;
9606 if test "$enableval" = yes; then
9607 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9609 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9615 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9623 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9628 eval "$wx_cv_use_htmlhelp"
9629 if test "x$cache" = xyes; then
9630 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9633 if test x"$enablestring" = xdisable; then
9634 if test $wxUSE_WXHTML_HELP = yes; then
9640 result=$wxUSE_WXHTML_HELP
9643 { echo "$as_me:$LINENO: result: $result" >&5
9644 echo "${ECHO_T}$result" >&6; }
9648 defaultval=$wxUSE_ALL_FEATURES
9649 if test -z "$defaultval"; then
9650 if test x"$enablestring" = xdisable; then
9657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9658 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9659 # Check whether --enable-xrc was given.
9660 if test "${enable_xrc+set}" = set; then
9661 enableval=$enable_xrc;
9662 if test "$enableval" = yes; then
9663 wx_cv_use_xrc='wxUSE_XRC=yes'
9665 wx_cv_use_xrc='wxUSE_XRC=no'
9671 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9672 if test "x$LINE" != x ; then
9673 eval "DEFAULT_$LINE"
9679 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9684 eval "$wx_cv_use_xrc"
9685 if test "x$cache" = xyes; then
9686 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9689 if test x"$enablestring" = xdisable; then
9690 if test $wxUSE_XRC = yes; then
9699 { echo "$as_me:$LINENO: result: $result" >&5
9700 echo "${ECHO_T}$result" >&6; }
9704 defaultval=$wxUSE_ALL_FEATURES
9705 if test -z "$defaultval"; then
9706 if test x"$enablestring" = xdisable; then
9713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9715 # Check whether --enable-aui was given.
9716 if test "${enable_aui+set}" = set; then
9717 enableval=$enable_aui;
9718 if test "$enableval" = yes; then
9719 wx_cv_use_aui='wxUSE_AUI=yes'
9721 wx_cv_use_aui='wxUSE_AUI=no'
9727 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9728 if test "x$LINE" != x ; then
9729 eval "DEFAULT_$LINE"
9735 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9740 eval "$wx_cv_use_aui"
9741 if test "x$cache" = xyes; then
9742 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9745 if test x"$enablestring" = xdisable; then
9746 if test $wxUSE_AUI = yes; then
9755 { echo "$as_me:$LINENO: result: $result" >&5
9756 echo "${ECHO_T}$result" >&6; }
9760 defaultval=$wxUSE_ALL_FEATURES
9761 if test -z "$defaultval"; then
9762 if test x"$enablestring" = xdisable; then
9769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9770 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9771 # Check whether --enable-stc was given.
9772 if test "${enable_stc+set}" = set; then
9773 enableval=$enable_stc;
9774 if test "$enableval" = yes; then
9775 wx_cv_use_stc='wxUSE_STC=yes'
9777 wx_cv_use_stc='wxUSE_STC=no'
9783 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x ; then
9785 eval "DEFAULT_$LINE"
9791 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9796 eval "$wx_cv_use_stc"
9797 if test "x$cache" = xyes; then
9798 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9801 if test x"$enablestring" = xdisable; then
9802 if test $wxUSE_STC = yes; then
9811 { echo "$as_me:$LINENO: result: $result" >&5
9812 echo "${ECHO_T}$result" >&6; }
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z "$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9827 # Check whether --enable-constraints was given.
9828 if test "${enable_constraints+set}" = set; then
9829 enableval=$enable_constraints;
9830 if test "$enableval" = yes; then
9831 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9833 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9839 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9840 if test "x$LINE" != x ; then
9841 eval "DEFAULT_$LINE"
9847 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9852 eval "$wx_cv_use_constraints"
9853 if test "x$cache" = xyes; then
9854 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9857 if test x"$enablestring" = xdisable; then
9858 if test $wxUSE_CONSTRAINTS = yes; then
9864 result=$wxUSE_CONSTRAINTS
9867 { echo "$as_me:$LINENO: result: $result" >&5
9868 echo "${ECHO_T}$result" >&6; }
9872 defaultval=$wxUSE_ALL_FEATURES
9873 if test -z "$defaultval"; then
9874 if test x"$enablestring" = xdisable; then
9881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9882 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9883 # Check whether --enable-printarch was given.
9884 if test "${enable_printarch+set}" = set; then
9885 enableval=$enable_printarch;
9886 if test "$enableval" = yes; then
9887 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9889 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9895 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x ; then
9897 eval "DEFAULT_$LINE"
9903 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9908 eval "$wx_cv_use_printarch"
9909 if test "x$cache" = xyes; then
9910 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9913 if test x"$enablestring" = xdisable; then
9914 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9920 result=$wxUSE_PRINTING_ARCHITECTURE
9923 { echo "$as_me:$LINENO: result: $result" >&5
9924 echo "${ECHO_T}$result" >&6; }
9928 defaultval=$wxUSE_ALL_FEATURES
9929 if test -z "$defaultval"; then
9930 if test x"$enablestring" = xdisable; then
9937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9939 # Check whether --enable-mdi was given.
9940 if test "${enable_mdi+set}" = set; then
9941 enableval=$enable_mdi;
9942 if test "$enableval" = yes; then
9943 wx_cv_use_mdi='wxUSE_MDI=yes'
9945 wx_cv_use_mdi='wxUSE_MDI=no'
9951 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9952 if test "x$LINE" != x ; then
9953 eval "DEFAULT_$LINE"
9959 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9964 eval "$wx_cv_use_mdi"
9965 if test "x$cache" = xyes; then
9966 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9969 if test x"$enablestring" = xdisable; then
9970 if test $wxUSE_MDI = yes; then
9979 { echo "$as_me:$LINENO: result: $result" >&5
9980 echo "${ECHO_T}$result" >&6; }
9984 defaultval=$wxUSE_ALL_FEATURES
9985 if test -z "$defaultval"; then
9986 if test x"$enablestring" = xdisable; then
9993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9994 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9995 # Check whether --enable-mdidoc was given.
9996 if test "${enable_mdidoc+set}" = set; then
9997 enableval=$enable_mdidoc;
9998 if test "$enableval" = yes; then
9999 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10001 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10007 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10008 if test "x$LINE" != x ; then
10009 eval "DEFAULT_$LINE"
10015 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10020 eval "$wx_cv_use_mdidoc"
10021 if test "x$cache" = xyes; then
10022 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10025 if test x"$enablestring" = xdisable; then
10026 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10032 result=$wxUSE_MDI_ARCHITECTURE
10035 { echo "$as_me:$LINENO: result: $result" >&5
10036 echo "${ECHO_T}$result" >&6; }
10040 defaultval=$wxUSE_ALL_FEATURES
10041 if test -z "$defaultval"; then
10042 if test x"$enablestring" = xdisable; then
10049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10050 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10051 # Check whether --enable-loggui was given.
10052 if test "${enable_loggui+set}" = set; then
10053 enableval=$enable_loggui;
10054 if test "$enableval" = yes; then
10055 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10057 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10063 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10064 if test "x$LINE" != x ; then
10065 eval "DEFAULT_$LINE"
10071 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10076 eval "$wx_cv_use_loggui"
10077 if test "x$cache" = xyes; then
10078 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10081 if test x"$enablestring" = xdisable; then
10082 if test $wxUSE_LOGGUI = yes; then
10088 result=$wxUSE_LOGGUI
10091 { echo "$as_me:$LINENO: result: $result" >&5
10092 echo "${ECHO_T}$result" >&6; }
10096 defaultval=$wxUSE_ALL_FEATURES
10097 if test -z "$defaultval"; then
10098 if test x"$enablestring" = xdisable; then
10105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10106 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10107 # Check whether --enable-logwin was given.
10108 if test "${enable_logwin+set}" = set; then
10109 enableval=$enable_logwin;
10110 if test "$enableval" = yes; then
10111 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10113 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10119 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10120 if test "x$LINE" != x ; then
10121 eval "DEFAULT_$LINE"
10127 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10132 eval "$wx_cv_use_logwin"
10133 if test "x$cache" = xyes; then
10134 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10137 if test x"$enablestring" = xdisable; then
10138 if test $wxUSE_LOGWINDOW = yes; then
10144 result=$wxUSE_LOGWINDOW
10147 { echo "$as_me:$LINENO: result: $result" >&5
10148 echo "${ECHO_T}$result" >&6; }
10152 defaultval=$wxUSE_ALL_FEATURES
10153 if test -z "$defaultval"; then
10154 if test x"$enablestring" = xdisable; then
10161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10162 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10163 # Check whether --enable-logdialog was given.
10164 if test "${enable_logdialog+set}" = set; then
10165 enableval=$enable_logdialog;
10166 if test "$enableval" = yes; then
10167 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10169 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10175 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10176 if test "x$LINE" != x ; then
10177 eval "DEFAULT_$LINE"
10183 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10188 eval "$wx_cv_use_logdialog"
10189 if test "x$cache" = xyes; then
10190 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10193 if test x"$enablestring" = xdisable; then
10194 if test $wxUSE_LOGDIALOG = yes; then
10200 result=$wxUSE_LOGDIALOG
10203 { echo "$as_me:$LINENO: result: $result" >&5
10204 echo "${ECHO_T}$result" >&6; }
10208 defaultval=$wxUSE_ALL_FEATURES
10209 if test -z "$defaultval"; then
10210 if test x"$enablestring" = xdisable; then
10217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10219 # Check whether --enable-webkit was given.
10220 if test "${enable_webkit+set}" = set; then
10221 enableval=$enable_webkit;
10222 if test "$enableval" = yes; then
10223 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10225 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10231 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10232 if test "x$LINE" != x ; then
10233 eval "DEFAULT_$LINE"
10239 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10244 eval "$wx_cv_use_webkit"
10245 if test "x$cache" = xyes; then
10246 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10249 if test x"$enablestring" = xdisable; then
10250 if test $wxUSE_WEBKIT = yes; then
10256 result=$wxUSE_WEBKIT
10259 { echo "$as_me:$LINENO: result: $result" >&5
10260 echo "${ECHO_T}$result" >&6; }
10264 defaultval=$wxUSE_ALL_FEATURES
10265 if test -z "$defaultval"; then
10266 if test x"$enablestring" = xdisable; then
10273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10274 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10275 # Check whether --enable-richtext was given.
10276 if test "${enable_richtext+set}" = set; then
10277 enableval=$enable_richtext;
10278 if test "$enableval" = yes; then
10279 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10281 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10287 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10288 if test "x$LINE" != x ; then
10289 eval "DEFAULT_$LINE"
10295 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10300 eval "$wx_cv_use_richtext"
10301 if test "x$cache" = xyes; then
10302 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10305 if test x"$enablestring" = xdisable; then
10306 if test $wxUSE_RICHTEXT = yes; then
10312 result=$wxUSE_RICHTEXT
10315 { echo "$as_me:$LINENO: result: $result" >&5
10316 echo "${ECHO_T}$result" >&6; }
10320 defaultval=$wxUSE_ALL_FEATURES
10321 if test -z "$defaultval"; then
10322 if test x"$enablestring" = xdisable; then
10329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10331 # Check whether --enable-graphics_ctx was given.
10332 if test "${enable_graphics_ctx+set}" = set; then
10333 enableval=$enable_graphics_ctx;
10334 if test "$enableval" = yes; then
10335 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10337 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10343 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10351 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10356 eval "$wx_cv_use_graphics_ctx"
10357 if test "x$cache" = xyes; then
10358 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10361 if test x"$enablestring" = xdisable; then
10362 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10368 result=$wxUSE_GRAPHICS_CONTEXT
10371 { echo "$as_me:$LINENO: result: $result" >&5
10372 echo "${ECHO_T}$result" >&6; }
10376 defaultval=$wxUSE_ALL_FEATURES
10377 if test -z "$defaultval"; then
10378 if test x"$enablestring" = xdisable; then
10385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10386 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10387 # Check whether --enable-postscript was given.
10388 if test "${enable_postscript+set}" = set; then
10389 enableval=$enable_postscript;
10390 if test "$enableval" = yes; then
10391 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10393 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10399 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10400 if test "x$LINE" != x ; then
10401 eval "DEFAULT_$LINE"
10407 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10412 eval "$wx_cv_use_postscript"
10413 if test "x$cache" = xyes; then
10414 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10417 if test x"$enablestring" = xdisable; then
10418 if test $wxUSE_POSTSCRIPT = yes; then
10424 result=$wxUSE_POSTSCRIPT
10427 { echo "$as_me:$LINENO: result: $result" >&5
10428 echo "${ECHO_T}$result" >&6; }
10432 defaultval=$wxUSE_ALL_FEATURES
10433 if test -z "$defaultval"; then
10434 if test x"$enablestring" = xdisable; then
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10443 # Check whether --enable-svg was given.
10444 if test "${enable_svg+set}" = set; then
10445 enableval=$enable_svg;
10446 if test "$enableval" = yes; then
10447 wx_cv_use_svg='wxUSE_SVG=yes'
10449 wx_cv_use_svg='wxUSE_SVG=no'
10455 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x ; then
10457 eval "DEFAULT_$LINE"
10463 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10468 eval "$wx_cv_use_svg"
10469 if test "x$cache" = xyes; then
10470 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10473 if test x"$enablestring" = xdisable; then
10474 if test $wxUSE_SVG = yes; then
10483 { echo "$as_me:$LINENO: result: $result" >&5
10484 echo "${ECHO_T}$result" >&6; }
10490 defaultval=$wxUSE_ALL_FEATURES
10491 if test -z "$defaultval"; then
10492 if test x"$enablestring" = xdisable; then
10499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10501 # Check whether --enable-clipboard was given.
10502 if test "${enable_clipboard+set}" = set; then
10503 enableval=$enable_clipboard;
10504 if test "$enableval" = yes; then
10505 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10507 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10513 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10514 if test "x$LINE" != x ; then
10515 eval "DEFAULT_$LINE"
10521 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10526 eval "$wx_cv_use_clipboard"
10527 if test "x$cache" = xyes; then
10528 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10531 if test x"$enablestring" = xdisable; then
10532 if test $wxUSE_CLIPBOARD = yes; then
10538 result=$wxUSE_CLIPBOARD
10541 { echo "$as_me:$LINENO: result: $result" >&5
10542 echo "${ECHO_T}$result" >&6; }
10546 defaultval=$wxUSE_ALL_FEATURES
10547 if test -z "$defaultval"; then
10548 if test x"$enablestring" = xdisable; then
10555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10556 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10557 # Check whether --enable-dnd was given.
10558 if test "${enable_dnd+set}" = set; then
10559 enableval=$enable_dnd;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10563 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10569 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10570 if test "x$LINE" != x ; then
10571 eval "DEFAULT_$LINE"
10577 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10582 eval "$wx_cv_use_dnd"
10583 if test "x$cache" = xyes; then
10584 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10587 if test x"$enablestring" = xdisable; then
10588 if test $wxUSE_DRAG_AND_DROP = yes; then
10594 result=$wxUSE_DRAG_AND_DROP
10597 { echo "$as_me:$LINENO: result: $result" >&5
10598 echo "${ECHO_T}$result" >&6; }
10602 defaultval=$wxUSE_ALL_FEATURES
10603 if test -z "$defaultval"; then
10604 if test x"$enablestring" = xdisable; then
10611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10612 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10613 # Check whether --enable-metafile was given.
10614 if test "${enable_metafile+set}" = set; then
10615 enableval=$enable_metafile;
10616 if test "$enableval" = yes; then
10617 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10619 wx_cv_use_metafile='wxUSE_METAFILE=no'
10625 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10626 if test "x$LINE" != x ; then
10627 eval "DEFAULT_$LINE"
10633 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10638 eval "$wx_cv_use_metafile"
10639 if test "x$cache" = xyes; then
10640 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_METAFILE = yes; then
10650 result=$wxUSE_METAFILE
10653 { echo "$as_me:$LINENO: result: $result" >&5
10654 echo "${ECHO_T}$result" >&6; }
10658 DEFAULT_wxUSE_CONTROLS=none
10660 enablestring=disable
10662 if test -z "$defaultval"; then
10663 if test x"$enablestring" = xdisable; then
10670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10671 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10672 # Check whether --enable-controls was given.
10673 if test "${enable_controls+set}" = set; then
10674 enableval=$enable_controls;
10675 if test "$enableval" = yes; then
10676 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10678 wx_cv_use_controls='wxUSE_CONTROLS=no'
10684 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10692 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10697 eval "$wx_cv_use_controls"
10698 if test "x$cache" = xyes; then
10699 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10702 if test x"$enablestring" = xdisable; then
10703 if test $wxUSE_CONTROLS = yes; then
10709 result=$wxUSE_CONTROLS
10712 { echo "$as_me:$LINENO: result: $result" >&5
10713 echo "${ECHO_T}$result" >&6; }
10716 if test "$wxUSE_CONTROLS" = "yes"; then
10717 DEFAULT_wxUSE_ACCEL=yes
10718 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10719 DEFAULT_wxUSE_BMPBUTTON=yes
10720 DEFAULT_wxUSE_BUTTON=yes
10721 DEFAULT_wxUSE_CALCTRL=yes
10722 DEFAULT_wxUSE_CARET=yes
10723 DEFAULT_wxUSE_COMBOBOX=yes
10724 DEFAULT_wxUSE_CHECKBOX=yes
10725 DEFAULT_wxUSE_CHECKLISTBOX=yes
10726 DEFAULT_wxUSE_CHOICE=yes
10727 DEFAULT_wxUSE_CHOICEBOOK=yes
10728 DEFAULT_wxUSE_COLLPANE=yes
10729 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10730 DEFAULT_wxUSE_COMBOBOX=yes
10731 DEFAULT_wxUSE_DATEPICKCTRL=yes
10732 DEFAULT_wxUSE_DISPLAY=yes
10733 DEFAULT_wxUSE_DETECT_SM=yes
10734 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10735 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10736 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10737 DEFAULT_wxUSE_GAUGE=yes
10738 DEFAULT_wxUSE_GRID=yes
10739 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10740 DEFAULT_wxUSE_DATAVIEWCTRL=no
10741 DEFAULT_wxUSE_IMAGLIST=yes
10742 DEFAULT_wxUSE_LISTBOOK=yes
10743 DEFAULT_wxUSE_LISTBOX=yes
10744 DEFAULT_wxUSE_LISTCTRL=yes
10745 DEFAULT_wxUSE_NOTEBOOK=yes
10746 DEFAULT_wxUSE_RADIOBOX=yes
10747 DEFAULT_wxUSE_RADIOBTN=yes
10748 DEFAULT_wxUSE_SASH=yes
10749 DEFAULT_wxUSE_SCROLLBAR=yes
10750 DEFAULT_wxUSE_SEARCHCTRL=yes
10751 DEFAULT_wxUSE_SLIDER=yes
10752 DEFAULT_wxUSE_SPINBTN=yes
10753 DEFAULT_wxUSE_SPINCTRL=yes
10754 DEFAULT_wxUSE_SPLITTER=yes
10755 DEFAULT_wxUSE_STATBMP=yes
10756 DEFAULT_wxUSE_STATBOX=yes
10757 DEFAULT_wxUSE_STATLINE=yes
10758 DEFAULT_wxUSE_STATUSBAR=yes
10759 DEFAULT_wxUSE_TAB_DIALOG=yes
10760 DEFAULT_wxUSE_TOGGLEBTN=yes
10761 DEFAULT_wxUSE_TOOLBAR=yes
10762 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10763 DEFAULT_wxUSE_TOOLTIPS=yes
10764 DEFAULT_wxUSE_TREEBOOK=yes
10765 DEFAULT_wxUSE_TOOLBOOK=yes
10766 DEFAULT_wxUSE_TREECTRL=yes
10767 DEFAULT_wxUSE_POPUPWIN=yes
10768 DEFAULT_wxUSE_TIPWINDOW=yes
10769 elif test "$wxUSE_CONTROLS" = "no"; then
10770 DEFAULT_wxUSE_ACCEL=no
10771 DEFAULT_wxUSE_ANIMATIONCTRL=no
10772 DEFAULT_wxUSE_BMPBUTTON=no
10773 DEFAULT_wxUSE_BUTTON=no
10774 DEFAULT_wxUSE_CALCTRL=no
10775 DEFAULT_wxUSE_CARET=no
10776 DEFAULT_wxUSE_COLLPANE=no
10777 DEFAULT_wxUSE_COMBOBOX=no
10778 DEFAULT_wxUSE_CHECKBOX=no
10779 DEFAULT_wxUSE_CHECKLISTBOX=no
10780 DEFAULT_wxUSE_CHOICE=no
10781 DEFAULT_wxUSE_CHOICEBOOK=no
10782 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10783 DEFAULT_wxUSE_COMBOBOX=no
10784 DEFAULT_wxUSE_DATEPICKCTRL=no
10785 DEFAULT_wxUSE_DISPLAY=no
10786 DEFAULT_wxUSE_DETECT_SM=no
10787 DEFAULT_wxUSE_DIRPICKERCTRL=no
10788 DEFAULT_wxUSE_FILEPICKERCTRL=no
10789 DEFAULT_wxUSE_FONTPICKERCTRL=no
10790 DEFAULT_wxUSE_GAUGE=no
10791 DEFAULT_wxUSE_GRID=no
10792 DEFAULT_wxUSE_HYPERLINKCTRL=no
10793 DEFAULT_wxUSE_DATAVIEWCTRL=no
10794 DEFAULT_wxUSE_IMAGLIST=no
10795 DEFAULT_wxUSE_LISTBOOK=no
10796 DEFAULT_wxUSE_LISTBOX=no
10797 DEFAULT_wxUSE_LISTCTRL=no
10798 DEFAULT_wxUSE_NOTEBOOK=no
10799 DEFAULT_wxUSE_RADIOBOX=no
10800 DEFAULT_wxUSE_RADIOBTN=no
10801 DEFAULT_wxUSE_SASH=no
10802 DEFAULT_wxUSE_SCROLLBAR=no
10803 DEFAULT_wxUSE_SEARCHCTRL=no
10804 DEFAULT_wxUSE_SLIDER=no
10805 DEFAULT_wxUSE_SPINBTN=no
10806 DEFAULT_wxUSE_SPINCTRL=no
10807 DEFAULT_wxUSE_SPLITTER=no
10808 DEFAULT_wxUSE_STATBMP=no
10809 DEFAULT_wxUSE_STATBOX=no
10810 DEFAULT_wxUSE_STATLINE=no
10811 DEFAULT_wxUSE_STATUSBAR=no
10812 DEFAULT_wxUSE_TAB_DIALOG=no
10813 DEFAULT_wxUSE_TOGGLEBTN=no
10814 DEFAULT_wxUSE_TOOLBAR=no
10815 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10816 DEFAULT_wxUSE_TOOLTIPS=no
10817 DEFAULT_wxUSE_TREEBOOK=no
10818 DEFAULT_wxUSE_TOOLBOOK=no
10819 DEFAULT_wxUSE_TREECTRL=no
10820 DEFAULT_wxUSE_POPUPWIN=no
10821 DEFAULT_wxUSE_TIPWINDOW=no
10826 defaultval=$wxUSE_ALL_FEATURES
10827 if test -z "$defaultval"; then
10828 if test x"$enablestring" = xdisable; then
10835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10836 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10837 # Check whether --enable-accel was given.
10838 if test "${enable_accel+set}" = set; then
10839 enableval=$enable_accel;
10840 if test "$enableval" = yes; then
10841 wx_cv_use_accel='wxUSE_ACCEL=yes'
10843 wx_cv_use_accel='wxUSE_ACCEL=no'
10849 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10850 if test "x$LINE" != x ; then
10851 eval "DEFAULT_$LINE"
10857 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10862 eval "$wx_cv_use_accel"
10863 if test "x$cache" = xyes; then
10864 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10867 if test x"$enablestring" = xdisable; then
10868 if test $wxUSE_ACCEL = yes; then
10874 result=$wxUSE_ACCEL
10877 { echo "$as_me:$LINENO: result: $result" >&5
10878 echo "${ECHO_T}$result" >&6; }
10882 defaultval=$wxUSE_ALL_FEATURES
10883 if test -z "$defaultval"; then
10884 if test x"$enablestring" = xdisable; then
10891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10892 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10893 # Check whether --enable-animatectrl was given.
10894 if test "${enable_animatectrl+set}" = set; then
10895 enableval=$enable_animatectrl;
10896 if test "$enableval" = yes; then
10897 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10899 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10905 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10906 if test "x$LINE" != x ; then
10907 eval "DEFAULT_$LINE"
10913 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10918 eval "$wx_cv_use_animatectrl"
10919 if test "x$cache" = xyes; then
10920 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_ANIMATIONCTRL = yes; then
10930 result=$wxUSE_ANIMATIONCTRL
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10949 # Check whether --enable-button was given.
10950 if test "${enable_button+set}" = set; then
10951 enableval=$enable_button;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_button='wxUSE_BUTTON=yes'
10955 wx_cv_use_button='wxUSE_BUTTON=no'
10961 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10962 if test "x$LINE" != x ; then
10963 eval "DEFAULT_$LINE"
10969 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10974 eval "$wx_cv_use_button"
10975 if test "x$cache" = xyes; then
10976 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10979 if test x"$enablestring" = xdisable; then
10980 if test $wxUSE_BUTTON = yes; then
10986 result=$wxUSE_BUTTON
10989 { echo "$as_me:$LINENO: result: $result" >&5
10990 echo "${ECHO_T}$result" >&6; }
10994 defaultval=$wxUSE_ALL_FEATURES
10995 if test -z "$defaultval"; then
10996 if test x"$enablestring" = xdisable; then
11003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11004 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11005 # Check whether --enable-bmpbutton was given.
11006 if test "${enable_bmpbutton+set}" = set; then
11007 enableval=$enable_bmpbutton;
11008 if test "$enableval" = yes; then
11009 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11011 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11017 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11018 if test "x$LINE" != x ; then
11019 eval "DEFAULT_$LINE"
11025 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11030 eval "$wx_cv_use_bmpbutton"
11031 if test "x$cache" = xyes; then
11032 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11035 if test x"$enablestring" = xdisable; then
11036 if test $wxUSE_BMPBUTTON = yes; then
11042 result=$wxUSE_BMPBUTTON
11045 { echo "$as_me:$LINENO: result: $result" >&5
11046 echo "${ECHO_T}$result" >&6; }
11050 defaultval=$wxUSE_ALL_FEATURES
11051 if test -z "$defaultval"; then
11052 if test x"$enablestring" = xdisable; then
11059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11060 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11061 # Check whether --enable-bmpcombobox was given.
11062 if test "${enable_bmpcombobox+set}" = set; then
11063 enableval=$enable_bmpcombobox;
11064 if test "$enableval" = yes; then
11065 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11067 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11073 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11074 if test "x$LINE" != x ; then
11075 eval "DEFAULT_$LINE"
11081 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11086 eval "$wx_cv_use_bmpcombobox"
11087 if test "x$cache" = xyes; then
11088 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11091 if test x"$enablestring" = xdisable; then
11092 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11098 result=$wxUSE_BITMAPCOMBOBOX
11101 { echo "$as_me:$LINENO: result: $result" >&5
11102 echo "${ECHO_T}$result" >&6; }
11106 defaultval=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x"$enablestring" = xdisable; then
11115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11116 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11117 # Check whether --enable-calendar was given.
11118 if test "${enable_calendar+set}" = set; then
11119 enableval=$enable_calendar;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11123 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11129 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11130 if test "x$LINE" != x ; then
11131 eval "DEFAULT_$LINE"
11137 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11142 eval "$wx_cv_use_calendar"
11143 if test "x$cache" = xyes; then
11144 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11147 if test x"$enablestring" = xdisable; then
11148 if test $wxUSE_CALCTRL = yes; then
11154 result=$wxUSE_CALCTRL
11157 { echo "$as_me:$LINENO: result: $result" >&5
11158 echo "${ECHO_T}$result" >&6; }
11162 defaultval=$wxUSE_ALL_FEATURES
11163 if test -z "$defaultval"; then
11164 if test x"$enablestring" = xdisable; then
11171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11172 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11173 # Check whether --enable-caret was given.
11174 if test "${enable_caret+set}" = set; then
11175 enableval=$enable_caret;
11176 if test "$enableval" = yes; then
11177 wx_cv_use_caret='wxUSE_CARET=yes'
11179 wx_cv_use_caret='wxUSE_CARET=no'
11185 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11186 if test "x$LINE" != x ; then
11187 eval "DEFAULT_$LINE"
11193 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11198 eval "$wx_cv_use_caret"
11199 if test "x$cache" = xyes; then
11200 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11203 if test x"$enablestring" = xdisable; then
11204 if test $wxUSE_CARET = yes; then
11210 result=$wxUSE_CARET
11213 { echo "$as_me:$LINENO: result: $result" >&5
11214 echo "${ECHO_T}$result" >&6; }
11218 defaultval=$wxUSE_ALL_FEATURES
11219 if test -z "$defaultval"; then
11220 if test x"$enablestring" = xdisable; then
11227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11228 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11229 # Check whether --enable-checkbox was given.
11230 if test "${enable_checkbox+set}" = set; then
11231 enableval=$enable_checkbox;
11232 if test "$enableval" = yes; then
11233 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11235 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11241 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11242 if test "x$LINE" != x ; then
11243 eval "DEFAULT_$LINE"
11249 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11254 eval "$wx_cv_use_checkbox"
11255 if test "x$cache" = xyes; then
11256 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11259 if test x"$enablestring" = xdisable; then
11260 if test $wxUSE_CHECKBOX = yes; then
11266 result=$wxUSE_CHECKBOX
11269 { echo "$as_me:$LINENO: result: $result" >&5
11270 echo "${ECHO_T}$result" >&6; }
11274 defaultval=$wxUSE_ALL_FEATURES
11275 if test -z "$defaultval"; then
11276 if test x"$enablestring" = xdisable; then
11283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11285 # Check whether --enable-checklst was given.
11286 if test "${enable_checklst+set}" = set; then
11287 enableval=$enable_checklst;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11291 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11297 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11298 if test "x$LINE" != x ; then
11299 eval "DEFAULT_$LINE"
11305 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11310 eval "$wx_cv_use_checklst"
11311 if test "x$cache" = xyes; then
11312 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_CHECKLST = yes; then
11322 result=$wxUSE_CHECKLST
11325 { echo "$as_me:$LINENO: result: $result" >&5
11326 echo "${ECHO_T}$result" >&6; }
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11341 # Check whether --enable-choice was given.
11342 if test "${enable_choice+set}" = set; then
11343 enableval=$enable_choice;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_choice='wxUSE_CHOICE=yes'
11347 wx_cv_use_choice='wxUSE_CHOICE=no'
11353 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11354 if test "x$LINE" != x ; then
11355 eval "DEFAULT_$LINE"
11361 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11366 eval "$wx_cv_use_choice"
11367 if test "x$cache" = xyes; then
11368 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11371 if test x"$enablestring" = xdisable; then
11372 if test $wxUSE_CHOICE = yes; then
11378 result=$wxUSE_CHOICE
11381 { echo "$as_me:$LINENO: result: $result" >&5
11382 echo "${ECHO_T}$result" >&6; }
11386 defaultval=$wxUSE_ALL_FEATURES
11387 if test -z "$defaultval"; then
11388 if test x"$enablestring" = xdisable; then
11395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11396 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11397 # Check whether --enable-choicebook was given.
11398 if test "${enable_choicebook+set}" = set; then
11399 enableval=$enable_choicebook;
11400 if test "$enableval" = yes; then
11401 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11403 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11409 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11410 if test "x$LINE" != x ; then
11411 eval "DEFAULT_$LINE"
11417 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11422 eval "$wx_cv_use_choicebook"
11423 if test "x$cache" = xyes; then
11424 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11427 if test x"$enablestring" = xdisable; then
11428 if test $wxUSE_CHOICEBOOK = yes; then
11434 result=$wxUSE_CHOICEBOOK
11437 { echo "$as_me:$LINENO: result: $result" >&5
11438 echo "${ECHO_T}$result" >&6; }
11442 defaultval=$wxUSE_ALL_FEATURES
11443 if test -z "$defaultval"; then
11444 if test x"$enablestring" = xdisable; then
11451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11452 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11453 # Check whether --enable-collpane was given.
11454 if test "${enable_collpane+set}" = set; then
11455 enableval=$enable_collpane;
11456 if test "$enableval" = yes; then
11457 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11459 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11465 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11466 if test "x$LINE" != x ; then
11467 eval "DEFAULT_$LINE"
11473 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11478 eval "$wx_cv_use_collpane"
11479 if test "x$cache" = xyes; then
11480 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11483 if test x"$enablestring" = xdisable; then
11484 if test $wxUSE_COLLPANE = yes; then
11490 result=$wxUSE_COLLPANE
11493 { echo "$as_me:$LINENO: result: $result" >&5
11494 echo "${ECHO_T}$result" >&6; }
11498 defaultval=$wxUSE_ALL_FEATURES
11499 if test -z "$defaultval"; then
11500 if test x"$enablestring" = xdisable; then
11507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11508 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11509 # Check whether --enable-colourpicker was given.
11510 if test "${enable_colourpicker+set}" = set; then
11511 enableval=$enable_colourpicker;
11512 if test "$enableval" = yes; then
11513 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11515 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11521 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11522 if test "x$LINE" != x ; then
11523 eval "DEFAULT_$LINE"
11529 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11534 eval "$wx_cv_use_colourpicker"
11535 if test "x$cache" = xyes; then
11536 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_COLOURPICKERCTRL = yes; then
11546 result=$wxUSE_COLOURPICKERCTRL
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11554 defaultval=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x"$enablestring" = xdisable; then
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11565 # Check whether --enable-combobox was given.
11566 if test "${enable_combobox+set}" = set; then
11567 enableval=$enable_combobox;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11571 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11577 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x ; then
11579 eval "DEFAULT_$LINE"
11585 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11590 eval "$wx_cv_use_combobox"
11591 if test "x$cache" = xyes; then
11592 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11595 if test x"$enablestring" = xdisable; then
11596 if test $wxUSE_COMBOBOX = yes; then
11602 result=$wxUSE_COMBOBOX
11605 { echo "$as_me:$LINENO: result: $result" >&5
11606 echo "${ECHO_T}$result" >&6; }
11610 defaultval=$wxUSE_ALL_FEATURES
11611 if test -z "$defaultval"; then
11612 if test x"$enablestring" = xdisable; then
11619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11620 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11621 # Check whether --enable-comboctrl was given.
11622 if test "${enable_comboctrl+set}" = set; then
11623 enableval=$enable_comboctrl;
11624 if test "$enableval" = yes; then
11625 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11627 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11633 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11634 if test "x$LINE" != x ; then
11635 eval "DEFAULT_$LINE"
11641 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11646 eval "$wx_cv_use_comboctrl"
11647 if test "x$cache" = xyes; then
11648 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11651 if test x"$enablestring" = xdisable; then
11652 if test $wxUSE_COMBOCTRL = yes; then
11658 result=$wxUSE_COMBOCTRL
11661 { echo "$as_me:$LINENO: result: $result" >&5
11662 echo "${ECHO_T}$result" >&6; }
11666 defaultval=$wxUSE_ALL_FEATURES
11667 if test -z "$defaultval"; then
11668 if test x"$enablestring" = xdisable; then
11675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11676 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11677 # Check whether --enable-datepick was given.
11678 if test "${enable_datepick+set}" = set; then
11679 enableval=$enable_datepick;
11680 if test "$enableval" = yes; then
11681 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11683 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11689 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11690 if test "x$LINE" != x ; then
11691 eval "DEFAULT_$LINE"
11697 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11702 eval "$wx_cv_use_datepick"
11703 if test "x$cache" = xyes; then
11704 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11707 if test x"$enablestring" = xdisable; then
11708 if test $wxUSE_DATEPICKCTRL = yes; then
11714 result=$wxUSE_DATEPICKCTRL
11717 { echo "$as_me:$LINENO: result: $result" >&5
11718 echo "${ECHO_T}$result" >&6; }
11722 defaultval=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x"$enablestring" = xdisable; then
11731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11732 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11733 # Check whether --enable-dirpicker was given.
11734 if test "${enable_dirpicker+set}" = set; then
11735 enableval=$enable_dirpicker;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11739 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11745 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11746 if test "x$LINE" != x ; then
11747 eval "DEFAULT_$LINE"
11753 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11758 eval "$wx_cv_use_dirpicker"
11759 if test "x$cache" = xyes; then
11760 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11763 if test x"$enablestring" = xdisable; then
11764 if test $wxUSE_DIRPICKERCTRL = yes; then
11770 result=$wxUSE_DIRPICKERCTRL
11773 { echo "$as_me:$LINENO: result: $result" >&5
11774 echo "${ECHO_T}$result" >&6; }
11778 defaultval=$wxUSE_ALL_FEATURES
11779 if test -z "$defaultval"; then
11780 if test x"$enablestring" = xdisable; then
11787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11788 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11789 # Check whether --enable-display was given.
11790 if test "${enable_display+set}" = set; then
11791 enableval=$enable_display;
11792 if test "$enableval" = yes; then
11793 wx_cv_use_display='wxUSE_DISPLAY=yes'
11795 wx_cv_use_display='wxUSE_DISPLAY=no'
11801 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11802 if test "x$LINE" != x ; then
11803 eval "DEFAULT_$LINE"
11809 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11814 eval "$wx_cv_use_display"
11815 if test "x$cache" = xyes; then
11816 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11819 if test x"$enablestring" = xdisable; then
11820 if test $wxUSE_DISPLAY = yes; then
11826 result=$wxUSE_DISPLAY
11829 { echo "$as_me:$LINENO: result: $result" >&5
11830 echo "${ECHO_T}$result" >&6; }
11834 defaultval=$wxUSE_ALL_FEATURES
11835 if test -z "$defaultval"; then
11836 if test x"$enablestring" = xdisable; then
11843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11844 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11845 # Check whether --enable-detect_sm was given.
11846 if test "${enable_detect_sm+set}" = set; then
11847 enableval=$enable_detect_sm;
11848 if test "$enableval" = yes; then
11849 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11851 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11857 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11858 if test "x$LINE" != x ; then
11859 eval "DEFAULT_$LINE"
11865 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11870 eval "$wx_cv_use_detect_sm"
11871 if test "x$cache" = xyes; then
11872 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11875 if test x"$enablestring" = xdisable; then
11876 if test $wxUSE_DETECT_SM = yes; then
11882 result=$wxUSE_DETECT_SM
11885 { echo "$as_me:$LINENO: result: $result" >&5
11886 echo "${ECHO_T}$result" >&6; }
11890 defaultval=$wxUSE_ALL_FEATURES
11891 if test -z "$defaultval"; then
11892 if test x"$enablestring" = xdisable; then
11899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11900 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11901 # Check whether --enable-editablebox was given.
11902 if test "${enable_editablebox+set}" = set; then
11903 enableval=$enable_editablebox;
11904 if test "$enableval" = yes; then
11905 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11907 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11913 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11914 if test "x$LINE" != x ; then
11915 eval "DEFAULT_$LINE"
11921 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11926 eval "$wx_cv_use_editablebox"
11927 if test "x$cache" = xyes; then
11928 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_EDITABLELISTBOX = yes; then
11938 result=$wxUSE_EDITABLELISTBOX
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11957 # Check whether --enable-filepicker was given.
11958 if test "${enable_filepicker+set}" = set; then
11959 enableval=$enable_filepicker;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11963 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11969 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11970 if test "x$LINE" != x ; then
11971 eval "DEFAULT_$LINE"
11977 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11982 eval "$wx_cv_use_filepicker"
11983 if test "x$cache" = xyes; then
11984 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11987 if test x"$enablestring" = xdisable; then
11988 if test $wxUSE_FILEPICKERCTRL = yes; then
11994 result=$wxUSE_FILEPICKERCTRL
11997 { echo "$as_me:$LINENO: result: $result" >&5
11998 echo "${ECHO_T}$result" >&6; }
12002 defaultval=$wxUSE_ALL_FEATURES
12003 if test -z "$defaultval"; then
12004 if test x"$enablestring" = xdisable; then
12011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12012 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12013 # Check whether --enable-fontpicker was given.
12014 if test "${enable_fontpicker+set}" = set; then
12015 enableval=$enable_fontpicker;
12016 if test "$enableval" = yes; then
12017 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12019 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12025 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12026 if test "x$LINE" != x ; then
12027 eval "DEFAULT_$LINE"
12033 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12038 eval "$wx_cv_use_fontpicker"
12039 if test "x$cache" = xyes; then
12040 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12043 if test x"$enablestring" = xdisable; then
12044 if test $wxUSE_FONTPICKERCTRL = yes; then
12050 result=$wxUSE_FONTPICKERCTRL
12053 { echo "$as_me:$LINENO: result: $result" >&5
12054 echo "${ECHO_T}$result" >&6; }
12058 defaultval=$wxUSE_ALL_FEATURES
12059 if test -z "$defaultval"; then
12060 if test x"$enablestring" = xdisable; then
12067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12068 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12069 # Check whether --enable-gauge was given.
12070 if test "${enable_gauge+set}" = set; then
12071 enableval=$enable_gauge;
12072 if test "$enableval" = yes; then
12073 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12075 wx_cv_use_gauge='wxUSE_GAUGE=no'
12081 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12082 if test "x$LINE" != x ; then
12083 eval "DEFAULT_$LINE"
12089 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12094 eval "$wx_cv_use_gauge"
12095 if test "x$cache" = xyes; then
12096 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12099 if test x"$enablestring" = xdisable; then
12100 if test $wxUSE_GAUGE = yes; then
12106 result=$wxUSE_GAUGE
12109 { echo "$as_me:$LINENO: result: $result" >&5
12110 echo "${ECHO_T}$result" >&6; }
12114 defaultval=$wxUSE_ALL_FEATURES
12115 if test -z "$defaultval"; then
12116 if test x"$enablestring" = xdisable; then
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12125 # Check whether --enable-grid was given.
12126 if test "${enable_grid+set}" = set; then
12127 enableval=$enable_grid;
12128 if test "$enableval" = yes; then
12129 wx_cv_use_grid='wxUSE_GRID=yes'
12131 wx_cv_use_grid='wxUSE_GRID=no'
12137 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12145 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12150 eval "$wx_cv_use_grid"
12151 if test "x$cache" = xyes; then
12152 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_GRID = yes; then
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12170 defaultval=$wxUSE_ALL_FEATURES
12171 if test -z "$defaultval"; then
12172 if test x"$enablestring" = xdisable; then
12179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12180 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12181 # Check whether --enable-dataviewctrl was given.
12182 if test "${enable_dataviewctrl+set}" = set; then
12183 enableval=$enable_dataviewctrl;
12184 if test "$enableval" = yes; then
12185 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12187 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12193 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12194 if test "x$LINE" != x ; then
12195 eval "DEFAULT_$LINE"
12201 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12206 eval "$wx_cv_use_dataviewctrl"
12207 if test "x$cache" = xyes; then
12208 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12211 if test x"$enablestring" = xdisable; then
12212 if test $wxUSE_DATAVIEWCTRL = yes; then
12218 result=$wxUSE_DATAVIEWCTRL
12221 { echo "$as_me:$LINENO: result: $result" >&5
12222 echo "${ECHO_T}$result" >&6; }
12226 defaultval=$wxUSE_ALL_FEATURES
12227 if test -z "$defaultval"; then
12228 if test x"$enablestring" = xdisable; then
12235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12236 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12237 # Check whether --enable-hyperlink was given.
12238 if test "${enable_hyperlink+set}" = set; then
12239 enableval=$enable_hyperlink;
12240 if test "$enableval" = yes; then
12241 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12243 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12249 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12250 if test "x$LINE" != x ; then
12251 eval "DEFAULT_$LINE"
12257 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12262 eval "$wx_cv_use_hyperlink"
12263 if test "x$cache" = xyes; then
12264 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12267 if test x"$enablestring" = xdisable; then
12268 if test $wxUSE_HYPERLINKCTRL = yes; then
12274 result=$wxUSE_HYPERLINKCTRL
12277 { echo "$as_me:$LINENO: result: $result" >&5
12278 echo "${ECHO_T}$result" >&6; }
12282 defaultval=$wxUSE_ALL_FEATURES
12283 if test -z "$defaultval"; then
12284 if test x"$enablestring" = xdisable; then
12291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12292 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12293 # Check whether --enable-imaglist was given.
12294 if test "${enable_imaglist+set}" = set; then
12295 enableval=$enable_imaglist;
12296 if test "$enableval" = yes; then
12297 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12299 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12305 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12306 if test "x$LINE" != x ; then
12307 eval "DEFAULT_$LINE"
12313 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12318 eval "$wx_cv_use_imaglist"
12319 if test "x$cache" = xyes; then
12320 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12323 if test x"$enablestring" = xdisable; then
12324 if test $wxUSE_IMAGLIST = yes; then
12330 result=$wxUSE_IMAGLIST
12333 { echo "$as_me:$LINENO: result: $result" >&5
12334 echo "${ECHO_T}$result" >&6; }
12338 defaultval=$wxUSE_ALL_FEATURES
12339 if test -z "$defaultval"; then
12340 if test x"$enablestring" = xdisable; then
12347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12348 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12349 # Check whether --enable-listbook was given.
12350 if test "${enable_listbook+set}" = set; then
12351 enableval=$enable_listbook;
12352 if test "$enableval" = yes; then
12353 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12355 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12361 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12362 if test "x$LINE" != x ; then
12363 eval "DEFAULT_$LINE"
12369 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12374 eval "$wx_cv_use_listbook"
12375 if test "x$cache" = xyes; then
12376 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12379 if test x"$enablestring" = xdisable; then
12380 if test $wxUSE_LISTBOOK = yes; then
12386 result=$wxUSE_LISTBOOK
12389 { echo "$as_me:$LINENO: result: $result" >&5
12390 echo "${ECHO_T}$result" >&6; }
12394 defaultval=$wxUSE_ALL_FEATURES
12395 if test -z "$defaultval"; then
12396 if test x"$enablestring" = xdisable; then
12403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12404 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12405 # Check whether --enable-listbox was given.
12406 if test "${enable_listbox+set}" = set; then
12407 enableval=$enable_listbox;
12408 if test "$enableval" = yes; then
12409 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12411 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12417 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12418 if test "x$LINE" != x ; then
12419 eval "DEFAULT_$LINE"
12425 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12430 eval "$wx_cv_use_listbox"
12431 if test "x$cache" = xyes; then
12432 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12435 if test x"$enablestring" = xdisable; then
12436 if test $wxUSE_LISTBOX = yes; then
12442 result=$wxUSE_LISTBOX
12445 { echo "$as_me:$LINENO: result: $result" >&5
12446 echo "${ECHO_T}$result" >&6; }
12450 defaultval=$wxUSE_ALL_FEATURES
12451 if test -z "$defaultval"; then
12452 if test x"$enablestring" = xdisable; then
12459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12460 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12461 # Check whether --enable-listctrl was given.
12462 if test "${enable_listctrl+set}" = set; then
12463 enableval=$enable_listctrl;
12464 if test "$enableval" = yes; then
12465 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12467 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12473 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12474 if test "x$LINE" != x ; then
12475 eval "DEFAULT_$LINE"
12481 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12486 eval "$wx_cv_use_listctrl"
12487 if test "x$cache" = xyes; then
12488 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12491 if test x"$enablestring" = xdisable; then
12492 if test $wxUSE_LISTCTRL = yes; then
12498 result=$wxUSE_LISTCTRL
12501 { echo "$as_me:$LINENO: result: $result" >&5
12502 echo "${ECHO_T}$result" >&6; }
12506 defaultval=$wxUSE_ALL_FEATURES
12507 if test -z "$defaultval"; then
12508 if test x"$enablestring" = xdisable; then
12515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12516 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12517 # Check whether --enable-notebook was given.
12518 if test "${enable_notebook+set}" = set; then
12519 enableval=$enable_notebook;
12520 if test "$enableval" = yes; then
12521 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12523 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12529 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12530 if test "x$LINE" != x ; then
12531 eval "DEFAULT_$LINE"
12537 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12542 eval "$wx_cv_use_notebook"
12543 if test "x$cache" = xyes; then
12544 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_NOTEBOOK = yes; then
12554 result=$wxUSE_NOTEBOOK
12557 { echo "$as_me:$LINENO: result: $result" >&5
12558 echo "${ECHO_T}$result" >&6; }
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12573 # Check whether --enable-odcombobox was given.
12574 if test "${enable_odcombobox+set}" = set; then
12575 enableval=$enable_odcombobox;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12579 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12585 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12586 if test "x$LINE" != x ; then
12587 eval "DEFAULT_$LINE"
12593 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12598 eval "$wx_cv_use_odcombobox"
12599 if test "x$cache" = xyes; then
12600 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12603 if test x"$enablestring" = xdisable; then
12604 if test $wxUSE_ODCOMBOBOX = yes; then
12610 result=$wxUSE_ODCOMBOBOX
12613 { echo "$as_me:$LINENO: result: $result" >&5
12614 echo "${ECHO_T}$result" >&6; }
12618 defaultval=$wxUSE_ALL_FEATURES
12619 if test -z "$defaultval"; then
12620 if test x"$enablestring" = xdisable; then
12627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12628 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12629 # Check whether --enable-radiobox was given.
12630 if test "${enable_radiobox+set}" = set; then
12631 enableval=$enable_radiobox;
12632 if test "$enableval" = yes; then
12633 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12635 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12641 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12642 if test "x$LINE" != x ; then
12643 eval "DEFAULT_$LINE"
12649 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12654 eval "$wx_cv_use_radiobox"
12655 if test "x$cache" = xyes; then
12656 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12659 if test x"$enablestring" = xdisable; then
12660 if test $wxUSE_RADIOBOX = yes; then
12666 result=$wxUSE_RADIOBOX
12669 { echo "$as_me:$LINENO: result: $result" >&5
12670 echo "${ECHO_T}$result" >&6; }
12674 defaultval=$wxUSE_ALL_FEATURES
12675 if test -z "$defaultval"; then
12676 if test x"$enablestring" = xdisable; then
12683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12684 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12685 # Check whether --enable-radiobtn was given.
12686 if test "${enable_radiobtn+set}" = set; then
12687 enableval=$enable_radiobtn;
12688 if test "$enableval" = yes; then
12689 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12691 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12697 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12698 if test "x$LINE" != x ; then
12699 eval "DEFAULT_$LINE"
12705 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12710 eval "$wx_cv_use_radiobtn"
12711 if test "x$cache" = xyes; then
12712 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12715 if test x"$enablestring" = xdisable; then
12716 if test $wxUSE_RADIOBTN = yes; then
12722 result=$wxUSE_RADIOBTN
12725 { echo "$as_me:$LINENO: result: $result" >&5
12726 echo "${ECHO_T}$result" >&6; }
12730 defaultval=$wxUSE_ALL_FEATURES
12731 if test -z "$defaultval"; then
12732 if test x"$enablestring" = xdisable; then
12739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12740 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12741 # Check whether --enable-sash was given.
12742 if test "${enable_sash+set}" = set; then
12743 enableval=$enable_sash;
12744 if test "$enableval" = yes; then
12745 wx_cv_use_sash='wxUSE_SASH=yes'
12747 wx_cv_use_sash='wxUSE_SASH=no'
12753 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12754 if test "x$LINE" != x ; then
12755 eval "DEFAULT_$LINE"
12761 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12766 eval "$wx_cv_use_sash"
12767 if test "x$cache" = xyes; then
12768 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12771 if test x"$enablestring" = xdisable; then
12772 if test $wxUSE_SASH = yes; then
12781 { echo "$as_me:$LINENO: result: $result" >&5
12782 echo "${ECHO_T}$result" >&6; }
12786 defaultval=$wxUSE_ALL_FEATURES
12787 if test -z "$defaultval"; then
12788 if test x"$enablestring" = xdisable; then
12795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12796 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12797 # Check whether --enable-scrollbar was given.
12798 if test "${enable_scrollbar+set}" = set; then
12799 enableval=$enable_scrollbar;
12800 if test "$enableval" = yes; then
12801 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12803 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12809 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12810 if test "x$LINE" != x ; then
12811 eval "DEFAULT_$LINE"
12817 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12822 eval "$wx_cv_use_scrollbar"
12823 if test "x$cache" = xyes; then
12824 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12827 if test x"$enablestring" = xdisable; then
12828 if test $wxUSE_SCROLLBAR = yes; then
12834 result=$wxUSE_SCROLLBAR
12837 { echo "$as_me:$LINENO: result: $result" >&5
12838 echo "${ECHO_T}$result" >&6; }
12842 defaultval=$wxUSE_ALL_FEATURES
12843 if test -z "$defaultval"; then
12844 if test x"$enablestring" = xdisable; then
12851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12852 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12853 # Check whether --enable-searchctrl was given.
12854 if test "${enable_searchctrl+set}" = set; then
12855 enableval=$enable_searchctrl;
12856 if test "$enableval" = yes; then
12857 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12859 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12865 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12866 if test "x$LINE" != x ; then
12867 eval "DEFAULT_$LINE"
12873 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12878 eval "$wx_cv_use_searchctrl"
12879 if test "x$cache" = xyes; then
12880 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12883 if test x"$enablestring" = xdisable; then
12884 if test $wxUSE_SEARCHCTRL = yes; then
12890 result=$wxUSE_SEARCHCTRL
12893 { echo "$as_me:$LINENO: result: $result" >&5
12894 echo "${ECHO_T}$result" >&6; }
12898 defaultval=$wxUSE_ALL_FEATURES
12899 if test -z "$defaultval"; then
12900 if test x"$enablestring" = xdisable; then
12907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12908 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12909 # Check whether --enable-slider was given.
12910 if test "${enable_slider+set}" = set; then
12911 enableval=$enable_slider;
12912 if test "$enableval" = yes; then
12913 wx_cv_use_slider='wxUSE_SLIDER=yes'
12915 wx_cv_use_slider='wxUSE_SLIDER=no'
12921 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12922 if test "x$LINE" != x ; then
12923 eval "DEFAULT_$LINE"
12929 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12934 eval "$wx_cv_use_slider"
12935 if test "x$cache" = xyes; then
12936 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12939 if test x"$enablestring" = xdisable; then
12940 if test $wxUSE_SLIDER = yes; then
12946 result=$wxUSE_SLIDER
12949 { echo "$as_me:$LINENO: result: $result" >&5
12950 echo "${ECHO_T}$result" >&6; }
12954 defaultval=$wxUSE_ALL_FEATURES
12955 if test -z "$defaultval"; then
12956 if test x"$enablestring" = xdisable; then
12963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12964 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12965 # Check whether --enable-spinbtn was given.
12966 if test "${enable_spinbtn+set}" = set; then
12967 enableval=$enable_spinbtn;
12968 if test "$enableval" = yes; then
12969 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12971 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12977 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12978 if test "x$LINE" != x ; then
12979 eval "DEFAULT_$LINE"
12985 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12990 eval "$wx_cv_use_spinbtn"
12991 if test "x$cache" = xyes; then
12992 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12995 if test x"$enablestring" = xdisable; then
12996 if test $wxUSE_SPINBTN = yes; then
13002 result=$wxUSE_SPINBTN
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13021 # Check whether --enable-spinctrl was given.
13022 if test "${enable_spinctrl+set}" = set; then
13023 enableval=$enable_spinctrl;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13027 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13033 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13034 if test "x$LINE" != x ; then
13035 eval "DEFAULT_$LINE"
13041 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13046 eval "$wx_cv_use_spinctrl"
13047 if test "x$cache" = xyes; then
13048 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13051 if test x"$enablestring" = xdisable; then
13052 if test $wxUSE_SPINCTRL = yes; then
13058 result=$wxUSE_SPINCTRL
13061 { echo "$as_me:$LINENO: result: $result" >&5
13062 echo "${ECHO_T}$result" >&6; }
13066 defaultval=$wxUSE_ALL_FEATURES
13067 if test -z "$defaultval"; then
13068 if test x"$enablestring" = xdisable; then
13075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13076 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13077 # Check whether --enable-splitter was given.
13078 if test "${enable_splitter+set}" = set; then
13079 enableval=$enable_splitter;
13080 if test "$enableval" = yes; then
13081 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13083 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13089 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13090 if test "x$LINE" != x ; then
13091 eval "DEFAULT_$LINE"
13097 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13102 eval "$wx_cv_use_splitter"
13103 if test "x$cache" = xyes; then
13104 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13107 if test x"$enablestring" = xdisable; then
13108 if test $wxUSE_SPLITTER = yes; then
13114 result=$wxUSE_SPLITTER
13117 { echo "$as_me:$LINENO: result: $result" >&5
13118 echo "${ECHO_T}$result" >&6; }
13122 defaultval=$wxUSE_ALL_FEATURES
13123 if test -z "$defaultval"; then
13124 if test x"$enablestring" = xdisable; then
13131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13132 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13133 # Check whether --enable-statbmp was given.
13134 if test "${enable_statbmp+set}" = set; then
13135 enableval=$enable_statbmp;
13136 if test "$enableval" = yes; then
13137 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13139 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13145 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13146 if test "x$LINE" != x ; then
13147 eval "DEFAULT_$LINE"
13153 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13158 eval "$wx_cv_use_statbmp"
13159 if test "x$cache" = xyes; then
13160 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13163 if test x"$enablestring" = xdisable; then
13164 if test $wxUSE_STATBMP = yes; then
13170 result=$wxUSE_STATBMP
13173 { echo "$as_me:$LINENO: result: $result" >&5
13174 echo "${ECHO_T}$result" >&6; }
13178 defaultval=$wxUSE_ALL_FEATURES
13179 if test -z "$defaultval"; then
13180 if test x"$enablestring" = xdisable; then
13187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13188 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13189 # Check whether --enable-statbox was given.
13190 if test "${enable_statbox+set}" = set; then
13191 enableval=$enable_statbox;
13192 if test "$enableval" = yes; then
13193 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13195 wx_cv_use_statbox='wxUSE_STATBOX=no'
13201 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13202 if test "x$LINE" != x ; then
13203 eval "DEFAULT_$LINE"
13209 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13214 eval "$wx_cv_use_statbox"
13215 if test "x$cache" = xyes; then
13216 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13219 if test x"$enablestring" = xdisable; then
13220 if test $wxUSE_STATBOX = yes; then
13226 result=$wxUSE_STATBOX
13229 { echo "$as_me:$LINENO: result: $result" >&5
13230 echo "${ECHO_T}$result" >&6; }
13234 defaultval=$wxUSE_ALL_FEATURES
13235 if test -z "$defaultval"; then
13236 if test x"$enablestring" = xdisable; then
13243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13244 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13245 # Check whether --enable-statline was given.
13246 if test "${enable_statline+set}" = set; then
13247 enableval=$enable_statline;
13248 if test "$enableval" = yes; then
13249 wx_cv_use_statline='wxUSE_STATLINE=yes'
13251 wx_cv_use_statline='wxUSE_STATLINE=no'
13257 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13258 if test "x$LINE" != x ; then
13259 eval "DEFAULT_$LINE"
13265 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13270 eval "$wx_cv_use_statline"
13271 if test "x$cache" = xyes; then
13272 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13275 if test x"$enablestring" = xdisable; then
13276 if test $wxUSE_STATLINE = yes; then
13282 result=$wxUSE_STATLINE
13285 { echo "$as_me:$LINENO: result: $result" >&5
13286 echo "${ECHO_T}$result" >&6; }
13290 defaultval=$wxUSE_ALL_FEATURES
13291 if test -z "$defaultval"; then
13292 if test x"$enablestring" = xdisable; then
13299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13300 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13301 # Check whether --enable-stattext was given.
13302 if test "${enable_stattext+set}" = set; then
13303 enableval=$enable_stattext;
13304 if test "$enableval" = yes; then
13305 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13307 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13313 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13314 if test "x$LINE" != x ; then
13315 eval "DEFAULT_$LINE"
13321 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13326 eval "$wx_cv_use_stattext"
13327 if test "x$cache" = xyes; then
13328 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13331 if test x"$enablestring" = xdisable; then
13332 if test $wxUSE_STATTEXT = yes; then
13338 result=$wxUSE_STATTEXT
13341 { echo "$as_me:$LINENO: result: $result" >&5
13342 echo "${ECHO_T}$result" >&6; }
13346 defaultval=$wxUSE_ALL_FEATURES
13347 if test -z "$defaultval"; then
13348 if test x"$enablestring" = xdisable; then
13355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13356 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13357 # Check whether --enable-statusbar was given.
13358 if test "${enable_statusbar+set}" = set; then
13359 enableval=$enable_statusbar;
13360 if test "$enableval" = yes; then
13361 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13363 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13369 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13370 if test "x$LINE" != x ; then
13371 eval "DEFAULT_$LINE"
13377 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13382 eval "$wx_cv_use_statusbar"
13383 if test "x$cache" = xyes; then
13384 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13387 if test x"$enablestring" = xdisable; then
13388 if test $wxUSE_STATUSBAR = yes; then
13394 result=$wxUSE_STATUSBAR
13397 { echo "$as_me:$LINENO: result: $result" >&5
13398 echo "${ECHO_T}$result" >&6; }
13402 defaultval=$wxUSE_ALL_FEATURES
13403 if test -z "$defaultval"; then
13404 if test x"$enablestring" = xdisable; then
13411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13412 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13413 # Check whether --enable-tabdialog was given.
13414 if test "${enable_tabdialog+set}" = set; then
13415 enableval=$enable_tabdialog;
13416 if test "$enableval" = yes; then
13417 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13419 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13425 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13426 if test "x$LINE" != x ; then
13427 eval "DEFAULT_$LINE"
13433 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13438 eval "$wx_cv_use_tabdialog"
13439 if test "x$cache" = xyes; then
13440 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13443 if test x"$enablestring" = xdisable; then
13444 if test $wxUSE_TAB_DIALOG = yes; then
13450 result=$wxUSE_TAB_DIALOG
13453 { echo "$as_me:$LINENO: result: $result" >&5
13454 echo "${ECHO_T}$result" >&6; }
13458 defaultval=$wxUSE_ALL_FEATURES
13459 if test -z "$defaultval"; then
13460 if test x"$enablestring" = xdisable; then
13467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13468 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13469 # Check whether --enable-taskbaricon was given.
13470 if test "${enable_taskbaricon+set}" = set; then
13471 enableval=$enable_taskbaricon;
13472 if test "$enableval" = yes; then
13473 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13475 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13481 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13482 if test "x$LINE" != x ; then
13483 eval "DEFAULT_$LINE"
13489 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13494 eval "$wx_cv_use_taskbaricon"
13495 if test "x$cache" = xyes; then
13496 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13499 if test x"$enablestring" = xdisable; then
13500 if test $wxUSE_TASKBARICON = yes; then
13506 result=$wxUSE_TASKBARICON
13509 { echo "$as_me:$LINENO: result: $result" >&5
13510 echo "${ECHO_T}$result" >&6; }
13514 defaultval=$wxUSE_ALL_FEATURES
13515 if test -z "$defaultval"; then
13516 if test x"$enablestring" = xdisable; then
13523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13524 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13525 # Check whether --enable-textctrl was given.
13526 if test "${enable_textctrl+set}" = set; then
13527 enableval=$enable_textctrl;
13528 if test "$enableval" = yes; then
13529 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13531 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13537 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13538 if test "x$LINE" != x ; then
13539 eval "DEFAULT_$LINE"
13545 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13550 eval "$wx_cv_use_textctrl"
13551 if test "x$cache" = xyes; then
13552 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13555 if test x"$enablestring" = xdisable; then
13556 if test $wxUSE_TEXTCTRL = yes; then
13562 result=$wxUSE_TEXTCTRL
13565 { echo "$as_me:$LINENO: result: $result" >&5
13566 echo "${ECHO_T}$result" >&6; }
13570 defaultval=$wxUSE_ALL_FEATURES
13571 if test -z "$defaultval"; then
13572 if test x"$enablestring" = xdisable; then
13579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13580 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13581 # Check whether --enable-togglebtn was given.
13582 if test "${enable_togglebtn+set}" = set; then
13583 enableval=$enable_togglebtn;
13584 if test "$enableval" = yes; then
13585 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13587 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13593 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13594 if test "x$LINE" != x ; then
13595 eval "DEFAULT_$LINE"
13601 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13606 eval "$wx_cv_use_togglebtn"
13607 if test "x$cache" = xyes; then
13608 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13611 if test x"$enablestring" = xdisable; then
13612 if test $wxUSE_TOGGLEBTN = yes; then
13618 result=$wxUSE_TOGGLEBTN
13621 { echo "$as_me:$LINENO: result: $result" >&5
13622 echo "${ECHO_T}$result" >&6; }
13626 defaultval=$wxUSE_ALL_FEATURES
13627 if test -z "$defaultval"; then
13628 if test x"$enablestring" = xdisable; then
13635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13636 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13637 # Check whether --enable-toolbar was given.
13638 if test "${enable_toolbar+set}" = set; then
13639 enableval=$enable_toolbar;
13640 if test "$enableval" = yes; then
13641 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13643 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13649 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13650 if test "x$LINE" != x ; then
13651 eval "DEFAULT_$LINE"
13657 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13662 eval "$wx_cv_use_toolbar"
13663 if test "x$cache" = xyes; then
13664 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13667 if test x"$enablestring" = xdisable; then
13668 if test $wxUSE_TOOLBAR = yes; then
13674 result=$wxUSE_TOOLBAR
13677 { echo "$as_me:$LINENO: result: $result" >&5
13678 echo "${ECHO_T}$result" >&6; }
13682 defaultval=$wxUSE_ALL_FEATURES
13683 if test -z "$defaultval"; then
13684 if test x"$enablestring" = xdisable; then
13691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13692 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13693 # Check whether --enable-tbarnative was given.
13694 if test "${enable_tbarnative+set}" = set; then
13695 enableval=$enable_tbarnative;
13696 if test "$enableval" = yes; then
13697 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13699 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13705 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13706 if test "x$LINE" != x ; then
13707 eval "DEFAULT_$LINE"
13713 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13718 eval "$wx_cv_use_tbarnative"
13719 if test "x$cache" = xyes; then
13720 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13723 if test x"$enablestring" = xdisable; then
13724 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13730 result=$wxUSE_TOOLBAR_NATIVE
13733 { echo "$as_me:$LINENO: result: $result" >&5
13734 echo "${ECHO_T}$result" >&6; }
13738 defaultval=$wxUSE_ALL_FEATURES
13739 if test -z "$defaultval"; then
13740 if test x"$enablestring" = xdisable; then
13747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13748 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13749 # Check whether --enable-treebook was given.
13750 if test "${enable_treebook+set}" = set; then
13751 enableval=$enable_treebook;
13752 if test "$enableval" = yes; then
13753 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13755 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13761 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13762 if test "x$LINE" != x ; then
13763 eval "DEFAULT_$LINE"
13769 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13774 eval "$wx_cv_use_treebook"
13775 if test "x$cache" = xyes; then
13776 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13779 if test x"$enablestring" = xdisable; then
13780 if test $wxUSE_TREEBOOK = yes; then
13786 result=$wxUSE_TREEBOOK
13789 { echo "$as_me:$LINENO: result: $result" >&5
13790 echo "${ECHO_T}$result" >&6; }
13794 defaultval=$wxUSE_ALL_FEATURES
13795 if test -z "$defaultval"; then
13796 if test x"$enablestring" = xdisable; then
13803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13804 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13805 # Check whether --enable-toolbook was given.
13806 if test "${enable_toolbook+set}" = set; then
13807 enableval=$enable_toolbook;
13808 if test "$enableval" = yes; then
13809 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13811 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13817 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13818 if test "x$LINE" != x ; then
13819 eval "DEFAULT_$LINE"
13825 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13830 eval "$wx_cv_use_toolbook"
13831 if test "x$cache" = xyes; then
13832 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_TOOLBOOK = yes; then
13842 result=$wxUSE_TOOLBOOK
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13861 # Check whether --enable-treectrl was given.
13862 if test "${enable_treectrl+set}" = set; then
13863 enableval=$enable_treectrl;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13867 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13873 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13874 if test "x$LINE" != x ; then
13875 eval "DEFAULT_$LINE"
13881 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13886 eval "$wx_cv_use_treectrl"
13887 if test "x$cache" = xyes; then
13888 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13891 if test x"$enablestring" = xdisable; then
13892 if test $wxUSE_TREECTRL = yes; then
13898 result=$wxUSE_TREECTRL
13901 { echo "$as_me:$LINENO: result: $result" >&5
13902 echo "${ECHO_T}$result" >&6; }
13906 defaultval=$wxUSE_ALL_FEATURES
13907 if test -z "$defaultval"; then
13908 if test x"$enablestring" = xdisable; then
13915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13916 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13917 # Check whether --enable-tipwindow was given.
13918 if test "${enable_tipwindow+set}" = set; then
13919 enableval=$enable_tipwindow;
13920 if test "$enableval" = yes; then
13921 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13923 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13929 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13930 if test "x$LINE" != x ; then
13931 eval "DEFAULT_$LINE"
13937 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13942 eval "$wx_cv_use_tipwindow"
13943 if test "x$cache" = xyes; then
13944 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13947 if test x"$enablestring" = xdisable; then
13948 if test $wxUSE_TIPWINDOW = yes; then
13954 result=$wxUSE_TIPWINDOW
13957 { echo "$as_me:$LINENO: result: $result" >&5
13958 echo "${ECHO_T}$result" >&6; }
13962 defaultval=$wxUSE_ALL_FEATURES
13963 if test -z "$defaultval"; then
13964 if test x"$enablestring" = xdisable; then
13971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13972 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13973 # Check whether --enable-popupwin was given.
13974 if test "${enable_popupwin+set}" = set; then
13975 enableval=$enable_popupwin;
13976 if test "$enableval" = yes; then
13977 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13979 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13985 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13986 if test "x$LINE" != x ; then
13987 eval "DEFAULT_$LINE"
13993 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13998 eval "$wx_cv_use_popupwin"
13999 if test "x$cache" = xyes; then
14000 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_POPUPWIN = yes; then
14010 result=$wxUSE_POPUPWIN
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14020 defaultval=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x"$enablestring" = xdisable; then
14029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14030 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14031 # Check whether --enable-commondlg was given.
14032 if test "${enable_commondlg+set}" = set; then
14033 enableval=$enable_commondlg;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14037 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14043 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14044 if test "x$LINE" != x ; then
14045 eval "DEFAULT_$LINE"
14051 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14056 eval "$wx_cv_use_commondlg"
14057 if test "x$cache" = xyes; then
14058 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14061 if test x"$enablestring" = xdisable; then
14062 if test $wxUSE_COMMONDLGS = yes; then
14068 result=$wxUSE_COMMONDLGS
14071 { echo "$as_me:$LINENO: result: $result" >&5
14072 echo "${ECHO_T}$result" >&6; }
14076 defaultval=$wxUSE_ALL_FEATURES
14077 if test -z "$defaultval"; then
14078 if test x"$enablestring" = xdisable; then
14085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14086 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14087 # Check whether --enable-aboutdlg was given.
14088 if test "${enable_aboutdlg+set}" = set; then
14089 enableval=$enable_aboutdlg;
14090 if test "$enableval" = yes; then
14091 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14093 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14099 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14100 if test "x$LINE" != x ; then
14101 eval "DEFAULT_$LINE"
14107 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14112 eval "$wx_cv_use_aboutdlg"
14113 if test "x$cache" = xyes; then
14114 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14117 if test x"$enablestring" = xdisable; then
14118 if test $wxUSE_ABOUTDLG = yes; then
14124 result=$wxUSE_ABOUTDLG
14127 { echo "$as_me:$LINENO: result: $result" >&5
14128 echo "${ECHO_T}$result" >&6; }
14132 defaultval=$wxUSE_ALL_FEATURES
14133 if test -z "$defaultval"; then
14134 if test x"$enablestring" = xdisable; then
14141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14142 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14143 # Check whether --enable-choicedlg was given.
14144 if test "${enable_choicedlg+set}" = set; then
14145 enableval=$enable_choicedlg;
14146 if test "$enableval" = yes; then
14147 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14149 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14155 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14156 if test "x$LINE" != x ; then
14157 eval "DEFAULT_$LINE"
14163 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14168 eval "$wx_cv_use_choicedlg"
14169 if test "x$cache" = xyes; then
14170 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14173 if test x"$enablestring" = xdisable; then
14174 if test $wxUSE_CHOICEDLG = yes; then
14180 result=$wxUSE_CHOICEDLG
14183 { echo "$as_me:$LINENO: result: $result" >&5
14184 echo "${ECHO_T}$result" >&6; }
14188 defaultval=$wxUSE_ALL_FEATURES
14189 if test -z "$defaultval"; then
14190 if test x"$enablestring" = xdisable; then
14197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14198 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14199 # Check whether --enable-coldlg was given.
14200 if test "${enable_coldlg+set}" = set; then
14201 enableval=$enable_coldlg;
14202 if test "$enableval" = yes; then
14203 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14205 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14211 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14212 if test "x$LINE" != x ; then
14213 eval "DEFAULT_$LINE"
14219 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14224 eval "$wx_cv_use_coldlg"
14225 if test "x$cache" = xyes; then
14226 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14229 if test x"$enablestring" = xdisable; then
14230 if test $wxUSE_COLOURDLG = yes; then
14236 result=$wxUSE_COLOURDLG
14239 { echo "$as_me:$LINENO: result: $result" >&5
14240 echo "${ECHO_T}$result" >&6; }
14244 defaultval=$wxUSE_ALL_FEATURES
14245 if test -z "$defaultval"; then
14246 if test x"$enablestring" = xdisable; then
14253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14254 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14255 # Check whether --enable-filedlg was given.
14256 if test "${enable_filedlg+set}" = set; then
14257 enableval=$enable_filedlg;
14258 if test "$enableval" = yes; then
14259 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14261 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14267 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14268 if test "x$LINE" != x ; then
14269 eval "DEFAULT_$LINE"
14275 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14280 eval "$wx_cv_use_filedlg"
14281 if test "x$cache" = xyes; then
14282 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14285 if test x"$enablestring" = xdisable; then
14286 if test $wxUSE_FILEDLG = yes; then
14292 result=$wxUSE_FILEDLG
14295 { echo "$as_me:$LINENO: result: $result" >&5
14296 echo "${ECHO_T}$result" >&6; }
14300 defaultval=$wxUSE_ALL_FEATURES
14301 if test -z "$defaultval"; then
14302 if test x"$enablestring" = xdisable; then
14309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14310 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14311 # Check whether --enable-finddlg was given.
14312 if test "${enable_finddlg+set}" = set; then
14313 enableval=$enable_finddlg;
14314 if test "$enableval" = yes; then
14315 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14317 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14323 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14324 if test "x$LINE" != x ; then
14325 eval "DEFAULT_$LINE"
14331 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14336 eval "$wx_cv_use_finddlg"
14337 if test "x$cache" = xyes; then
14338 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14341 if test x"$enablestring" = xdisable; then
14342 if test $wxUSE_FINDREPLDLG = yes; then
14348 result=$wxUSE_FINDREPLDLG
14351 { echo "$as_me:$LINENO: result: $result" >&5
14352 echo "${ECHO_T}$result" >&6; }
14356 defaultval=$wxUSE_ALL_FEATURES
14357 if test -z "$defaultval"; then
14358 if test x"$enablestring" = xdisable; then
14365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14366 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14367 # Check whether --enable-fontdlg was given.
14368 if test "${enable_fontdlg+set}" = set; then
14369 enableval=$enable_fontdlg;
14370 if test "$enableval" = yes; then
14371 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14373 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14379 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14380 if test "x$LINE" != x ; then
14381 eval "DEFAULT_$LINE"
14387 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14392 eval "$wx_cv_use_fontdlg"
14393 if test "x$cache" = xyes; then
14394 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14397 if test x"$enablestring" = xdisable; then
14398 if test $wxUSE_FONTDLG = yes; then
14404 result=$wxUSE_FONTDLG
14407 { echo "$as_me:$LINENO: result: $result" >&5
14408 echo "${ECHO_T}$result" >&6; }
14412 defaultval=$wxUSE_ALL_FEATURES
14413 if test -z "$defaultval"; then
14414 if test x"$enablestring" = xdisable; then
14421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14422 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14423 # Check whether --enable-dirdlg was given.
14424 if test "${enable_dirdlg+set}" = set; then
14425 enableval=$enable_dirdlg;
14426 if test "$enableval" = yes; then
14427 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14429 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14435 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14436 if test "x$LINE" != x ; then
14437 eval "DEFAULT_$LINE"
14443 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14448 eval "$wx_cv_use_dirdlg"
14449 if test "x$cache" = xyes; then
14450 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14453 if test x"$enablestring" = xdisable; then
14454 if test $wxUSE_DIRDLG = yes; then
14460 result=$wxUSE_DIRDLG
14463 { echo "$as_me:$LINENO: result: $result" >&5
14464 echo "${ECHO_T}$result" >&6; }
14468 defaultval=$wxUSE_ALL_FEATURES
14469 if test -z "$defaultval"; then
14470 if test x"$enablestring" = xdisable; then
14477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14478 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14479 # Check whether --enable-msgdlg was given.
14480 if test "${enable_msgdlg+set}" = set; then
14481 enableval=$enable_msgdlg;
14482 if test "$enableval" = yes; then
14483 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14485 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14491 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14492 if test "x$LINE" != x ; then
14493 eval "DEFAULT_$LINE"
14499 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14504 eval "$wx_cv_use_msgdlg"
14505 if test "x$cache" = xyes; then
14506 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14509 if test x"$enablestring" = xdisable; then
14510 if test $wxUSE_MSGDLG = yes; then
14516 result=$wxUSE_MSGDLG
14519 { echo "$as_me:$LINENO: result: $result" >&5
14520 echo "${ECHO_T}$result" >&6; }
14524 defaultval=$wxUSE_ALL_FEATURES
14525 if test -z "$defaultval"; then
14526 if test x"$enablestring" = xdisable; then
14533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14534 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14535 # Check whether --enable-numberdlg was given.
14536 if test "${enable_numberdlg+set}" = set; then
14537 enableval=$enable_numberdlg;
14538 if test "$enableval" = yes; then
14539 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14541 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14547 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14548 if test "x$LINE" != x ; then
14549 eval "DEFAULT_$LINE"
14555 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14560 eval "$wx_cv_use_numberdlg"
14561 if test "x$cache" = xyes; then
14562 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14565 if test x"$enablestring" = xdisable; then
14566 if test $wxUSE_NUMBERDLG = yes; then
14572 result=$wxUSE_NUMBERDLG
14575 { echo "$as_me:$LINENO: result: $result" >&5
14576 echo "${ECHO_T}$result" >&6; }
14580 defaultval=$wxUSE_ALL_FEATURES
14581 if test -z "$defaultval"; then
14582 if test x"$enablestring" = xdisable; then
14589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14590 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14591 # Check whether --enable-splash was given.
14592 if test "${enable_splash+set}" = set; then
14593 enableval=$enable_splash;
14594 if test "$enableval" = yes; then
14595 wx_cv_use_splash='wxUSE_SPLASH=yes'
14597 wx_cv_use_splash='wxUSE_SPLASH=no'
14603 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14604 if test "x$LINE" != x ; then
14605 eval "DEFAULT_$LINE"
14611 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14616 eval "$wx_cv_use_splash"
14617 if test "x$cache" = xyes; then
14618 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14621 if test x"$enablestring" = xdisable; then
14622 if test $wxUSE_SPLASH = yes; then
14628 result=$wxUSE_SPLASH
14631 { echo "$as_me:$LINENO: result: $result" >&5
14632 echo "${ECHO_T}$result" >&6; }
14636 defaultval=$wxUSE_ALL_FEATURES
14637 if test -z "$defaultval"; then
14638 if test x"$enablestring" = xdisable; then
14645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14646 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14647 # Check whether --enable-textdlg was given.
14648 if test "${enable_textdlg+set}" = set; then
14649 enableval=$enable_textdlg;
14650 if test "$enableval" = yes; then
14651 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14653 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14659 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14660 if test "x$LINE" != x ; then
14661 eval "DEFAULT_$LINE"
14667 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14672 eval "$wx_cv_use_textdlg"
14673 if test "x$cache" = xyes; then
14674 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14677 if test x"$enablestring" = xdisable; then
14678 if test $wxUSE_TEXTDLG = yes; then
14684 result=$wxUSE_TEXTDLG
14687 { echo "$as_me:$LINENO: result: $result" >&5
14688 echo "${ECHO_T}$result" >&6; }
14692 defaultval=$wxUSE_ALL_FEATURES
14693 if test -z "$defaultval"; then
14694 if test x"$enablestring" = xdisable; then
14701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14702 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14703 # Check whether --enable-tipdlg was given.
14704 if test "${enable_tipdlg+set}" = set; then
14705 enableval=$enable_tipdlg;
14706 if test "$enableval" = yes; then
14707 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14709 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14715 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14716 if test "x$LINE" != x ; then
14717 eval "DEFAULT_$LINE"
14723 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14728 eval "$wx_cv_use_tipdlg"
14729 if test "x$cache" = xyes; then
14730 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14733 if test x"$enablestring" = xdisable; then
14734 if test $wxUSE_STARTUP_TIPS = yes; then
14740 result=$wxUSE_STARTUP_TIPS
14743 { echo "$as_me:$LINENO: result: $result" >&5
14744 echo "${ECHO_T}$result" >&6; }
14748 defaultval=$wxUSE_ALL_FEATURES
14749 if test -z "$defaultval"; then
14750 if test x"$enablestring" = xdisable; then
14757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14758 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14759 # Check whether --enable-progressdlg was given.
14760 if test "${enable_progressdlg+set}" = set; then
14761 enableval=$enable_progressdlg;
14762 if test "$enableval" = yes; then
14763 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14765 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14771 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14772 if test "x$LINE" != x ; then
14773 eval "DEFAULT_$LINE"
14779 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14784 eval "$wx_cv_use_progressdlg"
14785 if test "x$cache" = xyes; then
14786 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14789 if test x"$enablestring" = xdisable; then
14790 if test $wxUSE_PROGRESSDLG = yes; then
14796 result=$wxUSE_PROGRESSDLG
14799 { echo "$as_me:$LINENO: result: $result" >&5
14800 echo "${ECHO_T}$result" >&6; }
14804 defaultval=$wxUSE_ALL_FEATURES
14805 if test -z "$defaultval"; then
14806 if test x"$enablestring" = xdisable; then
14813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14814 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14815 # Check whether --enable-wizarddlg was given.
14816 if test "${enable_wizarddlg+set}" = set; then
14817 enableval=$enable_wizarddlg;
14818 if test "$enableval" = yes; then
14819 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14821 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14827 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14828 if test "x$LINE" != x ; then
14829 eval "DEFAULT_$LINE"
14835 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14840 eval "$wx_cv_use_wizarddlg"
14841 if test "x$cache" = xyes; then
14842 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14845 if test x"$enablestring" = xdisable; then
14846 if test $wxUSE_WIZARDDLG = yes; then
14852 result=$wxUSE_WIZARDDLG
14855 { echo "$as_me:$LINENO: result: $result" >&5
14856 echo "${ECHO_T}$result" >&6; }
14862 defaultval=$wxUSE_ALL_FEATURES
14863 if test -z "$defaultval"; then
14864 if test x"$enablestring" = xdisable; then
14871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14872 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14873 # Check whether --enable-menus was given.
14874 if test "${enable_menus+set}" = set; then
14875 enableval=$enable_menus;
14876 if test "$enableval" = yes; then
14877 wx_cv_use_menus='wxUSE_MENUS=yes'
14879 wx_cv_use_menus='wxUSE_MENUS=no'
14885 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14886 if test "x$LINE" != x ; then
14887 eval "DEFAULT_$LINE"
14893 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14898 eval "$wx_cv_use_menus"
14899 if test "x$cache" = xyes; then
14900 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14903 if test x"$enablestring" = xdisable; then
14904 if test $wxUSE_MENUS = yes; then
14910 result=$wxUSE_MENUS
14913 { echo "$as_me:$LINENO: result: $result" >&5
14914 echo "${ECHO_T}$result" >&6; }
14918 defaultval=$wxUSE_ALL_FEATURES
14919 if test -z "$defaultval"; then
14920 if test x"$enablestring" = xdisable; then
14927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14928 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14929 # Check whether --enable-miniframe was given.
14930 if test "${enable_miniframe+set}" = set; then
14931 enableval=$enable_miniframe;
14932 if test "$enableval" = yes; then
14933 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14935 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14941 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14942 if test "x$LINE" != x ; then
14943 eval "DEFAULT_$LINE"
14949 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14954 eval "$wx_cv_use_miniframe"
14955 if test "x$cache" = xyes; then
14956 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14959 if test x"$enablestring" = xdisable; then
14960 if test $wxUSE_MINIFRAME = yes; then
14966 result=$wxUSE_MINIFRAME
14969 { echo "$as_me:$LINENO: result: $result" >&5
14970 echo "${ECHO_T}$result" >&6; }
14974 defaultval=$wxUSE_ALL_FEATURES
14975 if test -z "$defaultval"; then
14976 if test x"$enablestring" = xdisable; then
14983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14984 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14985 # Check whether --enable-tooltips was given.
14986 if test "${enable_tooltips+set}" = set; then
14987 enableval=$enable_tooltips;
14988 if test "$enableval" = yes; then
14989 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14991 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14997 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14998 if test "x$LINE" != x ; then
14999 eval "DEFAULT_$LINE"
15005 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15010 eval "$wx_cv_use_tooltips"
15011 if test "x$cache" = xyes; then
15012 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15015 if test x"$enablestring" = xdisable; then
15016 if test $wxUSE_TOOLTIPS = yes; then
15022 result=$wxUSE_TOOLTIPS
15025 { echo "$as_me:$LINENO: result: $result" >&5
15026 echo "${ECHO_T}$result" >&6; }
15030 defaultval=$wxUSE_ALL_FEATURES
15031 if test -z "$defaultval"; then
15032 if test x"$enablestring" = xdisable; then
15039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15040 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15041 # Check whether --enable-splines was given.
15042 if test "${enable_splines+set}" = set; then
15043 enableval=$enable_splines;
15044 if test "$enableval" = yes; then
15045 wx_cv_use_splines='wxUSE_SPLINES=yes'
15047 wx_cv_use_splines='wxUSE_SPLINES=no'
15053 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15054 if test "x$LINE" != x ; then
15055 eval "DEFAULT_$LINE"
15061 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15066 eval "$wx_cv_use_splines"
15067 if test "x$cache" = xyes; then
15068 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15071 if test x"$enablestring" = xdisable; then
15072 if test $wxUSE_SPLINES = yes; then
15078 result=$wxUSE_SPLINES
15081 { echo "$as_me:$LINENO: result: $result" >&5
15082 echo "${ECHO_T}$result" >&6; }
15086 defaultval=$wxUSE_ALL_FEATURES
15087 if test -z "$defaultval"; then
15088 if test x"$enablestring" = xdisable; then
15095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15096 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15097 # Check whether --enable-mousewheel was given.
15098 if test "${enable_mousewheel+set}" = set; then
15099 enableval=$enable_mousewheel;
15100 if test "$enableval" = yes; then
15101 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15103 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15109 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15110 if test "x$LINE" != x ; then
15111 eval "DEFAULT_$LINE"
15117 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15122 eval "$wx_cv_use_mousewheel"
15123 if test "x$cache" = xyes; then
15124 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15127 if test x"$enablestring" = xdisable; then
15128 if test $wxUSE_MOUSEWHEEL = yes; then
15134 result=$wxUSE_MOUSEWHEEL
15137 { echo "$as_me:$LINENO: result: $result" >&5
15138 echo "${ECHO_T}$result" >&6; }
15142 defaultval=$wxUSE_ALL_FEATURES
15143 if test -z "$defaultval"; then
15144 if test x"$enablestring" = xdisable; then
15151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15152 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15153 # Check whether --enable-validators was given.
15154 if test "${enable_validators+set}" = set; then
15155 enableval=$enable_validators;
15156 if test "$enableval" = yes; then
15157 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15159 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15165 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15166 if test "x$LINE" != x ; then
15167 eval "DEFAULT_$LINE"
15173 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15178 eval "$wx_cv_use_validators"
15179 if test "x$cache" = xyes; then
15180 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15183 if test x"$enablestring" = xdisable; then
15184 if test $wxUSE_VALIDATORS = yes; then
15190 result=$wxUSE_VALIDATORS
15193 { echo "$as_me:$LINENO: result: $result" >&5
15194 echo "${ECHO_T}$result" >&6; }
15198 defaultval=$wxUSE_ALL_FEATURES
15199 if test -z "$defaultval"; then
15200 if test x"$enablestring" = xdisable; then
15207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15208 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15209 # Check whether --enable-busyinfo was given.
15210 if test "${enable_busyinfo+set}" = set; then
15211 enableval=$enable_busyinfo;
15212 if test "$enableval" = yes; then
15213 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15215 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15221 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15222 if test "x$LINE" != x ; then
15223 eval "DEFAULT_$LINE"
15229 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15234 eval "$wx_cv_use_busyinfo"
15235 if test "x$cache" = xyes; then
15236 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15239 if test x"$enablestring" = xdisable; then
15240 if test $wxUSE_BUSYINFO = yes; then
15246 result=$wxUSE_BUSYINFO
15249 { echo "$as_me:$LINENO: result: $result" >&5
15250 echo "${ECHO_T}$result" >&6; }
15254 defaultval=$wxUSE_ALL_FEATURES
15255 if test -z "$defaultval"; then
15256 if test x"$enablestring" = xdisable; then
15263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15264 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15265 # Check whether --enable-joystick was given.
15266 if test "${enable_joystick+set}" = set; then
15267 enableval=$enable_joystick;
15268 if test "$enableval" = yes; then
15269 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15271 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15277 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15278 if test "x$LINE" != x ; then
15279 eval "DEFAULT_$LINE"
15285 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15290 eval "$wx_cv_use_joystick"
15291 if test "x$cache" = xyes; then
15292 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15295 if test x"$enablestring" = xdisable; then
15296 if test $wxUSE_JOYSTICK = yes; then
15302 result=$wxUSE_JOYSTICK
15305 { echo "$as_me:$LINENO: result: $result" >&5
15306 echo "${ECHO_T}$result" >&6; }
15310 defaultval=$wxUSE_ALL_FEATURES
15311 if test -z "$defaultval"; then
15312 if test x"$enablestring" = xdisable; then
15319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15320 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15321 # Check whether --enable-metafile was given.
15322 if test "${enable_metafile+set}" = set; then
15323 enableval=$enable_metafile;
15324 if test "$enableval" = yes; then
15325 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15327 wx_cv_use_metafile='wxUSE_METAFILE=no'
15333 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15334 if test "x$LINE" != x ; then
15335 eval "DEFAULT_$LINE"
15341 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15346 eval "$wx_cv_use_metafile"
15347 if test "x$cache" = xyes; then
15348 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15351 if test x"$enablestring" = xdisable; then
15352 if test $wxUSE_METAFILE = yes; then
15358 result=$wxUSE_METAFILE
15361 { echo "$as_me:$LINENO: result: $result" >&5
15362 echo "${ECHO_T}$result" >&6; }
15366 defaultval=$wxUSE_ALL_FEATURES
15367 if test -z "$defaultval"; then
15368 if test x"$enablestring" = xdisable; then
15375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15376 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15377 # Check whether --enable-dragimage was given.
15378 if test "${enable_dragimage+set}" = set; then
15379 enableval=$enable_dragimage;
15380 if test "$enableval" = yes; then
15381 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15383 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15389 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15390 if test "x$LINE" != x ; then
15391 eval "DEFAULT_$LINE"
15397 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15402 eval "$wx_cv_use_dragimage"
15403 if test "x$cache" = xyes; then
15404 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15407 if test x"$enablestring" = xdisable; then
15408 if test $wxUSE_DRAGIMAGE = yes; then
15414 result=$wxUSE_DRAGIMAGE
15417 { echo "$as_me:$LINENO: result: $result" >&5
15418 echo "${ECHO_T}$result" >&6; }
15422 defaultval=$wxUSE_ALL_FEATURES
15423 if test -z "$defaultval"; then
15424 if test x"$enablestring" = xdisable; then
15431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15432 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15433 # Check whether --enable-accessibility was given.
15434 if test "${enable_accessibility+set}" = set; then
15435 enableval=$enable_accessibility;
15436 if test "$enableval" = yes; then
15437 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15439 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15445 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15446 if test "x$LINE" != x ; then
15447 eval "DEFAULT_$LINE"
15453 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15458 eval "$wx_cv_use_accessibility"
15459 if test "x$cache" = xyes; then
15460 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15463 if test x"$enablestring" = xdisable; then
15464 if test $wxUSE_ACCESSIBILITY = yes; then
15470 result=$wxUSE_ACCESSIBILITY
15473 { echo "$as_me:$LINENO: result: $result" >&5
15474 echo "${ECHO_T}$result" >&6; }
15480 defaultval=$wxUSE_ALL_FEATURES
15481 if test -z "$defaultval"; then
15482 if test x"$enablestring" = xdisable; then
15489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15490 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15491 # Check whether --enable-palette was given.
15492 if test "${enable_palette+set}" = set; then
15493 enableval=$enable_palette;
15494 if test "$enableval" = yes; then
15495 wx_cv_use_palette='wxUSE_PALETTE=yes'
15497 wx_cv_use_palette='wxUSE_PALETTE=no'
15503 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15504 if test "x$LINE" != x ; then
15505 eval "DEFAULT_$LINE"
15511 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15516 eval "$wx_cv_use_palette"
15517 if test "x$cache" = xyes; then
15518 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15521 if test x"$enablestring" = xdisable; then
15522 if test $wxUSE_PALETTE = yes; then
15528 result=$wxUSE_PALETTE
15531 { echo "$as_me:$LINENO: result: $result" >&5
15532 echo "${ECHO_T}$result" >&6; }
15536 defaultval=$wxUSE_ALL_FEATURES
15537 if test -z "$defaultval"; then
15538 if test x"$enablestring" = xdisable; then
15545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15546 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15547 # Check whether --enable-image was given.
15548 if test "${enable_image+set}" = set; then
15549 enableval=$enable_image;
15550 if test "$enableval" = yes; then
15551 wx_cv_use_image='wxUSE_IMAGE=yes'
15553 wx_cv_use_image='wxUSE_IMAGE=no'
15559 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15560 if test "x$LINE" != x ; then
15561 eval "DEFAULT_$LINE"
15567 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15572 eval "$wx_cv_use_image"
15573 if test "x$cache" = xyes; then
15574 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15577 if test x"$enablestring" = xdisable; then
15578 if test $wxUSE_IMAGE = yes; then
15584 result=$wxUSE_IMAGE
15587 { echo "$as_me:$LINENO: result: $result" >&5
15588 echo "${ECHO_T}$result" >&6; }
15592 defaultval=$wxUSE_ALL_FEATURES
15593 if test -z "$defaultval"; then
15594 if test x"$enablestring" = xdisable; then
15601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15602 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15603 # Check whether --enable-gif was given.
15604 if test "${enable_gif+set}" = set; then
15605 enableval=$enable_gif;
15606 if test "$enableval" = yes; then
15607 wx_cv_use_gif='wxUSE_GIF=yes'
15609 wx_cv_use_gif='wxUSE_GIF=no'
15615 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15616 if test "x$LINE" != x ; then
15617 eval "DEFAULT_$LINE"
15623 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15628 eval "$wx_cv_use_gif"
15629 if test "x$cache" = xyes; then
15630 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15633 if test x"$enablestring" = xdisable; then
15634 if test $wxUSE_GIF = yes; then
15643 { echo "$as_me:$LINENO: result: $result" >&5
15644 echo "${ECHO_T}$result" >&6; }
15648 defaultval=$wxUSE_ALL_FEATURES
15649 if test -z "$defaultval"; then
15650 if test x"$enablestring" = xdisable; then
15657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15658 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15659 # Check whether --enable-pcx was given.
15660 if test "${enable_pcx+set}" = set; then
15661 enableval=$enable_pcx;
15662 if test "$enableval" = yes; then
15663 wx_cv_use_pcx='wxUSE_PCX=yes'
15665 wx_cv_use_pcx='wxUSE_PCX=no'
15671 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15672 if test "x$LINE" != x ; then
15673 eval "DEFAULT_$LINE"
15679 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15684 eval "$wx_cv_use_pcx"
15685 if test "x$cache" = xyes; then
15686 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15689 if test x"$enablestring" = xdisable; then
15690 if test $wxUSE_PCX = yes; then
15699 { echo "$as_me:$LINENO: result: $result" >&5
15700 echo "${ECHO_T}$result" >&6; }
15704 defaultval=$wxUSE_ALL_FEATURES
15705 if test -z "$defaultval"; then
15706 if test x"$enablestring" = xdisable; then
15713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15714 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15715 # Check whether --enable-tga was given.
15716 if test "${enable_tga+set}" = set; then
15717 enableval=$enable_tga;
15718 if test "$enableval" = yes; then
15719 wx_cv_use_tga='wxUSE_TGA=yes'
15721 wx_cv_use_tga='wxUSE_TGA=no'
15727 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15728 if test "x$LINE" != x ; then
15729 eval "DEFAULT_$LINE"
15735 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15740 eval "$wx_cv_use_tga"
15741 if test "x$cache" = xyes; then
15742 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15745 if test x"$enablestring" = xdisable; then
15746 if test $wxUSE_TGA = yes; then
15755 { echo "$as_me:$LINENO: result: $result" >&5
15756 echo "${ECHO_T}$result" >&6; }
15760 defaultval=$wxUSE_ALL_FEATURES
15761 if test -z "$defaultval"; then
15762 if test x"$enablestring" = xdisable; then
15769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15770 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15771 # Check whether --enable-iff was given.
15772 if test "${enable_iff+set}" = set; then
15773 enableval=$enable_iff;
15774 if test "$enableval" = yes; then
15775 wx_cv_use_iff='wxUSE_IFF=yes'
15777 wx_cv_use_iff='wxUSE_IFF=no'
15783 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15784 if test "x$LINE" != x ; then
15785 eval "DEFAULT_$LINE"
15791 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15796 eval "$wx_cv_use_iff"
15797 if test "x$cache" = xyes; then
15798 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15801 if test x"$enablestring" = xdisable; then
15802 if test $wxUSE_IFF = yes; then
15811 { echo "$as_me:$LINENO: result: $result" >&5
15812 echo "${ECHO_T}$result" >&6; }
15816 defaultval=$wxUSE_ALL_FEATURES
15817 if test -z "$defaultval"; then
15818 if test x"$enablestring" = xdisable; then
15825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15826 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15827 # Check whether --enable-pnm was given.
15828 if test "${enable_pnm+set}" = set; then
15829 enableval=$enable_pnm;
15830 if test "$enableval" = yes; then
15831 wx_cv_use_pnm='wxUSE_PNM=yes'
15833 wx_cv_use_pnm='wxUSE_PNM=no'
15839 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15840 if test "x$LINE" != x ; then
15841 eval "DEFAULT_$LINE"
15847 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15852 eval "$wx_cv_use_pnm"
15853 if test "x$cache" = xyes; then
15854 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15857 if test x"$enablestring" = xdisable; then
15858 if test $wxUSE_PNM = yes; then
15867 { echo "$as_me:$LINENO: result: $result" >&5
15868 echo "${ECHO_T}$result" >&6; }
15872 defaultval=$wxUSE_ALL_FEATURES
15873 if test -z "$defaultval"; then
15874 if test x"$enablestring" = xdisable; then
15881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15882 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15883 # Check whether --enable-xpm was given.
15884 if test "${enable_xpm+set}" = set; then
15885 enableval=$enable_xpm;
15886 if test "$enableval" = yes; then
15887 wx_cv_use_xpm='wxUSE_XPM=yes'
15889 wx_cv_use_xpm='wxUSE_XPM=no'
15895 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15896 if test "x$LINE" != x ; then
15897 eval "DEFAULT_$LINE"
15903 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15908 eval "$wx_cv_use_xpm"
15909 if test "x$cache" = xyes; then
15910 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15913 if test x"$enablestring" = xdisable; then
15914 if test $wxUSE_XPM = yes; then
15923 { echo "$as_me:$LINENO: result: $result" >&5
15924 echo "${ECHO_T}$result" >&6; }
15928 defaultval=$wxUSE_ALL_FEATURES
15929 if test -z "$defaultval"; then
15930 if test x"$enablestring" = xdisable; then
15937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15938 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15939 # Check whether --enable-ico_cur was given.
15940 if test "${enable_ico_cur+set}" = set; then
15941 enableval=$enable_ico_cur;
15942 if test "$enableval" = yes; then
15943 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15945 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15951 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15952 if test "x$LINE" != x ; then
15953 eval "DEFAULT_$LINE"
15959 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15964 eval "$wx_cv_use_ico_cur"
15965 if test "x$cache" = xyes; then
15966 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15969 if test x"$enablestring" = xdisable; then
15970 if test $wxUSE_ICO_CUR = yes; then
15976 result=$wxUSE_ICO_CUR
15979 { echo "$as_me:$LINENO: result: $result" >&5
15980 echo "${ECHO_T}$result" >&6; }
15986 defaultval=$wxUSE_ALL_FEATURES
15987 if test -z "$defaultval"; then
15988 if test x"$enablestring" = xdisable; then
15995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15996 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15997 # Check whether --enable-dccache was given.
15998 if test "${enable_dccache+set}" = set; then
15999 enableval=$enable_dccache;
16000 if test "$enableval" = yes; then
16001 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16003 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16009 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16010 if test "x$LINE" != x ; then
16011 eval "DEFAULT_$LINE"
16017 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16022 eval "$wx_cv_use_dccache"
16023 if test "x$cache" = xyes; then
16024 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16027 if test x"$enablestring" = xdisable; then
16028 if test $wxUSE_DC_CACHEING = yes; then
16034 result=$wxUSE_DC_CACHEING
16037 { echo "$as_me:$LINENO: result: $result" >&5
16038 echo "${ECHO_T}$result" >&6; }
16043 if test -z "$defaultval"; then
16044 if test x"$enablestring" = xdisable; then
16051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
16052 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
16053 # Check whether --enable-iniconf was given.
16054 if test "${enable_iniconf+set}" = set; then
16055 enableval=$enable_iniconf;
16056 if test "$enableval" = yes; then
16057 wx_cv_use_iniconf='wxUSE_INICONF=yes'
16059 wx_cv_use_iniconf='wxUSE_INICONF=no'
16065 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
16066 if test "x$LINE" != x ; then
16067 eval "DEFAULT_$LINE"
16073 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
16078 eval "$wx_cv_use_iniconf"
16079 if test "x$cache" = xyes; then
16080 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
16083 if test x"$enablestring" = xdisable; then
16084 if test $wxUSE_INICONF = yes; then
16090 result=$wxUSE_INICONF
16093 { echo "$as_me:$LINENO: result: $result" >&5
16094 echo "${ECHO_T}$result" >&6; }
16098 defaultval=$wxUSE_ALL_FEATURES
16099 if test -z "$defaultval"; then
16100 if test x"$enablestring" = xdisable; then
16107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16108 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16109 # Check whether --enable-ps-in-msw was given.
16110 if test "${enable_ps_in_msw+set}" = set; then
16111 enableval=$enable_ps_in_msw;
16112 if test "$enableval" = yes; then
16113 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16115 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16121 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16122 if test "x$LINE" != x ; then
16123 eval "DEFAULT_$LINE"
16129 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16134 eval "$wx_cv_use_ps_in_msw"
16135 if test "x$cache" = xyes; then
16136 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16139 if test x"$enablestring" = xdisable; then
16140 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16146 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16149 { echo "$as_me:$LINENO: result: $result" >&5
16150 echo "${ECHO_T}$result" >&6; }
16154 defaultval=$wxUSE_ALL_FEATURES
16155 if test -z "$defaultval"; then
16156 if test x"$enablestring" = xdisable; then
16163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16164 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16165 # Check whether --enable-ownerdrawn was given.
16166 if test "${enable_ownerdrawn+set}" = set; then
16167 enableval=$enable_ownerdrawn;
16168 if test "$enableval" = yes; then
16169 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16171 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16177 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16178 if test "x$LINE" != x ; then
16179 eval "DEFAULT_$LINE"
16185 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16190 eval "$wx_cv_use_ownerdrawn"
16191 if test "x$cache" = xyes; then
16192 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16195 if test x"$enablestring" = xdisable; then
16196 if test $wxUSE_OWNER_DRAWN = yes; then
16202 result=$wxUSE_OWNER_DRAWN
16205 { echo "$as_me:$LINENO: result: $result" >&5
16206 echo "${ECHO_T}$result" >&6; }
16210 defaultval=$wxUSE_ALL_FEATURES
16211 if test -z "$defaultval"; then
16212 if test x"$enablestring" = xdisable; then
16219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
16220 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
16221 # Check whether --enable-regkey was given.
16222 if test "${enable_regkey+set}" = set; then
16223 enableval=$enable_regkey;
16224 if test "$enableval" = yes; then
16225 wx_cv_use_regkey='wxUSE_REGKEY=yes'
16227 wx_cv_use_regkey='wxUSE_REGKEY=no'
16233 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
16234 if test "x$LINE" != x ; then
16235 eval "DEFAULT_$LINE"
16241 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
16246 eval "$wx_cv_use_regkey"
16247 if test "x$cache" = xyes; then
16248 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
16251 if test x"$enablestring" = xdisable; then
16252 if test $wxUSE_REGKEY = yes; then
16258 result=$wxUSE_REGKEY
16261 { echo "$as_me:$LINENO: result: $result" >&5
16262 echo "${ECHO_T}$result" >&6; }
16266 defaultval=$wxUSE_ALL_FEATURES
16267 if test -z "$defaultval"; then
16268 if test x"$enablestring" = xdisable; then
16275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16276 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16277 # Check whether --enable-uxtheme was given.
16278 if test "${enable_uxtheme+set}" = set; then
16279 enableval=$enable_uxtheme;
16280 if test "$enableval" = yes; then
16281 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16283 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16289 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16290 if test "x$LINE" != x ; then
16291 eval "DEFAULT_$LINE"
16297 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16302 eval "$wx_cv_use_uxtheme"
16303 if test "x$cache" = xyes; then
16304 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16307 if test x"$enablestring" = xdisable; then
16308 if test $wxUSE_UXTHEME = yes; then
16314 result=$wxUSE_UXTHEME
16317 { echo "$as_me:$LINENO: result: $result" >&5
16318 echo "${ECHO_T}$result" >&6; }
16322 defaultval=$wxUSE_ALL_FEATURES
16323 if test -z "$defaultval"; then
16324 if test x"$enablestring" = xdisable; then
16331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16332 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16333 # Check whether --enable-wxdib was given.
16334 if test "${enable_wxdib+set}" = set; then
16335 enableval=$enable_wxdib;
16336 if test "$enableval" = yes; then
16337 wx_cv_use_wxdib='wxUSE_DIB=yes'
16339 wx_cv_use_wxdib='wxUSE_DIB=no'
16345 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16346 if test "x$LINE" != x ; then
16347 eval "DEFAULT_$LINE"
16353 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16358 eval "$wx_cv_use_wxdib"
16359 if test "x$cache" = xyes; then
16360 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16363 if test x"$enablestring" = xdisable; then
16364 if test $wxUSE_DIB = yes; then
16373 { echo "$as_me:$LINENO: result: $result" >&5
16374 echo "${ECHO_T}$result" >&6; }
16380 echo "saving argument cache $wx_arg_cache_file"
16381 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16385 { echo "$as_me:$LINENO: checking for toolkit" >&5
16386 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16388 # In Wine, we need to default to MSW, not GTK or MOTIF
16389 if test "$wxUSE_WINE" = "yes"; then
16390 DEFAULT_DEFAULT_wxUSE_GTK=0
16391 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16392 DEFAULT_DEFAULT_wxUSE_MSW=1
16395 CXX=${CXX:-wineg++}
16399 if test "$wxUSE_GUI" = "yes"; then
16401 if test "$USE_BEOS" = 1; then
16402 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16403 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16404 { (exit 1); exit 1; }; }
16407 if test "$TOOLKIT_GIVEN" = 1; then
16408 for toolkit in `echo $ALL_TOOLKITS`; do
16410 eval "value=\$${var}"
16411 if test "x$value" = "xno"; then
16413 elif test "x$value" != "x"; then
16417 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16418 eval "wx${toolkit}_VERSION=$value"
16422 for toolkit in `echo $ALL_TOOLKITS`; do
16423 if test "$has_toolkit_in_cache" != 1; then
16424 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16426 var=DEFAULT_wxUSE_$toolkit
16428 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16429 if test "x$version" != "x"; then
16430 eval "wx${toolkit}_VERSION=$version"
16433 eval "wxUSE_$toolkit=\$${var}"
16437 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16438 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16439 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16442 *-pc-os2_emx | *-pc-os2-emx )
16443 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16446 case "$NUM_TOOLKITS" in
16450 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16451 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16452 { (exit 1); exit 1; }; }
16455 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16456 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16457 { (exit 1); exit 1; }; }
16460 # to be removed when --disable-gtk2 isn't needed
16461 if test "x$wxUSE_GTK2" = "xyes"; then
16463 elif test "x$wxUSE_GTK2" = "xno"; then
16467 for toolkit in `echo $ALL_TOOLKITS`; do
16469 eval "value=\$${var}"
16470 if test "x$value" != x; then
16471 cache_var=CACHE_$toolkit
16472 eval "cache=\$${cache_var}"
16473 if test "$cache" = 1; then
16474 echo "$var=$value" >> ${wx_arg_cache_file}
16475 eval "version=\$wx${toolkit}_VERSION"
16476 if test "x$version" != "x"; then
16477 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16480 if test "$value" = 1; then
16481 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16482 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16483 echo "${ECHO_T}$toolkit_echo" >&6; }
16488 if test "x$host_alias" != "x"; then
16489 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16490 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16492 { echo "$as_me:$LINENO: result: base only" >&5
16493 echo "${ECHO_T}base only" >&6; }
16498 cat >confcache <<\_ACEOF
16499 # This file is a shell script that caches the results of configure
16500 # tests run on this system so they can be shared between configure
16501 # scripts and configure runs, see configure's option --config-cache.
16502 # It is not useful on other systems. If it contains results you don't
16503 # want to keep, you may remove or edit it.
16505 # config.status only pays attention to the cache file if you give it
16506 # the --recheck option to rerun configure.
16508 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
16509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16510 # following values.
16514 # The following way of writing the cache mishandles newlines in values,
16515 # but we know of no workaround that is simple, portable, and efficient.
16516 # So, we kill variables containing newlines.
16517 # Ultrix sh set writes to stderr and can't be redirected directly,
16518 # and sets the high bit in the cache file unless we assign to the vars.
16520 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16521 eval ac_val
=\$
$ac_var
16525 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16526 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16529 _
| IFS
| as_nl
) ;; #(
16530 *) $as_unset $ac_var ;;
16536 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16537 *${as_nl}ac_space
=\
*)
16538 # `set' does not quote correctly, so add quotes (double-quote
16539 # substitution turns \\\\ into \\, and sed turns \\ into \).
16542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16545 # `set' quotes correctly as required by POSIX, so do not add quotes.
16546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16557 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16559 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16560 if test -w "$cache_file"; then
16561 test "x$cache_file" != "x/dev/null" &&
16562 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16563 echo "$as_me: updating cache $cache_file" >&6;}
16564 cat confcache
>$cache_file
16566 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16567 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16577 ac_cpp
='$CPP $CPPFLAGS'
16578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16581 if test -n "$ac_tool_prefix"; then
16582 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16583 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16586 if test "${ac_cv_prog_CC+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 if test -n "$CC"; then
16590 ac_cv_prog_CC
="$CC" # Let the user override the test.
16592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16593 for as_dir
in $PATH
16596 test -z "$as_dir" && as_dir
=.
16597 for ac_exec_ext
in '' $ac_executable_extensions; do
16598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16599 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16610 if test -n "$CC"; then
16611 { echo "$as_me:$LINENO: result: $CC" >&5
16612 echo "${ECHO_T}$CC" >&6; }
16614 { echo "$as_me:$LINENO: result: no" >&5
16615 echo "${ECHO_T}no" >&6; }
16620 if test -z "$ac_cv_prog_CC"; then
16622 # Extract the first word of "gcc", so it can be a program name with args.
16623 set dummy gcc
; ac_word
=$2
16624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16626 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 if test -n "$ac_ct_CC"; then
16630 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16633 for as_dir
in $PATH
16636 test -z "$as_dir" && as_dir
=.
16637 for ac_exec_ext
in '' $ac_executable_extensions; do
16638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16639 ac_cv_prog_ac_ct_CC
="gcc"
16640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16649 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16650 if test -n "$ac_ct_CC"; then
16651 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16652 echo "${ECHO_T}$ac_ct_CC" >&6; }
16654 { echo "$as_me:$LINENO: result: no" >&5
16655 echo "${ECHO_T}no" >&6; }
16658 if test "x$ac_ct_CC" = x
; then
16661 case $cross_compiling:$ac_tool_warned in
16663 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16664 whose name does not start with the host triplet. If you think this
16665 configuration is useful to you, please write to autoconf@gnu.org." >&5
16666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16667 whose name does not start with the host triplet. If you think this
16668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16669 ac_tool_warned
=yes ;;
16674 CC
="$ac_cv_prog_CC"
16677 if test -z "$CC"; then
16678 if test -n "$ac_tool_prefix"; then
16679 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16680 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16683 if test "${ac_cv_prog_CC+set}" = set; then
16684 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 if test -n "$CC"; then
16687 ac_cv_prog_CC
="$CC" # Let the user override the test.
16689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16690 for as_dir
in $PATH
16693 test -z "$as_dir" && as_dir
=.
16694 for ac_exec_ext
in '' $ac_executable_extensions; do
16695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16696 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16707 if test -n "$CC"; then
16708 { echo "$as_me:$LINENO: result: $CC" >&5
16709 echo "${ECHO_T}$CC" >&6; }
16711 { echo "$as_me:$LINENO: result: no" >&5
16712 echo "${ECHO_T}no" >&6; }
16718 if test -z "$CC"; then
16719 # Extract the first word of "cc", so it can be a program name with args.
16720 set dummy cc
; ac_word
=$2
16721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16723 if test "${ac_cv_prog_CC+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 if test -n "$CC"; then
16727 ac_cv_prog_CC
="$CC" # Let the user override the test.
16729 ac_prog_rejected
=no
16730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16731 for as_dir
in $PATH
16734 test -z "$as_dir" && as_dir
=.
16735 for ac_exec_ext
in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16738 ac_prog_rejected
=yes
16742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16749 if test $ac_prog_rejected = yes; then
16750 # We found a bogon in the path, so make sure we never use it.
16751 set dummy
$ac_cv_prog_CC
16753 if test $# != 0; then
16754 # We chose a different compiler from the bogus one.
16755 # However, it has the same basename, so the bogon will be chosen
16756 # first if we set CC to just the basename; use the full file name.
16758 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16764 if test -n "$CC"; then
16765 { echo "$as_me:$LINENO: result: $CC" >&5
16766 echo "${ECHO_T}$CC" >&6; }
16768 { echo "$as_me:$LINENO: result: no" >&5
16769 echo "${ECHO_T}no" >&6; }
16774 if test -z "$CC"; then
16775 if test -n "$ac_tool_prefix"; then
16776 for ac_prog
in cl.exe
16778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16779 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16782 if test "${ac_cv_prog_CC+set}" = set; then
16783 echo $ECHO_N "(cached) $ECHO_C" >&6
16785 if test -n "$CC"; then
16786 ac_cv_prog_CC
="$CC" # Let the user override the test.
16788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16789 for as_dir
in $PATH
16792 test -z "$as_dir" && as_dir
=.
16793 for ac_exec_ext
in '' $ac_executable_extensions; do
16794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16795 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16806 if test -n "$CC"; then
16807 { echo "$as_me:$LINENO: result: $CC" >&5
16808 echo "${ECHO_T}$CC" >&6; }
16810 { echo "$as_me:$LINENO: result: no" >&5
16811 echo "${ECHO_T}no" >&6; }
16815 test -n "$CC" && break
16818 if test -z "$CC"; then
16820 for ac_prog
in cl.exe
16822 # Extract the first word of "$ac_prog", so it can be a program name with args.
16823 set dummy
$ac_prog; ac_word
=$2
16824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 if test -n "$ac_ct_CC"; then
16830 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16833 for as_dir
in $PATH
16836 test -z "$as_dir" && as_dir
=.
16837 for ac_exec_ext
in '' $ac_executable_extensions; do
16838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16839 ac_cv_prog_ac_ct_CC
="$ac_prog"
16840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16849 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16850 if test -n "$ac_ct_CC"; then
16851 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16852 echo "${ECHO_T}$ac_ct_CC" >&6; }
16854 { echo "$as_me:$LINENO: result: no" >&5
16855 echo "${ECHO_T}no" >&6; }
16859 test -n "$ac_ct_CC" && break
16862 if test "x$ac_ct_CC" = x
; then
16865 case $cross_compiling:$ac_tool_warned in
16867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16868 whose name does not start with the host triplet. If you think this
16869 configuration is useful to you, please write to autoconf@gnu.org." >&5
16870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16871 whose name does not start with the host triplet. If you think this
16872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16873 ac_tool_warned
=yes ;;
16882 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16883 See \`config.log' for more details." >&5
16884 echo "$as_me: error: no acceptable C compiler found in \$PATH
16885 See \`config.log' for more details." >&2;}
16886 { (exit 1); exit 1; }; }
16888 # Provide some information about the compiler.
16889 echo "$as_me:$LINENO: checking for C compiler version" >&5
16890 ac_compiler
=`set X $ac_compile; echo $2`
16891 { (ac_try
="$ac_compiler --version >&5"
16892 case "(($ac_try" in
16893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16894 *) ac_try_echo=$ac_try;;
16896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16897 (eval "$ac_compiler --version >&5") 2>&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); }
16901 { (ac_try="$ac_compiler -v >&5"
16902 case "(($ac_try" in
16903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16904 *) ac_try_echo
=$ac_try;;
16906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16907 (eval "$ac_compiler -v >&5") 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }
16911 { (ac_try
="$ac_compiler -V >&5"
16912 case "(($ac_try" in
16913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16914 *) ac_try_echo=$ac_try;;
16916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16917 (eval "$ac_compiler -V >&5") 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }
16922 cat >conftest.$ac_ext <<_ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16937 ac_clean_files_save=$ac_clean_files
16938 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16939 # Try to create an executable without -o first, disregard a.out.
16940 # It will help us diagnose broken compilers, and finding out an intuition
16942 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16943 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16944 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16946 # List of possible output files, starting from the most likely.
16947 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
16948 # only as a last resort. b.out is created by i960 compilers.
16949 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
16951 # The IRIX 6 linker writes into existing files which may not be
16952 # executable, retaining their permissions. Remove them first so a
16953 # subsequent execution test works.
16955 for ac_file in $ac_files
16958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16959 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16964 if { (ac_try="$ac_link_default"
16965 case "(($ac_try" in
16966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16967 *) ac_try_echo=$ac_try;;
16969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16970 (eval "$ac_link_default") 2>&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); }; then
16974 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16975 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16976 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16977 # so that the user can short-circuit this test for compilers unknown to
16979 for ac_file
in $ac_files ''
16981 test -f "$ac_file" || continue
16983 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
16986 # We found the default executable, but exeext='' is most
16990 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16992 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16994 # We set ac_cv_exeext here because the later test for it is not
16995 # safe: cross compilers may not add the suffix if given an `-o'
16996 # argument, so we may need to know it at that point already.
16997 # Even if this section looks crufty: it has the advantage of
16998 # actually working.
17004 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
17010 { echo "$as_me:$LINENO: result: $ac_file" >&5
17011 echo "${ECHO_T}$ac_file" >&6; }
17012 if test -z "$ac_file"; then
17013 echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.
$ac_ext >&5
17016 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17017 See \`config.log' for more details." >&5
17018 echo "$as_me: error: C compiler cannot create executables
17019 See \`config.log' for more details." >&2;}
17020 { (exit 77); exit 77; }; }
17023 ac_exeext
=$ac_cv_exeext
17025 # Check that the compiler produces executables we can run. If not, either
17026 # the compiler is broken, or we cross compile.
17027 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17028 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17029 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17030 # If not cross compiling, check that we can run a simple program.
17031 if test "$cross_compiling" != yes; then
17032 if { ac_try
='./$ac_file'
17033 { (case "(($ac_try" in
17034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17035 *) ac_try_echo=$ac_try;;
17037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17038 (eval "$ac_try") 2>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17044 if test "$cross_compiling" = maybe; then
17045 cross_compiling=yes
17047 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17048 If you meant to cross compile, use \`--host'.
17049 See \`config.log' for more details.
" >&5
17050 echo "$as_me: error
: cannot run C compiled programs.
17051 If you meant to cross compile
, use \
`--host'.
17052 See \`config.log
' for more details." >&2;}
17053 { (exit 1); exit 1; }; }
17057 { echo "$as_me:$LINENO: result: yes" >&5
17058 echo "${ECHO_T}yes" >&6; }
17060 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17061 ac_clean_files=$ac_clean_files_save
17062 # Check that the compiler produces executables we can run. If not, either
17063 # the compiler is broken, or we cross compile.
17064 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17065 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17066 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17067 echo "${ECHO_T}$cross_compiling" >&6; }
17069 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17070 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17071 if { (ac_try="$ac_link"
17072 case "(($ac_try" in
17073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17074 *) ac_try_echo=$ac_try;;
17076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17077 (eval "$ac_link") 2>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; then
17081 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
17082 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
17083 # work properly (i.e., refer to `conftest.exe
'), while it won't with
17085 for ac_file
in conftest.exe conftest conftest.
*; do
17086 test -f "$ac_file" || continue
17088 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17089 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17095 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17096 See \`config.log' for more details." >&5
17097 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17098 See \`config.log' for more details." >&2;}
17099 { (exit 1); exit 1; }; }
17102 rm -f conftest
$ac_cv_exeext
17103 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17104 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17106 rm -f conftest.
$ac_ext
17107 EXEEXT
=$ac_cv_exeext
17109 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17110 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17111 if test "${ac_cv_objext+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 cat >conftest.
$ac_ext <<_ACEOF
17117 cat confdefs.h
>>conftest.
$ac_ext
17118 cat >>conftest.
$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17129 rm -f conftest.o conftest.obj
17130 if { (ac_try
="$ac_compile"
17131 case "(($ac_try" in
17132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17133 *) ac_try_echo=$ac_try;;
17135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17136 (eval "$ac_compile") 2>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; then
17140 for ac_file in conftest.o conftest.obj conftest.*; do
17141 test -f "$ac_file" || continue;
17143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17144 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17152 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17153 See \`config.log
' for more details." >&5
17154 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17155 See \`config.log' for more details.
" >&2;}
17156 { (exit 1); exit 1; }; }
17159 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17161 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17162 echo "${ECHO_T}$ac_cv_objext" >&6; }
17163 OBJEXT=$ac_cv_objext
17165 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17166 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17167 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17168 echo $ECHO_N "(cached
) $ECHO_C" >&6
17170 cat >conftest.$ac_ext <<_ACEOF
17173 cat confdefs.h >>conftest.$ac_ext
17174 cat >>conftest.$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17188 rm -f conftest.$ac_objext
17189 if { (ac_try="$ac_compile"
17190 case "(($ac_try" in
17191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17192 *) ac_try_echo=$ac_try;;
17194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17195 (eval "$ac_compile") 2>conftest.er1
17197 grep -v '^ *+' conftest.er1 >conftest.err
17199 cat conftest.err >&5
17200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17201 (exit $ac_status); } && {
17202 test -z "$ac_c_werror_flag" ||
17203 test ! -s conftest.err
17204 } && test -s conftest.$ac_objext; then
17205 ac_compiler_gnu=yes
17207 echo "$as_me: failed program was
:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17217 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17218 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17219 GCC=`test $ac_compiler_gnu = yes && echo yes`
17220 ac_test_CFLAGS=${CFLAGS+set}
17221 ac_save_CFLAGS=$CFLAGS
17222 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17223 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17224 if test "${ac_cv_prog_cc_g+set}" = set; then
17225 echo $ECHO_N "(cached
) $ECHO_C" >&6
17227 ac_save_c_werror_flag=$ac_c_werror_flag
17228 ac_c_werror_flag=yes
17231 cat >conftest.$ac_ext <<_ACEOF
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17246 rm -f conftest.$ac_objext
17247 if { (ac_try="$ac_compile"
17248 case "(($ac_try" in
17249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_compile") 2>conftest.er1
17255 grep -v '^ *+' conftest.er1 >conftest.err
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_c_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest.$ac_objext; then
17263 ac_cv_prog_cc_g=yes
17265 echo "$as_me: failed program was
:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17269 cat >conftest.$ac_ext <<_ACEOF
17272 cat confdefs.h >>conftest.$ac_ext
17273 cat >>conftest.$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17284 rm -f conftest.$ac_objext
17285 if { (ac_try="$ac_compile"
17286 case "(($ac_try" in
17287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17288 *) ac_try_echo=$ac_try;;
17290 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17291 (eval "$ac_compile") 2>conftest.er1
17293 grep -v '^ *+' conftest.er1 >conftest.err
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17297 (exit $ac_status); } && {
17298 test -z "$ac_c_werror_flag" ||
17299 test ! -s conftest.err
17300 } && test -s conftest.$ac_objext; then
17303 echo "$as_me: failed program was
:" >&5
17304 sed 's/^/| /' conftest.$ac_ext >&5
17306 ac_c_werror_flag=$ac_save_c_werror_flag
17308 cat >conftest.$ac_ext <<_ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17323 rm -f conftest.$ac_objext
17324 if { (ac_try="$ac_compile"
17325 case "(($ac_try" in
17326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17327 *) ac_try_echo=$ac_try;;
17329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17330 (eval "$ac_compile") 2>conftest.er1
17332 grep -v '^ *+' conftest.er1 >conftest.err
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17336 (exit $ac_status); } && {
17337 test -z "$ac_c_werror_flag" ||
17338 test ! -s conftest.err
17339 } && test -s conftest.$ac_objext; then
17340 ac_cv_prog_cc_g=yes
17342 echo "$as_me: failed program was
:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17355 ac_c_werror_flag=$ac_save_c_werror_flag
17357 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17358 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17359 if test "$ac_test_CFLAGS" = set; then
17360 CFLAGS=$ac_save_CFLAGS
17361 elif test $ac_cv_prog_cc_g = yes; then
17362 if test "$GCC" = yes; then
17368 if test "$GCC" = yes; then
17374 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17375 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17376 if test "${ac_cv_prog_cc_c89+set}" = set; then
17377 echo $ECHO_N "(cached
) $ECHO_C" >&6
17379 ac_cv_prog_cc_c89=no
17381 cat >conftest.$ac_ext <<_ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 #include <stdarg.h>
17389 #include <sys/types.h>
17390 #include <sys/stat.h>
17391 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17392 struct buf { int x; };
17393 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17394 static char *e (p, i)
17400 static char *f (char * (*g) (char **, int), char **p, ...)
17405 s = g (p, va_arg (v,int));
17410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17411 function prototypes and stuff, but not '\xHH' hex character constants.
17412 These don't provoke an error unfortunately, instead are silently treated
17413 as 'x'. The following induces an error, until -std is added to get
17414 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17415 array size at least. It's necessary to write '\x00'==0 to get something
17416 that's true only with -std. */
17417 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17419 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17420 inside strings and character constants. */
17422 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17424 int test (int i, double x);
17425 struct s1 {int (*f) (int a);};
17426 struct s2 {int (*f) (double a);};
17427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17438 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17439 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17441 CC="$ac_save_CC $ac_arg"
17442 rm -f conftest.$ac_objext
17443 if { (ac_try="$ac_compile"
17444 case "(($ac_try" in
17445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17446 *) ac_try_echo=$ac_try;;
17448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17449 (eval "$ac_compile") 2>conftest.er1
17451 grep -v '^ *+' conftest.er1 >conftest.err
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17455 (exit $ac_status); } && {
17456 test -z "$ac_c_werror_flag" ||
17457 test ! -s conftest.err
17458 } && test -s conftest.$ac_objext; then
17459 ac_cv_prog_cc_c89=$ac_arg
17461 echo "$as_me: failed program was
:" >&5
17462 sed 's/^/| /' conftest.$ac_ext >&5
17467 rm -f core conftest.err conftest.$ac_objext
17468 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17470 rm -f conftest.$ac_ext
17475 case "x
$ac_cv_prog_cc_c89" in
17477 { echo "$as_me:$LINENO: result
: none needed
" >&5
17478 echo "${ECHO_T}none needed
" >&6; } ;;
17480 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17481 echo "${ECHO_T}unsupported
" >&6; } ;;
17483 CC="$CC $ac_cv_prog_cc_c89"
17484 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17485 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17490 ac_cpp='$CPP $CPPFLAGS'
17491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17499 ac_cpp='$CPP $CPPFLAGS'
17500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17504 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17505 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17506 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17507 echo $ECHO_N "(cached
) $ECHO_C" >&6
17509 cat >conftest.$ac_ext <<_ACEOF
17512 cat confdefs.h >>conftest.$ac_ext
17513 cat >>conftest.$ac_ext <<_ACEOF
17514 /* end confdefs.h. */
17520 #ifndef __INTEL_COMPILER
17528 rm -f conftest.$ac_objext
17529 if { (ac_try="$ac_compile"
17530 case "(($ac_try" in
17531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532 *) ac_try_echo=$ac_try;;
17534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_compile") 2>conftest.er1
17537 grep -v '^ *+' conftest.er1 >conftest.err
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17541 (exit $ac_status); } && {
17542 test -z "$ac_c_werror_flag" ||
17543 test ! -s conftest.err
17544 } && test -s conftest.$ac_objext; then
17545 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17547 echo "$as_me: failed program was
:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17550 bakefile_cv_c_compiler___INTEL_COMPILER=no
17554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17558 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17559 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17560 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17566 ac_cpp='$CPP $CPPFLAGS'
17567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17574 if test "x
$GCC" != "xyes
"; then
17575 if test "xCC
" = "xC
"; then
17576 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17577 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17578 if test "${bakefile_cv_c_exto+set}" = set; then
17579 echo $ECHO_N "(cached
) $ECHO_C" >&6
17581 cat >conftest.$ac_ext <<_ACEOF
17584 cat confdefs.h >>conftest.$ac_ext
17585 cat >>conftest.$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17596 rm -f conftest.$ac_objext conftest.$ac_ext.o
17597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17598 (eval $ac_compile) 2>&5
17600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17601 (exit $ac_status); }; then
17602 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17604 conftest.$ac_ext.o)
17605 bakefile_cv_c_exto="-ext o
"
17612 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17613 See \
`config.log' for more details." >&5
17614 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17615 See \`config.log
' for more details." >&2;}
17616 { (exit 1); exit 1; }; }
17620 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17623 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17624 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17625 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17626 if test "c" = "c"; then
17627 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17629 if test "c" = "cxx"; then
17630 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17634 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17635 unset ac_cv_prog_cc_g
17636 ac_test_CFLAGS=${CFLAGS+set}
17637 ac_save_CFLAGS=$CFLAGS
17638 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17639 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17640 if test "${ac_cv_prog_cc_g+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 ac_save_c_werror_flag=$ac_c_werror_flag
17644 ac_c_werror_flag=yes
17647 cat >conftest.$ac_ext <<_ACEOF
17650 cat confdefs.h >>conftest.$ac_ext
17651 cat >>conftest.$ac_ext <<_ACEOF
17652 /* end confdefs.h. */
17662 rm -f conftest.$ac_objext
17663 if { (ac_try="$ac_compile"
17664 case "(($ac_try" in
17665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17666 *) ac_try_echo=$ac_try;;
17668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17669 (eval "$ac_compile") 2>conftest.er1
17671 grep -v '^
*+' conftest.er1 >conftest.err
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } && {
17676 test -z "$ac_c_werror_flag" ||
17677 test ! -s conftest.err
17678 } && test -s conftest.$ac_objext; then
17679 ac_cv_prog_cc_g=yes
17681 echo "$as_me: failed program was:" >&5
17682 sed 's
/^
/| /' conftest.$ac_ext >&5
17685 cat >conftest.$ac_ext <<_ACEOF
17688 cat confdefs.h >>conftest.$ac_ext
17689 cat >>conftest.$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17700 rm -f conftest.$ac_objext
17701 if { (ac_try="$ac_compile"
17702 case "(($ac_try" in
17703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17704 *) ac_try_echo=$ac_try;;
17706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17707 (eval "$ac_compile") 2>conftest.er1
17709 grep -v '^
*+' conftest.er1 >conftest.err
17711 cat conftest.err >&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } && {
17714 test -z "$ac_c_werror_flag" ||
17715 test ! -s conftest.err
17716 } && test -s conftest.$ac_objext; then
17719 echo "$as_me: failed program was:" >&5
17720 sed 's
/^
/| /' conftest.$ac_ext >&5
17722 ac_c_werror_flag=$ac_save_c_werror_flag
17724 cat >conftest.$ac_ext <<_ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17739 rm -f conftest.$ac_objext
17740 if { (ac_try="$ac_compile"
17741 case "(($ac_try" in
17742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17743 *) ac_try_echo=$ac_try;;
17745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17746 (eval "$ac_compile") 2>conftest.er1
17748 grep -v '^
*+' conftest.er1 >conftest.err
17750 cat conftest.err >&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } && {
17753 test -z "$ac_c_werror_flag" ||
17754 test ! -s conftest.err
17755 } && test -s conftest.$ac_objext; then
17756 ac_cv_prog_cc_g=yes
17758 echo "$as_me: failed program was:" >&5
17759 sed 's
/^
/| /' conftest.$ac_ext >&5
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 ac_c_werror_flag=$ac_save_c_werror_flag
17773 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17774 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17775 if test "$ac_test_CFLAGS" = set; then
17776 CFLAGS=$ac_save_CFLAGS
17777 elif test $ac_cv_prog_cc_g = yes; then
17778 if test "$GCC" = yes; then
17784 if test "$GCC" = yes; then
17798 ac_cpp='$CPP $CPPFLAGS'
17799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17800 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17803 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17804 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17805 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17806 echo $ECHO_N "(cached) $ECHO_C" >&6
17808 cat >conftest.$ac_ext <<_ACEOF
17811 cat confdefs.h >>conftest.$ac_ext
17812 cat >>conftest.$ac_ext <<_ACEOF
17813 /* end confdefs.h. */
17827 rm -f conftest.$ac_objext
17828 if { (ac_try="$ac_compile"
17829 case "(($ac_try" in
17830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17831 *) ac_try_echo=$ac_try;;
17833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17834 (eval "$ac_compile") 2>conftest.er1
17836 grep -v '^
*+' conftest.er1 >conftest.err
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } && {
17841 test -z "$ac_c_werror_flag" ||
17842 test ! -s conftest.err
17843 } && test -s conftest.$ac_objext; then
17844 bakefile_cv_c_compiler___xlC__=yes
17846 echo "$as_me: failed program was:" >&5
17847 sed 's
/^
/| /' conftest.$ac_ext >&5
17849 bakefile_cv_c_compiler___xlC__=no
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17858 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17859 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17865 ac_cpp='$CPP $CPPFLAGS'
17866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17867 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17878 ac_cpp='$CPP $CPPFLAGS'
17879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17880 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17883 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17884 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17885 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17886 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 cat >conftest.$ac_ext <<_ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17907 rm -f conftest.$ac_objext
17908 if { (ac_try="$ac_compile"
17909 case "(($ac_try" in
17910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17911 *) ac_try_echo=$ac_try;;
17913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17914 (eval "$ac_compile") 2>conftest.er1
17916 grep -v '^
*+' conftest.er1 >conftest.err
17918 cat conftest.err >&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); } && {
17921 test -z "$ac_c_werror_flag" ||
17922 test ! -s conftest.err
17923 } && test -s conftest.$ac_objext; then
17924 bakefile_cv_c_compiler___MWERKS__=yes
17926 echo "$as_me: failed program was:" >&5
17927 sed 's
/^
/| /' conftest.$ac_ext >&5
17929 bakefile_cv_c_compiler___MWERKS__=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17937 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17938 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17939 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17945 ac_cpp='$CPP $CPPFLAGS'
17946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17947 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17955 ac_cpp='$CPP $CPPFLAGS'
17956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17957 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17960 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17961 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17962 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17963 echo $ECHO_N "(cached) $ECHO_C" >&6
17965 cat >conftest.$ac_ext <<_ACEOF
17968 cat confdefs.h >>conftest.$ac_ext
17969 cat >>conftest.$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17984 rm -f conftest.$ac_objext
17985 if { (ac_try="$ac_compile"
17986 case "(($ac_try" in
17987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17988 *) ac_try_echo=$ac_try;;
17990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17991 (eval "$ac_compile") 2>conftest.er1
17993 grep -v '^
*+' conftest.er1 >conftest.err
17995 cat conftest.err >&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } && {
17998 test -z "$ac_c_werror_flag" ||
17999 test ! -s conftest.err
18000 } && test -s conftest.$ac_objext; then
18001 bakefile_cv_c_compiler___xlC__=yes
18003 echo "$as_me: failed program was:" >&5
18004 sed 's
/^
/| /' conftest.$ac_ext >&5
18006 bakefile_cv_c_compiler___xlC__=no
18010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18014 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18015 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18016 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18022 ac_cpp='$CPP $CPPFLAGS'
18023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18024 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18035 ac_cpp='$CPP $CPPFLAGS'
18036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18037 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18040 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18041 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18042 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 cat >conftest.$ac_ext <<_ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18056 #ifndef _SGI_COMPILER_VERSION
18064 rm -f conftest.$ac_objext
18065 if { (ac_try="$ac_compile"
18066 case "(($ac_try" in
18067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18068 *) ac_try_echo=$ac_try;;
18070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18071 (eval "$ac_compile") 2>conftest.er1
18073 grep -v '^
*+' conftest.er1 >conftest.err
18075 cat conftest.err >&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); } && {
18078 test -z "$ac_c_werror_flag" ||
18079 test ! -s conftest.err
18080 } && test -s conftest.$ac_objext; then
18081 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18083 echo "$as_me: failed program was:" >&5
18084 sed 's
/^
/| /' conftest.$ac_ext >&5
18086 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18094 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18095 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18096 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18102 ac_cpp='$CPP $CPPFLAGS'
18103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18104 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18115 ac_cpp='$CPP $CPPFLAGS'
18116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18117 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18120 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18121 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18122 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 cat >conftest.$ac_ext <<_ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18144 rm -f conftest.$ac_objext
18145 if { (ac_try="$ac_compile"
18146 case "(($ac_try" in
18147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18148 *) ac_try_echo=$ac_try;;
18150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18151 (eval "$ac_compile") 2>conftest.er1
18153 grep -v '^
*+' conftest.er1 >conftest.err
18155 cat conftest.err >&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } && {
18158 test -z "$ac_c_werror_flag" ||
18159 test ! -s conftest.err
18160 } && test -s conftest.$ac_objext; then
18161 bakefile_cv_c_compiler___SUNPRO_C=yes
18163 echo "$as_me: failed program was:" >&5
18164 sed 's
/^
/| /' conftest.$ac_ext >&5
18166 bakefile_cv_c_compiler___SUNPRO_C=no
18170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18175 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18176 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18184 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18195 ac_cpp='$CPP $CPPFLAGS'
18196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18197 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18200 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18201 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18202 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18203 echo $ECHO_N "(cached) $ECHO_C" >&6
18205 cat >conftest.$ac_ext <<_ACEOF
18208 cat confdefs.h >>conftest.$ac_ext
18209 cat >>conftest.$ac_ext <<_ACEOF
18210 /* end confdefs.h. */
18224 rm -f conftest.$ac_objext
18225 if { (ac_try="$ac_compile"
18226 case "(($ac_try" in
18227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18228 *) ac_try_echo=$ac_try;;
18230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18231 (eval "$ac_compile") 2>conftest.er1
18233 grep -v '^
*+' conftest.er1 >conftest.err
18235 cat conftest.err >&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); } && {
18238 test -z "$ac_c_werror_flag" ||
18239 test ! -s conftest.err
18240 } && test -s conftest.$ac_objext; then
18241 bakefile_cv_c_compiler___HP_cc=yes
18243 echo "$as_me: failed program was:" >&5
18244 sed 's
/^
/| /' conftest.$ac_ext >&5
18246 bakefile_cv_c_compiler___HP_cc=no
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18254 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18255 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18256 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18262 ac_cpp='$CPP $CPPFLAGS'
18263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18264 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18275 ac_cpp='$CPP $CPPFLAGS'
18276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18277 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18280 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18281 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18282 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18283 echo $ECHO_N "(cached) $ECHO_C" >&6
18285 cat >conftest.$ac_ext <<_ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18304 rm -f conftest.$ac_objext
18305 if { (ac_try="$ac_compile"
18306 case "(($ac_try" in
18307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18308 *) ac_try_echo=$ac_try;;
18310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18311 (eval "$ac_compile") 2>conftest.er1
18313 grep -v '^
*+' conftest.er1 >conftest.err
18315 cat conftest.err >&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } && {
18318 test -z "$ac_c_werror_flag" ||
18319 test ! -s conftest.err
18320 } && test -s conftest.$ac_objext; then
18321 bakefile_cv_c_compiler___DECC=yes
18323 echo "$as_me: failed program was:" >&5
18324 sed 's
/^
/| /' conftest.$ac_ext >&5
18326 bakefile_cv_c_compiler___DECC=no
18330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18334 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18335 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18336 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18344 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18355 ac_cpp='$CPP $CPPFLAGS'
18356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18357 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18360 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18361 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18362 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18363 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 cat >conftest.$ac_ext <<_ACEOF
18368 cat confdefs.h >>conftest.$ac_ext
18369 cat >>conftest.$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18384 rm -f conftest.$ac_objext
18385 if { (ac_try="$ac_compile"
18386 case "(($ac_try" in
18387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18388 *) ac_try_echo=$ac_try;;
18390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18391 (eval "$ac_compile") 2>conftest.er1
18393 grep -v '^
*+' conftest.er1 >conftest.err
18395 cat conftest.err >&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } && {
18398 test -z "$ac_c_werror_flag" ||
18399 test ! -s conftest.err
18400 } && test -s conftest.$ac_objext; then
18401 bakefile_cv_c_compiler___SUNPRO_C=yes
18403 echo "$as_me: failed program was:" >&5
18404 sed 's
/^
/| /' conftest.$ac_ext >&5
18406 bakefile_cv_c_compiler___SUNPRO_C=no
18410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18414 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18415 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18416 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18424 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18436 ac_cpp='$CPP $CPPFLAGS'
18437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18438 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18440 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18441 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18442 # On Suns, sometimes $CPP names a directory.
18443 if test -n "$CPP" && test -d "$CPP"; then
18446 if test -z "$CPP"; then
18447 if test "${ac_cv_prog_CPP+set}" = set; then
18448 echo $ECHO_N "(cached) $ECHO_C" >&6
18450 # Double quotes because CPP needs to be expanded
18451 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18453 ac_preproc_ok=false
18454 for ac_c_preproc_warn_flag in '' yes
18456 # Use a header file that comes with gcc, so configuring glibc
18457 # with a fresh cross-compiler works.
18458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18459 # <limits.h> exists even on freestanding compilers.
18460 # On the NeXT, cc -E runs the code through the compiler's parser
,
18461 # not just through cpp. "Syntax error" is here to catch this case.
18462 cat >conftest.
$ac_ext <<_ACEOF
18465 cat confdefs.h
>>conftest.
$ac_ext
18466 cat >>conftest.
$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18469 # include <limits.h>
18471 # include <assert.h>
18475 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18476 case "(($ac_try" in
18477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18478 *) ac_try_echo=$ac_try;;
18480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18483 grep -v '^ *+' conftest.er1 >conftest.err
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } >/dev/null && {
18488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18496 # Broken: fails on valid input.
18500 rm -f conftest.err conftest.$ac_ext
18502 # OK, works on sane cases. Now check whether nonexistent headers
18503 # can be detected and how.
18504 cat >conftest.$ac_ext <<_ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18510 #include <ac_nonexistent.h>
18512 if { (ac_try="$ac_cpp conftest.$ac_ext"
18513 case "(($ac_try" in
18514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18515 *) ac_try_echo
=$ac_try;;
18517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18520 grep -v '^ *+' conftest.er1
>conftest.err
18522 cat conftest.err
>&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } >/dev
/null
&& {
18525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18526 test ! -s conftest.err
18528 # Broken: success on invalid input.
18531 echo "$as_me: failed program was:" >&5
18532 sed 's/^/| /' conftest.
$ac_ext >&5
18534 # Passes both tests.
18539 rm -f conftest.err conftest.
$ac_ext
18542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18543 rm -f conftest.err conftest.
$ac_ext
18544 if $ac_preproc_ok; then
18549 ac_cv_prog_CPP
=$CPP
18552 CPP
=$ac_cv_prog_CPP
18554 ac_cv_prog_CPP
=$CPP
18556 { echo "$as_me:$LINENO: result: $CPP" >&5
18557 echo "${ECHO_T}$CPP" >&6; }
18558 ac_preproc_ok
=false
18559 for ac_c_preproc_warn_flag
in '' yes
18561 # Use a header file that comes with gcc, so configuring glibc
18562 # with a fresh cross-compiler works.
18563 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18564 # <limits.h> exists even on freestanding compilers.
18565 # On the NeXT, cc -E runs the code through the compiler's parser,
18566 # not just through cpp. "Syntax error" is here to catch this case.
18567 cat >conftest.
$ac_ext <<_ACEOF
18570 cat confdefs.h
>>conftest.
$ac_ext
18571 cat >>conftest.
$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18574 # include <limits.h>
18576 # include <assert.h>
18580 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18581 case "(($ac_try" in
18582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18583 *) ac_try_echo=$ac_try;;
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18588 grep -v '^ *+' conftest.er1 >conftest.err
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } >/dev/null && {
18593 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18594 test ! -s conftest.err
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.$ac_ext >&5
18601 # Broken: fails on valid input.
18605 rm -f conftest.err conftest.$ac_ext
18607 # OK, works on sane cases. Now check whether nonexistent headers
18608 # can be detected and how.
18609 cat >conftest.$ac_ext <<_ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #include <ac_nonexistent.h>
18617 if { (ac_try="$ac_cpp conftest.$ac_ext"
18618 case "(($ac_try" in
18619 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18620 *) ac_try_echo
=$ac_try;;
18622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18625 grep -v '^ *+' conftest.er1
>conftest.err
18627 cat conftest.err
>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } >/dev
/null
&& {
18630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18631 test ! -s conftest.err
18633 # Broken: success on invalid input.
18636 echo "$as_me: failed program was:" >&5
18637 sed 's/^/| /' conftest.
$ac_ext >&5
18639 # Passes both tests.
18644 rm -f conftest.err conftest.
$ac_ext
18647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18648 rm -f conftest.err conftest.
$ac_ext
18649 if $ac_preproc_ok; then
18652 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18653 See \`config.log' for more details." >&5
18654 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18655 See \`config.log' for more details." >&2;}
18656 { (exit 1); exit 1; }; }
18660 ac_cpp
='$CPP $CPPFLAGS'
18661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18666 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18667 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18668 if test "${ac_cv_path_GREP+set}" = set; then
18669 echo $ECHO_N "(cached) $ECHO_C" >&6
18671 # Extract the first word of "grep ggrep" to use in msg output
18672 if test -z "$GREP"; then
18673 set dummy
grep ggrep
; ac_prog_name
=$2
18674 if test "${ac_cv_path_GREP+set}" = set; then
18675 echo $ECHO_N "(cached) $ECHO_C" >&6
18677 ac_path_GREP_found
=false
18678 # Loop through the user's path and test for each of PROGNAME-LIST
18679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18680 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18683 test -z "$as_dir" && as_dir
=.
18684 for ac_prog
in grep ggrep
; do
18685 for ac_exec_ext
in '' $ac_executable_extensions; do
18686 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18687 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18688 # Check for GNU ac_path_GREP and select it if it is found.
18689 # Check for GNU $ac_path_GREP
18690 case `"$ac_path_GREP" --version 2>&1` in
18692 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18695 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18698 cat "conftest.in" "conftest.in" >"conftest.tmp"
18699 mv "conftest.tmp" "conftest.in"
18700 cp "conftest.in" "conftest.nl"
18701 echo 'GREP' >> "conftest.nl"
18702 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18703 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18704 ac_count
=`expr $ac_count + 1`
18705 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18706 # Best one so far, save it but keep looking for a better one
18707 ac_cv_path_GREP
="$ac_path_GREP"
18708 ac_path_GREP_max
=$ac_count
18710 # 10*(2^10) chars as input seems more than enough
18711 test $ac_count -gt 10 && break
18713 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18717 $ac_path_GREP_found && break 3
18727 GREP
="$ac_cv_path_GREP"
18728 if test -z "$GREP"; then
18729 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18730 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18731 { (exit 1); exit 1; }; }
18735 ac_cv_path_GREP
=$GREP
18740 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18741 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18742 GREP
="$ac_cv_path_GREP"
18745 { echo "$as_me:$LINENO: checking for egrep" >&5
18746 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18747 if test "${ac_cv_path_EGREP+set}" = set; then
18748 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18751 then ac_cv_path_EGREP
="$GREP -E"
18753 # Extract the first word of "egrep" to use in msg output
18754 if test -z "$EGREP"; then
18755 set dummy
egrep; ac_prog_name
=$2
18756 if test "${ac_cv_path_EGREP+set}" = set; then
18757 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 ac_path_EGREP_found
=false
18760 # Loop through the user's path and test for each of PROGNAME-LIST
18761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18762 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18765 test -z "$as_dir" && as_dir
=.
18766 for ac_prog
in egrep; do
18767 for ac_exec_ext
in '' $ac_executable_extensions; do
18768 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18769 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18770 # Check for GNU ac_path_EGREP and select it if it is found.
18771 # Check for GNU $ac_path_EGREP
18772 case `"$ac_path_EGREP" --version 2>&1` in
18774 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18777 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18780 cat "conftest.in" "conftest.in" >"conftest.tmp"
18781 mv "conftest.tmp" "conftest.in"
18782 cp "conftest.in" "conftest.nl"
18783 echo 'EGREP' >> "conftest.nl"
18784 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18785 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18786 ac_count
=`expr $ac_count + 1`
18787 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18788 # Best one so far, save it but keep looking for a better one
18789 ac_cv_path_EGREP
="$ac_path_EGREP"
18790 ac_path_EGREP_max
=$ac_count
18792 # 10*(2^10) chars as input seems more than enough
18793 test $ac_count -gt 10 && break
18795 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18799 $ac_path_EGREP_found && break 3
18809 EGREP
="$ac_cv_path_EGREP"
18810 if test -z "$EGREP"; then
18811 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18812 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18813 { (exit 1); exit 1; }; }
18817 ac_cv_path_EGREP
=$EGREP
18823 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18824 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18825 EGREP
="$ac_cv_path_EGREP"
18828 if test $ac_cv_c_compiler_gnu = yes; then
18829 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18830 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18831 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 ac_pattern
="Autoconf.*'x'"
18835 cat >conftest.
$ac_ext <<_ACEOF
18838 cat confdefs.h
>>conftest.
$ac_ext
18839 cat >>conftest.
$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18845 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18846 ac_cv_prog_gcc_traditional
=yes
18848 ac_cv_prog_gcc_traditional
=no
18853 if test $ac_cv_prog_gcc_traditional = no
; then
18854 cat >conftest.
$ac_ext <<_ACEOF
18857 cat confdefs.h
>>conftest.
$ac_ext
18858 cat >>conftest.
$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860 #include <termio.h>
18863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18864 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18865 ac_cv_prog_gcc_traditional
=yes
18871 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18872 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18873 if test $ac_cv_prog_gcc_traditional = yes; then
18874 CC
="$CC -traditional"
18879 CXXFLAGS
=${CXXFLAGS:=}
18884 ac_cpp
='$CXXCPP $CPPFLAGS'
18885 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18888 if test -z "$CXX"; then
18889 if test -n "$CCC"; then
18892 if test -n "$ac_tool_prefix"; then
18893 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18899 if test "${ac_cv_prog_CXX+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 if test -n "$CXX"; then
18903 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18906 for as_dir
in $PATH
18909 test -z "$as_dir" && as_dir
=.
18910 for ac_exec_ext
in '' $ac_executable_extensions; do
18911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18912 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18922 CXX
=$ac_cv_prog_CXX
18923 if test -n "$CXX"; then
18924 { echo "$as_me:$LINENO: result: $CXX" >&5
18925 echo "${ECHO_T}$CXX" >&6; }
18927 { echo "$as_me:$LINENO: result: no" >&5
18928 echo "${ECHO_T}no" >&6; }
18932 test -n "$CXX" && break
18935 if test -z "$CXX"; then
18937 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18939 # Extract the first word of "$ac_prog", so it can be a program name with args.
18940 set dummy
$ac_prog; ac_word
=$2
18941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18943 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 if test -n "$ac_ct_CXX"; then
18947 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18950 for as_dir
in $PATH
18953 test -z "$as_dir" && as_dir
=.
18954 for ac_exec_ext
in '' $ac_executable_extensions; do
18955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18956 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18966 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18967 if test -n "$ac_ct_CXX"; then
18968 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18969 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18971 { echo "$as_me:$LINENO: result: no" >&5
18972 echo "${ECHO_T}no" >&6; }
18976 test -n "$ac_ct_CXX" && break
18979 if test "x$ac_ct_CXX" = x
; then
18982 case $cross_compiling:$ac_tool_warned in
18984 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18985 whose name does not start with the host triplet. If you think this
18986 configuration is useful to you, please write to autoconf@gnu.org." >&5
18987 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18988 whose name does not start with the host triplet. If you think this
18989 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18990 ac_tool_warned
=yes ;;
18998 # Provide some information about the compiler.
18999 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19000 ac_compiler
=`set X $ac_compile; echo $2`
19001 { (ac_try
="$ac_compiler --version >&5"
19002 case "(($ac_try" in
19003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19004 *) ac_try_echo=$ac_try;;
19006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19007 (eval "$ac_compiler --version >&5") 2>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }
19011 { (ac_try="$ac_compiler -v >&5"
19012 case "(($ac_try" in
19013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19014 *) ac_try_echo
=$ac_try;;
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_compiler -v >&5") 2>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }
19021 { (ac_try
="$ac_compiler -V >&5"
19022 case "(($ac_try" in
19023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19024 *) ac_try_echo=$ac_try;;
19026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19027 (eval "$ac_compiler -V >&5") 2>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }
19032 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19033 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19034 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19037 cat >conftest.$ac_ext <<_ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19059 *) ac_try_echo
=$ac_try;;
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19064 grep -v '^ *+' conftest.er1
>conftest.err
19066 cat conftest.err
>&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_cxx_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.
$ac_objext; then
19072 ac_compiler_gnu
=yes
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.
$ac_ext >&5
19080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19081 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19084 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19085 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19086 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19087 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19088 ac_save_CXXFLAGS
=$CXXFLAGS
19089 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19090 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19091 if test "${ac_cv_prog_cxx_g+set}" = set; then
19092 echo $ECHO_N "(cached) $ECHO_C" >&6
19094 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19095 ac_cxx_werror_flag
=yes
19096 ac_cv_prog_cxx_g
=no
19098 cat >conftest.
$ac_ext <<_ACEOF
19101 cat confdefs.h
>>conftest.
$ac_ext
19102 cat >>conftest.
$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19113 rm -f conftest.
$ac_objext
19114 if { (ac_try
="$ac_compile"
19115 case "(($ac_try" in
19116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19117 *) ac_try_echo=$ac_try;;
19119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19120 (eval "$ac_compile") 2>conftest.er1
19122 grep -v '^ *+' conftest.er1 >conftest.err
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } && {
19127 test -z "$ac_cxx_werror_flag" ||
19128 test ! -s conftest.err
19129 } && test -s conftest.$ac_objext; then
19130 ac_cv_prog_cxx_g=yes
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19136 cat >conftest.$ac_ext <<_ACEOF
19139 cat confdefs.h >>conftest.$ac_ext
19140 cat >>conftest.$ac_ext <<_ACEOF
19141 /* end confdefs.h. */
19151 rm -f conftest.$ac_objext
19152 if { (ac_try="$ac_compile"
19153 case "(($ac_try" in
19154 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19155 *) ac_try_echo
=$ac_try;;
19157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19158 (eval "$ac_compile") 2>conftest.er1
19160 grep -v '^ *+' conftest.er1
>conftest.err
19162 cat conftest.err
>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } && {
19165 test -z "$ac_cxx_werror_flag" ||
19166 test ! -s conftest.err
19167 } && test -s conftest.
$ac_objext; then
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.
$ac_ext >&5
19173 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19175 cat >conftest.
$ac_ext <<_ACEOF
19178 cat confdefs.h
>>conftest.
$ac_ext
19179 cat >>conftest.
$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19190 rm -f conftest.
$ac_objext
19191 if { (ac_try
="$ac_compile"
19192 case "(($ac_try" in
19193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19194 *) ac_try_echo=$ac_try;;
19196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19197 (eval "$ac_compile") 2>conftest.er1
19199 grep -v '^ *+' conftest.er1 >conftest.err
19201 cat conftest.err >&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } && {
19204 test -z "$ac_cxx_werror_flag" ||
19205 test ! -s conftest.err
19206 } && test -s conftest.$ac_objext; then
19207 ac_cv_prog_cxx_g=yes
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19224 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19225 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19226 if test "$ac_test_CXXFLAGS" = set; then
19227 CXXFLAGS=$ac_save_CXXFLAGS
19228 elif test $ac_cv_prog_cxx_g = yes; then
19229 if test "$GXX" = yes; then
19235 if test "$GXX" = yes; then
19242 ac_cpp='$CPP $CPPFLAGS'
19243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19251 ac_cpp='$CXXCPP $CPPFLAGS'
19252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19256 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19257 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19258 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6
19261 cat >conftest.$ac_ext <<_ACEOF
19264 cat confdefs.h >>conftest.$ac_ext
19265 cat >>conftest.$ac_ext <<_ACEOF
19266 /* end confdefs.h. */
19272 #ifndef __INTEL_COMPILER
19280 rm -f conftest.$ac_objext
19281 if { (ac_try="$ac_compile"
19282 case "(($ac_try" in
19283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19284 *) ac_try_echo
=$ac_try;;
19286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19287 (eval "$ac_compile") 2>conftest.er1
19289 grep -v '^ *+' conftest.er1
>conftest.err
19291 cat conftest.err
>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } && {
19294 test -z "$ac_cxx_werror_flag" ||
19295 test ! -s conftest.err
19296 } && test -s conftest.
$ac_objext; then
19297 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.
$ac_ext >&5
19302 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19310 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19311 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19312 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19318 ac_cpp
='$CPP $CPPFLAGS'
19319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19326 if test "x$GCXX" != "xyes"; then
19327 if test "xCXX" = "xC"; then
19328 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19329 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19330 if test "${bakefile_cv_c_exto+set}" = set; then
19331 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 cat >conftest.
$ac_ext <<_ACEOF
19336 cat confdefs.h
>>conftest.
$ac_ext
19337 cat >>conftest.
$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19348 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19350 (eval $ac_compile) 2>&5
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); }; then
19354 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19356 conftest.
$ac_ext.o
)
19357 bakefile_cv_c_exto
="-ext o"
19364 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19365 See \`config.log' for more details." >&5
19366 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19367 See \`config.log' for more details." >&2;}
19368 { (exit 1); exit 1; }; }
19372 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19375 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19376 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19377 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19378 if test "c" = "c"; then
19379 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19381 if test "c" = "cxx"; then
19382 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19386 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19387 unset ac_cv_prog_cc_g
19388 ac_test_CFLAGS
=${CFLAGS+set}
19389 ac_save_CFLAGS
=$CFLAGS
19390 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19391 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19392 if test "${ac_cv_prog_cc_g+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 ac_save_c_werror_flag
=$ac_c_werror_flag
19396 ac_c_werror_flag
=yes
19399 cat >conftest.
$ac_ext <<_ACEOF
19402 cat confdefs.h
>>conftest.
$ac_ext
19403 cat >>conftest.
$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19414 rm -f conftest.
$ac_objext
19415 if { (ac_try
="$ac_compile"
19416 case "(($ac_try" in
19417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19418 *) ac_try_echo=$ac_try;;
19420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19421 (eval "$ac_compile") 2>conftest.er1
19423 grep -v '^ *+' conftest.er1 >conftest.err
19425 cat conftest.err >&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); } && {
19428 test -z "$ac_c_werror_flag" ||
19429 test ! -s conftest.err
19430 } && test -s conftest.$ac_objext; then
19431 ac_cv_prog_cc_g=yes
19433 echo "$as_me: failed program was:" >&5
19434 sed 's/^/| /' conftest.$ac_ext >&5
19437 cat >conftest.$ac_ext <<_ACEOF
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19452 rm -f conftest.$ac_objext
19453 if { (ac_try="$ac_compile"
19454 case "(($ac_try" in
19455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19456 *) ac_try_echo
=$ac_try;;
19458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19459 (eval "$ac_compile") 2>conftest.er1
19461 grep -v '^ *+' conftest.er1
>conftest.err
19463 cat conftest.err
>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } && {
19466 test -z "$ac_c_werror_flag" ||
19467 test ! -s conftest.err
19468 } && test -s conftest.
$ac_objext; then
19471 echo "$as_me: failed program was:" >&5
19472 sed 's/^/| /' conftest.
$ac_ext >&5
19474 ac_c_werror_flag
=$ac_save_c_werror_flag
19476 cat >conftest.
$ac_ext <<_ACEOF
19479 cat confdefs.h
>>conftest.
$ac_ext
19480 cat >>conftest.
$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19491 rm -f conftest.
$ac_objext
19492 if { (ac_try
="$ac_compile"
19493 case "(($ac_try" in
19494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19495 *) ac_try_echo=$ac_try;;
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_compile") 2>conftest.er1
19500 grep -v '^ *+' conftest.er1 >conftest.err
19502 cat conftest.err >&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } && {
19505 test -z "$ac_c_werror_flag" ||
19506 test ! -s conftest.err
19507 } && test -s conftest.$ac_objext; then
19508 ac_cv_prog_cc_g=yes
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.$ac_ext >&5
19516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 ac_c_werror_flag=$ac_save_c_werror_flag
19525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19526 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19527 if test "$ac_test_CFLAGS" = set; then
19528 CFLAGS=$ac_save_CFLAGS
19529 elif test $ac_cv_prog_cc_g = yes; then
19530 if test "$GCC" = yes; then
19536 if test "$GCC" = yes; then
19550 ac_cpp='$CXXCPP $CPPFLAGS'
19551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19555 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19556 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19557 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19558 echo $ECHO_N "(cached) $ECHO_C" >&6
19560 cat >conftest.$ac_ext <<_ACEOF
19563 cat confdefs.h >>conftest.$ac_ext
19564 cat >>conftest.$ac_ext <<_ACEOF
19565 /* end confdefs.h. */
19579 rm -f conftest.$ac_objext
19580 if { (ac_try="$ac_compile"
19581 case "(($ac_try" in
19582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19583 *) ac_try_echo
=$ac_try;;
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_compile") 2>conftest.er1
19588 grep -v '^ *+' conftest.er1
>conftest.err
19590 cat conftest.err
>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } && {
19593 test -z "$ac_cxx_werror_flag" ||
19594 test ! -s conftest.err
19595 } && test -s conftest.
$ac_objext; then
19596 bakefile_cv_cxx_compiler___xlC__
=yes
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.
$ac_ext >&5
19601 bakefile_cv_cxx_compiler___xlC__
=no
19605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19609 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19610 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19611 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19617 ac_cpp
='$CPP $CPPFLAGS'
19618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19630 ac_cpp
='$CXXCPP $CPPFLAGS'
19631 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19632 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19633 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19635 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19636 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19637 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 cat >conftest.
$ac_ext <<_ACEOF
19643 cat confdefs.h
>>conftest.
$ac_ext
19644 cat >>conftest.
$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19659 rm -f conftest.
$ac_objext
19660 if { (ac_try
="$ac_compile"
19661 case "(($ac_try" in
19662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19663 *) ac_try_echo=$ac_try;;
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_compile") 2>conftest.er1
19668 grep -v '^ *+' conftest.er1 >conftest.err
19670 cat conftest.err >&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } && {
19673 test -z "$ac_cxx_werror_flag" ||
19674 test ! -s conftest.err
19675 } && test -s conftest.$ac_objext; then
19676 bakefile_cv_cxx_compiler___MWERKS__=yes
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19681 bakefile_cv_cxx_compiler___MWERKS__=no
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19690 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19691 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19697 ac_cpp='$CPP $CPPFLAGS'
19698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19707 ac_cpp='$CXXCPP $CPPFLAGS'
19708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19712 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19713 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19714 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 cat >conftest.$ac_ext <<_ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19736 rm -f conftest.$ac_objext
19737 if { (ac_try="$ac_compile"
19738 case "(($ac_try" in
19739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19740 *) ac_try_echo
=$ac_try;;
19742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19743 (eval "$ac_compile") 2>conftest.er1
19745 grep -v '^ *+' conftest.er1
>conftest.err
19747 cat conftest.err
>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); } && {
19750 test -z "$ac_cxx_werror_flag" ||
19751 test ! -s conftest.err
19752 } && test -s conftest.
$ac_objext; then
19753 bakefile_cv_cxx_compiler___xlC__
=yes
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.
$ac_ext >&5
19758 bakefile_cv_cxx_compiler___xlC__
=no
19762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19766 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19767 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19768 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19774 ac_cpp
='$CPP $CPPFLAGS'
19775 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19776 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19777 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19787 ac_cpp
='$CXXCPP $CPPFLAGS'
19788 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19789 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19790 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19792 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19793 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19794 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19795 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 cat >conftest.
$ac_ext <<_ACEOF
19800 cat confdefs.h
>>conftest.
$ac_ext
19801 cat >>conftest.
$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19808 #ifndef _SGI_COMPILER_VERSION
19816 rm -f conftest.
$ac_objext
19817 if { (ac_try
="$ac_compile"
19818 case "(($ac_try" in
19819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19820 *) ac_try_echo=$ac_try;;
19822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19823 (eval "$ac_compile") 2>conftest.er1
19825 grep -v '^ *+' conftest.er1 >conftest.err
19827 cat conftest.err >&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } && {
19830 test -z "$ac_cxx_werror_flag" ||
19831 test ! -s conftest.err
19832 } && test -s conftest.$ac_objext; then
19833 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.$ac_ext >&5
19838 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19846 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19847 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19848 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19854 ac_cpp='$CPP $CPPFLAGS'
19855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19867 ac_cpp='$CXXCPP $CPPFLAGS'
19868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19872 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19873 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19874 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 cat >conftest.$ac_ext <<_ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19888 #ifndef __SUNPRO_CC
19896 rm -f conftest.$ac_objext
19897 if { (ac_try="$ac_compile"
19898 case "(($ac_try" in
19899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19900 *) ac_try_echo
=$ac_try;;
19902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19903 (eval "$ac_compile") 2>conftest.er1
19905 grep -v '^ *+' conftest.er1
>conftest.err
19907 cat conftest.err
>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } && {
19910 test -z "$ac_cxx_werror_flag" ||
19911 test ! -s conftest.err
19912 } && test -s conftest.
$ac_objext; then
19913 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19915 echo "$as_me: failed program was:" >&5
19916 sed 's/^/| /' conftest.
$ac_ext >&5
19918 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19926 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19927 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19928 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19934 ac_cpp
='$CPP $CPPFLAGS'
19935 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19936 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19937 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19947 ac_cpp
='$CXXCPP $CPPFLAGS'
19948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19952 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19953 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19954 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 cat >conftest.
$ac_ext <<_ACEOF
19960 cat confdefs.h
>>conftest.
$ac_ext
19961 cat >>conftest.
$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19976 rm -f conftest.
$ac_objext
19977 if { (ac_try
="$ac_compile"
19978 case "(($ac_try" in
19979 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19980 *) ac_try_echo=$ac_try;;
19982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19983 (eval "$ac_compile") 2>conftest.er1
19985 grep -v '^ *+' conftest.er1 >conftest.err
19987 cat conftest.err >&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); } && {
19990 test -z "$ac_cxx_werror_flag" ||
19991 test ! -s conftest.err
19992 } && test -s conftest.$ac_objext; then
19993 bakefile_cv_cxx_compiler___HP_aCC=yes
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.$ac_ext >&5
19998 bakefile_cv_cxx_compiler___HP_aCC=no
20002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20006 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20007 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20008 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20014 ac_cpp='$CPP $CPPFLAGS'
20015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20027 ac_cpp='$CXXCPP $CPPFLAGS'
20028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20032 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20033 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20034 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20035 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 cat >conftest.$ac_ext <<_ACEOF
20040 cat confdefs.h >>conftest.$ac_ext
20041 cat >>conftest.$ac_ext <<_ACEOF
20042 /* end confdefs.h. */
20056 rm -f conftest.$ac_objext
20057 if { (ac_try="$ac_compile"
20058 case "(($ac_try" in
20059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20060 *) ac_try_echo
=$ac_try;;
20062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20063 (eval "$ac_compile") 2>conftest.er1
20065 grep -v '^ *+' conftest.er1
>conftest.err
20067 cat conftest.err
>&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); } && {
20070 test -z "$ac_cxx_werror_flag" ||
20071 test ! -s conftest.err
20072 } && test -s conftest.
$ac_objext; then
20073 bakefile_cv_cxx_compiler___DECCXX
=yes
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.
$ac_ext >&5
20078 bakefile_cv_cxx_compiler___DECCXX
=no
20082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20086 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20087 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20088 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20094 ac_cpp
='$CPP $CPPFLAGS'
20095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20107 ac_cpp
='$CXXCPP $CPPFLAGS'
20108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20112 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20113 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20114 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 cat >conftest.
$ac_ext <<_ACEOF
20120 cat confdefs.h
>>conftest.
$ac_ext
20121 cat >>conftest.
$ac_ext <<_ACEOF
20122 /* end confdefs.h. */
20128 #ifndef __SUNPRO_CC
20136 rm -f conftest.
$ac_objext
20137 if { (ac_try
="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20145 grep -v '^ *+' conftest.er1 >conftest.err
20147 cat conftest.err >&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_cxx_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.$ac_objext; then
20153 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20158 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20166 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20167 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20168 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20174 ac_cpp='$CPP $CPPFLAGS'
20175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20187 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20188 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20189 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20190 { (exit 1); exit 1; }; }
20193 if test -n "$ac_tool_prefix"; then
20194 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
20195 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
20196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20198 if test "${ac_cv_prog_RANLIB+set}" = set; then
20199 echo $ECHO_N "(cached) $ECHO_C" >&6
20201 if test -n "$RANLIB"; then
20202 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
20204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20205 for as_dir in $PATH
20208 test -z "$as_dir" && as_dir=.
20209 for ac_exec_ext in '' $ac_executable_extensions; do
20210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20211 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
20212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20221 RANLIB=$ac_cv_prog_RANLIB
20222 if test -n "$RANLIB"; then
20223 { echo "$as_me:$LINENO: result: $RANLIB" >&5
20224 echo "${ECHO_T}$RANLIB" >&6; }
20226 { echo "$as_me:$LINENO: result: no" >&5
20227 echo "${ECHO_T}no" >&6; }
20232 if test -z "$ac_cv_prog_RANLIB"; then
20233 ac_ct_RANLIB=$RANLIB
20234 # Extract the first word of "ranlib", so it can be a program name with args.
20235 set dummy ranlib; ac_word=$2
20236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20238 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
20239 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 if test -n "$ac_ct_RANLIB"; then
20242 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
20244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20245 for as_dir in $PATH
20248 test -z "$as_dir" && as_dir=.
20249 for ac_exec_ext in '' $ac_executable_extensions; do
20250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20251 ac_cv_prog_ac_ct_RANLIB="ranlib"
20252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20261 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
20262 if test -n "$ac_ct_RANLIB"; then
20263 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
20264 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
20266 { echo "$as_me:$LINENO: result: no" >&5
20267 echo "${ECHO_T}no" >&6; }
20270 if test "x$ac_ct_RANLIB" = x; then
20273 case $cross_compiling:$ac_tool_warned in
20275 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20276 whose name does not start with the host triplet. If you think this
20277 configuration is useful to you, please write to autoconf@gnu.org." >&5
20278 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20279 whose name does not start with the host triplet. If you think this
20280 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20281 ac_tool_warned=yes ;;
20283 RANLIB=$ac_ct_RANLIB
20286 RANLIB="$ac_cv_prog_RANLIB"
20290 if test "x$SUNCXX" != xyes; then
20291 if test -n "$ac_tool_prefix"; then
20292 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20293 set dummy ${ac_tool_prefix}ar; ac_word=$2
20294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20296 if test "${ac_cv_prog_AR+set}" = set; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20299 if test -n "$AR"; then
20300 ac_cv_prog_AR="$AR" # Let the user override the test.
20302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20303 for as_dir in $PATH
20306 test -z "$as_dir" && as_dir=.
20307 for ac_exec_ext in '' $ac_executable_extensions; do
20308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20309 ac_cv_prog_AR="${ac_tool_prefix}ar"
20310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20320 if test -n "$AR"; then
20321 { echo "$as_me:$LINENO: result: $AR" >&5
20322 echo "${ECHO_T}$AR" >&6; }
20324 { echo "$as_me:$LINENO: result: no" >&5
20325 echo "${ECHO_T}no" >&6; }
20330 if test -z "$ac_cv_prog_AR"; then
20332 # Extract the first word of "ar", so it can be a program name with args.
20333 set dummy ar; ac_word=$2
20334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20336 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20337 echo $ECHO_N "(cached) $ECHO_C" >&6
20339 if test -n "$ac_ct_AR"; then
20340 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20343 for as_dir in $PATH
20346 test -z "$as_dir" && as_dir=.
20347 for ac_exec_ext in '' $ac_executable_extensions; do
20348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20349 ac_cv_prog_ac_ct_AR="ar"
20350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20359 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20360 if test -n "$ac_ct_AR"; then
20361 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20362 echo "${ECHO_T}$ac_ct_AR" >&6; }
20364 { echo "$as_me:$LINENO: result: no" >&5
20365 echo "${ECHO_T}no" >&6; }
20368 if test "x$ac_ct_AR" = x; then
20371 case $cross_compiling:$ac_tool_warned in
20373 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20374 whose name does not start with the host triplet. If you think this
20375 configuration is useful to you, please write to autoconf@gnu.org." >&5
20376 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20377 whose name does not start with the host triplet. If you think this
20378 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20379 ac_tool_warned=yes ;;
20384 AR="$ac_cv_prog_AR"
20387 if test "x$AR" = "x" ; then
20388 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20389 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20390 { (exit 1); exit 1; }; }
20394 # Find a good install program. We prefer a C program (faster),
20395 # so one script is as good as another. But avoid the broken or
20396 # incompatible versions:
20397 # SysV /etc/install, /usr/sbin/install
20398 # SunOS /usr/etc/install
20399 # IRIX /sbin/install
20401 # AmigaOS /C/install, which installs bootblocks on floppy discs
20402 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
20403 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
20404 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
20405 # OS/2's system install, which has a completely different semantic
20406 # ./install, which can be erroneously created by make from ./install.sh.
20407 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
20408 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
20409 if test -z "$INSTALL"; then
20410 if test "${ac_cv_path_install+set}" = set; then
20411 echo $ECHO_N "(cached) $ECHO_C" >&6
20413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20414 for as_dir in $PATH
20417 test -z "$as_dir" && as_dir=.
20418 # Account for people who put trailing slashes in PATH elements.
20420 ./ | .// | /cC/* | \
20421 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
20422 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
20425 # OSF1 and SCO ODT 3.0 have their own names for install.
20426 # Don't use installbsd from OSF since it installs stuff as root
20428 for ac_prog in ginstall scoinst install; do
20429 for ac_exec_ext in '' $ac_executable_extensions; do
20430 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
20431 if test $ac_prog = install &&
20432 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20433 # AIX install. It has an incompatible calling convention.
20435 elif test $ac_prog = install &&
20436 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20437 # program-specific install script used by HP pwplus--don't use.
20440 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
20453 if test "${ac_cv_path_install+set}" = set; then
20454 INSTALL=$ac_cv_path_install
20456 # As a last resort, use the slow shell script. Don't cache a
20457 # value for INSTALL within a source directory, because that will
20458 # break other packages using the cache if that directory is
20459 # removed, or if the value is a relative name.
20460 INSTALL=$ac_install_sh
20463 { echo "$as_me:$LINENO: result: $INSTALL" >&5
20464 echo "${ECHO_T}$INSTALL" >&6; }
20466 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
20467 # It thinks the first close brace ends the variable substitution.
20468 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
20470 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
20472 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
20478 ?:* ) # Drive letter, considered as absolute.
20481 INSTALL=`pwd`/${INSTALL} ;;
20484 retest_macosx_linking=no
20486 #if test "$wxUSE_MAC" = 1; then
20487 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20488 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20489 # Implicitly turn on the new --with-macosx-sdk using the default
20490 # SDK which provides the behavior this option has always had.
20491 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20492 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20493 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20494 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20495 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20496 wxUSE_MACOSX_SDK=yes
20499 # Complain to user if he specified an argument to --enable-universal_binary
20500 # and also 1) specified --with-macosx-sdk using the default (yes) or
20501 # 2) specified --with-macosx-sdk using a path or 3) specified
20502 # --without-macosx-sdk (no).
20503 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20504 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20505 See \`config.log
' for more details." >&5
20506 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20507 See \`config.log' for more details.
" >&2;}
20508 { (exit 1); exit 1; }; }
20510 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20511 # special-case the empty string because the below test simply
20512 # converts "no
" to the empty string anyway.
20513 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20514 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20515 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20518 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20519 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20520 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20521 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20522 retest_macosx_linking=yes
20524 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20525 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20530 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20532 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20533 # TODO: Search for most recent SDK and use it.
20534 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20538 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20539 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20540 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20541 if ! test -d "$wxUSE_MACOSX_SDK"; then
20542 { { echo "$as_me:$LINENO: error
: not found
20543 See \
`config.log' for more details." >&5
20544 echo "$as_me: error: not found
20545 See \`config.log
' for more details." >&2;}
20546 { (exit 1); exit 1; }; }
20548 { echo "$as_me:$LINENO: result: exists" >&5
20549 echo "${ECHO_T}exists" >&6; }
20551 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20552 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20553 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20554 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20555 retest_macosx_linking=yes
20558 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20559 wxUSE_MACOSX_VERSION_MIN=
20560 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20561 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20562 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20563 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20565 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/'`
20567 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20568 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20569 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20570 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20572 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20573 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20574 wxUSE_MACOSX_VERSION_MIN=
20577 wxUSE_MACOSX_VERSION_MIN=
20581 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20582 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20583 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20584 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20585 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20586 retest_macosx_linking=yes
20589 if test "x$retest_macosx_linking" = "xyes"; then
20591 ac_cpp='$CPP $CPPFLAGS'
20592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20593 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20596 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20597 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20598 cat >conftest.$ac_ext <<_ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20613 rm -f conftest.$ac_objext conftest$ac_exeext
20614 if { (ac_try="$ac_link"
20615 case "(($ac_try" in
20616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20617 *) ac_try_echo=$ac_try;;
20619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20620 (eval "$ac_link") 2>conftest.er1
20622 grep -v '^
*+' conftest.er1 >conftest.err
20624 cat conftest.err >&5
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); } && {
20627 test -z "$ac_c_werror_flag" ||
20628 test ! -s conftest.err
20629 } && test -s conftest$ac_exeext &&
20630 $as_test_x conftest$ac_exeext; then
20631 { echo "$as_me:$LINENO: result: yes" >&5
20632 echo "${ECHO_T}yes" >&6; }
20634 echo "$as_me: failed program was:" >&5
20635 sed 's
/^
/| /' conftest.$ac_ext >&5
20637 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20638 See \`config.log' for more details.
" >&5
20639 echo "$as_me: error
: no. Try a different SDK
20640 See \
`config.log' for more details." >&2;}
20641 { (exit 1); exit 1; }; }; exit 1
20644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20645 conftest$ac_exeext conftest.$ac_ext
20647 ac_cpp='$CPP $CPPFLAGS'
20648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20654 ac_cpp='$CXXCPP $CPPFLAGS'
20655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20659 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20660 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20661 cat >conftest.$ac_ext <<_ACEOF
20664 cat confdefs.h >>conftest.$ac_ext
20665 cat >>conftest.$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20676 rm -f conftest.$ac_objext conftest$ac_exeext
20677 if { (ac_try="$ac_link"
20678 case "(($ac_try" in
20679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20680 *) ac_try_echo
=$ac_try;;
20682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20683 (eval "$ac_link") 2>conftest.er1
20685 grep -v '^ *+' conftest.er1
>conftest.err
20687 cat conftest.err
>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } && {
20690 test -z "$ac_cxx_werror_flag" ||
20691 test ! -s conftest.err
20692 } && test -s conftest
$ac_exeext &&
20693 $as_test_x conftest
$ac_exeext; then
20694 { echo "$as_me:$LINENO: result: yes" >&5
20695 echo "${ECHO_T}yes" >&6; }
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.
$ac_ext >&5
20700 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20701 See \`config.log' for more details." >&5
20702 echo "$as_me: error: no. Try a different SDK
20703 See \`config.log' for more details." >&2;}
20704 { (exit 1); exit 1; }; }; exit 1
20707 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20708 conftest
$ac_exeext conftest.
$ac_ext
20710 ac_cpp
='$CPP $CPPFLAGS'
20711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20721 INSTALL_PROGRAM
="cp -fp"
20722 INSTALL_DATA
="cp -fp"
20728 if test -n "$ac_tool_prefix"; then
20729 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
20730 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
20731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20733 if test "${ac_cv_prog_STRIP+set}" = set; then
20734 echo $ECHO_N "(cached) $ECHO_C" >&6
20736 if test -n "$STRIP"; then
20737 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
20739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20740 for as_dir
in $PATH
20743 test -z "$as_dir" && as_dir
=.
20744 for ac_exec_ext
in '' $ac_executable_extensions; do
20745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20746 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
20747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20756 STRIP
=$ac_cv_prog_STRIP
20757 if test -n "$STRIP"; then
20758 { echo "$as_me:$LINENO: result: $STRIP" >&5
20759 echo "${ECHO_T}$STRIP" >&6; }
20761 { echo "$as_me:$LINENO: result: no" >&5
20762 echo "${ECHO_T}no" >&6; }
20767 if test -z "$ac_cv_prog_STRIP"; then
20769 # Extract the first word of "strip", so it can be a program name with args.
20770 set dummy strip
; ac_word
=$2
20771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20773 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
20774 echo $ECHO_N "(cached) $ECHO_C" >&6
20776 if test -n "$ac_ct_STRIP"; then
20777 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
20779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20780 for as_dir
in $PATH
20783 test -z "$as_dir" && as_dir
=.
20784 for ac_exec_ext
in '' $ac_executable_extensions; do
20785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20786 ac_cv_prog_ac_ct_STRIP
="strip"
20787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20796 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
20797 if test -n "$ac_ct_STRIP"; then
20798 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
20799 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
20801 { echo "$as_me:$LINENO: result: no" >&5
20802 echo "${ECHO_T}no" >&6; }
20805 if test "x$ac_ct_STRIP" = x
; then
20808 case $cross_compiling:$ac_tool_warned in
20810 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20811 whose name does not start with the host triplet. If you think this
20812 configuration is useful to you, please write to autoconf@gnu.org." >&5
20813 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20814 whose name does not start with the host triplet. If you think this
20815 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20816 ac_tool_warned
=yes ;;
20821 STRIP
="$ac_cv_prog_STRIP"
20825 if test "$wxUSE_WINE" = "yes"; then
20826 if test -n "$ac_tool_prefix"; then
20827 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
20828 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
20829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20831 if test "${ac_cv_prog_WINDRES+set}" = set; then
20832 echo $ECHO_N "(cached) $ECHO_C" >&6
20834 if test -n "$WINDRES"; then
20835 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
20837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20838 for as_dir
in $PATH
20841 test -z "$as_dir" && as_dir
=.
20842 for ac_exec_ext
in '' $ac_executable_extensions; do
20843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20844 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
20845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20854 WINDRES
=$ac_cv_prog_WINDRES
20855 if test -n "$WINDRES"; then
20856 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20857 echo "${ECHO_T}$WINDRES" >&6; }
20859 { echo "$as_me:$LINENO: result: no" >&5
20860 echo "${ECHO_T}no" >&6; }
20865 if test -z "$ac_cv_prog_WINDRES"; then
20866 ac_ct_WINDRES
=$WINDRES
20867 # Extract the first word of "wrc", so it can be a program name with args.
20868 set dummy wrc
; ac_word
=$2
20869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20871 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20872 echo $ECHO_N "(cached) $ECHO_C" >&6
20874 if test -n "$ac_ct_WINDRES"; then
20875 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
20877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20878 for as_dir
in $PATH
20881 test -z "$as_dir" && as_dir
=.
20882 for ac_exec_ext
in '' $ac_executable_extensions; do
20883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20884 ac_cv_prog_ac_ct_WINDRES
="wrc"
20885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20894 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
20895 if test -n "$ac_ct_WINDRES"; then
20896 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20897 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20899 { echo "$as_me:$LINENO: result: no" >&5
20900 echo "${ECHO_T}no" >&6; }
20903 if test "x$ac_ct_WINDRES" = x
; then
20906 case $cross_compiling:$ac_tool_warned in
20908 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20909 whose name does not start with the host triplet. If you think this
20910 configuration is useful to you, please write to autoconf@gnu.org." >&5
20911 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20912 whose name does not start with the host triplet. If you think this
20913 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20914 ac_tool_warned
=yes ;;
20916 WINDRES
=$ac_ct_WINDRES
20919 WINDRES
="$ac_cv_prog_WINDRES"
20925 *-*-cygwin* | *-*-mingw32* )
20926 if test -n "$ac_tool_prefix"; then
20927 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20928 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
20929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20931 if test "${ac_cv_prog_WINDRES+set}" = set; then
20932 echo $ECHO_N "(cached) $ECHO_C" >&6
20934 if test -n "$WINDRES"; then
20935 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
20937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20938 for as_dir
in $PATH
20941 test -z "$as_dir" && as_dir
=.
20942 for ac_exec_ext
in '' $ac_executable_extensions; do
20943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20944 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
20945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20954 WINDRES
=$ac_cv_prog_WINDRES
20955 if test -n "$WINDRES"; then
20956 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20957 echo "${ECHO_T}$WINDRES" >&6; }
20959 { echo "$as_me:$LINENO: result: no" >&5
20960 echo "${ECHO_T}no" >&6; }
20965 if test -z "$ac_cv_prog_WINDRES"; then
20966 ac_ct_WINDRES
=$WINDRES
20967 # Extract the first word of "windres", so it can be a program name with args.
20968 set dummy windres
; ac_word
=$2
20969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20971 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20972 echo $ECHO_N "(cached) $ECHO_C" >&6
20974 if test -n "$ac_ct_WINDRES"; then
20975 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
20977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20978 for as_dir
in $PATH
20981 test -z "$as_dir" && as_dir
=.
20982 for ac_exec_ext
in '' $ac_executable_extensions; do
20983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20984 ac_cv_prog_ac_ct_WINDRES
="windres"
20985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20994 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
20995 if test -n "$ac_ct_WINDRES"; then
20996 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20997 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20999 { echo "$as_me:$LINENO: result: no" >&5
21000 echo "${ECHO_T}no" >&6; }
21003 if test "x$ac_ct_WINDRES" = x
; then
21006 case $cross_compiling:$ac_tool_warned in
21008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21009 whose name does not start with the host triplet. If you think this
21010 configuration is useful to you, please write to autoconf@gnu.org." >&5
21011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21012 whose name does not start with the host triplet. If you think this
21013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21014 ac_tool_warned
=yes ;;
21016 WINDRES
=$ac_ct_WINDRES
21019 WINDRES
="$ac_cv_prog_WINDRES"
21023 if test -n "$ac_tool_prefix"; then
21024 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
21025 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
21026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21028 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
21029 echo $ECHO_N "(cached) $ECHO_C" >&6
21031 if test -n "$DLLTOOL"; then
21032 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
21034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21035 for as_dir
in $PATH
21038 test -z "$as_dir" && as_dir
=.
21039 for ac_exec_ext
in '' $ac_executable_extensions; do
21040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21041 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
21042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21051 DLLTOOL
=$ac_cv_prog_DLLTOOL
21052 if test -n "$DLLTOOL"; then
21053 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
21054 echo "${ECHO_T}$DLLTOOL" >&6; }
21056 { echo "$as_me:$LINENO: result: no" >&5
21057 echo "${ECHO_T}no" >&6; }
21062 if test -z "$ac_cv_prog_DLLTOOL"; then
21063 ac_ct_DLLTOOL
=$DLLTOOL
21064 # Extract the first word of "dlltool", so it can be a program name with args.
21065 set dummy dlltool
; ac_word
=$2
21066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21068 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
21069 echo $ECHO_N "(cached) $ECHO_C" >&6
21071 if test -n "$ac_ct_DLLTOOL"; then
21072 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
21074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21075 for as_dir
in $PATH
21078 test -z "$as_dir" && as_dir
=.
21079 for ac_exec_ext
in '' $ac_executable_extensions; do
21080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21081 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
21082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21091 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
21092 if test -n "$ac_ct_DLLTOOL"; then
21093 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
21094 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
21096 { echo "$as_me:$LINENO: result: no" >&5
21097 echo "${ECHO_T}no" >&6; }
21100 if test "x$ac_ct_DLLTOOL" = x
; then
21103 case $cross_compiling:$ac_tool_warned in
21105 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21106 whose name does not start with the host triplet. If you think this
21107 configuration is useful to you, please write to autoconf@gnu.org." >&5
21108 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21109 whose name does not start with the host triplet. If you think this
21110 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21111 ac_tool_warned
=yes ;;
21113 DLLTOOL
=$ac_ct_DLLTOOL
21116 DLLTOOL
="$ac_cv_prog_DLLTOOL"
21123 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
21124 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
21125 if test "${wx_cv_prog_makeisgnu+set}" = set; then
21126 echo $ECHO_N "(cached) $ECHO_C" >&6
21129 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
21130 $EGREP -s GNU
> /dev
/null
); then
21131 wx_cv_prog_makeisgnu
="yes"
21133 wx_cv_prog_makeisgnu
="no"
21137 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
21138 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
21140 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
21148 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
21149 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
21150 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
21151 if test "${wx_cv_prog_makevpath+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 cat - << EOF > confMake
21161 if test ! -d sub
; then
21164 echo dummy
> sub
/file
21165 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
21167 rm -f sub
/file check final_file confMake
21169 if test "$RESULT" = 0; then
21170 wx_cv_prog_makevpath
="yes"
21172 wx_cv_prog_makevpath
="no"
21176 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
21177 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
21179 if test "x$wx_cv_prog_makevpath" != "xyes"; then
21180 { { echo "$as_me:$LINENO: error:
21181 You need a make-utility that is able to use the variable
21183 If your version of make does not support VPATH correctly,
21184 please install GNU-make (possibly as gmake), and start
21185 configure with the following command:
21186 export MAKE=gmake; ./configure for sh-type shells
21187 setenv MAKE gmake; ./configure for csh-type shells
21188 Also please do remember to use gmake in this case every time
21189 you are trying to compile.
21191 echo "$as_me: error:
21192 You need a make-utility that is able to use the variable
21194 If your version of make does not support VPATH correctly,
21195 please install GNU-make (possibly as gmake), and start
21196 configure with the following command:
21197 export MAKE=gmake; ./configure for sh-type shells
21198 setenv MAKE gmake; ./configure for csh-type shells
21199 Also please do remember to use gmake in this case every time
21200 you are trying to compile.
21202 { (exit 1); exit 1; }; }
21204 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
21205 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
21207 if test "$LN_S" = "ln -s"; then
21208 { echo "$as_me:$LINENO: result: yes" >&5
21209 echo "${ECHO_T}yes" >&6; }
21211 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
21212 echo "${ECHO_T}no, using $LN_S" >&6; }
21218 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
21219 CXXFLAGS
="-qunique $CXXFLAGS"
21223 powerpc
-*-darwin* )
21224 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
21225 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
21226 cat >conftest.
$ac_ext <<_ACEOF
21229 cat confdefs.h
>>conftest.
$ac_ext
21230 cat >>conftest.
$ac_ext <<_ACEOF
21231 /* end confdefs.h. */
21236 #ifndef __POWERPC__
21237 choke me for lack of PowerPC
21244 rm -f conftest.
$ac_objext
21245 if { (ac_try
="$ac_compile"
21246 case "(($ac_try" in
21247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21248 *) ac_try_echo=$ac_try;;
21250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21251 (eval "$ac_compile") 2>conftest.er1
21253 grep -v '^ *+' conftest.er1 >conftest.err
21255 cat conftest.err >&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); } && {
21258 test -z "$ac_c_werror_flag" ||
21259 test ! -s conftest.err
21260 } && test -s conftest.$ac_objext; then
21261 { echo "$as_me:$LINENO: result: yes" >&5
21262 echo "${ECHO_T}yes" >&6; }
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.$ac_ext >&5
21267 { echo "$as_me:$LINENO: result: no" >&5
21268 echo "${ECHO_T}no" >&6; }
21269 cat >>confdefs.h <<\_ACEOF
21270 #define __POWERPC__ 1
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21282 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
21283 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
21284 cat >conftest.$ac_ext <<_ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 #include <CoreFoundation/CFBase.h>
21300 rm -f conftest.$ac_objext
21301 if { (ac_try="$ac_compile"
21302 case "(($ac_try" in
21303 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21304 *) ac_try_echo
=$ac_try;;
21306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21307 (eval "$ac_compile") 2>conftest.er1
21309 grep -v '^ *+' conftest.er1
>conftest.err
21311 cat conftest.err
>&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } && {
21314 test -z "$ac_c_werror_flag" ||
21315 test ! -s conftest.err
21316 } && test -s conftest.
$ac_objext; then
21317 { echo "$as_me:$LINENO: result: yes" >&5
21318 echo "${ECHO_T}yes" >&6; }
21320 echo "$as_me: failed program was:" >&5
21321 sed 's/^/| /' conftest.
$ac_ext >&5
21323 { echo "$as_me:$LINENO: result: no" >&5
21324 echo "${ECHO_T}no" >&6; }
21325 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
21326 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
21327 cat >conftest.
$ac_ext <<_ACEOF
21330 cat confdefs.h
>>conftest.
$ac_ext
21331 cat >>conftest.
$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21333 #define __CF_USE_FRAMEWORK_INCLUDES__
21334 #include <CoreFoundation/CFBase.h>
21344 rm -f conftest.
$ac_objext
21345 if { (ac_try
="$ac_compile"
21346 case "(($ac_try" in
21347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21348 *) ac_try_echo=$ac_try;;
21350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21351 (eval "$ac_compile") 2>conftest.er1
21353 grep -v '^ *+' conftest.er1 >conftest.err
21355 cat conftest.err >&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } && {
21358 test -z "$ac_c_werror_flag" ||
21359 test ! -s conftest.err
21360 } && test -s conftest.$ac_objext; then
21361 { echo "$as_me:$LINENO: result: yes" >&5
21362 echo "${ECHO_T}yes" >&6; }
21363 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
21365 echo "$as_me: failed program was:" >&5
21366 sed 's/^/| /' conftest.$ac_ext >&5
21368 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
21369 See \`config.log
' for more details." >&5
21370 echo "$as_me: error: no. CoreFoundation not available.
21371 See \`config.log' for more details.
" >&2;}
21372 { (exit 1); exit 1; }; }
21376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21386 doesnt_want_win32=0
21389 if test "$wxUSE_MSW" = 1 ; then
21392 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
21393 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
21394 if test "${wx_cv_nocygwin+set}" = set; then
21395 echo $ECHO_N "(cached
) $ECHO_C" >&6
21398 cat >conftest.$ac_ext <<_ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21417 rm -f conftest.$ac_objext
21418 if { (ac_try="$ac_compile"
21419 case "(($ac_try" in
21420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21421 *) ac_try_echo=$ac_try;;
21423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21424 (eval "$ac_compile") 2>conftest.er1
21426 grep -v '^ *+' conftest.er1 >conftest.err
21428 cat conftest.err >&5
21429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21430 (exit $ac_status); } && {
21431 test -z "$ac_c_werror_flag" ||
21432 test ! -s conftest.err
21433 } && test -s conftest.$ac_objext; then
21436 echo "$as_me: failed program was
:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
21448 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
21450 if test "$wx_cv_nocygwin" = "yes"; then
21453 doesnt_want_win32=1
21456 if test "$wants_win32" = 1 ; then
21457 BAKEFILE_FORCE_PLATFORM=win32
21465 if test "$wxUSE_WINE" = "yes"; then
21467 LDFLAGS_GUI="-mwindows"
21470 if test "$wants_win32" = 1 ; then
21473 cat >>confdefs.h <<\_ACEOF
21474 #define __WIN32__ 1
21477 cat >>confdefs.h <<\_ACEOF
21478 #define __WIN95__ 1
21481 cat >>confdefs.h <<\_ACEOF
21482 #define __WINDOWS__ 1
21485 cat >>confdefs.h <<\_ACEOF
21486 #define __GNUWIN32__ 1
21489 cat >>confdefs.h <<\_ACEOF
21494 if test "$doesnt_want_win32" = 1 ; then
21499 if test "$USE_UNIX" = 1 ; then
21501 cat >>confdefs.h <<\_ACEOF
21508 *-pc-os2_emx | *-pc-os2-emx )
21509 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
21510 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
21511 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
21512 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
21513 echo $ECHO_N "(cached
) $ECHO_C" >&6
21515 ac_check_lib_save_LIBS=$LIBS
21516 LIBS="-lcExt $LIBS"
21517 cat >conftest.$ac_ext <<_ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21524 /* Override any GCC internal prototype to avoid an error.
21525 Use char because int might match the return type of a GCC
21526 builtin and then its argument prototype would still apply. */
21539 rm -f conftest.$ac_objext conftest$ac_exeext
21540 if { (ac_try="$ac_link"
21541 case "(($ac_try" in
21542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21543 *) ac_try_echo=$ac_try;;
21545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21546 (eval "$ac_link") 2>conftest.er1
21548 grep -v '^ *+' conftest.er1 >conftest.err
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21552 (exit $ac_status); } && {
21553 test -z "$ac_c_werror_flag" ||
21554 test ! -s conftest.err
21555 } && test -s conftest$ac_exeext &&
21556 $as_test_x conftest$ac_exeext; then
21557 ac_cv_lib_cExt_drand48=yes
21559 echo "$as_me: failed program was
:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21562 ac_cv_lib_cExt_drand48=no
21565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21566 conftest$ac_exeext conftest.$ac_ext
21567 LIBS=$ac_check_lib_save_LIBS
21569 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
21570 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21571 if test $ac_cv_lib_cExt_drand48 = yes; then
21572 LIBS="$LIBS -lcExt"
21576 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
21578 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
21579 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
21580 if test "${wx_cv_gccversion+set}" = set; then
21581 echo $ECHO_N "(cached
) $ECHO_C" >&6
21584 if test "$cross_compiling" = yes; then
21585 wx_cv_gccversion="EMX2
"
21588 cat >conftest.$ac_ext <<_ACEOF
21591 cat confdefs.h >>conftest.$ac_ext
21592 cat >>conftest.$ac_ext <<_ACEOF
21593 /* end confdefs.h. */
21599 FILE *f=fopen("conftestval
", "w
");
21604 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21606 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21616 rm -f conftest$ac_exeext
21617 if { (ac_try="$ac_link"
21618 case "(($ac_try" in
21619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21620 *) ac_try_echo=$ac_try;;
21622 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21623 (eval "$ac_link") 2>&5
21625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21627 { (case "(($ac_try" in
21628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21629 *) ac_try_echo=$ac_try;;
21631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21632 (eval "$ac_try") 2>&5
21634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21635 (exit $ac_status); }; }; then
21636 wx_cv_gccversion=`cat conftestval`
21638 echo "$as_me: program exited with status
$ac_status" >&5
21639 echo "$as_me: failed program was
:" >&5
21640 sed 's/^/| /' conftest.$ac_ext >&5
21642 ( exit $ac_status )
21643 wx_cv_gccversion="EMX2
"
21645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21651 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
21652 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21653 if test "$wx_cv_gccversion" = "EMX2
"; then
21654 LIBS="$LIBS -lstdcpp"
21655 LDFLAGS="$LDFLAGS -Zsysv-signals"
21657 if test "$wx_cv_gccversion" = "EMX3
"; then
21658 LIBS="$LIBS -lstdcxx -lgcc"
21659 LDFLAGS="$LDFLAGS -Zsysv-signals"
21661 LIBS="$LIBS -lstdc++"
21664 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
21665 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
21666 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
21673 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
21674 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
21675 if test "${ac_cv_string_strcasecmp+set}" = set; then
21676 echo $ECHO_N "(cached
) $ECHO_C" >&6
21679 cat >conftest.$ac_ext <<_ACEOF
21682 cat confdefs.h >>conftest.$ac_ext
21683 cat >>conftest.$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21686 #include <string.h>
21692 strcasecmp("foo
", "bar
");
21698 rm -f conftest.$ac_objext conftest$ac_exeext
21699 if { (ac_try="$ac_link"
21700 case "(($ac_try" in
21701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21702 *) ac_try_echo=$ac_try;;
21704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21705 (eval "$ac_link") 2>conftest.er1
21707 grep -v '^ *+' conftest.er1 >conftest.err
21709 cat conftest.err >&5
21710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21711 (exit $ac_status); } && {
21712 test -z "$ac_c_werror_flag" ||
21713 test ! -s conftest.err
21714 } && test -s conftest$ac_exeext &&
21715 $as_test_x conftest$ac_exeext; then
21716 ac_cv_string_strcasecmp=yes
21718 echo "$as_me: failed program was
:" >&5
21719 sed 's/^/| /' conftest.$ac_ext >&5
21721 ac_cv_string_strcasecmp=no
21725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21726 conftest$ac_exeext conftest.$ac_ext
21729 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21730 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21732 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21733 cat >>confdefs.h <<\_ACEOF
21734 #define HAVE_STRCASECMP_IN_STRING_H 1
21738 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21739 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21740 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21741 echo $ECHO_N "(cached
) $ECHO_C" >&6
21744 cat >conftest.$ac_ext <<_ACEOF
21747 cat confdefs.h >>conftest.$ac_ext
21748 cat >>conftest.$ac_ext <<_ACEOF
21749 /* end confdefs.h. */
21751 #include <strings.h>
21757 strcasecmp("foo
", "bar
");
21763 rm -f conftest.$ac_objext conftest$ac_exeext
21764 if { (ac_try="$ac_link"
21765 case "(($ac_try" in
21766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21767 *) ac_try_echo=$ac_try;;
21769 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21770 (eval "$ac_link") 2>conftest.er1
21772 grep -v '^ *+' conftest.er1 >conftest.err
21774 cat conftest.err >&5
21775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21776 (exit $ac_status); } && {
21777 test -z "$ac_c_werror_flag" ||
21778 test ! -s conftest.err
21779 } && test -s conftest$ac_exeext &&
21780 $as_test_x conftest$ac_exeext; then
21781 ac_cv_strings_strcasecmp=yes
21783 echo "$as_me: failed program was
:" >&5
21784 sed 's/^/| /' conftest.$ac_ext >&5
21786 ac_cv_strings_strcasecmp=no
21790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21791 conftest$ac_exeext conftest.$ac_ext
21794 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21795 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21797 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21798 cat >>confdefs.h <<\_ACEOF
21799 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21803 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21804 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21805 { (exit 1); exit 1; }; }
21813 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21814 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21815 if test "${ac_cv_header_stdc+set}" = set; then
21816 echo $ECHO_N "(cached
) $ECHO_C" >&6
21818 cat >conftest.$ac_ext <<_ACEOF
21821 cat confdefs.h >>conftest.$ac_ext
21822 cat >>conftest.$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824 #include <stdlib.h>
21825 #include <stdarg.h>
21826 #include <string.h>
21837 rm -f conftest.$ac_objext
21838 if { (ac_try="$ac_compile"
21839 case "(($ac_try" in
21840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_compile") 2>conftest.er1
21846 grep -v '^ *+' conftest.er1 >conftest.err
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21850 (exit $ac_status); } && {
21851 test -z "$ac_c_werror_flag" ||
21852 test ! -s conftest.err
21853 } && test -s conftest.$ac_objext; then
21854 ac_cv_header_stdc=yes
21856 echo "$as_me: failed program was
:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21859 ac_cv_header_stdc=no
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21864 if test $ac_cv_header_stdc = yes; then
21865 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21866 cat >conftest.$ac_ext <<_ACEOF
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 #include <string.h>
21875 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21876 $EGREP "memchr
" >/dev/null 2>&1; then
21879 ac_cv_header_stdc=no
21885 if test $ac_cv_header_stdc = yes; then
21886 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21887 cat >conftest.$ac_ext <<_ACEOF
21890 cat confdefs.h >>conftest.$ac_ext
21891 cat >>conftest.$ac_ext <<_ACEOF
21892 /* end confdefs.h. */
21893 #include <stdlib.h>
21896 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21897 $EGREP "free
" >/dev/null 2>&1; then
21900 ac_cv_header_stdc=no
21906 if test $ac_cv_header_stdc = yes; then
21907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21908 if test "$cross_compiling" = yes; then
21911 cat >conftest.$ac_ext <<_ACEOF
21914 cat confdefs.h >>conftest.$ac_ext
21915 cat >>conftest.$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21918 #include <stdlib.h>
21919 #if ((' ' & 0x0FF) == 0x020)
21920 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21921 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21923 # define ISLOWER(c) \
21924 (('a' <= (c) && (c) <= 'i') \
21925 || ('j' <= (c) && (c) <= 'r') \
21926 || ('s' <= (c) && (c) <= 'z'))
21927 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21930 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21935 for (i = 0; i < 256; i++)
21936 if (XOR (islower (i), ISLOWER (i))
21937 || toupper (i) != TOUPPER (i))
21942 rm -f conftest$ac_exeext
21943 if { (ac_try="$ac_link"
21944 case "(($ac_try" in
21945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21946 *) ac_try_echo=$ac_try;;
21948 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21949 (eval "$ac_link") 2>&5
21951 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21952 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21953 { (case "(($ac_try" in
21954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21955 *) ac_try_echo=$ac_try;;
21957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21958 (eval "$ac_try") 2>&5
21960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21961 (exit $ac_status); }; }; then
21964 echo "$as_me: program exited with status
$ac_status" >&5
21965 echo "$as_me: failed program was
:" >&5
21966 sed 's/^/| /' conftest.$ac_ext >&5
21968 ( exit $ac_status )
21969 ac_cv_header_stdc=no
21971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21977 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21978 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21979 if test $ac_cv_header_stdc = yes; then
21981 cat >>confdefs.h <<\_ACEOF
21982 #define STDC_HEADERS 1
21987 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21997 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21998 inttypes.h stdint.h unistd.h
22000 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
22001 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
22002 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
22003 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22004 echo $ECHO_N "(cached
) $ECHO_C" >&6
22006 cat >conftest.$ac_ext <<_ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012 $ac_includes_default
22014 #include <$ac_header>
22016 rm -f conftest.$ac_objext
22017 if { (ac_try="$ac_compile"
22018 case "(($ac_try" in
22019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22020 *) ac_try_echo=$ac_try;;
22022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22023 (eval "$ac_compile") 2>conftest.er1
22025 grep -v '^ *+' conftest.er1 >conftest.err
22027 cat conftest.err >&5
22028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22029 (exit $ac_status); } && {
22030 test -z "$ac_c_werror_flag" ||
22031 test ! -s conftest.err
22032 } && test -s conftest.$ac_objext; then
22033 eval "$as_ac_Header=yes"
22035 echo "$as_me: failed program was
:" >&5
22036 sed 's/^/| /' conftest.$ac_ext >&5
22038 eval "$as_ac_Header=no
"
22041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22043 ac_res=`eval echo '${'$as_ac_Header'}'`
22044 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22045 echo "${ECHO_T}$ac_res" >&6; }
22046 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22047 cat >>confdefs.h <<_ACEOF
22048 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
22062 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
22064 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
22065 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
22066 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
22067 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22068 echo $ECHO_N "(cached
) $ECHO_C" >&6
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
22078 #include <$ac_header>
22080 rm -f conftest.$ac_objext
22081 if { (ac_try="$ac_compile"
22082 case "(($ac_try" in
22083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22084 *) ac_try_echo=$ac_try;;
22086 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_compile") 2>conftest.er1
22089 grep -v '^ *+' conftest.er1 >conftest.err
22091 cat conftest.err >&5
22092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22093 (exit $ac_status); } && {
22094 test -z "$ac_c_werror_flag" ||
22095 test ! -s conftest.err
22096 } && test -s conftest.$ac_objext; then
22097 eval "$as_ac_Header=yes"
22099 echo "$as_me: failed program was
:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22102 eval "$as_ac_Header=no
"
22105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22107 ac_res=`eval echo '${'$as_ac_Header'}'`
22108 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22109 echo "${ECHO_T}$ac_res" >&6; }
22110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22111 cat >>confdefs.h <<_ACEOF
22112 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
22120 if test "$ac_cv_header_wchar_h" != "yes"; then
22122 for ac_header in wcstr.h
22124 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
22125 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
22126 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
22127 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22128 echo $ECHO_N "(cached
) $ECHO_C" >&6
22130 cat >conftest.$ac_ext <<_ACEOF
22133 cat confdefs.h >>conftest.$ac_ext
22134 cat >>conftest.$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22136 $ac_includes_default
22138 #include <$ac_header>
22140 rm -f conftest.$ac_objext
22141 if { (ac_try="$ac_compile"
22142 case "(($ac_try" in
22143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22144 *) ac_try_echo=$ac_try;;
22146 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22147 (eval "$ac_compile") 2>conftest.er1
22149 grep -v '^ *+' conftest.er1 >conftest.err
22151 cat conftest.err >&5
22152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22153 (exit $ac_status); } && {
22154 test -z "$ac_c_werror_flag" ||
22155 test ! -s conftest.err
22156 } && test -s conftest.$ac_objext; then
22157 eval "$as_ac_Header=yes"
22159 echo "$as_me: failed program was
:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22162 eval "$as_ac_Header=no
"
22165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22167 ac_res=`eval echo '${'$as_ac_Header'}'`
22168 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22169 echo "${ECHO_T}$ac_res" >&6; }
22170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22171 cat >>confdefs.h <<_ACEOF
22172 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
22182 *-pc-os2_emx | *-pc-os2-emx )
22183 if test $ac_cv_header_langinfo_h = "yes" \
22184 -a \( "$wx_cv_gccversion" = "EMX2
" \
22185 -o "$wx_cv_gccversion" = "EMX3
" \
22186 -o "$wx_cv_gccversion" = "Innotek5
" \); then
22187 LIBS="$LIBS -lintl"
22192 if test "$USE_UNIX" = 1 ; then
22194 for ac_header in sys/select.h
22196 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
22197 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
22198 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
22199 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22200 echo $ECHO_N "(cached
) $ECHO_C" >&6
22202 cat >conftest.$ac_ext <<_ACEOF
22205 cat confdefs.h >>conftest.$ac_ext
22206 cat >>conftest.$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208 $ac_includes_default
22210 #include <$ac_header>
22212 rm -f conftest.$ac_objext
22213 if { (ac_try="$ac_compile"
22214 case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 *) ac_try_echo=$ac_try;;
22218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_compile") 2>conftest.er1
22221 grep -v '^ *+' conftest.er1 >conftest.err
22223 cat conftest.err >&5
22224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22225 (exit $ac_status); } && {
22226 test -z "$ac_c_werror_flag" ||
22227 test ! -s conftest.err
22228 } && test -s conftest.$ac_objext; then
22229 eval "$as_ac_Header=yes"
22231 echo "$as_me: failed program was
:" >&5
22232 sed 's/^/| /' conftest.$ac_ext >&5
22234 eval "$as_ac_Header=no
"
22237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22239 ac_res=`eval echo '${'$as_ac_Header'}'`
22240 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22241 echo "${ECHO_T}$ac_res" >&6; }
22242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22243 cat >>confdefs.h <<_ACEOF
22244 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
22254 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
22255 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
22256 if test "${ac_cv_c_const+set}" = set; then
22257 echo $ECHO_N "(cached
) $ECHO_C" >&6
22259 cat >conftest.$ac_ext <<_ACEOF
22262 cat confdefs.h >>conftest.$ac_ext
22263 cat >>conftest.$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22269 /* FIXME: Include the comments suggested by Paul. */
22270 #ifndef __cplusplus
22271 /* Ultrix mips cc rejects this. */
22272 typedef int charset[2];
22274 /* SunOS 4.1.1 cc rejects this. */
22275 char const *const *pcpcc;
22277 /* NEC SVR4.0.2 mips cc rejects this. */
22278 struct point {int x, y;};
22279 static struct point const zero = {0,0};
22280 /* AIX XL C 1.02.0.0 rejects this.
22281 It does not let you subtract one const X* pointer from another in
22282 an arm of an if-expression whose if-part is not a constant
22284 const char *g = "string
";
22285 pcpcc = &g + (g ? g-g : 0);
22286 /* HPUX 7.0 cc rejects these. */
22288 ppc = (char**) pcpcc;
22289 pcpcc = (char const *const *) ppc;
22290 { /* SCO 3.2v4 cc rejects this. */
22292 char const *s = 0 ? (char *) 0 : (char const *) 0;
22297 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
22298 int x[] = {25, 17};
22299 const int *foo = &x[0];
22302 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
22303 typedef const int *iptr;
22307 { /* AIX XL C 1.02.0.0 rejects this saying
22308 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
22309 struct s { int j; const int *ap[3]; };
22310 struct s *b; b->j = 5;
22312 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
22313 const int foo = 10;
22314 if (!foo) return 0;
22316 return !cs[0] && !zero.x;
22323 rm -f conftest.$ac_objext
22324 if { (ac_try="$ac_compile"
22325 case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_compile") 2>conftest.er1
22332 grep -v '^ *+' conftest.er1 >conftest.err
22334 cat conftest.err >&5
22335 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22336 (exit $ac_status); } && {
22337 test -z "$ac_c_werror_flag" ||
22338 test ! -s conftest.err
22339 } && test -s conftest.$ac_objext; then
22342 echo "$as_me: failed program was
:" >&5
22343 sed 's/^/| /' conftest.$ac_ext >&5
22348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22350 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
22351 echo "${ECHO_T}$ac_cv_c_const" >&6; }
22352 if test $ac_cv_c_const = no; then
22354 cat >>confdefs.h <<\_ACEOF
22360 { echo "$as_me:$LINENO: checking
for inline
" >&5
22361 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
22362 if test "${ac_cv_c_inline+set}" = set; then
22363 echo $ECHO_N "(cached
) $ECHO_C" >&6
22366 for ac_kw in inline __inline__ __inline; do
22367 cat >conftest.$ac_ext <<_ACEOF
22370 cat confdefs.h >>conftest.$ac_ext
22371 cat >>conftest.$ac_ext <<_ACEOF
22372 /* end confdefs.h. */
22373 #ifndef __cplusplus
22375 static $ac_kw foo_t static_foo () {return 0; }
22376 $ac_kw foo_t foo () {return 0; }
22380 rm -f conftest.$ac_objext
22381 if { (ac_try="$ac_compile"
22382 case "(($ac_try" in
22383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22384 *) ac_try_echo=$ac_try;;
22386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22387 (eval "$ac_compile") 2>conftest.er1
22389 grep -v '^ *+' conftest.er1 >conftest.err
22391 cat conftest.err >&5
22392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22393 (exit $ac_status); } && {
22394 test -z "$ac_c_werror_flag" ||
22395 test ! -s conftest.err
22396 } && test -s conftest.$ac_objext; then
22397 ac_cv_c_inline=$ac_kw
22399 echo "$as_me: failed program was
:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22406 test "$ac_cv_c_inline" != no && break
22410 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
22411 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
22414 case $ac_cv_c_inline in
22417 case $ac_cv_c_inline in
22419 *) ac_val=$ac_cv_c_inline;;
22421 cat >>confdefs.h <<_ACEOF
22422 #ifndef __cplusplus
22423 #define inline $ac_val
22430 { echo "$as_me:$LINENO: checking
for short
" >&5
22431 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
22432 if test "${ac_cv_type_short+set}" = set; then
22433 echo $ECHO_N "(cached
) $ECHO_C" >&6
22435 cat >conftest.$ac_ext <<_ACEOF
22438 cat confdefs.h >>conftest.$ac_ext
22439 cat >>conftest.$ac_ext <<_ACEOF
22440 /* end confdefs.h. */
22441 $ac_includes_default
22442 typedef short ac__type_new_;
22446 if ((ac__type_new_ *) 0)
22448 if (sizeof (ac__type_new_))
22454 rm -f conftest.$ac_objext
22455 if { (ac_try="$ac_compile"
22456 case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_compile") 2>conftest.er1
22463 grep -v '^ *+' conftest.er1 >conftest.err
22465 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22467 (exit $ac_status); } && {
22468 test -z "$ac_c_werror_flag" ||
22469 test ! -s conftest.err
22470 } && test -s conftest.$ac_objext; then
22471 ac_cv_type_short=yes
22473 echo "$as_me: failed program was
:" >&5
22474 sed 's/^/| /' conftest.$ac_ext >&5
22476 ac_cv_type_short=no
22479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22481 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
22482 echo "${ECHO_T}$ac_cv_type_short" >&6; }
22484 # The cast to long int works around a bug in the HP C Compiler
22485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22487 # This bug is HP SR number 8606223364.
22488 { echo "$as_me:$LINENO: checking size of short
" >&5
22489 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
22490 if test "${ac_cv_sizeof_short+set}" = set; then
22491 echo $ECHO_N "(cached
) $ECHO_C" >&6
22493 if test "$cross_compiling" = yes; then
22494 # Depending upon the size, compute the lo and hi bounds.
22495 cat >conftest.$ac_ext <<_ACEOF
22498 cat confdefs.h >>conftest.$ac_ext
22499 cat >>conftest.$ac_ext <<_ACEOF
22500 /* end confdefs.h. */
22501 $ac_includes_default
22502 typedef short ac__type_sizeof_;
22506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22513 rm -f conftest.$ac_objext
22514 if { (ac_try="$ac_compile"
22515 case "(($ac_try" in
22516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22517 *) ac_try_echo=$ac_try;;
22519 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22520 (eval "$ac_compile") 2>conftest.er1
22522 grep -v '^ *+' conftest.er1 >conftest.err
22524 cat conftest.err >&5
22525 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22526 (exit $ac_status); } && {
22527 test -z "$ac_c_werror_flag" ||
22528 test ! -s conftest.err
22529 } && test -s conftest.$ac_objext; then
22532 cat >conftest.$ac_ext <<_ACEOF
22535 cat confdefs.h >>conftest.$ac_ext
22536 cat >>conftest.$ac_ext <<_ACEOF
22537 /* end confdefs.h. */
22538 $ac_includes_default
22539 typedef short ac__type_sizeof_;
22543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22550 rm -f conftest.$ac_objext
22551 if { (ac_try="$ac_compile"
22552 case "(($ac_try" in
22553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22554 *) ac_try_echo=$ac_try;;
22556 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22557 (eval "$ac_compile") 2>conftest.er1
22559 grep -v '^ *+' conftest.er1 >conftest.err
22561 cat conftest.err >&5
22562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22563 (exit $ac_status); } && {
22564 test -z "$ac_c_werror_flag" ||
22565 test ! -s conftest.err
22566 } && test -s conftest.$ac_objext; then
22567 ac_hi=$ac_mid; break
22569 echo "$as_me: failed program was
:" >&5
22570 sed 's/^/| /' conftest.$ac_ext >&5
22572 ac_lo=`expr $ac_mid + 1`
22573 if test $ac_lo -le $ac_mid; then
22577 ac_mid=`expr 2 '*' $ac_mid + 1`
22580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22583 echo "$as_me: failed program was
:" >&5
22584 sed 's/^/| /' conftest.$ac_ext >&5
22586 cat >conftest.$ac_ext <<_ACEOF
22589 cat confdefs.h >>conftest.$ac_ext
22590 cat >>conftest.$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef short ac__type_sizeof_;
22597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22604 rm -f conftest.$ac_objext
22605 if { (ac_try="$ac_compile"
22606 case "(($ac_try" in
22607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_compile") 2>conftest.er1
22613 grep -v '^ *+' conftest.er1 >conftest.err
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22617 (exit $ac_status); } && {
22618 test -z "$ac_c_werror_flag" ||
22619 test ! -s conftest.err
22620 } && test -s conftest.$ac_objext; then
22623 cat >conftest.$ac_ext <<_ACEOF
22626 cat confdefs.h >>conftest.$ac_ext
22627 cat >>conftest.$ac_ext <<_ACEOF
22628 /* end confdefs.h. */
22629 $ac_includes_default
22630 typedef short ac__type_sizeof_;
22634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22641 rm -f conftest.$ac_objext
22642 if { (ac_try="$ac_compile"
22643 case "(($ac_try" in
22644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22645 *) ac_try_echo=$ac_try;;
22647 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22648 (eval "$ac_compile") 2>conftest.er1
22650 grep -v '^ *+' conftest.er1 >conftest.err
22652 cat conftest.err >&5
22653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22654 (exit $ac_status); } && {
22655 test -z "$ac_c_werror_flag" ||
22656 test ! -s conftest.err
22657 } && test -s conftest.$ac_objext; then
22658 ac_lo=$ac_mid; break
22660 echo "$as_me: failed program was
:" >&5
22661 sed 's/^/| /' conftest.$ac_ext >&5
22663 ac_hi=`expr '(' $ac_mid ')' - 1`
22664 if test $ac_mid -le $ac_hi; then
22668 ac_mid=`expr 2 '*' $ac_mid`
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22674 echo "$as_me: failed program was
:" >&5
22675 sed 's/^/| /' conftest.$ac_ext >&5
22680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22684 # Binary search between lo and hi bounds.
22685 while test "x
$ac_lo" != "x
$ac_hi"; do
22686 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22687 cat >conftest.$ac_ext <<_ACEOF
22690 cat confdefs.h >>conftest.$ac_ext
22691 cat >>conftest.$ac_ext <<_ACEOF
22692 /* end confdefs.h. */
22693 $ac_includes_default
22694 typedef short ac__type_sizeof_;
22698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22705 rm -f conftest.$ac_objext
22706 if { (ac_try="$ac_compile"
22707 case "(($ac_try" in
22708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22709 *) ac_try_echo=$ac_try;;
22711 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22712 (eval "$ac_compile") 2>conftest.er1
22714 grep -v '^ *+' conftest.er1 >conftest.err
22716 cat conftest.err >&5
22717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22718 (exit $ac_status); } && {
22719 test -z "$ac_c_werror_flag" ||
22720 test ! -s conftest.err
22721 } && test -s conftest.$ac_objext; then
22724 echo "$as_me: failed program was
:" >&5
22725 sed 's/^/| /' conftest.$ac_ext >&5
22727 ac_lo=`expr '(' $ac_mid ')' + 1`
22730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22733 ?*) ac_cv_sizeof_short=$ac_lo;;
22734 '') if test "$ac_cv_type_short" = yes; then
22735 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22736 See \
`config.log' for more details." >&5
22737 echo "$as_me: error: cannot compute sizeof (short)
22738 See \`config.log
' for more details." >&2;}
22739 { (exit 77); exit 77; }; }
22741 ac_cv_sizeof_short=0
22745 cat >conftest.$ac_ext <<_ACEOF
22748 cat confdefs.h >>conftest.$ac_ext
22749 cat >>conftest.$ac_ext <<_ACEOF
22750 /* end confdefs.h. */
22751 $ac_includes_default
22752 typedef short ac__type_sizeof_;
22753 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22754 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22756 #include <stdlib.h>
22761 FILE *f = fopen ("conftest.val", "w");
22764 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22766 long int i = longval ();
22767 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22769 fprintf (f, "%ld\n", i);
22773 unsigned long int i = ulongval ();
22774 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22776 fprintf (f, "%lu\n", i);
22778 return ferror (f) || fclose (f) != 0;
22784 rm -f conftest$ac_exeext
22785 if { (ac_try="$ac_link"
22786 case "(($ac_try" in
22787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22788 *) ac_try_echo=$ac_try;;
22790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22791 (eval "$ac_link") 2>&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22795 { (case "(($ac_try" in
22796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22797 *) ac_try_echo=$ac_try;;
22799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22800 (eval "$ac_try") 2>&5
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; }; then
22804 ac_cv_sizeof_short=`cat conftest.val`
22806 echo "$as_me: program exited with status $ac_status" >&5
22807 echo "$as_me: failed program was:" >&5
22808 sed 's
/^
/| /' conftest.$ac_ext >&5
22810 ( exit $ac_status )
22811 if test "$ac_cv_type_short" = yes; then
22812 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22813 See \`config.log' for more details.
" >&5
22814 echo "$as_me: error
: cannot compute sizeof
(short
)
22815 See \
`config.log' for more details." >&2;}
22816 { (exit 77); exit 77; }; }
22818 ac_cv_sizeof_short=0
22821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22825 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22826 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22830 cat >>confdefs.h <<_ACEOF
22831 #define SIZEOF_SHORT $ac_cv_sizeof_short
22835 { echo "$as_me:$LINENO: checking for void *" >&5
22836 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22837 if test "${ac_cv_type_void_p+set}" = set; then
22838 echo $ECHO_N "(cached) $ECHO_C" >&6
22840 cat >conftest.$ac_ext <<_ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22846 $ac_includes_default
22847 typedef void * ac__type_new_;
22851 if ((ac__type_new_ *) 0)
22853 if (sizeof (ac__type_new_))
22859 rm -f conftest.$ac_objext
22860 if { (ac_try="$ac_compile"
22861 case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22863 *) ac_try_echo
=$ac_try;;
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_compile") 2>conftest.er1
22868 grep -v '^ *+' conftest.er1
>conftest.err
22870 cat conftest.err
>&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } && {
22873 test -z "$ac_c_werror_flag" ||
22874 test ! -s conftest.err
22875 } && test -s conftest.
$ac_objext; then
22876 ac_cv_type_void_p
=yes
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.
$ac_ext >&5
22881 ac_cv_type_void_p
=no
22884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22886 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22887 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22889 # The cast to long int works around a bug in the HP C Compiler
22890 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22891 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22892 # This bug is HP SR number 8606223364.
22893 { echo "$as_me:$LINENO: checking size of void *" >&5
22894 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22895 if test "${ac_cv_sizeof_void_p+set}" = set; then
22896 echo $ECHO_N "(cached) $ECHO_C" >&6
22898 if test "$cross_compiling" = yes; then
22899 # Depending upon the size, compute the lo and hi bounds.
22900 cat >conftest.
$ac_ext <<_ACEOF
22903 cat confdefs.h
>>conftest.
$ac_ext
22904 cat >>conftest.
$ac_ext <<_ACEOF
22905 /* end confdefs.h. */
22906 $ac_includes_default
22907 typedef void * ac__type_sizeof_;
22911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22918 rm -f conftest.
$ac_objext
22919 if { (ac_try
="$ac_compile"
22920 case "(($ac_try" in
22921 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22922 *) ac_try_echo=$ac_try;;
22924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22925 (eval "$ac_compile") 2>conftest.er1
22927 grep -v '^ *+' conftest.er1 >conftest.err
22929 cat conftest.err >&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); } && {
22932 test -z "$ac_c_werror_flag" ||
22933 test ! -s conftest.err
22934 } && test -s conftest.$ac_objext; then
22937 cat >conftest.$ac_ext <<_ACEOF
22940 cat confdefs.h >>conftest.$ac_ext
22941 cat >>conftest.$ac_ext <<_ACEOF
22942 /* end confdefs.h. */
22943 $ac_includes_default
22944 typedef void * ac__type_sizeof_;
22948 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22955 rm -f conftest.$ac_objext
22956 if { (ac_try="$ac_compile"
22957 case "(($ac_try" in
22958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22959 *) ac_try_echo
=$ac_try;;
22961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22962 (eval "$ac_compile") 2>conftest.er1
22964 grep -v '^ *+' conftest.er1
>conftest.err
22966 cat conftest.err
>&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } && {
22969 test -z "$ac_c_werror_flag" ||
22970 test ! -s conftest.err
22971 } && test -s conftest.
$ac_objext; then
22972 ac_hi
=$ac_mid; break
22974 echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.
$ac_ext >&5
22977 ac_lo
=`expr $ac_mid + 1`
22978 if test $ac_lo -le $ac_mid; then
22982 ac_mid
=`expr 2 '*' $ac_mid + 1`
22985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.
$ac_ext >&5
22991 cat >conftest.
$ac_ext <<_ACEOF
22994 cat confdefs.h
>>conftest.
$ac_ext
22995 cat >>conftest.
$ac_ext <<_ACEOF
22996 /* end confdefs.h. */
22997 $ac_includes_default
22998 typedef void * ac__type_sizeof_;
23002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23009 rm -f conftest.
$ac_objext
23010 if { (ac_try
="$ac_compile"
23011 case "(($ac_try" in
23012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23013 *) ac_try_echo=$ac_try;;
23015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23016 (eval "$ac_compile") 2>conftest.er1
23018 grep -v '^ *+' conftest.er1 >conftest.err
23020 cat conftest.err >&5
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); } && {
23023 test -z "$ac_c_werror_flag" ||
23024 test ! -s conftest.err
23025 } && test -s conftest.$ac_objext; then
23028 cat >conftest.$ac_ext <<_ACEOF
23031 cat confdefs.h >>conftest.$ac_ext
23032 cat >>conftest.$ac_ext <<_ACEOF
23033 /* end confdefs.h. */
23034 $ac_includes_default
23035 typedef void * ac__type_sizeof_;
23039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23046 rm -f conftest.$ac_objext
23047 if { (ac_try="$ac_compile"
23048 case "(($ac_try" in
23049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23050 *) ac_try_echo
=$ac_try;;
23052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23053 (eval "$ac_compile") 2>conftest.er1
23055 grep -v '^ *+' conftest.er1
>conftest.err
23057 cat conftest.err
>&5
23058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23059 (exit $ac_status); } && {
23060 test -z "$ac_c_werror_flag" ||
23061 test ! -s conftest.err
23062 } && test -s conftest.
$ac_objext; then
23063 ac_lo
=$ac_mid; break
23065 echo "$as_me: failed program was:" >&5
23066 sed 's/^/| /' conftest.
$ac_ext >&5
23068 ac_hi
=`expr '(' $ac_mid ')' - 1`
23069 if test $ac_mid -le $ac_hi; then
23073 ac_mid
=`expr 2 '*' $ac_mid`
23076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23079 echo "$as_me: failed program was:" >&5
23080 sed 's/^/| /' conftest.
$ac_ext >&5
23085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23089 # Binary search between lo and hi bounds.
23090 while test "x$ac_lo" != "x$ac_hi"; do
23091 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23092 cat >conftest.
$ac_ext <<_ACEOF
23095 cat confdefs.h
>>conftest.
$ac_ext
23096 cat >>conftest.
$ac_ext <<_ACEOF
23097 /* end confdefs.h. */
23098 $ac_includes_default
23099 typedef void * ac__type_sizeof_;
23103 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23110 rm -f conftest.
$ac_objext
23111 if { (ac_try
="$ac_compile"
23112 case "(($ac_try" in
23113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23114 *) ac_try_echo=$ac_try;;
23116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23117 (eval "$ac_compile") 2>conftest.er1
23119 grep -v '^ *+' conftest.er1 >conftest.err
23121 cat conftest.err >&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); } && {
23124 test -z "$ac_c_werror_flag" ||
23125 test ! -s conftest.err
23126 } && test -s conftest.$ac_objext; then
23129 echo "$as_me: failed program was:" >&5
23130 sed 's/^/| /' conftest.$ac_ext >&5
23132 ac_lo=`expr '(' $ac_mid ')' + 1`
23135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23138 ?*) ac_cv_sizeof_void_p=$ac_lo;;
23139 '') if test "$ac_cv_type_void_p" = yes; then
23140 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
23141 See \`config.log
' for more details." >&5
23142 echo "$as_me: error: cannot compute sizeof (void *)
23143 See \`config.log' for more details.
" >&2;}
23144 { (exit 77); exit 77; }; }
23146 ac_cv_sizeof_void_p=0
23150 cat >conftest.$ac_ext <<_ACEOF
23153 cat confdefs.h >>conftest.$ac_ext
23154 cat >>conftest.$ac_ext <<_ACEOF
23155 /* end confdefs.h. */
23156 $ac_includes_default
23157 typedef void * ac__type_sizeof_;
23158 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23159 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23161 #include <stdlib.h>
23166 FILE *f = fopen ("conftest.val
", "w
");
23169 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23171 long int i = longval ();
23172 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23174 fprintf (f, "%ld
\n", i);
23178 unsigned long int i = ulongval ();
23179 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23181 fprintf (f, "%lu
\n", i);
23183 return ferror (f) || fclose (f) != 0;
23189 rm -f conftest$ac_exeext
23190 if { (ac_try="$ac_link"
23191 case "(($ac_try" in
23192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23193 *) ac_try_echo=$ac_try;;
23195 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23196 (eval "$ac_link") 2>&5
23198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23199 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23200 { (case "(($ac_try" in
23201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23202 *) ac_try_echo=$ac_try;;
23204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23205 (eval "$ac_try") 2>&5
23207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23208 (exit $ac_status); }; }; then
23209 ac_cv_sizeof_void_p=`cat conftest.val`
23211 echo "$as_me: program exited with status
$ac_status" >&5
23212 echo "$as_me: failed program was
:" >&5
23213 sed 's/^/| /' conftest.$ac_ext >&5
23215 ( exit $ac_status )
23216 if test "$ac_cv_type_void_p" = yes; then
23217 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
23218 See \
`config.log' for more details." >&5
23219 echo "$as_me: error: cannot compute sizeof (void *)
23220 See \`config.log
' for more details." >&2;}
23221 { (exit 77); exit 77; }; }
23223 ac_cv_sizeof_void_p=0
23226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23230 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
23231 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
23235 cat >>confdefs.h <<_ACEOF
23236 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
23240 { echo "$as_me:$LINENO: checking for int" >&5
23241 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
23242 if test "${ac_cv_type_int+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23245 cat >conftest.$ac_ext <<_ACEOF
23248 cat confdefs.h >>conftest.$ac_ext
23249 cat >>conftest.$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23251 $ac_includes_default
23252 typedef int ac__type_new_;
23256 if ((ac__type_new_ *) 0)
23258 if (sizeof (ac__type_new_))
23264 rm -f conftest.$ac_objext
23265 if { (ac_try="$ac_compile"
23266 case "(($ac_try" in
23267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23268 *) ac_try_echo=$ac_try;;
23270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23271 (eval "$ac_compile") 2>conftest.er1
23273 grep -v '^
*+' conftest.er1 >conftest.err
23275 cat conftest.err >&5
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); } && {
23278 test -z "$ac_c_werror_flag" ||
23279 test ! -s conftest.err
23280 } && test -s conftest.$ac_objext; then
23283 echo "$as_me: failed program was:" >&5
23284 sed 's
/^
/| /' conftest.$ac_ext >&5
23289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23291 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
23292 echo "${ECHO_T}$ac_cv_type_int" >&6; }
23294 # The cast to long int works around a bug in the HP C Compiler
23295 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23296 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23297 # This bug is HP SR number 8606223364.
23298 { echo "$as_me:$LINENO: checking size of int" >&5
23299 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
23300 if test "${ac_cv_sizeof_int+set}" = set; then
23301 echo $ECHO_N "(cached) $ECHO_C" >&6
23303 if test "$cross_compiling" = yes; then
23304 # Depending upon the size, compute the lo and hi bounds.
23305 cat >conftest.
$ac_ext <<_ACEOF
23308 cat confdefs.h
>>conftest.
$ac_ext
23309 cat >>conftest.
$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23311 $ac_includes_default
23312 typedef int ac__type_sizeof_;
23316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23323 rm -f conftest.
$ac_objext
23324 if { (ac_try
="$ac_compile"
23325 case "(($ac_try" in
23326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23327 *) ac_try_echo=$ac_try;;
23329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23330 (eval "$ac_compile") 2>conftest.er1
23332 grep -v '^ *+' conftest.er1 >conftest.err
23334 cat conftest.err >&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); } && {
23337 test -z "$ac_c_werror_flag" ||
23338 test ! -s conftest.err
23339 } && test -s conftest.$ac_objext; then
23342 cat >conftest.$ac_ext <<_ACEOF
23345 cat confdefs.h >>conftest.$ac_ext
23346 cat >>conftest.$ac_ext <<_ACEOF
23347 /* end confdefs.h. */
23348 $ac_includes_default
23349 typedef int ac__type_sizeof_;
23353 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23360 rm -f conftest.$ac_objext
23361 if { (ac_try="$ac_compile"
23362 case "(($ac_try" in
23363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23364 *) ac_try_echo
=$ac_try;;
23366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23367 (eval "$ac_compile") 2>conftest.er1
23369 grep -v '^ *+' conftest.er1
>conftest.err
23371 cat conftest.err
>&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); } && {
23374 test -z "$ac_c_werror_flag" ||
23375 test ! -s conftest.err
23376 } && test -s conftest.
$ac_objext; then
23377 ac_hi
=$ac_mid; break
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.
$ac_ext >&5
23382 ac_lo
=`expr $ac_mid + 1`
23383 if test $ac_lo -le $ac_mid; then
23387 ac_mid
=`expr 2 '*' $ac_mid + 1`
23390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23393 echo "$as_me: failed program was:" >&5
23394 sed 's/^/| /' conftest.
$ac_ext >&5
23396 cat >conftest.
$ac_ext <<_ACEOF
23399 cat confdefs.h
>>conftest.
$ac_ext
23400 cat >>conftest.
$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23402 $ac_includes_default
23403 typedef int ac__type_sizeof_;
23407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23414 rm -f conftest.
$ac_objext
23415 if { (ac_try
="$ac_compile"
23416 case "(($ac_try" in
23417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23418 *) ac_try_echo=$ac_try;;
23420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23421 (eval "$ac_compile") 2>conftest.er1
23423 grep -v '^ *+' conftest.er1 >conftest.err
23425 cat conftest.err >&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } && {
23428 test -z "$ac_c_werror_flag" ||
23429 test ! -s conftest.err
23430 } && test -s conftest.$ac_objext; then
23433 cat >conftest.$ac_ext <<_ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 $ac_includes_default
23440 typedef int ac__type_sizeof_;
23444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23455 *) ac_try_echo
=$ac_try;;
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23460 grep -v '^ *+' conftest.er1
>conftest.err
23462 cat conftest.err
>&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.
$ac_objext; then
23468 ac_lo
=$ac_mid; break
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.
$ac_ext >&5
23473 ac_hi
=`expr '(' $ac_mid ')' - 1`
23474 if test $ac_mid -le $ac_hi; then
23478 ac_mid
=`expr 2 '*' $ac_mid`
23481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.
$ac_ext >&5
23490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23494 # Binary search between lo and hi bounds.
23495 while test "x$ac_lo" != "x$ac_hi"; do
23496 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23497 cat >conftest.
$ac_ext <<_ACEOF
23500 cat confdefs.h
>>conftest.
$ac_ext
23501 cat >>conftest.
$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 $ac_includes_default
23504 typedef int ac__type_sizeof_;
23508 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23515 rm -f conftest.
$ac_objext
23516 if { (ac_try
="$ac_compile"
23517 case "(($ac_try" in
23518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_compile") 2>conftest.er1
23524 grep -v '^ *+' conftest.er1 >conftest.err
23526 cat conftest.err >&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } && {
23529 test -z "$ac_c_werror_flag" ||
23530 test ! -s conftest.err
23531 } && test -s conftest.$ac_objext; then
23534 echo "$as_me: failed program was:" >&5
23535 sed 's/^/| /' conftest.$ac_ext >&5
23537 ac_lo=`expr '(' $ac_mid ')' + 1`
23540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23543 ?*) ac_cv_sizeof_int=$ac_lo;;
23544 '') if test "$ac_cv_type_int" = yes; then
23545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23546 See \`config.log
' for more details." >&5
23547 echo "$as_me: error: cannot compute sizeof (int)
23548 See \`config.log' for more details.
" >&2;}
23549 { (exit 77); exit 77; }; }
23555 cat >conftest.$ac_ext <<_ACEOF
23558 cat confdefs.h >>conftest.$ac_ext
23559 cat >>conftest.$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23561 $ac_includes_default
23562 typedef int ac__type_sizeof_;
23563 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23564 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23566 #include <stdlib.h>
23571 FILE *f = fopen ("conftest.val
", "w
");
23574 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23576 long int i = longval ();
23577 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23579 fprintf (f, "%ld
\n", i);
23583 unsigned long int i = ulongval ();
23584 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23586 fprintf (f, "%lu
\n", i);
23588 return ferror (f) || fclose (f) != 0;
23594 rm -f conftest$ac_exeext
23595 if { (ac_try="$ac_link"
23596 case "(($ac_try" in
23597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23598 *) ac_try_echo=$ac_try;;
23600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23601 (eval "$ac_link") 2>&5
23603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23605 { (case "(($ac_try" in
23606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23607 *) ac_try_echo=$ac_try;;
23609 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23610 (eval "$ac_try") 2>&5
23612 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23613 (exit $ac_status); }; }; then
23614 ac_cv_sizeof_int=`cat conftest.val`
23616 echo "$as_me: program exited with status
$ac_status" >&5
23617 echo "$as_me: failed program was
:" >&5
23618 sed 's/^/| /' conftest.$ac_ext >&5
23620 ( exit $ac_status )
23621 if test "$ac_cv_type_int" = yes; then
23622 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
23623 See \
`config.log' for more details." >&5
23624 echo "$as_me: error: cannot compute sizeof (int)
23625 See \`config.log
' for more details." >&2;}
23626 { (exit 77); exit 77; }; }
23631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23635 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23636 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23640 cat >>confdefs.h <<_ACEOF
23641 #define SIZEOF_INT $ac_cv_sizeof_int
23645 { echo "$as_me:$LINENO: checking for long" >&5
23646 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23647 if test "${ac_cv_type_long+set}" = set; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23650 cat >conftest.$ac_ext <<_ACEOF
23653 cat confdefs.h >>conftest.$ac_ext
23654 cat >>conftest.$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23656 $ac_includes_default
23657 typedef long ac__type_new_;
23661 if ((ac__type_new_ *) 0)
23663 if (sizeof (ac__type_new_))
23669 rm -f conftest.$ac_objext
23670 if { (ac_try="$ac_compile"
23671 case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_compile") 2>conftest.er1
23678 grep -v '^
*+' conftest.er1 >conftest.err
23680 cat conftest.err >&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); } && {
23683 test -z "$ac_c_werror_flag" ||
23684 test ! -s conftest.err
23685 } && test -s conftest.$ac_objext; then
23686 ac_cv_type_long=yes
23688 echo "$as_me: failed program was:" >&5
23689 sed 's
/^
/| /' conftest.$ac_ext >&5
23694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23696 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23697 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23699 # The cast to long int works around a bug in the HP C Compiler
23700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23702 # This bug is HP SR number 8606223364.
23703 { echo "$as_me:$LINENO: checking size of long" >&5
23704 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23705 if test "${ac_cv_sizeof_long+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23708 if test "$cross_compiling" = yes; then
23709 # Depending upon the size, compute the lo and hi bounds.
23710 cat >conftest.
$ac_ext <<_ACEOF
23713 cat confdefs.h
>>conftest.
$ac_ext
23714 cat >>conftest.
$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23716 $ac_includes_default
23717 typedef long ac__type_sizeof_;
23721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23728 rm -f conftest.
$ac_objext
23729 if { (ac_try
="$ac_compile"
23730 case "(($ac_try" in
23731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23732 *) ac_try_echo=$ac_try;;
23734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23735 (eval "$ac_compile") 2>conftest.er1
23737 grep -v '^ *+' conftest.er1 >conftest.err
23739 cat conftest.err >&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); } && {
23742 test -z "$ac_c_werror_flag" ||
23743 test ! -s conftest.err
23744 } && test -s conftest.$ac_objext; then
23747 cat >conftest.$ac_ext <<_ACEOF
23750 cat confdefs.h >>conftest.$ac_ext
23751 cat >>conftest.$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23753 $ac_includes_default
23754 typedef long ac__type_sizeof_;
23758 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23765 rm -f conftest.$ac_objext
23766 if { (ac_try="$ac_compile"
23767 case "(($ac_try" in
23768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23769 *) ac_try_echo
=$ac_try;;
23771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23772 (eval "$ac_compile") 2>conftest.er1
23774 grep -v '^ *+' conftest.er1
>conftest.err
23776 cat conftest.err
>&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } && {
23779 test -z "$ac_c_werror_flag" ||
23780 test ! -s conftest.err
23781 } && test -s conftest.
$ac_objext; then
23782 ac_hi
=$ac_mid; break
23784 echo "$as_me: failed program was:" >&5
23785 sed 's/^/| /' conftest.
$ac_ext >&5
23787 ac_lo
=`expr $ac_mid + 1`
23788 if test $ac_lo -le $ac_mid; then
23792 ac_mid
=`expr 2 '*' $ac_mid + 1`
23795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23798 echo "$as_me: failed program was:" >&5
23799 sed 's/^/| /' conftest.
$ac_ext >&5
23801 cat >conftest.
$ac_ext <<_ACEOF
23804 cat confdefs.h
>>conftest.
$ac_ext
23805 cat >>conftest.
$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 $ac_includes_default
23808 typedef long ac__type_sizeof_;
23812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23819 rm -f conftest.
$ac_objext
23820 if { (ac_try
="$ac_compile"
23821 case "(($ac_try" in
23822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23823 *) ac_try_echo=$ac_try;;
23825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23826 (eval "$ac_compile") 2>conftest.er1
23828 grep -v '^ *+' conftest.er1 >conftest.err
23830 cat conftest.err >&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } && {
23833 test -z "$ac_c_werror_flag" ||
23834 test ! -s conftest.err
23835 } && test -s conftest.$ac_objext; then
23838 cat >conftest.$ac_ext <<_ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23844 $ac_includes_default
23845 typedef long ac__type_sizeof_;
23849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23856 rm -f conftest.$ac_objext
23857 if { (ac_try="$ac_compile"
23858 case "(($ac_try" in
23859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23860 *) ac_try_echo
=$ac_try;;
23862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23863 (eval "$ac_compile") 2>conftest.er1
23865 grep -v '^ *+' conftest.er1
>conftest.err
23867 cat conftest.err
>&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); } && {
23870 test -z "$ac_c_werror_flag" ||
23871 test ! -s conftest.err
23872 } && test -s conftest.
$ac_objext; then
23873 ac_lo
=$ac_mid; break
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.
$ac_ext >&5
23878 ac_hi
=`expr '(' $ac_mid ')' - 1`
23879 if test $ac_mid -le $ac_hi; then
23883 ac_mid
=`expr 2 '*' $ac_mid`
23886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.
$ac_ext >&5
23895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23899 # Binary search between lo and hi bounds.
23900 while test "x$ac_lo" != "x$ac_hi"; do
23901 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23902 cat >conftest.
$ac_ext <<_ACEOF
23905 cat confdefs.h
>>conftest.
$ac_ext
23906 cat >>conftest.
$ac_ext <<_ACEOF
23907 /* end confdefs.h. */
23908 $ac_includes_default
23909 typedef long ac__type_sizeof_;
23913 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23920 rm -f conftest.
$ac_objext
23921 if { (ac_try
="$ac_compile"
23922 case "(($ac_try" in
23923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23924 *) ac_try_echo=$ac_try;;
23926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23927 (eval "$ac_compile") 2>conftest.er1
23929 grep -v '^ *+' conftest.er1 >conftest.err
23931 cat conftest.err >&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } && {
23934 test -z "$ac_c_werror_flag" ||
23935 test ! -s conftest.err
23936 } && test -s conftest.$ac_objext; then
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23942 ac_lo=`expr '(' $ac_mid ')' + 1`
23945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23948 ?*) ac_cv_sizeof_long=$ac_lo;;
23949 '') if test "$ac_cv_type_long" = yes; then
23950 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23951 See \`config.log
' for more details." >&5
23952 echo "$as_me: error: cannot compute sizeof (long)
23953 See \`config.log' for more details.
" >&2;}
23954 { (exit 77); exit 77; }; }
23956 ac_cv_sizeof_long=0
23960 cat >conftest.$ac_ext <<_ACEOF
23963 cat confdefs.h >>conftest.$ac_ext
23964 cat >>conftest.$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23966 $ac_includes_default
23967 typedef long ac__type_sizeof_;
23968 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23969 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23971 #include <stdlib.h>
23976 FILE *f = fopen ("conftest.val
", "w
");
23979 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23981 long int i = longval ();
23982 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23984 fprintf (f, "%ld
\n", i);
23988 unsigned long int i = ulongval ();
23989 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23991 fprintf (f, "%lu
\n", i);
23993 return ferror (f) || fclose (f) != 0;
23999 rm -f conftest$ac_exeext
24000 if { (ac_try="$ac_link"
24001 case "(($ac_try" in
24002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24003 *) ac_try_echo=$ac_try;;
24005 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24006 (eval "$ac_link") 2>&5
24008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24009 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24010 { (case "(($ac_try" in
24011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012 *) ac_try_echo=$ac_try;;
24014 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24015 (eval "$ac_try") 2>&5
24017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24018 (exit $ac_status); }; }; then
24019 ac_cv_sizeof_long=`cat conftest.val`
24021 echo "$as_me: program exited with status
$ac_status" >&5
24022 echo "$as_me: failed program was
:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24025 ( exit $ac_status )
24026 if test "$ac_cv_type_long" = yes; then
24027 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
24028 See \
`config.log' for more details." >&5
24029 echo "$as_me: error: cannot compute sizeof (long)
24030 See \`config.log
' for more details." >&2;}
24031 { (exit 77); exit 77; }; }
24033 ac_cv_sizeof_long=0
24036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24040 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
24041 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
24045 cat >>confdefs.h <<_ACEOF
24046 #define SIZEOF_LONG $ac_cv_sizeof_long
24050 { echo "$as_me:$LINENO: checking for size_t" >&5
24051 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
24052 if test "${ac_cv_type_size_t+set}" = set; then
24053 echo $ECHO_N "(cached) $ECHO_C" >&6
24055 cat >conftest.$ac_ext <<_ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24061 $ac_includes_default
24062 typedef size_t ac__type_new_;
24066 if ((ac__type_new_ *) 0)
24068 if (sizeof (ac__type_new_))
24074 rm -f conftest.$ac_objext
24075 if { (ac_try="$ac_compile"
24076 case "(($ac_try" in
24077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24078 *) ac_try_echo=$ac_try;;
24080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24081 (eval "$ac_compile") 2>conftest.er1
24083 grep -v '^
*+' conftest.er1 >conftest.err
24085 cat conftest.err >&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); } && {
24088 test -z "$ac_c_werror_flag" ||
24089 test ! -s conftest.err
24090 } && test -s conftest.$ac_objext; then
24091 ac_cv_type_size_t=yes
24093 echo "$as_me: failed program was:" >&5
24094 sed 's
/^
/| /' conftest.$ac_ext >&5
24096 ac_cv_type_size_t=no
24099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
24102 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
24104 # The cast to long int works around a bug in the HP C Compiler
24105 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24106 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24107 # This bug is HP SR number 8606223364.
24108 { echo "$as_me:$LINENO: checking size of size_t" >&5
24109 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
24110 if test "${ac_cv_sizeof_size_t+set}" = set; then
24111 echo $ECHO_N "(cached) $ECHO_C" >&6
24113 if test "$cross_compiling" = yes; then
24114 # Depending upon the size, compute the lo and hi bounds.
24115 cat >conftest.
$ac_ext <<_ACEOF
24118 cat confdefs.h
>>conftest.
$ac_ext
24119 cat >>conftest.
$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24121 $ac_includes_default
24122 typedef size_t ac__type_sizeof_;
24126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24133 rm -f conftest.
$ac_objext
24134 if { (ac_try
="$ac_compile"
24135 case "(($ac_try" in
24136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24137 *) ac_try_echo=$ac_try;;
24139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24140 (eval "$ac_compile") 2>conftest.er1
24142 grep -v '^ *+' conftest.er1 >conftest.err
24144 cat conftest.err >&5
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); } && {
24147 test -z "$ac_c_werror_flag" ||
24148 test ! -s conftest.err
24149 } && test -s conftest.$ac_objext; then
24152 cat >conftest.$ac_ext <<_ACEOF
24155 cat confdefs.h >>conftest.$ac_ext
24156 cat >>conftest.$ac_ext <<_ACEOF
24157 /* end confdefs.h. */
24158 $ac_includes_default
24159 typedef size_t ac__type_sizeof_;
24163 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24170 rm -f conftest.$ac_objext
24171 if { (ac_try="$ac_compile"
24172 case "(($ac_try" in
24173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24174 *) ac_try_echo
=$ac_try;;
24176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24177 (eval "$ac_compile") 2>conftest.er1
24179 grep -v '^ *+' conftest.er1
>conftest.err
24181 cat conftest.err
>&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); } && {
24184 test -z "$ac_c_werror_flag" ||
24185 test ! -s conftest.err
24186 } && test -s conftest.
$ac_objext; then
24187 ac_hi
=$ac_mid; break
24189 echo "$as_me: failed program was:" >&5
24190 sed 's/^/| /' conftest.
$ac_ext >&5
24192 ac_lo
=`expr $ac_mid + 1`
24193 if test $ac_lo -le $ac_mid; then
24197 ac_mid
=`expr 2 '*' $ac_mid + 1`
24200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24203 echo "$as_me: failed program was:" >&5
24204 sed 's/^/| /' conftest.
$ac_ext >&5
24206 cat >conftest.
$ac_ext <<_ACEOF
24209 cat confdefs.h
>>conftest.
$ac_ext
24210 cat >>conftest.
$ac_ext <<_ACEOF
24211 /* end confdefs.h. */
24212 $ac_includes_default
24213 typedef size_t ac__type_sizeof_;
24217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24224 rm -f conftest.
$ac_objext
24225 if { (ac_try
="$ac_compile"
24226 case "(($ac_try" in
24227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24228 *) ac_try_echo=$ac_try;;
24230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24231 (eval "$ac_compile") 2>conftest.er1
24233 grep -v '^ *+' conftest.er1 >conftest.err
24235 cat conftest.err >&5
24236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237 (exit $ac_status); } && {
24238 test -z "$ac_c_werror_flag" ||
24239 test ! -s conftest.err
24240 } && test -s conftest.$ac_objext; then
24243 cat >conftest.$ac_ext <<_ACEOF
24246 cat confdefs.h >>conftest.$ac_ext
24247 cat >>conftest.$ac_ext <<_ACEOF
24248 /* end confdefs.h. */
24249 $ac_includes_default
24250 typedef size_t ac__type_sizeof_;
24254 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24261 rm -f conftest.$ac_objext
24262 if { (ac_try="$ac_compile"
24263 case "(($ac_try" in
24264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24265 *) ac_try_echo
=$ac_try;;
24267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24268 (eval "$ac_compile") 2>conftest.er1
24270 grep -v '^ *+' conftest.er1
>conftest.err
24272 cat conftest.err
>&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } && {
24275 test -z "$ac_c_werror_flag" ||
24276 test ! -s conftest.err
24277 } && test -s conftest.
$ac_objext; then
24278 ac_lo
=$ac_mid; break
24280 echo "$as_me: failed program was:" >&5
24281 sed 's/^/| /' conftest.
$ac_ext >&5
24283 ac_hi
=`expr '(' $ac_mid ')' - 1`
24284 if test $ac_mid -le $ac_hi; then
24288 ac_mid
=`expr 2 '*' $ac_mid`
24291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24294 echo "$as_me: failed program was:" >&5
24295 sed 's/^/| /' conftest.
$ac_ext >&5
24300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24304 # Binary search between lo and hi bounds.
24305 while test "x$ac_lo" != "x$ac_hi"; do
24306 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24307 cat >conftest.
$ac_ext <<_ACEOF
24310 cat confdefs.h
>>conftest.
$ac_ext
24311 cat >>conftest.
$ac_ext <<_ACEOF
24312 /* end confdefs.h. */
24313 $ac_includes_default
24314 typedef size_t ac__type_sizeof_;
24318 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24325 rm -f conftest.
$ac_objext
24326 if { (ac_try
="$ac_compile"
24327 case "(($ac_try" in
24328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24329 *) ac_try_echo=$ac_try;;
24331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24332 (eval "$ac_compile") 2>conftest.er1
24334 grep -v '^ *+' conftest.er1 >conftest.err
24336 cat conftest.err >&5
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); } && {
24339 test -z "$ac_c_werror_flag" ||
24340 test ! -s conftest.err
24341 } && test -s conftest.$ac_objext; then
24344 echo "$as_me: failed program was:" >&5
24345 sed 's/^/| /' conftest.$ac_ext >&5
24347 ac_lo=`expr '(' $ac_mid ')' + 1`
24350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353 ?*) ac_cv_sizeof_size_t=$ac_lo;;
24354 '') if test "$ac_cv_type_size_t" = yes; then
24355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
24356 See \`config.log
' for more details." >&5
24357 echo "$as_me: error: cannot compute sizeof (size_t)
24358 See \`config.log' for more details.
" >&2;}
24359 { (exit 77); exit 77; }; }
24361 ac_cv_sizeof_size_t=0
24365 cat >conftest.$ac_ext <<_ACEOF
24368 cat confdefs.h >>conftest.$ac_ext
24369 cat >>conftest.$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24371 $ac_includes_default
24372 typedef size_t ac__type_sizeof_;
24373 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24374 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24376 #include <stdlib.h>
24381 FILE *f = fopen ("conftest.val
", "w
");
24384 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24386 long int i = longval ();
24387 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24389 fprintf (f, "%ld
\n", i);
24393 unsigned long int i = ulongval ();
24394 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24396 fprintf (f, "%lu
\n", i);
24398 return ferror (f) || fclose (f) != 0;
24404 rm -f conftest$ac_exeext
24405 if { (ac_try="$ac_link"
24406 case "(($ac_try" in
24407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24408 *) ac_try_echo=$ac_try;;
24410 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24411 (eval "$ac_link") 2>&5
24413 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24414 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24415 { (case "(($ac_try" in
24416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24417 *) ac_try_echo=$ac_try;;
24419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24420 (eval "$ac_try") 2>&5
24422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24423 (exit $ac_status); }; }; then
24424 ac_cv_sizeof_size_t=`cat conftest.val`
24426 echo "$as_me: program exited with status
$ac_status" >&5
24427 echo "$as_me: failed program was
:" >&5
24428 sed 's/^/| /' conftest.$ac_ext >&5
24430 ( exit $ac_status )
24431 if test "$ac_cv_type_size_t" = yes; then
24432 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
24433 See \
`config.log' for more details." >&5
24434 echo "$as_me: error: cannot compute sizeof (size_t)
24435 See \`config.log
' for more details." >&2;}
24436 { (exit 77); exit 77; }; }
24438 ac_cv_sizeof_size_t=0
24441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24445 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
24446 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
24450 cat >>confdefs.h <<_ACEOF
24451 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
24458 { echo "$as_me:$LINENO: checking for long long" >&5
24459 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24460 if test "${ac_cv_type_long_long+set}" = set; then
24461 echo $ECHO_N "(cached) $ECHO_C" >&6
24463 cat >conftest.$ac_ext <<_ACEOF
24466 cat confdefs.h >>conftest.$ac_ext
24467 cat >>conftest.$ac_ext <<_ACEOF
24468 /* end confdefs.h. */
24469 $ac_includes_default
24470 typedef long long ac__type_new_;
24474 if ((ac__type_new_ *) 0)
24476 if (sizeof (ac__type_new_))
24482 rm -f conftest.$ac_objext
24483 if { (ac_try="$ac_compile"
24484 case "(($ac_try" in
24485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24486 *) ac_try_echo=$ac_try;;
24488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24489 (eval "$ac_compile") 2>conftest.er1
24491 grep -v '^
*+' conftest.er1 >conftest.err
24493 cat conftest.err >&5
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } && {
24496 test -z "$ac_c_werror_flag" ||
24497 test ! -s conftest.err
24498 } && test -s conftest.$ac_objext; then
24499 ac_cv_type_long_long=yes
24501 echo "$as_me: failed program was:" >&5
24502 sed 's
/^
/| /' conftest.$ac_ext >&5
24504 ac_cv_type_long_long=no
24507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24509 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24510 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24512 # The cast to long int works around a bug in the HP C Compiler
24513 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24514 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24515 # This bug is HP SR number 8606223364.
24516 { echo "$as_me:$LINENO: checking size of long long" >&5
24517 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24518 if test "${ac_cv_sizeof_long_long+set}" = set; then
24519 echo $ECHO_N "(cached) $ECHO_C" >&6
24521 if test "$cross_compiling" = yes; then
24522 # Depending upon the size, compute the lo and hi bounds.
24523 cat >conftest.
$ac_ext <<_ACEOF
24526 cat confdefs.h
>>conftest.
$ac_ext
24527 cat >>conftest.
$ac_ext <<_ACEOF
24528 /* end confdefs.h. */
24529 $ac_includes_default
24530 typedef long long ac__type_sizeof_;
24534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24541 rm -f conftest.
$ac_objext
24542 if { (ac_try
="$ac_compile"
24543 case "(($ac_try" in
24544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24545 *) ac_try_echo=$ac_try;;
24547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24548 (eval "$ac_compile") 2>conftest.er1
24550 grep -v '^ *+' conftest.er1 >conftest.err
24552 cat conftest.err >&5
24553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24554 (exit $ac_status); } && {
24555 test -z "$ac_c_werror_flag" ||
24556 test ! -s conftest.err
24557 } && test -s conftest.$ac_objext; then
24560 cat >conftest.$ac_ext <<_ACEOF
24563 cat confdefs.h >>conftest.$ac_ext
24564 cat >>conftest.$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24566 $ac_includes_default
24567 typedef long long ac__type_sizeof_;
24571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24578 rm -f conftest.$ac_objext
24579 if { (ac_try="$ac_compile"
24580 case "(($ac_try" in
24581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24582 *) ac_try_echo
=$ac_try;;
24584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24585 (eval "$ac_compile") 2>conftest.er1
24587 grep -v '^ *+' conftest.er1
>conftest.err
24589 cat conftest.err
>&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } && {
24592 test -z "$ac_c_werror_flag" ||
24593 test ! -s conftest.err
24594 } && test -s conftest.
$ac_objext; then
24595 ac_hi
=$ac_mid; break
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.
$ac_ext >&5
24600 ac_lo
=`expr $ac_mid + 1`
24601 if test $ac_lo -le $ac_mid; then
24605 ac_mid
=`expr 2 '*' $ac_mid + 1`
24608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24611 echo "$as_me: failed program was:" >&5
24612 sed 's/^/| /' conftest.
$ac_ext >&5
24614 cat >conftest.
$ac_ext <<_ACEOF
24617 cat confdefs.h
>>conftest.
$ac_ext
24618 cat >>conftest.
$ac_ext <<_ACEOF
24619 /* end confdefs.h. */
24620 $ac_includes_default
24621 typedef long long ac__type_sizeof_;
24625 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24632 rm -f conftest.
$ac_objext
24633 if { (ac_try
="$ac_compile"
24634 case "(($ac_try" in
24635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24636 *) ac_try_echo=$ac_try;;
24638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24639 (eval "$ac_compile") 2>conftest.er1
24641 grep -v '^ *+' conftest.er1 >conftest.err
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } && {
24646 test -z "$ac_c_werror_flag" ||
24647 test ! -s conftest.err
24648 } && test -s conftest.$ac_objext; then
24651 cat >conftest.$ac_ext <<_ACEOF
24654 cat confdefs.h >>conftest.$ac_ext
24655 cat >>conftest.$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24657 $ac_includes_default
24658 typedef long long ac__type_sizeof_;
24662 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24669 rm -f conftest.$ac_objext
24670 if { (ac_try="$ac_compile"
24671 case "(($ac_try" in
24672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24673 *) ac_try_echo
=$ac_try;;
24675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24676 (eval "$ac_compile") 2>conftest.er1
24678 grep -v '^ *+' conftest.er1
>conftest.err
24680 cat conftest.err
>&5
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); } && {
24683 test -z "$ac_c_werror_flag" ||
24684 test ! -s conftest.err
24685 } && test -s conftest.
$ac_objext; then
24686 ac_lo
=$ac_mid; break
24688 echo "$as_me: failed program was:" >&5
24689 sed 's/^/| /' conftest.
$ac_ext >&5
24691 ac_hi
=`expr '(' $ac_mid ')' - 1`
24692 if test $ac_mid -le $ac_hi; then
24696 ac_mid
=`expr 2 '*' $ac_mid`
24699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24702 echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.
$ac_ext >&5
24708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24712 # Binary search between lo and hi bounds.
24713 while test "x$ac_lo" != "x$ac_hi"; do
24714 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24715 cat >conftest.
$ac_ext <<_ACEOF
24718 cat confdefs.h
>>conftest.
$ac_ext
24719 cat >>conftest.
$ac_ext <<_ACEOF
24720 /* end confdefs.h. */
24721 $ac_includes_default
24722 typedef long long ac__type_sizeof_;
24726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24733 rm -f conftest.
$ac_objext
24734 if { (ac_try
="$ac_compile"
24735 case "(($ac_try" in
24736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24737 *) ac_try_echo=$ac_try;;
24739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24740 (eval "$ac_compile") 2>conftest.er1
24742 grep -v '^ *+' conftest.er1 >conftest.err
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } && {
24747 test -z "$ac_c_werror_flag" ||
24748 test ! -s conftest.err
24749 } && test -s conftest.$ac_objext; then
24752 echo "$as_me: failed program was:" >&5
24753 sed 's/^/| /' conftest.$ac_ext >&5
24755 ac_lo=`expr '(' $ac_mid ')' + 1`
24758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24762 '') if test "$ac_cv_type_long_long" = yes; then
24763 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24764 See \`config.log
' for more details." >&5
24765 echo "$as_me: error: cannot compute sizeof (long long)
24766 See \`config.log' for more details.
" >&2;}
24767 { (exit 77); exit 77; }; }
24769 ac_cv_sizeof_long_long=0
24773 cat >conftest.$ac_ext <<_ACEOF
24776 cat confdefs.h >>conftest.$ac_ext
24777 cat >>conftest.$ac_ext <<_ACEOF
24778 /* end confdefs.h. */
24779 $ac_includes_default
24780 typedef long long ac__type_sizeof_;
24781 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24782 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24784 #include <stdlib.h>
24789 FILE *f = fopen ("conftest.val
", "w
");
24792 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24794 long int i = longval ();
24795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24797 fprintf (f, "%ld
\n", i);
24801 unsigned long int i = ulongval ();
24802 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24804 fprintf (f, "%lu
\n", i);
24806 return ferror (f) || fclose (f) != 0;
24812 rm -f conftest$ac_exeext
24813 if { (ac_try="$ac_link"
24814 case "(($ac_try" in
24815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24816 *) ac_try_echo=$ac_try;;
24818 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24819 (eval "$ac_link") 2>&5
24821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24823 { (case "(($ac_try" in
24824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24825 *) ac_try_echo=$ac_try;;
24827 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24828 (eval "$ac_try") 2>&5
24830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24831 (exit $ac_status); }; }; then
24832 ac_cv_sizeof_long_long=`cat conftest.val`
24834 echo "$as_me: program exited with status
$ac_status" >&5
24835 echo "$as_me: failed program was
:" >&5
24836 sed 's/^/| /' conftest.$ac_ext >&5
24838 ( exit $ac_status )
24839 if test "$ac_cv_type_long_long" = yes; then
24840 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24841 See \
`config.log' for more details." >&5
24842 echo "$as_me: error: cannot compute sizeof (long long)
24843 See \`config.log
' for more details." >&2;}
24844 { (exit 77); exit 77; }; }
24846 ac_cv_sizeof_long_long=0
24849 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24853 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24854 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24858 cat >>confdefs.h <<_ACEOF
24859 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24865 { echo "$as_me:$LINENO: checking for long long" >&5
24866 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24867 if test "${ac_cv_type_long_long+set}" = set; then
24868 echo $ECHO_N "(cached) $ECHO_C" >&6
24870 cat >conftest.$ac_ext <<_ACEOF
24873 cat confdefs.h >>conftest.$ac_ext
24874 cat >>conftest.$ac_ext <<_ACEOF
24875 /* end confdefs.h. */
24876 $ac_includes_default
24877 typedef long long ac__type_new_;
24881 if ((ac__type_new_ *) 0)
24883 if (sizeof (ac__type_new_))
24889 rm -f conftest.$ac_objext
24890 if { (ac_try="$ac_compile"
24891 case "(($ac_try" in
24892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24893 *) ac_try_echo=$ac_try;;
24895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24896 (eval "$ac_compile") 2>conftest.er1
24898 grep -v '^
*+' conftest.er1 >conftest.err
24900 cat conftest.err >&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } && {
24903 test -z "$ac_c_werror_flag" ||
24904 test ! -s conftest.err
24905 } && test -s conftest.$ac_objext; then
24906 ac_cv_type_long_long=yes
24908 echo "$as_me: failed program was:" >&5
24909 sed 's
/^
/| /' conftest.$ac_ext >&5
24911 ac_cv_type_long_long=no
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24917 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24919 # The cast to long int works around a bug in the HP C Compiler
24920 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24921 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24922 # This bug is HP SR number 8606223364.
24923 { echo "$as_me:$LINENO: checking size of long long" >&5
24924 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24925 if test "${ac_cv_sizeof_long_long+set}" = set; then
24926 echo $ECHO_N "(cached) $ECHO_C" >&6
24928 if test "$cross_compiling" = yes; then
24929 # Depending upon the size, compute the lo and hi bounds.
24930 cat >conftest.
$ac_ext <<_ACEOF
24933 cat confdefs.h
>>conftest.
$ac_ext
24934 cat >>conftest.
$ac_ext <<_ACEOF
24935 /* end confdefs.h. */
24936 $ac_includes_default
24937 typedef long long ac__type_sizeof_;
24941 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24948 rm -f conftest.
$ac_objext
24949 if { (ac_try
="$ac_compile"
24950 case "(($ac_try" in
24951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24952 *) ac_try_echo=$ac_try;;
24954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24955 (eval "$ac_compile") 2>conftest.er1
24957 grep -v '^ *+' conftest.er1 >conftest.err
24959 cat conftest.err >&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); } && {
24962 test -z "$ac_c_werror_flag" ||
24963 test ! -s conftest.err
24964 } && test -s conftest.$ac_objext; then
24967 cat >conftest.$ac_ext <<_ACEOF
24970 cat confdefs.h >>conftest.$ac_ext
24971 cat >>conftest.$ac_ext <<_ACEOF
24972 /* end confdefs.h. */
24973 $ac_includes_default
24974 typedef long long ac__type_sizeof_;
24978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24985 rm -f conftest.$ac_objext
24986 if { (ac_try="$ac_compile"
24987 case "(($ac_try" in
24988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24989 *) ac_try_echo
=$ac_try;;
24991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24992 (eval "$ac_compile") 2>conftest.er1
24994 grep -v '^ *+' conftest.er1
>conftest.err
24996 cat conftest.err
>&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } && {
24999 test -z "$ac_c_werror_flag" ||
25000 test ! -s conftest.err
25001 } && test -s conftest.
$ac_objext; then
25002 ac_hi
=$ac_mid; break
25004 echo "$as_me: failed program was:" >&5
25005 sed 's/^/| /' conftest.
$ac_ext >&5
25007 ac_lo
=`expr $ac_mid + 1`
25008 if test $ac_lo -le $ac_mid; then
25012 ac_mid
=`expr 2 '*' $ac_mid + 1`
25015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25018 echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.
$ac_ext >&5
25021 cat >conftest.
$ac_ext <<_ACEOF
25024 cat confdefs.h
>>conftest.
$ac_ext
25025 cat >>conftest.
$ac_ext <<_ACEOF
25026 /* end confdefs.h. */
25027 $ac_includes_default
25028 typedef long long ac__type_sizeof_;
25032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25039 rm -f conftest.
$ac_objext
25040 if { (ac_try
="$ac_compile"
25041 case "(($ac_try" in
25042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25043 *) ac_try_echo=$ac_try;;
25045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25046 (eval "$ac_compile") 2>conftest.er1
25048 grep -v '^ *+' conftest.er1 >conftest.err
25050 cat conftest.err >&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); } && {
25053 test -z "$ac_c_werror_flag" ||
25054 test ! -s conftest.err
25055 } && test -s conftest.$ac_objext; then
25058 cat >conftest.$ac_ext <<_ACEOF
25061 cat confdefs.h >>conftest.$ac_ext
25062 cat >>conftest.$ac_ext <<_ACEOF
25063 /* end confdefs.h. */
25064 $ac_includes_default
25065 typedef long long ac__type_sizeof_;
25069 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25076 rm -f conftest.$ac_objext
25077 if { (ac_try="$ac_compile"
25078 case "(($ac_try" in
25079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25080 *) ac_try_echo
=$ac_try;;
25082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25083 (eval "$ac_compile") 2>conftest.er1
25085 grep -v '^ *+' conftest.er1
>conftest.err
25087 cat conftest.err
>&5
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); } && {
25090 test -z "$ac_c_werror_flag" ||
25091 test ! -s conftest.err
25092 } && test -s conftest.
$ac_objext; then
25093 ac_lo
=$ac_mid; break
25095 echo "$as_me: failed program was:" >&5
25096 sed 's/^/| /' conftest.
$ac_ext >&5
25098 ac_hi
=`expr '(' $ac_mid ')' - 1`
25099 if test $ac_mid -le $ac_hi; then
25103 ac_mid
=`expr 2 '*' $ac_mid`
25106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25109 echo "$as_me: failed program was:" >&5
25110 sed 's/^/| /' conftest.
$ac_ext >&5
25115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25119 # Binary search between lo and hi bounds.
25120 while test "x$ac_lo" != "x$ac_hi"; do
25121 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25122 cat >conftest.
$ac_ext <<_ACEOF
25125 cat confdefs.h
>>conftest.
$ac_ext
25126 cat >>conftest.
$ac_ext <<_ACEOF
25127 /* end confdefs.h. */
25128 $ac_includes_default
25129 typedef long long ac__type_sizeof_;
25133 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25140 rm -f conftest.
$ac_objext
25141 if { (ac_try
="$ac_compile"
25142 case "(($ac_try" in
25143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25144 *) ac_try_echo=$ac_try;;
25146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25147 (eval "$ac_compile") 2>conftest.er1
25149 grep -v '^ *+' conftest.er1 >conftest.err
25151 cat conftest.err >&5
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); } && {
25154 test -z "$ac_c_werror_flag" ||
25155 test ! -s conftest.err
25156 } && test -s conftest.$ac_objext; then
25159 echo "$as_me: failed program was:" >&5
25160 sed 's/^/| /' conftest.$ac_ext >&5
25162 ac_lo=`expr '(' $ac_mid ')' + 1`
25165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25168 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25169 '') if test "$ac_cv_type_long_long" = yes; then
25170 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25171 See \`config.log
' for more details." >&5
25172 echo "$as_me: error: cannot compute sizeof (long long)
25173 See \`config.log' for more details.
" >&2;}
25174 { (exit 77); exit 77; }; }
25176 ac_cv_sizeof_long_long=0
25180 cat >conftest.$ac_ext <<_ACEOF
25183 cat confdefs.h >>conftest.$ac_ext
25184 cat >>conftest.$ac_ext <<_ACEOF
25185 /* end confdefs.h. */
25186 $ac_includes_default
25187 typedef long long ac__type_sizeof_;
25188 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25189 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25191 #include <stdlib.h>
25196 FILE *f = fopen ("conftest.val
", "w
");
25199 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25201 long int i = longval ();
25202 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25204 fprintf (f, "%ld
\n", i);
25208 unsigned long int i = ulongval ();
25209 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25211 fprintf (f, "%lu
\n", i);
25213 return ferror (f) || fclose (f) != 0;
25219 rm -f conftest$ac_exeext
25220 if { (ac_try="$ac_link"
25221 case "(($ac_try" in
25222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25223 *) ac_try_echo=$ac_try;;
25225 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25226 (eval "$ac_link") 2>&5
25228 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25230 { (case "(($ac_try" in
25231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25232 *) ac_try_echo=$ac_try;;
25234 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25235 (eval "$ac_try") 2>&5
25237 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25238 (exit $ac_status); }; }; then
25239 ac_cv_sizeof_long_long=`cat conftest.val`
25241 echo "$as_me: program exited with status
$ac_status" >&5
25242 echo "$as_me: failed program was
:" >&5
25243 sed 's/^/| /' conftest.$ac_ext >&5
25245 ( exit $ac_status )
25246 if test "$ac_cv_type_long_long" = yes; then
25247 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
25248 See \
`config.log' for more details." >&5
25249 echo "$as_me: error: cannot compute sizeof (long long)
25250 See \`config.log
' for more details." >&2;}
25251 { (exit 77); exit 77; }; }
25253 ac_cv_sizeof_long_long=0
25256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25260 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25261 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25265 cat >>confdefs.h <<_ACEOF
25266 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25270 if test "$ac_cv_sizeof_long_long" != "0"; then
25271 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
25275 { echo "$as_me:$LINENO: checking for long long" >&5
25276 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
25277 if test "${ac_cv_type_long_long+set}" = set; then
25278 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 cat >conftest.$ac_ext <<_ACEOF
25283 cat confdefs.h >>conftest.$ac_ext
25284 cat >>conftest.$ac_ext <<_ACEOF
25285 /* end confdefs.h. */
25286 $ac_includes_default
25287 typedef long long ac__type_new_;
25291 if ((ac__type_new_ *) 0)
25293 if (sizeof (ac__type_new_))
25299 rm -f conftest.$ac_objext
25300 if { (ac_try="$ac_compile"
25301 case "(($ac_try" in
25302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25303 *) ac_try_echo=$ac_try;;
25305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25306 (eval "$ac_compile") 2>conftest.er1
25308 grep -v '^
*+' conftest.er1 >conftest.err
25310 cat conftest.err >&5
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); } && {
25313 test -z "$ac_c_werror_flag" ||
25314 test ! -s conftest.err
25315 } && test -s conftest.$ac_objext; then
25316 ac_cv_type_long_long=yes
25318 echo "$as_me: failed program was:" >&5
25319 sed 's
/^
/| /' conftest.$ac_ext >&5
25321 ac_cv_type_long_long=no
25324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25326 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
25327 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
25329 # The cast to long int works around a bug in the HP C Compiler
25330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25331 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25332 # This bug is HP SR number 8606223364.
25333 { echo "$as_me:$LINENO: checking size of long long" >&5
25334 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
25335 if test "${ac_cv_sizeof_long_long+set}" = set; then
25336 echo $ECHO_N "(cached) $ECHO_C" >&6
25338 if test "$cross_compiling" = yes; then
25339 # Depending upon the size, compute the lo and hi bounds.
25340 cat >conftest.
$ac_ext <<_ACEOF
25343 cat confdefs.h
>>conftest.
$ac_ext
25344 cat >>conftest.
$ac_ext <<_ACEOF
25345 /* end confdefs.h. */
25346 $ac_includes_default
25347 typedef long long ac__type_sizeof_;
25351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25358 rm -f conftest.
$ac_objext
25359 if { (ac_try
="$ac_compile"
25360 case "(($ac_try" in
25361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25362 *) ac_try_echo=$ac_try;;
25364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25365 (eval "$ac_compile") 2>conftest.er1
25367 grep -v '^ *+' conftest.er1 >conftest.err
25369 cat conftest.err >&5
25370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371 (exit $ac_status); } && {
25372 test -z "$ac_c_werror_flag" ||
25373 test ! -s conftest.err
25374 } && test -s conftest.$ac_objext; then
25377 cat >conftest.$ac_ext <<_ACEOF
25380 cat confdefs.h >>conftest.$ac_ext
25381 cat >>conftest.$ac_ext <<_ACEOF
25382 /* end confdefs.h. */
25383 $ac_includes_default
25384 typedef long long ac__type_sizeof_;
25388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25395 rm -f conftest.$ac_objext
25396 if { (ac_try="$ac_compile"
25397 case "(($ac_try" in
25398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25399 *) ac_try_echo
=$ac_try;;
25401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25402 (eval "$ac_compile") 2>conftest.er1
25404 grep -v '^ *+' conftest.er1
>conftest.err
25406 cat conftest.err
>&5
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); } && {
25409 test -z "$ac_c_werror_flag" ||
25410 test ! -s conftest.err
25411 } && test -s conftest.
$ac_objext; then
25412 ac_hi
=$ac_mid; break
25414 echo "$as_me: failed program was:" >&5
25415 sed 's/^/| /' conftest.
$ac_ext >&5
25417 ac_lo
=`expr $ac_mid + 1`
25418 if test $ac_lo -le $ac_mid; then
25422 ac_mid
=`expr 2 '*' $ac_mid + 1`
25425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25428 echo "$as_me: failed program was:" >&5
25429 sed 's/^/| /' conftest.
$ac_ext >&5
25431 cat >conftest.
$ac_ext <<_ACEOF
25434 cat confdefs.h
>>conftest.
$ac_ext
25435 cat >>conftest.
$ac_ext <<_ACEOF
25436 /* end confdefs.h. */
25437 $ac_includes_default
25438 typedef long long ac__type_sizeof_;
25442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25449 rm -f conftest.
$ac_objext
25450 if { (ac_try
="$ac_compile"
25451 case "(($ac_try" in
25452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25453 *) ac_try_echo=$ac_try;;
25455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25456 (eval "$ac_compile") 2>conftest.er1
25458 grep -v '^ *+' conftest.er1 >conftest.err
25460 cat conftest.err >&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); } && {
25463 test -z "$ac_c_werror_flag" ||
25464 test ! -s conftest.err
25465 } && test -s conftest.$ac_objext; then
25468 cat >conftest.$ac_ext <<_ACEOF
25471 cat confdefs.h >>conftest.$ac_ext
25472 cat >>conftest.$ac_ext <<_ACEOF
25473 /* end confdefs.h. */
25474 $ac_includes_default
25475 typedef long long ac__type_sizeof_;
25479 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25486 rm -f conftest.$ac_objext
25487 if { (ac_try="$ac_compile"
25488 case "(($ac_try" in
25489 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25490 *) ac_try_echo
=$ac_try;;
25492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25493 (eval "$ac_compile") 2>conftest.er1
25495 grep -v '^ *+' conftest.er1
>conftest.err
25497 cat conftest.err
>&5
25498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); } && {
25500 test -z "$ac_c_werror_flag" ||
25501 test ! -s conftest.err
25502 } && test -s conftest.
$ac_objext; then
25503 ac_lo
=$ac_mid; break
25505 echo "$as_me: failed program was:" >&5
25506 sed 's/^/| /' conftest.
$ac_ext >&5
25508 ac_hi
=`expr '(' $ac_mid ')' - 1`
25509 if test $ac_mid -le $ac_hi; then
25513 ac_mid
=`expr 2 '*' $ac_mid`
25516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25519 echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.
$ac_ext >&5
25525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25529 # Binary search between lo and hi bounds.
25530 while test "x$ac_lo" != "x$ac_hi"; do
25531 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25532 cat >conftest.
$ac_ext <<_ACEOF
25535 cat confdefs.h
>>conftest.
$ac_ext
25536 cat >>conftest.
$ac_ext <<_ACEOF
25537 /* end confdefs.h. */
25538 $ac_includes_default
25539 typedef long long ac__type_sizeof_;
25543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25550 rm -f conftest.
$ac_objext
25551 if { (ac_try
="$ac_compile"
25552 case "(($ac_try" in
25553 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25554 *) ac_try_echo=$ac_try;;
25556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25557 (eval "$ac_compile") 2>conftest.er1
25559 grep -v '^ *+' conftest.er1 >conftest.err
25561 cat conftest.err >&5
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); } && {
25564 test -z "$ac_c_werror_flag" ||
25565 test ! -s conftest.err
25566 } && test -s conftest.$ac_objext; then
25569 echo "$as_me: failed program was:" >&5
25570 sed 's/^/| /' conftest.$ac_ext >&5
25572 ac_lo=`expr '(' $ac_mid ')' + 1`
25575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25579 '') if test "$ac_cv_type_long_long" = yes; then
25580 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25581 See \`config.log
' for more details." >&5
25582 echo "$as_me: error: cannot compute sizeof (long long)
25583 See \`config.log' for more details.
" >&2;}
25584 { (exit 77); exit 77; }; }
25586 ac_cv_sizeof_long_long=0
25590 cat >conftest.$ac_ext <<_ACEOF
25593 cat confdefs.h >>conftest.$ac_ext
25594 cat >>conftest.$ac_ext <<_ACEOF
25595 /* end confdefs.h. */
25596 $ac_includes_default
25597 typedef long long ac__type_sizeof_;
25598 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25599 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25601 #include <stdlib.h>
25606 FILE *f = fopen ("conftest.val
", "w
");
25609 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25611 long int i = longval ();
25612 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25614 fprintf (f, "%ld
\n", i);
25618 unsigned long int i = ulongval ();
25619 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25621 fprintf (f, "%lu
\n", i);
25623 return ferror (f) || fclose (f) != 0;
25629 rm -f conftest$ac_exeext
25630 if { (ac_try="$ac_link"
25631 case "(($ac_try" in
25632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25633 *) ac_try_echo=$ac_try;;
25635 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25636 (eval "$ac_link") 2>&5
25638 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25640 { (case "(($ac_try" in
25641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25642 *) ac_try_echo=$ac_try;;
25644 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25645 (eval "$ac_try") 2>&5
25647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25648 (exit $ac_status); }; }; then
25649 ac_cv_sizeof_long_long=`cat conftest.val`
25651 echo "$as_me: program exited with status
$ac_status" >&5
25652 echo "$as_me: failed program was
:" >&5
25653 sed 's/^/| /' conftest.$ac_ext >&5
25655 ( exit $ac_status )
25656 if test "$ac_cv_type_long_long" = yes; then
25657 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
25658 See \
`config.log' for more details." >&5
25659 echo "$as_me: error: cannot compute sizeof (long long)
25660 See \`config.log
' for more details." >&2;}
25661 { (exit 77); exit 77; }; }
25663 ac_cv_sizeof_long_long=0
25666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25670 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25671 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25675 cat >>confdefs.h <<_ACEOF
25676 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25682 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25683 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25684 if test "${ac_cv_type_wchar_t+set}" = set; then
25685 echo $ECHO_N "(cached) $ECHO_C" >&6
25687 cat >conftest.$ac_ext <<_ACEOF
25690 cat confdefs.h >>conftest.$ac_ext
25691 cat >>conftest.$ac_ext <<_ACEOF
25692 /* end confdefs.h. */
25694 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25695 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25696 # error "fake wchar_t"
25698 #ifdef HAVE_WCHAR_H
25700 # include <stddef.h>
25702 # include <wchar.h>
25704 #ifdef HAVE_STDLIB_H
25705 # include <stdlib.h>
25711 typedef wchar_t ac__type_new_
;
25715 if ((ac__type_new_
*) 0)
25717 if (sizeof
(ac__type_new_
))
25723 rm -f conftest.
$ac_objext
25724 if { (ac_try
="$ac_compile"
25725 case "(($ac_try" in
25726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25727 *) ac_try_echo=$ac_try;;
25729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25730 (eval "$ac_compile") 2>conftest.er1
25732 grep -v '^ *+' conftest.er1 >conftest.err
25734 cat conftest.err >&5
25735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25736 (exit $ac_status); } && {
25737 test -z "$ac_c_werror_flag" ||
25738 test ! -s conftest.err
25739 } && test -s conftest.$ac_objext; then
25740 ac_cv_type_wchar_t=yes
25742 echo "$as_me: failed program was:" >&5
25743 sed 's/^/| /' conftest.$ac_ext >&5
25745 ac_cv_type_wchar_t=no
25748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25750 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25751 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25753 # The cast to long int works around a bug in the HP C Compiler
25754 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25755 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25756 # This bug is HP SR number 8606223364.
25757 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25758 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25759 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25760 echo $ECHO_N "(cached) $ECHO_C" >&6
25762 if test "$cross_compiling" = yes; then
25763 # Depending upon the size, compute the lo and hi bounds.
25764 cat >conftest.$ac_ext <<_ACEOF
25767 cat confdefs.h >>conftest.$ac_ext
25768 cat >>conftest.$ac_ext <<_ACEOF
25769 /* end confdefs.h. */
25771 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25772 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25773 # error "fake wchar_t"
25775 #ifdef HAVE_WCHAR_H
25777 # include <stddef.h>
25779 # include <wchar.h>
25781 #ifdef HAVE_STDLIB_H
25782 # include <stdlib.h>
25788 typedef wchar_t ac__type_sizeof_
;
25792 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25799 rm -f conftest.
$ac_objext
25800 if { (ac_try
="$ac_compile"
25801 case "(($ac_try" in
25802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25803 *) ac_try_echo=$ac_try;;
25805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25806 (eval "$ac_compile") 2>conftest.er1
25808 grep -v '^ *+' conftest.er1 >conftest.err
25810 cat conftest.err >&5
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); } && {
25813 test -z "$ac_c_werror_flag" ||
25814 test ! -s conftest.err
25815 } && test -s conftest.$ac_objext; then
25818 cat >conftest.$ac_ext <<_ACEOF
25821 cat confdefs.h >>conftest.$ac_ext
25822 cat >>conftest.$ac_ext <<_ACEOF
25823 /* end confdefs.h. */
25825 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25826 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25827 # error "fake wchar_t"
25829 #ifdef HAVE_WCHAR_H
25831 # include <stddef.h>
25833 # include <wchar.h>
25835 #ifdef HAVE_STDLIB_H
25836 # include <stdlib.h>
25842 typedef wchar_t ac__type_sizeof_;
25846 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25853 rm -f conftest.$ac_objext
25854 if { (ac_try="$ac_compile"
25855 case "(($ac_try" in
25856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25857 *) ac_try_echo
=$ac_try;;
25859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25860 (eval "$ac_compile") 2>conftest.er1
25862 grep -v '^ *+' conftest.er1
>conftest.err
25864 cat conftest.err
>&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } && {
25867 test -z "$ac_c_werror_flag" ||
25868 test ! -s conftest.err
25869 } && test -s conftest.
$ac_objext; then
25870 ac_hi
=$ac_mid; break
25872 echo "$as_me: failed program was:" >&5
25873 sed 's/^/| /' conftest.
$ac_ext >&5
25875 ac_lo
=`expr $ac_mid + 1`
25876 if test $ac_lo -le $ac_mid; then
25880 ac_mid
=`expr 2 '*' $ac_mid + 1`
25883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25886 echo "$as_me: failed program was:" >&5
25887 sed 's/^/| /' conftest.
$ac_ext >&5
25889 cat >conftest.
$ac_ext <<_ACEOF
25892 cat confdefs.h
>>conftest.
$ac_ext
25893 cat >>conftest.
$ac_ext <<_ACEOF
25894 /* end confdefs.h. */
25896 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25897 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25898 # error "fake wchar_t"
25900 #ifdef HAVE_WCHAR_H
25902 # include <stddef.h>
25904 # include <wchar.h>
25906 #ifdef HAVE_STDLIB_H
25907 # include <stdlib.h>
25913 typedef wchar_t ac__type_sizeof_;
25917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25924 rm -f conftest.
$ac_objext
25925 if { (ac_try
="$ac_compile"
25926 case "(($ac_try" in
25927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25928 *) ac_try_echo=$ac_try;;
25930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25931 (eval "$ac_compile") 2>conftest.er1
25933 grep -v '^ *+' conftest.er1 >conftest.err
25935 cat conftest.err >&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } && {
25938 test -z "$ac_c_werror_flag" ||
25939 test ! -s conftest.err
25940 } && test -s conftest.$ac_objext; then
25943 cat >conftest.$ac_ext <<_ACEOF
25946 cat confdefs.h >>conftest.$ac_ext
25947 cat >>conftest.$ac_ext <<_ACEOF
25948 /* end confdefs.h. */
25950 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25951 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25952 # error "fake wchar_t"
25954 #ifdef HAVE_WCHAR_H
25956 # include <stddef.h>
25958 # include <wchar.h>
25960 #ifdef HAVE_STDLIB_H
25961 # include <stdlib.h>
25967 typedef wchar_t ac__type_sizeof_;
25971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25978 rm -f conftest.$ac_objext
25979 if { (ac_try="$ac_compile"
25980 case "(($ac_try" in
25981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25982 *) ac_try_echo
=$ac_try;;
25984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25985 (eval "$ac_compile") 2>conftest.er1
25987 grep -v '^ *+' conftest.er1
>conftest.err
25989 cat conftest.err
>&5
25990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991 (exit $ac_status); } && {
25992 test -z "$ac_c_werror_flag" ||
25993 test ! -s conftest.err
25994 } && test -s conftest.
$ac_objext; then
25995 ac_lo
=$ac_mid; break
25997 echo "$as_me: failed program was:" >&5
25998 sed 's/^/| /' conftest.
$ac_ext >&5
26000 ac_hi
=`expr '(' $ac_mid ')' - 1`
26001 if test $ac_mid -le $ac_hi; then
26005 ac_mid
=`expr 2 '*' $ac_mid`
26008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26011 echo "$as_me: failed program was:" >&5
26012 sed 's/^/| /' conftest.
$ac_ext >&5
26017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26021 # Binary search between lo and hi bounds.
26022 while test "x$ac_lo" != "x$ac_hi"; do
26023 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26024 cat >conftest.
$ac_ext <<_ACEOF
26027 cat confdefs.h
>>conftest.
$ac_ext
26028 cat >>conftest.
$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26031 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
26032 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
26033 # error "fake wchar_t"
26035 #ifdef HAVE_WCHAR_H
26037 # include <stddef.h>
26039 # include <wchar.h>
26041 #ifdef HAVE_STDLIB_H
26042 # include <stdlib.h>
26048 typedef wchar_t ac__type_sizeof_;
26052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26059 rm -f conftest.
$ac_objext
26060 if { (ac_try
="$ac_compile"
26061 case "(($ac_try" in
26062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26063 *) ac_try_echo=$ac_try;;
26065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26066 (eval "$ac_compile") 2>conftest.er1
26068 grep -v '^ *+' conftest.er1 >conftest.err
26070 cat conftest.err >&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); } && {
26073 test -z "$ac_c_werror_flag" ||
26074 test ! -s conftest.err
26075 } && test -s conftest.$ac_objext; then
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.$ac_ext >&5
26081 ac_lo=`expr '(' $ac_mid ')' + 1`
26084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26087 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
26088 '') if test "$ac_cv_type_wchar_t" = yes; then
26089 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
26090 See \`config.log
' for more details." >&5
26091 echo "$as_me: error: cannot compute sizeof (wchar_t)
26092 See \`config.log' for more details.
" >&2;}
26093 { (exit 77); exit 77; }; }
26095 ac_cv_sizeof_wchar_t=0
26099 cat >conftest.$ac_ext <<_ACEOF
26102 cat confdefs.h >>conftest.$ac_ext
26103 cat >>conftest.$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26106 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
26107 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
26108 # error "fake wchar_t
"
26110 #ifdef HAVE_WCHAR_H
26112 # include <stddef.h>
26114 # include <wchar.h>
26116 #ifdef HAVE_STDLIB_H
26117 # include <stdlib.h>
26123 typedef wchar_t ac__type_sizeof_;
26124 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26125 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26127 #include <stdlib.h>
26132 FILE *f = fopen ("conftest.val
", "w
");
26135 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26137 long int i = longval ();
26138 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26140 fprintf (f, "%ld
\n", i);
26144 unsigned long int i = ulongval ();
26145 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26147 fprintf (f, "%lu
\n", i);
26149 return ferror (f) || fclose (f) != 0;
26155 rm -f conftest$ac_exeext
26156 if { (ac_try="$ac_link"
26157 case "(($ac_try" in
26158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26159 *) ac_try_echo=$ac_try;;
26161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26162 (eval "$ac_link") 2>&5
26164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26166 { (case "(($ac_try" in
26167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26168 *) ac_try_echo=$ac_try;;
26170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26171 (eval "$ac_try") 2>&5
26173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26174 (exit $ac_status); }; }; then
26175 ac_cv_sizeof_wchar_t=`cat conftest.val`
26177 echo "$as_me: program exited with status
$ac_status" >&5
26178 echo "$as_me: failed program was
:" >&5
26179 sed 's/^/| /' conftest.$ac_ext >&5
26181 ( exit $ac_status )
26182 if test "$ac_cv_type_wchar_t" = yes; then
26183 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
26184 See \
`config.log' for more details." >&5
26185 echo "$as_me: error: cannot compute sizeof (wchar_t)
26186 See \`config.log
' for more details." >&2;}
26187 { (exit 77); exit 77; }; }
26189 ac_cv_sizeof_wchar_t=0
26192 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26196 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
26197 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
26201 cat >>confdefs.h <<_ACEOF
26202 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
26206 if test "$ac_cv_sizeof_wchar_t" != "0"; then
26212 { echo "$as_me:$LINENO: checking for va_copy" >&5
26213 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
26214 if test "${wx_cv_func_va_copy+set}" = set; then
26215 echo $ECHO_N "(cached) $ECHO_C" >&6
26219 ac_cpp='$CXXCPP $CPPFLAGS'
26220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26221 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26224 cat >conftest.$ac_ext <<_ACEOF
26226 #include <stdarg.h>
26227 void foo(char *f, ...)
26241 rm -f conftest.$ac_objext conftest$ac_exeext
26242 if { (ac_try="$ac_link"
26243 case "(($ac_try" in
26244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26245 *) ac_try_echo=$ac_try;;
26247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26248 (eval "$ac_link") 2>conftest.er1
26250 grep -v '^
*+' conftest.er1 >conftest.err
26252 cat conftest.err >&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); } && {
26255 test -z "$ac_cxx_werror_flag" ||
26256 test ! -s conftest.err
26257 } && test -s conftest$ac_exeext &&
26258 $as_test_x conftest$ac_exeext; then
26259 wx_cv_func_va_copy=yes
26261 echo "$as_me: failed program was:" >&5
26262 sed 's
/^
/| /' conftest.$ac_ext >&5
26264 wx_cv_func_va_copy=no
26268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26269 conftest$ac_exeext conftest.$ac_ext
26271 ac_cpp='$CPP $CPPFLAGS'
26272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26273 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26279 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
26280 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
26282 if test $wx_cv_func_va_copy = "yes"; then
26283 cat >>confdefs.h <<\_ACEOF
26284 #define HAVE_VA_COPY 1
26288 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
26289 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
26290 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
26291 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 if test "$cross_compiling" = yes; then
26295 wx_cv_type_va_list_lvalue=yes
26298 cat >conftest.$ac_ext <<_ACEOF
26300 #include <stdarg.h>
26301 int foo(char *f, ...)
26306 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
26314 return foo("hi", 17);
26317 rm -f conftest$ac_exeext
26318 if { (ac_try="$ac_link"
26319 case "(($ac_try" in
26320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26321 *) ac_try_echo=$ac_try;;
26323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26324 (eval "$ac_link") 2>&5
26326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26328 { (case "(($ac_try" in
26329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26330 *) ac_try_echo=$ac_try;;
26332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26333 (eval "$ac_try") 2>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; }; then
26337 wx_cv_type_va_list_lvalue=yes
26339 echo "$as_me: program exited with status $ac_status" >&5
26340 echo "$as_me: failed program was:" >&5
26341 sed 's
/^
/| /' conftest.$ac_ext >&5
26343 ( exit $ac_status )
26344 wx_cv_type_va_list_lvalue=no
26346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26353 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
26354 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
26356 if test $wx_cv_type_va_list_lvalue != "yes"; then
26357 cat >>confdefs.h <<\_ACEOF
26358 #define VA_LIST_IS_ARRAY 1
26364 if test "$wxUSE_VARARG_MACROS" = "yes"; then
26366 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
26367 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
26368 if test "${wx_cv_have_variadic_macros+set}" = set; then
26369 echo $ECHO_N "(cached) $ECHO_C" >&6
26373 ac_cpp='$CXXCPP $CPPFLAGS'
26374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26375 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26378 cat >conftest.$ac_ext <<_ACEOF
26381 cat confdefs.h >>conftest.$ac_ext
26382 cat >>conftest.$ac_ext <<_ACEOF
26383 /* end confdefs.h. */
26386 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
26392 test("%s %d %p", "test", 1, 0);
26399 rm -f conftest.$ac_objext
26400 if { (ac_try="$ac_compile"
26401 case "(($ac_try" in
26402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26403 *) ac_try_echo=$ac_try;;
26405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26406 (eval "$ac_compile") 2>conftest.er1
26408 grep -v '^
*+' conftest.er1 >conftest.err
26410 cat conftest.err >&5
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); } && {
26413 test -z "$ac_cxx_werror_flag" ||
26414 test ! -s conftest.err
26415 } && test -s conftest.$ac_objext; then
26416 wx_cv_have_variadic_macros=yes
26418 echo "$as_me: failed program was:" >&5
26419 sed 's
/^
/| /' conftest.$ac_ext >&5
26421 wx_cv_have_variadic_macros=no
26425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26427 ac_cpp='$CPP $CPPFLAGS'
26428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26429 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26435 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
26436 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
26438 if test $wx_cv_have_variadic_macros = "yes"; then
26439 cat >>confdefs.h <<\_ACEOF
26440 #define HAVE_VARIADIC_MACROS 1
26446 # Check whether --enable-largefile was given.
26447 if test "${enable_largefile+set}" = set; then
26448 enableval=$enable_largefile;
26451 if test "$enable_largefile" != no; then
26454 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
26455 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
26456 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 cat >conftest.$ac_ext <<_ACEOF
26463 cat confdefs.h >>conftest.$ac_ext
26464 cat >>conftest.$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26466 #define _FILE_OFFSET_BITS 64
26467 #include <sys/types.h>
26472 unsigned int field: sizeof(off_t) == 8;
26479 rm -f conftest.$ac_objext
26480 if { (ac_try="$ac_compile"
26481 case "(($ac_try" in
26482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26483 *) ac_try_echo=$ac_try;;
26485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26486 (eval "$ac_compile") 2>conftest.er1
26488 grep -v '^
*+' conftest.er1 >conftest.err
26490 cat conftest.err >&5
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); } && {
26493 test -z "$ac_c_werror_flag" ||
26494 test ! -s conftest.err
26495 } && test -s conftest.$ac_objext; then
26496 ac_cv_sys_file_offset_bits=64
26498 echo "$as_me: failed program was:" >&5
26499 sed 's
/^
/| /' conftest.$ac_ext >&5
26501 ac_cv_sys_file_offset_bits=no
26504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26508 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
26509 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
26511 if test "$ac_cv_sys_file_offset_bits" != no; then
26513 cat >>confdefs.h <<_ACEOF
26514 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
26519 if test "x$wx_largefile" != "xyes"; then
26521 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
26522 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
26523 if test "${ac_cv_sys_large_files+set}" = set; then
26524 echo $ECHO_N "(cached) $ECHO_C" >&6
26527 cat >conftest.$ac_ext <<_ACEOF
26530 cat confdefs.h >>conftest.$ac_ext
26531 cat >>conftest.$ac_ext <<_ACEOF
26532 /* end confdefs.h. */
26533 #define _LARGE_FILES 1
26534 #include <sys/types.h>
26539 unsigned int field: sizeof(off_t) == 8;
26546 rm -f conftest.$ac_objext
26547 if { (ac_try="$ac_compile"
26548 case "(($ac_try" in
26549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26550 *) ac_try_echo=$ac_try;;
26552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26553 (eval "$ac_compile") 2>conftest.er1
26555 grep -v '^
*+' conftest.er1 >conftest.err
26557 cat conftest.err >&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } && {
26560 test -z "$ac_c_werror_flag" ||
26561 test ! -s conftest.err
26562 } && test -s conftest.$ac_objext; then
26563 ac_cv_sys_large_files=1
26565 echo "$as_me: failed program was:" >&5
26566 sed 's
/^
/| /' conftest.$ac_ext >&5
26568 ac_cv_sys_large_files=no
26571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26575 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26576 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26578 if test "$ac_cv_sys_large_files" != no; then
26580 cat >>confdefs.h <<_ACEOF
26581 #define _LARGE_FILES $ac_cv_sys_large_files
26588 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26589 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26590 if test "x$wx_largefile" = "xyes"; then
26591 cat >>confdefs.h <<\_ACEOF
26592 #define HAVE_LARGEFILE_SUPPORT 1
26596 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26597 echo "${ECHO_T}$wx_largefile" >&6; }
26601 if test "x$wx_largefile" = "xyes"; then
26602 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26603 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26605 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26606 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26607 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26608 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26609 echo $ECHO_N "(cached) $ECHO_C" >&6
26613 ac_cpp='$CXXCPP $CPPFLAGS'
26614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26615 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26618 cat >conftest.$ac_ext <<_ACEOF
26621 cat confdefs.h >>conftest.$ac_ext
26622 cat >>conftest.$ac_ext <<_ACEOF
26623 /* end confdefs.h. */
26629 #ifndef __STDC_EXT__
26637 rm -f conftest.$ac_objext
26638 if { (ac_try="$ac_compile"
26639 case "(($ac_try" in
26640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26641 *) ac_try_echo=$ac_try;;
26643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26644 (eval "$ac_compile") 2>conftest.er1
26646 grep -v '^
*+' conftest.er1 >conftest.err
26648 cat conftest.err >&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } && {
26651 test -z "$ac_cxx_werror_flag" ||
26652 test ! -s conftest.err
26653 } && test -s conftest.$ac_objext; then
26654 wx_cv_STDC_EXT_required=no
26656 echo "$as_me: failed program was:" >&5
26657 sed 's
/^
/| /' conftest.$ac_ext >&5
26659 wx_cv_STDC_EXT_required=yes
26663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26665 ac_cpp='$CPP $CPPFLAGS'
26666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26667 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26673 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26674 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26675 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26676 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26680 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26682 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26683 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26684 if test "${ac_cv_sys_largefile_source+set}" = set; then
26685 echo $ECHO_N "(cached) $ECHO_C" >&6
26688 cat >conftest.$ac_ext <<_ACEOF
26691 cat confdefs.h >>conftest.$ac_ext
26692 cat >>conftest.$ac_ext <<_ACEOF
26693 /* end confdefs.h. */
26694 #include <sys/types.h> /* for off_t */
26699 int (*fp) (FILE *, off_t, int) = fseeko;
26700 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26705 rm -f conftest.$ac_objext conftest$ac_exeext
26706 if { (ac_try="$ac_link"
26707 case "(($ac_try" in
26708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26709 *) ac_try_echo=$ac_try;;
26711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26712 (eval "$ac_link") 2>conftest.er1
26714 grep -v '^
*+' conftest.er1 >conftest.err
26716 cat conftest.err >&5
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); } && {
26719 test -z "$ac_c_werror_flag" ||
26720 test ! -s conftest.err
26721 } && test -s conftest$ac_exeext &&
26722 $as_test_x conftest$ac_exeext; then
26723 ac_cv_sys_largefile_source=no; break
26725 echo "$as_me: failed program was:" >&5
26726 sed 's
/^
/| /' conftest.$ac_ext >&5
26731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26732 conftest$ac_exeext conftest.$ac_ext
26733 cat >conftest.$ac_ext <<_ACEOF
26736 cat confdefs.h >>conftest.$ac_ext
26737 cat >>conftest.$ac_ext <<_ACEOF
26738 /* end confdefs.h. */
26739 #define _LARGEFILE_SOURCE 1
26740 #include <sys/types.h> /* for off_t */
26745 int (*fp) (FILE *, off_t, int) = fseeko;
26746 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26751 rm -f conftest.$ac_objext conftest$ac_exeext
26752 if { (ac_try="$ac_link"
26753 case "(($ac_try" in
26754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26755 *) ac_try_echo=$ac_try;;
26757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26758 (eval "$ac_link") 2>conftest.er1
26760 grep -v '^
*+' conftest.er1 >conftest.err
26762 cat conftest.err >&5
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); } && {
26765 test -z "$ac_c_werror_flag" ||
26766 test ! -s conftest.err
26767 } && test -s conftest$ac_exeext &&
26768 $as_test_x conftest$ac_exeext; then
26769 ac_cv_sys_largefile_source=1; break
26771 echo "$as_me: failed program was:" >&5
26772 sed 's
/^
/| /' conftest.$ac_ext >&5
26777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26778 conftest$ac_exeext conftest.$ac_ext
26779 ac_cv_sys_largefile_source=unknown
26783 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26784 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26785 case $ac_cv_sys_largefile_source in #(
26788 cat >>confdefs.h <<_ACEOF
26789 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26795 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26796 # in glibc 2.1.3, but that breaks too many other things.
26797 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26798 if test $ac_cv_sys_largefile_source != unknown; then
26800 cat >>confdefs.h <<\_ACEOF
26801 #define HAVE_FSEEKO 1
26806 if test "$ac_cv_sys_largefile_source" != no; then
26807 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26811 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26812 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26813 if test "${ac_cv_c_bigendian+set}" = set; then
26814 echo $ECHO_N "(cached) $ECHO_C" >&6
26816 ac_cv_c_bigendian=unknown
26817 # See if sys/param.h defines the BYTE_ORDER macro.
26818 cat >conftest.$ac_ext <<_ACEOF
26821 cat confdefs.h >>conftest.$ac_ext
26822 cat >>conftest.$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26824 #include <sys/types.h>
26825 #include <sys/param.h>
26830 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26831 bogus endian macros
26837 rm -f conftest.$ac_objext
26838 if { (ac_try="$ac_compile"
26839 case "(($ac_try" in
26840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26841 *) ac_try_echo=$ac_try;;
26843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26844 (eval "$ac_compile") 2>conftest.er1
26846 grep -v '^
*+' conftest.er1 >conftest.err
26848 cat conftest.err >&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); } && {
26851 test -z "$ac_c_werror_flag" ||
26852 test ! -s conftest.err
26853 } && test -s conftest.$ac_objext; then
26854 # It does; now see whether it defined to BIG_ENDIAN or not.
26855 cat >conftest.$ac_ext <<_ACEOF
26858 cat confdefs.h >>conftest.$ac_ext
26859 cat >>conftest.$ac_ext <<_ACEOF
26860 /* end confdefs.h. */
26861 #include <sys/types.h>
26862 #include <sys/param.h>
26867 #if BYTE_ORDER != BIG_ENDIAN
26874 rm -f conftest.$ac_objext
26875 if { (ac_try="$ac_compile"
26876 case "(($ac_try" in
26877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26878 *) ac_try_echo=$ac_try;;
26880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26881 (eval "$ac_compile") 2>conftest.er1
26883 grep -v '^
*+' conftest.er1 >conftest.err
26885 cat conftest.err >&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } && {
26888 test -z "$ac_c_werror_flag" ||
26889 test ! -s conftest.err
26890 } && test -s conftest.$ac_objext; then
26891 ac_cv_c_bigendian=yes
26893 echo "$as_me: failed program was:" >&5
26894 sed 's
/^
/| /' conftest.$ac_ext >&5
26896 ac_cv_c_bigendian=no
26899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26901 echo "$as_me: failed program was:" >&5
26902 sed 's
/^
/| /' conftest.$ac_ext >&5
26907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26908 if test $ac_cv_c_bigendian = unknown; then
26909 if test "$cross_compiling" = yes; then
26910 ac_cv_c_bigendian=unknown
26912 cat >conftest.$ac_ext <<_ACEOF
26915 cat confdefs.h >>conftest.$ac_ext
26916 cat >>conftest.$ac_ext <<_ACEOF
26917 /* end confdefs.h. */
26919 /* Are we little or big endian? From Harbison&Steele. */
26923 char c[sizeof (long)];
26926 exit (u.c[sizeof (long) - 1] == 1);
26929 rm -f conftest$ac_exeext
26930 if { (ac_try="$ac_link"
26931 case "(($ac_try" in
26932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26933 *) ac_try_echo=$ac_try;;
26935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26936 (eval "$ac_link") 2>&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26940 { (case "(($ac_try" in
26941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26942 *) ac_try_echo=$ac_try;;
26944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26945 (eval "$ac_try") 2>&5
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); }; }; then
26949 ac_cv_c_bigendian=no
26951 echo "$as_me: program exited with status $ac_status" >&5
26952 echo "$as_me: failed program was:" >&5
26953 sed 's
/^
/| /' conftest.$ac_ext >&5
26955 ( exit $ac_status )
26956 ac_cv_c_bigendian=yes
26958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26964 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26965 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26966 if test $ac_cv_c_bigendian = unknown; then
26967 { 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
26968 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;}
26970 if test $ac_cv_c_bigendian = yes; then
26971 cat >>confdefs.h <<\_ACEOF
26972 #define WORDS_BIGENDIAN 1
26981 ac_cpp='$CXXCPP $CPPFLAGS'
26982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26983 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26988 for ac_header in iostream
26990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26991 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26994 echo $ECHO_N "(cached) $ECHO_C" >&6
26996 cat >conftest.$ac_ext <<_ACEOF
26999 cat confdefs.h >>conftest.$ac_ext
27000 cat >>conftest.$ac_ext <<_ACEOF
27001 /* end confdefs.h. */
27004 #include <$ac_header>
27006 rm -f conftest.$ac_objext
27007 if { (ac_try="$ac_compile"
27008 case "(($ac_try" in
27009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27010 *) ac_try_echo=$ac_try;;
27012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27013 (eval "$ac_compile") 2>conftest.er1
27015 grep -v '^
*+' conftest.er1 >conftest.err
27017 cat conftest.err >&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); } && {
27020 test -z "$ac_cxx_werror_flag" ||
27021 test ! -s conftest.err
27022 } && test -s conftest.$ac_objext; then
27023 eval "$as_ac_Header=yes"
27025 echo "$as_me: failed program was:" >&5
27026 sed 's
/^
/| /' conftest.$ac_ext >&5
27028 eval "$as_ac_Header=no"
27031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27033 ac_res=`eval echo '${'$as_ac_Header'}'`
27034 { echo "$as_me:$LINENO: result: $ac_res" >&5
27035 echo "${ECHO_T}$ac_res" >&6; }
27036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27037 cat >>confdefs.h <<_ACEOF
27038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27046 if test "$ac_cv_header_iostream" = "yes" ; then
27049 cat >>confdefs.h <<\_ACEOF
27050 #define wxUSE_IOSTREAMH 1
27056 ac_cpp='$CPP $CPPFLAGS'
27057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27058 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27064 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
27065 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
27066 if test "${wx_cv_cpp_bool+set}" = set; then
27067 echo $ECHO_N "(cached) $ECHO_C" >&6
27072 ac_cpp='$CXXCPP $CPPFLAGS'
27073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27074 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27078 cat >conftest.$ac_ext <<_ACEOF
27081 cat confdefs.h >>conftest.$ac_ext
27082 cat >>conftest.$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27098 rm -f conftest.$ac_objext
27099 if { (ac_try="$ac_compile"
27100 case "(($ac_try" in
27101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27102 *) ac_try_echo=$ac_try;;
27104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27105 (eval "$ac_compile") 2>conftest.er1
27107 grep -v '^
*+' conftest.er1 >conftest.err
27109 cat conftest.err >&5
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); } && {
27112 test -z "$ac_cxx_werror_flag" ||
27113 test ! -s conftest.err
27114 } && test -s conftest.$ac_objext; then
27119 echo "$as_me: failed program was:" >&5
27120 sed 's
/^
/| /' conftest.$ac_ext >&5
27128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27131 ac_cpp='$CPP $CPPFLAGS'
27132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27133 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27138 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
27139 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
27141 if test "$wx_cv_cpp_bool" = "yes"; then
27142 cat >>confdefs.h <<\_ACEOF
27143 #define HAVE_BOOL 1
27150 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
27151 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
27152 if test "${wx_cv_explicit+set}" = set; then
27153 echo $ECHO_N "(cached) $ECHO_C" >&6
27158 ac_cpp='$CXXCPP $CPPFLAGS'
27159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27160 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27164 cat >conftest.$ac_ext <<_ACEOF
27167 cat confdefs.h >>conftest.$ac_ext
27168 cat >>conftest.$ac_ext <<_ACEOF
27169 /* end confdefs.h. */
27171 class Foo { public: explicit Foo(int) {} };
27183 rm -f conftest.$ac_objext
27184 if { (ac_try="$ac_compile"
27185 case "(($ac_try" in
27186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27187 *) ac_try_echo=$ac_try;;
27189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27190 (eval "$ac_compile") 2>conftest.er1
27192 grep -v '^
*+' conftest.er1 >conftest.err
27194 cat conftest.err >&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); } && {
27197 test -z "$ac_cxx_werror_flag" ||
27198 test ! -s conftest.err
27199 } && test -s conftest.$ac_objext; then
27201 cat >conftest.$ac_ext <<_ACEOF
27204 cat confdefs.h >>conftest.$ac_ext
27205 cat >>conftest.$ac_ext <<_ACEOF
27206 /* end confdefs.h. */
27208 class Foo { public: explicit Foo(int) {} };
27209 static void TakeFoo(const Foo& foo) { }
27222 rm -f conftest.$ac_objext
27223 if { (ac_try="$ac_compile"
27224 case "(($ac_try" in
27225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27226 *) ac_try_echo=$ac_try;;
27228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27229 (eval "$ac_compile") 2>conftest.er1
27231 grep -v '^
*+' conftest.er1 >conftest.err
27233 cat conftest.err >&5
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); } && {
27236 test -z "$ac_cxx_werror_flag" ||
27237 test ! -s conftest.err
27238 } && test -s conftest.$ac_objext; then
27241 echo "$as_me: failed program was:" >&5
27242 sed 's
/^
/| /' conftest.$ac_ext >&5
27248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27251 echo "$as_me: failed program was:" >&5
27252 sed 's
/^
/| /' conftest.$ac_ext >&5
27258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 ac_cpp='$CPP $CPPFLAGS'
27262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27263 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27268 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
27269 echo "${ECHO_T}$wx_cv_explicit" >&6; }
27271 if test "$wx_cv_explicit" = "yes"; then
27272 cat >>confdefs.h <<\_ACEOF
27273 #define HAVE_EXPLICIT 1
27279 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
27280 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
27281 if test "${ac_cv_cxx_const_cast+set}" = set; then
27282 echo $ECHO_N "(cached) $ECHO_C" >&6
27286 ac_cpp='$CXXCPP $CPPFLAGS'
27287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27288 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27291 cat >conftest.$ac_ext <<_ACEOF
27294 cat confdefs.h >>conftest.$ac_ext
27295 cat >>conftest.$ac_ext <<_ACEOF
27296 /* end confdefs.h. */
27301 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
27306 rm -f conftest.$ac_objext
27307 if { (ac_try="$ac_compile"
27308 case "(($ac_try" in
27309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27310 *) ac_try_echo=$ac_try;;
27312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27313 (eval "$ac_compile") 2>conftest.er1
27315 grep -v '^
*+' conftest.er1 >conftest.err
27317 cat conftest.err >&5
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); } && {
27320 test -z "$ac_cxx_werror_flag" ||
27321 test ! -s conftest.err
27322 } && test -s conftest.$ac_objext; then
27323 ac_cv_cxx_const_cast=yes
27325 echo "$as_me: failed program was:" >&5
27326 sed 's
/^
/| /' conftest.$ac_ext >&5
27328 ac_cv_cxx_const_cast=no
27331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27333 ac_cpp='$CPP $CPPFLAGS'
27334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27335 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27340 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
27341 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
27342 if test "$ac_cv_cxx_const_cast" = yes; then
27344 cat >>confdefs.h <<\_ACEOF
27345 #define HAVE_CONST_CAST
27350 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
27351 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
27352 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
27353 echo $ECHO_N "(cached) $ECHO_C" >&6
27357 ac_cpp='$CXXCPP $CPPFLAGS'
27358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27359 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27362 cat >conftest.$ac_ext <<_ACEOF
27365 cat confdefs.h >>conftest.$ac_ext
27366 cat >>conftest.$ac_ext <<_ACEOF
27367 /* end confdefs.h. */
27368 #include <typeinfo>
27369 class Base { public : Base () {} virtual void f () = 0;};
27370 class Derived : public Base { public : Derived () {} virtual void f () {} };
27371 class Unrelated { public : Unrelated () {} };
27372 int g (Unrelated&) { return 0; }
27377 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
27382 rm -f conftest.$ac_objext
27383 if { (ac_try="$ac_compile"
27384 case "(($ac_try" in
27385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27386 *) ac_try_echo=$ac_try;;
27388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27389 (eval "$ac_compile") 2>conftest.er1
27391 grep -v '^
*+' conftest.er1 >conftest.err
27393 cat conftest.err >&5
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); } && {
27396 test -z "$ac_cxx_werror_flag" ||
27397 test ! -s conftest.err
27398 } && test -s conftest.$ac_objext; then
27399 ac_cv_cxx_reinterpret_cast=yes
27401 echo "$as_me: failed program was:" >&5
27402 sed 's
/^
/| /' conftest.$ac_ext >&5
27404 ac_cv_cxx_reinterpret_cast=no
27407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27409 ac_cpp='$CPP $CPPFLAGS'
27410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27411 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27416 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
27417 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
27418 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
27420 cat >>confdefs.h <<\_ACEOF
27421 #define HAVE_REINTERPRET_CAST
27426 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
27427 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
27428 if test "${ac_cv_cxx_static_cast+set}" = set; then
27429 echo $ECHO_N "(cached) $ECHO_C" >&6
27433 ac_cpp='$CXXCPP $CPPFLAGS'
27434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27435 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27438 cat >conftest.$ac_ext <<_ACEOF
27441 cat confdefs.h >>conftest.$ac_ext
27442 cat >>conftest.$ac_ext <<_ACEOF
27443 /* end confdefs.h. */
27444 #include <typeinfo>
27445 class Base { public : Base () {} virtual void f () = 0; };
27446 class Derived : public Base { public : Derived () {} virtual void f () {} };
27447 int g (Derived&) { return 0; }
27452 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
27457 rm -f conftest.$ac_objext
27458 if { (ac_try="$ac_compile"
27459 case "(($ac_try" in
27460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27461 *) ac_try_echo=$ac_try;;
27463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27464 (eval "$ac_compile") 2>conftest.er1
27466 grep -v '^
*+' conftest.er1 >conftest.err
27468 cat conftest.err >&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); } && {
27471 test -z "$ac_cxx_werror_flag" ||
27472 test ! -s conftest.err
27473 } && test -s conftest.$ac_objext; then
27474 ac_cv_cxx_static_cast=yes
27476 echo "$as_me: failed program was:" >&5
27477 sed 's
/^
/| /' conftest.$ac_ext >&5
27479 ac_cv_cxx_static_cast=no
27482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27484 ac_cpp='$CPP $CPPFLAGS'
27485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27486 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27491 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
27492 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
27493 if test "$ac_cv_cxx_static_cast" = yes; then
27495 cat >>confdefs.h <<\_ACEOF
27496 #define HAVE_STATIC_CAST
27502 if test "x$SUNCXX" = xyes; then
27503 CXXFLAGS="-features=tmplife $CXXFLAGS"
27506 if test "x$SUNCC" = xyes; then
27507 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
27510 if test "x$SGICC" = "xyes"; then
27511 CFLAGS="-woff 3970 $CFLAGS"
27513 if test "x$SGICXX" = "xyes"; then
27514 CXXFLAGS="-woff 3970 $CXXFLAGS"
27517 if test "x$HPCC" = "xyes"; then
27518 CFLAGS="+W 2011,2450 $CFLAGS"
27520 if test "x$HPCXX" = "xyes"; then
27521 CXXFLAGS="+W 2340 $CXXFLAGS"
27524 if test "x$COMPAQCXX" = "xyes"; then
27525 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
27529 ac_cpp='$CXXCPP $CPPFLAGS'
27530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27531 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27535 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
27536 if test "$wxUSE_UNICODE" = "yes"; then
27537 std_string="std::wstring"
27538 char_type="wchar_t"
27540 std_string="std::string"
27544 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
27545 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
27546 if test "${wx_cv_class_stdstring+set}" = set; then
27547 echo $ECHO_N "(cached) $ECHO_C" >&6
27550 cat >conftest.$ac_ext <<_ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27565 rm -f conftest.$ac_objext
27566 if { (ac_try="$ac_compile"
27567 case "(($ac_try" in
27568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27569 *) ac_try_echo=$ac_try;;
27571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27572 (eval "$ac_compile") 2>conftest.er1
27574 grep -v '^
*+' conftest.er1 >conftest.err
27576 cat conftest.err >&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); } && {
27579 test -z "$ac_cxx_werror_flag" ||
27580 test ! -s conftest.err
27581 } && test -s conftest.$ac_objext; then
27582 wx_cv_class_stdstring=yes
27584 echo "$as_me: failed program was:" >&5
27585 sed 's
/^
/| /' conftest.$ac_ext >&5
27587 wx_cv_class_stdstring=no
27591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27595 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27596 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27598 if test "$wx_cv_class_stdstring" = yes; then
27599 if test "$wxUSE_UNICODE" = "yes"; then
27600 cat >>confdefs.h <<\_ACEOF
27601 #define HAVE_STD_WSTRING 1
27606 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27607 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27608 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27609 echo $ECHO_N "(cached) $ECHO_C" >&6
27612 cat >conftest.$ac_ext <<_ACEOF
27615 cat confdefs.h >>conftest.$ac_ext
27616 cat >>conftest.$ac_ext <<_ACEOF
27617 /* end confdefs.h. */
27619 #ifdef HAVE_WCHAR_H
27621 # include <stddef.h>
27623 # include <wchar.h>
27625 #ifdef HAVE_STDLIB_H
27626 # include <stdlib.h>
27634 std::basic_string<$char_type> foo;
27635 const $char_type* dummy = foo.c_str();
27640 rm -f conftest.$ac_objext
27641 if { (ac_try="$ac_compile"
27642 case "(($ac_try" in
27643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27644 *) ac_try_echo=$ac_try;;
27646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27647 (eval "$ac_compile") 2>conftest.er1
27649 grep -v '^
*+' conftest.er1 >conftest.err
27651 cat conftest.err >&5
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); } && {
27654 test -z "$ac_cxx_werror_flag" ||
27655 test ! -s conftest.err
27656 } && test -s conftest.$ac_objext; then
27657 wx_cv_class_stdbasicstring=yes
27659 echo "$as_me: failed program was:" >&5
27660 sed 's
/^
/| /' conftest.$ac_ext >&5
27662 wx_cv_class_stdbasicstring=no
27666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27670 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27671 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27673 if test "$wx_cv_class_stdbasicstring" != yes; then
27674 if test "$wxUSE_STL" = "yes"; then
27675 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27676 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27677 { (exit 1); exit 1; }; }
27678 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27679 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27680 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27681 { (exit 1); exit 1; }; }
27683 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27684 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27685 wxUSE_STD_STRING=no
27691 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27692 { echo "$as_me:$LINENO: checking for std::istream" >&5
27693 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27694 if test "${ac_cv_type_std__istream+set}" = set; then
27695 echo $ECHO_N "(cached) $ECHO_C" >&6
27697 cat >conftest.$ac_ext <<_ACEOF
27700 cat confdefs.h >>conftest.$ac_ext
27701 cat >>conftest.$ac_ext <<_ACEOF
27702 /* end confdefs.h. */
27703 #include <iostream>
27705 typedef std::istream ac__type_new_;
27709 if ((ac__type_new_ *) 0)
27711 if (sizeof (ac__type_new_))
27717 rm -f conftest.$ac_objext
27718 if { (ac_try="$ac_compile"
27719 case "(($ac_try" in
27720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27721 *) ac_try_echo=$ac_try;;
27723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27724 (eval "$ac_compile") 2>conftest.er1
27726 grep -v '^
*+' conftest.er1 >conftest.err
27728 cat conftest.err >&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } && {
27731 test -z "$ac_cxx_werror_flag" ||
27732 test ! -s conftest.err
27733 } && test -s conftest.$ac_objext; then
27734 ac_cv_type_std__istream=yes
27736 echo "$as_me: failed program was:" >&5
27737 sed 's
/^
/| /' conftest.$ac_ext >&5
27739 ac_cv_type_std__istream=no
27742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27744 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27745 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27746 if test $ac_cv_type_std__istream = yes; then
27748 cat >>confdefs.h <<_ACEOF
27749 #define HAVE_STD__ISTREAM 1
27754 wxUSE_STD_IOSTREAM=no
27756 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27757 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27758 if test "${ac_cv_type_std__ostream+set}" = set; then
27759 echo $ECHO_N "(cached) $ECHO_C" >&6
27761 cat >conftest.$ac_ext <<_ACEOF
27764 cat confdefs.h >>conftest.$ac_ext
27765 cat >>conftest.$ac_ext <<_ACEOF
27766 /* end confdefs.h. */
27767 #include <iostream>
27769 typedef std::ostream ac__type_new_;
27773 if ((ac__type_new_ *) 0)
27775 if (sizeof (ac__type_new_))
27781 rm -f conftest.$ac_objext
27782 if { (ac_try="$ac_compile"
27783 case "(($ac_try" in
27784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27785 *) ac_try_echo=$ac_try;;
27787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27788 (eval "$ac_compile") 2>conftest.er1
27790 grep -v '^
*+' conftest.er1 >conftest.err
27792 cat conftest.err >&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); } && {
27795 test -z "$ac_cxx_werror_flag" ||
27796 test ! -s conftest.err
27797 } && test -s conftest.$ac_objext; then
27798 ac_cv_type_std__ostream=yes
27800 echo "$as_me: failed program was:" >&5
27801 sed 's
/^
/| /' conftest.$ac_ext >&5
27803 ac_cv_type_std__ostream=no
27806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27808 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27809 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27810 if test $ac_cv_type_std__ostream = yes; then
27812 cat >>confdefs.h <<_ACEOF
27813 #define HAVE_STD__OSTREAM 1
27818 wxUSE_STD_IOSTREAM=no
27822 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27823 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27824 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27825 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27826 { (exit 1); exit 1; }; }
27828 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27829 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27834 if test "$wxUSE_STL" = "yes"; then
27835 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27836 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27837 if test "${wx_cv_lib_stl+set}" = set; then
27838 echo $ECHO_N "(cached) $ECHO_C" >&6
27840 cat >conftest.$ac_ext <<_ACEOF
27843 cat confdefs.h >>conftest.$ac_ext
27844 cat >>conftest.$ac_ext <<_ACEOF
27845 /* end confdefs.h. */
27847 #include <functional>
27848 #include <algorithm>
27854 std::vector<int> moo;
27855 std::list<int> foo;
27856 std::vector<int>::iterator it =
27857 std::find_if(moo.begin(), moo.end(),
27858 std::bind2nd(std::less<int>(), 3));
27863 rm -f conftest.$ac_objext
27864 if { (ac_try="$ac_compile"
27865 case "(($ac_try" in
27866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27867 *) ac_try_echo=$ac_try;;
27869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27870 (eval "$ac_compile") 2>conftest.er1
27872 grep -v '^
*+' conftest.er1 >conftest.err
27874 cat conftest.err >&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } && {
27877 test -z "$ac_cxx_werror_flag" ||
27878 test ! -s conftest.err
27879 } && test -s conftest.$ac_objext; then
27882 echo "$as_me: failed program was:" >&5
27883 sed 's
/^
/| /' conftest.$ac_ext >&5
27889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27892 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27893 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27895 if test "$wx_cv_lib_stl" != yes; then
27896 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27897 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27898 { (exit 1); exit 1; }; }
27901 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27902 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27903 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27904 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 cat >conftest.$ac_ext <<_ACEOF
27909 cat confdefs.h >>conftest.$ac_ext
27910 cat >>conftest.$ac_ext <<_ACEOF
27911 /* end confdefs.h. */
27916 std::string foo, bar;
27918 foo.compare(1, 1, bar);
27919 foo.compare(1, 1, bar, 1, 1);
27921 foo.compare(1, 1, "");
27922 foo.compare(1, 1, "", 2);
27927 rm -f conftest.$ac_objext
27928 if { (ac_try="$ac_compile"
27929 case "(($ac_try" in
27930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27931 *) ac_try_echo=$ac_try;;
27933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27934 (eval "$ac_compile") 2>conftest.er1
27936 grep -v '^
*+' conftest.er1 >conftest.err
27938 cat conftest.err >&5
27939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940 (exit $ac_status); } && {
27941 test -z "$ac_cxx_werror_flag" ||
27942 test ! -s conftest.err
27943 } && test -s conftest.$ac_objext; then
27944 wx_cv_func_stdstring_compare=yes
27946 echo "$as_me: failed program was:" >&5
27947 sed 's
/^
/| /' conftest.$ac_ext >&5
27949 wx_cv_func_stdstring_compare=no
27953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27956 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27957 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27959 if test "$wx_cv_func_stdstring_compare" = yes; then
27960 cat >>confdefs.h <<\_ACEOF
27961 #define HAVE_STD_STRING_COMPARE 1
27966 { echo "$as_me:$LINENO: checking for hash_map" >&5
27967 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27968 if test "${ac_cv_header_hash_map+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27971 cat >conftest.$ac_ext <<_ACEOF
27974 cat confdefs.h >>conftest.$ac_ext
27975 cat >>conftest.$ac_ext <<_ACEOF
27976 /* end confdefs.h. */
27980 #include <hash_map>
27982 rm -f conftest.$ac_objext
27983 if { (ac_try="$ac_compile"
27984 case "(($ac_try" in
27985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27986 *) ac_try_echo=$ac_try;;
27988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27989 (eval "$ac_compile") 2>conftest.er1
27991 grep -v '^
*+' conftest.er1 >conftest.err
27993 cat conftest.err >&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } && {
27996 test -z "$ac_cxx_werror_flag" ||
27997 test ! -s conftest.err
27998 } && test -s conftest.$ac_objext; then
27999 ac_cv_header_hash_map=yes
28001 echo "$as_me: failed program was:" >&5
28002 sed 's
/^
/| /' conftest.$ac_ext >&5
28004 ac_cv_header_hash_map=no
28007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28009 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
28010 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
28011 if test $ac_cv_header_hash_map = yes; then
28012 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
28013 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
28014 if test "${wx_cv_class_stdhashmapset+set}" = set; then
28015 echo $ECHO_N "(cached) $ECHO_C" >&6
28017 cat >conftest.$ac_ext <<_ACEOF
28020 cat confdefs.h >>conftest.$ac_ext
28021 cat >>conftest.$ac_ext <<_ACEOF
28022 /* end confdefs.h. */
28023 #include <hash_map>
28024 #include <hash_set>
28028 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
28029 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
28034 rm -f conftest.$ac_objext
28035 if { (ac_try="$ac_compile"
28036 case "(($ac_try" in
28037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28038 *) ac_try_echo=$ac_try;;
28040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28041 (eval "$ac_compile") 2>conftest.er1
28043 grep -v '^
*+' conftest.er1 >conftest.err
28045 cat conftest.err >&5
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); } && {
28048 test -z "$ac_cxx_werror_flag" ||
28049 test ! -s conftest.err
28050 } && test -s conftest.$ac_objext; then
28051 wx_cv_class_stdhashmapset=yes
28053 echo "$as_me: failed program was:" >&5
28054 sed 's
/^
/| /' conftest.$ac_ext >&5
28056 wx_cv_class_stdhashmapset=no
28059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28063 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
28064 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
28069 if test "$wx_cv_class_stdhashmapset" = yes; then
28070 cat >>confdefs.h <<\_ACEOF
28071 #define HAVE_HASH_MAP 1
28074 cat >>confdefs.h <<\_ACEOF
28075 #define HAVE_STD_HASH_MAP 1
28080 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
28081 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
28082 if test "${ac_cv_header_ext_hash_map+set}" = set; then
28083 echo $ECHO_N "(cached) $ECHO_C" >&6
28085 cat >conftest.$ac_ext <<_ACEOF
28088 cat confdefs.h >>conftest.$ac_ext
28089 cat >>conftest.$ac_ext <<_ACEOF
28090 /* end confdefs.h. */
28094 #include <ext/hash_map>
28096 rm -f conftest.$ac_objext
28097 if { (ac_try="$ac_compile"
28098 case "(($ac_try" in
28099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28100 *) ac_try_echo=$ac_try;;
28102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28103 (eval "$ac_compile") 2>conftest.er1
28105 grep -v '^
*+' conftest.er1 >conftest.err
28107 cat conftest.err >&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); } && {
28110 test -z "$ac_cxx_werror_flag" ||
28111 test ! -s conftest.err
28112 } && test -s conftest.$ac_objext; then
28113 ac_cv_header_ext_hash_map=yes
28115 echo "$as_me: failed program was:" >&5
28116 sed 's
/^
/| /' conftest.$ac_ext >&5
28118 ac_cv_header_ext_hash_map=no
28121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28123 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
28124 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
28125 if test $ac_cv_header_ext_hash_map = yes; then
28126 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
28127 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
28128 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
28129 echo $ECHO_N "(cached) $ECHO_C" >&6
28131 cat >conftest.$ac_ext <<_ACEOF
28134 cat confdefs.h >>conftest.$ac_ext
28135 cat >>conftest.$ac_ext <<_ACEOF
28136 /* end confdefs.h. */
28137 #include <ext/hash_map>
28138 #include <ext/hash_set>
28142 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
28143 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
28148 rm -f conftest.$ac_objext
28149 if { (ac_try="$ac_compile"
28150 case "(($ac_try" in
28151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28152 *) ac_try_echo=$ac_try;;
28154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28155 (eval "$ac_compile") 2>conftest.er1
28157 grep -v '^
*+' conftest.er1 >conftest.err
28159 cat conftest.err >&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } && {
28162 test -z "$ac_cxx_werror_flag" ||
28163 test ! -s conftest.err
28164 } && test -s conftest.$ac_objext; then
28165 wx_cv_class_gnuhashmapset=yes
28167 echo "$as_me: failed program was:" >&5
28168 sed 's
/^
/| /' conftest.$ac_ext >&5
28170 wx_cv_class_gnuhashmapset=no
28173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28177 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
28178 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
28183 if test "$wx_cv_class_gnuhashmapset" = yes; then
28184 cat >>confdefs.h <<\_ACEOF
28185 #define HAVE_EXT_HASH_MAP 1
28188 cat >>confdefs.h <<\_ACEOF
28189 #define HAVE_GNU_CXX_HASH_MAP 1
28196 ac_cpp='$CPP $CPPFLAGS'
28197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
28198 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
28199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28204 /usr/local/include \
28206 /usr/Motif-2.1/include \
28207 /usr/Motif-1.2/include \
28208 /usr/include/Motif1.2 \
28211 /usr/openwin/include \
28215 /usr/X11R6/include \
28216 /usr/X11R6.4/include \
28217 /usr/X11R5/include \
28218 /usr/X11R4/include \
28220 /usr/include/X11R6 \
28221 /usr/include/X11R5 \
28222 /usr/include/X11R4 \
28224 /usr/local/X11R6/include \
28225 /usr/local/X11R5/include \
28226 /usr/local/X11R4/include \
28228 /usr/local/include/X11R6 \
28229 /usr/local/include/X11R5 \
28230 /usr/local/include/X11R4 \
28234 /usr/local/X11/include \
28235 /usr/local/include/X11 \
28237 /usr/XFree86/include/X11 \
28240 /usr/openwin/share/include"
28242 { echo "$as_me:$LINENO: checking for libraries directory" >&5
28243 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
28247 if test "${wx_cv_std_libpath+set}" = set; then
28248 echo $ECHO_N "(cached) $ECHO_C" >&6
28251 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
28252 for e in a so sl dylib dll.a; do
28254 if test -f $libc; then
28257 cat >conftest.$ac_ext <<_ACEOF
28258 int main() { return 0; }
28260 rm -f conftest.$ac_objext conftest$ac_exeext
28261 if { (ac_try="$ac_link"
28262 case "(($ac_try" in
28263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28264 *) ac_try_echo=$ac_try;;
28266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28267 (eval "$ac_link") 2>conftest.er1
28269 grep -v '^
*+' conftest.er1 >conftest.err
28271 cat conftest.err >&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); } && {
28274 test -z "$ac_c_werror_flag" ||
28275 test ! -s conftest.err
28276 } && test -s conftest$ac_exeext &&
28277 $as_test_x conftest$ac_exeext; then
28278 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
28280 echo "$as_me: failed program was:" >&5
28281 sed 's
/^
/| /' conftest.$ac_ext >&5
28286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28287 conftest$ac_exeext conftest.$ac_ext
28289 if test "x$wx_cv_std_libpath" != "x"; then
28295 if test "x$wx_cv_std_libpath" = "x"; then
28296 wx_cv_std_libpath="lib"
28305 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
28306 wx_cv_std_libpath="lib/64"
28308 wx_cv_std_libpath="lib"
28313 if test "$ac_cv_sizeof_void_p" = 8 -a \
28314 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
28315 wx_cv_std_libpath="lib64"
28317 wx_cv_std_libpath="lib"
28322 wx_cv_std_libpath="lib";
28326 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
28327 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
28329 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
28331 if test "$build" != "$host" -a "$GCC" = yes; then
28332 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
28333 cross_root=`dirname $cross_root`
28334 cross_root=`dirname $cross_root`
28336 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
28337 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
28338 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
28340 if test -z "$PKG_CONFIG_PATH"; then
28341 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
28342 export PKG_CONFIG_PATH
28345 if test -z "$x_includes" -o "$x_includes" = NONE; then
28348 for ac_dir in $SEARCH_INCLUDE /usr/include;
28350 if test -f "$ac_dir/X11/Intrinsic.h"; then
28351 ac_find_includes=$ac_dir
28356 x_includes=$ac_find_includes
28358 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
28361 for ac_dir in $SEARCH_LIB;
28363 for ac_extension in a so sl dylib dll.a; do
28364 if test -f "$ac_dir/libXt.$ac_extension"; then
28365 ac_find_libraries=$ac_dir
28371 x_libraries=$ac_find_libraries
28377 cat >confcache <<\_ACEOF
28378 # This file is a shell script that caches the results of configure
28379 # tests run on this system so they can be shared between configure
28380 # scripts and configure runs, see configure's option
--config-cache.
28381 # It is not useful on other systems. If it contains results you don't
28382 # want to keep, you may remove or edit it.
28384 # config.status only pays attention to the cache file if you give it
28385 # the --recheck option to rerun configure.
28387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28389 # following values.
28393 # The following way of writing the cache mishandles newlines in values,
28394 # but we know of no workaround that is simple, portable, and efficient.
28395 # So, we kill variables containing newlines.
28396 # Ultrix sh set writes to stderr and can't be redirected directly,
28397 # and sets the high bit in the cache file unless we assign to the vars.
28399 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28400 eval ac_val
=\$
$ac_var
28404 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
28405 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
28408 _
| IFS
| as_nl
) ;; #(
28409 *) $as_unset $ac_var ;;
28415 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28416 *${as_nl}ac_space
=\
*)
28417 # `set' does not quote correctly, so add quotes (double-quote
28418 # substitution turns \\\\ into \\, and sed turns \\ into \).
28421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28424 # `set' quotes correctly as required by POSIX, so do not add quotes.
28425 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28434 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28436 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28438 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
28439 if test -w "$cache_file"; then
28440 test "x$cache_file" != "x/dev/null" &&
28441 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
28442 echo "$as_me: updating cache $cache_file" >&6;}
28443 cat confcache
>$cache_file
28445 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
28446 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28451 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
28452 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
28453 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
28454 if test "${wx_cv_lib_glibc21+set}" = set; then
28455 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 cat >conftest.
$ac_ext <<_ACEOF
28461 cat confdefs.h
>>conftest.
$ac_ext
28462 cat >>conftest.
$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28464 #include <features.h>
28469 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
28477 rm -f conftest.
$ac_objext
28478 if { (ac_try
="$ac_compile"
28479 case "(($ac_try" in
28480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28481 *) ac_try_echo=$ac_try;;
28483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28484 (eval "$ac_compile") 2>conftest.er1
28486 grep -v '^ *+' conftest.er1 >conftest.err
28488 cat conftest.err >&5
28489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28490 (exit $ac_status); } && {
28491 test -z "$ac_c_werror_flag" ||
28492 test ! -s conftest.err
28493 } && test -s conftest.$ac_objext; then
28495 wx_cv_lib_glibc21=yes
28498 echo "$as_me: failed program was:" >&5
28499 sed 's/^/| /' conftest.$ac_ext >&5
28502 wx_cv_lib_glibc21=no
28507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28510 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
28511 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
28512 if test "$wx_cv_lib_glibc21" = "yes"; then
28513 cat >>confdefs.h <<\_ACEOF
28514 #define wxHAVE_GLIBC2 1
28520 if test "x$wx_cv_lib_glibc21" = "xyes"; then
28521 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
28522 cat >>confdefs.h <<\_ACEOF
28523 #define _GNU_SOURCE 1
28534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28538 echo $ECHO_N "(cached) $ECHO_C" >&6
28540 cat >conftest.$ac_ext <<_ACEOF
28543 cat confdefs.h >>conftest.$ac_ext
28544 cat >>conftest.$ac_ext <<_ACEOF
28545 /* end confdefs.h. */
28546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28548 #define $ac_func innocuous_$ac_func
28550 /* System header to define __stub macros and hopefully few prototypes,
28551 which can conflict with char $ac_func (); below.
28552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28553 <limits.h> exists even on freestanding compilers. */
28556 # include <limits.h>
28558 # include <assert.h>
28563 /* Override any GCC internal prototype to avoid an error.
28564 Use char because int might match the return type of a GCC
28565 builtin and then its argument prototype would still apply. */
28570 /* The GNU C library defines this for functions which it implements
28571 to always fail with ENOSYS. Some functions are actually named
28572 something starting with __ and the normal name is an alias. */
28573 #if defined __stub_$ac_func || defined __stub___$ac_func
28580 return $ac_func ();
28585 rm -f conftest.$ac_objext conftest$ac_exeext
28586 if { (ac_try="$ac_link"
28587 case "(($ac_try" in
28588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28589 *) ac_try_echo
=$ac_try;;
28591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28592 (eval "$ac_link") 2>conftest.er1
28594 grep -v '^ *+' conftest.er1
>conftest.err
28596 cat conftest.err
>&5
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); } && {
28599 test -z "$ac_c_werror_flag" ||
28600 test ! -s conftest.err
28601 } && test -s conftest
$ac_exeext &&
28602 $as_test_x conftest
$ac_exeext; then
28603 eval "$as_ac_var=yes"
28605 echo "$as_me: failed program was:" >&5
28606 sed 's/^/| /' conftest.
$ac_ext >&5
28608 eval "$as_ac_var=no"
28611 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28612 conftest
$ac_exeext conftest.
$ac_ext
28614 ac_res
=`eval echo '${'$as_ac_var'}'`
28615 { echo "$as_me:$LINENO: result: $ac_res" >&5
28616 echo "${ECHO_T}$ac_res" >&6; }
28617 if test `eval echo '${'$as_ac_var'}'` = yes; then
28618 cat >>confdefs.h
<<_ACEOF
28619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28626 for ac_func
in floor
28628 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28629 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28631 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28632 echo $ECHO_N "(cached) $ECHO_C" >&6
28634 cat >conftest.
$ac_ext <<_ACEOF
28637 cat confdefs.h
>>conftest.
$ac_ext
28638 cat >>conftest.
$ac_ext <<_ACEOF
28639 /* end confdefs.h. */
28640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28642 #define $ac_func innocuous_$ac_func
28644 /* System header to define __stub macros and hopefully few prototypes,
28645 which can conflict with char $ac_func (); below.
28646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28647 <limits.h> exists even on freestanding compilers. */
28650 # include <limits.h>
28652 # include <assert.h>
28657 /* Override any GCC internal prototype to avoid an error.
28658 Use char because int might match the return type of a GCC
28659 builtin and then its argument prototype would still apply. */
28664 /* The GNU C library defines this for functions which it implements
28665 to always fail with ENOSYS. Some functions are actually named
28666 something starting with __ and the normal name is an alias. */
28667 #if defined __stub_$ac_func || defined __stub___$ac_func
28674 return $ac_func ();
28679 rm -f conftest.
$ac_objext conftest
$ac_exeext
28680 if { (ac_try
="$ac_link"
28681 case "(($ac_try" in
28682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28683 *) ac_try_echo=$ac_try;;
28685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28686 (eval "$ac_link") 2>conftest.er1
28688 grep -v '^ *+' conftest.er1 >conftest.err
28690 cat conftest.err >&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } && {
28693 test -z "$ac_c_werror_flag" ||
28694 test ! -s conftest.err
28695 } && test -s conftest$ac_exeext &&
28696 $as_test_x conftest$ac_exeext; then
28697 eval "$as_ac_var=yes"
28699 echo "$as_me: failed program was:" >&5
28700 sed 's/^/| /' conftest.$ac_ext >&5
28702 eval "$as_ac_var=no"
28705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28706 conftest$ac_exeext conftest.$ac_ext
28708 ac_res=`eval echo '${'$as_ac_var'}'`
28709 { echo "$as_me:$LINENO: result: $ac_res" >&5
28710 echo "${ECHO_T}$ac_res" >&6; }
28711 if test `eval echo '${'$as_ac_var'}'` = yes; then
28712 cat >>confdefs.h <<_ACEOF
28713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28719 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28720 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28721 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28722 { echo "$as_me:$LINENO: result: yes" >&5
28723 echo "${ECHO_T}yes" >&6; }
28725 { echo "$as_me:$LINENO: result: no" >&5
28726 echo "${ECHO_T}no" >&6; }
28728 # use different functions to avoid configure caching
28734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28737 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28738 echo $ECHO_N "(cached) $ECHO_C" >&6
28740 cat >conftest.$ac_ext <<_ACEOF
28743 cat confdefs.h >>conftest.$ac_ext
28744 cat >>conftest.$ac_ext <<_ACEOF
28745 /* end confdefs.h. */
28746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28748 #define $ac_func innocuous_$ac_func
28750 /* System header to define __stub macros and hopefully few prototypes,
28751 which can conflict with char $ac_func (); below.
28752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28753 <limits.h> exists even on freestanding compilers. */
28756 # include <limits.h>
28758 # include <assert.h>
28763 /* Override any GCC internal prototype to avoid an error.
28764 Use char because int might match the return type of a GCC
28765 builtin and then its argument prototype would still apply. */
28770 /* The GNU C library defines this for functions which it implements
28771 to always fail with ENOSYS. Some functions are actually named
28772 something starting with __ and the normal name is an alias. */
28773 #if defined __stub_$ac_func || defined __stub___$ac_func
28780 return $ac_func ();
28785 rm -f conftest.$ac_objext conftest$ac_exeext
28786 if { (ac_try="$ac_link"
28787 case "(($ac_try" in
28788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28789 *) ac_try_echo
=$ac_try;;
28791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28792 (eval "$ac_link") 2>conftest.er1
28794 grep -v '^ *+' conftest.er1
>conftest.err
28796 cat conftest.err
>&5
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); } && {
28799 test -z "$ac_c_werror_flag" ||
28800 test ! -s conftest.err
28801 } && test -s conftest
$ac_exeext &&
28802 $as_test_x conftest
$ac_exeext; then
28803 eval "$as_ac_var=yes"
28805 echo "$as_me: failed program was:" >&5
28806 sed 's/^/| /' conftest.
$ac_ext >&5
28808 eval "$as_ac_var=no"
28811 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28812 conftest
$ac_exeext conftest.
$ac_ext
28814 ac_res
=`eval echo '${'$as_ac_var'}'`
28815 { echo "$as_me:$LINENO: result: $ac_res" >&5
28816 echo "${ECHO_T}$ac_res" >&6; }
28817 if test `eval echo '${'$as_ac_var'}'` = yes; then
28818 cat >>confdefs.h
<<_ACEOF
28819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28826 for ac_func
in ceil
28828 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28831 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 cat >conftest.
$ac_ext <<_ACEOF
28837 cat confdefs.h
>>conftest.
$ac_ext
28838 cat >>conftest.
$ac_ext <<_ACEOF
28839 /* end confdefs.h. */
28840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28842 #define $ac_func innocuous_$ac_func
28844 /* System header to define __stub macros and hopefully few prototypes,
28845 which can conflict with char $ac_func (); below.
28846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28847 <limits.h> exists even on freestanding compilers. */
28850 # include <limits.h>
28852 # include <assert.h>
28857 /* Override any GCC internal prototype to avoid an error.
28858 Use char because int might match the return type of a GCC
28859 builtin and then its argument prototype would still apply. */
28864 /* The GNU C library defines this for functions which it implements
28865 to always fail with ENOSYS. Some functions are actually named
28866 something starting with __ and the normal name is an alias. */
28867 #if defined __stub_$ac_func || defined __stub___$ac_func
28874 return $ac_func ();
28879 rm -f conftest.
$ac_objext 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>conftest.er1
28888 grep -v '^ *+' conftest.er1 >conftest.err
28890 cat conftest.err >&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); } && {
28893 test -z "$ac_c_werror_flag" ||
28894 test ! -s conftest.err
28895 } && test -s conftest$ac_exeext &&
28896 $as_test_x conftest$ac_exeext; then
28897 eval "$as_ac_var=yes"
28899 echo "$as_me: failed program was:" >&5
28900 sed 's/^/| /' conftest.$ac_ext >&5
28902 eval "$as_ac_var=no"
28905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28906 conftest$ac_exeext conftest.$ac_ext
28908 ac_res=`eval echo '${'$as_ac_var'}'`
28909 { echo "$as_me:$LINENO: result: $ac_res" >&5
28910 echo "${ECHO_T}$ac_res" >&6; }
28911 if test `eval echo '${'$as_ac_var'}'` = yes; then
28912 cat >>confdefs.h <<_ACEOF
28913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28919 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28920 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28921 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28922 { echo "$as_me:$LINENO: result: yes" >&5
28923 echo "${ECHO_T}yes" >&6; }
28925 { echo "$as_me:$LINENO: result: no" >&5
28926 echo "${ECHO_T}no" >&6; }
28927 # not sure we should warn the user, crash, etc.
28932 ac_cpp='$CXXCPP $CPPFLAGS'
28933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28937 if test "wxUSE_UNICODE" = "yes"; then
28939 for wx_func in wcstoull
28941 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28942 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28943 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28947 cat >conftest.$ac_ext <<_ACEOF
28951 cat confdefs.h >>conftest.$ac_ext
28952 cat >>conftest.$ac_ext <<_ACEOF
28953 /* end confdefs.h. */
28956 $ac_includes_default
28972 rm -f conftest.$ac_objext conftest$ac_exeext
28973 if { (ac_try="$ac_link"
28974 case "(($ac_try" in
28975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28976 *) ac_try_echo
=$ac_try;;
28978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28979 (eval "$ac_link") 2>conftest.er1
28981 grep -v '^ *+' conftest.er1
>conftest.err
28983 cat conftest.err
>&5
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); } && {
28986 test -z "$ac_cxx_werror_flag" ||
28987 test ! -s conftest.err
28988 } && test -s conftest
$ac_exeext &&
28989 $as_test_x conftest
$ac_exeext; then
28990 eval wx_cv_func_
$wx_func=yes
28992 echo "$as_me: failed program was:" >&5
28993 sed 's/^/| /' conftest.
$ac_ext >&5
28995 eval wx_cv_func_
$wx_func=no
28998 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28999 conftest
$ac_exeext conftest.
$ac_ext
29002 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
29003 { echo "$as_me:$LINENO: result: $ac_res" >&5
29004 echo "${ECHO_T}$ac_res" >&6; }
29006 if eval test \
$wx_cv_func_$wx_func = yes
29008 cat >>confdefs.h
<<_ACEOF
29009 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
29021 for wx_func
in strtoull
29023 { echo "$as_me:$LINENO: checking for $wx_func" >&5
29024 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
29025 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29029 cat >conftest.
$ac_ext <<_ACEOF
29033 cat confdefs.h
>>conftest.
$ac_ext
29034 cat >>conftest.
$ac_ext <<_ACEOF
29035 /* end confdefs.h. */
29038 $ac_includes_default
29054 rm -f conftest.
$ac_objext conftest
$ac_exeext
29055 if { (ac_try
="$ac_link"
29056 case "(($ac_try" in
29057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29058 *) ac_try_echo=$ac_try;;
29060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29061 (eval "$ac_link") 2>conftest.er1
29063 grep -v '^ *+' conftest.er1 >conftest.err
29065 cat conftest.err >&5
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); } && {
29068 test -z "$ac_cxx_werror_flag" ||
29069 test ! -s conftest.err
29070 } && test -s conftest$ac_exeext &&
29071 $as_test_x conftest$ac_exeext; then
29072 eval wx_cv_func_$wx_func=yes
29074 echo "$as_me: failed program was:" >&5
29075 sed 's/^/| /' conftest.$ac_ext >&5
29077 eval wx_cv_func_$wx_func=no
29080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29081 conftest$ac_exeext conftest.$ac_ext
29084 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
29085 { echo "$as_me:$LINENO: result: $ac_res" >&5
29086 echo "${ECHO_T}$ac_res" >&6; }
29088 if eval test \$wx_cv_func_$wx_func = yes
29090 cat >>confdefs.h <<_ACEOF
29091 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
29103 ac_cpp='$CPP $CPPFLAGS'
29104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29111 if test "$wxUSE_REGEX" != "no"; then
29112 cat >>confdefs.h <<\_ACEOF
29113 #define wxUSE_REGEX 1
29117 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
29118 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
29119 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
29120 wxUSE_REGEX=builtin
29123 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
29124 { echo "$as_me:$LINENO: checking for regex.h" >&5
29125 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
29126 if test "${ac_cv_header_regex_h+set}" = set; then
29127 echo $ECHO_N "(cached) $ECHO_C" >&6
29129 cat >conftest.$ac_ext <<_ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29139 rm -f conftest.$ac_objext
29140 if { (ac_try="$ac_compile"
29141 case "(($ac_try" in
29142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29143 *) ac_try_echo
=$ac_try;;
29145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29146 (eval "$ac_compile") 2>conftest.er1
29148 grep -v '^ *+' conftest.er1
>conftest.err
29150 cat conftest.err
>&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); } && {
29153 test -z "$ac_c_werror_flag" ||
29154 test ! -s conftest.err
29155 } && test -s conftest.
$ac_objext; then
29156 ac_cv_header_regex_h
=yes
29158 echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.
$ac_ext >&5
29161 ac_cv_header_regex_h
=no
29164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29166 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
29167 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
29168 if test $ac_cv_header_regex_h = yes; then
29171 for ac_func
in regcomp re_search
29173 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29174 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29176 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29177 echo $ECHO_N "(cached) $ECHO_C" >&6
29179 cat >conftest.
$ac_ext <<_ACEOF
29182 cat confdefs.h
>>conftest.
$ac_ext
29183 cat >>conftest.
$ac_ext <<_ACEOF
29184 /* end confdefs.h. */
29185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29187 #define $ac_func innocuous_$ac_func
29189 /* System header to define __stub macros and hopefully few prototypes,
29190 which can conflict with char $ac_func (); below.
29191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29192 <limits.h> exists even on freestanding compilers. */
29195 # include <limits.h>
29197 # include <assert.h>
29202 /* Override any GCC internal prototype to avoid an error.
29203 Use char because int might match the return type of a GCC
29204 builtin and then its argument prototype would still apply. */
29209 /* The GNU C library defines this for functions which it implements
29210 to always fail with ENOSYS. Some functions are actually named
29211 something starting with __ and the normal name is an alias. */
29212 #if defined __stub_$ac_func || defined __stub___$ac_func
29219 return $ac_func ();
29224 rm -f conftest.
$ac_objext conftest
$ac_exeext
29225 if { (ac_try
="$ac_link"
29226 case "(($ac_try" in
29227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29228 *) ac_try_echo=$ac_try;;
29230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29231 (eval "$ac_link") 2>conftest.er1
29233 grep -v '^ *+' conftest.er1 >conftest.err
29235 cat conftest.err >&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); } && {
29238 test -z "$ac_c_werror_flag" ||
29239 test ! -s conftest.err
29240 } && test -s conftest$ac_exeext &&
29241 $as_test_x conftest$ac_exeext; then
29242 eval "$as_ac_var=yes"
29244 echo "$as_me: failed program was:" >&5
29245 sed 's/^/| /' conftest.$ac_ext >&5
29247 eval "$as_ac_var=no"
29250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29251 conftest$ac_exeext conftest.$ac_ext
29253 ac_res=`eval echo '${'$as_ac_var'}'`
29254 { echo "$as_me:$LINENO: result: $ac_res" >&5
29255 echo "${ECHO_T}$ac_res" >&6; }
29256 if test `eval echo '${'$as_ac_var'}'` = yes; then
29257 cat >>confdefs.h <<_ACEOF
29258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29268 if test "x$ac_cv_func_regcomp" != "xyes"; then
29269 if test "$wxUSE_REGEX" = "sys" ; then
29270 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
29271 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
29272 { (exit 1); exit 1; }; }
29274 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
29275 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
29276 wxUSE_REGEX=builtin
29280 cat >>confdefs.h <<\_ACEOF
29281 #define WX_NO_REGEX_ADVANCED 1
29290 if test "$wxUSE_ZLIB" != "no" ; then
29291 cat >>confdefs.h <<\_ACEOF
29292 #define wxUSE_ZLIB 1
29296 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
29297 if test "$USE_DARWIN" = 1; then
29298 system_zlib_h_ok="yes"
29300 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
29301 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
29302 if test "${ac_cv_header_zlib_h+set}" = set; then
29303 echo $ECHO_N "(cached) $ECHO_C" >&6
29305 if test "$cross_compiling" = yes; then
29306 unset ac_cv_header_zlib_h
29309 cat >conftest.$ac_ext <<_ACEOF
29312 cat confdefs.h >>conftest.$ac_ext
29313 cat >>conftest.$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29321 FILE *f=fopen("conftestval", "w");
29324 ZLIB_VERSION[0] == '1' &&
29325 (ZLIB_VERSION[2] > '1' ||
29326 (ZLIB_VERSION[2] == '1' &&
29327 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
29332 rm -f conftest$ac_exeext
29333 if { (ac_try="$ac_link"
29334 case "(($ac_try" in
29335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29336 *) ac_try_echo
=$ac_try;;
29338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29339 (eval "$ac_link") 2>&5
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29343 { (case "(($ac_try" in
29344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29345 *) ac_try_echo=$ac_try;;
29347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29348 (eval "$ac_try") 2>&5
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); }; }; then
29352 ac_cv_header_zlib_h=`cat conftestval
`
29354 echo "$as_me: program exited with status $ac_status" >&5
29355 echo "$as_me: failed program was:" >&5
29356 sed 's/^/| /' conftest.$ac_ext >&5
29358 ( exit $ac_status )
29359 ac_cv_header_zlib_h=no
29361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29367 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
29368 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
29369 { echo "$as_me:$LINENO: checking for zlib.h" >&5
29370 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
29371 if test "${ac_cv_header_zlib_h+set}" = set; then
29372 echo $ECHO_N "(cached) $ECHO_C" >&6
29374 cat >conftest.$ac_ext <<_ACEOF
29377 cat confdefs.h >>conftest.$ac_ext
29378 cat >>conftest.$ac_ext <<_ACEOF
29379 /* end confdefs.h. */
29384 rm -f conftest.$ac_objext
29385 if { (ac_try="$ac_compile"
29386 case "(($ac_try" in
29387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29388 *) ac_try_echo
=$ac_try;;
29390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29391 (eval "$ac_compile") 2>conftest.er1
29393 grep -v '^ *+' conftest.er1
>conftest.err
29395 cat conftest.err
>&5
29396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29397 (exit $ac_status); } && {
29398 test -z "$ac_c_werror_flag" ||
29399 test ! -s conftest.err
29400 } && test -s conftest.
$ac_objext; then
29401 ac_cv_header_zlib_h
=yes
29403 echo "$as_me: failed program was:" >&5
29404 sed 's/^/| /' conftest.
$ac_ext >&5
29406 ac_cv_header_zlib_h
=no
29409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29411 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
29412 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
29416 system_zlib_h_ok
=$ac_cv_header_zlib_h
29419 if test "$system_zlib_h_ok" = "yes"; then
29420 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
29421 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
29422 if test "${ac_cv_lib_z_deflate+set}" = set; then
29423 echo $ECHO_N "(cached) $ECHO_C" >&6
29425 ac_check_lib_save_LIBS
=$LIBS
29427 cat >conftest.
$ac_ext <<_ACEOF
29430 cat confdefs.h
>>conftest.
$ac_ext
29431 cat >>conftest.
$ac_ext <<_ACEOF
29432 /* end confdefs.h. */
29434 /* Override any GCC internal prototype to avoid an error.
29435 Use char because int might match the return type of a GCC
29436 builtin and then its argument prototype would still apply. */
29449 rm -f conftest.
$ac_objext conftest
$ac_exeext
29450 if { (ac_try
="$ac_link"
29451 case "(($ac_try" in
29452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29453 *) ac_try_echo=$ac_try;;
29455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29456 (eval "$ac_link") 2>conftest.er1
29458 grep -v '^ *+' conftest.er1 >conftest.err
29460 cat conftest.err >&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); } && {
29463 test -z "$ac_c_werror_flag" ||
29464 test ! -s conftest.err
29465 } && test -s conftest$ac_exeext &&
29466 $as_test_x conftest$ac_exeext; then
29467 ac_cv_lib_z_deflate=yes
29469 echo "$as_me: failed program was:" >&5
29470 sed 's/^/| /' conftest.$ac_ext >&5
29472 ac_cv_lib_z_deflate=no
29475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29476 conftest$ac_exeext conftest.$ac_ext
29477 LIBS=$ac_check_lib_save_LIBS
29479 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29480 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29481 if test $ac_cv_lib_z_deflate = yes; then
29487 if test "x$ZLIB_LINK" = "x" ; then
29488 if test "$wxUSE_ZLIB" = "sys" ; then
29489 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29490 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29491 { (exit 1); exit 1; }; }
29493 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29494 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29505 if test "$wxUSE_LIBPNG" != "no" ; then
29506 cat >>confdefs.h <<\_ACEOF
29507 #define wxUSE_LIBPNG 1
29511 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29512 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29513 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29517 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29518 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29519 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29520 wxUSE_LIBPNG=builtin
29523 if test "$wxUSE_MGL" != 1 ; then
29524 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29525 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29526 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29527 if test "${ac_cv_header_png_h+set}" = set; then
29528 echo $ECHO_N "(cached) $ECHO_C" >&6
29530 if test "$cross_compiling" = yes; then
29531 unset ac_cv_header_png_h
29534 cat >conftest.$ac_ext <<_ACEOF
29537 cat confdefs.h >>conftest.$ac_ext
29538 cat >>conftest.$ac_ext <<_ACEOF
29539 /* end confdefs.h. */
29546 FILE *f=fopen("conftestval", "w");
29549 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29554 rm -f conftest$ac_exeext
29555 if { (ac_try="$ac_link"
29556 case "(($ac_try" in
29557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29558 *) ac_try_echo
=$ac_try;;
29560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29561 (eval "$ac_link") 2>&5
29563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29565 { (case "(($ac_try" in
29566 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29567 *) ac_try_echo=$ac_try;;
29569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29570 (eval "$ac_try") 2>&5
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); }; }; then
29574 ac_cv_header_png_h=`cat conftestval
`
29576 echo "$as_me: program exited with status $ac_status" >&5
29577 echo "$as_me: failed program was:" >&5
29578 sed 's/^/| /' conftest.$ac_ext >&5
29580 ( exit $ac_status )
29581 ac_cv_header_png_h=no
29583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29589 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29590 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29591 { echo "$as_me:$LINENO: checking for png.h" >&5
29592 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29593 if test "${ac_cv_header_png_h+set}" = set; then
29594 echo $ECHO_N "(cached) $ECHO_C" >&6
29596 cat >conftest.$ac_ext <<_ACEOF
29599 cat confdefs.h >>conftest.$ac_ext
29600 cat >>conftest.$ac_ext <<_ACEOF
29601 /* end confdefs.h. */
29606 rm -f conftest.$ac_objext
29607 if { (ac_try="$ac_compile"
29608 case "(($ac_try" in
29609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29610 *) ac_try_echo
=$ac_try;;
29612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29613 (eval "$ac_compile") 2>conftest.er1
29615 grep -v '^ *+' conftest.er1
>conftest.err
29617 cat conftest.err
>&5
29618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29619 (exit $ac_status); } && {
29620 test -z "$ac_c_werror_flag" ||
29621 test ! -s conftest.err
29622 } && test -s conftest.
$ac_objext; then
29623 ac_cv_header_png_h
=yes
29625 echo "$as_me: failed program was:" >&5
29626 sed 's/^/| /' conftest.
$ac_ext >&5
29628 ac_cv_header_png_h
=no
29631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29633 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29634 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29638 if test "$ac_cv_header_png_h" = "yes"; then
29639 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29640 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29641 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29642 echo $ECHO_N "(cached) $ECHO_C" >&6
29644 ac_check_lib_save_LIBS
=$LIBS
29645 LIBS
="-lpng -lz -lm $LIBS"
29646 cat >conftest.
$ac_ext <<_ACEOF
29649 cat confdefs.h
>>conftest.
$ac_ext
29650 cat >>conftest.
$ac_ext <<_ACEOF
29651 /* end confdefs.h. */
29653 /* Override any GCC internal prototype to avoid an error.
29654 Use char because int might match the return type of a GCC
29655 builtin and then its argument prototype would still apply. */
29659 char png_check_sig ();
29663 return png_check_sig ();
29668 rm -f conftest.
$ac_objext conftest
$ac_exeext
29669 if { (ac_try
="$ac_link"
29670 case "(($ac_try" in
29671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29672 *) ac_try_echo=$ac_try;;
29674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29675 (eval "$ac_link") 2>conftest.er1
29677 grep -v '^ *+' conftest.er1 >conftest.err
29679 cat conftest.err >&5
29680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29681 (exit $ac_status); } && {
29682 test -z "$ac_c_werror_flag" ||
29683 test ! -s conftest.err
29684 } && test -s conftest$ac_exeext &&
29685 $as_test_x conftest$ac_exeext; then
29686 ac_cv_lib_png_png_check_sig=yes
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.$ac_ext >&5
29691 ac_cv_lib_png_png_check_sig=no
29694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29695 conftest$ac_exeext conftest.$ac_ext
29696 LIBS=$ac_check_lib_save_LIBS
29698 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29699 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29700 if test $ac_cv_lib_png_png_check_sig = yes; then
29701 PNG_LINK=" -lpng -lz"
29706 if test "x$PNG_LINK" = "x" ; then
29707 if test "$wxUSE_LIBPNG" = "sys" ; then
29708 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29709 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29710 { (exit 1); exit 1; }; }
29712 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29713 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29714 wxUSE_LIBPNG=builtin
29725 if test "$wxUSE_LIBJPEG" != "no" ; then
29726 cat >>confdefs.h <<\_ACEOF
29727 #define wxUSE_LIBJPEG 1
29731 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29732 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29733 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29737 if test "$wxUSE_MGL" != 1 ; then
29738 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29739 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29740 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29741 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29742 echo $ECHO_N "(cached) $ECHO_C" >&6
29744 cat >conftest.$ac_ext <<_ACEOF
29747 cat confdefs.h >>conftest.$ac_ext
29748 cat >>conftest.$ac_ext <<_ACEOF
29749 /* end confdefs.h. */
29751 #undef HAVE_STDLIB_H
29753 #include <jpeglib.h>
29764 rm -f conftest.$ac_objext
29765 if { (ac_try="$ac_compile"
29766 case "(($ac_try" in
29767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29768 *) ac_try_echo
=$ac_try;;
29770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29771 (eval "$ac_compile") 2>conftest.er1
29773 grep -v '^ *+' conftest.er1
>conftest.err
29775 cat conftest.err
>&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); } && {
29778 test -z "$ac_c_werror_flag" ||
29779 test ! -s conftest.err
29780 } && test -s conftest.
$ac_objext; then
29781 ac_cv_header_jpeglib_h
=yes
29783 echo "$as_me: failed program was:" >&5
29784 sed 's/^/| /' conftest.
$ac_ext >&5
29786 ac_cv_header_jpeglib_h
=no
29790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29794 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29795 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29797 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29798 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29799 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29800 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29801 echo $ECHO_N "(cached) $ECHO_C" >&6
29803 ac_check_lib_save_LIBS
=$LIBS
29804 LIBS
="-ljpeg $LIBS"
29805 cat >conftest.
$ac_ext <<_ACEOF
29808 cat confdefs.h
>>conftest.
$ac_ext
29809 cat >>conftest.
$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29812 /* Override any GCC internal prototype to avoid an error.
29813 Use char because int might match the return type of a GCC
29814 builtin and then its argument prototype would still apply. */
29818 char jpeg_read_header ();
29822 return jpeg_read_header ();
29827 rm -f conftest.
$ac_objext conftest
$ac_exeext
29828 if { (ac_try
="$ac_link"
29829 case "(($ac_try" in
29830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29831 *) ac_try_echo=$ac_try;;
29833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29834 (eval "$ac_link") 2>conftest.er1
29836 grep -v '^ *+' conftest.er1 >conftest.err
29838 cat conftest.err >&5
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); } && {
29841 test -z "$ac_c_werror_flag" ||
29842 test ! -s conftest.err
29843 } && test -s conftest$ac_exeext &&
29844 $as_test_x conftest$ac_exeext; then
29845 ac_cv_lib_jpeg_jpeg_read_header=yes
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.$ac_ext >&5
29850 ac_cv_lib_jpeg_jpeg_read_header=no
29853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29854 conftest$ac_exeext conftest.$ac_ext
29855 LIBS=$ac_check_lib_save_LIBS
29857 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29858 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29859 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29860 JPEG_LINK=" -ljpeg"
29865 if test "x$JPEG_LINK" = "x" ; then
29866 if test "$wxUSE_LIBJPEG" = "sys" ; then
29867 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29868 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29869 { (exit 1); exit 1; }; }
29871 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29872 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29873 wxUSE_LIBJPEG=builtin
29878 if test "$wxUSE_MSW" = 1; then
29879 { echo "$as_me:$LINENO: checking for boolean" >&5
29880 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29881 if test "${ac_cv_type_boolean+set}" = set; then
29882 echo $ECHO_N "(cached) $ECHO_C" >&6
29884 cat >conftest.$ac_ext <<_ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890 #include <windows.h>
29892 typedef boolean ac__type_new_;
29896 if ((ac__type_new_ *) 0)
29898 if (sizeof (ac__type_new_))
29904 rm -f conftest.$ac_objext
29905 if { (ac_try="$ac_compile"
29906 case "(($ac_try" in
29907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29908 *) ac_try_echo
=$ac_try;;
29910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29911 (eval "$ac_compile") 2>conftest.er1
29913 grep -v '^ *+' conftest.er1
>conftest.err
29915 cat conftest.err
>&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); } && {
29918 test -z "$ac_c_werror_flag" ||
29919 test ! -s conftest.err
29920 } && test -s conftest.
$ac_objext; then
29921 ac_cv_type_boolean
=yes
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.
$ac_ext >&5
29926 ac_cv_type_boolean
=no
29929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29931 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29932 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29933 if test $ac_cv_type_boolean = yes; then
29935 cat >>confdefs.h
<<_ACEOF
29936 #define HAVE_BOOLEAN 1
29940 { echo "$as_me:$LINENO: checking for boolean" >&5
29941 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29942 if test "${ac_cv_type_boolean+set}" = set; then
29943 echo $ECHO_N "(cached) $ECHO_C" >&6
29945 cat >conftest.
$ac_ext <<_ACEOF
29948 cat confdefs.h
>>conftest.
$ac_ext
29949 cat >>conftest.
$ac_ext <<_ACEOF
29950 /* end confdefs.h. */
29952 #undef HAVE_BOOLEAN
29954 #include <jpeglib.h>
29957 typedef boolean ac__type_new_;
29961 if ((ac__type_new_ *) 0)
29963 if (sizeof (ac__type_new_))
29969 rm -f conftest.
$ac_objext
29970 if { (ac_try
="$ac_compile"
29971 case "(($ac_try" in
29972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29973 *) ac_try_echo=$ac_try;;
29975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29976 (eval "$ac_compile") 2>conftest.er1
29978 grep -v '^ *+' conftest.er1 >conftest.err
29980 cat conftest.err >&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); } && {
29983 test -z "$ac_c_werror_flag" ||
29984 test ! -s conftest.err
29985 } && test -s conftest.$ac_objext; then
29986 ac_cv_type_boolean=yes
29988 echo "$as_me: failed program was:" >&5
29989 sed 's/^/| /' conftest.$ac_ext >&5
29991 ac_cv_type_boolean=no
29994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29996 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29997 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29999 # The cast to long int works around a bug in the HP C Compiler
30000 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
30001 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
30002 # This bug is HP SR number 8606223364.
30003 { echo "$as_me:$LINENO: checking size of boolean" >&5
30004 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
30005 if test "${ac_cv_sizeof_boolean+set}" = set; then
30006 echo $ECHO_N "(cached) $ECHO_C" >&6
30008 if test "$cross_compiling" = yes; then
30009 # Depending upon the size, compute the lo and hi bounds.
30010 cat >conftest.$ac_ext <<_ACEOF
30013 cat confdefs.h >>conftest.$ac_ext
30014 cat >>conftest.$ac_ext <<_ACEOF
30015 /* end confdefs.h. */
30017 #undef HAVE_BOOLEAN
30019 #include <jpeglib.h>
30022 typedef boolean ac__type_sizeof_;
30026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
30033 rm -f conftest.$ac_objext
30034 if { (ac_try="$ac_compile"
30035 case "(($ac_try" in
30036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30037 *) ac_try_echo=$ac_try;;
30039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30040 (eval "$ac_compile") 2>conftest.er1
30042 grep -v '^
*+' conftest.er1 >conftest.err
30044 cat conftest.err >&5
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); } && {
30047 test -z "$ac_c_werror_flag" ||
30048 test ! -s conftest.err
30049 } && test -s conftest.$ac_objext; then
30052 cat >conftest.$ac_ext <<_ACEOF
30055 cat confdefs.h >>conftest.$ac_ext
30056 cat >>conftest.$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30059 #undef HAVE_BOOLEAN
30061 #include <jpeglib.h>
30064 typedef boolean ac__type_sizeof_;
30068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
30075 rm -f conftest.$ac_objext
30076 if { (ac_try="$ac_compile"
30077 case "(($ac_try" in
30078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30079 *) ac_try_echo=$ac_try;;
30081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30082 (eval "$ac_compile") 2>conftest.er1
30084 grep -v '^
*+' conftest.er1 >conftest.err
30086 cat conftest.err >&5
30087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30088 (exit $ac_status); } && {
30089 test -z "$ac_c_werror_flag" ||
30090 test ! -s conftest.err
30091 } && test -s conftest.$ac_objext; then
30092 ac_hi=$ac_mid; break
30094 echo "$as_me: failed program was:" >&5
30095 sed 's
/^
/| /' conftest.$ac_ext >&5
30097 ac_lo=`expr $ac_mid + 1`
30098 if test $ac_lo -le $ac_mid; then
30102 ac_mid=`expr 2 '*' $ac_mid + 1`
30105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30108 echo "$as_me: failed program was:" >&5
30109 sed 's
/^
/| /' conftest.$ac_ext >&5
30111 cat >conftest.$ac_ext <<_ACEOF
30114 cat confdefs.h >>conftest.$ac_ext
30115 cat >>conftest.$ac_ext <<_ACEOF
30116 /* end confdefs.h. */
30118 #undef HAVE_BOOLEAN
30120 #include <jpeglib.h>
30123 typedef boolean ac__type_sizeof_;
30127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
30134 rm -f conftest.$ac_objext
30135 if { (ac_try="$ac_compile"
30136 case "(($ac_try" in
30137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30138 *) ac_try_echo=$ac_try;;
30140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30141 (eval "$ac_compile") 2>conftest.er1
30143 grep -v '^
*+' conftest.er1 >conftest.err
30145 cat conftest.err >&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } && {
30148 test -z "$ac_c_werror_flag" ||
30149 test ! -s conftest.err
30150 } && test -s conftest.$ac_objext; then
30153 cat >conftest.$ac_ext <<_ACEOF
30156 cat confdefs.h >>conftest.$ac_ext
30157 cat >>conftest.$ac_ext <<_ACEOF
30158 /* end confdefs.h. */
30160 #undef HAVE_BOOLEAN
30162 #include <jpeglib.h>
30165 typedef boolean ac__type_sizeof_;
30169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
30176 rm -f conftest.$ac_objext
30177 if { (ac_try="$ac_compile"
30178 case "(($ac_try" in
30179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30180 *) ac_try_echo=$ac_try;;
30182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30183 (eval "$ac_compile") 2>conftest.er1
30185 grep -v '^
*+' conftest.er1 >conftest.err
30187 cat conftest.err >&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); } && {
30190 test -z "$ac_c_werror_flag" ||
30191 test ! -s conftest.err
30192 } && test -s conftest.$ac_objext; then
30193 ac_lo=$ac_mid; break
30195 echo "$as_me: failed program was:" >&5
30196 sed 's
/^
/| /' conftest.$ac_ext >&5
30198 ac_hi=`expr '(' $ac_mid ')' - 1`
30199 if test $ac_mid -le $ac_hi; then
30203 ac_mid=`expr 2 '*' $ac_mid`
30206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30209 echo "$as_me: failed program was:" >&5
30210 sed 's
/^
/| /' conftest.$ac_ext >&5
30215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30219 # Binary search between lo and hi bounds.
30220 while test "x$ac_lo" != "x$ac_hi"; do
30221 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
30222 cat >conftest.$ac_ext <<_ACEOF
30225 cat confdefs.h >>conftest.$ac_ext
30226 cat >>conftest.$ac_ext <<_ACEOF
30227 /* end confdefs.h. */
30229 #undef HAVE_BOOLEAN
30231 #include <jpeglib.h>
30234 typedef boolean ac__type_sizeof_;
30238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
30245 rm -f conftest.$ac_objext
30246 if { (ac_try="$ac_compile"
30247 case "(($ac_try" in
30248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30249 *) ac_try_echo=$ac_try;;
30251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30252 (eval "$ac_compile") 2>conftest.er1
30254 grep -v '^
*+' conftest.er1 >conftest.err
30256 cat conftest.err >&5
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); } && {
30259 test -z "$ac_c_werror_flag" ||
30260 test ! -s conftest.err
30261 } && test -s conftest.$ac_objext; then
30264 echo "$as_me: failed program was:" >&5
30265 sed 's
/^
/| /' conftest.$ac_ext >&5
30267 ac_lo=`expr '(' $ac_mid ')' + 1`
30270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30273 ?*) ac_cv_sizeof_boolean=$ac_lo;;
30274 '') if test "$ac_cv_type_boolean" = yes; then
30275 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
30276 See \`config.log' for more details.
" >&5
30277 echo "$as_me: error
: cannot compute sizeof
(boolean
)
30278 See \
`config.log' for more details." >&2;}
30279 { (exit 77); exit 77; }; }
30281 ac_cv_sizeof_boolean=0
30285 cat >conftest.$ac_ext <<_ACEOF
30288 cat confdefs.h >>conftest.$ac_ext
30289 cat >>conftest.$ac_ext <<_ACEOF
30290 /* end confdefs.h. */
30292 #undef HAVE_BOOLEAN
30294 #include <jpeglib.h>
30297 typedef boolean ac__type_sizeof_;
30298 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
30299 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
30301 #include <stdlib.h>
30306 FILE *f = fopen ("conftest.val", "w");
30309 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
30311 long int i = longval ();
30312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
30314 fprintf (f, "%ld\n", i);
30318 unsigned long int i = ulongval ();
30319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
30321 fprintf (f, "%lu\n", i);
30323 return ferror (f) || fclose (f) != 0;
30329 rm -f conftest$ac_exeext
30330 if { (ac_try="$ac_link"
30331 case "(($ac_try" in
30332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30333 *) ac_try_echo
=$ac_try;;
30335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30336 (eval "$ac_link") 2>&5
30338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30340 { (case "(($ac_try" in
30341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30342 *) ac_try_echo=$ac_try;;
30344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30345 (eval "$ac_try") 2>&5
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); }; }; then
30349 ac_cv_sizeof_boolean=`cat conftest.val
`
30351 echo "$as_me: program exited with status $ac_status" >&5
30352 echo "$as_me: failed program was:" >&5
30353 sed 's/^/| /' conftest.$ac_ext >&5
30355 ( exit $ac_status )
30356 if test "$ac_cv_type_boolean" = yes; then
30357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
30358 See \`config.log
' for more details." >&5
30359 echo "$as_me: error: cannot compute sizeof (boolean)
30360 See \`config.log' for more details.
" >&2;}
30361 { (exit 77); exit 77; }; }
30363 ac_cv_sizeof_boolean=0
30366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30370 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
30371 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
30375 cat >>confdefs.h <<_ACEOF
30376 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
30380 cat >>confdefs.h <<_ACEOF
30381 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
30395 TIFF_PREREQ_LINKS=-lm
30396 if test "$wxUSE_LIBTIFF" != "no
" ; then
30397 cat >>confdefs.h <<\_ACEOF
30398 #define wxUSE_LIBTIFF 1
30402 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
30403 if test "$wxUSE_LIBJPEG" = "sys
"; then
30404 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
30406 if test "$wxUSE_ZLIB" = "sys
"; then
30407 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
30409 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
30410 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
30411 if test "${ac_cv_header_tiffio_h+set}" = set; then
30412 echo $ECHO_N "(cached
) $ECHO_C" >&6
30414 cat >conftest.$ac_ext <<_ACEOF
30417 cat confdefs.h >>conftest.$ac_ext
30418 cat >>conftest.$ac_ext <<_ACEOF
30419 /* end confdefs.h. */
30423 #include <tiffio.h>
30425 rm -f conftest.$ac_objext
30426 if { (ac_try="$ac_compile"
30427 case "(($ac_try" in
30428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30429 *) ac_try_echo=$ac_try;;
30431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30432 (eval "$ac_compile") 2>conftest.er1
30434 grep -v '^ *+' conftest.er1 >conftest.err
30436 cat conftest.err >&5
30437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30438 (exit $ac_status); } && {
30439 test -z "$ac_c_werror_flag" ||
30440 test ! -s conftest.err
30441 } && test -s conftest.$ac_objext; then
30442 ac_cv_header_tiffio_h=yes
30444 echo "$as_me: failed program was
:" >&5
30445 sed 's/^/| /' conftest.$ac_ext >&5
30447 ac_cv_header_tiffio_h=no
30450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30452 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
30453 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
30454 if test $ac_cv_header_tiffio_h = yes; then
30456 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
30457 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
30458 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
30459 echo $ECHO_N "(cached
) $ECHO_C" >&6
30461 ac_check_lib_save_LIBS=$LIBS
30462 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
30463 cat >conftest.$ac_ext <<_ACEOF
30466 cat confdefs.h >>conftest.$ac_ext
30467 cat >>conftest.$ac_ext <<_ACEOF
30468 /* end confdefs.h. */
30470 /* Override any GCC internal prototype to avoid an error.
30471 Use char because int might match the return type of a GCC
30472 builtin and then its argument prototype would still apply. */
30480 return TIFFError ();
30485 rm -f conftest.$ac_objext conftest$ac_exeext
30486 if { (ac_try="$ac_link"
30487 case "(($ac_try" in
30488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30489 *) ac_try_echo=$ac_try;;
30491 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30492 (eval "$ac_link") 2>conftest.er1
30494 grep -v '^ *+' conftest.er1 >conftest.err
30496 cat conftest.err >&5
30497 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30498 (exit $ac_status); } && {
30499 test -z "$ac_c_werror_flag" ||
30500 test ! -s conftest.err
30501 } && test -s conftest$ac_exeext &&
30502 $as_test_x conftest$ac_exeext; then
30503 ac_cv_lib_tiff_TIFFError=yes
30505 echo "$as_me: failed program was
:" >&5
30506 sed 's/^/| /' conftest.$ac_ext >&5
30508 ac_cv_lib_tiff_TIFFError=no
30511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30512 conftest$ac_exeext conftest.$ac_ext
30513 LIBS=$ac_check_lib_save_LIBS
30515 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
30516 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30517 if test $ac_cv_lib_tiff_TIFFError = yes; then
30518 TIFF_LINK=" -ltiff"
30526 if test "x
$TIFF_LINK" = "x
" ; then
30527 if test "$wxUSE_LIBTIFF" = "sys
" ; then
30528 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
30529 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
30530 { (exit 1); exit 1; }; }
30532 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
30533 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
30534 wxUSE_LIBTIFF=builtin
30543 if test "$wxUSE_WCHAR_T" != "yes"; then
30544 if test "$wxUSE_EXPAT" != "no
"; then
30545 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
30546 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
30549 if test "$wxUSE_XML" != "no
"; then
30550 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
30551 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
30556 if test "$wxUSE_EXPAT" != "no
"; then
30558 cat >>confdefs.h <<\_ACEOF
30559 #define wxUSE_EXPAT 1
30562 cat >>confdefs.h <<\_ACEOF
30563 #define wxUSE_XML 1
30567 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
30568 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
30569 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
30570 if test "${ac_cv_header_expat_h+set}" = set; then
30571 echo $ECHO_N "(cached
) $ECHO_C" >&6
30573 cat >conftest.$ac_ext <<_ACEOF
30576 cat confdefs.h >>conftest.$ac_ext
30577 cat >>conftest.$ac_ext <<_ACEOF
30578 /* end confdefs.h. */
30583 rm -f conftest.$ac_objext
30584 if { (ac_try="$ac_compile"
30585 case "(($ac_try" in
30586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30587 *) ac_try_echo=$ac_try;;
30589 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30590 (eval "$ac_compile") 2>conftest.er1
30592 grep -v '^ *+' conftest.er1 >conftest.err
30594 cat conftest.err >&5
30595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30596 (exit $ac_status); } && {
30597 test -z "$ac_c_werror_flag" ||
30598 test ! -s conftest.err
30599 } && test -s conftest.$ac_objext; then
30600 ac_cv_header_expat_h=yes
30602 echo "$as_me: failed program was
:" >&5
30603 sed 's/^/| /' conftest.$ac_ext >&5
30605 ac_cv_header_expat_h=no
30608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30610 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
30611 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30612 if test $ac_cv_header_expat_h = yes; then
30617 if test "x
$found_expat_h" = "x1
"; then
30618 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
30619 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
30620 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30621 echo $ECHO_N "(cached
) $ECHO_C" >&6
30625 ac_cpp='$CXXCPP $CPPFLAGS'
30626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30630 cat >conftest.$ac_ext <<_ACEOF
30633 cat confdefs.h >>conftest.$ac_ext
30634 cat >>conftest.$ac_ext <<_ACEOF
30635 /* end confdefs.h. */
30645 rm -f conftest.$ac_objext
30646 if { (ac_try="$ac_compile"
30647 case "(($ac_try" in
30648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30649 *) ac_try_echo=$ac_try;;
30651 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30652 (eval "$ac_compile") 2>conftest.er1
30654 grep -v '^ *+' conftest.er1 >conftest.err
30656 cat conftest.err >&5
30657 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30658 (exit $ac_status); } && {
30659 test -z "$ac_cxx_werror_flag" ||
30660 test ! -s conftest.err
30661 } && test -s conftest.$ac_objext; then
30662 wx_cv_expat_is_not_broken=yes
30664 echo "$as_me: failed program was
:" >&5
30665 sed 's/^/| /' conftest.$ac_ext >&5
30667 wx_cv_expat_is_not_broken=no
30671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30673 ac_cpp='$CPP $CPPFLAGS'
30674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30681 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30682 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30683 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30684 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30685 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30686 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30687 echo $ECHO_N "(cached
) $ECHO_C" >&6
30689 ac_check_lib_save_LIBS=$LIBS
30690 LIBS="-lexpat $LIBS"
30691 cat >conftest.$ac_ext <<_ACEOF
30694 cat confdefs.h >>conftest.$ac_ext
30695 cat >>conftest.$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30698 /* Override any GCC internal prototype to avoid an error.
30699 Use char because int might match the return type of a GCC
30700 builtin and then its argument prototype would still apply. */
30704 char XML_ParserCreate ();
30708 return XML_ParserCreate ();
30713 rm -f conftest.$ac_objext conftest$ac_exeext
30714 if { (ac_try="$ac_link"
30715 case "(($ac_try" in
30716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30717 *) ac_try_echo=$ac_try;;
30719 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30720 (eval "$ac_link") 2>conftest.er1
30722 grep -v '^ *+' conftest.er1 >conftest.err
30724 cat conftest.err >&5
30725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30726 (exit $ac_status); } && {
30727 test -z "$ac_c_werror_flag" ||
30728 test ! -s conftest.err
30729 } && test -s conftest$ac_exeext &&
30730 $as_test_x conftest$ac_exeext; then
30731 ac_cv_lib_expat_XML_ParserCreate=yes
30733 echo "$as_me: failed program was
:" >&5
30734 sed 's/^/| /' conftest.$ac_ext >&5
30736 ac_cv_lib_expat_XML_ParserCreate=no
30739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30740 conftest$ac_exeext conftest.$ac_ext
30741 LIBS=$ac_check_lib_save_LIBS
30743 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30744 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30745 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30746 EXPAT_LINK=" -lexpat"
30751 if test "x
$EXPAT_LINK" = "x
" ; then
30752 if test "$wxUSE_EXPAT" = "sys
" ; then
30753 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30754 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30755 { (exit 1); exit 1; }; }
30757 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30758 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30759 wxUSE_EXPAT=builtin
30765 if test "$wxUSE_EXPAT" = "builtin" ; then
30766 subdirs="$subdirs src
/expat
"
30773 if test "$wxUSE_LIBMSPACK" != "no
"; then
30774 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30775 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30776 if test "${ac_cv_header_mspack_h+set}" = set; then
30777 echo $ECHO_N "(cached
) $ECHO_C" >&6
30779 cat >conftest.$ac_ext <<_ACEOF
30782 cat confdefs.h >>conftest.$ac_ext
30783 cat >>conftest.$ac_ext <<_ACEOF
30784 /* end confdefs.h. */
30787 #include <mspack.h>
30789 rm -f conftest.$ac_objext
30790 if { (ac_try="$ac_compile"
30791 case "(($ac_try" in
30792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30793 *) ac_try_echo=$ac_try;;
30795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30796 (eval "$ac_compile") 2>conftest.er1
30798 grep -v '^ *+' conftest.er1 >conftest.err
30800 cat conftest.err >&5
30801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30802 (exit $ac_status); } && {
30803 test -z "$ac_c_werror_flag" ||
30804 test ! -s conftest.err
30805 } && test -s conftest.$ac_objext; then
30806 ac_cv_header_mspack_h=yes
30808 echo "$as_me: failed program was
:" >&5
30809 sed 's/^/| /' conftest.$ac_ext >&5
30811 ac_cv_header_mspack_h=no
30814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30816 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30817 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30818 if test $ac_cv_header_mspack_h = yes; then
30823 if test "x
$found_mspack_h" = "x1
"; then
30824 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30825 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30826 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30827 echo $ECHO_N "(cached
) $ECHO_C" >&6
30829 ac_check_lib_save_LIBS=$LIBS
30830 LIBS="-lmspack $LIBS"
30831 cat >conftest.$ac_ext <<_ACEOF
30834 cat confdefs.h >>conftest.$ac_ext
30835 cat >>conftest.$ac_ext <<_ACEOF
30836 /* end confdefs.h. */
30838 /* Override any GCC internal prototype to avoid an error.
30839 Use char because int might match the return type of a GCC
30840 builtin and then its argument prototype would still apply. */
30844 char mspack_create_chm_decompressor ();
30848 return mspack_create_chm_decompressor ();
30853 rm -f conftest.$ac_objext conftest$ac_exeext
30854 if { (ac_try="$ac_link"
30855 case "(($ac_try" in
30856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30857 *) ac_try_echo=$ac_try;;
30859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30860 (eval "$ac_link") 2>conftest.er1
30862 grep -v '^ *+' conftest.er1 >conftest.err
30864 cat conftest.err >&5
30865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30866 (exit $ac_status); } && {
30867 test -z "$ac_c_werror_flag" ||
30868 test ! -s conftest.err
30869 } && test -s conftest$ac_exeext &&
30870 $as_test_x conftest$ac_exeext; then
30871 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30873 echo "$as_me: failed program was
:" >&5
30874 sed 's/^/| /' conftest.$ac_ext >&5
30876 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30880 conftest$ac_exeext conftest.$ac_ext
30881 LIBS=$ac_check_lib_save_LIBS
30883 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30884 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30885 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30886 MSPACK_LINK=" -lmspack"
30890 if test "x
$MSPACK_LINK" = "x
" ; then
30895 if test "$wxUSE_LIBMSPACK" != "no
"; then
30896 cat >>confdefs.h <<\_ACEOF
30897 #define wxUSE_LIBMSPACK 1
30911 if test "$USE_WIN32" = 1 ; then
30913 for ac_header in w32api.h
30915 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30916 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30917 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30918 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30919 echo $ECHO_N "(cached
) $ECHO_C" >&6
30921 cat >conftest.$ac_ext <<_ACEOF
30924 cat confdefs.h >>conftest.$ac_ext
30925 cat >>conftest.$ac_ext <<_ACEOF
30926 /* end confdefs.h. */
30929 #include <$ac_header>
30931 rm -f conftest.$ac_objext
30932 if { (ac_try="$ac_compile"
30933 case "(($ac_try" in
30934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30935 *) ac_try_echo=$ac_try;;
30937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30938 (eval "$ac_compile") 2>conftest.er1
30940 grep -v '^ *+' conftest.er1 >conftest.err
30942 cat conftest.err >&5
30943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30944 (exit $ac_status); } && {
30945 test -z "$ac_c_werror_flag" ||
30946 test ! -s conftest.err
30947 } && test -s conftest.$ac_objext; then
30948 eval "$as_ac_Header=yes"
30950 echo "$as_me: failed program was
:" >&5
30951 sed 's/^/| /' conftest.$ac_ext >&5
30953 eval "$as_ac_Header=no
"
30956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30958 ac_res=`eval echo '${'$as_ac_Header'}'`
30959 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30960 echo "${ECHO_T}$ac_res" >&6; }
30961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30962 cat >>confdefs.h <<_ACEOF
30963 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30970 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30971 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30972 if test "${ac_cv_header_windows_h+set}" = set; then
30973 echo $ECHO_N "(cached
) $ECHO_C" >&6
30975 cat >conftest.$ac_ext <<_ACEOF
30978 cat confdefs.h >>conftest.$ac_ext
30979 cat >>conftest.$ac_ext <<_ACEOF
30980 /* end confdefs.h. */
30983 #include <windows.h>
30985 rm -f conftest.$ac_objext
30986 if { (ac_try="$ac_compile"
30987 case "(($ac_try" in
30988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30989 *) ac_try_echo=$ac_try;;
30991 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30992 (eval "$ac_compile") 2>conftest.er1
30994 grep -v '^ *+' conftest.er1 >conftest.err
30996 cat conftest.err >&5
30997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30998 (exit $ac_status); } && {
30999 test -z "$ac_c_werror_flag" ||
31000 test ! -s conftest.err
31001 } && test -s conftest.$ac_objext; then
31002 ac_cv_header_windows_h=yes
31004 echo "$as_me: failed program was
:" >&5
31005 sed 's/^/| /' conftest.$ac_ext >&5
31007 ac_cv_header_windows_h=no
31010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31012 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
31013 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
31014 if test $ac_cv_header_windows_h = yes; then
31018 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
31019 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
31020 { (exit 1); exit 1; }; }
31026 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
31028 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
31029 LIBS="$LIBS -loleacc"
31034 LIBS="$LIBS -lkernel32 -luser32"
31037 if test "$wxUSE_ODBC" = "sys
" ; then
31040 if test "$wxUSE_ODBC" = "yes" ; then
31041 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
31042 cat >>confdefs.h <<\_ACEOF
31043 #define wxUSE_ODBC 1
31048 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
31049 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
31051 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
31053 WIN32INSTALL=win32install
31055 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
31056 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
31057 if test "${ac_cv_header_pbt_h+set}" = set; then
31058 echo $ECHO_N "(cached
) $ECHO_C" >&6
31060 cat >conftest.$ac_ext <<_ACEOF
31063 cat confdefs.h >>conftest.$ac_ext
31064 cat >>conftest.$ac_ext <<_ACEOF
31065 /* end confdefs.h. */
31070 rm -f conftest.$ac_objext
31071 if { (ac_try="$ac_compile"
31072 case "(($ac_try" in
31073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31074 *) ac_try_echo=$ac_try;;
31076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31077 (eval "$ac_compile") 2>conftest.er1
31079 grep -v '^ *+' conftest.er1 >conftest.err
31081 cat conftest.err >&5
31082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31083 (exit $ac_status); } && {
31084 test -z "$ac_c_werror_flag" ||
31085 test ! -s conftest.err
31086 } && test -s conftest.$ac_objext; then
31087 ac_cv_header_pbt_h=yes
31089 echo "$as_me: failed program was
:" >&5
31090 sed 's/^/| /' conftest.$ac_ext >&5
31092 ac_cv_header_pbt_h=no
31095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31097 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
31098 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
31099 if test $ac_cv_header_pbt_h = yes; then
31102 cat >>confdefs.h <<\_ACEOF
31103 #define NEED_PBT_H 1
31111 if test "$wxUSE_GUI" = "yes"; then
31121 if test "$wxUSE_COCOA" = 1 ; then
31122 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
31123 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
31124 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
31125 wxUSE_PRINTING_ARCHITECTURE=no
31127 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
31128 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
31129 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
31130 wxUSE_DRAG_AND_DROP=no
31132 if test "$wxUSE_DRAGIMAGE" = "yes"; then
31133 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
31134 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
31139 if test "$wxUSE_MSW" = 1 ; then
31145 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
31149 if test "$wxUSE_GTK" = 1; then
31150 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
31151 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
31153 gtk_version_cached=1
31154 if test "${wx_cv_lib_gtk+set}" = set; then
31155 echo $ECHO_N "(cached
) $ECHO_C" >&6
31158 gtk_version_cached=0
31159 { echo "$as_me:$LINENO: result
: " >&5
31160 echo "${ECHO_T}" >&6; }
31163 if test "$wxUSE_THREADS" = "yes"; then
31164 GTK_MODULES=gthread
31168 if test "x
$wxGTK_VERSION" != "x1
"
31172 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
31177 # Check whether --enable-gtktest was given.
31178 if test "${enable_gtktest+set}" = set; then
31179 enableval=$enable_gtktest;
31185 pkg_config_args=gtk+-2.0
31186 for module in . $GTK_MODULES
31190 pkg_config_args="$pkg_config_args gthread
-2.0
"
31197 # Extract the first word of "pkg
-config", so it can be a program name with args.
31198 set dummy pkg-config; ac_word=$2
31199 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31200 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31201 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31202 echo $ECHO_N "(cached
) $ECHO_C" >&6
31204 case $PKG_CONFIG in
31206 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31210 for as_dir in $PATH
31213 test -z "$as_dir" && as_dir=.
31214 for ac_exec_ext in '' $ac_executable_extensions; do
31215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31216 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31217 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31224 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
31228 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31229 if test -n "$PKG_CONFIG"; then
31230 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
31231 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31233 { echo "$as_me:$LINENO: result
: no
" >&5
31234 echo "${ECHO_T}no
" >&6; }
31239 if test x$PKG_CONFIG != xno ; then
31240 if pkg-config --atleast-pkgconfig-version 0.7 ; then
31243 echo "*** pkg
-config too old
; version
0.7 or better required.
"
31251 min_gtk_version=2.0.0
31252 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
31253 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
31255 if test x$PKG_CONFIG != xno ; then
31256 ## don't try to run the test against uninstalled libtool libs
31257 if $PKG_CONFIG --uninstalled $pkg_config_args; then
31258 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
31262 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
31269 if test x"$no_gtk" = x ; then
31270 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
31271 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
31272 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
31273 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31274 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
31275 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31276 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
31277 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31278 if test "x
$enable_gtktest" = "xyes
" ; then
31279 ac_save_CFLAGS="$CFLAGS"
31280 ac_save_LIBS="$LIBS"
31281 CFLAGS="$CFLAGS $GTK_CFLAGS"
31282 LIBS="$GTK_LIBS $LIBS"
31284 if test "$cross_compiling" = yes; then
31285 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31287 cat >conftest.$ac_ext <<_ACEOF
31290 cat confdefs.h >>conftest.$ac_ext
31291 cat >>conftest.$ac_ext <<_ACEOF
31292 /* end confdefs.h. */
31294 #include <gtk/gtk.h>
31296 #include <stdlib.h>
31301 int major, minor, micro;
31304 system ("touch conf.gtktest
");
31306 /* HP/UX 9 (%@#!) writes to sscanf strings */
31307 tmp_version = g_strdup("$min_gtk_version");
31308 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31309 printf("%s
, bad version string
\n", "$min_gtk_version");
31313 if ((gtk_major_version != $gtk_config_major_version) ||
31314 (gtk_minor_version != $gtk_config_minor_version) ||
31315 (gtk_micro_version != $gtk_config_micro_version))
31317 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31318 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31319 gtk_major_version, gtk_minor_version, gtk_micro_version);
31320 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
31321 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31322 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31323 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31324 printf("*** required on your system.
\n");
31325 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
31326 printf("*** to point to the correct configuration files
\n");
31328 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31329 (gtk_minor_version != GTK_MINOR_VERSION) ||
31330 (gtk_micro_version != GTK_MICRO_VERSION))
31332 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31333 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31334 printf("*** library
(version
%d.
%d.
%d
)\n",
31335 gtk_major_version, gtk_minor_version, gtk_micro_version);
31339 if ((gtk_major_version > major) ||
31340 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31341 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31347 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31348 gtk_major_version, gtk_minor_version, gtk_micro_version);
31349 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31350 major, minor, micro);
31351 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31353 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31354 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
31355 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31356 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
31357 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
31358 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31359 printf("*** so that the correct libraries are found
at run
-time))\n");
31366 rm -f conftest$ac_exeext
31367 if { (ac_try="$ac_link"
31368 case "(($ac_try" in
31369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31370 *) ac_try_echo=$ac_try;;
31372 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31373 (eval "$ac_link") 2>&5
31375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31377 { (case "(($ac_try" in
31378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31379 *) ac_try_echo=$ac_try;;
31381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31382 (eval "$ac_try") 2>&5
31384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31385 (exit $ac_status); }; }; then
31388 echo "$as_me: program exited with status
$ac_status" >&5
31389 echo "$as_me: failed program was
:" >&5
31390 sed 's/^/| /' conftest.$ac_ext >&5
31392 ( exit $ac_status )
31395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31399 CFLAGS="$ac_save_CFLAGS"
31400 LIBS="$ac_save_LIBS"
31403 if test "x
$no_gtk" = x ; then
31404 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
31405 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
31408 { echo "$as_me:$LINENO: result
: no
" >&5
31409 echo "${ECHO_T}no
" >&6; }
31410 if test "$PKG_CONFIG" = "no
" ; then
31411 echo "*** A new enough version of pkg
-config was not found.
"
31412 echo "*** See http
://pkgconfig.sourceforge.net
"
31414 if test -f conf.gtktest ; then
31417 echo "*** Could not run GTK
+ test program
, checking why...
"
31418 ac_save_CFLAGS="$CFLAGS"
31419 ac_save_LIBS="$LIBS"
31420 CFLAGS="$CFLAGS $GTK_CFLAGS"
31421 LIBS="$LIBS $GTK_LIBS"
31422 cat >conftest.$ac_ext <<_ACEOF
31425 cat confdefs.h >>conftest.$ac_ext
31426 cat >>conftest.$ac_ext <<_ACEOF
31427 /* end confdefs.h. */
31429 #include <gtk/gtk.h>
31435 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31440 rm -f conftest.$ac_objext conftest$ac_exeext
31441 if { (ac_try="$ac_link"
31442 case "(($ac_try" in
31443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31444 *) ac_try_echo=$ac_try;;
31446 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31447 (eval "$ac_link") 2>conftest.er1
31449 grep -v '^ *+' conftest.er1 >conftest.err
31451 cat conftest.err >&5
31452 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31453 (exit $ac_status); } && {
31454 test -z "$ac_c_werror_flag" ||
31455 test ! -s conftest.err
31456 } && test -s conftest$ac_exeext &&
31457 $as_test_x conftest$ac_exeext; then
31458 echo "*** The
test program compiled
, but did not run. This usually means
"
31459 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
31460 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
31461 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31462 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31463 echo "*** is required on your system"
31465 echo "*** If you have an old version installed, it is best to remove it, although"
31466 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31468 echo "$as_me: failed program was:" >&5
31469 sed 's
/^
/| /' conftest.$ac_ext >&5
31471 echo "*** The test program failed to compile or link. See the file config.log for the"
31472 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
31475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31476 conftest$ac_exeext conftest.$ac_ext
31477 CFLAGS="$ac_save_CFLAGS"
31478 LIBS="$ac_save_LIBS"
31492 if test "$wxUSE_SHARED" != "yes"; then
31493 GTK_LIBS="$GTK_LIBS -lX11"
31498 if test -z "$wx_cv_lib_gtk"; then
31499 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
31501 # Check whether --with-gtk-prefix was given.
31502 if test "${with_gtk_prefix+set}" = set; then
31503 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31505 gtk_config_prefix=""
31509 # Check whether --with-gtk-exec-prefix was given.
31510 if test "${with_gtk_exec_prefix+set}" = set; then
31511 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31513 gtk_config_exec_prefix=""
31516 # Check whether --enable-gtktest was given.
31517 if test "${enable_gtktest+set}" = set; then
31518 enableval=$enable_gtktest;
31524 for module in . $GTK_MODULES
31528 gtk_config_args="$gtk_config_args gthread"
31533 if test x$gtk_config_exec_prefix != x ; then
31534 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31535 if test x${GTK_CONFIG+set} != xset ; then
31536 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31539 if test x$gtk_config_prefix != x ; then
31540 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31541 if test x${GTK_CONFIG+set} != xset ; then
31542 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31546 # Extract the first word of "gtk-config", so it can be a program name with args.
31547 set dummy gtk-config; ac_word=$2
31548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31550 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31551 echo $ECHO_N "(cached) $ECHO_C" >&6
31553 case $GTK_CONFIG in
31555 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31559 for as_dir in $PATH
31562 test -z "$as_dir" && as_dir=.
31563 for ac_exec_ext in '' $ac_executable_extensions; do
31564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31565 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31573 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31577 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31578 if test -n "$GTK_CONFIG"; then
31579 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31580 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31582 { echo "$as_me:$LINENO: result: no" >&5
31583 echo "${ECHO_T}no" >&6; }
31587 min_gtk_version=1.2.7
31588 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31589 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31591 if test "$GTK_CONFIG" = "no" ; then
31594 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31595 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31596 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31597 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
31598 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31599 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
31600 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31601 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
31602 if test "x$enable_gtktest" = "xyes" ; then
31603 ac_save_CFLAGS="$CFLAGS"
31604 ac_save_LIBS="$LIBS"
31605 CFLAGS="$CFLAGS $GTK_CFLAGS"
31606 LIBS="$GTK_LIBS $LIBS"
31608 if test "$cross_compiling" = yes; then
31609 echo $ac_n "cross compiling; assumed OK... $ac_c"
31611 cat >conftest.$ac_ext <<_ACEOF
31614 cat confdefs.h >>conftest.$ac_ext
31615 cat >>conftest.$ac_ext <<_ACEOF
31616 /* end confdefs.h. */
31618 #include <gtk/gtk.h>
31620 #include <stdlib.h>
31625 int major, minor, micro;
31628 system ("touch conf.gtktest");
31630 /* HP/UX 9 (%@#!) writes to sscanf strings */
31631 tmp_version = g_strdup("$min_gtk_version");
31632 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31633 printf("%s, bad version string\n", "$min_gtk_version");
31637 if ((gtk_major_version != $gtk_config_major_version) ||
31638 (gtk_minor_version != $gtk_config_minor_version) ||
31639 (gtk_micro_version != $gtk_config_micro_version))
31641 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31642 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31643 gtk_major_version, gtk_minor_version, gtk_micro_version);
31644 printf ("*** was found! If gtk-config was correct, then it is best\n");
31645 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31646 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31647 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31648 printf("*** required on your system.\n");
31649 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31650 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31651 printf("*** before re-running configure\n");
31653 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31654 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31655 (gtk_minor_version != GTK_MINOR_VERSION) ||
31656 (gtk_micro_version != GTK_MICRO_VERSION))
31658 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31659 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31660 printf("*** library (version %d.%d.%d)\n",
31661 gtk_major_version, gtk_minor_version, gtk_micro_version);
31663 #endif /* defined (GTK_MAJOR_VERSION) ... */
31666 if ((gtk_major_version > major) ||
31667 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31668 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31674 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31675 gtk_major_version, gtk_minor_version, gtk_micro_version);
31676 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31677 major, minor, micro);
31678 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31680 printf("*** If you have already installed a sufficiently new version, this error\n");
31681 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31682 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31683 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31684 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31685 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31686 printf("*** so that the correct libraries are found at run-time))\n");
31693 rm -f conftest$ac_exeext
31694 if { (ac_try="$ac_link"
31695 case "(($ac_try" in
31696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31697 *) ac_try_echo=$ac_try;;
31699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31700 (eval "$ac_link") 2>&5
31702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31703 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31704 { (case "(($ac_try" in
31705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31706 *) ac_try_echo=$ac_try;;
31708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31709 (eval "$ac_try") 2>&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); }; }; then
31715 echo "$as_me: program exited with status $ac_status" >&5
31716 echo "$as_me: failed program was:" >&5
31717 sed 's
/^
/| /' conftest.$ac_ext >&5
31719 ( exit $ac_status )
31722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31726 CFLAGS="$ac_save_CFLAGS"
31727 LIBS="$ac_save_LIBS"
31730 if test "x$no_gtk" = x ; then
31731 { echo "$as_me:$LINENO: result: yes" >&5
31732 echo "${ECHO_T}yes" >&6; }
31733 wx_cv_lib_gtk=1.2.7
31735 { echo "$as_me:$LINENO: result: no" >&5
31736 echo "${ECHO_T}no" >&6; }
31737 if test "$GTK_CONFIG" = "no" ; then
31738 echo "*** The gtk-config script installed by GTK could not be found"
31739 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31740 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31741 echo "*** full path to gtk-config."
31743 if test -f conf.gtktest ; then
31746 echo "*** Could not run GTK test program, checking why..."
31747 CFLAGS="$CFLAGS $GTK_CFLAGS"
31748 LIBS="$LIBS $GTK_LIBS"
31749 cat >conftest.$ac_ext <<_ACEOF
31752 cat confdefs.h >>conftest.$ac_ext
31753 cat >>conftest.$ac_ext <<_ACEOF
31754 /* end confdefs.h. */
31756 #include <gtk/gtk.h>
31762 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31767 rm -f conftest.$ac_objext conftest$ac_exeext
31768 if { (ac_try="$ac_link"
31769 case "(($ac_try" in
31770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31771 *) ac_try_echo=$ac_try;;
31773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31774 (eval "$ac_link") 2>conftest.er1
31776 grep -v '^
*+' conftest.er1 >conftest.err
31778 cat conftest.err >&5
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); } && {
31781 test -z "$ac_c_werror_flag" ||
31782 test ! -s conftest.err
31783 } && test -s conftest$ac_exeext &&
31784 $as_test_x conftest$ac_exeext; then
31785 echo "*** The test program compiled, but did not run. This usually means"
31786 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31787 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31788 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31789 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31790 echo "*** is required on your system
"
31792 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31793 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31795 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31796 echo "*** came with the system with the
command"
31798 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31800 echo "$as_me: failed program was
:" >&5
31801 sed 's/^/| /' conftest.$ac_ext >&5
31803 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31804 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31805 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31806 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31810 conftest$ac_exeext conftest.$ac_ext
31811 CFLAGS="$ac_save_CFLAGS"
31812 LIBS="$ac_save_LIBS"
31824 if test -z "$wx_cv_lib_gtk"; then
31826 # Check whether --with-gtk-prefix was given.
31827 if test "${with_gtk_prefix+set}" = set; then
31828 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31830 gtk_config_prefix=""
31834 # Check whether --with-gtk-exec-prefix was given.
31835 if test "${with_gtk_exec_prefix+set}" = set; then
31836 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31838 gtk_config_exec_prefix=""
31841 # Check whether --enable-gtktest was given.
31842 if test "${enable_gtktest+set}" = set; then
31843 enableval=$enable_gtktest;
31849 for module in . $GTK_MODULES
31853 gtk_config_args="$gtk_config_args gthread
"
31858 if test x$gtk_config_exec_prefix != x ; then
31859 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31860 if test x${GTK_CONFIG+set} != xset ; then
31861 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31864 if test x$gtk_config_prefix != x ; then
31865 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31866 if test x${GTK_CONFIG+set} != xset ; then
31867 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31871 # Extract the first word of "gtk
-config", so it can be a program name with args.
31872 set dummy gtk-config; ac_word=$2
31873 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31874 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31875 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31876 echo $ECHO_N "(cached
) $ECHO_C" >&6
31878 case $GTK_CONFIG in
31880 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31884 for as_dir in $PATH
31887 test -z "$as_dir" && as_dir=.
31888 for ac_exec_ext in '' $ac_executable_extensions; do
31889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31890 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31891 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31898 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31902 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31903 if test -n "$GTK_CONFIG"; then
31904 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31905 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31907 { echo "$as_me:$LINENO: result
: no
" >&5
31908 echo "${ECHO_T}no
" >&6; }
31912 min_gtk_version=1.2.3
31913 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31914 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31916 if test "$GTK_CONFIG" = "no
" ; then
31919 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31920 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31921 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31923 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31925 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31927 if test "x
$enable_gtktest" = "xyes
" ; then
31928 ac_save_CFLAGS="$CFLAGS"
31929 ac_save_LIBS="$LIBS"
31930 CFLAGS="$CFLAGS $GTK_CFLAGS"
31931 LIBS="$GTK_LIBS $LIBS"
31933 if test "$cross_compiling" = yes; then
31934 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31936 cat >conftest.$ac_ext <<_ACEOF
31939 cat confdefs.h >>conftest.$ac_ext
31940 cat >>conftest.$ac_ext <<_ACEOF
31941 /* end confdefs.h. */
31943 #include <gtk/gtk.h>
31945 #include <stdlib.h>
31950 int major, minor, micro;
31953 system ("touch conf.gtktest
");
31955 /* HP/UX 9 (%@#!) writes to sscanf strings */
31956 tmp_version = g_strdup("$min_gtk_version");
31957 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31958 printf("%s
, bad version string
\n", "$min_gtk_version");
31962 if ((gtk_major_version != $gtk_config_major_version) ||
31963 (gtk_minor_version != $gtk_config_minor_version) ||
31964 (gtk_micro_version != $gtk_config_micro_version))
31966 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31967 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31968 gtk_major_version, gtk_minor_version, gtk_micro_version);
31969 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31970 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31971 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31972 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31973 printf("*** required on your system.
\n");
31974 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31975 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31976 printf("*** before re
-running configure
\n");
31978 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31979 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31980 (gtk_minor_version != GTK_MINOR_VERSION) ||
31981 (gtk_micro_version != GTK_MICRO_VERSION))
31983 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31984 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31985 printf("*** library
(version
%d.
%d.
%d
)\n",
31986 gtk_major_version, gtk_minor_version, gtk_micro_version);
31988 #endif /* defined (GTK_MAJOR_VERSION) ... */
31991 if ((gtk_major_version > major) ||
31992 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31993 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31999 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
32000 gtk_major_version, gtk_minor_version, gtk_micro_version);
32001 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
32002 major, minor, micro);
32003 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
32005 printf("*** If you have already installed a sufficiently new version
, this error
\n");
32006 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
32007 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
32008 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
32009 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
32010 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
32011 printf("*** so that the correct libraries are found
at run
-time))\n");
32018 rm -f conftest$ac_exeext
32019 if { (ac_try="$ac_link"
32020 case "(($ac_try" in
32021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32022 *) ac_try_echo=$ac_try;;
32024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32025 (eval "$ac_link") 2>&5
32027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32029 { (case "(($ac_try" in
32030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32031 *) ac_try_echo=$ac_try;;
32033 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32034 (eval "$ac_try") 2>&5
32036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32037 (exit $ac_status); }; }; then
32040 echo "$as_me: program exited with status
$ac_status" >&5
32041 echo "$as_me: failed program was
:" >&5
32042 sed 's/^/| /' conftest.$ac_ext >&5
32044 ( exit $ac_status )
32047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32051 CFLAGS="$ac_save_CFLAGS"
32052 LIBS="$ac_save_LIBS"
32055 if test "x
$no_gtk" = x ; then
32056 { echo "$as_me:$LINENO: result
: yes" >&5
32057 echo "${ECHO_T}yes" >&6; }
32058 wx_cv_lib_gtk=1.2.3
32060 { echo "$as_me:$LINENO: result
: no
" >&5
32061 echo "${ECHO_T}no
" >&6; }
32062 if test "$GTK_CONFIG" = "no
" ; then
32063 echo "*** The gtk
-config script installed by GTK could not be found
"
32064 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
32065 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
32066 echo "*** full path to gtk
-config.
"
32068 if test -f conf.gtktest ; then
32071 echo "*** Could not run GTK
test program
, checking why...
"
32072 CFLAGS="$CFLAGS $GTK_CFLAGS"
32073 LIBS="$LIBS $GTK_LIBS"
32074 cat >conftest.$ac_ext <<_ACEOF
32077 cat confdefs.h >>conftest.$ac_ext
32078 cat >>conftest.$ac_ext <<_ACEOF
32079 /* end confdefs.h. */
32081 #include <gtk/gtk.h>
32087 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32092 rm -f conftest.$ac_objext conftest$ac_exeext
32093 if { (ac_try="$ac_link"
32094 case "(($ac_try" in
32095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32096 *) ac_try_echo=$ac_try;;
32098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32099 (eval "$ac_link") 2>conftest.er1
32101 grep -v '^ *+' conftest.er1 >conftest.err
32103 cat conftest.err >&5
32104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32105 (exit $ac_status); } && {
32106 test -z "$ac_c_werror_flag" ||
32107 test ! -s conftest.err
32108 } && test -s conftest$ac_exeext &&
32109 $as_test_x conftest$ac_exeext; then
32110 echo "*** The
test program compiled
, but did not run. This usually means
"
32111 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
32112 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
32113 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32114 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32115 echo "*** is required on your system"
32117 echo "*** If you have an old version installed, it is best to remove it, although"
32118 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32120 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
32121 echo "*** came with the system with the command"
32123 echo "*** rpm --erase --nodeps gtk gtk-devel"
32125 echo "$as_me: failed program was:" >&5
32126 sed 's
/^
/| /' conftest.$ac_ext >&5
32128 echo "*** The test program failed to compile or link. See the file config.log for the"
32129 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
32130 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
32131 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
32134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32135 conftest$ac_exeext conftest.$ac_ext
32136 CFLAGS="$ac_save_CFLAGS"
32137 LIBS="$ac_save_LIBS"
32152 if test -z "$wx_cv_lib_gtk"; then
32155 wx_cv_cflags_gtk=$GTK_CFLAGS
32156 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
32163 if test "$gtk_version_cached" = 1; then
32164 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
32165 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
32168 case "$wx_cv_lib_gtk" in
32177 *) { { echo "$as_me:$LINENO: error:
32178 The development files for GTK+ were not found. For GTK+ 2, please
32179 ensure that pkg-config is in the path and that gtk+-2.0.pc is
32180 installed. For GTK+ 1.2 please check that gtk-config is in the path,
32181 and that the version is 1.2.3 or above. Also check that the
32182 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
32183 --libs' are in the LD_LIBRARY_PATH or equivalent.
32185 echo "$as_me: error:
32186 The development files for GTK+ were not found. For GTK+ 2, please
32187 ensure that pkg-config is in the path and that gtk+-2.0.pc is
32188 installed. For GTK+ 1.2 please check that gtk-config is in the path,
32189 and that the version is 1.2.3 or above. Also check that the
32190 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
32191 --libs' are in the LD_LIBRARY_PATH or equivalent.
32193 { (exit 1); exit 1; }; }
32197 if test "$WXGTK20" = 1; then
32198 save_CFLAGS="$CFLAGS"
32200 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
32201 LIBS="$LIBS $wx_cv_libs_gtk"
32203 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
32204 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
32205 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32208 cat >conftest.$ac_ext <<_ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32214 #include <gtk/gtk.h>
32219 #ifndef gtk_icon_size_lookup
32220 (void) gtk_icon_size_lookup;
32227 rm -f conftest.$ac_objext
32228 if { (ac_try="$ac_compile"
32229 case "(($ac_try" in
32230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32231 *) ac_try_echo=$ac_try;;
32233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32234 (eval "$ac_compile") 2>conftest.er1
32236 grep -v '^
*+' conftest.er1 >conftest.err
32238 cat conftest.err >&5
32239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240 (exit $ac_status); } && {
32241 test -z "$ac_c_werror_flag" ||
32242 test ! -s conftest.err
32243 } && test -s conftest.$ac_objext; then
32244 ac_cv_have_decl_gtk_icon_size_lookup=yes
32246 echo "$as_me: failed program was:" >&5
32247 sed 's
/^
/| /' conftest.$ac_ext >&5
32249 ac_cv_have_decl_gtk_icon_size_lookup=no
32252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32254 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
32255 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
32256 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
32258 cat >>confdefs.h <<_ACEOF
32259 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
32264 cat >>confdefs.h <<_ACEOF
32265 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
32268 cat >>confdefs.h <<\_ACEOF
32269 #define NEED_GTK_ICON_SIZE_LOOKUP 1
32277 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
32278 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
32279 cat >conftest.$ac_ext <<_ACEOF
32282 cat confdefs.h >>conftest.$ac_ext
32283 cat >>conftest.$ac_ext <<_ACEOF
32284 /* end confdefs.h. */
32286 #include <gtk/gtk.h>
32292 #if !GTK_CHECK_VERSION(2,10,0)
32300 rm -f conftest.$ac_objext
32301 if { (ac_try="$ac_compile"
32302 case "(($ac_try" in
32303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32304 *) ac_try_echo=$ac_try;;
32306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32307 (eval "$ac_compile") 2>conftest.er1
32309 grep -v '^
*+' conftest.er1 >conftest.err
32311 cat conftest.err >&5
32312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 (exit $ac_status); } && {
32314 test -z "$ac_c_werror_flag" ||
32315 test ! -s conftest.err
32316 } && test -s conftest.$ac_objext; then
32318 cat >>confdefs.h <<\_ACEOF
32319 #define __WXGTK210__ 1
32322 cat >>confdefs.h <<\_ACEOF
32323 #define __WXGTK26__ 1
32326 cat >>confdefs.h <<\_ACEOF
32327 #define __WXGTK24__ 1
32330 { echo "$as_me:$LINENO: result: yes" >&5
32331 echo "${ECHO_T}yes" >&6; }
32335 echo "$as_me: failed program was:" >&5
32336 sed 's
/^
/| /' conftest.$ac_ext >&5
32339 { echo "$as_me:$LINENO: result: no" >&5
32340 echo "${ECHO_T}no" >&6; }
32345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32347 if test "$ac_wxgtk210" = 0; then
32348 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
32349 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
32350 cat >conftest.$ac_ext <<_ACEOF
32353 cat confdefs.h >>conftest.$ac_ext
32354 cat >>conftest.$ac_ext <<_ACEOF
32355 /* end confdefs.h. */
32357 #include <gtk/gtk.h>
32363 #if !GTK_CHECK_VERSION(2,6,0)
32371 rm -f conftest.$ac_objext
32372 if { (ac_try="$ac_compile"
32373 case "(($ac_try" in
32374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32375 *) ac_try_echo=$ac_try;;
32377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32378 (eval "$ac_compile") 2>conftest.er1
32380 grep -v '^
*+' conftest.er1 >conftest.err
32382 cat conftest.err >&5
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); } && {
32385 test -z "$ac_c_werror_flag" ||
32386 test ! -s conftest.err
32387 } && test -s conftest.$ac_objext; then
32389 cat >>confdefs.h <<\_ACEOF
32390 #define __WXGTK26__ 1
32393 cat >>confdefs.h <<\_ACEOF
32394 #define __WXGTK24__ 1
32397 { echo "$as_me:$LINENO: result: yes" >&5
32398 echo "${ECHO_T}yes" >&6; }
32402 echo "$as_me: failed program was:" >&5
32403 sed 's
/^
/| /' conftest.$ac_ext >&5
32406 { echo "$as_me:$LINENO: result: no" >&5
32407 echo "${ECHO_T}no" >&6; }
32412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32415 if test "$ac_wxgtk26" = 0; then
32416 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
32417 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
32418 cat >conftest.$ac_ext <<_ACEOF
32421 cat confdefs.h >>conftest.$ac_ext
32422 cat >>conftest.$ac_ext <<_ACEOF
32423 /* end confdefs.h. */
32425 #include <gtk/gtk.h>
32431 #if !GTK_CHECK_VERSION(2,4,0)
32439 rm -f conftest.$ac_objext
32440 if { (ac_try="$ac_compile"
32441 case "(($ac_try" in
32442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32443 *) ac_try_echo=$ac_try;;
32445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32446 (eval "$ac_compile") 2>conftest.er1
32448 grep -v '^
*+' conftest.er1 >conftest.err
32450 cat conftest.err >&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } && {
32453 test -z "$ac_c_werror_flag" ||
32454 test ! -s conftest.err
32455 } && test -s conftest.$ac_objext; then
32457 cat >>confdefs.h <<\_ACEOF
32458 #define __WXGTK24__ 1
32461 { echo "$as_me:$LINENO: result: yes" >&5
32462 echo "${ECHO_T}yes" >&6; }
32465 echo "$as_me: failed program was:" >&5
32466 sed 's
/^
/| /' conftest.$ac_ext >&5
32469 { echo "$as_me:$LINENO: result: no" >&5
32470 echo "${ECHO_T}no" >&6; }
32474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32477 CFLAGS="$save_CFLAGS"
32480 if test "$wxUSE_UNICODE" = "yes"; then
32481 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
32482 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
32486 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
32487 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
32488 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
32489 echo $ECHO_N "(cached) $ECHO_C" >&6
32491 ac_check_lib_save_LIBS=$LIBS
32493 cat >conftest.$ac_ext <<_ACEOF
32496 cat confdefs.h >>conftest.$ac_ext
32497 cat >>conftest.$ac_ext <<_ACEOF
32498 /* end confdefs.h. */
32500 /* Override any GCC internal prototype to avoid an error.
32501 Use char because int might match the return type of a GCC
32502 builtin and then its argument prototype would still apply. */
32506 char gdk_im_open ();
32510 return gdk_im_open ();
32515 rm -f conftest.$ac_objext conftest$ac_exeext
32516 if { (ac_try="$ac_link"
32517 case "(($ac_try" in
32518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32519 *) ac_try_echo=$ac_try;;
32521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32522 (eval "$ac_link") 2>conftest.er1
32524 grep -v '^
*+' conftest.er1 >conftest.err
32526 cat conftest.err >&5
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); } && {
32529 test -z "$ac_c_werror_flag" ||
32530 test ! -s conftest.err
32531 } && test -s conftest$ac_exeext &&
32532 $as_test_x conftest$ac_exeext; then
32533 ac_cv_lib_gdk_gdk_im_open=yes
32535 echo "$as_me: failed program was:" >&5
32536 sed 's
/^
/| /' conftest.$ac_ext >&5
32538 ac_cv_lib_gdk_gdk_im_open=no
32541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32542 conftest$ac_exeext conftest.$ac_ext
32543 LIBS=$ac_check_lib_save_LIBS
32545 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32546 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32547 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32548 cat >>confdefs.h <<\_ACEOF
32555 if test "$USE_DARWIN" != 1; then
32557 for ac_func in poll
32559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32560 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32562 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32563 echo $ECHO_N "(cached) $ECHO_C" >&6
32565 cat >conftest.$ac_ext <<_ACEOF
32568 cat confdefs.h >>conftest.$ac_ext
32569 cat >>conftest.$ac_ext <<_ACEOF
32570 /* end confdefs.h. */
32571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32573 #define $ac_func innocuous_$ac_func
32575 /* System header to define __stub macros and hopefully few prototypes,
32576 which can conflict with char $ac_func (); below.
32577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32578 <limits.h> exists even on freestanding compilers. */
32581 # include <limits.h>
32583 # include <assert.h>
32588 /* Override any GCC internal prototype to avoid an error.
32589 Use char because int might match the return type of a GCC
32590 builtin and then its argument prototype would still apply. */
32595 /* The GNU C library defines this for functions which it implements
32596 to always fail with ENOSYS. Some functions are actually named
32597 something starting with __ and the normal name is an alias. */
32598 #if defined __stub_$ac_func || defined __stub___$ac_func
32605 return $ac_func ();
32610 rm -f conftest.$ac_objext conftest$ac_exeext
32611 if { (ac_try="$ac_link"
32612 case "(($ac_try" in
32613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32614 *) ac_try_echo=$ac_try;;
32616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32617 (eval "$ac_link") 2>conftest.er1
32619 grep -v '^
*+' conftest.er1 >conftest.err
32621 cat conftest.err >&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); } && {
32624 test -z "$ac_c_werror_flag" ||
32625 test ! -s conftest.err
32626 } && test -s conftest$ac_exeext &&
32627 $as_test_x conftest$ac_exeext; then
32628 eval "$as_ac_var=yes"
32630 echo "$as_me: failed program was:" >&5
32631 sed 's
/^
/| /' conftest.$ac_ext >&5
32633 eval "$as_ac_var=no"
32636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32637 conftest$ac_exeext conftest.$ac_ext
32639 ac_res=`eval echo '${'$as_ac_var'}'`
32640 { echo "$as_me:$LINENO: result: $ac_res" >&5
32641 echo "${ECHO_T}$ac_res" >&6; }
32642 if test `eval echo '${'$as_ac_var'}'` = yes; then
32643 cat >>confdefs.h <<_ACEOF
32644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32653 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32654 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32656 AFMINSTALL=afminstall
32660 if test "$wxUSE_GPE" = "yes"; then
32661 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32662 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32665 for ac_dir in $SEARCH_LIB;
32667 for ac_extension in a so sl dylib dll.a; do
32668 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32669 ac_find_libraries=$ac_dir
32675 if test "$ac_find_libraries" != "" ; then
32677 if test "$ac_find_libraries" = "default location"; then
32680 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32682 if test $result = 0; then
32685 ac_path_to_link=" -L$ac_find_libraries"
32689 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32691 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32692 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32694 { echo "$as_me:$LINENO: result: not found" >&5
32695 echo "${ECHO_T}not found" >&6; }
32701 if test "$wxUSE_MGL" = 1; then
32702 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32703 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32704 if test "x$MGL_ROOT" = x ; then
32705 { echo "$as_me:$LINENO: result: not found" >&5
32706 echo "${ECHO_T}not found" >&6; }
32707 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32708 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32709 { (exit 1); exit 1; }; }
32711 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32712 echo "${ECHO_T}$MGL_ROOT" >&6; }
32715 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32716 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32719 if test "x$wxUSE_SHARED" = xyes ; then
32720 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32722 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32726 mgl_os_candidates="dos32/dj2"
32729 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32730 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32731 { (exit 1); exit 1; }; }
32737 for mgl_os_i in $mgl_os_candidates ; do
32738 if test "x$mgl_os" = x ; then
32739 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32740 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32741 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32746 if test "x$mgl_lib_type" = x ; then
32747 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32748 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32749 mgl_lib_type=release
32756 if test "x$mgl_os" = x ; then
32757 { echo "$as_me:$LINENO: result: not found" >&5
32758 echo "${ECHO_T}not found" >&6; }
32759 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32760 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32761 { (exit 1); exit 1; }; }
32763 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32764 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32766 wxUSE_UNIVERSAL="yes"
32768 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32769 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32771 AFMINSTALL=afminstall
32776 if test "$wxUSE_DFB" = 1; then
32779 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32780 if test -n "$ac_tool_prefix"; then
32781 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32782 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32785 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32786 echo $ECHO_N "(cached) $ECHO_C" >&6
32788 case $PKG_CONFIG in
32790 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32794 for as_dir in $PATH
32797 test -z "$as_dir" && as_dir=.
32798 for ac_exec_ext in '' $ac_executable_extensions; do
32799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32800 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32811 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32812 if test -n "$PKG_CONFIG"; then
32813 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32814 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32816 { echo "$as_me:$LINENO: result: no" >&5
32817 echo "${ECHO_T}no" >&6; }
32822 if test -z "$ac_cv_path_PKG_CONFIG"; then
32823 ac_pt_PKG_CONFIG=$PKG_CONFIG
32824 # Extract the first word of "pkg-config", so it can be a program name with args.
32825 set dummy pkg-config; ac_word=$2
32826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32828 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32829 echo $ECHO_N "(cached) $ECHO_C" >&6
32831 case $ac_pt_PKG_CONFIG in
32833 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32837 for as_dir in $PATH
32840 test -z "$as_dir" && as_dir=.
32841 for ac_exec_ext in '' $ac_executable_extensions; do
32842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32843 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32854 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32855 if test -n "$ac_pt_PKG_CONFIG"; then
32856 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32857 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32859 { echo "$as_me:$LINENO: result: no" >&5
32860 echo "${ECHO_T}no" >&6; }
32863 if test "x$ac_pt_PKG_CONFIG" = x; then
32866 case $cross_compiling:$ac_tool_warned in
32868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32869 whose name does not start with the host triplet. If you think this
32870 configuration is useful to you, please write to autoconf@gnu.org." >&5
32871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32872 whose name does not start with the host triplet. If you think this
32873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32874 ac_tool_warned=yes ;;
32876 PKG_CONFIG=$ac_pt_PKG_CONFIG
32879 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32883 if test -n "$PKG_CONFIG"; then
32884 _pkg_min_version=0.9.0
32885 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32886 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32887 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32888 { echo "$as_me:$LINENO: result: yes" >&5
32889 echo "${ECHO_T}yes" >&6; }
32891 { echo "$as_me:$LINENO: result: no" >&5
32892 echo "${ECHO_T}no" >&6; }
32900 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32901 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32903 if test -n "$PKG_CONFIG"; then
32904 if test -n "$DIRECTFB_CFLAGS"; then
32905 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32907 if test -n "$PKG_CONFIG" && \
32908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32909 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); }; then
32913 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32921 if test -n "$PKG_CONFIG"; then
32922 if test -n "$DIRECTFB_LIBS"; then
32923 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32925 if test -n "$PKG_CONFIG" && \
32926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32927 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; then
32931 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32942 if test $pkg_failed = yes; then
32944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32945 _pkg_short_errors_supported=yes
32947 _pkg_short_errors_supported=no
32949 if test $_pkg_short_errors_supported = yes; then
32950 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32952 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32954 # Put the nasty error message in config.log where it belongs
32955 echo "$DIRECTFB_PKG_ERRORS" >&5
32958 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32959 echo "$as_me: error: DirectFB not found." >&2;}
32960 { (exit 1); exit 1; }; }
32963 elif test $pkg_failed = untried; then
32965 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32966 echo "$as_me: error: DirectFB not found." >&2;}
32967 { (exit 1); exit 1; }; }
32971 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32972 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32973 { echo "$as_me:$LINENO: result: yes" >&5
32974 echo "${ECHO_T}yes" >&6; }
32976 wxUSE_UNIVERSAL="yes"
32977 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32978 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32985 if test "$wxUSE_MICROWIN" = 1; then
32986 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32987 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32988 if test "x$MICROWINDOWS" = x ; then
32989 { echo "$as_me:$LINENO: result: not found" >&5
32990 echo "${ECHO_T}not found" >&6; }
32991 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32992 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32993 { (exit 1); exit 1; }; }
32995 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32996 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32999 if test -f $MICROWINDOWS/lib/libmwin.a; then
33000 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
33001 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
33003 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
33004 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
33005 { (exit 1); exit 1; }; }
33008 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
33009 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
33011 wxUSE_UNIVERSAL="yes"
33013 AFMINSTALL=afminstall
33015 GUIDIST=MICROWIN_DIST
33017 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
33020 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33021 { echo "$as_me:$LINENO: checking for X" >&5
33022 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
33025 # Check whether --with-x was given.
33026 if test "${with_x+set}" = set; then
33030 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
33031 if test "x$with_x" = xno; then
33032 # The user explicitly disabled X.
33035 case $x_includes,$x_libraries in #(
33036 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
33037 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
33038 { (exit 1); exit 1; }; };; #(
33039 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
33040 echo $ECHO_N "(cached) $ECHO_C" >&6
33042 # One or both of the vars are not set, and there is no cached value.
33043 ac_x_includes=no ac_x_libraries=no
33044 rm -f -r conftest.dir
33045 if mkdir conftest.dir; then
33047 cat >Imakefile <<'_ACEOF'
33049 @echo incroot='${INCROOT}'
33051 @echo usrlibdir='${USRLIBDIR}'
33053 @echo libdir='${LIBDIR}'
33055 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
33056 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33057 for ac_var in incroot usrlibdir libdir; do
33058 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
33060 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
33061 for ac_extension in a so sl; do
33062 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
33063 test -f "$ac_im_libdir/libX11.$ac_extension"; then
33064 ac_im_usrlibdir=$ac_im_libdir; break
33067 # Screen out bogus values from the imake configuration. They are
33068 # bogus both because they are the default anyway, and because
33069 # using them would break gcc on systems where it needs fixed includes.
33070 case $ac_im_incroot in
33071 /usr/include) ac_x_includes= ;;
33072 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
33074 case $ac_im_usrlibdir in
33075 /usr/lib | /lib) ;;
33076 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
33080 rm -f -r conftest.dir
33083 # Standard set of common directories for X headers.
33084 # Check X11 before X11Rn because it is often a symlink to the current release.
33096 /usr
/local
/X
11/include
33097 /usr
/local
/X
11R
6/include
33098 /usr
/local
/X
11R
5/include
33099 /usr
/local
/X
11R
4/include
33101 /usr
/local
/include
/X11
33102 /usr
/local
/include
/X11R6
33103 /usr
/local
/include
/X11R5
33104 /usr
/local
/include
/X11R4
33108 /usr
/XFree
86/include
/X11
33112 /usr
/unsupported
/include
33113 /usr
/athena
/include
33114 /usr
/local
/x
11r
5/include
33115 /usr
/lpp
/Xamples
/include
33117 /usr
/openwin
/include
33118 /usr
/openwin
/share
/include
'
33120 if test "$ac_x_includes" = no; then
33121 # Guess where to find include files, by looking for Xlib.h.
33122 # First, try using that file with no special directory specified.
33123 cat >conftest.$ac_ext <<_ACEOF
33126 cat confdefs.h >>conftest.$ac_ext
33127 cat >>conftest.$ac_ext <<_ACEOF
33128 /* end confdefs.h. */
33129 #include <X11/Xlib.h>
33131 if { (ac_try="$ac_cpp conftest.$ac_ext"
33132 case "(($ac_try" in
33133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33134 *) ac_try_echo=$ac_try;;
33136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33139 grep -v '^
*+' conftest.er1 >conftest.err
33141 cat conftest.err >&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } >/dev/null && {
33144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33145 test ! -s conftest.err
33147 # We can compile using X headers with no special include directory.
33150 echo "$as_me: failed program was:" >&5
33151 sed 's
/^
/| /' conftest.$ac_ext >&5
33153 for ac_dir in $ac_x_header_dirs; do
33154 if test -r "$ac_dir/X11/Xlib.h"; then
33155 ac_x_includes=$ac_dir
33161 rm -f conftest.err conftest.$ac_ext
33162 fi # $ac_x_includes = no
33164 if test "$ac_x_libraries" = no; then
33165 # Check for the libraries.
33166 # See if we find them without any special options.
33167 # Don't add to
$LIBS permanently.
33170 cat >conftest.
$ac_ext <<_ACEOF
33173 cat confdefs.h
>>conftest.
$ac_ext
33174 cat >>conftest.
$ac_ext <<_ACEOF
33175 /* end confdefs.h. */
33176 #include <X11/Xlib.h>
33185 rm -f conftest.
$ac_objext conftest
$ac_exeext
33186 if { (ac_try
="$ac_link"
33187 case "(($ac_try" in
33188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33189 *) ac_try_echo=$ac_try;;
33191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33192 (eval "$ac_link") 2>conftest.er1
33194 grep -v '^ *+' conftest.er1 >conftest.err
33196 cat conftest.err >&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } && {
33199 test -z "$ac_c_werror_flag" ||
33200 test ! -s conftest.err
33201 } && test -s conftest$ac_exeext &&
33202 $as_test_x conftest$ac_exeext; then
33204 # We can link X programs with no special library path.
33207 echo "$as_me: failed program was:" >&5
33208 sed 's/^/| /' conftest.$ac_ext >&5
33211 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
33213 # Don't even attempt the hair of trying to link an X program!
33214 for ac_extension in a so sl; do
33215 if test -r "$ac_dir/libX11.$ac_extension"; then
33216 ac_x_libraries=$ac_dir
33223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33224 conftest$ac_exeext conftest.$ac_ext
33225 fi # $ac_x_libraries = no
33227 case $ac_x_includes,$ac_x_libraries in #(
33228 no,* | *,no | *\'*)
33229 # Didn't find X, or a directory has "'" in its name.
33230 ac_cv_have_x="have_x=no";; #(
33232 # Record where we found X for the cache.
33233 ac_cv_have_x="have_x=yes\
33234 ac_x_includes='$ac_x_includes'\
33235 ac_x_libraries='$ac_x_libraries'"
33241 eval "$ac_cv_have_x"
33244 if test "$have_x" != yes; then
33245 { echo "$as_me:$LINENO: result: $have_x" >&5
33246 echo "${ECHO_T}$have_x" >&6; }
33249 # If each of the values was on the command line, it overrides each guess.
33250 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
33251 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
33252 # Update the cache value to reflect the command line values.
33253 ac_cv_have_x="have_x=yes\
33254 ac_x_includes='$x_includes'\
33255 ac_x_libraries='$x_libraries'"
33256 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
33257 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
33260 if test "$no_x" = yes; then
33261 # Not all programs may use this symbol, but it does not hurt to define it.
33263 cat >>confdefs.h <<\_ACEOF
33264 #define X_DISPLAY_MISSING 1
33267 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
33269 if test -n "$x_includes"; then
33270 X_CFLAGS="$X_CFLAGS -I$x_includes"
33273 # It would also be nice to do this for all -L options, not just this one.
33274 if test -n "$x_libraries"; then
33275 X_LIBS="$X_LIBS -L$x_libraries"
33276 # For Solaris; some versions of Sun CC require a space after -R and
33277 # others require no space. Words are not sufficient . . . .
33278 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
33279 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
33280 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
33281 ac_xsave_c_werror_flag=$ac_c_werror_flag
33282 ac_c_werror_flag=yes
33283 cat >conftest.$ac_ext <<_ACEOF
33286 cat confdefs.h >>conftest.$ac_ext
33287 cat >>conftest.$ac_ext <<_ACEOF
33288 /* end confdefs.h. */
33298 rm -f conftest.$ac_objext conftest$ac_exeext
33299 if { (ac_try="$ac_link"
33300 case "(($ac_try" in
33301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33302 *) ac_try_echo
=$ac_try;;
33304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33305 (eval "$ac_link") 2>conftest.er1
33307 grep -v '^ *+' conftest.er1
>conftest.err
33309 cat conftest.err
>&5
33310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33311 (exit $ac_status); } && {
33312 test -z "$ac_c_werror_flag" ||
33313 test ! -s conftest.err
33314 } && test -s conftest
$ac_exeext &&
33315 $as_test_x conftest
$ac_exeext; then
33316 { echo "$as_me:$LINENO: result: no" >&5
33317 echo "${ECHO_T}no" >&6; }
33318 X_LIBS
="$X_LIBS -R$x_libraries"
33320 echo "$as_me: failed program was:" >&5
33321 sed 's/^/| /' conftest.
$ac_ext >&5
33323 LIBS
="$ac_xsave_LIBS -R $x_libraries"
33324 cat >conftest.
$ac_ext <<_ACEOF
33327 cat confdefs.h
>>conftest.
$ac_ext
33328 cat >>conftest.
$ac_ext <<_ACEOF
33329 /* end confdefs.h. */
33339 rm -f conftest.
$ac_objext conftest
$ac_exeext
33340 if { (ac_try
="$ac_link"
33341 case "(($ac_try" in
33342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33343 *) ac_try_echo=$ac_try;;
33345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33346 (eval "$ac_link") 2>conftest.er1
33348 grep -v '^ *+' conftest.er1 >conftest.err
33350 cat conftest.err >&5
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); } && {
33353 test -z "$ac_c_werror_flag" ||
33354 test ! -s conftest.err
33355 } && test -s conftest$ac_exeext &&
33356 $as_test_x conftest$ac_exeext; then
33357 { echo "$as_me:$LINENO: result: yes" >&5
33358 echo "${ECHO_T}yes" >&6; }
33359 X_LIBS="$X_LIBS -R $x_libraries"
33361 echo "$as_me: failed program was:" >&5
33362 sed 's/^/| /' conftest.$ac_ext >&5
33364 { echo "$as_me:$LINENO: result: neither works" >&5
33365 echo "${ECHO_T}neither works" >&6; }
33368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33369 conftest$ac_exeext conftest.$ac_ext
33372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33373 conftest$ac_exeext conftest.$ac_ext
33374 ac_c_werror_flag=$ac_xsave_c_werror_flag
33375 LIBS=$ac_xsave_LIBS
33378 # Check for system-dependent libraries X programs must link with.
33379 # Do this before checking for the system-independent R6 libraries
33380 # (-lICE), since we may need -lsocket or whatever for X linking.
33382 if test "$ISC" = yes; then
33383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
33385 # Martyn Johnson says this is needed for Ultrix, if the X
33386 # libraries were built with DECnet support. And Karl Berry says
33387 # the Alpha needs dnet_stub (dnet does not exist).
33388 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
33389 cat >conftest.$ac_ext <<_ACEOF
33392 cat confdefs.h >>conftest.$ac_ext
33393 cat >>conftest.$ac_ext <<_ACEOF
33394 /* end confdefs.h. */
33396 /* Override any GCC internal prototype to avoid an error.
33397 Use char because int might match the return type of a GCC
33398 builtin and then its argument prototype would still apply. */
33402 char XOpenDisplay ();
33406 return XOpenDisplay ();
33411 rm -f conftest.$ac_objext conftest$ac_exeext
33412 if { (ac_try="$ac_link"
33413 case "(($ac_try" in
33414 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33415 *) ac_try_echo
=$ac_try;;
33417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33418 (eval "$ac_link") 2>conftest.er1
33420 grep -v '^ *+' conftest.er1
>conftest.err
33422 cat conftest.err
>&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); } && {
33425 test -z "$ac_c_werror_flag" ||
33426 test ! -s conftest.err
33427 } && test -s conftest
$ac_exeext &&
33428 $as_test_x conftest
$ac_exeext; then
33431 echo "$as_me: failed program was:" >&5
33432 sed 's/^/| /' conftest.
$ac_ext >&5
33434 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
33435 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
33436 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
33437 echo $ECHO_N "(cached) $ECHO_C" >&6
33439 ac_check_lib_save_LIBS
=$LIBS
33440 LIBS
="-ldnet $LIBS"
33441 cat >conftest.
$ac_ext <<_ACEOF
33444 cat confdefs.h
>>conftest.
$ac_ext
33445 cat >>conftest.
$ac_ext <<_ACEOF
33446 /* end confdefs.h. */
33448 /* Override any GCC internal prototype to avoid an error.
33449 Use char because int might match the return type of a GCC
33450 builtin and then its argument prototype would still apply. */
33458 return dnet_ntoa ();
33463 rm -f conftest.
$ac_objext conftest
$ac_exeext
33464 if { (ac_try
="$ac_link"
33465 case "(($ac_try" in
33466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33467 *) ac_try_echo=$ac_try;;
33469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33470 (eval "$ac_link") 2>conftest.er1
33472 grep -v '^ *+' conftest.er1 >conftest.err
33474 cat conftest.err >&5
33475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33476 (exit $ac_status); } && {
33477 test -z "$ac_c_werror_flag" ||
33478 test ! -s conftest.err
33479 } && test -s conftest$ac_exeext &&
33480 $as_test_x conftest$ac_exeext; then
33481 ac_cv_lib_dnet_dnet_ntoa=yes
33483 echo "$as_me: failed program was:" >&5
33484 sed 's/^/| /' conftest.$ac_ext >&5
33486 ac_cv_lib_dnet_dnet_ntoa=no
33489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33490 conftest$ac_exeext conftest.$ac_ext
33491 LIBS=$ac_check_lib_save_LIBS
33493 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
33494 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
33495 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
33496 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
33499 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
33500 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
33501 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
33502 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
33503 echo $ECHO_N "(cached) $ECHO_C" >&6
33505 ac_check_lib_save_LIBS=$LIBS
33506 LIBS="-ldnet_stub $LIBS"
33507 cat >conftest.$ac_ext <<_ACEOF
33510 cat confdefs.h >>conftest.$ac_ext
33511 cat >>conftest.$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33514 /* Override any GCC internal prototype to avoid an error.
33515 Use char because int might match the return type of a GCC
33516 builtin and then its argument prototype would still apply. */
33524 return dnet_ntoa ();
33529 rm -f conftest.$ac_objext conftest$ac_exeext
33530 if { (ac_try="$ac_link"
33531 case "(($ac_try" in
33532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33533 *) ac_try_echo
=$ac_try;;
33535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33536 (eval "$ac_link") 2>conftest.er1
33538 grep -v '^ *+' conftest.er1
>conftest.err
33540 cat conftest.err
>&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); } && {
33543 test -z "$ac_c_werror_flag" ||
33544 test ! -s conftest.err
33545 } && test -s conftest
$ac_exeext &&
33546 $as_test_x conftest
$ac_exeext; then
33547 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.
$ac_ext >&5
33552 ac_cv_lib_dnet_stub_dnet_ntoa
=no
33555 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33556 conftest
$ac_exeext conftest.
$ac_ext
33557 LIBS
=$ac_check_lib_save_LIBS
33559 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33560 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33561 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33562 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
33568 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33569 conftest
$ac_exeext conftest.
$ac_ext
33570 LIBS
="$ac_xsave_LIBS"
33572 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33573 # to get the SysV transport functions.
33574 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33576 # The nsl library prevents programs from opening the X display
33577 # on Irix 5.2, according to T.E. Dickey.
33578 # The functions gethostbyname, getservbyname, and inet_addr are
33579 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33580 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33581 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33582 if test "${ac_cv_func_gethostbyname+set}" = set; then
33583 echo $ECHO_N "(cached) $ECHO_C" >&6
33585 cat >conftest.
$ac_ext <<_ACEOF
33588 cat confdefs.h
>>conftest.
$ac_ext
33589 cat >>conftest.
$ac_ext <<_ACEOF
33590 /* end confdefs.h. */
33591 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33593 #define gethostbyname innocuous_gethostbyname
33595 /* System header to define __stub macros and hopefully few prototypes,
33596 which can conflict with char gethostbyname (); below.
33597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33598 <limits.h> exists even on freestanding compilers. */
33601 # include <limits.h>
33603 # include <assert.h>
33606 #undef gethostbyname
33608 /* Override any GCC internal prototype to avoid an error.
33609 Use char because int might match the return type of a GCC
33610 builtin and then its argument prototype would still apply. */
33614 char gethostbyname ();
33615 /* The GNU C library defines this for functions which it implements
33616 to always fail with ENOSYS. Some functions are actually named
33617 something starting with __ and the normal name is an alias. */
33618 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33625 return gethostbyname ();
33630 rm -f conftest.
$ac_objext conftest
$ac_exeext
33631 if { (ac_try
="$ac_link"
33632 case "(($ac_try" in
33633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33634 *) ac_try_echo=$ac_try;;
33636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33637 (eval "$ac_link") 2>conftest.er1
33639 grep -v '^ *+' conftest.er1 >conftest.err
33641 cat conftest.err >&5
33642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33643 (exit $ac_status); } && {
33644 test -z "$ac_c_werror_flag" ||
33645 test ! -s conftest.err
33646 } && test -s conftest$ac_exeext &&
33647 $as_test_x conftest$ac_exeext; then
33648 ac_cv_func_gethostbyname=yes
33650 echo "$as_me: failed program was:" >&5
33651 sed 's/^/| /' conftest.$ac_ext >&5
33653 ac_cv_func_gethostbyname=no
33656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33657 conftest$ac_exeext conftest.$ac_ext
33659 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33660 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33662 if test $ac_cv_func_gethostbyname = no; then
33663 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33664 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33665 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33668 ac_check_lib_save_LIBS=$LIBS
33670 cat >conftest.$ac_ext <<_ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33677 /* Override any GCC internal prototype to avoid an error.
33678 Use char because int might match the return type of a GCC
33679 builtin and then its argument prototype would still apply. */
33683 char gethostbyname ();
33687 return gethostbyname ();
33692 rm -f conftest.$ac_objext conftest$ac_exeext
33693 if { (ac_try="$ac_link"
33694 case "(($ac_try" in
33695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33696 *) ac_try_echo
=$ac_try;;
33698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33699 (eval "$ac_link") 2>conftest.er1
33701 grep -v '^ *+' conftest.er1
>conftest.err
33703 cat conftest.err
>&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } && {
33706 test -z "$ac_c_werror_flag" ||
33707 test ! -s conftest.err
33708 } && test -s conftest
$ac_exeext &&
33709 $as_test_x conftest
$ac_exeext; then
33710 ac_cv_lib_nsl_gethostbyname
=yes
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.
$ac_ext >&5
33715 ac_cv_lib_nsl_gethostbyname
=no
33718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33719 conftest
$ac_exeext conftest.
$ac_ext
33720 LIBS
=$ac_check_lib_save_LIBS
33722 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33723 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33724 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33725 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33728 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33729 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33730 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33731 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33732 echo $ECHO_N "(cached) $ECHO_C" >&6
33734 ac_check_lib_save_LIBS
=$LIBS
33736 cat >conftest.
$ac_ext <<_ACEOF
33739 cat confdefs.h
>>conftest.
$ac_ext
33740 cat >>conftest.
$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33743 /* Override any GCC internal prototype to avoid an error.
33744 Use char because int might match the return type of a GCC
33745 builtin and then its argument prototype would still apply. */
33749 char gethostbyname ();
33753 return gethostbyname ();
33758 rm -f conftest.
$ac_objext conftest
$ac_exeext
33759 if { (ac_try
="$ac_link"
33760 case "(($ac_try" in
33761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33762 *) ac_try_echo=$ac_try;;
33764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33765 (eval "$ac_link") 2>conftest.er1
33767 grep -v '^ *+' conftest.er1 >conftest.err
33769 cat conftest.err >&5
33770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771 (exit $ac_status); } && {
33772 test -z "$ac_c_werror_flag" ||
33773 test ! -s conftest.err
33774 } && test -s conftest$ac_exeext &&
33775 $as_test_x conftest$ac_exeext; then
33776 ac_cv_lib_bsd_gethostbyname=yes
33778 echo "$as_me: failed program was:" >&5
33779 sed 's/^/| /' conftest.$ac_ext >&5
33781 ac_cv_lib_bsd_gethostbyname=no
33784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33785 conftest$ac_exeext conftest.$ac_ext
33786 LIBS=$ac_check_lib_save_LIBS
33788 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33789 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33790 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33791 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33797 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33798 # socket/setsockopt and other routines are undefined under SCO ODT
33799 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33800 # on later versions), says Simon Leinen: it contains gethostby*
33801 # variants that don't use the name server (or something). -lsocket
33802 # must be given before -lnsl if both are needed. We assume that
33803 # if connect needs -lnsl, so does gethostbyname.
33804 { echo "$as_me:$LINENO: checking for connect" >&5
33805 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33806 if test "${ac_cv_func_connect+set}" = set; then
33807 echo $ECHO_N "(cached) $ECHO_C" >&6
33809 cat >conftest.$ac_ext <<_ACEOF
33812 cat confdefs.h >>conftest.$ac_ext
33813 cat >>conftest.$ac_ext <<_ACEOF
33814 /* end confdefs.h. */
33815 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33817 #define connect innocuous_connect
33819 /* System header to define __stub macros and hopefully few prototypes,
33820 which can conflict with char connect (); below.
33821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33822 <limits.h> exists even on freestanding compilers. */
33825 # include <limits.h>
33827 # include <assert.h>
33832 /* Override any GCC internal prototype to avoid an error.
33833 Use char because int might match the return type of a GCC
33834 builtin and then its argument prototype would still apply. */
33839 /* The GNU C library defines this for functions which it implements
33840 to always fail with ENOSYS. Some functions are actually named
33841 something starting with __ and the normal name is an alias. */
33842 #if defined __stub_connect || defined __stub___connect
33854 rm -f conftest.$ac_objext conftest$ac_exeext
33855 if { (ac_try="$ac_link"
33856 case "(($ac_try" in
33857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33858 *) ac_try_echo
=$ac_try;;
33860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33861 (eval "$ac_link") 2>conftest.er1
33863 grep -v '^ *+' conftest.er1
>conftest.err
33865 cat conftest.err
>&5
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); } && {
33868 test -z "$ac_c_werror_flag" ||
33869 test ! -s conftest.err
33870 } && test -s conftest
$ac_exeext &&
33871 $as_test_x conftest
$ac_exeext; then
33872 ac_cv_func_connect
=yes
33874 echo "$as_me: failed program was:" >&5
33875 sed 's/^/| /' conftest.
$ac_ext >&5
33877 ac_cv_func_connect
=no
33880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33881 conftest
$ac_exeext conftest.
$ac_ext
33883 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33884 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33886 if test $ac_cv_func_connect = no
; then
33887 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33888 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33889 if test "${ac_cv_lib_socket_connect+set}" = set; then
33890 echo $ECHO_N "(cached) $ECHO_C" >&6
33892 ac_check_lib_save_LIBS
=$LIBS
33893 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33894 cat >conftest.
$ac_ext <<_ACEOF
33897 cat confdefs.h
>>conftest.
$ac_ext
33898 cat >>conftest.
$ac_ext <<_ACEOF
33899 /* end confdefs.h. */
33901 /* Override any GCC internal prototype to avoid an error.
33902 Use char because int might match the return type of a GCC
33903 builtin and then its argument prototype would still apply. */
33916 rm -f conftest.
$ac_objext conftest
$ac_exeext
33917 if { (ac_try
="$ac_link"
33918 case "(($ac_try" in
33919 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33920 *) ac_try_echo=$ac_try;;
33922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33923 (eval "$ac_link") 2>conftest.er1
33925 grep -v '^ *+' conftest.er1 >conftest.err
33927 cat conftest.err >&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); } && {
33930 test -z "$ac_c_werror_flag" ||
33931 test ! -s conftest.err
33932 } && test -s conftest$ac_exeext &&
33933 $as_test_x conftest$ac_exeext; then
33934 ac_cv_lib_socket_connect=yes
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.$ac_ext >&5
33939 ac_cv_lib_socket_connect=no
33942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33943 conftest$ac_exeext conftest.$ac_ext
33944 LIBS=$ac_check_lib_save_LIBS
33946 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33947 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33948 if test $ac_cv_lib_socket_connect = yes; then
33949 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33954 # Guillermo Gomez says -lposix is necessary on A/UX.
33955 { echo "$as_me:$LINENO: checking for remove" >&5
33956 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33957 if test "${ac_cv_func_remove+set}" = set; then
33958 echo $ECHO_N "(cached) $ECHO_C" >&6
33960 cat >conftest.$ac_ext <<_ACEOF
33963 cat confdefs.h >>conftest.$ac_ext
33964 cat >>conftest.$ac_ext <<_ACEOF
33965 /* end confdefs.h. */
33966 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33968 #define remove innocuous_remove
33970 /* System header to define __stub macros and hopefully few prototypes,
33971 which can conflict with char remove (); below.
33972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33973 <limits.h> exists even on freestanding compilers. */
33976 # include <limits.h>
33978 # include <assert.h>
33983 /* Override any GCC internal prototype to avoid an error.
33984 Use char because int might match the return type of a GCC
33985 builtin and then its argument prototype would still apply. */
33990 /* The GNU C library defines this for functions which it implements
33991 to always fail with ENOSYS. Some functions are actually named
33992 something starting with __ and the normal name is an alias. */
33993 #if defined __stub_remove || defined __stub___remove
34005 rm -f conftest.$ac_objext conftest$ac_exeext
34006 if { (ac_try="$ac_link"
34007 case "(($ac_try" in
34008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34009 *) ac_try_echo
=$ac_try;;
34011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34012 (eval "$ac_link") 2>conftest.er1
34014 grep -v '^ *+' conftest.er1
>conftest.err
34016 cat conftest.err
>&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); } && {
34019 test -z "$ac_c_werror_flag" ||
34020 test ! -s conftest.err
34021 } && test -s conftest
$ac_exeext &&
34022 $as_test_x conftest
$ac_exeext; then
34023 ac_cv_func_remove
=yes
34025 echo "$as_me: failed program was:" >&5
34026 sed 's/^/| /' conftest.
$ac_ext >&5
34028 ac_cv_func_remove
=no
34031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34032 conftest
$ac_exeext conftest.
$ac_ext
34034 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
34035 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
34037 if test $ac_cv_func_remove = no
; then
34038 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
34039 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
34040 if test "${ac_cv_lib_posix_remove+set}" = set; then
34041 echo $ECHO_N "(cached) $ECHO_C" >&6
34043 ac_check_lib_save_LIBS
=$LIBS
34044 LIBS
="-lposix $LIBS"
34045 cat >conftest.
$ac_ext <<_ACEOF
34048 cat confdefs.h
>>conftest.
$ac_ext
34049 cat >>conftest.
$ac_ext <<_ACEOF
34050 /* end confdefs.h. */
34052 /* Override any GCC internal prototype to avoid an error.
34053 Use char because int might match the return type of a GCC
34054 builtin and then its argument prototype would still apply. */
34067 rm -f conftest.
$ac_objext conftest
$ac_exeext
34068 if { (ac_try
="$ac_link"
34069 case "(($ac_try" in
34070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34071 *) ac_try_echo=$ac_try;;
34073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34074 (eval "$ac_link") 2>conftest.er1
34076 grep -v '^ *+' conftest.er1 >conftest.err
34078 cat conftest.err >&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); } && {
34081 test -z "$ac_c_werror_flag" ||
34082 test ! -s conftest.err
34083 } && test -s conftest$ac_exeext &&
34084 $as_test_x conftest$ac_exeext; then
34085 ac_cv_lib_posix_remove=yes
34087 echo "$as_me: failed program was:" >&5
34088 sed 's/^/| /' conftest.$ac_ext >&5
34090 ac_cv_lib_posix_remove=no
34093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34094 conftest$ac_exeext conftest.$ac_ext
34095 LIBS=$ac_check_lib_save_LIBS
34097 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
34098 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
34099 if test $ac_cv_lib_posix_remove = yes; then
34100 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
34105 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
34106 { echo "$as_me:$LINENO: checking for shmat" >&5
34107 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
34108 if test "${ac_cv_func_shmat+set}" = set; then
34109 echo $ECHO_N "(cached) $ECHO_C" >&6
34111 cat >conftest.$ac_ext <<_ACEOF
34114 cat confdefs.h >>conftest.$ac_ext
34115 cat >>conftest.$ac_ext <<_ACEOF
34116 /* end confdefs.h. */
34117 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
34118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34119 #define shmat innocuous_shmat
34121 /* System header to define __stub macros and hopefully few prototypes,
34122 which can conflict with char shmat (); below.
34123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34124 <limits.h> exists even on freestanding compilers. */
34127 # include <limits.h>
34129 # include <assert.h>
34134 /* Override any GCC internal prototype to avoid an error.
34135 Use char because int might match the return type of a GCC
34136 builtin and then its argument prototype would still apply. */
34141 /* The GNU C library defines this for functions which it implements
34142 to always fail with ENOSYS. Some functions are actually named
34143 something starting with __ and the normal name is an alias. */
34144 #if defined __stub_shmat || defined __stub___shmat
34156 rm -f conftest.$ac_objext conftest$ac_exeext
34157 if { (ac_try="$ac_link"
34158 case "(($ac_try" in
34159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34160 *) ac_try_echo
=$ac_try;;
34162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34163 (eval "$ac_link") 2>conftest.er1
34165 grep -v '^ *+' conftest.er1
>conftest.err
34167 cat conftest.err
>&5
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); } && {
34170 test -z "$ac_c_werror_flag" ||
34171 test ! -s conftest.err
34172 } && test -s conftest
$ac_exeext &&
34173 $as_test_x conftest
$ac_exeext; then
34174 ac_cv_func_shmat
=yes
34176 echo "$as_me: failed program was:" >&5
34177 sed 's/^/| /' conftest.
$ac_ext >&5
34179 ac_cv_func_shmat
=no
34182 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34183 conftest
$ac_exeext conftest.
$ac_ext
34185 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
34186 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
34188 if test $ac_cv_func_shmat = no
; then
34189 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
34190 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
34191 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
34192 echo $ECHO_N "(cached) $ECHO_C" >&6
34194 ac_check_lib_save_LIBS
=$LIBS
34196 cat >conftest.
$ac_ext <<_ACEOF
34199 cat confdefs.h
>>conftest.
$ac_ext
34200 cat >>conftest.
$ac_ext <<_ACEOF
34201 /* end confdefs.h. */
34203 /* Override any GCC internal prototype to avoid an error.
34204 Use char because int might match the return type of a GCC
34205 builtin and then its argument prototype would still apply. */
34218 rm -f conftest.
$ac_objext conftest
$ac_exeext
34219 if { (ac_try
="$ac_link"
34220 case "(($ac_try" in
34221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34222 *) ac_try_echo=$ac_try;;
34224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34225 (eval "$ac_link") 2>conftest.er1
34227 grep -v '^ *+' conftest.er1 >conftest.err
34229 cat conftest.err >&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); } && {
34232 test -z "$ac_c_werror_flag" ||
34233 test ! -s conftest.err
34234 } && test -s conftest$ac_exeext &&
34235 $as_test_x conftest$ac_exeext; then
34236 ac_cv_lib_ipc_shmat=yes
34238 echo "$as_me: failed program was:" >&5
34239 sed 's/^/| /' conftest.$ac_ext >&5
34241 ac_cv_lib_ipc_shmat=no
34244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34245 conftest$ac_exeext conftest.$ac_ext
34246 LIBS=$ac_check_lib_save_LIBS
34248 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
34249 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
34250 if test $ac_cv_lib_ipc_shmat = yes; then
34251 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
34257 # Check for libraries that X11R6 Xt/Xaw programs need.
34258 ac_save_LDFLAGS=$LDFLAGS
34259 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
34260 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
34261 # check for ICE first), but we must link in the order -lSM -lICE or
34262 # we get undefined symbols. So assume we have SM if we have ICE.
34263 # These have to be linked with before -lX11, unlike the other
34264 # libraries we check for below, so use a different variable.
34265 # John Interrante, Karl Berry
34266 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
34267 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
34268 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
34269 echo $ECHO_N "(cached) $ECHO_C" >&6
34271 ac_check_lib_save_LIBS=$LIBS
34272 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
34273 cat >conftest.$ac_ext <<_ACEOF
34276 cat confdefs.h >>conftest.$ac_ext
34277 cat >>conftest.$ac_ext <<_ACEOF
34278 /* end confdefs.h. */
34280 /* Override any GCC internal prototype to avoid an error.
34281 Use char because int might match the return type of a GCC
34282 builtin and then its argument prototype would still apply. */
34286 char IceConnectionNumber ();
34290 return IceConnectionNumber ();
34295 rm -f conftest.$ac_objext conftest$ac_exeext
34296 if { (ac_try="$ac_link"
34297 case "(($ac_try" in
34298 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34299 *) ac_try_echo
=$ac_try;;
34301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34302 (eval "$ac_link") 2>conftest.er1
34304 grep -v '^ *+' conftest.er1
>conftest.err
34306 cat conftest.err
>&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } && {
34309 test -z "$ac_c_werror_flag" ||
34310 test ! -s conftest.err
34311 } && test -s conftest
$ac_exeext &&
34312 $as_test_x conftest
$ac_exeext; then
34313 ac_cv_lib_ICE_IceConnectionNumber
=yes
34315 echo "$as_me: failed program was:" >&5
34316 sed 's/^/| /' conftest.
$ac_ext >&5
34318 ac_cv_lib_ICE_IceConnectionNumber
=no
34321 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34322 conftest
$ac_exeext conftest.
$ac_ext
34323 LIBS
=$ac_check_lib_save_LIBS
34325 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
34326 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
34327 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
34328 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
34331 LDFLAGS
=$ac_save_LDFLAGS
34336 if test "$no_x" = "yes"; then
34337 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
34338 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
34339 { (exit 1); exit 1; }; }
34342 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
34343 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
34344 AFMINSTALL
=afminstall
34345 COMPILED_X_PROGRAM
=0
34349 if test "$wxUSE_X11" = 1; then
34350 if test "$wxUSE_NANOX" = "yes"; then
34351 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
34352 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
34353 if test "x$MICROWIN" = x
; then
34354 { echo "$as_me:$LINENO: result: not found" >&5
34355 echo "${ECHO_T}not found" >&6; }
34356 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
34357 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
34358 { (exit 1); exit 1; }; }
34360 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
34361 echo "${ECHO_T}$MICROWIN" >&6; }
34362 cat >>confdefs.h
<<\_ACEOF
34363 #define wxUSE_NANOX 1
34369 if test "$wxUSE_UNICODE" = "yes"; then
34372 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34373 if test -n "$ac_tool_prefix"; then
34374 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34375 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
34376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34378 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34379 echo $ECHO_N "(cached) $ECHO_C" >&6
34381 case $PKG_CONFIG in
34383 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34387 for as_dir
in $PATH
34390 test -z "$as_dir" && as_dir
=.
34391 for ac_exec_ext
in '' $ac_executable_extensions; do
34392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34393 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34404 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34405 if test -n "$PKG_CONFIG"; then
34406 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34407 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34409 { echo "$as_me:$LINENO: result: no" >&5
34410 echo "${ECHO_T}no" >&6; }
34415 if test -z "$ac_cv_path_PKG_CONFIG"; then
34416 ac_pt_PKG_CONFIG
=$PKG_CONFIG
34417 # Extract the first word of "pkg-config", so it can be a program name with args.
34418 set dummy pkg
-config; ac_word
=$2
34419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34421 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34422 echo $ECHO_N "(cached) $ECHO_C" >&6
34424 case $ac_pt_PKG_CONFIG in
34426 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34430 for as_dir
in $PATH
34433 test -z "$as_dir" && as_dir
=.
34434 for ac_exec_ext
in '' $ac_executable_extensions; do
34435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34436 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34447 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
34448 if test -n "$ac_pt_PKG_CONFIG"; then
34449 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34450 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34452 { echo "$as_me:$LINENO: result: no" >&5
34453 echo "${ECHO_T}no" >&6; }
34456 if test "x$ac_pt_PKG_CONFIG" = x
; then
34459 case $cross_compiling:$ac_tool_warned in
34461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34462 whose name does not start with the host triplet. If you think this
34463 configuration is useful to you, please write to autoconf@gnu.org." >&5
34464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34465 whose name does not start with the host triplet. If you think this
34466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34467 ac_tool_warned
=yes ;;
34469 PKG_CONFIG
=$ac_pt_PKG_CONFIG
34472 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34476 if test -n "$PKG_CONFIG"; then
34477 _pkg_min_version
=0.9.0
34478 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34479 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34480 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34481 { echo "$as_me:$LINENO: result: yes" >&5
34482 echo "${ECHO_T}yes" >&6; }
34484 { echo "$as_me:$LINENO: result: no" >&5
34485 echo "${ECHO_T}no" >&6; }
34493 { echo "$as_me:$LINENO: checking for PANGOX" >&5
34494 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
34496 if test -n "$PKG_CONFIG"; then
34497 if test -n "$PANGOX_CFLAGS"; then
34498 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
34500 if test -n "$PKG_CONFIG" && \
34501 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34502 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34505 (exit $ac_status); }; then
34506 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
34514 if test -n "$PKG_CONFIG"; then
34515 if test -n "$PANGOX_LIBS"; then
34516 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
34518 if test -n "$PKG_CONFIG" && \
34519 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34520 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); }; then
34524 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
34535 if test $pkg_failed = yes; then
34537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34538 _pkg_short_errors_supported
=yes
34540 _pkg_short_errors_supported
=no
34542 if test $_pkg_short_errors_supported = yes; then
34543 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34545 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34547 # Put the nasty error message in config.log where it belongs
34548 echo "$PANGOX_PKG_ERRORS" >&5
34551 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34552 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34553 { (exit 1); exit 1; }; }
34556 elif test $pkg_failed = untried
; then
34558 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34559 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34560 { (exit 1); exit 1; }; }
34564 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
34565 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
34566 { echo "$as_me:$LINENO: result: yes" >&5
34567 echo "${ECHO_T}yes" >&6; }
34569 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
34570 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
34571 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
34576 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34577 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34579 if test -n "$PKG_CONFIG"; then
34580 if test -n "$PANGOFT2_CFLAGS"; then
34581 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
34583 if test -n "$PKG_CONFIG" && \
34584 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34585 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); }; then
34589 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34597 if test -n "$PKG_CONFIG"; then
34598 if test -n "$PANGOFT2_LIBS"; then
34599 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
34601 if test -n "$PKG_CONFIG" && \
34602 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34603 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34606 (exit $ac_status); }; then
34607 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34618 if test $pkg_failed = yes; then
34620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34621 _pkg_short_errors_supported
=yes
34623 _pkg_short_errors_supported
=no
34625 if test $_pkg_short_errors_supported = yes; then
34626 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34628 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34630 # Put the nasty error message in config.log where it belongs
34631 echo "$PANGOFT2_PKG_ERRORS" >&5
34634 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34635 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34636 wxUSE_PRINTING_ARCHITECTURE
="no"
34639 elif test $pkg_failed = untried
; then
34641 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34642 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34643 wxUSE_PRINTING_ARCHITECTURE
="no"
34647 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
34648 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
34649 { echo "$as_me:$LINENO: result: yes" >&5
34650 echo "${ECHO_T}yes" >&6; }
34652 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
34653 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
34654 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34659 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34660 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34662 if test -n "$PKG_CONFIG"; then
34663 if test -n "$PANGOXFT_CFLAGS"; then
34664 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
34666 if test -n "$PKG_CONFIG" && \
34667 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34668 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34671 (exit $ac_status); }; then
34672 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34680 if test -n "$PKG_CONFIG"; then
34681 if test -n "$PANGOXFT_LIBS"; then
34682 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34684 if test -n "$PKG_CONFIG" && \
34685 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34686 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); }; then
34690 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34701 if test $pkg_failed = yes; then
34703 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34704 _pkg_short_errors_supported
=yes
34706 _pkg_short_errors_supported
=no
34708 if test $_pkg_short_errors_supported = yes; then
34709 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34711 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34713 # Put the nasty error message in config.log where it belongs
34714 echo "$PANGOXFT_PKG_ERRORS" >&5
34717 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34718 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34721 elif test $pkg_failed = untried
; then
34723 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34724 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34728 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34729 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34730 { echo "$as_me:$LINENO: result: yes" >&5
34731 echo "${ECHO_T}yes" >&6; }
34733 cat >>confdefs.h
<<\_ACEOF
34734 #define HAVE_PANGO_XFT 1
34737 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34738 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34739 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34743 LIBS
="$LIBS $PANGOX_LIBS"
34745 for ac_func
in pango_font_family_is_monospace
34747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34750 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34751 echo $ECHO_N "(cached) $ECHO_C" >&6
34753 cat >conftest.
$ac_ext <<_ACEOF
34756 cat confdefs.h
>>conftest.
$ac_ext
34757 cat >>conftest.
$ac_ext <<_ACEOF
34758 /* end confdefs.h. */
34759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34761 #define $ac_func innocuous_$ac_func
34763 /* System header to define __stub macros and hopefully few prototypes,
34764 which can conflict with char $ac_func (); below.
34765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34766 <limits.h> exists even on freestanding compilers. */
34769 # include <limits.h>
34771 # include <assert.h>
34776 /* Override any GCC internal prototype to avoid an error.
34777 Use char because int might match the return type of a GCC
34778 builtin and then its argument prototype would still apply. */
34783 /* The GNU C library defines this for functions which it implements
34784 to always fail with ENOSYS. Some functions are actually named
34785 something starting with __ and the normal name is an alias. */
34786 #if defined __stub_$ac_func || defined __stub___$ac_func
34793 return $ac_func ();
34798 rm -f conftest.
$ac_objext conftest
$ac_exeext
34799 if { (ac_try
="$ac_link"
34800 case "(($ac_try" in
34801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34802 *) ac_try_echo=$ac_try;;
34804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34805 (eval "$ac_link") 2>conftest.er1
34807 grep -v '^ *+' conftest.er1 >conftest.err
34809 cat conftest.err >&5
34810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811 (exit $ac_status); } && {
34812 test -z "$ac_c_werror_flag" ||
34813 test ! -s conftest.err
34814 } && test -s conftest$ac_exeext &&
34815 $as_test_x conftest$ac_exeext; then
34816 eval "$as_ac_var=yes"
34818 echo "$as_me: failed program was:" >&5
34819 sed 's/^/| /' conftest.$ac_ext >&5
34821 eval "$as_ac_var=no"
34824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34825 conftest$ac_exeext conftest.$ac_ext
34827 ac_res=`eval echo '${'$as_ac_var'}'`
34828 { echo "$as_me:$LINENO: result: $ac_res" >&5
34829 echo "${ECHO_T}$ac_res" >&6; }
34830 if test `eval echo '${'$as_ac_var'}'` = yes; then
34831 cat >>confdefs.h <<_ACEOF
34832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34841 wxUSE_UNIVERSAL="yes"
34843 if test "$wxUSE_NANOX" = "yes"; then
34844 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34845 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"
34846 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34848 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34855 if test "$wxUSE_MOTIF" = 1; then
34856 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34857 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34860 for ac_dir in $SEARCH_INCLUDE /usr/include;
34862 if test -f "$ac_dir/Xm/Xm.h"; then
34863 ac_find_includes=$ac_dir
34868 if test "$ac_find_includes" != "" ; then
34869 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34870 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34872 if test "x$ac_find_includes" = "x/usr/include"; then
34873 ac_path_to_include=""
34875 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34877 if test $result = 0; then
34878 ac_path_to_include=""
34880 ac_path_to_include=" -I$ac_find_includes"
34884 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34886 save_CFLAGS=$CFLAGS
34887 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34889 cat >conftest.$ac_ext <<_ACEOF
34892 cat confdefs.h >>conftest.$ac_ext
34893 cat >>conftest.$ac_ext <<_ACEOF
34894 /* end confdefs.h. */
34903 version = xmUseVersion;
34909 rm -f conftest.$ac_objext
34910 if { (ac_try="$ac_compile"
34911 case "(($ac_try" in
34912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34913 *) ac_try_echo
=$ac_try;;
34915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34916 (eval "$ac_compile") 2>conftest.er1
34918 grep -v '^ *+' conftest.er1
>conftest.err
34920 cat conftest.err
>&5
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); } && {
34923 test -z "$ac_c_werror_flag" ||
34924 test ! -s conftest.err
34925 } && test -s conftest.
$ac_objext; then
34927 { echo "$as_me:$LINENO: result: found in default search path" >&5
34928 echo "${ECHO_T}found in default search path" >&6; }
34929 COMPILED_X_PROGRAM
=1
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.
$ac_ext >&5
34936 { echo "$as_me:$LINENO: result: no" >&5
34937 echo "${ECHO_T}no" >&6; }
34938 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34939 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34940 { (exit 1); exit 1; }; }
34945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34947 CFLAGS
=$save_CFLAGS
34951 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34952 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34955 for ac_dir
in $SEARCH_LIB;
34957 for ac_extension
in a so sl dylib dll.a
; do
34958 if test -f "$ac_dir/libXm.$ac_extension"; then
34959 ac_find_libraries
=$ac_dir
34966 if test "x$ac_find_libraries" != "x" ; then
34967 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34968 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34971 if test "$ac_find_libraries" = "default location"; then
34974 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34976 if test $result = 0; then
34979 ac_path_to_link
=" -L$ac_find_libraries"
34983 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34985 save_CFLAGS
=$CFLAGS
34986 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34988 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34990 cat >conftest.
$ac_ext <<_ACEOF
34993 cat confdefs.h
>>conftest.
$ac_ext
34994 cat >>conftest.
$ac_ext <<_ACEOF
34995 /* end confdefs.h. */
35004 version = xmUseVersion;
35010 rm -f conftest.
$ac_objext conftest
$ac_exeext
35011 if { (ac_try
="$ac_link"
35012 case "(($ac_try" in
35013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35014 *) ac_try_echo=$ac_try;;
35016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35017 (eval "$ac_link") 2>conftest.er1
35019 grep -v '^ *+' conftest.er1 >conftest.err
35021 cat conftest.err >&5
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); } && {
35024 test -z "$ac_c_werror_flag" ||
35025 test ! -s conftest.err
35026 } && test -s conftest$ac_exeext &&
35027 $as_test_x conftest$ac_exeext; then
35029 { echo "$as_me:$LINENO: result: found in default search path" >&5
35030 echo "${ECHO_T}found in default search path" >&6; }
35031 COMPILED_X_PROGRAM=1
35034 echo "$as_me: failed program was:" >&5
35035 sed 's/^/| /' conftest.$ac_ext >&5
35038 { echo "$as_me:$LINENO: result: no" >&5
35039 echo "${ECHO_T}no" >&6; }
35040 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
35041 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
35042 { (exit 1); exit 1; }; }
35047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35048 conftest$ac_exeext conftest.$ac_ext
35050 CFLAGS=$save_CFLAGS
35054 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
35055 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
35059 for libp in "" " -lXp"; do
35060 if test "$libs_found" = "0"; then
35061 for libsm_ice in "" " -lSM -lICE"; do
35062 if test "$libs_found" = "0"; then
35064 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
35065 save_CFLAGS=$CFLAGS
35066 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35068 cat >conftest.$ac_ext <<_ACEOF
35071 cat confdefs.h >>conftest.$ac_ext
35072 cat >>conftest.$ac_ext <<_ACEOF
35073 /* end confdefs.h. */
35076 #include <Xm/List.h>
35082 XmString string = NULL;
35085 XmListAddItem(w, string, position);
35091 rm -f conftest.$ac_objext conftest$ac_exeext
35092 if { (ac_try="$ac_link"
35093 case "(($ac_try" in
35094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35095 *) ac_try_echo
=$ac_try;;
35097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35098 (eval "$ac_link") 2>conftest.er1
35100 grep -v '^ *+' conftest.er1
>conftest.err
35102 cat conftest.err
>&5
35103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35104 (exit $ac_status); } && {
35105 test -z "$ac_c_werror_flag" ||
35106 test ! -s conftest.err
35107 } && test -s conftest
$ac_exeext &&
35108 $as_test_x conftest
$ac_exeext; then
35111 libsm_ice_link
="$libsm_ice"
35112 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
35113 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
35117 echo "$as_me: failed program was:" >&5
35118 sed 's/^/| /' conftest.
$ac_ext >&5
35124 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35125 conftest
$ac_exeext conftest.
$ac_ext
35128 CFLAGS
=$save_CFLAGS
35134 if test "$libs_found" = "0"; then
35135 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
35136 echo "${ECHO_T}can't find the right libraries" >&6; }
35137 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
35138 echo "$as_me: error: can't link a simple motif program" >&2;}
35139 { (exit 1); exit 1; }; }
35142 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
35143 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
35144 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
35145 echo $ECHO_N "(cached) $ECHO_C" >&6
35147 ac_check_lib_save_LIBS
=$LIBS
35149 cat >conftest.
$ac_ext <<_ACEOF
35152 cat confdefs.h
>>conftest.
$ac_ext
35153 cat >>conftest.
$ac_ext <<_ACEOF
35154 /* end confdefs.h. */
35156 /* Override any GCC internal prototype to avoid an error.
35157 Use char because int might match the return type of a GCC
35158 builtin and then its argument prototype would still apply. */
35162 char SgCreateList ();
35166 return SgCreateList ();
35171 rm -f conftest.
$ac_objext conftest
$ac_exeext
35172 if { (ac_try
="$ac_link"
35173 case "(($ac_try" in
35174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35175 *) ac_try_echo=$ac_try;;
35177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35178 (eval "$ac_link") 2>conftest.er1
35180 grep -v '^ *+' conftest.er1 >conftest.err
35182 cat conftest.err >&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); } && {
35185 test -z "$ac_c_werror_flag" ||
35186 test ! -s conftest.err
35187 } && test -s conftest$ac_exeext &&
35188 $as_test_x conftest$ac_exeext; then
35189 ac_cv_lib_Sgm_SgCreateList=yes
35191 echo "$as_me: failed program was:" >&5
35192 sed 's/^/| /' conftest.$ac_ext >&5
35194 ac_cv_lib_Sgm_SgCreateList=no
35197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35198 conftest$ac_exeext conftest.$ac_ext
35199 LIBS=$ac_check_lib_save_LIBS
35201 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
35202 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
35203 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
35204 libsgm_link=" -lSgm"
35208 save_CFLAGS=$CFLAGS
35209 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35211 { echo "$as_me:$LINENO: checking for Motif 2" >&5
35212 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
35213 if test "${wx_cv_lib_motif2+set}" = set; then
35214 echo $ECHO_N "(cached) $ECHO_C" >&6
35216 cat >conftest.$ac_ext <<_ACEOF
35219 cat confdefs.h >>conftest.$ac_ext
35220 cat >>conftest.$ac_ext <<_ACEOF
35221 /* end confdefs.h. */
35229 #if XmVersion < 2000
35237 rm -f conftest.$ac_objext
35238 if { (ac_try="$ac_compile"
35239 case "(($ac_try" in
35240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35241 *) ac_try_echo
=$ac_try;;
35243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35244 (eval "$ac_compile") 2>conftest.er1
35246 grep -v '^ *+' conftest.er1
>conftest.err
35248 cat conftest.err
>&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } && {
35251 test -z "$ac_c_werror_flag" ||
35252 test ! -s conftest.err
35253 } && test -s conftest.
$ac_objext; then
35254 wx_cv_lib_motif2
="yes"
35256 echo "$as_me: failed program was:" >&5
35257 sed 's/^/| /' conftest.
$ac_ext >&5
35259 wx_cv_lib_motif2
="no"
35262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35264 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
35265 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
35266 if test "$wx_cv_lib_motif2" = "yes"; then
35267 cat >>confdefs.h
<<\_ACEOF
35268 #define __WXMOTIF20__ 1
35272 cat >>confdefs.h
<<\_ACEOF
35273 #define __WXMOTIF20__ 0
35278 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
35279 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
35280 if test "${wx_cv_lib_lesstif+set}" = set; then
35281 echo $ECHO_N "(cached) $ECHO_C" >&6
35283 cat >conftest.
$ac_ext <<_ACEOF
35286 cat confdefs.h
>>conftest.
$ac_ext
35287 cat >>conftest.
$ac_ext <<_ACEOF
35288 /* end confdefs.h. */
35296 #if !defined(LesstifVersion) || LesstifVersion <= 0
35304 rm -f conftest.
$ac_objext
35305 if { (ac_try
="$ac_compile"
35306 case "(($ac_try" in
35307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35308 *) ac_try_echo=$ac_try;;
35310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35311 (eval "$ac_compile") 2>conftest.er1
35313 grep -v '^ *+' conftest.er1 >conftest.err
35315 cat conftest.err >&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } && {
35318 test -z "$ac_c_werror_flag" ||
35319 test ! -s conftest.err
35320 } && test -s conftest.$ac_objext; then
35321 wx_cv_lib_lesstif="yes"
35323 echo "$as_me: failed program was:" >&5
35324 sed 's/^/| /' conftest.$ac_ext >&5
35326 wx_cv_lib_lesstif="no"
35329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35332 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
35333 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
35334 if test "$wx_cv_lib_lesstif" = "yes"; then
35335 cat >>confdefs.h <<\_ACEOF
35336 #define __WXLESSTIF__ 1
35340 cat >>confdefs.h <<\_ACEOF
35341 #define __WXLESSTIF__ 0
35346 CFLAGS=$save_CFLAGS
35348 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
35353 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
35354 if test "$wxUSE_LIBXPM" = "sys"; then
35355 { echo "$as_me:$LINENO: checking for Xpm library" >&5
35356 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
35359 for ac_dir in $SEARCH_LIB;
35361 for ac_extension in a so sl dylib dll.a; do
35362 if test -f "$ac_dir/libXpm.$ac_extension"; then
35363 ac_find_libraries=$ac_dir
35369 if test "$ac_find_libraries" != "" ; then
35371 if test "$ac_find_libraries" = "default location"; then
35374 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
35376 if test $result = 0; then
35379 ac_path_to_link=" -L$ac_find_libraries"
35383 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
35384 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35385 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35387 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
35388 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
35389 if test "${wx_cv_x11_xpm_h+set}" = set; then
35390 echo $ECHO_N "(cached) $ECHO_C" >&6
35393 save_CFLAGS=$CFLAGS
35394 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35396 cat >conftest.$ac_ext <<_ACEOF
35399 cat confdefs.h >>conftest.$ac_ext
35400 cat >>conftest.$ac_ext <<_ACEOF
35401 /* end confdefs.h. */
35403 #include <X11/xpm.h>
35410 version = XpmLibraryVersion();
35416 rm -f conftest.$ac_objext
35417 if { (ac_try="$ac_compile"
35418 case "(($ac_try" in
35419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35420 *) ac_try_echo
=$ac_try;;
35422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35423 (eval "$ac_compile") 2>conftest.er1
35425 grep -v '^ *+' conftest.er1
>conftest.err
35427 cat conftest.err
>&5
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); } && {
35430 test -z "$ac_c_werror_flag" ||
35431 test ! -s conftest.err
35432 } && test -s conftest.
$ac_objext; then
35433 wx_cv_x11_xpm_h
=yes
35435 echo "$as_me: failed program was:" >&5
35436 sed 's/^/| /' conftest.
$ac_ext >&5
35442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35444 CFLAGS
=$save_CFLAGS
35448 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
35449 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
35451 if test $wx_cv_x11_xpm_h = "yes"; then
35452 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
35453 cat >>confdefs.h
<<\_ACEOF
35454 #define wxHAVE_LIB_XPM 1
35458 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
35459 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
35465 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
35466 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
35467 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
35468 echo $ECHO_N "(cached) $ECHO_C" >&6
35470 ac_check_lib_save_LIBS
=$LIBS
35471 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
35472 cat >conftest.
$ac_ext <<_ACEOF
35475 cat confdefs.h
>>conftest.
$ac_ext
35476 cat >>conftest.
$ac_ext <<_ACEOF
35477 /* end confdefs.h. */
35479 /* Override any GCC internal prototype to avoid an error.
35480 Use char because int might match the return type of a GCC
35481 builtin and then its argument prototype would still apply. */
35485 char XShapeQueryExtension ();
35489 return XShapeQueryExtension ();
35494 rm -f conftest.
$ac_objext conftest
$ac_exeext
35495 if { (ac_try
="$ac_link"
35496 case "(($ac_try" in
35497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35498 *) ac_try_echo=$ac_try;;
35500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35501 (eval "$ac_link") 2>conftest.er1
35503 grep -v '^ *+' conftest.er1 >conftest.err
35505 cat conftest.err >&5
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); } && {
35508 test -z "$ac_c_werror_flag" ||
35509 test ! -s conftest.err
35510 } && test -s conftest$ac_exeext &&
35511 $as_test_x conftest$ac_exeext; then
35512 ac_cv_lib_Xext_XShapeQueryExtension=yes
35514 echo "$as_me: failed program was:" >&5
35515 sed 's/^/| /' conftest.$ac_ext >&5
35517 ac_cv_lib_Xext_XShapeQueryExtension=no
35520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35521 conftest$ac_exeext conftest.$ac_ext
35522 LIBS=$ac_check_lib_save_LIBS
35524 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
35525 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
35526 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
35528 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
35534 if test "$wxHAVE_XEXT_LIB" = 1; then
35535 save_CFLAGS="$CFLAGS"
35536 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35538 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35539 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35540 cat >conftest.$ac_ext <<_ACEOF
35543 cat confdefs.h >>conftest.$ac_ext
35544 cat >>conftest.$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35547 #include <X11/Xlib.h>
35548 #include <X11/extensions/shape.h>
35554 int dummy1, dummy2;
35555 XShapeQueryExtension((Display*)NULL,
35556 (int*)NULL, (int*)NULL);
35562 rm -f conftest.$ac_objext
35563 if { (ac_try="$ac_compile"
35564 case "(($ac_try" in
35565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35566 *) ac_try_echo
=$ac_try;;
35568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35569 (eval "$ac_compile") 2>conftest.er1
35571 grep -v '^ *+' conftest.er1
>conftest.err
35573 cat conftest.err
>&5
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); } && {
35576 test -z "$ac_c_werror_flag" ||
35577 test ! -s conftest.err
35578 } && test -s conftest.
$ac_objext; then
35580 cat >>confdefs.h
<<\_ACEOF
35581 #define HAVE_XSHAPE 1
35584 { echo "$as_me:$LINENO: result: found" >&5
35585 echo "${ECHO_T}found" >&6; }
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.
$ac_ext >&5
35592 { echo "$as_me:$LINENO: result: not found" >&5
35593 echo "${ECHO_T}not found" >&6; }
35597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35598 CFLAGS
="$save_CFLAGS"
35603 if test "$wxUSE_MAC" = 1; then
35604 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35605 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35606 if test "$GCC" = yes; then
35607 { echo "$as_me:$LINENO: result: gcc" >&5
35608 echo "${ECHO_T}gcc" >&6; }
35609 CPPFLAGS_PASCAL
="-fpascal-strings"
35610 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35611 { echo "$as_me:$LINENO: result: xlc" >&5
35612 echo "${ECHO_T}xlc" >&6; }
35613 CPPFLAGS_PASCAL
="-qmacpstr"
35615 { echo "$as_me:$LINENO: result: none" >&5
35616 echo "${ECHO_T}none" >&6; }
35619 if test "x$wxUSE_UNIX" = "xyes"; then
35620 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35622 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35627 WXBASEPORT
="_carbon"
35630 if test "$wxUSE_COCOA" = 1; then
35635 if test "$wxUSE_PM" = 1; then
35638 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35639 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35640 if test "${wx_cv_spbcdata+set}" = set; then
35641 echo $ECHO_N "(cached) $ECHO_C" >&6
35644 cat >conftest.
$ac_ext <<_ACEOF
35647 cat confdefs.h
>>conftest.
$ac_ext
35648 cat >>conftest.
$ac_ext <<_ACEOF
35649 /* end confdefs.h. */
35664 rm -f conftest.
$ac_objext
35665 if { (ac_try
="$ac_compile"
35666 case "(($ac_try" in
35667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35668 *) ac_try_echo=$ac_try;;
35670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35671 (eval "$ac_compile") 2>conftest.er1
35673 grep -v '^ *+' conftest.er1 >conftest.err
35675 cat conftest.err >&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); } && {
35678 test -z "$ac_c_werror_flag" ||
35679 test ! -s conftest.err
35680 } && test -s conftest.$ac_objext; then
35683 echo "$as_me: failed program was:" >&5
35684 sed 's/^/| /' conftest.$ac_ext >&5
35690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35694 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35695 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35697 if test $wx_cv_spbcdata = "yes"; then
35698 cat >>confdefs.h <<\_ACEOF
35699 #define HAVE_SPBCDATA 1
35705 if test "$TOOLKIT" = "PM" ; then
35708 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35711 if test "$wxUSE_UNIVERSAL" = "yes"; then
35712 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35716 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35717 DISTDIR="wx\$(TOOLKIT)"
35723 if test "$USE_WIN32" = 1 ; then
35727 GUIDIST="BASE_DIST"
35733 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35734 if test "$TOOLKIT" = "DFB" ; then
35735 wxUSE_UNICODE_UTF8=yes
35736 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
35737 wxUSE_UNICODE_UTF8=yes
35738 elif test "$USE_OS2" = "1" ; then
35739 wxUSE_UNICODE_UTF8=yes
35741 wxUSE_UNICODE_UTF8=no
35746 if test "$wxUSE_GUI" = "yes"; then
35747 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35749 for ac_header in X11/Xlib.h
35751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35752 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35757 cat >conftest.$ac_ext <<_ACEOF
35760 cat confdefs.h >>conftest.$ac_ext
35761 cat >>conftest.$ac_ext <<_ACEOF
35762 /* end confdefs.h. */
35765 #include <$ac_header>
35767 rm -f conftest.$ac_objext
35768 if { (ac_try="$ac_compile"
35769 case "(($ac_try" in
35770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35771 *) ac_try_echo
=$ac_try;;
35773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35774 (eval "$ac_compile") 2>conftest.er1
35776 grep -v '^ *+' conftest.er1
>conftest.err
35778 cat conftest.err
>&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } && {
35781 test -z "$ac_c_werror_flag" ||
35782 test ! -s conftest.err
35783 } && test -s conftest.
$ac_objext; then
35784 eval "$as_ac_Header=yes"
35786 echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.
$ac_ext >&5
35789 eval "$as_ac_Header=no"
35792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35794 ac_res
=`eval echo '${'$as_ac_Header'}'`
35795 { echo "$as_me:$LINENO: result: $ac_res" >&5
35796 echo "${ECHO_T}$ac_res" >&6; }
35797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35798 cat >>confdefs.h
<<_ACEOF
35799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35807 for ac_header
in X
11/XKBlib.h
35809 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35810 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35812 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+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. */
35822 #if HAVE_X11_XLIB_H
35823 #include <X11/Xlib.h>
35827 #include <$ac_header>
35829 rm -f conftest.
$ac_objext
35830 if { (ac_try
="$ac_compile"
35831 case "(($ac_try" in
35832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35833 *) ac_try_echo=$ac_try;;
35835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35836 (eval "$ac_compile") 2>conftest.er1
35838 grep -v '^ *+' conftest.er1 >conftest.err
35840 cat conftest.err >&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } && {
35843 test -z "$ac_c_werror_flag" ||
35844 test ! -s conftest.err
35845 } && test -s conftest.$ac_objext; then
35846 eval "$as_ac_Header=yes"
35848 echo "$as_me: failed program was:" >&5
35849 sed 's/^/| /' conftest.$ac_ext >&5
35851 eval "$as_ac_Header=no"
35854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35856 ac_res=`eval echo '${'$as_ac_Header'}'`
35857 { echo "$as_me:$LINENO: result: $ac_res" >&5
35858 echo "${ECHO_T}$ac_res" >&6; }
35859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35860 cat >>confdefs.h <<_ACEOF
35861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35876 if test "$TOOLKIT" != "MSW" ; then
35878 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35880 { echo "$as_me:$LINENO: checking for sql.h" >&5
35881 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35882 if test "${ac_cv_header_sql_h+set}" = set; then
35883 echo $ECHO_N "(cached) $ECHO_C" >&6
35885 cat >conftest.$ac_ext <<_ACEOF
35888 cat confdefs.h >>conftest.$ac_ext
35889 cat >>conftest.$ac_ext <<_ACEOF
35890 /* end confdefs.h. */
35895 rm -f conftest.$ac_objext
35896 if { (ac_try="$ac_compile"
35897 case "(($ac_try" in
35898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35899 *) ac_try_echo
=$ac_try;;
35901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35902 (eval "$ac_compile") 2>conftest.er1
35904 grep -v '^ *+' conftest.er1
>conftest.err
35906 cat conftest.err
>&5
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); } && {
35909 test -z "$ac_c_werror_flag" ||
35910 test ! -s conftest.err
35911 } && test -s conftest.
$ac_objext; then
35912 ac_cv_header_sql_h
=yes
35914 echo "$as_me: failed program was:" >&5
35915 sed 's/^/| /' conftest.
$ac_ext >&5
35917 ac_cv_header_sql_h
=no
35920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35922 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35923 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35924 if test $ac_cv_header_sql_h = yes; then
35929 if test "x$found_sql_h" = "x1" ; then
35930 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35931 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35932 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35933 echo $ECHO_N "(cached) $ECHO_C" >&6
35935 ac_check_lib_save_LIBS
=$LIBS
35936 LIBS
="-liodbc $LIBS"
35937 cat >conftest.
$ac_ext <<_ACEOF
35940 cat confdefs.h
>>conftest.
$ac_ext
35941 cat >>conftest.
$ac_ext <<_ACEOF
35942 /* end confdefs.h. */
35944 /* Override any GCC internal prototype to avoid an error.
35945 Use char because int might match the return type of a GCC
35946 builtin and then its argument prototype would still apply. */
35950 char SQLAllocEnv ();
35954 return SQLAllocEnv ();
35959 rm -f conftest.
$ac_objext conftest
$ac_exeext
35960 if { (ac_try
="$ac_link"
35961 case "(($ac_try" in
35962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35963 *) ac_try_echo=$ac_try;;
35965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35966 (eval "$ac_link") 2>conftest.er1
35968 grep -v '^ *+' conftest.er1 >conftest.err
35970 cat conftest.err >&5
35971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972 (exit $ac_status); } && {
35973 test -z "$ac_c_werror_flag" ||
35974 test ! -s conftest.err
35975 } && test -s conftest$ac_exeext &&
35976 $as_test_x conftest$ac_exeext; then
35977 ac_cv_lib_iodbc_SQLAllocEnv=yes
35979 echo "$as_me: failed program was:" >&5
35980 sed 's/^/| /' conftest.$ac_ext >&5
35982 ac_cv_lib_iodbc_SQLAllocEnv=no
35985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35986 conftest$ac_exeext conftest.$ac_ext
35987 LIBS=$ac_check_lib_save_LIBS
35989 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35990 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35991 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35992 ODBC_LINK=" -liodbc"
35995 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35996 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35997 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35998 echo $ECHO_N "(cached) $ECHO_C" >&6
36000 ac_check_lib_save_LIBS=$LIBS
36001 LIBS="-lunixodbc $LIBS"
36002 cat >conftest.$ac_ext <<_ACEOF
36005 cat confdefs.h >>conftest.$ac_ext
36006 cat >>conftest.$ac_ext <<_ACEOF
36007 /* end confdefs.h. */
36009 /* Override any GCC internal prototype to avoid an error.
36010 Use char because int might match the return type of a GCC
36011 builtin and then its argument prototype would still apply. */
36015 char SQLAllocEnv ();
36019 return SQLAllocEnv ();
36024 rm -f conftest.$ac_objext conftest$ac_exeext
36025 if { (ac_try="$ac_link"
36026 case "(($ac_try" in
36027 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36028 *) ac_try_echo
=$ac_try;;
36030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36031 (eval "$ac_link") 2>conftest.er1
36033 grep -v '^ *+' conftest.er1
>conftest.err
36035 cat conftest.err
>&5
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); } && {
36038 test -z "$ac_c_werror_flag" ||
36039 test ! -s conftest.err
36040 } && test -s conftest
$ac_exeext &&
36041 $as_test_x conftest
$ac_exeext; then
36042 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.
$ac_ext >&5
36047 ac_cv_lib_unixodbc_SQLAllocEnv
=no
36050 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36051 conftest
$ac_exeext conftest.
$ac_ext
36052 LIBS
=$ac_check_lib_save_LIBS
36054 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
36055 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
36056 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
36057 ODBC_LINK
=" -lunixodbc"
36060 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
36061 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
36062 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
36063 echo $ECHO_N "(cached) $ECHO_C" >&6
36065 ac_check_lib_save_LIBS
=$LIBS
36066 LIBS
="-lodbc $LIBS"
36067 cat >conftest.
$ac_ext <<_ACEOF
36070 cat confdefs.h
>>conftest.
$ac_ext
36071 cat >>conftest.
$ac_ext <<_ACEOF
36072 /* end confdefs.h. */
36074 /* Override any GCC internal prototype to avoid an error.
36075 Use char because int might match the return type of a GCC
36076 builtin and then its argument prototype would still apply. */
36080 char SQLAllocEnv ();
36084 return SQLAllocEnv ();
36089 rm -f conftest.
$ac_objext conftest
$ac_exeext
36090 if { (ac_try
="$ac_link"
36091 case "(($ac_try" in
36092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36093 *) ac_try_echo=$ac_try;;
36095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36096 (eval "$ac_link") 2>conftest.er1
36098 grep -v '^ *+' conftest.er1 >conftest.err
36100 cat conftest.err >&5
36101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102 (exit $ac_status); } && {
36103 test -z "$ac_c_werror_flag" ||
36104 test ! -s conftest.err
36105 } && test -s conftest$ac_exeext &&
36106 $as_test_x conftest$ac_exeext; then
36107 ac_cv_lib_odbc_SQLAllocEnv=yes
36109 echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.$ac_ext >&5
36112 ac_cv_lib_odbc_SQLAllocEnv=no
36115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36116 conftest$ac_exeext conftest.$ac_ext
36117 LIBS=$ac_check_lib_save_LIBS
36119 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
36120 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
36121 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
36122 ODBC_LINK=" -lodbc"
36132 if test "x$ODBC_LINK" = "x" ; then
36133 if test "$wxUSE_ODBC" = "sys" ; then
36134 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
36135 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
36136 { (exit 1); exit 1; }; }
36138 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
36139 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
36147 if test "$wxUSE_ODBC" = "builtin" ; then
36148 cat >>confdefs.h <<\_ACEOF
36149 #define wxUSE_BUILTIN_IODBC 1
36155 if test "$wxUSE_ODBC" != "no" ; then
36156 cat >>confdefs.h <<\_ACEOF
36157 #define wxUSE_ODBC 1
36160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
36162 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
36166 if test "$wxUSE_DISPLAY" = "yes"; then
36167 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
36168 { echo "$as_me:$LINENO: checking for Xinerama" >&5
36169 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
36172 for ac_dir in $SEARCH_LIB;
36174 for ac_extension in a so sl dylib dll.a; do
36175 if test -f "$ac_dir/libXinerama.$ac_extension"; then
36176 ac_find_libraries=$ac_dir
36182 if test "$ac_find_libraries" != "" ; then
36184 if test "$ac_find_libraries" = "default location"; then
36187 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36189 if test $result = 0; then
36192 ac_path_to_link=" -L$ac_find_libraries"
36196 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36197 LDFLAGS="$LDFLAGS $ac_path_to_link"
36199 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
36200 { echo "$as_me:$LINENO: result: yes" >&5
36201 echo "${ECHO_T}yes" >&6; }
36203 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
36204 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
36207 for ac_dir in $SEARCH_LIB;
36209 for ac_extension in a so sl dylib dll.a; do
36210 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
36211 ac_find_libraries=$ac_dir
36217 if test "$ac_find_libraries" != "" ; then
36218 { echo "$as_me:$LINENO: result: yes" >&5
36219 echo "${ECHO_T}yes" >&6; }
36221 for ac_header in X11/extensions/xf86vmode.h
36223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36227 echo $ECHO_N "(cached) $ECHO_C" >&6
36229 cat >conftest.$ac_ext <<_ACEOF
36232 cat confdefs.h >>conftest.$ac_ext
36233 cat >>conftest.$ac_ext <<_ACEOF
36234 /* end confdefs.h. */
36236 #if HAVE_X11_XLIB_H
36237 #include <X11/Xlib.h>
36241 #include <$ac_header>
36243 rm -f conftest.$ac_objext
36244 if { (ac_try="$ac_compile"
36245 case "(($ac_try" in
36246 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36247 *) ac_try_echo
=$ac_try;;
36249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36250 (eval "$ac_compile") 2>conftest.er1
36252 grep -v '^ *+' conftest.er1
>conftest.err
36254 cat conftest.err
>&5
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); } && {
36257 test -z "$ac_c_werror_flag" ||
36258 test ! -s conftest.err
36259 } && test -s conftest.
$ac_objext; then
36260 eval "$as_ac_Header=yes"
36262 echo "$as_me: failed program was:" >&5
36263 sed 's/^/| /' conftest.
$ac_ext >&5
36265 eval "$as_ac_Header=no"
36268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36270 ac_res
=`eval echo '${'$as_ac_Header'}'`
36271 { echo "$as_me:$LINENO: result: $ac_res" >&5
36272 echo "${ECHO_T}$ac_res" >&6; }
36273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36274 cat >>confdefs.h
<<_ACEOF
36275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36278 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
36285 { echo "$as_me:$LINENO: result: no" >&5
36286 echo "${ECHO_T}no" >&6; }
36290 { echo "$as_me:$LINENO: result: no" >&5
36291 echo "${ECHO_T}no" >&6; }
36292 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
36293 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
36296 elif test "$wxUSE_MSW" = 1; then
36297 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
36298 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
36299 if test "${ac_cv_header_ddraw_h+set}" = set; then
36300 echo $ECHO_N "(cached) $ECHO_C" >&6
36302 cat >conftest.
$ac_ext <<_ACEOF
36305 cat confdefs.h
>>conftest.
$ac_ext
36306 cat >>conftest.
$ac_ext <<_ACEOF
36307 /* end confdefs.h. */
36308 #include <windows.h>
36312 rm -f conftest.
$ac_objext
36313 if { (ac_try
="$ac_compile"
36314 case "(($ac_try" in
36315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36316 *) ac_try_echo=$ac_try;;
36318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36319 (eval "$ac_compile") 2>conftest.er1
36321 grep -v '^ *+' conftest.er1 >conftest.err
36323 cat conftest.err >&5
36324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36325 (exit $ac_status); } && {
36326 test -z "$ac_c_werror_flag" ||
36327 test ! -s conftest.err
36328 } && test -s conftest.$ac_objext; then
36329 ac_cv_header_ddraw_h=yes
36331 echo "$as_me: failed program was:" >&5
36332 sed 's/^/| /' conftest.$ac_ext >&5
36334 ac_cv_header_ddraw_h=no
36337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36339 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
36340 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
36346 if test "$wxUSE_DETECT_SM" = "yes"; then
36347 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
36348 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
36349 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
36352 for ac_dir in $SEARCH_LIB;
36354 for ac_extension in a so sl dylib dll.a; do
36355 if test -f "$ac_dir/libSM.$ac_extension"; then
36356 ac_find_libraries=$ac_dir
36362 if test "$ac_find_libraries" != "" ; then
36364 if test "$ac_find_libraries" = "default location"; then
36367 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36369 if test $result = 0; then
36372 ac_path_to_link=" -L$ac_find_libraries"
36376 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36377 LDFLAGS="$LDFLAGS $ac_path_to_link"
36379 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
36380 { echo "$as_me:$LINENO: result: yes" >&5
36381 echo "${ECHO_T}yes" >&6; }
36383 { echo "$as_me:$LINENO: result: no" >&5
36384 echo "${ECHO_T}no" >&6; }
36385 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
36386 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
36387 wxUSE_DETECT_SM="no"
36390 wxUSE_DETECT_SM="no"
36397 if test "$wxUSE_OPENGL" = "yes"; then
36398 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
36399 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
36400 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
36402 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
36403 OPENGL_LIBS="-framework OpenGL -framework AGL"
36404 elif test "$wxUSE_MSW" = 1; then
36405 OPENGL_LIBS="-lopengl32 -lglu32"
36407 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
36408 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
36411 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
36413 if test -f "$ac_dir/GL/gl.h"; then
36414 ac_find_includes=$ac_dir
36419 if test "$ac_find_includes" != "" ; then
36420 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
36421 echo "${ECHO_T}found in $ac_find_includes" >&6; }
36423 if test "x$ac_find_includes" = "x/usr/include"; then
36424 ac_path_to_include=""
36426 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
36428 if test $result = 0; then
36429 ac_path_to_include=""
36431 ac_path_to_include=" -I$ac_find_includes"
36435 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
36437 { echo "$as_me:$LINENO: result: not found" >&5
36438 echo "${ECHO_T}not found" >&6; }
36441 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
36442 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
36443 if test "${ac_cv_header_GL_gl_h+set}" = set; then
36444 echo $ECHO_N "(cached) $ECHO_C" >&6
36446 cat >conftest.$ac_ext <<_ACEOF
36449 cat confdefs.h >>conftest.$ac_ext
36450 cat >>conftest.$ac_ext <<_ACEOF
36451 /* end confdefs.h. */
36456 rm -f conftest.$ac_objext
36457 if { (ac_try="$ac_compile"
36458 case "(($ac_try" in
36459 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36460 *) ac_try_echo
=$ac_try;;
36462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36463 (eval "$ac_compile") 2>conftest.er1
36465 grep -v '^ *+' conftest.er1
>conftest.err
36467 cat conftest.err
>&5
36468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36469 (exit $ac_status); } && {
36470 test -z "$ac_c_werror_flag" ||
36471 test ! -s conftest.err
36472 } && test -s conftest.
$ac_objext; then
36473 ac_cv_header_GL_gl_h
=yes
36475 echo "$as_me: failed program was:" >&5
36476 sed 's/^/| /' conftest.
$ac_ext >&5
36478 ac_cv_header_GL_gl_h
=no
36481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36483 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36484 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36485 if test $ac_cv_header_GL_gl_h = yes; then
36487 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36488 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36489 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36490 echo $ECHO_N "(cached) $ECHO_C" >&6
36492 cat >conftest.
$ac_ext <<_ACEOF
36495 cat confdefs.h
>>conftest.
$ac_ext
36496 cat >>conftest.
$ac_ext <<_ACEOF
36497 /* end confdefs.h. */
36500 #include <GL/glu.h>
36502 rm -f conftest.
$ac_objext
36503 if { (ac_try
="$ac_compile"
36504 case "(($ac_try" in
36505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36506 *) ac_try_echo=$ac_try;;
36508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36509 (eval "$ac_compile") 2>conftest.er1
36511 grep -v '^ *+' conftest.er1 >conftest.err
36513 cat conftest.err >&5
36514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36515 (exit $ac_status); } && {
36516 test -z "$ac_c_werror_flag" ||
36517 test ! -s conftest.err
36518 } && test -s conftest.$ac_objext; then
36519 ac_cv_header_GL_glu_h=yes
36521 echo "$as_me: failed program was:" >&5
36522 sed 's/^/| /' conftest.$ac_ext >&5
36524 ac_cv_header_GL_glu_h=no
36527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36529 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36530 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36531 if test $ac_cv_header_GL_glu_h = yes; then
36535 { echo "$as_me:$LINENO: checking for -lGL" >&5
36536 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
36539 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36541 for ac_extension in a so sl dylib dll.a; do
36542 if test -f "$ac_dir/libGL.$ac_extension"; then
36543 ac_find_libraries=$ac_dir
36549 if test "$ac_find_libraries" != "" ; then
36550 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36551 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36554 if test "$ac_find_libraries" = "default location"; then
36557 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36559 if test $result = 0; then
36562 ac_path_to_link=" -L$ac_find_libraries"
36566 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36567 LDFLAGS_GL="$ac_path_to_link"
36570 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36571 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36574 for ac_dir in $SEARCH_LIB;
36576 for ac_extension in a so sl dylib dll.a; do
36577 if test -f "$ac_dir/libGLU.$ac_extension"; then
36578 ac_find_libraries=$ac_dir
36584 if test "$ac_find_libraries" != "" ; then
36586 if test "$ac_find_libraries" = "default location"; then
36589 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36591 if test $result = 0; then
36594 ac_path_to_link=" -L$ac_find_libraries"
36598 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36599 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36600 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36604 OPENGL_LIBS="-lGL -lGLU"
36605 { echo "$as_me:$LINENO: result: yes" >&5
36606 echo "${ECHO_T}yes" >&6; }
36608 { echo "$as_me:$LINENO: result: no" >&5
36609 echo "${ECHO_T}no" >&6; }
36612 { echo "$as_me:$LINENO: result: no" >&5
36613 echo "${ECHO_T}no" >&6; }
36616 if test "$found_gl" != 1; then
36617 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36618 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36621 for ac_dir in $SEARCH_LIB;
36623 for ac_extension in a so sl dylib dll.a; do
36624 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36625 ac_find_libraries=$ac_dir
36631 if test "$ac_find_libraries" != "" ; then
36633 if test "$ac_find_libraries" = "default location"; then
36636 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36638 if test $result = 0; then
36641 ac_path_to_link=" -L$ac_find_libraries"
36645 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36646 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36647 { echo "$as_me:$LINENO: result: yes" >&5
36648 echo "${ECHO_T}yes" >&6; }
36650 { echo "$as_me:$LINENO: result: no" >&5
36651 echo "${ECHO_T}no" >&6; }
36663 if test "x$OPENGL_LIBS" = "x"; then
36664 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36665 echo "$as_me: error: OpenGL libraries not available" >&2;}
36666 { (exit 1); exit 1; }; }
36670 if test "$wxUSE_OPENGL" = "yes"; then
36672 cat >>confdefs.h <<\_ACEOF
36673 #define wxUSE_OPENGL 1
36676 cat >>confdefs.h <<\_ACEOF
36677 #define wxUSE_GLCANVAS 1
36680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36685 if test -n "$TOOLKIT" ; then
36686 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36691 if test "$wxUSE_SHARED" = "yes"; then
36695 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36696 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36701 if test "$wxUSE_SHARED" = "yes"; then
36705 *-*-cygwin* | *-*-mingw* )
36706 wx_cv_version_script=no
36710 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36711 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36712 if test "${wx_cv_version_script+set}" = set; then
36713 echo $ECHO_N "(cached) $ECHO_C" >&6
36716 echo "VER_1 { *; };" >conftest.sym
36717 echo "int main() { return 0; }" >conftest.cpp
36720 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36721 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36723 (eval $ac_try) 2>&5
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); }; } ; then
36727 if test -s conftest.stderr ; then
36728 wx_cv_version_script=no
36730 wx_cv_version_script=yes
36733 wx_cv_version_script=no
36736 if test $wx_cv_version_script = yes
36738 echo "struct B { virtual ~B() { } }; \
36739 struct D : public B { }; \
36740 void F() { D d; }" > conftest.cpp
36743 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36744 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36746 (eval $ac_try) 2>&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); }; } &&
36751 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36752 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36754 (eval $ac_try) 2>&5
36756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757 (exit $ac_status); }; }
36760 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36761 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36763 (eval $ac_try) 2>&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); }; }
36768 wx_cv_version_script=yes
36770 wx_cv_version_script=no
36775 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36776 rm -f conftest1.output conftest2.output conftest3.output
36779 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36780 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36782 if test $wx_cv_version_script = yes ; then
36783 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36789 if test "$wxUSE_VISIBILITY" != "no"; then
36792 if test -n "$GCC"; then
36793 CFLAGS_VISIBILITY="-fvisibility=hidden"
36794 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36795 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36796 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36797 if test "${wx_cv_cc_visibility+set}" = set; then
36798 echo $ECHO_N "(cached) $ECHO_C" >&6
36801 wx_save_CXXFLAGS="$CXXFLAGS"
36802 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36804 ac_cpp='$CXXCPP $CPPFLAGS'
36805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36809 cat >conftest.$ac_ext <<_ACEOF
36812 cat confdefs.h >>conftest.$ac_ext
36813 cat >>conftest.$ac_ext <<_ACEOF
36814 /* end confdefs.h. */
36816 /* we need gcc >= 4.0, older versions with visibility support
36817 didn't have class visibility: */
36818 #if defined(__GNUC__) && __GNUC__ < 4
36819 error this gcc is too old;
36822 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36823 extern __attribute__((__visibility__("default"))) int exportedvar;
36824 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36825 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36826 class __attribute__((__visibility__("default"))) Foo {
36838 rm -f conftest.$ac_objext
36839 if { (ac_try="$ac_compile"
36840 case "(($ac_try" in
36841 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36842 *) ac_try_echo
=$ac_try;;
36844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36845 (eval "$ac_compile") 2>conftest.er1
36847 grep -v '^ *+' conftest.er1
>conftest.err
36849 cat conftest.err
>&5
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); } && {
36852 test -z "$ac_cxx_werror_flag" ||
36853 test ! -s conftest.err
36854 } && test -s conftest.
$ac_objext; then
36855 wx_cv_cc_visibility
=yes
36857 echo "$as_me: failed program was:" >&5
36858 sed 's/^/| /' conftest.
$ac_ext >&5
36860 wx_cv_cc_visibility
=no
36863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36865 ac_cpp
='$CPP $CPPFLAGS'
36866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36870 CXXFLAGS
="$wx_save_CXXFLAGS"
36873 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36874 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36875 if test $wx_cv_cc_visibility = yes; then
36876 cat >>confdefs.h
<<\_ACEOF
36877 #define HAVE_VISIBILITY 1
36881 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36882 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36883 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36884 echo $ECHO_N "(cached) $ECHO_C" >&6
36887 wx_save_CXXFLAGS
="$CXXFLAGS"
36888 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36890 ac_cpp
='$CXXCPP $CPPFLAGS'
36891 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36892 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36893 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36895 cat >conftest.
$ac_ext <<_ACEOF
36898 cat confdefs.h
>>conftest.
$ac_ext
36899 cat >>conftest.
$ac_ext <<_ACEOF
36900 /* end confdefs.h. */
36914 rm -f conftest.
$ac_objext conftest
$ac_exeext
36915 if { (ac_try
="$ac_link"
36916 case "(($ac_try" in
36917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36918 *) ac_try_echo=$ac_try;;
36920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36921 (eval "$ac_link") 2>conftest.er1
36923 grep -v '^ *+' conftest.er1 >conftest.err
36925 cat conftest.err >&5
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); } && {
36928 test -z "$ac_cxx_werror_flag" ||
36929 test ! -s conftest.err
36930 } && test -s conftest$ac_exeext &&
36931 $as_test_x conftest$ac_exeext; then
36932 wx_cv_cc_broken_libstdcxx_visibility=no
36934 echo "$as_me: failed program was:" >&5
36935 sed 's/^/| /' conftest.$ac_ext >&5
36937 wx_cv_cc_broken_libstdcxx_visibility=yes
36940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36941 conftest$ac_exeext conftest.$ac_ext
36943 ac_cpp='$CPP $CPPFLAGS'
36944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36948 CXXFLAGS="$wx_save_CXXFLAGS"
36951 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36952 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36953 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36954 cat >>confdefs.h <<\_ACEOF
36955 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36961 CFLAGS_VISIBILITY=""
36962 CXXFLAGS_VISIBILITY=""
36970 if test "x$SUNCXX" = xyes; then
36971 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36972 WXCONFIG_RPATH="-R\$libdir"
36975 *-*-linux* | *-*-gnu* )
36976 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36977 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36982 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36984 saveLdflags="$LDFLAGS"
36985 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36986 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36987 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36988 cat >conftest.$ac_ext <<_ACEOF
36991 cat confdefs.h >>conftest.$ac_ext
36992 cat >>conftest.$ac_ext <<_ACEOF
36993 /* end confdefs.h. */
37003 rm -f conftest.$ac_objext conftest$ac_exeext
37004 if { (ac_try="$ac_link"
37005 case "(($ac_try" in
37006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37007 *) ac_try_echo
=$ac_try;;
37009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37010 (eval "$ac_link") 2>conftest.er1
37012 grep -v '^ *+' conftest.er1
>conftest.err
37014 cat conftest.err
>&5
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); } && {
37017 test -z "$ac_c_werror_flag" ||
37018 test ! -s conftest.err
37019 } && test -s conftest
$ac_exeext &&
37020 $as_test_x conftest
$ac_exeext; then
37022 { echo "$as_me:$LINENO: result: yes" >&5
37023 echo "${ECHO_T}yes" >&6; }
37024 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
37025 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
37028 echo "$as_me: failed program was:" >&5
37029 sed 's/^/| /' conftest.
$ac_ext >&5
37032 { echo "$as_me:$LINENO: result: no" >&5
37033 echo "${ECHO_T}no" >&6; }
37034 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37035 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37036 LDFLAGS
="$saveLdflags -Wl,-R,/"
37037 cat >conftest.
$ac_ext <<_ACEOF
37040 cat confdefs.h
>>conftest.
$ac_ext
37041 cat >>conftest.
$ac_ext <<_ACEOF
37042 /* end confdefs.h. */
37052 rm -f conftest.
$ac_objext conftest
$ac_exeext
37053 if { (ac_try
="$ac_link"
37054 case "(($ac_try" in
37055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37056 *) ac_try_echo=$ac_try;;
37058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37059 (eval "$ac_link") 2>conftest.er1
37061 grep -v '^ *+' conftest.er1 >conftest.err
37063 cat conftest.err >&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); } && {
37066 test -z "$ac_c_werror_flag" ||
37067 test ! -s conftest.err
37068 } && test -s conftest$ac_exeext &&
37069 $as_test_x conftest$ac_exeext; then
37071 { echo "$as_me:$LINENO: result: yes" >&5
37072 echo "${ECHO_T}yes" >&6; }
37073 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37074 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.$ac_ext >&5
37081 { echo "$as_me:$LINENO: result: no" >&5
37082 echo "${ECHO_T}no" >&6; }
37086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37087 conftest$ac_exeext conftest.$ac_ext
37091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37092 conftest$ac_exeext conftest.$ac_ext
37093 LDFLAGS="$saveLdflags"
37097 install_name_tool=`which install_name_tool
`
37098 if test "$install_name_tool" -a -x "$install_name_tool"; then
37099 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
37100 cat <<EOF >change-install-names
37102 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
37103 inst_cmd="install_name_tool "
37104 for i in \${libnames} ; do
37105 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
37109 chmod +x change-install-names
37113 *-*-cygwin* | *-*-mingw32* )
37114 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
37118 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37119 WXCONFIG_RPATH="-Wl,+b,\$libdir"
37125 if test $wxUSE_RPATH = "no"; then
37126 SAMPLES_RPATH_FLAG=''
37127 SAMPLES_RPATH_POSTLINK=''
37135 config_linkage_component="-static"
37142 lib_unicode_suffix=
37144 if test "$wxUSE_UNICODE" = "yes"; then
37145 lib_unicode_suffix=u
37146 WX_CHARTYPE="unicode"
37151 WX_DEBUGTYPE="release"
37153 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
37155 WX_DEBUGTYPE="debug"
37159 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
37160 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
37163 if test "$wxUSE_DEBUG_INFO" = "yes"; then
37167 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
37169 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
37171 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
37173 if test "$cross_compiling" = "yes"; then
37174 HOST_SUFFIX="-$host_alias"
37175 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
37176 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
37179 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
37180 if test "${TOOLKIT_DIR}" = "os2"; then
37181 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
37183 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
37188 if test "$wxUSE_COCOA" = 1; then
37191 ac_cpp='$CPP $CPPFLAGS'
37192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37198 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
37199 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
37200 cat >conftest.$ac_ext <<_ACEOF
37203 cat confdefs.h >>conftest.$ac_ext
37204 cat >>conftest.$ac_ext <<_ACEOF
37205 /* end confdefs.h. */
37206 #include <AppKit/NSEvent.h>
37207 #include <CoreFoundation/CoreFoundation.h>
37217 rm -f conftest.$ac_objext
37218 if { (ac_try="$ac_compile"
37219 case "(($ac_try" in
37220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37221 *) ac_try_echo
=$ac_try;;
37223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37224 (eval "$ac_compile") 2>conftest.er1
37226 grep -v '^ *+' conftest.er1
>conftest.err
37228 cat conftest.err
>&5
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); } && {
37231 test -z "$ac_c_werror_flag" ||
37232 test ! -s conftest.err
37233 } && test -s conftest.
$ac_objext; then
37234 { echo "$as_me:$LINENO: result: no" >&5
37235 echo "${ECHO_T}no" >&6; }
37237 echo "$as_me: failed program was:" >&5
37238 sed 's/^/| /' conftest.
$ac_ext >&5
37240 { echo "$as_me:$LINENO: result: yes" >&5
37241 echo "${ECHO_T}yes" >&6; }
37242 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
37243 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
37244 cat >conftest.
$ac_ext <<_ACEOF
37247 cat confdefs.h
>>conftest.
$ac_ext
37248 cat >>conftest.
$ac_ext <<_ACEOF
37249 /* end confdefs.h. */
37250 #define __Point__ 1
37251 #include <AppKit/NSEvent.h>
37252 #include <CoreFoundation/CoreFoundation.h>
37262 rm -f conftest.
$ac_objext
37263 if { (ac_try
="$ac_compile"
37264 case "(($ac_try" in
37265 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37266 *) ac_try_echo=$ac_try;;
37268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37269 (eval "$ac_compile") 2>conftest.er1
37271 grep -v '^ *+' conftest.er1 >conftest.err
37273 cat conftest.err >&5
37274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275 (exit $ac_status); } && {
37276 test -z "$ac_c_werror_flag" ||
37277 test ! -s conftest.err
37278 } && test -s conftest.$ac_objext; then
37279 { echo "$as_me:$LINENO: result: yes" >&5
37280 echo "${ECHO_T}yes" >&6; }
37281 cat >>confdefs.h <<\_ACEOF
37282 #define __Point__ 1
37287 echo "$as_me: failed program was:" >&5
37288 sed 's/^/| /' conftest.$ac_ext >&5
37290 { { echo "$as_me:$LINENO: error: no
37291 See \`config.log
' for more details." >&5
37292 echo "$as_me: error: no
37293 See \`config.log' for more details.
" >&2;}
37294 { (exit 1); exit 1; }; }
37298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37304 ac_cpp='$CPP $CPPFLAGS'
37305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37311 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
37312 WX_RESOURCES_MACOSX_ASCII="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.r
"
37313 WX_RESOURCES_MACOSX_DATA="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.rsrc
"
37315 LIBWXMACRES="\
$(wx_top_builddir)/lib
/${WX_RESOURCES_MACOSX_ASCII}"
37317 # Extract the first word of "Rez
", so it can be a program name with args.
37318 set dummy Rez; ac_word=$2
37319 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
37320 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
37321 if test "${ac_cv_prog_REZ+set}" = set; then
37322 echo $ECHO_N "(cached
) $ECHO_C" >&6
37324 if test -n "$REZ"; then
37325 ac_cv_prog_REZ="$REZ" # Let the user override the test.
37327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37328 for as_dir in $PATH
37331 test -z "$as_dir" && as_dir=.
37332 for ac_exec_ext in '' $ac_executable_extensions; do
37333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37334 ac_cv_prog_REZ="Rez
"
37335 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
37342 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer
/Tools
/Rez
"
37345 REZ=$ac_cv_prog_REZ
37346 if test -n "$REZ"; then
37347 { echo "$as_me:$LINENO: result
: $REZ" >&5
37348 echo "${ECHO_T}$REZ" >&6; }
37350 { echo "$as_me:$LINENO: result
: no
" >&5
37351 echo "${ECHO_T}no
" >&6; }
37355 # Extract the first word of "DeRez
", so it can be a program name with args.
37356 set dummy DeRez; ac_word=$2
37357 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
37358 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
37359 if test "${ac_cv_prog_DEREZ+set}" = set; then
37360 echo $ECHO_N "(cached
) $ECHO_C" >&6
37362 if test -n "$DEREZ"; then
37363 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
37365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37366 for as_dir in $PATH
37369 test -z "$as_dir" && as_dir=.
37370 for ac_exec_ext in '' $ac_executable_extensions; do
37371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37372 ac_cv_prog_DEREZ="DeRez
"
37373 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
37380 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer
/Tools
/DeRez
"
37383 DEREZ=$ac_cv_prog_DEREZ
37384 if test -n "$DEREZ"; then
37385 { echo "$as_me:$LINENO: result
: $DEREZ" >&5
37386 echo "${ECHO_T}$DEREZ" >&6; }
37388 { echo "$as_me:$LINENO: result
: no
" >&5
37389 echo "${ECHO_T}no
" >&6; }
37393 # Extract the first word of "SetFile
", so it can be a program name with args.
37394 set dummy SetFile; ac_word=$2
37395 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
37396 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
37397 if test "${ac_cv_prog_SETFILE+set}" = set; then
37398 echo $ECHO_N "(cached
) $ECHO_C" >&6
37400 if test -n "$SETFILE"; then
37401 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
37403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37404 for as_dir in $PATH
37407 test -z "$as_dir" && as_dir=.
37408 for ac_exec_ext in '' $ac_executable_extensions; do
37409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37410 ac_cv_prog_SETFILE="SetFile
"
37411 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
37418 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer
/Tools
/SetFile
"
37421 SETFILE=$ac_cv_prog_SETFILE
37422 if test -n "$SETFILE"; then
37423 { echo "$as_me:$LINENO: result
: $SETFILE" >&5
37424 echo "${ECHO_T}$SETFILE" >&6; }
37426 { echo "$as_me:$LINENO: result
: no
" >&5
37427 echo "${ECHO_T}no
" >&6; }
37432 MACSETFILE="\
$(SETFILE)"
37434 if test "$wxUSE_MAC" = 1; then
37435 POSTLINK_COMMAND="\
$(REZ) -d __DARWIN__
-t APPL Carbon.r
-o"
37437 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL Carbon.r
-o"
37439 POSTLINK_COMMAND="cat /dev
/null
| \
$(REZ) -d __DARWIN__
-t APPL
${LIBWXMACRES}"
37440 RESCOMP="cat /dev
/null \
| $REZ"
37441 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL \
$libdir/$WX_RESOURCES_MACOSX_ASCII"
37447 if test "$wxUSE_PM" = 1; then
37449 WXCONFIG_RESFLAGS="-ep"
37451 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
37453 POSTLINK_COMMAND="@true
"
37460 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
37461 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
37462 if test "${ac_cv_type_mode_t+set}" = set; then
37463 echo $ECHO_N "(cached
) $ECHO_C" >&6
37465 cat >conftest.$ac_ext <<_ACEOF
37468 cat confdefs.h >>conftest.$ac_ext
37469 cat >>conftest.$ac_ext <<_ACEOF
37470 /* end confdefs.h. */
37471 $ac_includes_default
37472 typedef mode_t ac__type_new_;
37476 if ((ac__type_new_ *) 0)
37478 if (sizeof (ac__type_new_))
37484 rm -f conftest.$ac_objext
37485 if { (ac_try="$ac_compile"
37486 case "(($ac_try" in
37487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37488 *) ac_try_echo=$ac_try;;
37490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37491 (eval "$ac_compile") 2>conftest.er1
37493 grep -v '^ *+' conftest.er1 >conftest.err
37495 cat conftest.err >&5
37496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37497 (exit $ac_status); } && {
37498 test -z "$ac_c_werror_flag" ||
37499 test ! -s conftest.err
37500 } && test -s conftest.$ac_objext; then
37501 ac_cv_type_mode_t=yes
37503 echo "$as_me: failed program was
:" >&5
37504 sed 's/^/| /' conftest.$ac_ext >&5
37506 ac_cv_type_mode_t=no
37509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37511 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
37512 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
37513 if test $ac_cv_type_mode_t = yes; then
37517 cat >>confdefs.h <<_ACEOF
37523 { echo "$as_me:$LINENO: checking
for off_t
" >&5
37524 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
37525 if test "${ac_cv_type_off_t+set}" = set; then
37526 echo $ECHO_N "(cached
) $ECHO_C" >&6
37528 cat >conftest.$ac_ext <<_ACEOF
37531 cat confdefs.h >>conftest.$ac_ext
37532 cat >>conftest.$ac_ext <<_ACEOF
37533 /* end confdefs.h. */
37534 $ac_includes_default
37535 typedef off_t ac__type_new_;
37539 if ((ac__type_new_ *) 0)
37541 if (sizeof (ac__type_new_))
37547 rm -f conftest.$ac_objext
37548 if { (ac_try="$ac_compile"
37549 case "(($ac_try" in
37550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37551 *) ac_try_echo=$ac_try;;
37553 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37554 (eval "$ac_compile") 2>conftest.er1
37556 grep -v '^ *+' conftest.er1 >conftest.err
37558 cat conftest.err >&5
37559 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37560 (exit $ac_status); } && {
37561 test -z "$ac_c_werror_flag" ||
37562 test ! -s conftest.err
37563 } && test -s conftest.$ac_objext; then
37564 ac_cv_type_off_t=yes
37566 echo "$as_me: failed program was
:" >&5
37567 sed 's/^/| /' conftest.$ac_ext >&5
37569 ac_cv_type_off_t=no
37572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37574 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
37575 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
37576 if test $ac_cv_type_off_t = yes; then
37580 cat >>confdefs.h <<_ACEOF
37581 #define off_t long int
37586 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
37587 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
37588 if test "${ac_cv_type_pid_t+set}" = set; then
37589 echo $ECHO_N "(cached
) $ECHO_C" >&6
37591 cat >conftest.$ac_ext <<_ACEOF
37594 cat confdefs.h >>conftest.$ac_ext
37595 cat >>conftest.$ac_ext <<_ACEOF
37596 /* end confdefs.h. */
37597 $ac_includes_default
37598 typedef pid_t ac__type_new_;
37602 if ((ac__type_new_ *) 0)
37604 if (sizeof (ac__type_new_))
37610 rm -f conftest.$ac_objext
37611 if { (ac_try="$ac_compile"
37612 case "(($ac_try" in
37613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37614 *) ac_try_echo=$ac_try;;
37616 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37617 (eval "$ac_compile") 2>conftest.er1
37619 grep -v '^ *+' conftest.er1 >conftest.err
37621 cat conftest.err >&5
37622 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37623 (exit $ac_status); } && {
37624 test -z "$ac_c_werror_flag" ||
37625 test ! -s conftest.err
37626 } && test -s conftest.$ac_objext; then
37627 ac_cv_type_pid_t=yes
37629 echo "$as_me: failed program was
:" >&5
37630 sed 's/^/| /' conftest.$ac_ext >&5
37632 ac_cv_type_pid_t=no
37635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37637 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
37638 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
37639 if test $ac_cv_type_pid_t = yes; then
37643 cat >>confdefs.h <<_ACEOF
37649 { echo "$as_me:$LINENO: checking
for size_t
" >&5
37650 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
37651 if test "${ac_cv_type_size_t+set}" = set; then
37652 echo $ECHO_N "(cached
) $ECHO_C" >&6
37654 cat >conftest.$ac_ext <<_ACEOF
37657 cat confdefs.h >>conftest.$ac_ext
37658 cat >>conftest.$ac_ext <<_ACEOF
37659 /* end confdefs.h. */
37660 $ac_includes_default
37661 typedef size_t ac__type_new_;
37665 if ((ac__type_new_ *) 0)
37667 if (sizeof (ac__type_new_))
37673 rm -f conftest.$ac_objext
37674 if { (ac_try="$ac_compile"
37675 case "(($ac_try" in
37676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37677 *) ac_try_echo=$ac_try;;
37679 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37680 (eval "$ac_compile") 2>conftest.er1
37682 grep -v '^ *+' conftest.er1 >conftest.err
37684 cat conftest.err >&5
37685 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37686 (exit $ac_status); } && {
37687 test -z "$ac_c_werror_flag" ||
37688 test ! -s conftest.err
37689 } && test -s conftest.$ac_objext; then
37690 ac_cv_type_size_t=yes
37692 echo "$as_me: failed program was
:" >&5
37693 sed 's/^/| /' conftest.$ac_ext >&5
37695 ac_cv_type_size_t=no
37698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37700 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
37701 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37702 if test $ac_cv_type_size_t = yes; then
37706 cat >>confdefs.h <<_ACEOF
37707 #define size_t unsigned int
37712 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
37713 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
37714 if test "${ac_cv_type_uid_t+set}" = set; then
37715 echo $ECHO_N "(cached
) $ECHO_C" >&6
37717 cat >conftest.$ac_ext <<_ACEOF
37720 cat confdefs.h >>conftest.$ac_ext
37721 cat >>conftest.$ac_ext <<_ACEOF
37722 /* end confdefs.h. */
37723 #include <sys/types.h>
37726 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
37727 $EGREP "uid_t
" >/dev/null 2>&1; then
37728 ac_cv_type_uid_t=yes
37730 ac_cv_type_uid_t=no
37735 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
37736 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37737 if test $ac_cv_type_uid_t = no; then
37739 cat >>confdefs.h <<\_ACEOF
37744 cat >>confdefs.h <<\_ACEOF
37751 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
37752 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
37753 if test "${ac_cv_type_ssize_t+set}" = set; then
37754 echo $ECHO_N "(cached
) $ECHO_C" >&6
37756 cat >conftest.$ac_ext <<_ACEOF
37759 cat confdefs.h >>conftest.$ac_ext
37760 cat >>conftest.$ac_ext <<_ACEOF
37761 /* end confdefs.h. */
37762 $ac_includes_default
37763 typedef ssize_t ac__type_new_;
37767 if ((ac__type_new_ *) 0)
37769 if (sizeof (ac__type_new_))
37775 rm -f conftest.$ac_objext
37776 if { (ac_try="$ac_compile"
37777 case "(($ac_try" in
37778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37779 *) ac_try_echo=$ac_try;;
37781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37782 (eval "$ac_compile") 2>conftest.er1
37784 grep -v '^ *+' conftest.er1 >conftest.err
37786 cat conftest.err >&5
37787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37788 (exit $ac_status); } && {
37789 test -z "$ac_c_werror_flag" ||
37790 test ! -s conftest.err
37791 } && test -s conftest.$ac_objext; then
37792 ac_cv_type_ssize_t=yes
37794 echo "$as_me: failed program was
:" >&5
37795 sed 's/^/| /' conftest.$ac_ext >&5
37797 ac_cv_type_ssize_t=no
37800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37802 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
37803 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37804 if test $ac_cv_type_ssize_t = yes; then
37806 cat >>confdefs.h <<_ACEOF
37807 #define HAVE_SSIZE_T 1
37815 ac_cpp='$CXXCPP $CPPFLAGS'
37816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37819 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
37820 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
37821 if test "${wx_cv_size_t_is_uint+set}" = set; then
37822 echo $ECHO_N "(cached
) $ECHO_C" >&6
37825 cat >conftest.$ac_ext <<_ACEOF
37828 cat confdefs.h >>conftest.$ac_ext
37829 cat >>conftest.$ac_ext <<_ACEOF
37830 /* end confdefs.h. */
37831 #include <stddef.h>
37838 struct Foo { void foo(size_t); void foo(unsigned int); };
37846 rm -f conftest.$ac_objext
37847 if { (ac_try="$ac_compile"
37848 case "(($ac_try" in
37849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37850 *) ac_try_echo=$ac_try;;
37852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37853 (eval "$ac_compile") 2>conftest.er1
37855 grep -v '^ *+' conftest.er1 >conftest.err
37857 cat conftest.err >&5
37858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37859 (exit $ac_status); } && {
37860 test -z "$ac_cxx_werror_flag" ||
37861 test ! -s conftest.err
37862 } && test -s conftest.$ac_objext; then
37863 wx_cv_size_t_is_uint=no
37865 echo "$as_me: failed program was
:" >&5
37866 sed 's/^/| /' conftest.$ac_ext >&5
37868 wx_cv_size_t_is_uint=yes
37872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37876 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
37877 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37879 if test "$wx_cv_size_t_is_uint" = "yes"; then
37880 cat >>confdefs.h <<\_ACEOF
37881 #define wxSIZE_T_IS_UINT 1
37885 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
37886 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
37887 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37888 echo $ECHO_N "(cached
) $ECHO_C" >&6
37890 cat >conftest.$ac_ext <<_ACEOF
37893 cat confdefs.h >>conftest.$ac_ext
37894 cat >>conftest.$ac_ext <<_ACEOF
37895 /* end confdefs.h. */
37896 #include <stddef.h>
37903 struct Foo { void foo(size_t); void foo(unsigned long); };
37911 rm -f conftest.$ac_objext
37912 if { (ac_try="$ac_compile"
37913 case "(($ac_try" in
37914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37915 *) ac_try_echo=$ac_try;;
37917 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37918 (eval "$ac_compile") 2>conftest.er1
37920 grep -v '^ *+' conftest.er1 >conftest.err
37922 cat conftest.err >&5
37923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37924 (exit $ac_status); } && {
37925 test -z "$ac_cxx_werror_flag" ||
37926 test ! -s conftest.err
37927 } && test -s conftest.$ac_objext; then
37928 wx_cv_size_t_is_ulong=no
37930 echo "$as_me: failed program was
:" >&5
37931 sed 's/^/| /' conftest.$ac_ext >&5
37933 wx_cv_size_t_is_ulong=yes
37937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37940 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
37941 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37943 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37944 cat >>confdefs.h <<\_ACEOF
37945 #define wxSIZE_T_IS_ULONG 1
37951 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
37952 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
37953 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37954 echo $ECHO_N "(cached
) $ECHO_C" >&6
37956 cat >conftest.$ac_ext <<_ACEOF
37959 cat confdefs.h >>conftest.$ac_ext
37960 cat >>conftest.$ac_ext <<_ACEOF
37961 /* end confdefs.h. */
37969 struct Foo { void foo(wchar_t);
37970 void foo(unsigned short);
37971 void foo(unsigned int);
37972 void foo(unsigned long); };
37980 rm -f conftest.$ac_objext
37981 if { (ac_try="$ac_compile"
37982 case "(($ac_try" in
37983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37984 *) ac_try_echo=$ac_try;;
37986 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37987 (eval "$ac_compile") 2>conftest.er1
37989 grep -v '^ *+' conftest.er1 >conftest.err
37991 cat conftest.err >&5
37992 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37993 (exit $ac_status); } && {
37994 test -z "$ac_cxx_werror_flag" ||
37995 test ! -s conftest.err
37996 } && test -s conftest.$ac_objext; then
37997 wx_cv_wchar_t_is_separate_type=yes
37999 echo "$as_me: failed program was
:" >&5
38000 sed 's/^/| /' conftest.$ac_ext >&5
38002 wx_cv_wchar_t_is_separate_type=no
38006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38009 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
38010 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38012 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38013 cat >>confdefs.h <<\_ACEOF
38014 #define wxWCHAR_T_IS_REAL_TYPE 1
38018 cat >>confdefs.h <<\_ACEOF
38019 #define wxWCHAR_T_IS_REAL_TYPE 0
38025 ac_cpp='$CPP $CPPFLAGS'
38026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38031 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
38032 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
38033 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38034 echo $ECHO_N "(cached
) $ECHO_C" >&6
38037 cat >conftest.$ac_ext <<_ACEOF
38040 cat confdefs.h >>conftest.$ac_ext
38041 cat >>conftest.$ac_ext <<_ACEOF
38042 /* end confdefs.h. */
38056 rm -f conftest.$ac_objext
38057 if { (ac_try="$ac_compile"
38058 case "(($ac_try" in
38059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38060 *) ac_try_echo=$ac_try;;
38062 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38063 (eval "$ac_compile") 2>conftest.er1
38065 grep -v '^ *+' conftest.er1 >conftest.err
38067 cat conftest.err >&5
38068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38069 (exit $ac_status); } && {
38070 test -z "$ac_c_werror_flag" ||
38071 test ! -s conftest.err
38072 } && test -s conftest.$ac_objext; then
38074 wx_cv_struct_pw_gecos=yes
38077 echo "$as_me: failed program was
:" >&5
38078 sed 's/^/| /' conftest.$ac_ext >&5
38081 wx_cv_struct_pw_gecos=no
38086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38090 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
38091 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38093 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38094 cat >>confdefs.h <<\_ACEOF
38095 #define HAVE_PW_GECOS 1
38101 if test "$wxUSE_WCHAR_T" = "yes"; then
38102 cat >>confdefs.h <<\_ACEOF
38103 #define wxUSE_WCHAR_T 1
38110 for ac_func in wcslen
38112 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38113 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38114 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38115 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38116 echo $ECHO_N "(cached
) $ECHO_C" >&6
38118 cat >conftest.$ac_ext <<_ACEOF
38121 cat confdefs.h >>conftest.$ac_ext
38122 cat >>conftest.$ac_ext <<_ACEOF
38123 /* end confdefs.h. */
38124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38126 #define $ac_func innocuous_$ac_func
38128 /* System header to define __stub macros and hopefully few prototypes,
38129 which can conflict with char $ac_func (); below.
38130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38131 <limits.h> exists even on freestanding compilers. */
38134 # include <limits.h>
38136 # include <assert.h>
38141 /* Override any GCC internal prototype to avoid an error.
38142 Use char because int might match the return type of a GCC
38143 builtin and then its argument prototype would still apply. */
38148 /* The GNU C library defines this for functions which it implements
38149 to always fail with ENOSYS. Some functions are actually named
38150 something starting with __ and the normal name is an alias. */
38151 #if defined __stub_$ac_func || defined __stub___$ac_func
38158 return $ac_func ();
38163 rm -f conftest.$ac_objext conftest$ac_exeext
38164 if { (ac_try="$ac_link"
38165 case "(($ac_try" in
38166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38167 *) ac_try_echo=$ac_try;;
38169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38170 (eval "$ac_link") 2>conftest.er1
38172 grep -v '^ *+' conftest.er1 >conftest.err
38174 cat conftest.err >&5
38175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38176 (exit $ac_status); } && {
38177 test -z "$ac_c_werror_flag" ||
38178 test ! -s conftest.err
38179 } && test -s conftest$ac_exeext &&
38180 $as_test_x conftest$ac_exeext; then
38181 eval "$as_ac_var=yes"
38183 echo "$as_me: failed program was
:" >&5
38184 sed 's/^/| /' conftest.$ac_ext >&5
38186 eval "$as_ac_var=no
"
38189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38190 conftest$ac_exeext conftest.$ac_ext
38192 ac_res=`eval echo '${'$as_ac_var'}'`
38193 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38194 echo "${ECHO_T}$ac_res" >&6; }
38195 if test `eval echo '${'$as_ac_var'}'` = yes; then
38196 cat >>confdefs.h <<_ACEOF
38197 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38204 if test "$WCSLEN_FOUND" = 0; then
38205 if test "$TOOLKIT" = "MSW
"; then
38206 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
38207 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
38208 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38209 echo $ECHO_N "(cached
) $ECHO_C" >&6
38211 ac_check_lib_save_LIBS=$LIBS
38212 LIBS="-lmsvcrt $LIBS"
38213 cat >conftest.$ac_ext <<_ACEOF
38216 cat confdefs.h >>conftest.$ac_ext
38217 cat >>conftest.$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38220 /* Override any GCC internal prototype to avoid an error.
38221 Use char because int might match the return type of a GCC
38222 builtin and then its argument prototype would still apply. */
38235 rm -f conftest.$ac_objext conftest$ac_exeext
38236 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
38244 grep -v '^ *+' conftest.er1 >conftest.err
38246 cat conftest.err >&5
38247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38248 (exit $ac_status); } && {
38249 test -z "$ac_c_werror_flag" ||
38250 test ! -s conftest.err
38251 } && test -s conftest$ac_exeext &&
38252 $as_test_x conftest$ac_exeext; then
38253 ac_cv_lib_msvcrt_wcslen=yes
38255 echo "$as_me: failed program was
:" >&5
38256 sed 's/^/| /' conftest.$ac_ext >&5
38258 ac_cv_lib_msvcrt_wcslen=no
38261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38262 conftest$ac_exeext conftest.$ac_ext
38263 LIBS=$ac_check_lib_save_LIBS
38265 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
38266 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38267 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38272 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
38273 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
38274 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38275 echo $ECHO_N "(cached
) $ECHO_C" >&6
38277 ac_check_lib_save_LIBS=$LIBS
38279 cat >conftest.$ac_ext <<_ACEOF
38282 cat confdefs.h >>conftest.$ac_ext
38283 cat >>conftest.$ac_ext <<_ACEOF
38284 /* end confdefs.h. */
38286 /* Override any GCC internal prototype to avoid an error.
38287 Use char because int might match the return type of a GCC
38288 builtin and then its argument prototype would still apply. */
38301 rm -f conftest.$ac_objext conftest$ac_exeext
38302 if { (ac_try="$ac_link"
38303 case "(($ac_try" in
38304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38305 *) ac_try_echo=$ac_try;;
38307 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38308 (eval "$ac_link") 2>conftest.er1
38310 grep -v '^ *+' conftest.er1 >conftest.err
38312 cat conftest.err >&5
38313 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38314 (exit $ac_status); } && {
38315 test -z "$ac_c_werror_flag" ||
38316 test ! -s conftest.err
38317 } && test -s conftest$ac_exeext &&
38318 $as_test_x conftest$ac_exeext; then
38319 ac_cv_lib_w_wcslen=yes
38321 echo "$as_me: failed program was
:" >&5
38322 sed 's/^/| /' conftest.$ac_ext >&5
38324 ac_cv_lib_w_wcslen=no
38327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38328 conftest$ac_exeext conftest.$ac_ext
38329 LIBS=$ac_check_lib_save_LIBS
38331 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
38332 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
38333 if test $ac_cv_lib_w_wcslen = yes; then
38343 if test "$WCSLEN_FOUND" = 1; then
38344 cat >>confdefs.h <<\_ACEOF
38345 #define HAVE_WCSLEN 1
38351 for ac_func in wcsdup
38353 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38354 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38355 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38356 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38357 echo $ECHO_N "(cached
) $ECHO_C" >&6
38359 cat >conftest.$ac_ext <<_ACEOF
38362 cat confdefs.h >>conftest.$ac_ext
38363 cat >>conftest.$ac_ext <<_ACEOF
38364 /* end confdefs.h. */
38365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38367 #define $ac_func innocuous_$ac_func
38369 /* System header to define __stub macros and hopefully few prototypes,
38370 which can conflict with char $ac_func (); below.
38371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38372 <limits.h> exists even on freestanding compilers. */
38375 # include <limits.h>
38377 # include <assert.h>
38382 /* Override any GCC internal prototype to avoid an error.
38383 Use char because int might match the return type of a GCC
38384 builtin and then its argument prototype would still apply. */
38389 /* The GNU C library defines this for functions which it implements
38390 to always fail with ENOSYS. Some functions are actually named
38391 something starting with __ and the normal name is an alias. */
38392 #if defined __stub_$ac_func || defined __stub___$ac_func
38399 return $ac_func ();
38404 rm -f conftest.$ac_objext conftest$ac_exeext
38405 if { (ac_try="$ac_link"
38406 case "(($ac_try" in
38407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38408 *) ac_try_echo=$ac_try;;
38410 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38411 (eval "$ac_link") 2>conftest.er1
38413 grep -v '^ *+' conftest.er1 >conftest.err
38415 cat conftest.err >&5
38416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38417 (exit $ac_status); } && {
38418 test -z "$ac_c_werror_flag" ||
38419 test ! -s conftest.err
38420 } && test -s conftest$ac_exeext &&
38421 $as_test_x conftest$ac_exeext; then
38422 eval "$as_ac_var=yes"
38424 echo "$as_me: failed program was
:" >&5
38425 sed 's/^/| /' conftest.$ac_ext >&5
38427 eval "$as_ac_var=no
"
38430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38431 conftest$ac_exeext conftest.$ac_ext
38433 ac_res=`eval echo '${'$as_ac_var'}'`
38434 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38435 echo "${ECHO_T}$ac_res" >&6; }
38436 if test `eval echo '${'$as_ac_var'}'` = yes; then
38437 cat >>confdefs.h <<_ACEOF
38438 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38445 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
38446 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
38449 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
38450 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
38451 if test "${ac_cv_type_mbstate_t+set}" = set; then
38452 echo $ECHO_N "(cached
) $ECHO_C" >&6
38454 cat >conftest.$ac_ext <<_ACEOF
38457 cat confdefs.h >>conftest.$ac_ext
38458 cat >>conftest.$ac_ext <<_ACEOF
38459 /* end confdefs.h. */
38462 typedef mbstate_t ac__type_new_;
38466 if ((ac__type_new_ *) 0)
38468 if (sizeof (ac__type_new_))
38474 rm -f conftest.$ac_objext
38475 if { (ac_try="$ac_compile"
38476 case "(($ac_try" in
38477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38478 *) ac_try_echo=$ac_try;;
38480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38481 (eval "$ac_compile") 2>conftest.er1
38483 grep -v '^ *+' conftest.er1 >conftest.err
38485 cat conftest.err >&5
38486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38487 (exit $ac_status); } && {
38488 test -z "$ac_c_werror_flag" ||
38489 test ! -s conftest.err
38490 } && test -s conftest.$ac_objext; then
38491 ac_cv_type_mbstate_t=yes
38493 echo "$as_me: failed program was
:" >&5
38494 sed 's/^/| /' conftest.$ac_ext >&5
38496 ac_cv_type_mbstate_t=no
38499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38501 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
38502 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
38503 if test $ac_cv_type_mbstate_t = yes; then
38505 cat >>confdefs.h <<_ACEOF
38506 #define HAVE_MBSTATE_T 1
38510 for ac_func in wcsrtombs
38512 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38513 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38514 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38515 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38516 echo $ECHO_N "(cached
) $ECHO_C" >&6
38518 cat >conftest.$ac_ext <<_ACEOF
38521 cat confdefs.h >>conftest.$ac_ext
38522 cat >>conftest.$ac_ext <<_ACEOF
38523 /* end confdefs.h. */
38524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38526 #define $ac_func innocuous_$ac_func
38528 /* System header to define __stub macros and hopefully few prototypes,
38529 which can conflict with char $ac_func (); below.
38530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38531 <limits.h> exists even on freestanding compilers. */
38534 # include <limits.h>
38536 # include <assert.h>
38541 /* Override any GCC internal prototype to avoid an error.
38542 Use char because int might match the return type of a GCC
38543 builtin and then its argument prototype would still apply. */
38548 /* The GNU C library defines this for functions which it implements
38549 to always fail with ENOSYS. Some functions are actually named
38550 something starting with __ and the normal name is an alias. */
38551 #if defined __stub_$ac_func || defined __stub___$ac_func
38558 return $ac_func ();
38563 rm -f conftest.$ac_objext conftest$ac_exeext
38564 if { (ac_try="$ac_link"
38565 case "(($ac_try" in
38566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38567 *) ac_try_echo=$ac_try;;
38569 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38570 (eval "$ac_link") 2>conftest.er1
38572 grep -v '^ *+' conftest.er1 >conftest.err
38574 cat conftest.err >&5
38575 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38576 (exit $ac_status); } && {
38577 test -z "$ac_c_werror_flag" ||
38578 test ! -s conftest.err
38579 } && test -s conftest$ac_exeext &&
38580 $as_test_x conftest$ac_exeext; then
38581 eval "$as_ac_var=yes"
38583 echo "$as_me: failed program was
:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38586 eval "$as_ac_var=no
"
38589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38590 conftest$ac_exeext conftest.$ac_ext
38592 ac_res=`eval echo '${'$as_ac_var'}'`
38593 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38594 echo "${ECHO_T}$ac_res" >&6; }
38595 if test `eval echo '${'$as_ac_var'}'` = yes; then
38596 cat >>confdefs.h <<_ACEOF
38597 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38606 { echo "$as_me:$LINENO: WARNING
: Wide character support is unavailable
" >&5
38607 echo "$as_me: WARNING
: Wide character support is unavailable
" >&2;}
38612 for ac_func in snprintf vsnprintf
38614 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38615 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38616 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38617 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38618 echo $ECHO_N "(cached
) $ECHO_C" >&6
38620 cat >conftest.$ac_ext <<_ACEOF
38623 cat confdefs.h >>conftest.$ac_ext
38624 cat >>conftest.$ac_ext <<_ACEOF
38625 /* end confdefs.h. */
38626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38628 #define $ac_func innocuous_$ac_func
38630 /* System header to define __stub macros and hopefully few prototypes,
38631 which can conflict with char $ac_func (); below.
38632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38633 <limits.h> exists even on freestanding compilers. */
38636 # include <limits.h>
38638 # include <assert.h>
38643 /* Override any GCC internal prototype to avoid an error.
38644 Use char because int might match the return type of a GCC
38645 builtin and then its argument prototype would still apply. */
38650 /* The GNU C library defines this for functions which it implements
38651 to always fail with ENOSYS. Some functions are actually named
38652 something starting with __ and the normal name is an alias. */
38653 #if defined __stub_$ac_func || defined __stub___$ac_func
38660 return $ac_func ();
38665 rm -f conftest.$ac_objext conftest$ac_exeext
38666 if { (ac_try="$ac_link"
38667 case "(($ac_try" in
38668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38669 *) ac_try_echo=$ac_try;;
38671 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38672 (eval "$ac_link") 2>conftest.er1
38674 grep -v '^ *+' conftest.er1 >conftest.err
38676 cat conftest.err >&5
38677 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38678 (exit $ac_status); } && {
38679 test -z "$ac_c_werror_flag" ||
38680 test ! -s conftest.err
38681 } && test -s conftest$ac_exeext &&
38682 $as_test_x conftest$ac_exeext; then
38683 eval "$as_ac_var=yes"
38685 echo "$as_me: failed program was
:" >&5
38686 sed 's/^/| /' conftest.$ac_ext >&5
38688 eval "$as_ac_var=no
"
38691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38692 conftest$ac_exeext conftest.$ac_ext
38694 ac_res=`eval echo '${'$as_ac_var'}'`
38695 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38696 echo "${ECHO_T}$ac_res" >&6; }
38697 if test `eval echo '${'$as_ac_var'}'` = yes; then
38698 cat >>confdefs.h <<_ACEOF
38699 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38706 if test "$ac_cv_func_vsnprintf" = "yes"; then
38707 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
38708 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
38709 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38710 echo $ECHO_N "(cached
) $ECHO_C" >&6
38713 cat >conftest.$ac_ext <<_ACEOF
38716 cat confdefs.h >>conftest.$ac_ext
38717 cat >>conftest.$ac_ext <<_ACEOF
38718 /* end confdefs.h. */
38721 #include <stdarg.h>
38723 #if __MSL__ >= 0x6000
38725 using namespace std;
38735 vsnprintf(buf, 10u, "%s
", ap);
38741 rm -f conftest.$ac_objext
38742 if { (ac_try="$ac_compile"
38743 case "(($ac_try" in
38744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38745 *) ac_try_echo=$ac_try;;
38747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38748 (eval "$ac_compile") 2>conftest.er1
38750 grep -v '^ *+' conftest.er1 >conftest.err
38752 cat conftest.err >&5
38753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38754 (exit $ac_status); } && {
38755 test -z "$ac_c_werror_flag" ||
38756 test ! -s conftest.err
38757 } && test -s conftest.$ac_objext; then
38758 wx_cv_func_vsnprintf_decl=yes
38760 echo "$as_me: failed program was
:" >&5
38761 sed 's/^/| /' conftest.$ac_ext >&5
38763 wx_cv_func_vsnprintf_decl=no
38767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38771 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
38772 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38774 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38775 cat >>confdefs.h <<\_ACEOF
38776 #define HAVE_VSNPRINTF_DECL 1
38780 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
38781 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
38782 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38783 echo $ECHO_N "(cached
) $ECHO_C" >&6
38786 cat >conftest.$ac_ext <<_ACEOF
38789 cat confdefs.h >>conftest.$ac_ext
38790 cat >>conftest.$ac_ext <<_ACEOF
38791 /* end confdefs.h. */
38794 #include <stdarg.h>
38796 #if __MSL__ >= 0x6000
38798 using namespace std;
38808 const char *fmt = "%s
";
38809 vsnprintf(buf, 10u, fmt, ap);
38815 rm -f conftest.$ac_objext
38816 if { (ac_try="$ac_compile"
38817 case "(($ac_try" in
38818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38819 *) ac_try_echo=$ac_try;;
38821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38822 (eval "$ac_compile") 2>conftest.er1
38824 grep -v '^ *+' conftest.er1 >conftest.err
38826 cat conftest.err >&5
38827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38828 (exit $ac_status); } && {
38829 test -z "$ac_c_werror_flag" ||
38830 test ! -s conftest.err
38831 } && test -s conftest.$ac_objext; then
38832 wx_cv_func_broken_vsnprintf_decl=no
38834 echo "$as_me: failed program was
:" >&5
38835 sed 's/^/| /' conftest.$ac_ext >&5
38837 wx_cv_func_broken_vsnprintf_decl=yes
38841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38845 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
38846 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38848 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38849 cat >>confdefs.h <<\_ACEOF
38850 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38857 if test "$ac_cv_func_snprintf" = "yes"; then
38858 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
38859 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
38860 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38861 echo $ECHO_N "(cached
) $ECHO_C" >&6
38864 cat >conftest.$ac_ext <<_ACEOF
38867 cat confdefs.h >>conftest.$ac_ext
38868 cat >>conftest.$ac_ext <<_ACEOF
38869 /* end confdefs.h. */
38872 #include <stdarg.h>
38874 #if __MSL__ >= 0x6000
38876 using namespace std;
38885 snprintf(buf, 10u, "%s
", "wx
");
38891 rm -f conftest.$ac_objext
38892 if { (ac_try="$ac_compile"
38893 case "(($ac_try" in
38894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38895 *) ac_try_echo=$ac_try;;
38897 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38898 (eval "$ac_compile") 2>conftest.er1
38900 grep -v '^ *+' conftest.er1 >conftest.err
38902 cat conftest.err >&5
38903 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38904 (exit $ac_status); } && {
38905 test -z "$ac_c_werror_flag" ||
38906 test ! -s conftest.err
38907 } && test -s conftest.$ac_objext; then
38908 wx_cv_func_snprintf_decl=yes
38910 echo "$as_me: failed program was
:" >&5
38911 sed 's/^/| /' conftest.$ac_ext >&5
38913 wx_cv_func_snprintf_decl=no
38917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
38922 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38924 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38925 cat >>confdefs.h <<\_ACEOF
38926 #define HAVE_SNPRINTF_DECL 1
38930 { echo "$as_me:$LINENO: checking
if snprintf declaration is broken
" >&5
38931 echo $ECHO_N "checking
if snprintf declaration is broken...
$ECHO_C" >&6; }
38932 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38933 echo $ECHO_N "(cached
) $ECHO_C" >&6
38936 cat >conftest.$ac_ext <<_ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38944 #include <stdarg.h>
38946 #if __MSL__ >= 0x6000
38948 using namespace std;
38957 const char *fmt = "%s
";
38958 snprintf(buf, 10u, fmt, "wx
");
38964 rm -f conftest.$ac_objext
38965 if { (ac_try="$ac_compile"
38966 case "(($ac_try" in
38967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38968 *) ac_try_echo=$ac_try;;
38970 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38971 (eval "$ac_compile") 2>conftest.er1
38973 grep -v '^ *+' conftest.er1 >conftest.err
38975 cat conftest.err >&5
38976 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38977 (exit $ac_status); } && {
38978 test -z "$ac_c_werror_flag" ||
38979 test ! -s conftest.err
38980 } && test -s conftest.$ac_objext; then
38981 wx_cv_func_broken_snprintf_decl=no
38983 echo "$as_me: failed program was
:" >&5
38984 sed 's/^/| /' conftest.$ac_ext >&5
38986 wx_cv_func_broken_snprintf_decl=yes
38990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38994 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_snprintf_decl" >&5
38995 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38997 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38998 cat >>confdefs.h <<\_ACEOF
38999 #define HAVE_BROKEN_SNPRINTF_DECL 1
39005 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39007 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
39008 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
39009 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39010 echo $ECHO_N "(cached
) $ECHO_C" >&6
39013 if test "$cross_compiling" = yes; then
39015 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
39016 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
39017 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
39018 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
39019 wx_cv_func_snprintf_pos_params=no
39023 cat >conftest.$ac_ext <<_ACEOF
39026 cat confdefs.h >>conftest.$ac_ext
39027 cat >>conftest.$ac_ext <<_ACEOF
39028 /* end confdefs.h. */
39035 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39036 if (strcmp ("2 3 1", buffer) == 0)
39042 rm -f conftest$ac_exeext
39043 if { (ac_try="$ac_link"
39044 case "(($ac_try" in
39045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39046 *) ac_try_echo=$ac_try;;
39048 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39049 (eval "$ac_link") 2>&5
39051 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39052 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39053 { (case "(($ac_try" in
39054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39055 *) ac_try_echo=$ac_try;;
39057 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39058 (eval "$ac_try") 2>&5
39060 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39061 (exit $ac_status); }; }; then
39062 wx_cv_func_snprintf_pos_params=no
39064 echo "$as_me: program exited with status
$ac_status" >&5
39065 echo "$as_me: failed program was
:" >&5
39066 sed 's/^/| /' conftest.$ac_ext >&5
39068 ( exit $ac_status )
39069 wx_cv_func_snprintf_pos_params=yes
39071 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39078 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
39079 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39081 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39082 cat >>confdefs.h <<\_ACEOF
39083 #define HAVE_UNIX98_PRINTF 1
39090 if test "$wxUSE_UNICODE" = yes; then
39093 for ac_func in swprintf
39095 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
39096 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
39097 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
39098 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
39099 echo $ECHO_N "(cached
) $ECHO_C" >&6
39101 cat >conftest.$ac_ext <<_ACEOF
39104 cat confdefs.h >>conftest.$ac_ext
39105 cat >>conftest.$ac_ext <<_ACEOF
39106 /* end confdefs.h. */
39107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39109 #define $ac_func innocuous_$ac_func
39111 /* System header to define __stub macros and hopefully few prototypes,
39112 which can conflict with char $ac_func (); below.
39113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39114 <limits.h> exists even on freestanding compilers. */
39117 # include <limits.h>
39119 # include <assert.h>
39124 /* Override any GCC internal prototype to avoid an error.
39125 Use char because int might match the return type of a GCC
39126 builtin and then its argument prototype would still apply. */
39131 /* The GNU C library defines this for functions which it implements
39132 to always fail with ENOSYS. Some functions are actually named
39133 something starting with __ and the normal name is an alias. */
39134 #if defined __stub_$ac_func || defined __stub___$ac_func
39141 return $ac_func ();
39146 rm -f conftest.$ac_objext conftest$ac_exeext
39147 if { (ac_try="$ac_link"
39148 case "(($ac_try" in
39149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39150 *) ac_try_echo=$ac_try;;
39152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39153 (eval "$ac_link") 2>conftest.er1
39155 grep -v '^ *+' conftest.er1 >conftest.err
39157 cat conftest.err >&5
39158 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39159 (exit $ac_status); } && {
39160 test -z "$ac_c_werror_flag" ||
39161 test ! -s conftest.err
39162 } && test -s conftest$ac_exeext &&
39163 $as_test_x conftest$ac_exeext; then
39164 eval "$as_ac_var=yes"
39166 echo "$as_me: failed program was
:" >&5
39167 sed 's/^/| /' conftest.$ac_ext >&5
39169 eval "$as_ac_var=no
"
39172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39173 conftest$ac_exeext conftest.$ac_ext
39175 ac_res=`eval echo '${'$as_ac_var'}'`
39176 { echo "$as_me:$LINENO: result
: $ac_res" >&5
39177 echo "${ECHO_T}$ac_res" >&6; }
39178 if test `eval echo '${'$as_ac_var'}'` = yes; then
39179 cat >>confdefs.h <<_ACEOF
39180 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
39187 if test "$ac_cv_func_swprintf" = "yes"; then
39188 { echo "$as_me:$LINENO: checking
if swprintf declaration is broken
" >&5
39189 echo $ECHO_N "checking
if swprintf declaration is broken...
$ECHO_C" >&6; }
39190 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
39191 echo $ECHO_N "(cached
) $ECHO_C" >&6
39194 cat >conftest.$ac_ext <<_ACEOF
39197 cat confdefs.h >>conftest.$ac_ext
39198 cat >>conftest.$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39202 #include <stdarg.h>
39210 const wchar_t *fmt = L"test";
39211 swprintf(buf, 10u, fmt);
39217 rm -f conftest.$ac_objext
39218 if { (ac_try="$ac_compile"
39219 case "(($ac_try" in
39220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39221 *) ac_try_echo=$ac_try;;
39223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39224 (eval "$ac_compile") 2>conftest.er1
39226 grep -v '^ *+' conftest.er1 >conftest.err
39228 cat conftest.err >&5
39229 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39230 (exit $ac_status); } && {
39231 test -z "$ac_c_werror_flag" ||
39232 test ! -s conftest.err
39233 } && test -s conftest.$ac_objext; then
39234 wx_cv_func_broken_swprintf_decl=no
39236 echo "$as_me: failed program was
:" >&5
39237 sed 's/^/| /' conftest.$ac_ext >&5
39239 wx_cv_func_broken_swprintf_decl=yes
39243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39247 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_swprintf_decl" >&5
39248 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
39250 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
39251 cat >>confdefs.h <<\_ACEOF
39252 #define HAVE_BROKEN_SWPRINTF_DECL 1
39258 wchar_headers="#include <stdio.h>
39259 #include <wchar.h>"
39263 for ac_header
in widec.h
39265 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39266 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39268 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39271 cat >conftest.
$ac_ext <<_ACEOF
39274 cat confdefs.h
>>conftest.
$ac_ext
39275 cat >>conftest.
$ac_ext <<_ACEOF
39276 /* end confdefs.h. */
39277 $ac_includes_default
39279 #include <$ac_header>
39281 rm -f conftest.
$ac_objext
39282 if { (ac_try
="$ac_compile"
39283 case "(($ac_try" in
39284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39285 *) ac_try_echo=$ac_try;;
39287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39288 (eval "$ac_compile") 2>conftest.er1
39290 grep -v '^ *+' conftest.er1 >conftest.err
39292 cat conftest.err >&5
39293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39294 (exit $ac_status); } && {
39295 test -z "$ac_c_werror_flag" ||
39296 test ! -s conftest.err
39297 } && test -s conftest.$ac_objext; then
39298 eval "$as_ac_Header=yes"
39300 echo "$as_me: failed program was:" >&5
39301 sed 's/^/| /' conftest.$ac_ext >&5
39303 eval "$as_ac_Header=no"
39306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39308 ac_res=`eval echo '${'$as_ac_Header'}'`
39309 { echo "$as_me:$LINENO: result: $ac_res" >&5
39310 echo "${ECHO_T}$ac_res" >&6; }
39311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39312 cat >>confdefs.h <<_ACEOF
39313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39320 if test "$ac_cv_header_widec_h" = "yes"; then
39321 wchar_headers="$wchar_headers
39322 #include <widec.h>"
39327 for wx_func in wputc wputchar putws fputws wprintf vswprintf
39329 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39330 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39331 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39332 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 cat >conftest.$ac_ext <<_ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39344 $ac_includes_default
39360 rm -f conftest.$ac_objext conftest$ac_exeext
39361 if { (ac_try="$ac_link"
39362 case "(($ac_try" in
39363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39364 *) ac_try_echo
=$ac_try;;
39366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39367 (eval "$ac_link") 2>conftest.er1
39369 grep -v '^ *+' conftest.er1
>conftest.err
39371 cat conftest.err
>&5
39372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373 (exit $ac_status); } && {
39374 test -z "$ac_c_werror_flag" ||
39375 test ! -s conftest.err
39376 } && test -s conftest
$ac_exeext &&
39377 $as_test_x conftest
$ac_exeext; then
39378 eval wx_cv_func_
$wx_func=yes
39380 echo "$as_me: failed program was:" >&5
39381 sed 's/^/| /' conftest.
$ac_ext >&5
39383 eval wx_cv_func_
$wx_func=no
39386 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39387 conftest
$ac_exeext conftest.
$ac_ext
39390 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39391 { echo "$as_me:$LINENO: result: $ac_res" >&5
39392 echo "${ECHO_T}$ac_res" >&6; }
39394 if eval test \
$wx_cv_func_$wx_func = yes
39396 cat >>confdefs.h
<<_ACEOF
39397 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39408 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39409 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39410 cat >conftest.
$ac_ext <<_ACEOF
39413 cat confdefs.h
>>conftest.
$ac_ext
39414 cat >>conftest.
$ac_ext <<_ACEOF
39415 /* end confdefs.h. */
39425 rm -f conftest.
$ac_objext
39426 if { (ac_try
="$ac_compile"
39427 case "(($ac_try" in
39428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39429 *) ac_try_echo=$ac_try;;
39431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39432 (eval "$ac_compile") 2>conftest.er1
39434 grep -v '^ *+' conftest.er1 >conftest.err
39436 cat conftest.err >&5
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); } && {
39439 test -z "$ac_c_werror_flag" ||
39440 test ! -s conftest.err
39441 } && test -s conftest.$ac_objext; then
39442 { echo "$as_me:$LINENO: result: yes" >&5
39443 echo "${ECHO_T}yes" >&6; }
39444 cat >>confdefs.h <<\_ACEOF
39445 #define HAVE__VSNWPRINTF 1
39449 echo "$as_me: failed program was:" >&5
39450 sed 's/^/| /' conftest.$ac_ext >&5
39452 { echo "$as_me:$LINENO: result: no" >&5
39453 echo "${ECHO_T}no" >&6; }
39456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39459 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
39461 for wx_func in fnmatch
39463 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39464 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39465 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39466 echo $ECHO_N "(cached) $ECHO_C" >&6
39469 cat >conftest.$ac_ext <<_ACEOF
39473 cat confdefs.h >>conftest.$ac_ext
39474 cat >>conftest.$ac_ext <<_ACEOF
39475 /* end confdefs.h. */
39477 #include <fnmatch.h>
39478 $ac_includes_default
39494 rm -f conftest.$ac_objext conftest$ac_exeext
39495 if { (ac_try="$ac_link"
39496 case "(($ac_try" in
39497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39498 *) ac_try_echo
=$ac_try;;
39500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39501 (eval "$ac_link") 2>conftest.er1
39503 grep -v '^ *+' conftest.er1
>conftest.err
39505 cat conftest.err
>&5
39506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39507 (exit $ac_status); } && {
39508 test -z "$ac_c_werror_flag" ||
39509 test ! -s conftest.err
39510 } && test -s conftest
$ac_exeext &&
39511 $as_test_x conftest
$ac_exeext; then
39512 eval wx_cv_func_
$wx_func=yes
39514 echo "$as_me: failed program was:" >&5
39515 sed 's/^/| /' conftest.
$ac_ext >&5
39517 eval wx_cv_func_
$wx_func=no
39520 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39521 conftest
$ac_exeext conftest.
$ac_ext
39524 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39525 { echo "$as_me:$LINENO: result: $ac_res" >&5
39526 echo "${ECHO_T}$ac_res" >&6; }
39528 if eval test \
$wx_cv_func_$wx_func = yes
39530 cat >>confdefs.h
<<_ACEOF
39531 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39543 if test "$wxUSE_FILE" = "yes"; then
39545 for wx_func
in fsync
39547 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39548 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39549 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39550 echo $ECHO_N "(cached) $ECHO_C" >&6
39553 cat >conftest.
$ac_ext <<_ACEOF
39557 cat confdefs.h
>>conftest.
$ac_ext
39558 cat >>conftest.
$ac_ext <<_ACEOF
39559 /* end confdefs.h. */
39562 $ac_includes_default
39578 rm -f conftest.
$ac_objext conftest
$ac_exeext
39579 if { (ac_try
="$ac_link"
39580 case "(($ac_try" in
39581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39582 *) ac_try_echo=$ac_try;;
39584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39585 (eval "$ac_link") 2>conftest.er1
39587 grep -v '^ *+' conftest.er1 >conftest.err
39589 cat conftest.err >&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); } && {
39592 test -z "$ac_c_werror_flag" ||
39593 test ! -s conftest.err
39594 } && test -s conftest$ac_exeext &&
39595 $as_test_x conftest$ac_exeext; then
39596 eval wx_cv_func_$wx_func=yes
39598 echo "$as_me: failed program was:" >&5
39599 sed 's/^/| /' conftest.$ac_ext >&5
39601 eval wx_cv_func_$wx_func=no
39604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39605 conftest$ac_exeext conftest.$ac_ext
39608 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39609 { echo "$as_me:$LINENO: result: $ac_res" >&5
39610 echo "${ECHO_T}$ac_res" >&6; }
39612 if eval test \$wx_cv_func_$wx_func = yes
39614 cat >>confdefs.h <<_ACEOF
39615 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39628 ac_cpp='$CXXCPP $CPPFLAGS'
39629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39634 for wx_func in round
39636 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39637 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39638 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39639 echo $ECHO_N "(cached) $ECHO_C" >&6
39642 cat >conftest.$ac_ext <<_ACEOF
39646 cat confdefs.h >>conftest.$ac_ext
39647 cat >>conftest.$ac_ext <<_ACEOF
39648 /* end confdefs.h. */
39651 $ac_includes_default
39667 rm -f conftest.$ac_objext conftest$ac_exeext
39668 if { (ac_try="$ac_link"
39669 case "(($ac_try" in
39670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39671 *) ac_try_echo
=$ac_try;;
39673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39674 (eval "$ac_link") 2>conftest.er1
39676 grep -v '^ *+' conftest.er1
>conftest.err
39678 cat conftest.err
>&5
39679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39680 (exit $ac_status); } && {
39681 test -z "$ac_cxx_werror_flag" ||
39682 test ! -s conftest.err
39683 } && test -s conftest
$ac_exeext &&
39684 $as_test_x conftest
$ac_exeext; then
39685 eval wx_cv_func_
$wx_func=yes
39687 echo "$as_me: failed program was:" >&5
39688 sed 's/^/| /' conftest.
$ac_ext >&5
39690 eval wx_cv_func_
$wx_func=no
39693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39694 conftest
$ac_exeext conftest.
$ac_ext
39697 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39698 { echo "$as_me:$LINENO: result: $ac_res" >&5
39699 echo "${ECHO_T}$ac_res" >&6; }
39701 if eval test \
$wx_cv_func_$wx_func = yes
39703 cat >>confdefs.h
<<_ACEOF
39704 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39715 ac_cpp
='$CPP $CPPFLAGS'
39716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39721 if test "$TOOLKIT" != "MSW"; then
39727 # Check whether --with-libiconv-prefix was given.
39728 if test "${with_libiconv_prefix+set}" = set; then
39729 withval
=$with_libiconv_prefix;
39730 for dir
in `echo "$withval" | tr : ' '`; do
39731 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
39732 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
39738 { echo "$as_me:$LINENO: checking for iconv" >&5
39739 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39740 if test "${am_cv_func_iconv+set}" = set; then
39741 echo $ECHO_N "(cached) $ECHO_C" >&6
39744 am_cv_func_iconv
="no, consider installing GNU libiconv"
39746 cat >conftest.
$ac_ext <<_ACEOF
39749 cat confdefs.h
>>conftest.
$ac_ext
39750 cat >>conftest.
$ac_ext <<_ACEOF
39751 /* end confdefs.h. */
39752 #include <stdlib.h>
39757 iconv_t cd = iconv_open("","");
39758 iconv(cd,NULL,NULL,NULL,NULL);
39764 rm -f conftest.
$ac_objext conftest
$ac_exeext
39765 if { (ac_try
="$ac_link"
39766 case "(($ac_try" in
39767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39768 *) ac_try_echo=$ac_try;;
39770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39771 (eval "$ac_link") 2>conftest.er1
39773 grep -v '^ *+' conftest.er1 >conftest.err
39775 cat conftest.err >&5
39776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39777 (exit $ac_status); } && {
39778 test -z "$ac_c_werror_flag" ||
39779 test ! -s conftest.err
39780 } && test -s conftest$ac_exeext &&
39781 $as_test_x conftest$ac_exeext; then
39782 am_cv_func_iconv=yes
39784 echo "$as_me: failed program was:" >&5
39785 sed 's/^/| /' conftest.$ac_ext >&5
39790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39791 conftest$ac_exeext conftest.$ac_ext
39792 if test "$am_cv_func_iconv" != yes; then
39793 am_save_LIBS="$LIBS"
39794 LIBS="$LIBS -liconv"
39795 cat >conftest.$ac_ext <<_ACEOF
39798 cat confdefs.h >>conftest.$ac_ext
39799 cat >>conftest.$ac_ext <<_ACEOF
39800 /* end confdefs.h. */
39801 #include <stdlib.h>
39806 iconv_t cd = iconv_open("","");
39807 iconv(cd,NULL,NULL,NULL,NULL);
39813 rm -f conftest.$ac_objext conftest$ac_exeext
39814 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
39828 test ! -s conftest.err
39829 } && test -s conftest
$ac_exeext &&
39830 $as_test_x conftest
$ac_exeext; then
39831 am_cv_lib_iconv
=yes
39832 am_cv_func_iconv
=yes
39834 echo "$as_me: failed program was:" >&5
39835 sed 's/^/| /' conftest.
$ac_ext >&5
39840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39841 conftest
$ac_exeext conftest.
$ac_ext
39842 LIBS
="$am_save_LIBS"
39846 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39847 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39848 if test "$am_cv_func_iconv" = yes; then
39850 cat >>confdefs.h
<<\_ACEOF
39851 #define HAVE_ICONV 1
39854 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39855 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39856 if test "${wx_cv_func_iconv_const+set}" = set; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39859 cat >conftest.
$ac_ext <<_ACEOF
39862 cat confdefs.h
>>conftest.
$ac_ext
39863 cat >>conftest.
$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39866 #include <stdlib.h>
39872 #if defined(__STDC__) || defined(__cplusplus)
39873 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39886 rm -f conftest.
$ac_objext
39887 if { (ac_try
="$ac_compile"
39888 case "(($ac_try" in
39889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39890 *) ac_try_echo=$ac_try;;
39892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39893 (eval "$ac_compile") 2>conftest.er1
39895 grep -v '^ *+' conftest.er1 >conftest.err
39897 cat conftest.err >&5
39898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39899 (exit $ac_status); } && {
39900 test -z "$ac_c_werror_flag" ||
39901 test ! -s conftest.err
39902 } && test -s conftest.$ac_objext; then
39903 wx_cv_func_iconv_const="no"
39905 echo "$as_me: failed program was:" >&5
39906 sed 's/^/| /' conftest.$ac_ext >&5
39908 wx_cv_func_iconv_const="yes"
39912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39915 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39916 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39919 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39920 iconv_const="const"
39924 cat >>confdefs.h <<_ACEOF
39925 #define ICONV_CONST $iconv_const
39930 if test "$am_cv_lib_iconv" = yes; then
39935 LIBS="$LIBICONV $LIBS"
39937 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39939 for ac_func in sigaction
39941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39942 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39944 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39945 echo $ECHO_N "(cached) $ECHO_C" >&6
39947 cat >conftest.$ac_ext <<_ACEOF
39950 cat confdefs.h >>conftest.$ac_ext
39951 cat >>conftest.$ac_ext <<_ACEOF
39952 /* end confdefs.h. */
39953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39955 #define $ac_func innocuous_$ac_func
39957 /* System header to define __stub macros and hopefully few prototypes,
39958 which can conflict with char $ac_func (); below.
39959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39960 <limits.h> exists even on freestanding compilers. */
39963 # include <limits.h>
39965 # include <assert.h>
39970 /* Override any GCC internal prototype to avoid an error.
39971 Use char because int might match the return type of a GCC
39972 builtin and then its argument prototype would still apply. */
39977 /* The GNU C library defines this for functions which it implements
39978 to always fail with ENOSYS. Some functions are actually named
39979 something starting with __ and the normal name is an alias. */
39980 #if defined __stub_$ac_func || defined __stub___$ac_func
39987 return $ac_func ();
39992 rm -f conftest.$ac_objext conftest$ac_exeext
39993 if { (ac_try="$ac_link"
39994 case "(($ac_try" in
39995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39996 *) ac_try_echo
=$ac_try;;
39998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39999 (eval "$ac_link") 2>conftest.er1
40001 grep -v '^ *+' conftest.er1
>conftest.err
40003 cat conftest.err
>&5
40004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005 (exit $ac_status); } && {
40006 test -z "$ac_c_werror_flag" ||
40007 test ! -s conftest.err
40008 } && test -s conftest
$ac_exeext &&
40009 $as_test_x conftest
$ac_exeext; then
40010 eval "$as_ac_var=yes"
40012 echo "$as_me: failed program was:" >&5
40013 sed 's/^/| /' conftest.
$ac_ext >&5
40015 eval "$as_ac_var=no"
40018 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40019 conftest
$ac_exeext conftest.
$ac_ext
40021 ac_res
=`eval echo '${'$as_ac_var'}'`
40022 { echo "$as_me:$LINENO: result: $ac_res" >&5
40023 echo "${ECHO_T}$ac_res" >&6; }
40024 if test `eval echo '${'$as_ac_var'}'` = yes; then
40025 cat >>confdefs.h
<<_ACEOF
40026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40033 if test "$ac_cv_func_sigaction" = "no"; then
40034 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40035 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40036 wxUSE_ON_FATAL_EXCEPTION
=no
40039 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40040 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40041 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40042 if test "${wx_cv_type_sa_handler+set}" = set; then
40043 echo $ECHO_N "(cached) $ECHO_C" >&6
40047 ac_cpp
='$CXXCPP $CPPFLAGS'
40048 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40049 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40050 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40052 cat >conftest.
$ac_ext <<_ACEOF
40055 cat confdefs.h
>>conftest.
$ac_ext
40056 cat >>conftest.
$ac_ext <<_ACEOF
40057 /* end confdefs.h. */
40058 #include <signal.h>
40063 extern void testSigHandler(int);
40065 struct sigaction sa;
40066 sa.sa_handler = testSigHandler;
40072 rm -f conftest.
$ac_objext
40073 if { (ac_try
="$ac_compile"
40074 case "(($ac_try" in
40075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40076 *) ac_try_echo=$ac_try;;
40078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40079 (eval "$ac_compile") 2>conftest.er1
40081 grep -v '^ *+' conftest.er1 >conftest.err
40083 cat conftest.err >&5
40084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40085 (exit $ac_status); } && {
40086 test -z "$ac_cxx_werror_flag" ||
40087 test ! -s conftest.err
40088 } && test -s conftest.$ac_objext; then
40090 wx_cv_type_sa_handler=int
40093 echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.$ac_ext >&5
40097 wx_cv_type_sa_handler=void
40101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40103 ac_cpp='$CPP $CPPFLAGS'
40104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40110 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40111 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40113 cat >>confdefs.h <<_ACEOF
40114 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40120 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40121 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40122 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40123 if test "${wx_cv_func_backtrace+set}" = set; then
40124 echo $ECHO_N "(cached) $ECHO_C" >&6
40128 ac_cpp='$CXXCPP $CPPFLAGS'
40129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40133 cat >conftest.$ac_ext <<_ACEOF
40136 cat confdefs.h >>conftest.$ac_ext
40137 cat >>conftest.$ac_ext <<_ACEOF
40138 /* end confdefs.h. */
40139 #include <execinfo.h>
40147 backtrace(trace, 1);
40148 messages = backtrace_symbols(trace, 1);
40154 rm -f conftest.$ac_objext
40155 if { (ac_try="$ac_compile"
40156 case "(($ac_try" in
40157 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40158 *) ac_try_echo
=$ac_try;;
40160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40161 (eval "$ac_compile") 2>conftest.er1
40163 grep -v '^ *+' conftest.er1
>conftest.err
40165 cat conftest.err
>&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } && {
40168 test -z "$ac_cxx_werror_flag" ||
40169 test ! -s conftest.err
40170 } && test -s conftest.
$ac_objext; then
40171 wx_cv_func_backtrace
=yes
40173 echo "$as_me: failed program was:" >&5
40174 sed 's/^/| /' conftest.
$ac_ext >&5
40176 wx_cv_func_backtrace
=no
40180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40182 ac_cpp
='$CPP $CPPFLAGS'
40183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40190 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40191 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40194 if test "$wx_cv_func_backtrace" = "no"; then
40195 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40196 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40197 wxUSE_STACKWALKER
=no
40199 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40200 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40201 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40202 echo $ECHO_N "(cached) $ECHO_C" >&6
40206 ac_cpp
='$CXXCPP $CPPFLAGS'
40207 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40208 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40209 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40211 cat >conftest.
$ac_ext <<_ACEOF
40214 cat confdefs.h
>>conftest.
$ac_ext
40215 cat >>conftest.
$ac_ext <<_ACEOF
40216 /* end confdefs.h. */
40217 #include <cxxabi.h>
40223 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40229 rm -f conftest.
$ac_objext conftest
$ac_exeext
40230 if { (ac_try
="$ac_link"
40231 case "(($ac_try" in
40232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40233 *) ac_try_echo=$ac_try;;
40235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40236 (eval "$ac_link") 2>conftest.er1
40238 grep -v '^ *+' conftest.er1 >conftest.err
40240 cat conftest.err >&5
40241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40242 (exit $ac_status); } && {
40243 test -z "$ac_cxx_werror_flag" ||
40244 test ! -s conftest.err
40245 } && test -s conftest$ac_exeext &&
40246 $as_test_x conftest$ac_exeext; then
40247 wx_cv_func_cxa_demangle=yes
40249 echo "$as_me: failed program was:" >&5
40250 sed 's/^/| /' conftest.$ac_ext >&5
40252 wx_cv_func_cxa_demangle=no
40256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40257 conftest$ac_exeext conftest.$ac_ext
40259 ac_cpp='$CPP $CPPFLAGS'
40260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40267 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40268 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40270 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40271 cat >>confdefs.h <<\_ACEOF
40272 #define HAVE_CXA_DEMANGLE 1
40279 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
40280 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40281 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40282 wxUSE_STACKWALKER=no
40288 for ac_func in mkstemp mktemp
40290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40294 echo $ECHO_N "(cached) $ECHO_C" >&6
40296 cat >conftest.$ac_ext <<_ACEOF
40299 cat confdefs.h >>conftest.$ac_ext
40300 cat >>conftest.$ac_ext <<_ACEOF
40301 /* end confdefs.h. */
40302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40304 #define $ac_func innocuous_$ac_func
40306 /* System header to define __stub macros and hopefully few prototypes,
40307 which can conflict with char $ac_func (); below.
40308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40309 <limits.h> exists even on freestanding compilers. */
40312 # include <limits.h>
40314 # include <assert.h>
40319 /* Override any GCC internal prototype to avoid an error.
40320 Use char because int might match the return type of a GCC
40321 builtin and then its argument prototype would still apply. */
40326 /* The GNU C library defines this for functions which it implements
40327 to always fail with ENOSYS. Some functions are actually named
40328 something starting with __ and the normal name is an alias. */
40329 #if defined __stub_$ac_func || defined __stub___$ac_func
40336 return $ac_func ();
40341 rm -f conftest.$ac_objext conftest$ac_exeext
40342 if { (ac_try="$ac_link"
40343 case "(($ac_try" in
40344 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40345 *) ac_try_echo
=$ac_try;;
40347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40348 (eval "$ac_link") 2>conftest.er1
40350 grep -v '^ *+' conftest.er1
>conftest.err
40352 cat conftest.err
>&5
40353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354 (exit $ac_status); } && {
40355 test -z "$ac_c_werror_flag" ||
40356 test ! -s conftest.err
40357 } && test -s conftest
$ac_exeext &&
40358 $as_test_x conftest
$ac_exeext; then
40359 eval "$as_ac_var=yes"
40361 echo "$as_me: failed program was:" >&5
40362 sed 's/^/| /' conftest.
$ac_ext >&5
40364 eval "$as_ac_var=no"
40367 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40368 conftest
$ac_exeext conftest.
$ac_ext
40370 ac_res
=`eval echo '${'$as_ac_var'}'`
40371 { echo "$as_me:$LINENO: result: $ac_res" >&5
40372 echo "${ECHO_T}$ac_res" >&6; }
40373 if test `eval echo '${'$as_ac_var'}'` = yes; then
40374 cat >>confdefs.h
<<_ACEOF
40375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40382 { echo "$as_me:$LINENO: checking for statfs" >&5
40383 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40384 if test "${wx_cv_func_statfs+set}" = set; then
40385 echo $ECHO_N "(cached) $ECHO_C" >&6
40387 cat >conftest.
$ac_ext <<_ACEOF
40390 cat confdefs.h
>>conftest.
$ac_ext
40391 cat >>conftest.
$ac_ext <<_ACEOF
40392 /* end confdefs.h. */
40394 #if defined(__BSD__)
40395 #include <sys/param.h>
40396 #include <sys/mount.h>
40398 #include <sys/vfs.h>
40416 rm -f conftest.
$ac_objext
40417 if { (ac_try
="$ac_compile"
40418 case "(($ac_try" in
40419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40420 *) ac_try_echo=$ac_try;;
40422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40423 (eval "$ac_compile") 2>conftest.er1
40425 grep -v '^ *+' conftest.er1 >conftest.err
40427 cat conftest.err >&5
40428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40429 (exit $ac_status); } && {
40430 test -z "$ac_c_werror_flag" ||
40431 test ! -s conftest.err
40432 } && test -s conftest.$ac_objext; then
40433 wx_cv_func_statfs=yes
40435 echo "$as_me: failed program was:" >&5
40436 sed 's/^/| /' conftest.$ac_ext >&5
40438 wx_cv_func_statfs=no
40442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40445 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40446 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40448 if test "$wx_cv_func_statfs" = "yes"; then
40449 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40450 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40451 if test "${wx_cv_func_statfs_decl+set}" = set; then
40452 echo $ECHO_N "(cached) $ECHO_C" >&6
40455 ac_cpp='$CXXCPP $CPPFLAGS'
40456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40460 cat >conftest.$ac_ext <<_ACEOF
40463 cat confdefs.h >>conftest.$ac_ext
40464 cat >>conftest.$ac_ext <<_ACEOF
40465 /* end confdefs.h. */
40467 #if defined(__BSD__)
40468 #include <sys/param.h>
40469 #include <sys/mount.h>
40471 #include <sys/vfs.h>
40485 rm -f conftest.$ac_objext
40486 if { (ac_try="$ac_compile"
40487 case "(($ac_try" in
40488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40489 *) ac_try_echo
=$ac_try;;
40491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40492 (eval "$ac_compile") 2>conftest.er1
40494 grep -v '^ *+' conftest.er1
>conftest.err
40496 cat conftest.err
>&5
40497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498 (exit $ac_status); } && {
40499 test -z "$ac_cxx_werror_flag" ||
40500 test ! -s conftest.err
40501 } && test -s conftest.
$ac_objext; then
40502 wx_cv_func_statfs_decl
=yes
40504 echo "$as_me: failed program was:" >&5
40505 sed 's/^/| /' conftest.
$ac_ext >&5
40507 wx_cv_func_statfs_decl
=no
40511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40513 ac_cpp
='$CPP $CPPFLAGS'
40514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40520 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40521 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40523 if test "$wx_cv_func_statfs_decl" = "yes"; then
40524 cat >>confdefs.h
<<\_ACEOF
40525 #define HAVE_STATFS_DECL 1
40530 wx_cv_type_statvfs_t
="struct statfs"
40531 cat >>confdefs.h
<<\_ACEOF
40532 #define HAVE_STATFS 1
40536 { echo "$as_me:$LINENO: checking for statvfs" >&5
40537 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40538 if test "${wx_cv_func_statvfs+set}" = set; then
40539 echo $ECHO_N "(cached) $ECHO_C" >&6
40541 cat >conftest.
$ac_ext <<_ACEOF
40544 cat confdefs.h
>>conftest.
$ac_ext
40545 cat >>conftest.
$ac_ext <<_ACEOF
40546 /* end confdefs.h. */
40548 #include <stddef.h>
40549 #include <sys/statvfs.h>
40555 statvfs("/", NULL);
40561 rm -f conftest.
$ac_objext
40562 if { (ac_try
="$ac_compile"
40563 case "(($ac_try" in
40564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40565 *) ac_try_echo=$ac_try;;
40567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40568 (eval "$ac_compile") 2>conftest.er1
40570 grep -v '^ *+' conftest.er1 >conftest.err
40572 cat conftest.err >&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } && {
40575 test -z "$ac_c_werror_flag" ||
40576 test ! -s conftest.err
40577 } && test -s conftest.$ac_objext; then
40578 wx_cv_func_statvfs=yes
40580 echo "$as_me: failed program was:" >&5
40581 sed 's/^/| /' conftest.$ac_ext >&5
40583 wx_cv_func_statvfs=no
40587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40590 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40591 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40593 if test "$wx_cv_func_statvfs" = "yes"; then
40594 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40595 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40596 if test "${wx_cv_type_statvfs_t+set}" = set; then
40597 echo $ECHO_N "(cached) $ECHO_C" >&6
40600 ac_cpp='$CXXCPP $CPPFLAGS'
40601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40605 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/statvfs.h>
40629 rm -f conftest.$ac_objext
40630 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
40644 test ! -s conftest.err
40645 } && test -s conftest.
$ac_objext; then
40646 wx_cv_type_statvfs_t
=statvfs_t
40648 echo "$as_me: failed program was:" >&5
40649 sed 's/^/| /' conftest.
$ac_ext >&5
40652 cat >conftest.
$ac_ext <<_ACEOF
40655 cat confdefs.h
>>conftest.
$ac_ext
40656 cat >>conftest.
$ac_ext <<_ACEOF
40657 /* end confdefs.h. */
40659 #include <sys/statvfs.h>
40676 rm -f conftest.
$ac_objext
40677 if { (ac_try
="$ac_compile"
40678 case "(($ac_try" in
40679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40680 *) ac_try_echo=$ac_try;;
40682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40683 (eval "$ac_compile") 2>conftest.er1
40685 grep -v '^ *+' conftest.er1 >conftest.err
40687 cat conftest.err >&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } && {
40690 test -z "$ac_cxx_werror_flag" ||
40691 test ! -s conftest.err
40692 } && test -s conftest.$ac_objext; then
40693 wx_cv_type_statvfs_t="struct statvfs"
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.$ac_ext >&5
40698 wx_cv_type_statvfs_t="unknown"
40702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40709 ac_cpp='$CPP $CPPFLAGS'
40710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40716 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40717 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40719 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40720 cat >>confdefs.h <<\_ACEOF
40721 #define HAVE_STATVFS 1
40726 wx_cv_type_statvfs_t="unknown"
40730 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40731 cat >>confdefs.h <<_ACEOF
40732 #define WX_STATFS_T $wx_cv_type_statvfs_t
40736 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40737 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40740 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40743 for ac_func in fcntl flock
40745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40746 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40748 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40749 echo $ECHO_N "(cached) $ECHO_C" >&6
40751 cat >conftest.$ac_ext <<_ACEOF
40754 cat confdefs.h >>conftest.$ac_ext
40755 cat >>conftest.$ac_ext <<_ACEOF
40756 /* end confdefs.h. */
40757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40759 #define $ac_func innocuous_$ac_func
40761 /* System header to define __stub macros and hopefully few prototypes,
40762 which can conflict with char $ac_func (); below.
40763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40764 <limits.h> exists even on freestanding compilers. */
40767 # include <limits.h>
40769 # include <assert.h>
40774 /* Override any GCC internal prototype to avoid an error.
40775 Use char because int might match the return type of a GCC
40776 builtin and then its argument prototype would still apply. */
40781 /* The GNU C library defines this for functions which it implements
40782 to always fail with ENOSYS. Some functions are actually named
40783 something starting with __ and the normal name is an alias. */
40784 #if defined __stub_$ac_func || defined __stub___$ac_func
40791 return $ac_func ();
40796 rm -f conftest.$ac_objext conftest$ac_exeext
40797 if { (ac_try="$ac_link"
40798 case "(($ac_try" in
40799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40800 *) ac_try_echo
=$ac_try;;
40802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40803 (eval "$ac_link") 2>conftest.er1
40805 grep -v '^ *+' conftest.er1
>conftest.err
40807 cat conftest.err
>&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); } && {
40810 test -z "$ac_c_werror_flag" ||
40811 test ! -s conftest.err
40812 } && test -s conftest
$ac_exeext &&
40813 $as_test_x conftest
$ac_exeext; then
40814 eval "$as_ac_var=yes"
40816 echo "$as_me: failed program was:" >&5
40817 sed 's/^/| /' conftest.
$ac_ext >&5
40819 eval "$as_ac_var=no"
40822 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40823 conftest
$ac_exeext conftest.
$ac_ext
40825 ac_res
=`eval echo '${'$as_ac_var'}'`
40826 { echo "$as_me:$LINENO: result: $ac_res" >&5
40827 echo "${ECHO_T}$ac_res" >&6; }
40828 if test `eval echo '${'$as_ac_var'}'` = yes; then
40829 cat >>confdefs.h
<<_ACEOF
40830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40837 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40838 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40839 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40840 wxUSE_SNGLINST_CHECKER
=no
40845 for ac_func
in timegm
40847 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40850 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40851 echo $ECHO_N "(cached) $ECHO_C" >&6
40853 cat >conftest.
$ac_ext <<_ACEOF
40856 cat confdefs.h
>>conftest.
$ac_ext
40857 cat >>conftest.
$ac_ext <<_ACEOF
40858 /* end confdefs.h. */
40859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40861 #define $ac_func innocuous_$ac_func
40863 /* System header to define __stub macros and hopefully few prototypes,
40864 which can conflict with char $ac_func (); below.
40865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40866 <limits.h> exists even on freestanding compilers. */
40869 # include <limits.h>
40871 # include <assert.h>
40876 /* Override any GCC internal prototype to avoid an error.
40877 Use char because int might match the return type of a GCC
40878 builtin and then its argument prototype would still apply. */
40883 /* The GNU C library defines this for functions which it implements
40884 to always fail with ENOSYS. Some functions are actually named
40885 something starting with __ and the normal name is an alias. */
40886 #if defined __stub_$ac_func || defined __stub___$ac_func
40893 return $ac_func ();
40898 rm -f conftest.
$ac_objext conftest
$ac_exeext
40899 if { (ac_try
="$ac_link"
40900 case "(($ac_try" in
40901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40902 *) ac_try_echo=$ac_try;;
40904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40905 (eval "$ac_link") 2>conftest.er1
40907 grep -v '^ *+' conftest.er1 >conftest.err
40909 cat conftest.err >&5
40910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40911 (exit $ac_status); } && {
40912 test -z "$ac_c_werror_flag" ||
40913 test ! -s conftest.err
40914 } && test -s conftest$ac_exeext &&
40915 $as_test_x conftest$ac_exeext; then
40916 eval "$as_ac_var=yes"
40918 echo "$as_me: failed program was:" >&5
40919 sed 's/^/| /' conftest.$ac_ext >&5
40921 eval "$as_ac_var=no"
40924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40925 conftest$ac_exeext conftest.$ac_ext
40927 ac_res=`eval echo '${'$as_ac_var'}'`
40928 { echo "$as_me:$LINENO: result: $ac_res" >&5
40929 echo "${ECHO_T}$ac_res" >&6; }
40930 if test `eval echo '${'$as_ac_var'}'` = yes; then
40931 cat >>confdefs.h <<_ACEOF
40932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40941 for ac_func in setenv putenv
40943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40944 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40946 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40947 echo $ECHO_N "(cached) $ECHO_C" >&6
40949 cat >conftest.$ac_ext <<_ACEOF
40952 cat confdefs.h >>conftest.$ac_ext
40953 cat >>conftest.$ac_ext <<_ACEOF
40954 /* end confdefs.h. */
40955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40957 #define $ac_func innocuous_$ac_func
40959 /* System header to define __stub macros and hopefully few prototypes,
40960 which can conflict with char $ac_func (); below.
40961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40962 <limits.h> exists even on freestanding compilers. */
40965 # include <limits.h>
40967 # include <assert.h>
40972 /* Override any GCC internal prototype to avoid an error.
40973 Use char because int might match the return type of a GCC
40974 builtin and then its argument prototype would still apply. */
40979 /* The GNU C library defines this for functions which it implements
40980 to always fail with ENOSYS. Some functions are actually named
40981 something starting with __ and the normal name is an alias. */
40982 #if defined __stub_$ac_func || defined __stub___$ac_func
40989 return $ac_func ();
40994 rm -f conftest.$ac_objext conftest$ac_exeext
40995 if { (ac_try="$ac_link"
40996 case "(($ac_try" in
40997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40998 *) ac_try_echo
=$ac_try;;
41000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41001 (eval "$ac_link") 2>conftest.er1
41003 grep -v '^ *+' conftest.er1
>conftest.err
41005 cat conftest.err
>&5
41006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41007 (exit $ac_status); } && {
41008 test -z "$ac_c_werror_flag" ||
41009 test ! -s conftest.err
41010 } && test -s conftest
$ac_exeext &&
41011 $as_test_x conftest
$ac_exeext; then
41012 eval "$as_ac_var=yes"
41014 echo "$as_me: failed program was:" >&5
41015 sed 's/^/| /' conftest.
$ac_ext >&5
41017 eval "$as_ac_var=no"
41020 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41021 conftest
$ac_exeext conftest.
$ac_ext
41023 ac_res
=`eval echo '${'$as_ac_var'}'`
41024 { echo "$as_me:$LINENO: result: $ac_res" >&5
41025 echo "${ECHO_T}$ac_res" >&6; }
41026 if test `eval echo '${'$as_ac_var'}'` = yes; then
41027 cat >>confdefs.h
<<_ACEOF
41028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41035 HAVE_SOME_SLEEP_FUNC
=0
41036 if test "$USE_BEOS" = 1; then
41037 cat >>confdefs.h
<<\_ACEOF
41038 #define HAVE_SLEEP 1
41041 HAVE_SOME_SLEEP_FUNC
=1
41044 if test "$USE_DARWIN" = 1; then
41045 cat >>confdefs.h
<<\_ACEOF
41046 #define HAVE_USLEEP 1
41049 HAVE_SOME_SLEEP_FUNC
=1
41052 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41055 for ac_func
in nanosleep
41057 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41058 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41060 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41061 echo $ECHO_N "(cached) $ECHO_C" >&6
41063 cat >conftest.
$ac_ext <<_ACEOF
41066 cat confdefs.h
>>conftest.
$ac_ext
41067 cat >>conftest.
$ac_ext <<_ACEOF
41068 /* end confdefs.h. */
41069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41071 #define $ac_func innocuous_$ac_func
41073 /* System header to define __stub macros and hopefully few prototypes,
41074 which can conflict with char $ac_func (); below.
41075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41076 <limits.h> exists even on freestanding compilers. */
41079 # include <limits.h>
41081 # include <assert.h>
41086 /* Override any GCC internal prototype to avoid an error.
41087 Use char because int might match the return type of a GCC
41088 builtin and then its argument prototype would still apply. */
41093 /* The GNU C library defines this for functions which it implements
41094 to always fail with ENOSYS. Some functions are actually named
41095 something starting with __ and the normal name is an alias. */
41096 #if defined __stub_$ac_func || defined __stub___$ac_func
41103 return $ac_func ();
41108 rm -f conftest.
$ac_objext conftest
$ac_exeext
41109 if { (ac_try
="$ac_link"
41110 case "(($ac_try" in
41111 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41112 *) ac_try_echo=$ac_try;;
41114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41115 (eval "$ac_link") 2>conftest.er1
41117 grep -v '^ *+' conftest.er1 >conftest.err
41119 cat conftest.err >&5
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); } && {
41122 test -z "$ac_c_werror_flag" ||
41123 test ! -s conftest.err
41124 } && test -s conftest$ac_exeext &&
41125 $as_test_x conftest$ac_exeext; then
41126 eval "$as_ac_var=yes"
41128 echo "$as_me: failed program was:" >&5
41129 sed 's/^/| /' conftest.$ac_ext >&5
41131 eval "$as_ac_var=no"
41134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41135 conftest$ac_exeext conftest.$ac_ext
41137 ac_res=`eval echo '${'$as_ac_var'}'`
41138 { echo "$as_me:$LINENO: result: $ac_res" >&5
41139 echo "${ECHO_T}$ac_res" >&6; }
41140 if test `eval echo '${'$as_ac_var'}'` = yes; then
41141 cat >>confdefs.h <<_ACEOF
41142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41144 cat >>confdefs.h <<\_ACEOF
41145 #define HAVE_NANOSLEEP 1
41150 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41151 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41152 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41153 echo $ECHO_N "(cached) $ECHO_C" >&6
41155 ac_check_lib_save_LIBS=$LIBS
41156 LIBS="-lposix4 $LIBS"
41157 cat >conftest.$ac_ext <<_ACEOF
41160 cat confdefs.h >>conftest.$ac_ext
41161 cat >>conftest.$ac_ext <<_ACEOF
41162 /* end confdefs.h. */
41164 /* Override any GCC internal prototype to avoid an error.
41165 Use char because int might match the return type of a GCC
41166 builtin and then its argument prototype would still apply. */
41174 return nanosleep ();
41179 rm -f conftest.$ac_objext conftest$ac_exeext
41180 if { (ac_try="$ac_link"
41181 case "(($ac_try" in
41182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41183 *) ac_try_echo
=$ac_try;;
41185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41186 (eval "$ac_link") 2>conftest.er1
41188 grep -v '^ *+' conftest.er1
>conftest.err
41190 cat conftest.err
>&5
41191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192 (exit $ac_status); } && {
41193 test -z "$ac_c_werror_flag" ||
41194 test ! -s conftest.err
41195 } && test -s conftest
$ac_exeext &&
41196 $as_test_x conftest
$ac_exeext; then
41197 ac_cv_lib_posix4_nanosleep
=yes
41199 echo "$as_me: failed program was:" >&5
41200 sed 's/^/| /' conftest.
$ac_ext >&5
41202 ac_cv_lib_posix4_nanosleep
=no
41205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41206 conftest
$ac_exeext conftest.
$ac_ext
41207 LIBS
=$ac_check_lib_save_LIBS
41209 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41210 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41211 if test $ac_cv_lib_posix4_nanosleep = yes; then
41213 cat >>confdefs.h
<<\_ACEOF
41214 #define HAVE_NANOSLEEP 1
41217 POSIX4_LINK
=" -lposix4"
41222 for wx_func
in usleep
41224 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41225 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41226 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41227 echo $ECHO_N "(cached) $ECHO_C" >&6
41230 cat >conftest.
$ac_ext <<_ACEOF
41234 cat confdefs.h
>>conftest.
$ac_ext
41235 cat >>conftest.
$ac_ext <<_ACEOF
41236 /* end confdefs.h. */
41239 $ac_includes_default
41255 rm -f conftest.
$ac_objext conftest
$ac_exeext
41256 if { (ac_try
="$ac_link"
41257 case "(($ac_try" in
41258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41259 *) ac_try_echo=$ac_try;;
41261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41262 (eval "$ac_link") 2>conftest.er1
41264 grep -v '^ *+' conftest.er1 >conftest.err
41266 cat conftest.err >&5
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); } && {
41269 test -z "$ac_c_werror_flag" ||
41270 test ! -s conftest.err
41271 } && test -s conftest$ac_exeext &&
41272 $as_test_x conftest$ac_exeext; then
41273 eval wx_cv_func_$wx_func=yes
41275 echo "$as_me: failed program was:" >&5
41276 sed 's/^/| /' conftest.$ac_ext >&5
41278 eval wx_cv_func_$wx_func=no
41281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41282 conftest$ac_exeext conftest.$ac_ext
41285 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41286 { echo "$as_me:$LINENO: result: $ac_res" >&5
41287 echo "${ECHO_T}$ac_res" >&6; }
41289 if eval test \$wx_cv_func_$wx_func = yes
41291 cat >>confdefs.h <<_ACEOF
41292 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41298 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41299 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41316 for wx_func in uname
41318 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41319 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41320 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41321 echo $ECHO_N "(cached) $ECHO_C" >&6
41324 cat >conftest.$ac_ext <<_ACEOF
41328 cat confdefs.h >>conftest.$ac_ext
41329 cat >>conftest.$ac_ext <<_ACEOF
41330 /* end confdefs.h. */
41332 #include <sys/utsname.h>
41333 $ac_includes_default
41349 rm -f conftest.$ac_objext conftest$ac_exeext
41350 if { (ac_try="$ac_link"
41351 case "(($ac_try" in
41352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41353 *) ac_try_echo
=$ac_try;;
41355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41356 (eval "$ac_link") 2>conftest.er1
41358 grep -v '^ *+' conftest.er1
>conftest.err
41360 cat conftest.err
>&5
41361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41362 (exit $ac_status); } && {
41363 test -z "$ac_c_werror_flag" ||
41364 test ! -s conftest.err
41365 } && test -s conftest
$ac_exeext &&
41366 $as_test_x conftest
$ac_exeext; then
41367 eval wx_cv_func_
$wx_func=yes
41369 echo "$as_me: failed program was:" >&5
41370 sed 's/^/| /' conftest.
$ac_ext >&5
41372 eval wx_cv_func_
$wx_func=no
41375 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41376 conftest
$ac_exeext conftest.
$ac_ext
41379 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41380 { echo "$as_me:$LINENO: result: $ac_res" >&5
41381 echo "${ECHO_T}$ac_res" >&6; }
41383 if eval test \
$wx_cv_func_$wx_func = yes
41385 cat >>confdefs.h
<<_ACEOF
41386 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41396 if test "$wx_cv_func_uname" != yes; then
41398 for wx_func
in gethostname
41400 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41401 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41402 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41403 echo $ECHO_N "(cached) $ECHO_C" >&6
41406 cat >conftest.
$ac_ext <<_ACEOF
41410 cat confdefs.h
>>conftest.
$ac_ext
41411 cat >>conftest.
$ac_ext <<_ACEOF
41412 /* end confdefs.h. */
41415 $ac_includes_default
41431 rm -f conftest.
$ac_objext conftest
$ac_exeext
41432 if { (ac_try
="$ac_link"
41433 case "(($ac_try" in
41434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41435 *) ac_try_echo=$ac_try;;
41437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41438 (eval "$ac_link") 2>conftest.er1
41440 grep -v '^ *+' conftest.er1 >conftest.err
41442 cat conftest.err >&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); } && {
41445 test -z "$ac_c_werror_flag" ||
41446 test ! -s conftest.err
41447 } && test -s conftest$ac_exeext &&
41448 $as_test_x conftest$ac_exeext; then
41449 eval wx_cv_func_$wx_func=yes
41451 echo "$as_me: failed program was:" >&5
41452 sed 's/^/| /' conftest.$ac_ext >&5
41454 eval wx_cv_func_$wx_func=no
41457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41458 conftest$ac_exeext conftest.$ac_ext
41461 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41462 { echo "$as_me:$LINENO: result: $ac_res" >&5
41463 echo "${ECHO_T}$ac_res" >&6; }
41465 if eval test \$wx_cv_func_$wx_func = yes
41467 cat >>confdefs.h <<_ACEOF
41468 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41481 for wx_func in strtok_r
41483 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41484 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41485 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41486 echo $ECHO_N "(cached) $ECHO_C" >&6
41489 cat >conftest.$ac_ext <<_ACEOF
41493 cat confdefs.h >>conftest.$ac_ext
41494 cat >>conftest.$ac_ext <<_ACEOF
41495 /* end confdefs.h. */
41498 $ac_includes_default
41514 rm -f conftest.$ac_objext conftest$ac_exeext
41515 if { (ac_try="$ac_link"
41516 case "(($ac_try" in
41517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41518 *) ac_try_echo
=$ac_try;;
41520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41521 (eval "$ac_link") 2>conftest.er1
41523 grep -v '^ *+' conftest.er1
>conftest.err
41525 cat conftest.err
>&5
41526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41527 (exit $ac_status); } && {
41528 test -z "$ac_c_werror_flag" ||
41529 test ! -s conftest.err
41530 } && test -s conftest
$ac_exeext &&
41531 $as_test_x conftest
$ac_exeext; then
41532 eval wx_cv_func_
$wx_func=yes
41534 echo "$as_me: failed program was:" >&5
41535 sed 's/^/| /' conftest.
$ac_ext >&5
41537 eval wx_cv_func_
$wx_func=no
41540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41541 conftest
$ac_exeext conftest.
$ac_ext
41544 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41545 { echo "$as_me:$LINENO: result: $ac_res" >&5
41546 echo "${ECHO_T}$ac_res" >&6; }
41548 if eval test \
$wx_cv_func_$wx_func = yes
41550 cat >>confdefs.h
<<_ACEOF
41551 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41564 for ac_func
in inet_addr
41566 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41567 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41569 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41570 echo $ECHO_N "(cached) $ECHO_C" >&6
41572 cat >conftest.
$ac_ext <<_ACEOF
41575 cat confdefs.h
>>conftest.
$ac_ext
41576 cat >>conftest.
$ac_ext <<_ACEOF
41577 /* end confdefs.h. */
41578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41580 #define $ac_func innocuous_$ac_func
41582 /* System header to define __stub macros and hopefully few prototypes,
41583 which can conflict with char $ac_func (); below.
41584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41585 <limits.h> exists even on freestanding compilers. */
41588 # include <limits.h>
41590 # include <assert.h>
41595 /* Override any GCC internal prototype to avoid an error.
41596 Use char because int might match the return type of a GCC
41597 builtin and then its argument prototype would still apply. */
41602 /* The GNU C library defines this for functions which it implements
41603 to always fail with ENOSYS. Some functions are actually named
41604 something starting with __ and the normal name is an alias. */
41605 #if defined __stub_$ac_func || defined __stub___$ac_func
41612 return $ac_func ();
41617 rm -f conftest.
$ac_objext conftest
$ac_exeext
41618 if { (ac_try
="$ac_link"
41619 case "(($ac_try" in
41620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41621 *) ac_try_echo=$ac_try;;
41623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41624 (eval "$ac_link") 2>conftest.er1
41626 grep -v '^ *+' conftest.er1 >conftest.err
41628 cat conftest.err >&5
41629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41630 (exit $ac_status); } && {
41631 test -z "$ac_c_werror_flag" ||
41632 test ! -s conftest.err
41633 } && test -s conftest$ac_exeext &&
41634 $as_test_x conftest$ac_exeext; then
41635 eval "$as_ac_var=yes"
41637 echo "$as_me: failed program was:" >&5
41638 sed 's/^/| /' conftest.$ac_ext >&5
41640 eval "$as_ac_var=no"
41643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41644 conftest$ac_exeext conftest.$ac_ext
41646 ac_res=`eval echo '${'$as_ac_var'}'`
41647 { echo "$as_me:$LINENO: result: $ac_res" >&5
41648 echo "${ECHO_T}$ac_res" >&6; }
41649 if test `eval echo '${'$as_ac_var'}'` = yes; then
41650 cat >>confdefs.h <<_ACEOF
41651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41653 cat >>confdefs.h <<\_ACEOF
41654 #define HAVE_INET_ADDR 1
41659 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41660 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41661 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41662 echo $ECHO_N "(cached) $ECHO_C" >&6
41664 ac_check_lib_save_LIBS=$LIBS
41666 cat >conftest.$ac_ext <<_ACEOF
41669 cat confdefs.h >>conftest.$ac_ext
41670 cat >>conftest.$ac_ext <<_ACEOF
41671 /* end confdefs.h. */
41673 /* Override any GCC internal prototype to avoid an error.
41674 Use char because int might match the return type of a GCC
41675 builtin and then its argument prototype would still apply. */
41683 return inet_addr ();
41688 rm -f conftest.$ac_objext conftest$ac_exeext
41689 if { (ac_try="$ac_link"
41690 case "(($ac_try" in
41691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41692 *) ac_try_echo
=$ac_try;;
41694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41695 (eval "$ac_link") 2>conftest.er1
41697 grep -v '^ *+' conftest.er1
>conftest.err
41699 cat conftest.err
>&5
41700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41701 (exit $ac_status); } && {
41702 test -z "$ac_c_werror_flag" ||
41703 test ! -s conftest.err
41704 } && test -s conftest
$ac_exeext &&
41705 $as_test_x conftest
$ac_exeext; then
41706 ac_cv_lib_nsl_inet_addr
=yes
41708 echo "$as_me: failed program was:" >&5
41709 sed 's/^/| /' conftest.
$ac_ext >&5
41711 ac_cv_lib_nsl_inet_addr
=no
41714 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41715 conftest
$ac_exeext conftest.
$ac_ext
41716 LIBS
=$ac_check_lib_save_LIBS
41718 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41719 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41720 if test $ac_cv_lib_nsl_inet_addr = yes; then
41724 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41725 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41726 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41727 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 ac_check_lib_save_LIBS
=$LIBS
41730 LIBS
="-lresolv $LIBS"
41731 cat >conftest.
$ac_ext <<_ACEOF
41734 cat confdefs.h
>>conftest.
$ac_ext
41735 cat >>conftest.
$ac_ext <<_ACEOF
41736 /* end confdefs.h. */
41738 /* Override any GCC internal prototype to avoid an error.
41739 Use char because int might match the return type of a GCC
41740 builtin and then its argument prototype would still apply. */
41748 return inet_addr ();
41753 rm -f conftest.
$ac_objext conftest
$ac_exeext
41754 if { (ac_try
="$ac_link"
41755 case "(($ac_try" in
41756 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41757 *) ac_try_echo=$ac_try;;
41759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41760 (eval "$ac_link") 2>conftest.er1
41762 grep -v '^ *+' conftest.er1 >conftest.err
41764 cat conftest.err >&5
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); } && {
41767 test -z "$ac_c_werror_flag" ||
41768 test ! -s conftest.err
41769 } && test -s conftest$ac_exeext &&
41770 $as_test_x conftest$ac_exeext; then
41771 ac_cv_lib_resolv_inet_addr=yes
41773 echo "$as_me: failed program was:" >&5
41774 sed 's/^/| /' conftest.$ac_ext >&5
41776 ac_cv_lib_resolv_inet_addr=no
41779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41780 conftest$ac_exeext conftest.$ac_ext
41781 LIBS=$ac_check_lib_save_LIBS
41783 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41784 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41785 if test $ac_cv_lib_resolv_inet_addr = yes; then
41789 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41790 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41791 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41792 echo $ECHO_N "(cached) $ECHO_C" >&6
41794 ac_check_lib_save_LIBS=$LIBS
41795 LIBS="-lsocket $LIBS"
41796 cat >conftest.$ac_ext <<_ACEOF
41799 cat confdefs.h >>conftest.$ac_ext
41800 cat >>conftest.$ac_ext <<_ACEOF
41801 /* end confdefs.h. */
41803 /* Override any GCC internal prototype to avoid an error.
41804 Use char because int might match the return type of a GCC
41805 builtin and then its argument prototype would still apply. */
41813 return inet_addr ();
41818 rm -f conftest.$ac_objext conftest$ac_exeext
41819 if { (ac_try="$ac_link"
41820 case "(($ac_try" in
41821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41822 *) ac_try_echo
=$ac_try;;
41824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41825 (eval "$ac_link") 2>conftest.er1
41827 grep -v '^ *+' conftest.er1
>conftest.err
41829 cat conftest.err
>&5
41830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831 (exit $ac_status); } && {
41832 test -z "$ac_c_werror_flag" ||
41833 test ! -s conftest.err
41834 } && test -s conftest
$ac_exeext &&
41835 $as_test_x conftest
$ac_exeext; then
41836 ac_cv_lib_socket_inet_addr
=yes
41838 echo "$as_me: failed program was:" >&5
41839 sed 's/^/| /' conftest.
$ac_ext >&5
41841 ac_cv_lib_socket_inet_addr
=no
41844 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41845 conftest
$ac_exeext conftest.
$ac_ext
41846 LIBS
=$ac_check_lib_save_LIBS
41848 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41849 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41850 if test $ac_cv_lib_socket_inet_addr = yes; then
41870 for ac_func
in inet_aton
41872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41873 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41875 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41876 echo $ECHO_N "(cached) $ECHO_C" >&6
41878 cat >conftest.
$ac_ext <<_ACEOF
41881 cat confdefs.h
>>conftest.
$ac_ext
41882 cat >>conftest.
$ac_ext <<_ACEOF
41883 /* end confdefs.h. */
41884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41886 #define $ac_func innocuous_$ac_func
41888 /* System header to define __stub macros and hopefully few prototypes,
41889 which can conflict with char $ac_func (); below.
41890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41891 <limits.h> exists even on freestanding compilers. */
41894 # include <limits.h>
41896 # include <assert.h>
41901 /* Override any GCC internal prototype to avoid an error.
41902 Use char because int might match the return type of a GCC
41903 builtin and then its argument prototype would still apply. */
41908 /* The GNU C library defines this for functions which it implements
41909 to always fail with ENOSYS. Some functions are actually named
41910 something starting with __ and the normal name is an alias. */
41911 #if defined __stub_$ac_func || defined __stub___$ac_func
41918 return $ac_func ();
41923 rm -f conftest.
$ac_objext conftest
$ac_exeext
41924 if { (ac_try
="$ac_link"
41925 case "(($ac_try" in
41926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41927 *) ac_try_echo=$ac_try;;
41929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41930 (eval "$ac_link") 2>conftest.er1
41932 grep -v '^ *+' conftest.er1 >conftest.err
41934 cat conftest.err >&5
41935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41936 (exit $ac_status); } && {
41937 test -z "$ac_c_werror_flag" ||
41938 test ! -s conftest.err
41939 } && test -s conftest$ac_exeext &&
41940 $as_test_x conftest$ac_exeext; then
41941 eval "$as_ac_var=yes"
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.$ac_ext >&5
41946 eval "$as_ac_var=no"
41949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41950 conftest$ac_exeext conftest.$ac_ext
41952 ac_res=`eval echo '${'$as_ac_var'}'`
41953 { echo "$as_me:$LINENO: result: $ac_res" >&5
41954 echo "${ECHO_T}$ac_res" >&6; }
41955 if test `eval echo '${'$as_ac_var'}'` = yes; then
41956 cat >>confdefs.h <<_ACEOF
41957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41959 cat >>confdefs.h <<\_ACEOF
41960 #define HAVE_INET_ATON 1
41965 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41966 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41967 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41968 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41969 echo $ECHO_N "(cached) $ECHO_C" >&6
41971 ac_check_lib_save_LIBS=$LIBS
41972 LIBS="-l$INET_LINK $LIBS"
41973 cat >conftest.$ac_ext <<_ACEOF
41976 cat confdefs.h >>conftest.$ac_ext
41977 cat >>conftest.$ac_ext <<_ACEOF
41978 /* end confdefs.h. */
41980 /* Override any GCC internal prototype to avoid an error.
41981 Use char because int might match the return type of a GCC
41982 builtin and then its argument prototype would still apply. */
41990 return inet_aton ();
41995 rm -f conftest.$ac_objext conftest$ac_exeext
41996 if { (ac_try="$ac_link"
41997 case "(($ac_try" in
41998 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41999 *) ac_try_echo
=$ac_try;;
42001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42002 (eval "$ac_link") 2>conftest.er1
42004 grep -v '^ *+' conftest.er1
>conftest.err
42006 cat conftest.err
>&5
42007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42008 (exit $ac_status); } && {
42009 test -z "$ac_c_werror_flag" ||
42010 test ! -s conftest.err
42011 } && test -s conftest
$ac_exeext &&
42012 $as_test_x conftest
$ac_exeext; then
42013 eval "$as_ac_Lib=yes"
42015 echo "$as_me: failed program was:" >&5
42016 sed 's/^/| /' conftest.
$ac_ext >&5
42018 eval "$as_ac_Lib=no"
42021 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42022 conftest
$ac_exeext conftest.
$ac_ext
42023 LIBS
=$ac_check_lib_save_LIBS
42025 ac_res
=`eval echo '${'$as_ac_Lib'}'`
42026 { echo "$as_me:$LINENO: result: $ac_res" >&5
42027 echo "${ECHO_T}$ac_res" >&6; }
42028 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42029 cat >>confdefs.h
<<\_ACEOF
42030 #define HAVE_INET_ATON 1
42040 if test "x$INET_LINK" != "x"; then
42041 cat >>confdefs.h
<<\_ACEOF
42042 #define HAVE_INET_ADDR 1
42045 INET_LINK
=" -l$INET_LINK"
42049 for wx_func
in fdopen
42051 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42052 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42053 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42054 echo $ECHO_N "(cached) $ECHO_C" >&6
42057 cat >conftest.
$ac_ext <<_ACEOF
42061 cat confdefs.h
>>conftest.
$ac_ext
42062 cat >>conftest.
$ac_ext <<_ACEOF
42063 /* end confdefs.h. */
42066 $ac_includes_default
42082 rm -f conftest.
$ac_objext conftest
$ac_exeext
42083 if { (ac_try
="$ac_link"
42084 case "(($ac_try" in
42085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42086 *) ac_try_echo=$ac_try;;
42088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42089 (eval "$ac_link") 2>conftest.er1
42091 grep -v '^ *+' conftest.er1 >conftest.err
42093 cat conftest.err >&5
42094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42095 (exit $ac_status); } && {
42096 test -z "$ac_c_werror_flag" ||
42097 test ! -s conftest.err
42098 } && test -s conftest$ac_exeext &&
42099 $as_test_x conftest$ac_exeext; then
42100 eval wx_cv_func_$wx_func=yes
42102 echo "$as_me: failed program was:" >&5
42103 sed 's/^/| /' conftest.$ac_ext >&5
42105 eval wx_cv_func_$wx_func=no
42108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42109 conftest$ac_exeext conftest.$ac_ext
42112 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42113 { echo "$as_me:$LINENO: result: $ac_res" >&5
42114 echo "${ECHO_T}$ac_res" >&6; }
42116 if eval test \$wx_cv_func_$wx_func = yes
42118 cat >>confdefs.h <<_ACEOF
42119 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
42134 cat >confcache <<\_ACEOF
42135 # This file is a shell script that caches the results of configure
42136 # tests run on this system so they can be shared between configure
42137 # scripts and configure runs, see configure's option --config-cache.
42138 # It is not useful on other systems. If it contains results you don't
42139 # want to keep, you may remove or edit it.
42141 # config.status only pays attention to the cache file if you give it
42142 # the --recheck option to rerun configure.
42144 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
42145 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42146 # following values.
42150 # The following way of writing the cache mishandles newlines in values,
42151 # but we know of no workaround that is simple, portable, and efficient.
42152 # So, we kill variables containing newlines.
42153 # Ultrix sh set writes to stderr and can't be redirected directly,
42154 # and sets the high bit in the cache file unless we assign to the vars.
42156 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42157 eval ac_val
=\$
$ac_var
42161 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42162 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42165 _
| IFS
| as_nl
) ;; #(
42166 *) $as_unset $ac_var ;;
42172 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42173 *${as_nl}ac_space
=\
*)
42174 # `set' does not quote correctly, so add quotes (double-quote
42175 # substitution turns \\\\ into \\, and sed turns \\ into \).
42178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42181 # `set' quotes correctly as required by POSIX, so do not add quotes.
42182 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42191 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42193 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42195 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
42196 if test -w "$cache_file"; then
42197 test "x$cache_file" != "x/dev/null" &&
42198 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42199 echo "$as_me: updating cache $cache_file" >&6;}
42200 cat confcache
>$cache_file
42202 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42203 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42209 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42215 if test "$wxUSE_THREADS" = "yes" ; then
42216 if test "$USE_BEOS" = 1; then
42217 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42218 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42223 if test "$wxUSE_THREADS" = "yes" ; then
42226 THREAD_OPTS
="-pthread"
42227 if test "x$SUNCXX" = xyes
; then
42228 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
42232 *-*-solaris2* | *-*-sunos4* )
42233 if test "x$GCC" = "xyes"; then
42234 THREAD_OPTS
="-pthreads $THREAD_OPTS"
42238 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
42240 *-*-darwin* | *-*-cygwin* )
42244 THREAD_OPTS
="pthreads"
42247 if test "x$GCC" = "xyes"; then
42248 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
42256 if test "x$GCC" = "xyes"; then
42262 if test "x$GCC" != "xyes"; then
42263 THREAD_OPTS
="-Ethread"
42268 THREAD_OPTS
="$THREAD_OPTS pthread none"
42271 for flag
in $THREAD_OPTS; do
42274 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42275 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42279 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42280 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42281 THREADS_CFLAGS
="$flag"
42285 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42286 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42287 THREADS_LINK
="-l$flag"
42292 save_CFLAGS
="$CFLAGS"
42293 LIBS
="$THREADS_LINK $LIBS"
42294 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
42296 cat >conftest.
$ac_ext <<_ACEOF
42299 cat confdefs.h
>>conftest.
$ac_ext
42300 cat >>conftest.
$ac_ext <<_ACEOF
42301 /* end confdefs.h. */
42302 #include <pthread.h>
42306 pthread_create(0,0,0,0);
42311 rm -f conftest.
$ac_objext conftest
$ac_exeext
42312 if { (ac_try
="$ac_link"
42313 case "(($ac_try" in
42314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42315 *) ac_try_echo=$ac_try;;
42317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42318 (eval "$ac_link") 2>conftest.er1
42320 grep -v '^ *+' conftest.er1 >conftest.err
42322 cat conftest.err >&5
42323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42324 (exit $ac_status); } && {
42325 test -z "$ac_c_werror_flag" ||
42326 test ! -s conftest.err
42327 } && test -s conftest$ac_exeext &&
42328 $as_test_x conftest$ac_exeext; then
42331 echo "$as_me: failed program was:" >&5
42332 sed 's/^/| /' conftest.$ac_ext >&5
42337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42338 conftest$ac_exeext conftest.$ac_ext
42341 CFLAGS="$save_CFLAGS"
42343 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42344 echo "${ECHO_T}$THREADS_OK" >&6; }
42345 if test "x$THREADS_OK" = "xyes"; then
42353 if test "x$THREADS_OK" != "xyes"; then
42355 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42356 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42358 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42359 LIBS="$THREADS_LINK $LIBS"
42361 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42362 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42366 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42367 flag="-D_THREAD_SAFE"
42370 flag="-D_THREAD_SAFE"
42373 flag="-D_REENTRANT"
42374 if test "x$GCC" != "xyes"; then
42375 flag="$flag -D_RWSTD_MULTI_THREAD"
42378 *solaris* | alpha*-osf*)
42379 flag="-D_REENTRANT"
42382 { echo "$as_me:$LINENO: result: ${flag}" >&5
42383 echo "${ECHO_T}${flag}" >&6; }
42384 if test "x$flag" != xno; then
42385 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42388 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42392 if test "$wxUSE_THREADS" = "yes" ; then
42394 for ac_func in thr_setconcurrency
42396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42399 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42400 echo $ECHO_N "(cached) $ECHO_C" >&6
42402 cat >conftest.$ac_ext <<_ACEOF
42405 cat confdefs.h >>conftest.$ac_ext
42406 cat >>conftest.$ac_ext <<_ACEOF
42407 /* end confdefs.h. */
42408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42410 #define $ac_func innocuous_$ac_func
42412 /* System header to define __stub macros and hopefully few prototypes,
42413 which can conflict with char $ac_func (); below.
42414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42415 <limits.h> exists even on freestanding compilers. */
42418 # include <limits.h>
42420 # include <assert.h>
42425 /* Override any GCC internal prototype to avoid an error.
42426 Use char because int might match the return type of a GCC
42427 builtin and then its argument prototype would still apply. */
42432 /* The GNU C library defines this for functions which it implements
42433 to always fail with ENOSYS. Some functions are actually named
42434 something starting with __ and the normal name is an alias. */
42435 #if defined __stub_$ac_func || defined __stub___$ac_func
42442 return $ac_func ();
42447 rm -f conftest.$ac_objext conftest$ac_exeext
42448 if { (ac_try="$ac_link"
42449 case "(($ac_try" in
42450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42451 *) ac_try_echo
=$ac_try;;
42453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42454 (eval "$ac_link") 2>conftest.er1
42456 grep -v '^ *+' conftest.er1
>conftest.err
42458 cat conftest.err
>&5
42459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42460 (exit $ac_status); } && {
42461 test -z "$ac_c_werror_flag" ||
42462 test ! -s conftest.err
42463 } && test -s conftest
$ac_exeext &&
42464 $as_test_x conftest
$ac_exeext; then
42465 eval "$as_ac_var=yes"
42467 echo "$as_me: failed program was:" >&5
42468 sed 's/^/| /' conftest.
$ac_ext >&5
42470 eval "$as_ac_var=no"
42473 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42474 conftest
$ac_exeext conftest.
$ac_ext
42476 ac_res
=`eval echo '${'$as_ac_var'}'`
42477 { echo "$as_me:$LINENO: result: $ac_res" >&5
42478 echo "${ECHO_T}$ac_res" >&6; }
42479 if test `eval echo '${'$as_ac_var'}'` = yes; then
42480 cat >>confdefs.h
<<_ACEOF
42481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42488 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
42489 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
42490 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
42491 echo $ECHO_N "(cached) $ECHO_C" >&6
42495 ac_cpp
='$CXXCPP $CPPFLAGS'
42496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42500 cat >conftest.
$ac_ext <<_ACEOF
42503 cat confdefs.h
>>conftest.
$ac_ext
42504 cat >>conftest.
$ac_ext <<_ACEOF
42505 /* end confdefs.h. */
42506 #include <pthread.h>
42507 void ThreadCleanupFunc(void *p);
42514 pthread_cleanup_push(ThreadCleanupFunc, p);
42515 pthread_cleanup_pop(0);
42521 rm -f conftest.
$ac_objext
42522 if { (ac_try
="$ac_compile"
42523 case "(($ac_try" in
42524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42525 *) ac_try_echo=$ac_try;;
42527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42528 (eval "$ac_compile") 2>conftest.er1
42530 grep -v '^ *+' conftest.er1 >conftest.err
42532 cat conftest.err >&5
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); } && {
42535 test -z "$ac_cxx_werror_flag" ||
42536 test ! -s conftest.err
42537 } && test -s conftest.$ac_objext; then
42539 wx_cv_func_pthread_cleanup=yes
42542 echo "$as_me: failed program was:" >&5
42543 sed 's/^/| /' conftest.$ac_ext >&5
42546 wx_cv_func_pthread_cleanup=no
42551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42553 ac_cpp='$CPP $CPPFLAGS'
42554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42560 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
42561 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
42562 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
42563 cat >>confdefs.h <<\_ACEOF
42564 #define wxHAVE_PTHREAD_CLEANUP 1
42570 for ac_header in sched.h
42572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42576 echo $ECHO_N "(cached) $ECHO_C" >&6
42578 cat >conftest.$ac_ext <<_ACEOF
42581 cat confdefs.h >>conftest.$ac_ext
42582 cat >>conftest.$ac_ext <<_ACEOF
42583 /* end confdefs.h. */
42584 $ac_includes_default
42586 #include <$ac_header>
42588 rm -f conftest.$ac_objext
42589 if { (ac_try="$ac_compile"
42590 case "(($ac_try" in
42591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42592 *) ac_try_echo
=$ac_try;;
42594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42595 (eval "$ac_compile") 2>conftest.er1
42597 grep -v '^ *+' conftest.er1
>conftest.err
42599 cat conftest.err
>&5
42600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42601 (exit $ac_status); } && {
42602 test -z "$ac_c_werror_flag" ||
42603 test ! -s conftest.err
42604 } && test -s conftest.
$ac_objext; then
42605 eval "$as_ac_Header=yes"
42607 echo "$as_me: failed program was:" >&5
42608 sed 's/^/| /' conftest.
$ac_ext >&5
42610 eval "$as_ac_Header=no"
42613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42615 ac_res
=`eval echo '${'$as_ac_Header'}'`
42616 { echo "$as_me:$LINENO: result: $ac_res" >&5
42617 echo "${ECHO_T}$ac_res" >&6; }
42618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42619 cat >>confdefs.h
<<_ACEOF
42620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42627 if test "$ac_cv_header_sched_h" = "yes"; then
42628 { echo "$as_me:$LINENO: checking for sched_yield" >&5
42629 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
42630 if test "${ac_cv_func_sched_yield+set}" = set; then
42631 echo $ECHO_N "(cached) $ECHO_C" >&6
42633 cat >conftest.
$ac_ext <<_ACEOF
42636 cat confdefs.h
>>conftest.
$ac_ext
42637 cat >>conftest.
$ac_ext <<_ACEOF
42638 /* end confdefs.h. */
42639 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
42640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42641 #define sched_yield innocuous_sched_yield
42643 /* System header to define __stub macros and hopefully few prototypes,
42644 which can conflict with char sched_yield (); below.
42645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42646 <limits.h> exists even on freestanding compilers. */
42649 # include <limits.h>
42651 # include <assert.h>
42656 /* Override any GCC internal prototype to avoid an error.
42657 Use char because int might match the return type of a GCC
42658 builtin and then its argument prototype would still apply. */
42662 char sched_yield ();
42663 /* The GNU C library defines this for functions which it implements
42664 to always fail with ENOSYS. Some functions are actually named
42665 something starting with __ and the normal name is an alias. */
42666 #if defined __stub_sched_yield || defined __stub___sched_yield
42673 return sched_yield ();
42678 rm -f conftest.
$ac_objext conftest
$ac_exeext
42679 if { (ac_try
="$ac_link"
42680 case "(($ac_try" in
42681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42682 *) ac_try_echo=$ac_try;;
42684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42685 (eval "$ac_link") 2>conftest.er1
42687 grep -v '^ *+' conftest.er1 >conftest.err
42689 cat conftest.err >&5
42690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42691 (exit $ac_status); } && {
42692 test -z "$ac_c_werror_flag" ||
42693 test ! -s conftest.err
42694 } && test -s conftest$ac_exeext &&
42695 $as_test_x conftest$ac_exeext; then
42696 ac_cv_func_sched_yield=yes
42698 echo "$as_me: failed program was:" >&5
42699 sed 's/^/| /' conftest.$ac_ext >&5
42701 ac_cv_func_sched_yield=no
42704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42705 conftest$ac_exeext conftest.$ac_ext
42707 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
42708 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
42709 if test $ac_cv_func_sched_yield = yes; then
42710 cat >>confdefs.h <<\_ACEOF
42711 #define HAVE_SCHED_YIELD 1
42716 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42717 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42718 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42719 echo $ECHO_N "(cached) $ECHO_C" >&6
42721 ac_check_lib_save_LIBS=$LIBS
42722 LIBS="-lposix4 $LIBS"
42723 cat >conftest.$ac_ext <<_ACEOF
42726 cat confdefs.h >>conftest.$ac_ext
42727 cat >>conftest.$ac_ext <<_ACEOF
42728 /* end confdefs.h. */
42730 /* Override any GCC internal prototype to avoid an error.
42731 Use char because int might match the return type of a GCC
42732 builtin and then its argument prototype would still apply. */
42736 char sched_yield ();
42740 return sched_yield ();
42745 rm -f conftest.$ac_objext conftest$ac_exeext
42746 if { (ac_try="$ac_link"
42747 case "(($ac_try" in
42748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42749 *) ac_try_echo
=$ac_try;;
42751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42752 (eval "$ac_link") 2>conftest.er1
42754 grep -v '^ *+' conftest.er1
>conftest.err
42756 cat conftest.err
>&5
42757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42758 (exit $ac_status); } && {
42759 test -z "$ac_c_werror_flag" ||
42760 test ! -s conftest.err
42761 } && test -s conftest
$ac_exeext &&
42762 $as_test_x conftest
$ac_exeext; then
42763 ac_cv_lib_posix4_sched_yield
=yes
42765 echo "$as_me: failed program was:" >&5
42766 sed 's/^/| /' conftest.
$ac_ext >&5
42768 ac_cv_lib_posix4_sched_yield
=no
42771 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42772 conftest
$ac_exeext conftest.
$ac_ext
42773 LIBS
=$ac_check_lib_save_LIBS
42775 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42776 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42777 if test $ac_cv_lib_posix4_sched_yield = yes; then
42778 cat >>confdefs.h
<<\_ACEOF
42779 #define HAVE_SCHED_YIELD 1
42781 POSIX4_LINK
=" -lposix4"
42783 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42784 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42795 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42796 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42797 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42798 echo $ECHO_N "(cached) $ECHO_C" >&6
42800 cat >conftest.
$ac_ext <<_ACEOF
42803 cat confdefs.h
>>conftest.
$ac_ext
42804 cat >>conftest.
$ac_ext <<_ACEOF
42805 /* end confdefs.h. */
42806 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42808 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42810 /* System header to define __stub macros and hopefully few prototypes,
42811 which can conflict with char pthread_attr_getschedpolicy (); below.
42812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42813 <limits.h> exists even on freestanding compilers. */
42816 # include <limits.h>
42818 # include <assert.h>
42821 #undef pthread_attr_getschedpolicy
42823 /* Override any GCC internal prototype to avoid an error.
42824 Use char because int might match the return type of a GCC
42825 builtin and then its argument prototype would still apply. */
42829 char pthread_attr_getschedpolicy ();
42830 /* The GNU C library defines this for functions which it implements
42831 to always fail with ENOSYS. Some functions are actually named
42832 something starting with __ and the normal name is an alias. */
42833 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42840 return pthread_attr_getschedpolicy ();
42845 rm -f conftest.
$ac_objext conftest
$ac_exeext
42846 if { (ac_try
="$ac_link"
42847 case "(($ac_try" in
42848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42849 *) ac_try_echo=$ac_try;;
42851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42852 (eval "$ac_link") 2>conftest.er1
42854 grep -v '^ *+' conftest.er1 >conftest.err
42856 cat conftest.err >&5
42857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42858 (exit $ac_status); } && {
42859 test -z "$ac_c_werror_flag" ||
42860 test ! -s conftest.err
42861 } && test -s conftest$ac_exeext &&
42862 $as_test_x conftest$ac_exeext; then
42863 ac_cv_func_pthread_attr_getschedpolicy=yes
42865 echo "$as_me: failed program was:" >&5
42866 sed 's/^/| /' conftest.$ac_ext >&5
42868 ac_cv_func_pthread_attr_getschedpolicy=no
42871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42872 conftest$ac_exeext conftest.$ac_ext
42874 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42875 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42876 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42877 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42878 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42879 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42880 echo $ECHO_N "(cached) $ECHO_C" >&6
42882 cat >conftest.$ac_ext <<_ACEOF
42885 cat confdefs.h >>conftest.$ac_ext
42886 cat >>conftest.$ac_ext <<_ACEOF
42887 /* end confdefs.h. */
42888 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42890 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42892 /* System header to define __stub macros and hopefully few prototypes,
42893 which can conflict with char pthread_attr_setschedparam (); below.
42894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42895 <limits.h> exists even on freestanding compilers. */
42898 # include <limits.h>
42900 # include <assert.h>
42903 #undef pthread_attr_setschedparam
42905 /* Override any GCC internal prototype to avoid an error.
42906 Use char because int might match the return type of a GCC
42907 builtin and then its argument prototype would still apply. */
42911 char pthread_attr_setschedparam ();
42912 /* The GNU C library defines this for functions which it implements
42913 to always fail with ENOSYS. Some functions are actually named
42914 something starting with __ and the normal name is an alias. */
42915 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42922 return pthread_attr_setschedparam ();
42927 rm -f conftest.$ac_objext conftest$ac_exeext
42928 if { (ac_try="$ac_link"
42929 case "(($ac_try" in
42930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42931 *) ac_try_echo
=$ac_try;;
42933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42934 (eval "$ac_link") 2>conftest.er1
42936 grep -v '^ *+' conftest.er1
>conftest.err
42938 cat conftest.err
>&5
42939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42940 (exit $ac_status); } && {
42941 test -z "$ac_c_werror_flag" ||
42942 test ! -s conftest.err
42943 } && test -s conftest
$ac_exeext &&
42944 $as_test_x conftest
$ac_exeext; then
42945 ac_cv_func_pthread_attr_setschedparam
=yes
42947 echo "$as_me: failed program was:" >&5
42948 sed 's/^/| /' conftest.
$ac_ext >&5
42950 ac_cv_func_pthread_attr_setschedparam
=no
42953 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42954 conftest
$ac_exeext conftest.
$ac_ext
42956 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42957 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42958 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42959 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42960 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42961 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42962 echo $ECHO_N "(cached) $ECHO_C" >&6
42964 cat >conftest.
$ac_ext <<_ACEOF
42967 cat confdefs.h
>>conftest.
$ac_ext
42968 cat >>conftest.
$ac_ext <<_ACEOF
42969 /* end confdefs.h. */
42970 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42972 #define sched_get_priority_max innocuous_sched_get_priority_max
42974 /* System header to define __stub macros and hopefully few prototypes,
42975 which can conflict with char sched_get_priority_max (); below.
42976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42977 <limits.h> exists even on freestanding compilers. */
42980 # include <limits.h>
42982 # include <assert.h>
42985 #undef sched_get_priority_max
42987 /* Override any GCC internal prototype to avoid an error.
42988 Use char because int might match the return type of a GCC
42989 builtin and then its argument prototype would still apply. */
42993 char sched_get_priority_max ();
42994 /* The GNU C library defines this for functions which it implements
42995 to always fail with ENOSYS. Some functions are actually named
42996 something starting with __ and the normal name is an alias. */
42997 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43004 return sched_get_priority_max ();
43009 rm -f conftest.
$ac_objext conftest
$ac_exeext
43010 if { (ac_try
="$ac_link"
43011 case "(($ac_try" in
43012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43013 *) ac_try_echo=$ac_try;;
43015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43016 (eval "$ac_link") 2>conftest.er1
43018 grep -v '^ *+' conftest.er1 >conftest.err
43020 cat conftest.err >&5
43021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43022 (exit $ac_status); } && {
43023 test -z "$ac_c_werror_flag" ||
43024 test ! -s conftest.err
43025 } && test -s conftest$ac_exeext &&
43026 $as_test_x conftest$ac_exeext; then
43027 ac_cv_func_sched_get_priority_max=yes
43029 echo "$as_me: failed program was:" >&5
43030 sed 's/^/| /' conftest.$ac_ext >&5
43032 ac_cv_func_sched_get_priority_max=no
43035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43036 conftest$ac_exeext conftest.$ac_ext
43038 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43039 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43040 if test $ac_cv_func_sched_get_priority_max = yes; then
43043 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43044 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43045 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43046 echo $ECHO_N "(cached) $ECHO_C" >&6
43048 ac_check_lib_save_LIBS=$LIBS
43049 LIBS="-lposix4 $LIBS"
43050 cat >conftest.$ac_ext <<_ACEOF
43053 cat confdefs.h >>conftest.$ac_ext
43054 cat >>conftest.$ac_ext <<_ACEOF
43055 /* end confdefs.h. */
43057 /* Override any GCC internal prototype to avoid an error.
43058 Use char because int might match the return type of a GCC
43059 builtin and then its argument prototype would still apply. */
43063 char sched_get_priority_max ();
43067 return sched_get_priority_max ();
43072 rm -f conftest.$ac_objext conftest$ac_exeext
43073 if { (ac_try="$ac_link"
43074 case "(($ac_try" in
43075 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43076 *) ac_try_echo
=$ac_try;;
43078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43079 (eval "$ac_link") 2>conftest.er1
43081 grep -v '^ *+' conftest.er1
>conftest.err
43083 cat conftest.err
>&5
43084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43085 (exit $ac_status); } && {
43086 test -z "$ac_c_werror_flag" ||
43087 test ! -s conftest.err
43088 } && test -s conftest
$ac_exeext &&
43089 $as_test_x conftest
$ac_exeext; then
43090 ac_cv_lib_posix4_sched_get_priority_max
=yes
43092 echo "$as_me: failed program was:" >&5
43093 sed 's/^/| /' conftest.
$ac_ext >&5
43095 ac_cv_lib_posix4_sched_get_priority_max
=no
43098 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43099 conftest
$ac_exeext conftest.
$ac_ext
43100 LIBS
=$ac_check_lib_save_LIBS
43102 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43103 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43104 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43107 POSIX4_LINK
=" -lposix4"
43121 if test "$HAVE_PRIOR_FUNCS" = 1; then
43122 cat >>confdefs.h
<<\_ACEOF
43123 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43127 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43128 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43131 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43132 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43133 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43134 echo $ECHO_N "(cached) $ECHO_C" >&6
43136 cat >conftest.
$ac_ext <<_ACEOF
43139 cat confdefs.h
>>conftest.
$ac_ext
43140 cat >>conftest.
$ac_ext <<_ACEOF
43141 /* end confdefs.h. */
43142 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43144 #define pthread_cancel innocuous_pthread_cancel
43146 /* System header to define __stub macros and hopefully few prototypes,
43147 which can conflict with char pthread_cancel (); below.
43148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43149 <limits.h> exists even on freestanding compilers. */
43152 # include <limits.h>
43154 # include <assert.h>
43157 #undef pthread_cancel
43159 /* Override any GCC internal prototype to avoid an error.
43160 Use char because int might match the return type of a GCC
43161 builtin and then its argument prototype would still apply. */
43165 char pthread_cancel ();
43166 /* The GNU C library defines this for functions which it implements
43167 to always fail with ENOSYS. Some functions are actually named
43168 something starting with __ and the normal name is an alias. */
43169 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43176 return pthread_cancel ();
43181 rm -f conftest.
$ac_objext conftest
$ac_exeext
43182 if { (ac_try
="$ac_link"
43183 case "(($ac_try" in
43184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43185 *) ac_try_echo=$ac_try;;
43187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43188 (eval "$ac_link") 2>conftest.er1
43190 grep -v '^ *+' conftest.er1 >conftest.err
43192 cat conftest.err >&5
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); } && {
43195 test -z "$ac_c_werror_flag" ||
43196 test ! -s conftest.err
43197 } && test -s conftest$ac_exeext &&
43198 $as_test_x conftest$ac_exeext; then
43199 ac_cv_func_pthread_cancel=yes
43201 echo "$as_me: failed program was:" >&5
43202 sed 's/^/| /' conftest.$ac_ext >&5
43204 ac_cv_func_pthread_cancel=no
43207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43208 conftest$ac_exeext conftest.$ac_ext
43210 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43211 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43212 if test $ac_cv_func_pthread_cancel = yes; then
43213 cat >>confdefs.h <<\_ACEOF
43214 #define HAVE_PTHREAD_CANCEL 1
43218 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43219 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43223 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43224 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43225 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43226 echo $ECHO_N "(cached) $ECHO_C" >&6
43228 cat >conftest.$ac_ext <<_ACEOF
43231 cat confdefs.h >>conftest.$ac_ext
43232 cat >>conftest.$ac_ext <<_ACEOF
43233 /* end confdefs.h. */
43234 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43236 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43238 /* System header to define __stub macros and hopefully few prototypes,
43239 which can conflict with char pthread_mutex_timedlock (); below.
43240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43241 <limits.h> exists even on freestanding compilers. */
43244 # include <limits.h>
43246 # include <assert.h>
43249 #undef pthread_mutex_timedlock
43251 /* Override any GCC internal prototype to avoid an error.
43252 Use char because int might match the return type of a GCC
43253 builtin and then its argument prototype would still apply. */
43257 char pthread_mutex_timedlock ();
43258 /* The GNU C library defines this for functions which it implements
43259 to always fail with ENOSYS. Some functions are actually named
43260 something starting with __ and the normal name is an alias. */
43261 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43268 return pthread_mutex_timedlock ();
43273 rm -f conftest.$ac_objext conftest$ac_exeext
43274 if { (ac_try="$ac_link"
43275 case "(($ac_try" in
43276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43277 *) ac_try_echo
=$ac_try;;
43279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43280 (eval "$ac_link") 2>conftest.er1
43282 grep -v '^ *+' conftest.er1
>conftest.err
43284 cat conftest.err
>&5
43285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43286 (exit $ac_status); } && {
43287 test -z "$ac_c_werror_flag" ||
43288 test ! -s conftest.err
43289 } && test -s conftest
$ac_exeext &&
43290 $as_test_x conftest
$ac_exeext; then
43291 ac_cv_func_pthread_mutex_timedlock
=yes
43293 echo "$as_me: failed program was:" >&5
43294 sed 's/^/| /' conftest.
$ac_ext >&5
43296 ac_cv_func_pthread_mutex_timedlock
=no
43299 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43300 conftest
$ac_exeext conftest.
$ac_ext
43302 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43303 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43304 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43305 cat >>confdefs.h
<<\_ACEOF
43306 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43310 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43311 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43315 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43316 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43317 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43318 echo $ECHO_N "(cached) $ECHO_C" >&6
43320 cat >conftest.
$ac_ext <<_ACEOF
43323 cat confdefs.h
>>conftest.
$ac_ext
43324 cat >>conftest.
$ac_ext <<_ACEOF
43325 /* end confdefs.h. */
43326 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43328 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43330 /* System header to define __stub macros and hopefully few prototypes,
43331 which can conflict with char pthread_attr_setstacksize (); below.
43332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43333 <limits.h> exists even on freestanding compilers. */
43336 # include <limits.h>
43338 # include <assert.h>
43341 #undef pthread_attr_setstacksize
43343 /* Override any GCC internal prototype to avoid an error.
43344 Use char because int might match the return type of a GCC
43345 builtin and then its argument prototype would still apply. */
43349 char pthread_attr_setstacksize ();
43350 /* The GNU C library defines this for functions which it implements
43351 to always fail with ENOSYS. Some functions are actually named
43352 something starting with __ and the normal name is an alias. */
43353 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43360 return pthread_attr_setstacksize ();
43365 rm -f conftest.
$ac_objext conftest
$ac_exeext
43366 if { (ac_try
="$ac_link"
43367 case "(($ac_try" in
43368 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43369 *) ac_try_echo=$ac_try;;
43371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43372 (eval "$ac_link") 2>conftest.er1
43374 grep -v '^ *+' conftest.er1 >conftest.err
43376 cat conftest.err >&5
43377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378 (exit $ac_status); } && {
43379 test -z "$ac_c_werror_flag" ||
43380 test ! -s conftest.err
43381 } && test -s conftest$ac_exeext &&
43382 $as_test_x conftest$ac_exeext; then
43383 ac_cv_func_pthread_attr_setstacksize=yes
43385 echo "$as_me: failed program was:" >&5
43386 sed 's/^/| /' conftest.$ac_ext >&5
43388 ac_cv_func_pthread_attr_setstacksize=no
43391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43392 conftest$ac_exeext conftest.$ac_ext
43394 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
43395 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
43396 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
43397 cat >>confdefs.h <<\_ACEOF
43398 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
43405 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
43406 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
43407 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
43408 echo $ECHO_N "(cached) $ECHO_C" >&6
43411 cat >conftest.$ac_ext <<_ACEOF
43414 cat confdefs.h >>conftest.$ac_ext
43415 cat >>conftest.$ac_ext <<_ACEOF
43416 /* end confdefs.h. */
43417 #include <pthread.h>
43422 pthread_mutexattr_t attr;
43423 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43429 rm -f conftest.$ac_objext
43430 if { (ac_try="$ac_compile"
43431 case "(($ac_try" in
43432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43433 *) ac_try_echo
=$ac_try;;
43435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43436 (eval "$ac_compile") 2>conftest.er1
43438 grep -v '^ *+' conftest.er1
>conftest.err
43440 cat conftest.err
>&5
43441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43442 (exit $ac_status); } && {
43443 test -z "$ac_c_werror_flag" ||
43444 test ! -s conftest.err
43445 } && test -s conftest.
$ac_objext; then
43446 wx_cv_type_pthread_mutexattr_t
=yes
43448 echo "$as_me: failed program was:" >&5
43449 sed 's/^/| /' conftest.
$ac_ext >&5
43451 wx_cv_type_pthread_mutexattr_t
=no
43455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43458 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
43459 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
43461 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
43462 cat >>confdefs.h
<<\_ACEOF
43463 #define HAVE_PTHREAD_MUTEXATTR_T 1
43467 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
43468 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
43469 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
43470 echo $ECHO_N "(cached) $ECHO_C" >&6
43473 cat >conftest.
$ac_ext <<_ACEOF
43476 cat confdefs.h
>>conftest.
$ac_ext
43477 cat >>conftest.
$ac_ext <<_ACEOF
43478 /* end confdefs.h. */
43479 #include <pthread.h>
43484 pthread_mutexattr_t attr;
43485 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43491 rm -f conftest.
$ac_objext
43492 if { (ac_try
="$ac_compile"
43493 case "(($ac_try" in
43494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43495 *) ac_try_echo=$ac_try;;
43497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43498 (eval "$ac_compile") 2>conftest.er1
43500 grep -v '^ *+' conftest.er1 >conftest.err
43502 cat conftest.err >&5
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); } && {
43505 test -z "$ac_c_werror_flag" ||
43506 test ! -s conftest.err
43507 } && test -s conftest.$ac_objext; then
43508 wx_cv_func_pthread_mutexattr_settype_decl=yes
43510 echo "$as_me: failed program was:" >&5
43511 sed 's/^/| /' conftest.$ac_ext >&5
43513 wx_cv_func_pthread_mutexattr_settype_decl=no
43517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43520 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
43521 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
43522 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
43523 cat >>confdefs.h <<\_ACEOF
43524 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
43529 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
43530 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
43531 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
43532 echo $ECHO_N "(cached) $ECHO_C" >&6
43535 cat >conftest.$ac_ext <<_ACEOF
43538 cat confdefs.h >>conftest.$ac_ext
43539 cat >>conftest.$ac_ext <<_ACEOF
43540 /* end confdefs.h. */
43541 #include <pthread.h>
43546 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
43552 rm -f conftest.$ac_objext
43553 if { (ac_try="$ac_compile"
43554 case "(($ac_try" in
43555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43556 *) ac_try_echo
=$ac_try;;
43558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43559 (eval "$ac_compile") 2>conftest.er1
43561 grep -v '^ *+' conftest.er1
>conftest.err
43563 cat conftest.err
>&5
43564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43565 (exit $ac_status); } && {
43566 test -z "$ac_c_werror_flag" ||
43567 test ! -s conftest.err
43568 } && test -s conftest.
$ac_objext; then
43570 wx_cv_type_pthread_rec_mutex_init
=yes
43573 echo "$as_me: failed program was:" >&5
43574 sed 's/^/| /' conftest.
$ac_ext >&5
43577 wx_cv_type_pthread_rec_mutex_init
=no
43582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43585 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
43586 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
43587 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
43588 cat >>confdefs.h
<<\_ACEOF
43589 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
43593 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
43594 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
43600 if test "$wxUSE_THREADS" = "yes" ; then
43603 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
43604 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
43605 if test "${wx_cv_cflags_mthread+set}" = set; then
43606 echo $ECHO_N "(cached) $ECHO_C" >&6
43609 CFLAGS_OLD
="$CFLAGS"
43610 CFLAGS
="-mthreads $CFLAGS"
43611 cat >conftest.
$ac_ext <<_ACEOF
43614 cat confdefs.h
>>conftest.
$ac_ext
43615 cat >>conftest.
$ac_ext <<_ACEOF
43616 /* end confdefs.h. */
43626 rm -f conftest.
$ac_objext
43627 if { (ac_try
="$ac_compile"
43628 case "(($ac_try" in
43629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43630 *) ac_try_echo=$ac_try;;
43632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43633 (eval "$ac_compile") 2>conftest.er1
43635 grep -v '^ *+' conftest.er1 >conftest.err
43637 cat conftest.err >&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); } && {
43640 test -z "$ac_c_werror_flag" ||
43641 test ! -s conftest.err
43642 } && test -s conftest.$ac_objext; then
43643 wx_cv_cflags_mthread=yes
43645 echo "$as_me: failed program was:" >&5
43646 sed 's/^/| /' conftest.$ac_ext >&5
43648 wx_cv_cflags_mthread=no
43652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43656 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
43657 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
43659 if test "$wx_cv_cflags_mthread" = "yes"; then
43660 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
43661 LDFLAGS="$LDFLAGS -mthreads"
43663 CFLAGS="$CFLAGS_OLD"
43667 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
43668 LDFLAGS="$LDFLAGS -Zmt"
43674 { echo "$as_me:$LINENO: checking for localtime_r" >&5
43675 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
43676 if test "${ac_cv_func_localtime_r+set}" = set; then
43677 echo $ECHO_N "(cached) $ECHO_C" >&6
43679 cat >conftest.$ac_ext <<_ACEOF
43682 cat confdefs.h >>conftest.$ac_ext
43683 cat >>conftest.$ac_ext <<_ACEOF
43684 /* end confdefs.h. */
43685 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
43686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43687 #define localtime_r innocuous_localtime_r
43689 /* System header to define __stub macros and hopefully few prototypes,
43690 which can conflict with char localtime_r (); below.
43691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43692 <limits.h> exists even on freestanding compilers. */
43695 # include <limits.h>
43697 # include <assert.h>
43702 /* Override any GCC internal prototype to avoid an error.
43703 Use char because int might match the return type of a GCC
43704 builtin and then its argument prototype would still apply. */
43708 char localtime_r ();
43709 /* The GNU C library defines this for functions which it implements
43710 to always fail with ENOSYS. Some functions are actually named
43711 something starting with __ and the normal name is an alias. */
43712 #if defined __stub_localtime_r || defined __stub___localtime_r
43719 return localtime_r ();
43724 rm -f conftest.$ac_objext conftest$ac_exeext
43725 if { (ac_try="$ac_link"
43726 case "(($ac_try" in
43727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43728 *) ac_try_echo
=$ac_try;;
43730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43731 (eval "$ac_link") 2>conftest.er1
43733 grep -v '^ *+' conftest.er1
>conftest.err
43735 cat conftest.err
>&5
43736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43737 (exit $ac_status); } && {
43738 test -z "$ac_c_werror_flag" ||
43739 test ! -s conftest.err
43740 } && test -s conftest
$ac_exeext &&
43741 $as_test_x conftest
$ac_exeext; then
43742 ac_cv_func_localtime_r
=yes
43744 echo "$as_me: failed program was:" >&5
43745 sed 's/^/| /' conftest.
$ac_ext >&5
43747 ac_cv_func_localtime_r
=no
43750 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43751 conftest
$ac_exeext conftest.
$ac_ext
43753 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43754 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43755 if test $ac_cv_func_localtime_r = yes; then
43756 cat >>confdefs.h
<<\_ACEOF
43757 #define HAVE_LOCALTIME_R 1
43762 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43763 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43764 if test "${ac_cv_func_gmtime_r+set}" = set; then
43765 echo $ECHO_N "(cached) $ECHO_C" >&6
43767 cat >conftest.
$ac_ext <<_ACEOF
43770 cat confdefs.h
>>conftest.
$ac_ext
43771 cat >>conftest.
$ac_ext <<_ACEOF
43772 /* end confdefs.h. */
43773 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43775 #define gmtime_r innocuous_gmtime_r
43777 /* System header to define __stub macros and hopefully few prototypes,
43778 which can conflict with char gmtime_r (); below.
43779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43780 <limits.h> exists even on freestanding compilers. */
43783 # include <limits.h>
43785 # include <assert.h>
43790 /* Override any GCC internal prototype to avoid an error.
43791 Use char because int might match the return type of a GCC
43792 builtin and then its argument prototype would still apply. */
43797 /* The GNU C library defines this for functions which it implements
43798 to always fail with ENOSYS. Some functions are actually named
43799 something starting with __ and the normal name is an alias. */
43800 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43807 return gmtime_r ();
43812 rm -f conftest.
$ac_objext conftest
$ac_exeext
43813 if { (ac_try
="$ac_link"
43814 case "(($ac_try" in
43815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43816 *) ac_try_echo=$ac_try;;
43818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43819 (eval "$ac_link") 2>conftest.er1
43821 grep -v '^ *+' conftest.er1 >conftest.err
43823 cat conftest.err >&5
43824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43825 (exit $ac_status); } && {
43826 test -z "$ac_c_werror_flag" ||
43827 test ! -s conftest.err
43828 } && test -s conftest$ac_exeext &&
43829 $as_test_x conftest$ac_exeext; then
43830 ac_cv_func_gmtime_r=yes
43832 echo "$as_me: failed program was:" >&5
43833 sed 's/^/| /' conftest.$ac_ext >&5
43835 ac_cv_func_gmtime_r=no
43838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43839 conftest$ac_exeext conftest.$ac_ext
43841 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43842 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43843 if test $ac_cv_func_gmtime_r = yes; then
43844 cat >>confdefs.h <<\_ACEOF
43845 #define HAVE_GMTIME_R 1
43850 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43851 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43852 if test "${ac_cv_func_readdir_r+set}" = set; then
43853 echo $ECHO_N "(cached) $ECHO_C" >&6
43855 cat >conftest.$ac_ext <<_ACEOF
43858 cat confdefs.h >>conftest.$ac_ext
43859 cat >>conftest.$ac_ext <<_ACEOF
43860 /* end confdefs.h. */
43861 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43863 #define readdir_r innocuous_readdir_r
43865 /* System header to define __stub macros and hopefully few prototypes,
43866 which can conflict with char readdir_r (); below.
43867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43868 <limits.h> exists even on freestanding compilers. */
43871 # include <limits.h>
43873 # include <assert.h>
43878 /* Override any GCC internal prototype to avoid an error.
43879 Use char because int might match the return type of a GCC
43880 builtin and then its argument prototype would still apply. */
43885 /* The GNU C library defines this for functions which it implements
43886 to always fail with ENOSYS. Some functions are actually named
43887 something starting with __ and the normal name is an alias. */
43888 #if defined __stub_readdir_r || defined __stub___readdir_r
43895 return readdir_r ();
43900 rm -f conftest.$ac_objext conftest$ac_exeext
43901 if { (ac_try="$ac_link"
43902 case "(($ac_try" in
43903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43904 *) ac_try_echo
=$ac_try;;
43906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43907 (eval "$ac_link") 2>conftest.er1
43909 grep -v '^ *+' conftest.er1
>conftest.err
43911 cat conftest.err
>&5
43912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43913 (exit $ac_status); } && {
43914 test -z "$ac_c_werror_flag" ||
43915 test ! -s conftest.err
43916 } && test -s conftest
$ac_exeext &&
43917 $as_test_x conftest
$ac_exeext; then
43918 ac_cv_func_readdir_r
=yes
43920 echo "$as_me: failed program was:" >&5
43921 sed 's/^/| /' conftest.
$ac_ext >&5
43923 ac_cv_func_readdir_r
=no
43926 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43927 conftest
$ac_exeext conftest.
$ac_ext
43929 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43930 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43931 if test $ac_cv_func_readdir_r = yes; then
43932 cat >>confdefs.h
<<\_ACEOF
43933 #define HAVE_READDIR_R 1
43942 ac_cpp
='$CPP $CPPFLAGS'
43943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43947 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43948 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43950 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43951 echo $ECHO_N "(cached) $ECHO_C" >&6
43955 ################################################################
43957 ac_cv_func_which_gethostbyname_r
=unknown
43960 # ONE ARGUMENT (sanity check)
43963 # This should fail, as there is no variant of gethostbyname_r() that takes
43964 # a single argument. If it actually compiles, then we can assume that
43965 # netdb.h is not declaring the function, and the compiler is thereby
43966 # assuming an implicit prototype. In which case, we're out of luck.
43968 cat >conftest.
$ac_ext <<_ACEOF
43971 cat confdefs.h
>>conftest.
$ac_ext
43972 cat >>conftest.
$ac_ext <<_ACEOF
43973 /* end confdefs.h. */
43979 char *name = "www.gnu.org";
43980 (void)gethostbyname_r(name) /* ; */
43986 rm -f conftest.
$ac_objext
43987 if { (ac_try
="$ac_compile"
43988 case "(($ac_try" in
43989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43990 *) ac_try_echo=$ac_try;;
43992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43993 (eval "$ac_compile") 2>conftest.er1
43995 grep -v '^ *+' conftest.er1 >conftest.err
43997 cat conftest.err >&5
43998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43999 (exit $ac_status); } && {
44000 test -z "$ac_c_werror_flag" ||
44001 test ! -s conftest.err
44002 } && test -s conftest.$ac_objext; then
44003 ac_cv_func_which_gethostbyname_r=no
44005 echo "$as_me: failed program was:" >&5
44006 sed 's/^/| /' conftest.$ac_ext >&5
44011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44018 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44020 cat >conftest.$ac_ext <<_ACEOF
44023 cat confdefs.h >>conftest.$ac_ext
44024 cat >>conftest.$ac_ext <<_ACEOF
44025 /* end confdefs.h. */
44031 char *name = "www.gnu.org";
44032 struct hostent ret, *retp;
44036 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44042 rm -f conftest.$ac_objext
44043 if { (ac_try="$ac_compile"
44044 case "(($ac_try" in
44045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44046 *) ac_try_echo
=$ac_try;;
44048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44049 (eval "$ac_compile") 2>conftest.er1
44051 grep -v '^ *+' conftest.er1
>conftest.err
44053 cat conftest.err
>&5
44054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44055 (exit $ac_status); } && {
44056 test -z "$ac_c_werror_flag" ||
44057 test ! -s conftest.err
44058 } && test -s conftest.
$ac_objext; then
44059 ac_cv_func_which_gethostbyname_r
=six
44061 echo "$as_me: failed program was:" >&5
44062 sed 's/^/| /' conftest.
$ac_ext >&5
44067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44076 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44078 cat >conftest.
$ac_ext <<_ACEOF
44081 cat confdefs.h
>>conftest.
$ac_ext
44082 cat >>conftest.
$ac_ext <<_ACEOF
44083 /* end confdefs.h. */
44089 char *name = "www.gnu.org";
44090 struct hostent ret;
44094 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44100 rm -f conftest.
$ac_objext
44101 if { (ac_try
="$ac_compile"
44102 case "(($ac_try" in
44103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44104 *) ac_try_echo=$ac_try;;
44106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44107 (eval "$ac_compile") 2>conftest.er1
44109 grep -v '^ *+' conftest.er1 >conftest.err
44111 cat conftest.err >&5
44112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44113 (exit $ac_status); } && {
44114 test -z "$ac_c_werror_flag" ||
44115 test ! -s conftest.err
44116 } && test -s conftest.$ac_objext; then
44117 ac_cv_func_which_gethostbyname_r=five
44119 echo "$as_me: failed program was:" >&5
44120 sed 's/^/| /' conftest.$ac_ext >&5
44125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44131 # (e.g. AIX, HP-UX, Tru64)
44134 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44136 cat >conftest.$ac_ext <<_ACEOF
44139 cat confdefs.h >>conftest.$ac_ext
44140 cat >>conftest.$ac_ext <<_ACEOF
44141 /* end confdefs.h. */
44147 char *name = "www.gnu.org";
44148 struct hostent ret;
44149 struct hostent_data data;
44150 (void)gethostbyname_r(name, &ret, &data) /* ; */
44156 rm -f conftest.$ac_objext
44157 if { (ac_try="$ac_compile"
44158 case "(($ac_try" in
44159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44160 *) ac_try_echo
=$ac_try;;
44162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44163 (eval "$ac_compile") 2>conftest.er1
44165 grep -v '^ *+' conftest.er1
>conftest.err
44167 cat conftest.err
>&5
44168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44169 (exit $ac_status); } && {
44170 test -z "$ac_c_werror_flag" ||
44171 test ! -s conftest.err
44172 } && test -s conftest.
$ac_objext; then
44173 ac_cv_func_which_gethostbyname_r
=three
44175 echo "$as_me: failed program was:" >&5
44176 sed 's/^/| /' conftest.
$ac_ext >&5
44181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44185 ################################################################
44190 case "$ac_cv_func_which_gethostbyname_r" in
44192 { echo "$as_me:$LINENO: result: three" >&5
44193 echo "${ECHO_T}three" >&6; }
44194 cat >>confdefs.h
<<\_ACEOF
44195 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44201 { echo "$as_me:$LINENO: result: five" >&5
44202 echo "${ECHO_T}five" >&6; }
44203 cat >>confdefs.h
<<\_ACEOF
44204 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44210 { echo "$as_me:$LINENO: result: six" >&5
44211 echo "${ECHO_T}six" >&6; }
44212 cat >>confdefs.h
<<\_ACEOF
44213 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44219 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44220 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44224 { echo "$as_me:$LINENO: result: can't tell" >&5
44225 echo "${ECHO_T}can't tell" >&6; }
44229 { { echo "$as_me:$LINENO: error: internal error" >&5
44230 echo "$as_me: error: internal error" >&2;}
44231 { (exit 1); exit 1; }; }
44236 ac_cpp
='$CPP $CPPFLAGS'
44237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44243 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
44244 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
44245 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
44246 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
44247 if test "${ac_cv_func_gethostbyname+set}" = set; then
44248 echo $ECHO_N "(cached) $ECHO_C" >&6
44250 cat >conftest.
$ac_ext <<_ACEOF
44253 cat confdefs.h
>>conftest.
$ac_ext
44254 cat >>conftest.
$ac_ext <<_ACEOF
44255 /* end confdefs.h. */
44256 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
44257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44258 #define gethostbyname innocuous_gethostbyname
44260 /* System header to define __stub macros and hopefully few prototypes,
44261 which can conflict with char gethostbyname (); below.
44262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44263 <limits.h> exists even on freestanding compilers. */
44266 # include <limits.h>
44268 # include <assert.h>
44271 #undef gethostbyname
44273 /* Override any GCC internal prototype to avoid an error.
44274 Use char because int might match the return type of a GCC
44275 builtin and then its argument prototype would still apply. */
44279 char gethostbyname ();
44280 /* The GNU C library defines this for functions which it implements
44281 to always fail with ENOSYS. Some functions are actually named
44282 something starting with __ and the normal name is an alias. */
44283 #if defined __stub_gethostbyname || defined __stub___gethostbyname
44290 return gethostbyname ();
44295 rm -f conftest.
$ac_objext conftest
$ac_exeext
44296 if { (ac_try
="$ac_link"
44297 case "(($ac_try" in
44298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44299 *) ac_try_echo=$ac_try;;
44301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44302 (eval "$ac_link") 2>conftest.er1
44304 grep -v '^ *+' conftest.er1 >conftest.err
44306 cat conftest.err >&5
44307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308 (exit $ac_status); } && {
44309 test -z "$ac_c_werror_flag" ||
44310 test ! -s conftest.err
44311 } && test -s conftest$ac_exeext &&
44312 $as_test_x conftest$ac_exeext; then
44313 ac_cv_func_gethostbyname=yes
44315 echo "$as_me: failed program was:" >&5
44316 sed 's/^/| /' conftest.$ac_ext >&5
44318 ac_cv_func_gethostbyname=no
44321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44322 conftest$ac_exeext conftest.$ac_ext
44324 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
44325 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
44326 if test $ac_cv_func_gethostbyname = yes; then
44327 cat >>confdefs.h <<\_ACEOF
44328 #define HAVE_GETHOSTBYNAME 1
44335 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
44336 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
44337 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
44338 echo $ECHO_N "(cached) $ECHO_C" >&6
44342 ac_cpp='$CXXCPP $CPPFLAGS'
44343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44348 cat >conftest.$ac_ext <<_ACEOF
44351 cat confdefs.h >>conftest.$ac_ext
44352 cat >>conftest.$ac_ext <<_ACEOF
44353 /* end confdefs.h. */
44361 struct servent *se, *res;
44364 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
44370 rm -f conftest.$ac_objext
44371 if { (ac_try="$ac_compile"
44372 case "(($ac_try" in
44373 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44374 *) ac_try_echo
=$ac_try;;
44376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44377 (eval "$ac_compile") 2>conftest.er1
44379 grep -v '^ *+' conftest.er1
>conftest.err
44381 cat conftest.err
>&5
44382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44383 (exit $ac_status); } && {
44384 test -z "$ac_cxx_werror_flag" ||
44385 test ! -s conftest.err
44386 } && test -s conftest.
$ac_objext; then
44387 ac_cv_func_which_getservbyname_r
=six
44389 echo "$as_me: failed program was:" >&5
44390 sed 's/^/| /' conftest.
$ac_ext >&5
44393 cat >conftest.
$ac_ext <<_ACEOF
44396 cat confdefs.h
>>conftest.
$ac_ext
44397 cat >>conftest.
$ac_ext <<_ACEOF
44398 /* end confdefs.h. */
44406 struct servent *se;
44409 (void) getservbyname_r(name, proto, se, buffer, buflen)
44415 rm -f conftest.
$ac_objext
44416 if { (ac_try
="$ac_compile"
44417 case "(($ac_try" in
44418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44419 *) ac_try_echo=$ac_try;;
44421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44422 (eval "$ac_compile") 2>conftest.er1
44424 grep -v '^ *+' conftest.er1 >conftest.err
44426 cat conftest.err >&5
44427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428 (exit $ac_status); } && {
44429 test -z "$ac_cxx_werror_flag" ||
44430 test ! -s conftest.err
44431 } && test -s conftest.$ac_objext; then
44432 ac_cv_func_which_getservbyname_r=five
44434 echo "$as_me: failed program was:" >&5
44435 sed 's/^/| /' conftest.$ac_ext >&5
44438 cat >conftest.$ac_ext <<_ACEOF
44441 cat confdefs.h >>conftest.$ac_ext
44442 cat >>conftest.$ac_ext <<_ACEOF
44443 /* end confdefs.h. */
44451 struct servent *se;
44452 struct servent_data data;
44453 (void) getservbyname_r(name, proto, se, &data);
44459 rm -f conftest.$ac_objext
44460 if { (ac_try="$ac_compile"
44461 case "(($ac_try" in
44462 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44463 *) ac_try_echo
=$ac_try;;
44465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44466 (eval "$ac_compile") 2>conftest.er1
44468 grep -v '^ *+' conftest.er1
>conftest.err
44470 cat conftest.err
>&5
44471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472 (exit $ac_status); } && {
44473 test -z "$ac_cxx_werror_flag" ||
44474 test ! -s conftest.err
44475 } && test -s conftest.
$ac_objext; then
44476 ac_cv_func_which_getservbyname_r
=four
44478 echo "$as_me: failed program was:" >&5
44479 sed 's/^/| /' conftest.
$ac_ext >&5
44481 ac_cv_func_which_getservbyname_r
=no
44485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44497 ac_cpp
='$CPP $CPPFLAGS'
44498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44505 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
44506 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
44508 if test $ac_cv_func_which_getservbyname_r = six
; then
44509 cat >>confdefs.h
<<\_ACEOF
44510 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
44513 elif test $ac_cv_func_which_getservbyname_r = five
; then
44514 cat >>confdefs.h
<<\_ACEOF
44515 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
44518 elif test $ac_cv_func_which_getservbyname_r = four
; then
44519 cat >>confdefs.h
<<\_ACEOF
44520 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
44526 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
44527 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
44529 for ac_func
in getservbyname
44531 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44532 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44534 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44535 echo $ECHO_N "(cached) $ECHO_C" >&6
44537 cat >conftest.
$ac_ext <<_ACEOF
44540 cat confdefs.h
>>conftest.
$ac_ext
44541 cat >>conftest.
$ac_ext <<_ACEOF
44542 /* end confdefs.h. */
44543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44545 #define $ac_func innocuous_$ac_func
44547 /* System header to define __stub macros and hopefully few prototypes,
44548 which can conflict with char $ac_func (); below.
44549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44550 <limits.h> exists even on freestanding compilers. */
44553 # include <limits.h>
44555 # include <assert.h>
44560 /* Override any GCC internal prototype to avoid an error.
44561 Use char because int might match the return type of a GCC
44562 builtin and then its argument prototype would still apply. */
44567 /* The GNU C library defines this for functions which it implements
44568 to always fail with ENOSYS. Some functions are actually named
44569 something starting with __ and the normal name is an alias. */
44570 #if defined __stub_$ac_func || defined __stub___$ac_func
44577 return $ac_func ();
44582 rm -f conftest.
$ac_objext conftest
$ac_exeext
44583 if { (ac_try
="$ac_link"
44584 case "(($ac_try" in
44585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44586 *) ac_try_echo=$ac_try;;
44588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44589 (eval "$ac_link") 2>conftest.er1
44591 grep -v '^ *+' conftest.er1 >conftest.err
44593 cat conftest.err >&5
44594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44595 (exit $ac_status); } && {
44596 test -z "$ac_c_werror_flag" ||
44597 test ! -s conftest.err
44598 } && test -s conftest$ac_exeext &&
44599 $as_test_x conftest$ac_exeext; then
44600 eval "$as_ac_var=yes"
44602 echo "$as_me: failed program was:" >&5
44603 sed 's/^/| /' conftest.$ac_ext >&5
44605 eval "$as_ac_var=no"
44608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44609 conftest$ac_exeext conftest.$ac_ext
44611 ac_res=`eval echo '${'$as_ac_var'}'`
44612 { echo "$as_me:$LINENO: result: $ac_res" >&5
44613 echo "${ECHO_T}$ac_res" >&6; }
44614 if test `eval echo '${'$as_ac_var'}'` = yes; then
44615 cat >>confdefs.h <<_ACEOF
44616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44618 cat >>confdefs.h <<\_ACEOF
44619 #define HAVE_GETSERVBYNAME 1
44627 if test "$wxUSE_THREADS" = "yes"; then
44628 cat >>confdefs.h <<\_ACEOF
44629 #define wxUSE_THREADS 1
44633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
44635 if test "$wx_cv_func_strtok_r" = "yes"; then
44636 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
44637 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
44638 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
44639 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
44640 { echo "$as_me:$LINENO: result: yes" >&5
44641 echo "${ECHO_T}yes" >&6; }
44643 { echo "$as_me:$LINENO: result: no" >&5
44644 echo "${ECHO_T}no" >&6; }
44649 if test "$WXGTK20" = 1 ; then
44650 cat >>confdefs.h <<_ACEOF
44651 #define __WXGTK20__ $WXGTK20
44657 if test "$WXGTK12" = 1 ; then
44658 cat >>confdefs.h <<_ACEOF
44659 #define __WXGTK12__ $WXGTK12
44664 if test "$WXGTK127" = 1 ; then
44665 cat >>confdefs.h <<_ACEOF
44666 #define __WXGTK127__ $WXGTK127
44671 if test "$WXGPE" = 1 ; then
44672 cat >>confdefs.h <<_ACEOF
44673 #define __WXGPE__ $WXGPE
44679 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
44684 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
44685 wxUSE_DEBUG_INFO=yes
44686 if test "$GCC" = yes; then
44687 DEBUG_CFLAGS="-ggdb"
44691 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
44692 cat >>confdefs.h <<\_ACEOF
44696 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
44698 if test "$wxUSE_GTK" = 1 ; then
44699 if test "x$wxGTK_VERSION" = "x1" ; then
44700 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
44705 if test "$wxUSE_MEM_TRACING" = "yes" ; then
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_MEMORY_TRACING 1
44710 cat >>confdefs.h <<\_ACEOF
44711 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
44714 cat >>confdefs.h <<\_ACEOF
44715 #define wxUSE_DEBUG_NEW_ALWAYS 1
44718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44721 if test "$wxUSE_DMALLOC" = "yes" ; then
44722 DMALLOC_LIBS="-ldmallocthcxx"
44726 if test "$wxUSE_PROFILE" = "yes" ; then
44727 PROFILE_FLAGS=" -pg"
44730 if test "$GCC" = "yes" ; then
44731 if test "$wxUSE_NO_RTTI" = "yes" ; then
44732 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44734 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44735 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44737 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44738 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44743 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44746 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44752 if test "$wxUSE_OPTIMISE" = "no" ; then
44753 if test "$GCC" = yes ; then
44754 OPTIMISE_CFLAGS="-O0"
44757 if test "$GCC" = yes ; then
44759 *-pc-os2_emx | *-pc-os2-emx )
44760 OPTIMISE_CFLAGS="-O2"
44763 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44767 OPTIMISE_CFLAGS="-O"
44772 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44773 cat >>confdefs.h <<\_ACEOF
44774 #define WXWIN_COMPATIBILITY_2_6 1
44778 WXWIN_COMPATIBILITY_2_8="yes"
44781 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44782 cat >>confdefs.h <<\_ACEOF
44783 #define WXWIN_COMPATIBILITY_2_8 1
44789 if test "$wxUSE_GUI" = "yes"; then
44790 cat >>confdefs.h <<\_ACEOF
44791 #define wxUSE_GUI 1
44798 if test "$wxUSE_UNIX" = "yes"; then
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_UNIX 1
44806 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44810 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44811 if test "$USE_DARWIN" = 1; then
44813 elif test "$USE_DOS" = 1; then
44817 for ac_func in dlopen
44819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44820 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44822 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44823 echo $ECHO_N "(cached) $ECHO_C" >&6
44825 cat >conftest.$ac_ext <<_ACEOF
44828 cat confdefs.h >>conftest.$ac_ext
44829 cat >>conftest.$ac_ext <<_ACEOF
44830 /* end confdefs.h. */
44831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44833 #define $ac_func innocuous_$ac_func
44835 /* System header to define __stub macros and hopefully few prototypes,
44836 which can conflict with char $ac_func (); below.
44837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44838 <limits.h> exists even on freestanding compilers. */
44841 # include <limits.h>
44843 # include <assert.h>
44848 /* Override any GCC internal prototype to avoid an error.
44849 Use char because int might match the return type of a GCC
44850 builtin and then its argument prototype would still apply. */
44855 /* The GNU C library defines this for functions which it implements
44856 to always fail with ENOSYS. Some functions are actually named
44857 something starting with __ and the normal name is an alias. */
44858 #if defined __stub_$ac_func || defined __stub___$ac_func
44865 return $ac_func ();
44870 rm -f conftest.$ac_objext conftest$ac_exeext
44871 if { (ac_try="$ac_link"
44872 case "(($ac_try" in
44873 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44874 *) ac_try_echo
=$ac_try;;
44876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44877 (eval "$ac_link") 2>conftest.er1
44879 grep -v '^ *+' conftest.er1
>conftest.err
44881 cat conftest.err
>&5
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); } && {
44884 test -z "$ac_c_werror_flag" ||
44885 test ! -s conftest.err
44886 } && test -s conftest
$ac_exeext &&
44887 $as_test_x conftest
$ac_exeext; then
44888 eval "$as_ac_var=yes"
44890 echo "$as_me: failed program was:" >&5
44891 sed 's/^/| /' conftest.
$ac_ext >&5
44893 eval "$as_ac_var=no"
44896 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44897 conftest
$ac_exeext conftest.
$ac_ext
44899 ac_res
=`eval echo '${'$as_ac_var'}'`
44900 { echo "$as_me:$LINENO: result: $ac_res" >&5
44901 echo "${ECHO_T}$ac_res" >&6; }
44902 if test `eval echo '${'$as_ac_var'}'` = yes; then
44903 cat >>confdefs.h
<<_ACEOF
44904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44907 cat >>confdefs.h
<<\_ACEOF
44908 #define HAVE_DLOPEN 1
44915 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44916 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44917 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44918 echo $ECHO_N "(cached) $ECHO_C" >&6
44920 ac_check_lib_save_LIBS
=$LIBS
44922 cat >conftest.
$ac_ext <<_ACEOF
44925 cat confdefs.h
>>conftest.
$ac_ext
44926 cat >>conftest.
$ac_ext <<_ACEOF
44927 /* end confdefs.h. */
44929 /* Override any GCC internal prototype to avoid an error.
44930 Use char because int might match the return type of a GCC
44931 builtin and then its argument prototype would still apply. */
44944 rm -f conftest.
$ac_objext conftest
$ac_exeext
44945 if { (ac_try
="$ac_link"
44946 case "(($ac_try" in
44947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_link") 2>conftest.er1
44953 grep -v '^ *+' conftest.er1 >conftest.err
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } && {
44958 test -z "$ac_c_werror_flag" ||
44959 test ! -s conftest.err
44960 } && test -s conftest$ac_exeext &&
44961 $as_test_x conftest$ac_exeext; then
44962 ac_cv_lib_dl_dlopen=yes
44964 echo "$as_me: failed program was:" >&5
44965 sed 's/^/| /' conftest.$ac_ext >&5
44967 ac_cv_lib_dl_dlopen=no
44970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44971 conftest$ac_exeext conftest.$ac_ext
44972 LIBS=$ac_check_lib_save_LIBS
44974 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44975 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44976 if test $ac_cv_lib_dl_dlopen = yes; then
44978 cat >>confdefs.h <<\_ACEOF
44979 #define HAVE_DLOPEN 1
44983 DL_LINK=" -ldl$DL_LINK"
44988 for ac_func in shl_load
44990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44994 echo $ECHO_N "(cached) $ECHO_C" >&6
44996 cat >conftest.$ac_ext <<_ACEOF
44999 cat confdefs.h >>conftest.$ac_ext
45000 cat >>conftest.$ac_ext <<_ACEOF
45001 /* end confdefs.h. */
45002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45004 #define $ac_func innocuous_$ac_func
45006 /* System header to define __stub macros and hopefully few prototypes,
45007 which can conflict with char $ac_func (); below.
45008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45009 <limits.h> exists even on freestanding compilers. */
45012 # include <limits.h>
45014 # include <assert.h>
45019 /* Override any GCC internal prototype to avoid an error.
45020 Use char because int might match the return type of a GCC
45021 builtin and then its argument prototype would still apply. */
45026 /* The GNU C library defines this for functions which it implements
45027 to always fail with ENOSYS. Some functions are actually named
45028 something starting with __ and the normal name is an alias. */
45029 #if defined __stub_$ac_func || defined __stub___$ac_func
45036 return $ac_func ();
45041 rm -f conftest.$ac_objext conftest$ac_exeext
45042 if { (ac_try="$ac_link"
45043 case "(($ac_try" in
45044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45045 *) ac_try_echo
=$ac_try;;
45047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45048 (eval "$ac_link") 2>conftest.er1
45050 grep -v '^ *+' conftest.er1
>conftest.err
45052 cat conftest.err
>&5
45053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054 (exit $ac_status); } && {
45055 test -z "$ac_c_werror_flag" ||
45056 test ! -s conftest.err
45057 } && test -s conftest
$ac_exeext &&
45058 $as_test_x conftest
$ac_exeext; then
45059 eval "$as_ac_var=yes"
45061 echo "$as_me: failed program was:" >&5
45062 sed 's/^/| /' conftest.
$ac_ext >&5
45064 eval "$as_ac_var=no"
45067 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45068 conftest
$ac_exeext conftest.
$ac_ext
45070 ac_res
=`eval echo '${'$as_ac_var'}'`
45071 { echo "$as_me:$LINENO: result: $ac_res" >&5
45072 echo "${ECHO_T}$ac_res" >&6; }
45073 if test `eval echo '${'$as_ac_var'}'` = yes; then
45074 cat >>confdefs.h
<<_ACEOF
45075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45078 cat >>confdefs.h
<<\_ACEOF
45079 #define HAVE_SHL_LOAD 1
45086 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45087 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45088 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45089 echo $ECHO_N "(cached) $ECHO_C" >&6
45091 ac_check_lib_save_LIBS
=$LIBS
45092 LIBS
="-lshl_load $LIBS"
45093 cat >conftest.
$ac_ext <<_ACEOF
45096 cat confdefs.h
>>conftest.
$ac_ext
45097 cat >>conftest.
$ac_ext <<_ACEOF
45098 /* end confdefs.h. */
45100 /* Override any GCC internal prototype to avoid an error.
45101 Use char because int might match the return type of a GCC
45102 builtin and then its argument prototype would still apply. */
45115 rm -f conftest.
$ac_objext conftest
$ac_exeext
45116 if { (ac_try
="$ac_link"
45117 case "(($ac_try" in
45118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45119 *) ac_try_echo=$ac_try;;
45121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45122 (eval "$ac_link") 2>conftest.er1
45124 grep -v '^ *+' conftest.er1 >conftest.err
45126 cat conftest.err >&5
45127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45128 (exit $ac_status); } && {
45129 test -z "$ac_c_werror_flag" ||
45130 test ! -s conftest.err
45131 } && test -s conftest$ac_exeext &&
45132 $as_test_x conftest$ac_exeext; then
45133 ac_cv_lib_shl_load_dld=yes
45135 echo "$as_me: failed program was:" >&5
45136 sed 's/^/| /' conftest.$ac_ext >&5
45138 ac_cv_lib_shl_load_dld=no
45141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45142 conftest$ac_exeext conftest.$ac_ext
45143 LIBS=$ac_check_lib_save_LIBS
45145 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45146 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45147 if test $ac_cv_lib_shl_load_dld = yes; then
45150 DL_LINK=" -ldld$DL_LINK"
45166 if test "$HAVE_DL_FUNCS" = 1; then
45168 for ac_func in dlerror
45170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45171 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45173 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45174 echo $ECHO_N "(cached) $ECHO_C" >&6
45176 cat >conftest.$ac_ext <<_ACEOF
45179 cat confdefs.h >>conftest.$ac_ext
45180 cat >>conftest.$ac_ext <<_ACEOF
45181 /* end confdefs.h. */
45182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45184 #define $ac_func innocuous_$ac_func
45186 /* System header to define __stub macros and hopefully few prototypes,
45187 which can conflict with char $ac_func (); below.
45188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45189 <limits.h> exists even on freestanding compilers. */
45192 # include <limits.h>
45194 # include <assert.h>
45199 /* Override any GCC internal prototype to avoid an error.
45200 Use char because int might match the return type of a GCC
45201 builtin and then its argument prototype would still apply. */
45206 /* The GNU C library defines this for functions which it implements
45207 to always fail with ENOSYS. Some functions are actually named
45208 something starting with __ and the normal name is an alias. */
45209 #if defined __stub_$ac_func || defined __stub___$ac_func
45216 return $ac_func ();
45221 rm -f conftest.$ac_objext conftest$ac_exeext
45222 if { (ac_try="$ac_link"
45223 case "(($ac_try" in
45224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45225 *) ac_try_echo
=$ac_try;;
45227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45228 (eval "$ac_link") 2>conftest.er1
45230 grep -v '^ *+' conftest.er1
>conftest.err
45232 cat conftest.err
>&5
45233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45234 (exit $ac_status); } && {
45235 test -z "$ac_c_werror_flag" ||
45236 test ! -s conftest.err
45237 } && test -s conftest
$ac_exeext &&
45238 $as_test_x conftest
$ac_exeext; then
45239 eval "$as_ac_var=yes"
45241 echo "$as_me: failed program was:" >&5
45242 sed 's/^/| /' conftest.
$ac_ext >&5
45244 eval "$as_ac_var=no"
45247 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45248 conftest
$ac_exeext conftest.
$ac_ext
45250 ac_res
=`eval echo '${'$as_ac_var'}'`
45251 { echo "$as_me:$LINENO: result: $ac_res" >&5
45252 echo "${ECHO_T}$ac_res" >&6; }
45253 if test `eval echo '${'$as_ac_var'}'` = yes; then
45254 cat >>confdefs.h
<<_ACEOF
45255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45257 cat >>confdefs.h
<<\_ACEOF
45258 #define HAVE_DLERROR 1
45263 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
45264 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
45265 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
45266 echo $ECHO_N "(cached) $ECHO_C" >&6
45268 ac_check_lib_save_LIBS
=$LIBS
45270 cat >conftest.
$ac_ext <<_ACEOF
45273 cat confdefs.h
>>conftest.
$ac_ext
45274 cat >>conftest.
$ac_ext <<_ACEOF
45275 /* end confdefs.h. */
45277 /* Override any GCC internal prototype to avoid an error.
45278 Use char because int might match the return type of a GCC
45279 builtin and then its argument prototype would still apply. */
45292 rm -f conftest.
$ac_objext conftest
$ac_exeext
45293 if { (ac_try
="$ac_link"
45294 case "(($ac_try" in
45295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45296 *) ac_try_echo=$ac_try;;
45298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45299 (eval "$ac_link") 2>conftest.er1
45301 grep -v '^ *+' conftest.er1 >conftest.err
45303 cat conftest.err >&5
45304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45305 (exit $ac_status); } && {
45306 test -z "$ac_c_werror_flag" ||
45307 test ! -s conftest.err
45308 } && test -s conftest$ac_exeext &&
45309 $as_test_x conftest$ac_exeext; then
45310 ac_cv_lib_dl_dlerror=yes
45312 echo "$as_me: failed program was:" >&5
45313 sed 's/^/| /' conftest.$ac_ext >&5
45315 ac_cv_lib_dl_dlerror=no
45318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45319 conftest$ac_exeext conftest.$ac_ext
45320 LIBS=$ac_check_lib_save_LIBS
45322 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
45323 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
45324 if test $ac_cv_lib_dl_dlerror = yes; then
45325 cat >>confdefs.h <<\_ACEOF
45326 #define HAVE_DLERROR 1
45339 if test "$HAVE_DL_FUNCS" = 0; then
45340 if test "$HAVE_SHL_FUNCS" = 0; then
45341 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
45342 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
45343 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
45344 wxUSE_DYNAMIC_LOADER=no
45345 wxUSE_DYNLIB_CLASS=no
45347 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
45348 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
45355 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_DYNAMIC_LOADER 1
45361 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45362 cat >>confdefs.h <<\_ACEOF
45363 #define wxUSE_DYNLIB_CLASS 1
45370 if test "$wxUSE_PLUGINS" = "yes" ; then
45371 if test "$wxUSE_SHARED" = "no" ; then
45372 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
45373 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
45376 if test "$wxUSE_MONOLITHIC" = "yes" ; then
45377 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
45378 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
45381 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
45382 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
45383 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
45386 if test "$wxUSE_PLUGINS" = "yes" ; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_PLUGINS 1
45395 if test "$wxUSE_STL" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_STL 1
45402 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_EXTENDED_RTTI 1
45409 if test "$wxUSE_APPLE_IEEE" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_APPLE_IEEE 1
45416 if test "$wxUSE_TIMER" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_TIMER 1
45423 if test "$USE_UNIX" = "1" ; then
45424 if test "$wxUSE_MGL" != 1; then
45425 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
45426 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
45427 if test "${ac_cv_header_sys_soundcard+set}" = set; then
45428 echo $ECHO_N "(cached) $ECHO_C" >&6
45431 cat >conftest.$ac_ext <<_ACEOF
45434 cat confdefs.h >>conftest.$ac_ext
45435 cat >>conftest.$ac_ext <<_ACEOF
45436 /* end confdefs.h. */
45438 #include <sys/ioctl.h>
45439 #include <sys/soundcard.h>
45445 ioctl(0, SNDCTL_DSP_SPEED, 0);
45451 rm -f conftest.$ac_objext conftest$ac_exeext
45452 if { (ac_try="$ac_link"
45453 case "(($ac_try" in
45454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45455 *) ac_try_echo
=$ac_try;;
45457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45458 (eval "$ac_link") 2>conftest.er1
45460 grep -v '^ *+' conftest.er1
>conftest.err
45462 cat conftest.err
>&5
45463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45464 (exit $ac_status); } && {
45465 test -z "$ac_c_werror_flag" ||
45466 test ! -s conftest.err
45467 } && test -s conftest
$ac_exeext &&
45468 $as_test_x conftest
$ac_exeext; then
45469 ac_cv_header_sys_soundcard
=yes
45471 echo "$as_me: failed program was:" >&5
45472 sed 's/^/| /' conftest.
$ac_ext >&5
45476 LIBS
="$saveLibs -lossaudio"
45477 cat >conftest.
$ac_ext <<_ACEOF
45480 cat confdefs.h
>>conftest.
$ac_ext
45481 cat >>conftest.
$ac_ext <<_ACEOF
45482 /* end confdefs.h. */
45484 #include <sys/ioctl.h>
45485 #include <sys/soundcard.h>
45491 ioctl(0, SNDCTL_DSP_SPEED, 0);
45497 rm -f conftest.
$ac_objext conftest
$ac_exeext
45498 if { (ac_try
="$ac_link"
45499 case "(($ac_try" in
45500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45501 *) ac_try_echo=$ac_try;;
45503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45504 (eval "$ac_link") 2>conftest.er1
45506 grep -v '^ *+' conftest.er1 >conftest.err
45508 cat conftest.err >&5
45509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45510 (exit $ac_status); } && {
45511 test -z "$ac_c_werror_flag" ||
45512 test ! -s conftest.err
45513 } && test -s conftest$ac_exeext &&
45514 $as_test_x conftest$ac_exeext; then
45515 ac_cv_header_sys_soundcard=yes
45517 echo "$as_me: failed program was:" >&5
45518 sed 's/^/| /' conftest.$ac_ext >&5
45522 ac_cv_header_sys_soundcard=no
45527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45528 conftest$ac_exeext conftest.$ac_ext
45533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45534 conftest$ac_exeext conftest.$ac_ext
45537 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
45538 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
45541 if test "$ac_cv_header_sys_soundcard" = "yes"; then
45542 cat >>confdefs.h <<\_ACEOF
45543 #define HAVE_SYS_SOUNDCARD_H 1
45550 if test "$wxUSE_SOUND" = "yes"; then
45551 if test "$USE_UNIX" = "1" ; then
45552 if test "$wxUSE_LIBSDL" != "no"; then
45554 # Check whether --with-sdl-prefix was given.
45555 if test "${with_sdl_prefix+set}" = set; then
45556 withval=$with_sdl_prefix; sdl_prefix="$withval"
45562 # Check whether --with-sdl-exec-prefix was given.
45563 if test "${with_sdl_exec_prefix+set}" = set; then
45564 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
45569 # Check whether --enable-sdltest was given.
45570 if test "${enable_sdltest+set}" = set; then
45571 enableval=$enable_sdltest;
45577 if test x$sdl_exec_prefix != x ; then
45578 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
45579 if test x${SDL_CONFIG+set} != xset ; then
45580 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
45583 if test x$sdl_prefix != x ; then
45584 sdl_args="$sdl_args --prefix=$sdl_prefix"
45585 if test x${SDL_CONFIG+set} != xset ; then
45586 SDL_CONFIG=$sdl_prefix/bin/sdl-config
45590 if test "x$prefix" != xNONE; then
45591 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
45593 # Extract the first word of "sdl-config", so it can be a program name with args.
45594 set dummy sdl-config; ac_word=$2
45595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45597 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
45598 echo $ECHO_N "(cached) $ECHO_C" >&6
45600 case $SDL_CONFIG in
45602 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
45605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45606 for as_dir in $PATH
45609 test -z "$as_dir" && as_dir=.
45610 for ac_exec_ext in '' $ac_executable_extensions; do
45611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45612 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45620 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
45624 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
45625 if test -n "$SDL_CONFIG"; then
45626 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
45627 echo "${ECHO_T}$SDL_CONFIG" >&6; }
45629 { echo "$as_me:$LINENO: result: no" >&5
45630 echo "${ECHO_T}no" >&6; }
45634 min_sdl_version=1.2.0
45635 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
45636 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
45638 if test "$SDL_CONFIG" = "no" ; then
45641 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
45642 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
45644 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
45645 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45646 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
45647 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45648 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
45649 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45650 if test "x$enable_sdltest" = "xyes" ; then
45651 ac_save_CFLAGS="$CFLAGS"
45652 ac_save_CXXFLAGS="$CXXFLAGS"
45653 ac_save_LIBS="$LIBS"
45654 CFLAGS="$CFLAGS $SDL_CFLAGS"
45655 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45656 LIBS="$LIBS $SDL_LIBS"
45658 if test "$cross_compiling" = yes; then
45659 echo $ac_n "cross compiling; assumed OK... $ac_c"
45661 cat >conftest.$ac_ext <<_ACEOF
45664 cat confdefs.h >>conftest.$ac_ext
45665 cat >>conftest.$ac_ext <<_ACEOF
45666 /* end confdefs.h. */
45669 #include <stdlib.h>
45670 #include <string.h>
45674 my_strdup (char *str)
45680 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
45681 strcpy (new_str, str);
45689 int main (int argc, char *argv[])
45691 int major, minor, micro;
45694 /* This hangs on some systems (?)
45695 system ("touch conf.sdltest");
45697 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
45699 /* HP/UX 9 (%@#!) writes to sscanf strings */
45700 tmp_version = my_strdup("$min_sdl_version");
45701 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
45702 printf("%s, bad version string\n", "$min_sdl_version");
45706 if (($sdl_major_version > major) ||
45707 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
45708 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
45714 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
45715 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
45716 printf("*** best to upgrade to the required version.\n");
45717 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
45718 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
45719 printf("*** config.cache before re-running configure\n");
45726 rm -f conftest$ac_exeext
45727 if { (ac_try="$ac_link"
45728 case "(($ac_try" in
45729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45730 *) ac_try_echo
=$ac_try;;
45732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45733 (eval "$ac_link") 2>&5
45735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45736 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
45737 { (case "(($ac_try" in
45738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45739 *) ac_try_echo=$ac_try;;
45741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45742 (eval "$ac_try") 2>&5
45744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45745 (exit $ac_status); }; }; then
45748 echo "$as_me: program exited with status $ac_status" >&5
45749 echo "$as_me: failed program was:" >&5
45750 sed 's/^/| /' conftest.$ac_ext >&5
45752 ( exit $ac_status )
45755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45759 CFLAGS="$ac_save_CFLAGS"
45760 CXXFLAGS="$ac_save_CXXFLAGS"
45761 LIBS="$ac_save_LIBS"
45764 if test "x$no_sdl" = x ; then
45765 { echo "$as_me:$LINENO: result: yes" >&5
45766 echo "${ECHO_T}yes" >&6; }
45768 EXTRALIBS_SDL="$SDL_LIBS"
45769 CFLAGS="$SDL_CFLAGS $CFLAGS"
45770 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_LIBSDL 1
45777 { echo "$as_me:$LINENO: result: no" >&5
45778 echo "${ECHO_T}no" >&6; }
45779 if test "$SDL_CONFIG" = "no" ; then
45780 echo "*** The sdl-config script installed by SDL could not be found"
45781 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45782 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45783 echo "*** full path to sdl-config."
45785 if test -f conf.sdltest ; then
45788 echo "*** Could not run SDL test program, checking why..."
45789 CFLAGS="$CFLAGS $SDL_CFLAGS"
45790 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45791 LIBS="$LIBS $SDL_LIBS"
45792 cat >conftest.$ac_ext <<_ACEOF
45795 cat confdefs.h >>conftest.$ac_ext
45796 cat >>conftest.$ac_ext <<_ACEOF
45797 /* end confdefs.h. */
45802 int main(int argc, char *argv[])
45805 #define main K_and_R_C_main
45815 rm -f conftest.$ac_objext conftest$ac_exeext
45816 if { (ac_try="$ac_link"
45817 case "(($ac_try" in
45818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45819 *) ac_try_echo
=$ac_try;;
45821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45822 (eval "$ac_link") 2>conftest.er1
45824 grep -v '^ *+' conftest.er1
>conftest.err
45826 cat conftest.err
>&5
45827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45828 (exit $ac_status); } && {
45829 test -z "$ac_c_werror_flag" ||
45830 test ! -s conftest.err
45831 } && test -s conftest
$ac_exeext &&
45832 $as_test_x conftest
$ac_exeext; then
45833 echo "*** The test program compiled, but did not run. This usually means"
45834 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45835 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45836 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45837 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45838 echo "*** is required on your system"
45840 echo "*** If you have an old version installed, it is best to remove it, although"
45841 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45843 echo "$as_me: failed program was:" >&5
45844 sed 's/^/| /' conftest.
$ac_ext >&5
45846 echo "*** The test program failed to compile or link. See the file config.log for the"
45847 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45848 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45849 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45852 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45853 conftest
$ac_exeext conftest.
$ac_ext
45854 CFLAGS
="$ac_save_CFLAGS"
45855 CXXFLAGS
="$ac_save_CXXFLAGS"
45856 LIBS
="$ac_save_LIBS"
45867 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45872 if test "$wxUSE_MGL" = 1; then
45873 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45874 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45880 if test "$wxUSE_SOUND" = "yes"; then
45881 cat >>confdefs.h
<<\_ACEOF
45882 #define wxUSE_SOUND 1
45885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
45888 if test "$WXGTK20" = 1; then
45891 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45892 if test -n "$ac_tool_prefix"; then
45893 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45894 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
45895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45897 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45898 echo $ECHO_N "(cached) $ECHO_C" >&6
45900 case $PKG_CONFIG in
45902 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45906 for as_dir
in $PATH
45909 test -z "$as_dir" && as_dir
=.
45910 for ac_exec_ext
in '' $ac_executable_extensions; do
45911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45912 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45923 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45924 if test -n "$PKG_CONFIG"; then
45925 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45926 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45928 { echo "$as_me:$LINENO: result: no" >&5
45929 echo "${ECHO_T}no" >&6; }
45934 if test -z "$ac_cv_path_PKG_CONFIG"; then
45935 ac_pt_PKG_CONFIG
=$PKG_CONFIG
45936 # Extract the first word of "pkg-config", so it can be a program name with args.
45937 set dummy pkg
-config; ac_word
=$2
45938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45940 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45941 echo $ECHO_N "(cached) $ECHO_C" >&6
45943 case $ac_pt_PKG_CONFIG in
45945 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45949 for as_dir
in $PATH
45952 test -z "$as_dir" && as_dir
=.
45953 for ac_exec_ext
in '' $ac_executable_extensions; do
45954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45955 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45966 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
45967 if test -n "$ac_pt_PKG_CONFIG"; then
45968 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45969 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45971 { echo "$as_me:$LINENO: result: no" >&5
45972 echo "${ECHO_T}no" >&6; }
45975 if test "x$ac_pt_PKG_CONFIG" = x
; then
45978 case $cross_compiling:$ac_tool_warned in
45980 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45981 whose name does not start with the host triplet. If you think this
45982 configuration is useful to you, please write to autoconf@gnu.org." >&5
45983 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45984 whose name does not start with the host triplet. If you think this
45985 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45986 ac_tool_warned
=yes ;;
45988 PKG_CONFIG
=$ac_pt_PKG_CONFIG
45991 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
45995 if test -n "$PKG_CONFIG"; then
45996 _pkg_min_version
=0.9.0
45997 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45998 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45999 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46000 { echo "$as_me:$LINENO: result: yes" >&5
46001 echo "${ECHO_T}yes" >&6; }
46003 { echo "$as_me:$LINENO: result: no" >&5
46004 echo "${ECHO_T}no" >&6; }
46010 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46011 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46015 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
46016 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
46018 if test -n "$PKG_CONFIG"; then
46019 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
46020 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
46022 if test -n "$PKG_CONFIG" && \
46023 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46024 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46027 (exit $ac_status); }; then
46028 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46036 if test -n "$PKG_CONFIG"; then
46037 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
46038 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
46040 if test -n "$PKG_CONFIG" && \
46041 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46042 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46045 (exit $ac_status); }; then
46046 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46057 if test $pkg_failed = yes; then
46059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46060 _pkg_short_errors_supported
=yes
46062 _pkg_short_errors_supported
=no
46064 if test $_pkg_short_errors_supported = yes; then
46065 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46067 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46069 # Put the nasty error message in config.log where it belongs
46070 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
46073 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46074 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46075 wxUSE_LIBGNOMEPRINT
="no"
46078 elif test $pkg_failed = untried
; then
46080 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46081 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46082 wxUSE_LIBGNOMEPRINT
="no"
46086 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
46087 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
46088 { echo "$as_me:$LINENO: result: yes" >&5
46089 echo "${ECHO_T}yes" >&6; }
46091 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
46092 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
46093 cat >>confdefs.h
<<\_ACEOF
46094 #define wxUSE_LIBGNOMEPRINT 1
46102 if test "$wxUSE_MIMETYPE" = "yes" ; then
46103 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46107 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
46108 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
46110 if test -n "$PKG_CONFIG"; then
46111 if test -n "$GNOMEVFS_CFLAGS"; then
46112 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
46114 if test -n "$PKG_CONFIG" && \
46115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
46116 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
46118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46119 (exit $ac_status); }; then
46120 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
46128 if test -n "$PKG_CONFIG"; then
46129 if test -n "$GNOMEVFS_LIBS"; then
46130 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
46132 if test -n "$PKG_CONFIG" && \
46133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
46134 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
46136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46137 (exit $ac_status); }; then
46138 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
46149 if test $pkg_failed = yes; then
46151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46152 _pkg_short_errors_supported
=yes
46154 _pkg_short_errors_supported
=no
46156 if test $_pkg_short_errors_supported = yes; then
46157 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
46159 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
46161 # Put the nasty error message in config.log where it belongs
46162 echo "$GNOMEVFS_PKG_ERRORS" >&5
46165 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
46166 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
46167 wxUSE_LIBGNOMEVFS
="no"
46170 elif test $pkg_failed = untried
; then
46172 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
46173 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
46174 wxUSE_LIBGNOMEVFS
="no"
46178 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
46179 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
46180 { echo "$as_me:$LINENO: result: yes" >&5
46181 echo "${ECHO_T}yes" >&6; }
46183 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
46184 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
46185 cat >>confdefs.h
<<\_ACEOF
46186 #define wxUSE_LIBGNOMEVFS 1
46194 if test "$wxUSE_LIBHILDON" = "yes" ; then
46197 { echo "$as_me:$LINENO: checking for HILDON" >&5
46198 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
46200 if test -n "$PKG_CONFIG"; then
46201 if test -n "$HILDON_CFLAGS"; then
46202 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
46204 if test -n "$PKG_CONFIG" && \
46205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
46206 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); }; then
46210 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
46218 if test -n "$PKG_CONFIG"; then
46219 if test -n "$HILDON_LIBS"; then
46220 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
46222 if test -n "$PKG_CONFIG" && \
46223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
46224 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
46226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46227 (exit $ac_status); }; then
46228 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
46239 if test $pkg_failed = yes; then
46241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46242 _pkg_short_errors_supported
=yes
46244 _pkg_short_errors_supported
=no
46246 if test $_pkg_short_errors_supported = yes; then
46247 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
46249 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
46251 # Put the nasty error message in config.log where it belongs
46252 echo "$HILDON_PKG_ERRORS" >&5
46255 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
46256 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
46257 wxUSE_LIBHILDON
="no"
46260 elif test $pkg_failed = untried
; then
46262 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
46263 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
46264 wxUSE_LIBHILDON
="no"
46268 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
46269 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
46270 { echo "$as_me:$LINENO: result: yes" >&5
46271 echo "${ECHO_T}yes" >&6; }
46273 EXTRALIBS_HILDON
="$HILDON_LIBS"
46274 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
46275 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
46276 cat >>confdefs.h
<<\_ACEOF
46277 #define wxUSE_LIBHILDON 1
46285 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
46286 cat >>confdefs.h
<<\_ACEOF
46287 #define wxUSE_CMDLINE_PARSER 1
46292 if test "$wxUSE_STOPWATCH" = "yes"; then
46293 cat >>confdefs.h
<<\_ACEOF
46294 #define wxUSE_STOPWATCH 1
46299 if test "$wxUSE_DATETIME" = "yes"; then
46300 cat >>confdefs.h
<<\_ACEOF
46301 #define wxUSE_DATETIME 1
46306 if test "$wxUSE_FILE" = "yes"; then
46307 cat >>confdefs.h
<<\_ACEOF
46308 #define wxUSE_FILE 1
46313 if test "$wxUSE_FFILE" = "yes"; then
46314 cat >>confdefs.h
<<\_ACEOF
46315 #define wxUSE_FFILE 1
46320 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
46321 if test "$wxUSE_STREAMS" != yes; then
46322 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
46323 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
46324 wxUSE_ARCHIVE_STREAMS
=no
46326 cat >>confdefs.h
<<\_ACEOF
46327 #define wxUSE_ARCHIVE_STREAMS 1
46333 if test "$wxUSE_ZIPSTREAM" = "yes"; then
46334 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
46335 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
46336 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
46337 elif test "$wxUSE_ZLIB" = "no"; then
46338 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
46339 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
46341 cat >>confdefs.h
<<\_ACEOF
46342 #define wxUSE_ZIPSTREAM 1
46348 if test "$wxUSE_TARSTREAM" = "yes"; then
46349 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
46350 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
46351 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
46353 cat >>confdefs.h
<<\_ACEOF
46354 #define wxUSE_TARSTREAM 1
46360 if test "$wxUSE_FILESYSTEM" = "yes"; then
46361 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
46362 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
46363 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
46364 wxUSE_FILESYSTEM
=no
46366 cat >>confdefs.h
<<\_ACEOF
46367 #define wxUSE_FILESYSTEM 1
46373 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
46374 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
46375 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
46376 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
46378 cat >>confdefs.h
<<\_ACEOF
46379 #define wxUSE_FS_ARCHIVE 1
46385 if test "$wxUSE_FS_ZIP" = "yes"; then
46386 if test "$wxUSE_FS_ARCHIVE" != yes; then
46387 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
46388 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
46390 cat >>confdefs.h
<<\_ACEOF
46391 #define wxUSE_FS_ZIP 1
46397 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
46398 if test "$USE_UNIX" != 1; then
46399 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
46400 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
46401 wxUSE_ON_FATAL_EXCEPTION
=no
46403 cat >>confdefs.h
<<\_ACEOF
46404 #define wxUSE_ON_FATAL_EXCEPTION 1
46410 if test "$wxUSE_STACKWALKER" = "yes"; then
46411 cat >>confdefs.h
<<\_ACEOF
46412 #define wxUSE_STACKWALKER 1
46417 if test "$wxUSE_DEBUGREPORT" = "yes"; then
46418 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
46419 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
46420 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
46421 wxUSE_DEBUGREPORT
=no
46423 cat >>confdefs.h
<<\_ACEOF
46424 #define wxUSE_DEBUGREPORT 1
46427 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
46428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
46433 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
46434 cat >>confdefs.h
<<\_ACEOF
46435 #define wxUSE_SNGLINST_CHECKER 1
46440 if test "$wxUSE_BUSYINFO" = "yes"; then
46441 cat >>confdefs.h
<<\_ACEOF
46442 #define wxUSE_BUSYINFO 1
46447 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
46448 cat >>confdefs.h
<<\_ACEOF
46449 #define wxUSE_STD_IOSTREAM 1
46454 if test "$wxUSE_STD_STRING" = "yes"; then
46455 cat >>confdefs.h
<<\_ACEOF
46456 #define wxUSE_STD_STRING 1
46461 if test "$wxUSE_STDPATHS" = "yes"; then
46462 cat >>confdefs.h
<<\_ACEOF
46463 #define wxUSE_STDPATHS 1
46468 if test "$wxUSE_TEXTBUFFER" = "yes"; then
46469 cat >>confdefs.h
<<\_ACEOF
46470 #define wxUSE_TEXTBUFFER 1
46475 if test "$wxUSE_TEXTFILE" = "yes"; then
46476 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
46477 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
46478 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
46480 cat >>confdefs.h
<<\_ACEOF
46481 #define wxUSE_TEXTFILE 1
46487 if test "$wxUSE_CONFIG" = "yes" ; then
46488 if test "$wxUSE_TEXTFILE" != "yes"; then
46489 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
46490 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
46492 cat >>confdefs.h
<<\_ACEOF
46493 #define wxUSE_CONFIG 1
46496 cat >>confdefs.h
<<\_ACEOF
46497 #define wxUSE_CONFIG_NATIVE 1
46500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
46504 if test "$wxUSE_INTL" = "yes" ; then
46505 if test "$wxUSE_FILE" != "yes"; then
46506 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
46507 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
46509 cat >>confdefs.h
<<\_ACEOF
46510 #define wxUSE_INTL 1
46513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
46514 GUIDIST
="$GUIDIST INTL_DIST"
46518 if test "$wxUSE_LOG" = "yes"; then
46519 cat >>confdefs.h
<<\_ACEOF
46520 #define wxUSE_LOG 1
46524 if test "$wxUSE_LOGGUI" = "yes"; then
46525 cat >>confdefs.h
<<\_ACEOF
46526 #define wxUSE_LOGGUI 1
46531 if test "$wxUSE_LOGWINDOW" = "yes"; then
46532 cat >>confdefs.h
<<\_ACEOF
46533 #define wxUSE_LOGWINDOW 1
46538 if test "$wxUSE_LOGDIALOG" = "yes"; then
46539 cat >>confdefs.h
<<\_ACEOF
46540 #define wxUSE_LOG_DIALOG 1
46545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
46548 if test "$wxUSE_LONGLONG" = "yes"; then
46549 cat >>confdefs.h
<<\_ACEOF
46550 #define wxUSE_LONGLONG 1
46555 if test "$wxUSE_GEOMETRY" = "yes"; then
46556 cat >>confdefs.h
<<\_ACEOF
46557 #define wxUSE_GEOMETRY 1
46562 if test "$wxUSE_BASE64" = "yes"; then
46563 cat >>confdefs.h
<<\_ACEOF
46564 #define wxUSE_BASE64 1
46569 if test "$wxUSE_STREAMS" = "yes" ; then
46570 cat >>confdefs.h
<<\_ACEOF
46571 #define wxUSE_STREAMS 1
46576 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
46577 cat >>confdefs.h
<<\_ACEOF
46578 #define wxUSE_PRINTF_POS_PARAMS 1
46583 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
46584 cat >>confdefs.h
<<\_ACEOF
46585 #define wxUSE_OBJC_UNIQUIFYING 1
46591 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
46592 cat >>confdefs.h
<<\_ACEOF
46593 #define wxUSE_CONSOLE_EVENTLOOP 1
46597 if test "$wxUSE_UNIX" = "yes"; then
46598 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
46599 cat >>confdefs.h
<<\_ACEOF
46600 #define wxUSE_SELECT_DISPATCHER 1
46605 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
46607 for ac_header
in sys
/epoll.h
46609 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46612 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46613 echo $ECHO_N "(cached) $ECHO_C" >&6
46615 cat >conftest.
$ac_ext <<_ACEOF
46618 cat confdefs.h
>>conftest.
$ac_ext
46619 cat >>conftest.
$ac_ext <<_ACEOF
46620 /* end confdefs.h. */
46621 $ac_includes_default
46623 #include <$ac_header>
46625 rm -f conftest.
$ac_objext
46626 if { (ac_try
="$ac_compile"
46627 case "(($ac_try" in
46628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46629 *) ac_try_echo=$ac_try;;
46631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46632 (eval "$ac_compile") 2>conftest.er1
46634 grep -v '^ *+' conftest.er1 >conftest.err
46636 cat conftest.err >&5
46637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46638 (exit $ac_status); } && {
46639 test -z "$ac_c_werror_flag" ||
46640 test ! -s conftest.err
46641 } && test -s conftest.$ac_objext; then
46642 eval "$as_ac_Header=yes"
46644 echo "$as_me: failed program was:" >&5
46645 sed 's/^/| /' conftest.$ac_ext >&5
46647 eval "$as_ac_Header=no"
46650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46652 ac_res=`eval echo '${'$as_ac_Header'}'`
46653 { echo "$as_me:$LINENO: result: $ac_res" >&5
46654 echo "${ECHO_T}$ac_res" >&6; }
46655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46656 cat >>confdefs.h <<_ACEOF
46657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46664 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
46665 cat >>confdefs.h <<\_ACEOF
46666 #define wxUSE_EPOLL_DISPATCHER 1
46670 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
46671 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
46680 for ac_func in gettimeofday ftime
46682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46683 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46685 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46686 echo $ECHO_N "(cached) $ECHO_C" >&6
46688 cat >conftest.$ac_ext <<_ACEOF
46691 cat confdefs.h >>conftest.$ac_ext
46692 cat >>conftest.$ac_ext <<_ACEOF
46693 /* end confdefs.h. */
46694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46696 #define $ac_func innocuous_$ac_func
46698 /* System header to define __stub macros and hopefully few prototypes,
46699 which can conflict with char $ac_func (); below.
46700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46701 <limits.h> exists even on freestanding compilers. */
46704 # include <limits.h>
46706 # include <assert.h>
46711 /* Override any GCC internal prototype to avoid an error.
46712 Use char because int might match the return type of a GCC
46713 builtin and then its argument prototype would still apply. */
46718 /* The GNU C library defines this for functions which it implements
46719 to always fail with ENOSYS. Some functions are actually named
46720 something starting with __ and the normal name is an alias. */
46721 #if defined __stub_$ac_func || defined __stub___$ac_func
46728 return $ac_func ();
46733 rm -f conftest.$ac_objext conftest$ac_exeext
46734 if { (ac_try="$ac_link"
46735 case "(($ac_try" in
46736 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46737 *) ac_try_echo
=$ac_try;;
46739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46740 (eval "$ac_link") 2>conftest.er1
46742 grep -v '^ *+' conftest.er1
>conftest.err
46744 cat conftest.err
>&5
46745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46746 (exit $ac_status); } && {
46747 test -z "$ac_c_werror_flag" ||
46748 test ! -s conftest.err
46749 } && test -s conftest
$ac_exeext &&
46750 $as_test_x conftest
$ac_exeext; then
46751 eval "$as_ac_var=yes"
46753 echo "$as_me: failed program was:" >&5
46754 sed 's/^/| /' conftest.
$ac_ext >&5
46756 eval "$as_ac_var=no"
46759 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46760 conftest
$ac_exeext conftest.
$ac_ext
46762 ac_res
=`eval echo '${'$as_ac_var'}'`
46763 { echo "$as_me:$LINENO: result: $ac_res" >&5
46764 echo "${ECHO_T}$ac_res" >&6; }
46765 if test `eval echo '${'$as_ac_var'}'` = yes; then
46766 cat >>confdefs.h
<<_ACEOF
46767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46774 if test "$ac_cv_func_gettimeofday" = "yes"; then
46775 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46776 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46777 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46778 echo $ECHO_N "(cached) $ECHO_C" >&6
46781 cat >conftest.
$ac_ext <<_ACEOF
46784 cat confdefs.h
>>conftest.
$ac_ext
46785 cat >>conftest.
$ac_ext <<_ACEOF
46786 /* end confdefs.h. */
46788 #include <sys/time.h>
46789 #include <unistd.h>
46796 gettimeofday(&tv, NULL);
46802 rm -f conftest.
$ac_objext
46803 if { (ac_try
="$ac_compile"
46804 case "(($ac_try" in
46805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46806 *) ac_try_echo=$ac_try;;
46808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46809 (eval "$ac_compile") 2>conftest.er1
46811 grep -v '^ *+' conftest.er1 >conftest.err
46813 cat conftest.err >&5
46814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46815 (exit $ac_status); } && {
46816 test -z "$ac_c_werror_flag" ||
46817 test ! -s conftest.err
46818 } && test -s conftest.$ac_objext; then
46819 wx_cv_func_gettimeofday_has_2_args=yes
46821 echo "$as_me: failed program was:" >&5
46822 sed 's/^/| /' conftest.$ac_ext >&5
46824 cat >conftest.$ac_ext <<_ACEOF
46827 cat confdefs.h >>conftest.$ac_ext
46828 cat >>conftest.$ac_ext <<_ACEOF
46829 /* end confdefs.h. */
46831 #include <sys/time.h>
46832 #include <unistd.h>
46845 rm -f conftest.$ac_objext
46846 if { (ac_try="$ac_compile"
46847 case "(($ac_try" in
46848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46849 *) ac_try_echo
=$ac_try;;
46851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46852 (eval "$ac_compile") 2>conftest.er1
46854 grep -v '^ *+' conftest.er1
>conftest.err
46856 cat conftest.err
>&5
46857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46858 (exit $ac_status); } && {
46859 test -z "$ac_c_werror_flag" ||
46860 test ! -s conftest.err
46861 } && test -s conftest.
$ac_objext; then
46862 wx_cv_func_gettimeofday_has_2_args
=no
46864 echo "$as_me: failed program was:" >&5
46865 sed 's/^/| /' conftest.
$ac_ext >&5
46868 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46869 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46870 wx_cv_func_gettimeofday_has_2_args
=unknown
46875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46882 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46883 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46885 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46886 cat >>confdefs.h
<<\_ACEOF
46887 #define WX_GETTIMEOFDAY_NO_TZ 1
46893 if test "$wxUSE_DATETIME" = "yes"; then
46894 { echo "$as_me:$LINENO: checking for strptime" >&5
46895 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46896 if test "${ac_cv_func_strptime+set}" = set; then
46897 echo $ECHO_N "(cached) $ECHO_C" >&6
46899 cat >conftest.
$ac_ext <<_ACEOF
46902 cat confdefs.h
>>conftest.
$ac_ext
46903 cat >>conftest.
$ac_ext <<_ACEOF
46904 /* end confdefs.h. */
46905 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46907 #define strptime innocuous_strptime
46909 /* System header to define __stub macros and hopefully few prototypes,
46910 which can conflict with char strptime (); below.
46911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46912 <limits.h> exists even on freestanding compilers. */
46915 # include <limits.h>
46917 # include <assert.h>
46922 /* Override any GCC internal prototype to avoid an error.
46923 Use char because int might match the return type of a GCC
46924 builtin and then its argument prototype would still apply. */
46929 /* The GNU C library defines this for functions which it implements
46930 to always fail with ENOSYS. Some functions are actually named
46931 something starting with __ and the normal name is an alias. */
46932 #if defined __stub_strptime || defined __stub___strptime
46939 return strptime ();
46944 rm -f conftest.
$ac_objext conftest
$ac_exeext
46945 if { (ac_try
="$ac_link"
46946 case "(($ac_try" in
46947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46948 *) ac_try_echo=$ac_try;;
46950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46951 (eval "$ac_link") 2>conftest.er1
46953 grep -v '^ *+' conftest.er1 >conftest.err
46955 cat conftest.err >&5
46956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46957 (exit $ac_status); } && {
46958 test -z "$ac_c_werror_flag" ||
46959 test ! -s conftest.err
46960 } && test -s conftest$ac_exeext &&
46961 $as_test_x conftest$ac_exeext; then
46962 ac_cv_func_strptime=yes
46964 echo "$as_me: failed program was:" >&5
46965 sed 's/^/| /' conftest.$ac_ext >&5
46967 ac_cv_func_strptime=no
46970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46971 conftest$ac_exeext conftest.$ac_ext
46973 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46974 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46976 if test "$ac_cv_func_strptime" = "yes"; then
46977 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46978 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46979 if test "${wx_cv_func_strptime_decl+set}" = set; then
46980 echo $ECHO_N "(cached) $ECHO_C" >&6
46984 ac_cpp='$CXXCPP $CPPFLAGS'
46985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46989 cat >conftest.$ac_ext <<_ACEOF
46992 cat confdefs.h >>conftest.$ac_ext
46993 cat >>conftest.$ac_ext <<_ACEOF
46994 /* end confdefs.h. */
47003 strptime("foo", "bar", &t);
47009 rm -f conftest.$ac_objext
47010 if { (ac_try="$ac_compile"
47011 case "(($ac_try" in
47012 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47013 *) ac_try_echo
=$ac_try;;
47015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47016 (eval "$ac_compile") 2>conftest.er1
47018 grep -v '^ *+' conftest.er1
>conftest.err
47020 cat conftest.err
>&5
47021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47022 (exit $ac_status); } && {
47023 test -z "$ac_cxx_werror_flag" ||
47024 test ! -s conftest.err
47025 } && test -s conftest.
$ac_objext; then
47026 wx_cv_func_strptime_decl
=yes
47028 echo "$as_me: failed program was:" >&5
47029 sed 's/^/| /' conftest.
$ac_ext >&5
47031 wx_cv_func_strptime_decl
=no
47035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47037 ac_cpp
='$CPP $CPPFLAGS'
47038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47045 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
47046 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
47048 if test "$wx_cv_func_strptime_decl" = "yes"; then
47049 cat >>confdefs.h
<<\_ACEOF
47050 #define HAVE_STRPTIME_DECL 1
47054 wx_strptime_decl
="extern char *strptime(const char *, const char *, struct tm *);"
47056 if test "$ac_cv_func_strptime" = "yes"; then
47057 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
47058 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
47059 if test "${wx_cv_func_strptime_ok+set}" = set; then
47060 echo $ECHO_N "(cached) $ECHO_C" >&6
47062 if test "$cross_compiling" = yes; then
47063 wx_cv_func_strptime_ok
=no
47066 cat >conftest.
$ac_ext <<_ACEOF
47068 #include <stdlib.h>
47070 #include "confdefs.h"
47077 return !!strptime("", "%x", &t);
47081 rm -f conftest
$ac_exeext
47082 if { (ac_try
="$ac_link"
47083 case "(($ac_try" in
47084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47085 *) ac_try_echo=$ac_try;;
47087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47088 (eval "$ac_link") 2>&5
47090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47091 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47092 { (case "(($ac_try" in
47093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47094 *) ac_try_echo
=$ac_try;;
47096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47097 (eval "$ac_try") 2>&5
47099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47100 (exit $ac_status); }; }; then
47101 wx_cv_func_strptime_ok
=yes
47103 echo "$as_me: program exited with status $ac_status" >&5
47104 echo "$as_me: failed program was:" >&5
47105 sed 's/^/| /' conftest.
$ac_ext >&5
47107 ( exit $ac_status )
47108 wx_cv_func_strptime_ok
=no
47110 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
47116 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
47117 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
47119 if test "$wx_cv_func_strptime_ok" = "yes"; then
47120 cat >>confdefs.h
<<\_ACEOF
47121 #define HAVE_STRPTIME 1
47127 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
47128 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
47129 if test "${wx_cv_var_timezone+set}" = set; then
47130 echo $ECHO_N "(cached) $ECHO_C" >&6
47134 ac_cpp
='$CXXCPP $CPPFLAGS'
47135 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47136 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47137 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47139 cat >conftest.
$ac_ext <<_ACEOF
47142 cat confdefs.h
>>conftest.
$ac_ext
47143 cat >>conftest.
$ac_ext <<_ACEOF
47144 /* end confdefs.h. */
47159 rm -f conftest.
$ac_objext
47160 if { (ac_try
="$ac_compile"
47161 case "(($ac_try" in
47162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47163 *) ac_try_echo=$ac_try;;
47165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47166 (eval "$ac_compile") 2>conftest.er1
47168 grep -v '^ *+' conftest.er1 >conftest.err
47170 cat conftest.err >&5
47171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47172 (exit $ac_status); } && {
47173 test -z "$ac_cxx_werror_flag" ||
47174 test ! -s conftest.err
47175 } && test -s conftest.$ac_objext; then
47177 wx_cv_var_timezone=timezone
47180 echo "$as_me: failed program was:" >&5
47181 sed 's/^/| /' conftest.$ac_ext >&5
47184 cat >conftest.$ac_ext <<_ACEOF
47187 cat confdefs.h >>conftest.$ac_ext
47188 cat >>conftest.$ac_ext <<_ACEOF
47189 /* end confdefs.h. */
47204 rm -f conftest.$ac_objext
47205 if { (ac_try="$ac_compile"
47206 case "(($ac_try" in
47207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47208 *) ac_try_echo
=$ac_try;;
47210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47211 (eval "$ac_compile") 2>conftest.er1
47213 grep -v '^ *+' conftest.er1
>conftest.err
47215 cat conftest.err
>&5
47216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47217 (exit $ac_status); } && {
47218 test -z "$ac_cxx_werror_flag" ||
47219 test ! -s conftest.err
47220 } && test -s conftest.
$ac_objext; then
47222 wx_cv_var_timezone
=_timezone
47225 echo "$as_me: failed program was:" >&5
47226 sed 's/^/| /' conftest.
$ac_ext >&5
47229 cat >conftest.
$ac_ext <<_ACEOF
47232 cat confdefs.h
>>conftest.
$ac_ext
47233 cat >>conftest.
$ac_ext <<_ACEOF
47234 /* end confdefs.h. */
47249 rm -f conftest.
$ac_objext
47250 if { (ac_try
="$ac_compile"
47251 case "(($ac_try" in
47252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47253 *) ac_try_echo=$ac_try;;
47255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47256 (eval "$ac_compile") 2>conftest.er1
47258 grep -v '^ *+' conftest.er1 >conftest.err
47260 cat conftest.err >&5
47261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47262 (exit $ac_status); } && {
47263 test -z "$ac_cxx_werror_flag" ||
47264 test ! -s conftest.err
47265 } && test -s conftest.$ac_objext; then
47267 wx_cv_var_timezone=__timezone
47270 echo "$as_me: failed program was:" >&5
47271 sed 's/^/| /' conftest.$ac_ext >&5
47274 if test "$USE_DOS" = 0 ; then
47275 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
47276 echo "$as_me: WARNING: no timezone variable" >&2;}
47282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47294 ac_cpp='$CPP $CPPFLAGS'
47295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47302 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
47303 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
47305 if test "x$wx_cv_var_timezone" != x ; then
47306 cat >>confdefs.h <<_ACEOF
47307 #define WX_TIMEZONE $wx_cv_var_timezone
47313 for ac_func in localtime
47315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47319 echo $ECHO_N "(cached) $ECHO_C" >&6
47321 cat >conftest.$ac_ext <<_ACEOF
47324 cat confdefs.h >>conftest.$ac_ext
47325 cat >>conftest.$ac_ext <<_ACEOF
47326 /* end confdefs.h. */
47327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47329 #define $ac_func innocuous_$ac_func
47331 /* System header to define __stub macros and hopefully few prototypes,
47332 which can conflict with char $ac_func (); below.
47333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47334 <limits.h> exists even on freestanding compilers. */
47337 # include <limits.h>
47339 # include <assert.h>
47344 /* Override any GCC internal prototype to avoid an error.
47345 Use char because int might match the return type of a GCC
47346 builtin and then its argument prototype would still apply. */
47351 /* The GNU C library defines this for functions which it implements
47352 to always fail with ENOSYS. Some functions are actually named
47353 something starting with __ and the normal name is an alias. */
47354 #if defined __stub_$ac_func || defined __stub___$ac_func
47361 return $ac_func ();
47366 rm -f conftest.$ac_objext conftest$ac_exeext
47367 if { (ac_try="$ac_link"
47368 case "(($ac_try" in
47369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47370 *) ac_try_echo
=$ac_try;;
47372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47373 (eval "$ac_link") 2>conftest.er1
47375 grep -v '^ *+' conftest.er1
>conftest.err
47377 cat conftest.err
>&5
47378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47379 (exit $ac_status); } && {
47380 test -z "$ac_c_werror_flag" ||
47381 test ! -s conftest.err
47382 } && test -s conftest
$ac_exeext &&
47383 $as_test_x conftest
$ac_exeext; then
47384 eval "$as_ac_var=yes"
47386 echo "$as_me: failed program was:" >&5
47387 sed 's/^/| /' conftest.
$ac_ext >&5
47389 eval "$as_ac_var=no"
47392 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
47393 conftest
$ac_exeext conftest.
$ac_ext
47395 ac_res
=`eval echo '${'$as_ac_var'}'`
47396 { echo "$as_me:$LINENO: result: $ac_res" >&5
47397 echo "${ECHO_T}$ac_res" >&6; }
47398 if test `eval echo '${'$as_ac_var'}'` = yes; then
47399 cat >>confdefs.h
<<_ACEOF
47400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47407 if test "$ac_cv_func_localtime" = "yes"; then
47408 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
47409 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
47410 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
47411 echo $ECHO_N "(cached) $ECHO_C" >&6
47414 cat >conftest.
$ac_ext <<_ACEOF
47417 cat confdefs.h
>>conftest.
$ac_ext
47418 cat >>conftest.
$ac_ext <<_ACEOF
47419 /* end confdefs.h. */
47434 rm -f conftest.
$ac_objext
47435 if { (ac_try
="$ac_compile"
47436 case "(($ac_try" in
47437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47438 *) ac_try_echo=$ac_try;;
47440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47441 (eval "$ac_compile") 2>conftest.er1
47443 grep -v '^ *+' conftest.er1 >conftest.err
47445 cat conftest.err >&5
47446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47447 (exit $ac_status); } && {
47448 test -z "$ac_c_werror_flag" ||
47449 test ! -s conftest.err
47450 } && test -s conftest.$ac_objext; then
47452 wx_cv_struct_tm_has_gmtoff=yes
47455 echo "$as_me: failed program was:" >&5
47456 sed 's/^/| /' conftest.$ac_ext >&5
47458 wx_cv_struct_tm_has_gmtoff=no
47462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47465 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
47466 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
47469 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
47470 cat >>confdefs.h <<\_ACEOF
47471 #define WX_GMTOFF_IN_TM 1
47476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
47480 if test "$wxUSE_SOCKETS" = "yes"; then
47481 if test "$wxUSE_MGL" = "1"; then
47482 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
47483 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
47488 if test "$wxUSE_SOCKETS" = "yes"; then
47489 if test "$TOOLKIT" != "MSW"; then
47490 { echo "$as_me:$LINENO: checking for socket" >&5
47491 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
47492 if test "${ac_cv_func_socket+set}" = set; then
47493 echo $ECHO_N "(cached) $ECHO_C" >&6
47495 cat >conftest.$ac_ext <<_ACEOF
47498 cat confdefs.h >>conftest.$ac_ext
47499 cat >>conftest.$ac_ext <<_ACEOF
47500 /* end confdefs.h. */
47501 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
47502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47503 #define socket innocuous_socket
47505 /* System header to define __stub macros and hopefully few prototypes,
47506 which can conflict with char socket (); below.
47507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47508 <limits.h> exists even on freestanding compilers. */
47511 # include <limits.h>
47513 # include <assert.h>
47518 /* Override any GCC internal prototype to avoid an error.
47519 Use char because int might match the return type of a GCC
47520 builtin and then its argument prototype would still apply. */
47525 /* The GNU C library defines this for functions which it implements
47526 to always fail with ENOSYS. Some functions are actually named
47527 something starting with __ and the normal name is an alias. */
47528 #if defined __stub_socket || defined __stub___socket
47540 rm -f conftest.$ac_objext conftest$ac_exeext
47541 if { (ac_try="$ac_link"
47542 case "(($ac_try" in
47543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47544 *) ac_try_echo
=$ac_try;;
47546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47547 (eval "$ac_link") 2>conftest.er1
47549 grep -v '^ *+' conftest.er1
>conftest.err
47551 cat conftest.err
>&5
47552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47553 (exit $ac_status); } && {
47554 test -z "$ac_c_werror_flag" ||
47555 test ! -s conftest.err
47556 } && test -s conftest
$ac_exeext &&
47557 $as_test_x conftest
$ac_exeext; then
47558 ac_cv_func_socket
=yes
47560 echo "$as_me: failed program was:" >&5
47561 sed 's/^/| /' conftest.
$ac_ext >&5
47563 ac_cv_func_socket
=no
47566 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
47567 conftest
$ac_exeext conftest.
$ac_ext
47569 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
47570 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
47571 if test $ac_cv_func_socket = yes; then
47575 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
47576 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
47577 if test "${ac_cv_lib_socket_socket+set}" = set; then
47578 echo $ECHO_N "(cached) $ECHO_C" >&6
47580 ac_check_lib_save_LIBS
=$LIBS
47581 LIBS
="-lsocket $LIBS"
47582 cat >conftest.
$ac_ext <<_ACEOF
47585 cat confdefs.h
>>conftest.
$ac_ext
47586 cat >>conftest.
$ac_ext <<_ACEOF
47587 /* end confdefs.h. */
47589 /* Override any GCC internal prototype to avoid an error.
47590 Use char because int might match the return type of a GCC
47591 builtin and then its argument prototype would still apply. */
47604 rm -f conftest.
$ac_objext conftest
$ac_exeext
47605 if { (ac_try
="$ac_link"
47606 case "(($ac_try" in
47607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47608 *) ac_try_echo=$ac_try;;
47610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47611 (eval "$ac_link") 2>conftest.er1
47613 grep -v '^ *+' conftest.er1 >conftest.err
47615 cat conftest.err >&5
47616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47617 (exit $ac_status); } && {
47618 test -z "$ac_c_werror_flag" ||
47619 test ! -s conftest.err
47620 } && test -s conftest$ac_exeext &&
47621 $as_test_x conftest$ac_exeext; then
47622 ac_cv_lib_socket_socket=yes
47624 echo "$as_me: failed program was:" >&5
47625 sed 's/^/| /' conftest.$ac_ext >&5
47627 ac_cv_lib_socket_socket=no
47630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47631 conftest$ac_exeext conftest.$ac_ext
47632 LIBS=$ac_check_lib_save_LIBS
47634 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
47635 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
47636 if test $ac_cv_lib_socket_socket = yes; then
47637 if test "$INET_LINK" != " -lsocket"; then
47638 INET_LINK="$INET_LINK -lsocket"
47642 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47643 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47656 if test "$wxUSE_SOCKETS" = "yes" ; then
47657 if test "$TOOLKIT" != "MSW"; then
47658 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47659 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
47660 if test "${wx_cv_type_getsockname3+set}" = set; then
47661 echo $ECHO_N "(cached) $ECHO_C" >&6
47665 ac_cpp='$CXXCPP $CPPFLAGS'
47666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47670 cat >conftest.$ac_ext <<_ACEOF
47673 cat confdefs.h >>conftest.$ac_ext
47674 cat >>conftest.$ac_ext <<_ACEOF
47675 /* end confdefs.h. */
47677 #include <sys/types.h>
47678 #include <sys/socket.h>
47685 getsockname(0, 0, &len);
47691 rm -f conftest.$ac_objext
47692 if { (ac_try="$ac_compile"
47693 case "(($ac_try" in
47694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47695 *) ac_try_echo
=$ac_try;;
47697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47698 (eval "$ac_compile") 2>conftest.er1
47700 grep -v '^ *+' conftest.er1
>conftest.err
47702 cat conftest.err
>&5
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); } && {
47705 test -z "$ac_cxx_werror_flag" ||
47706 test ! -s conftest.err
47707 } && test -s conftest.
$ac_objext; then
47708 wx_cv_type_getsockname3
=socklen_t
47710 echo "$as_me: failed program was:" >&5
47711 sed 's/^/| /' conftest.
$ac_ext >&5
47714 CFLAGS_OLD
="$CFLAGS"
47715 if test "$GCC" = yes ; then
47716 CFLAGS
="-Werror $CFLAGS"
47719 cat >conftest.
$ac_ext <<_ACEOF
47722 cat confdefs.h
>>conftest.
$ac_ext
47723 cat >>conftest.
$ac_ext <<_ACEOF
47724 /* end confdefs.h. */
47726 #include <sys/types.h>
47727 #include <sys/socket.h>
47734 getsockname(0, 0, &len);
47740 rm -f conftest.
$ac_objext
47741 if { (ac_try
="$ac_compile"
47742 case "(($ac_try" in
47743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47744 *) ac_try_echo=$ac_try;;
47746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47747 (eval "$ac_compile") 2>conftest.er1
47749 grep -v '^ *+' conftest.er1 >conftest.err
47751 cat conftest.err >&5
47752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47753 (exit $ac_status); } && {
47754 test -z "$ac_cxx_werror_flag" ||
47755 test ! -s conftest.err
47756 } && test -s conftest.$ac_objext; then
47757 wx_cv_type_getsockname3=size_t
47759 echo "$as_me: failed program was:" >&5
47760 sed 's/^/| /' conftest.$ac_ext >&5
47762 cat >conftest.$ac_ext <<_ACEOF
47765 cat confdefs.h >>conftest.$ac_ext
47766 cat >>conftest.$ac_ext <<_ACEOF
47767 /* end confdefs.h. */
47769 #include <sys/types.h>
47770 #include <sys/socket.h>
47777 getsockname(0, 0, &len);
47783 rm -f conftest.$ac_objext
47784 if { (ac_try="$ac_compile"
47785 case "(($ac_try" in
47786 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47787 *) ac_try_echo
=$ac_try;;
47789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47790 (eval "$ac_compile") 2>conftest.er1
47792 grep -v '^ *+' conftest.er1
>conftest.err
47794 cat conftest.err
>&5
47795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47796 (exit $ac_status); } && {
47797 test -z "$ac_cxx_werror_flag" ||
47798 test ! -s conftest.err
47799 } && test -s conftest.
$ac_objext; then
47800 wx_cv_type_getsockname3
=int
47802 echo "$as_me: failed program was:" >&5
47803 sed 's/^/| /' conftest.
$ac_ext >&5
47805 wx_cv_type_getsockname3
=unknown
47809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47815 CFLAGS
="$CFLAGS_OLD"
47820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47822 ac_cpp
='$CPP $CPPFLAGS'
47823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47829 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47830 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47832 if test "$wx_cv_type_getsockname3" = "unknown"; then
47834 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47835 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47837 cat >>confdefs.h
<<_ACEOF
47838 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47842 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47843 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47844 if test "${wx_cv_type_getsockopt5+set}" = set; then
47845 echo $ECHO_N "(cached) $ECHO_C" >&6
47849 ac_cpp
='$CXXCPP $CPPFLAGS'
47850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47854 cat >conftest.
$ac_ext <<_ACEOF
47857 cat confdefs.h
>>conftest.
$ac_ext
47858 cat >>conftest.
$ac_ext <<_ACEOF
47859 /* end confdefs.h. */
47861 #include <sys/types.h>
47862 #include <sys/socket.h>
47869 getsockopt(0, 0, 0, 0, &len);
47875 rm -f conftest.
$ac_objext
47876 if { (ac_try
="$ac_compile"
47877 case "(($ac_try" in
47878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47879 *) ac_try_echo=$ac_try;;
47881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47882 (eval "$ac_compile") 2>conftest.er1
47884 grep -v '^ *+' conftest.er1 >conftest.err
47886 cat conftest.err >&5
47887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47888 (exit $ac_status); } && {
47889 test -z "$ac_cxx_werror_flag" ||
47890 test ! -s conftest.err
47891 } && test -s conftest.$ac_objext; then
47892 wx_cv_type_getsockopt5=socklen_t
47894 echo "$as_me: failed program was:" >&5
47895 sed 's/^/| /' conftest.$ac_ext >&5
47898 cat >conftest.$ac_ext <<_ACEOF
47901 cat confdefs.h >>conftest.$ac_ext
47902 cat >>conftest.$ac_ext <<_ACEOF
47903 /* end confdefs.h. */
47905 #include <sys/types.h>
47906 #include <sys/socket.h>
47913 getsockopt(0, 0, 0, 0, &len);
47919 rm -f conftest.$ac_objext
47920 if { (ac_try="$ac_compile"
47921 case "(($ac_try" in
47922 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47923 *) ac_try_echo
=$ac_try;;
47925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47926 (eval "$ac_compile") 2>conftest.er1
47928 grep -v '^ *+' conftest.er1
>conftest.err
47930 cat conftest.err
>&5
47931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47932 (exit $ac_status); } && {
47933 test -z "$ac_cxx_werror_flag" ||
47934 test ! -s conftest.err
47935 } && test -s conftest.
$ac_objext; then
47936 wx_cv_type_getsockopt5
=size_t
47938 echo "$as_me: failed program was:" >&5
47939 sed 's/^/| /' conftest.
$ac_ext >&5
47941 cat >conftest.
$ac_ext <<_ACEOF
47944 cat confdefs.h
>>conftest.
$ac_ext
47945 cat >>conftest.
$ac_ext <<_ACEOF
47946 /* end confdefs.h. */
47948 #include <sys/types.h>
47949 #include <sys/socket.h>
47956 getsockopt(0, 0, 0, 0, &len);
47962 rm -f conftest.
$ac_objext
47963 if { (ac_try
="$ac_compile"
47964 case "(($ac_try" in
47965 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47966 *) ac_try_echo=$ac_try;;
47968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47969 (eval "$ac_compile") 2>conftest.er1
47971 grep -v '^ *+' conftest.er1 >conftest.err
47973 cat conftest.err >&5
47974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47975 (exit $ac_status); } && {
47976 test -z "$ac_cxx_werror_flag" ||
47977 test ! -s conftest.err
47978 } && test -s conftest.$ac_objext; then
47979 wx_cv_type_getsockopt5=int
47981 echo "$as_me: failed program was:" >&5
47982 sed 's/^/| /' conftest.$ac_ext >&5
47984 wx_cv_type_getsockopt5=unknown
47988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47999 ac_cpp='$CPP $CPPFLAGS'
48000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48006 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48007 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48009 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48011 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48012 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48014 cat >>confdefs.h <<_ACEOF
48015 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48022 if test "$wxUSE_SOCKETS" = "yes" ; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_SOCKETS 1
48027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48030 if test "$wxUSE_PROTOCOL" = "yes"; then
48031 if test "$wxUSE_SOCKETS" != "yes"; then
48032 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
48033 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
48038 if test "$wxUSE_PROTOCOL" = "yes"; then
48039 cat >>confdefs.h <<\_ACEOF
48040 #define wxUSE_PROTOCOL 1
48044 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
48045 cat >>confdefs.h <<\_ACEOF
48046 #define wxUSE_PROTOCOL_HTTP 1
48050 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
48051 cat >>confdefs.h <<\_ACEOF
48052 #define wxUSE_PROTOCOL_FTP 1
48056 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
48057 cat >>confdefs.h <<\_ACEOF
48058 #define wxUSE_PROTOCOL_FILE 1
48063 if test "$wxUSE_FS_INET" = "yes"; then
48064 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
48065 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
48070 if test "$wxUSE_URL" = "yes"; then
48071 if test "$wxUSE_PROTOCOL" != "yes"; then
48072 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
48073 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
48076 if test "$wxUSE_URL" = "yes"; then
48077 cat >>confdefs.h <<\_ACEOF
48078 #define wxUSE_URL 1
48084 if test "$wxUSE_VARIANT" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_VARIANT 1
48091 if test "$wxUSE_FS_INET" = "yes"; then
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_FS_INET 1
48099 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
48102 if test "$TOOLKIT" = "MSW"; then
48105 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
48106 if test "$USE_DARWIN" = 1; then
48107 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
48108 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
48110 ac_cpp='$CXXCPP $CPPFLAGS'
48111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48115 cat >conftest.$ac_ext <<_ACEOF
48118 cat confdefs.h >>conftest.$ac_ext
48119 cat >>conftest.$ac_ext <<_ACEOF
48120 /* end confdefs.h. */
48121 #include <IOKit/hid/IOHIDLib.h>
48125 IOHIDQueueInterface *qi = NULL;
48126 IOHIDCallbackFunction cb = NULL;
48127 qi->setEventCallout(NULL, cb, NULL, NULL);
48132 rm -f conftest.$ac_objext
48133 if { (ac_try="$ac_compile"
48134 case "(($ac_try" in
48135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48136 *) ac_try_echo
=$ac_try;;
48138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48139 (eval "$ac_compile") 2>conftest.er1
48141 grep -v '^ *+' conftest.er1
>conftest.err
48143 cat conftest.err
>&5
48144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48145 (exit $ac_status); } && {
48146 test -z "$ac_cxx_werror_flag" ||
48147 test ! -s conftest.err
48148 } && test -s conftest.
$ac_objext; then
48152 echo "$as_me: failed program was:" >&5
48153 sed 's/^/| /' conftest.
$ac_ext >&5
48158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48160 ac_cpp
='$CPP $CPPFLAGS'
48161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48165 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
48166 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
48170 if test "$wxUSE_MGL" != "1"; then
48172 for ac_header
in linux
/joystick.h
48174 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
48175 { echo "$as_me:$LINENO: checking for $ac_header" >&5
48176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
48177 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
48178 echo $ECHO_N "(cached) $ECHO_C" >&6
48180 cat >conftest.
$ac_ext <<_ACEOF
48183 cat confdefs.h
>>conftest.
$ac_ext
48184 cat >>conftest.
$ac_ext <<_ACEOF
48185 /* end confdefs.h. */
48186 $ac_includes_default
48188 #include <$ac_header>
48190 rm -f conftest.
$ac_objext
48191 if { (ac_try
="$ac_compile"
48192 case "(($ac_try" in
48193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48194 *) ac_try_echo=$ac_try;;
48196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48197 (eval "$ac_compile") 2>conftest.er1
48199 grep -v '^ *+' conftest.er1 >conftest.err
48201 cat conftest.err >&5
48202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48203 (exit $ac_status); } && {
48204 test -z "$ac_c_werror_flag" ||
48205 test ! -s conftest.err
48206 } && test -s conftest.$ac_objext; then
48207 eval "$as_ac_Header=yes"
48209 echo "$as_me: failed program was:" >&5
48210 sed 's/^/| /' conftest.$ac_ext >&5
48212 eval "$as_ac_Header=no"
48215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48217 ac_res=`eval echo '${'$as_ac_Header'}'`
48218 { echo "$as_me:$LINENO: result: $ac_res" >&5
48219 echo "${ECHO_T}$ac_res" >&6; }
48220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48221 cat >>confdefs.h <<_ACEOF
48222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48232 if test "$wxUSE_JOYSTICK" = "yes"; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_JOYSTICK 1
48237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
48239 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
48240 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
48246 if test "$wxUSE_FONTENUM" = "yes" ; then
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_FONTENUM 1
48253 if test "$wxUSE_FONTMAP" = "yes" ; then
48254 cat >>confdefs.h <<\_ACEOF
48255 #define wxUSE_FONTMAP 1
48260 if test "$wxUSE_UNICODE" = "yes" ; then
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_UNICODE 1
48266 if test "$USE_WIN32" != 1; then
48267 wxUSE_UNICODE_MSLU=no
48270 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
48271 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
48272 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
48273 if test "${ac_cv_lib_unicows_main+set}" = set; then
48274 echo $ECHO_N "(cached) $ECHO_C" >&6
48276 ac_check_lib_save_LIBS=$LIBS
48277 LIBS="-lunicows $LIBS"
48278 cat >conftest.$ac_ext <<_ACEOF
48281 cat confdefs.h >>conftest.$ac_ext
48282 cat >>conftest.$ac_ext <<_ACEOF
48283 /* end confdefs.h. */
48294 rm -f conftest.$ac_objext conftest$ac_exeext
48295 if { (ac_try="$ac_link"
48296 case "(($ac_try" in
48297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48298 *) ac_try_echo
=$ac_try;;
48300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48301 (eval "$ac_link") 2>conftest.er1
48303 grep -v '^ *+' conftest.er1
>conftest.err
48305 cat conftest.err
>&5
48306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48307 (exit $ac_status); } && {
48308 test -z "$ac_c_werror_flag" ||
48309 test ! -s conftest.err
48310 } && test -s conftest
$ac_exeext &&
48311 $as_test_x conftest
$ac_exeext; then
48312 ac_cv_lib_unicows_main
=yes
48314 echo "$as_me: failed program was:" >&5
48315 sed 's/^/| /' conftest.
$ac_ext >&5
48317 ac_cv_lib_unicows_main
=no
48320 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
48321 conftest
$ac_exeext conftest.
$ac_ext
48322 LIBS
=$ac_check_lib_save_LIBS
48324 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
48325 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
48326 if test $ac_cv_lib_unicows_main = yes; then
48328 cat >>confdefs.h
<<\_ACEOF
48329 #define wxUSE_UNICODE_MSLU 1
48335 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
48336 Applications will only run on Windows NT/2000/XP!" >&5
48337 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
48338 Applications will only run on Windows NT/2000/XP!" >&2;}
48339 wxUSE_UNICODE_MSLU
=no
48346 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
48347 cat >>confdefs.h
<<\_ACEOF
48348 #define wxUSE_UNICODE_UTF8 1
48352 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
48353 cat >>confdefs.h
<<\_ACEOF
48354 #define wxUSE_UTF8_LOCALE_ONLY 1
48361 if test "$wxUSE_CONSTRAINTS" = "yes"; then
48362 cat >>confdefs.h
<<\_ACEOF
48363 #define wxUSE_CONSTRAINTS 1
48366 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
48369 if test "$wxUSE_MDI" = "yes"; then
48370 cat >>confdefs.h
<<\_ACEOF
48371 #define wxUSE_MDI 1
48375 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
48376 cat >>confdefs.h
<<\_ACEOF
48377 #define wxUSE_MDI_ARCHITECTURE 1
48380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
48384 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
48385 cat >>confdefs.h
<<\_ACEOF
48386 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
48389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
48390 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
48391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
48395 if test "$wxUSE_HELP" = "yes"; then
48396 cat >>confdefs.h
<<\_ACEOF
48397 #define wxUSE_HELP 1
48400 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
48402 if test "$wxUSE_MSW" = 1; then
48403 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
48404 cat >>confdefs.h
<<\_ACEOF
48405 #define wxUSE_MS_HTML_HELP 1
48411 if test "$wxUSE_WXHTML_HELP" = "yes"; then
48412 if test "$wxUSE_HTML" = "yes"; then
48413 cat >>confdefs.h
<<\_ACEOF
48414 #define wxUSE_WXHTML_HELP 1
48418 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
48419 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
48420 wxUSE_WXHTML_HELP
=no
48425 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
48426 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48427 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
48428 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
48430 cat >>confdefs.h
<<\_ACEOF
48431 #define wxUSE_PRINTING_ARCHITECTURE 1
48435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
48438 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
48439 cat >>confdefs.h
<<\_ACEOF
48440 #define wxUSE_POSTSCRIPT 1
48445 cat >>confdefs.h
<<\_ACEOF
48446 #define wxUSE_AFM_FOR_POSTSCRIPT 1
48450 if test "$wxUSE_SVG" = "yes"; then
48451 cat >>confdefs.h
<<\_ACEOF
48452 #define wxUSE_SVG 1
48458 if test "$wxUSE_METAFILE" = "yes"; then
48459 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
48460 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
48461 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
48467 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
48468 -o "$wxUSE_CLIPBOARD" = "yes" \
48469 -o "$wxUSE_OLE" = "yes" \
48470 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
48471 { echo "$as_me:$LINENO: checking for ole2.h" >&5
48472 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
48473 if test "${ac_cv_header_ole2_h+set}" = set; then
48474 echo $ECHO_N "(cached) $ECHO_C" >&6
48476 cat >conftest.
$ac_ext <<_ACEOF
48479 cat confdefs.h
>>conftest.
$ac_ext
48480 cat >>conftest.
$ac_ext <<_ACEOF
48481 /* end confdefs.h. */
48486 rm -f conftest.
$ac_objext
48487 if { (ac_try
="$ac_compile"
48488 case "(($ac_try" in
48489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48490 *) ac_try_echo=$ac_try;;
48492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48493 (eval "$ac_compile") 2>conftest.er1
48495 grep -v '^ *+' conftest.er1 >conftest.err
48497 cat conftest.err >&5
48498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48499 (exit $ac_status); } && {
48500 test -z "$ac_c_werror_flag" ||
48501 test ! -s conftest.err
48502 } && test -s conftest.$ac_objext; then
48503 ac_cv_header_ole2_h=yes
48505 echo "$as_me: failed program was:" >&5
48506 sed 's/^/| /' conftest.$ac_ext >&5
48508 ac_cv_header_ole2_h=no
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48513 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
48514 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
48518 if test "$ac_cv_header_ole2_h" = "yes" ; then
48519 if test "$GCC" = yes ; then
48520 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
48521 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
48522 cat >conftest.$ac_ext <<_ACEOF
48525 cat confdefs.h >>conftest.$ac_ext
48526 cat >>conftest.$ac_ext <<_ACEOF
48527 /* end confdefs.h. */
48528 #include <windows.h>
48538 rm -f conftest.$ac_objext
48539 if { (ac_try="$ac_compile"
48540 case "(($ac_try" in
48541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48542 *) ac_try_echo
=$ac_try;;
48544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48545 (eval "$ac_compile") 2>conftest.er1
48547 grep -v '^ *+' conftest.er1
>conftest.err
48549 cat conftest.err
>&5
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); } && {
48552 test -z "$ac_c_werror_flag" ||
48553 test ! -s conftest.err
48554 } && test -s conftest.
$ac_objext; then
48555 { echo "$as_me:$LINENO: result: no" >&5
48556 echo "${ECHO_T}no" >&6; }
48558 echo "$as_me: failed program was:" >&5
48559 sed 's/^/| /' conftest.
$ac_ext >&5
48561 { echo "$as_me:$LINENO: result: yes" >&5
48562 echo "${ECHO_T}yes" >&6; }
48563 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
48566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48567 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
48568 if test "$wxUSE_OLE" = "yes" ; then
48569 cat >>confdefs.h
<<\_ACEOF
48570 #define wxUSE_OLE 1
48573 cat >>confdefs.h
<<\_ACEOF
48574 #define wxUSE_OLE_AUTOMATION 1
48577 cat >>confdefs.h
<<\_ACEOF
48578 #define wxUSE_ACTIVEX 1
48581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
48585 if test "$wxUSE_DATAOBJ" = "yes" ; then
48586 cat >>confdefs.h
<<\_ACEOF
48587 #define wxUSE_DATAOBJ 1
48592 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
48593 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
48596 wxUSE_DRAG_AND_DROP
=no
48601 if test "$wxUSE_METAFILE" = "yes"; then
48602 cat >>confdefs.h
<<\_ACEOF
48603 #define wxUSE_METAFILE 1
48607 cat >>confdefs.h
<<\_ACEOF
48608 #define wxUSE_ENH_METAFILE 1
48614 if test "$wxUSE_IPC" = "yes"; then
48615 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
48616 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
48617 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
48621 if test "$wxUSE_IPC" = "yes"; then
48622 cat >>confdefs.h
<<\_ACEOF
48623 #define wxUSE_IPC 1
48626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
48630 if test "$wxUSE_DATAOBJ" = "yes"; then
48631 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48632 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48633 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48636 cat >>confdefs.h
<<\_ACEOF
48637 #define wxUSE_DATAOBJ 1
48642 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48643 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48645 wxUSE_DRAG_AND_DROP
=no
48648 if test "$wxUSE_CLIPBOARD" = "yes"; then
48649 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48650 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48651 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48655 if test "$wxUSE_CLIPBOARD" = "yes"; then
48656 cat >>confdefs.h
<<\_ACEOF
48657 #define wxUSE_CLIPBOARD 1
48663 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48664 if test "$wxUSE_GTK" = 1; then
48665 if test "$WXGTK12" != 1; then
48666 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48667 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48668 wxUSE_DRAG_AND_DROP
=no
48672 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48673 "$wxUSE_DFB" = 1; then
48674 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48675 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48676 wxUSE_DRAG_AND_DROP
=no
48679 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48680 cat >>confdefs.h
<<\_ACEOF
48681 #define wxUSE_DRAG_AND_DROP 1
48688 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
48692 if test "$wxUSE_SPLINES" = "yes" ; then
48693 cat >>confdefs.h
<<\_ACEOF
48694 #define wxUSE_SPLINES 1
48699 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48700 cat >>confdefs.h
<<\_ACEOF
48701 #define wxUSE_MOUSEWHEEL 1
48708 if test "$wxUSE_CONTROLS" = "yes"; then
48712 if test "$wxUSE_ACCEL" = "yes"; then
48713 cat >>confdefs.h
<<\_ACEOF
48714 #define wxUSE_ACCEL 1
48720 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48721 cat >>confdefs.h
<<\_ACEOF
48722 #define wxUSE_ANIMATIONCTRL 1
48726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
48729 if test "$wxUSE_BUTTON" = "yes"; then
48730 cat >>confdefs.h
<<\_ACEOF
48731 #define wxUSE_BUTTON 1
48737 if test "$wxUSE_BMPBUTTON" = "yes"; then
48738 cat >>confdefs.h
<<\_ACEOF
48739 #define wxUSE_BMPBUTTON 1
48745 if test "$wxUSE_CALCTRL" = "yes"; then
48746 cat >>confdefs.h
<<\_ACEOF
48747 #define wxUSE_CALENDARCTRL 1
48751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
48754 if test "$wxUSE_CARET" = "yes"; then
48755 cat >>confdefs.h
<<\_ACEOF
48756 #define wxUSE_CARET 1
48760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
48763 if test "$wxUSE_COLLPANE" = "yes"; then
48764 cat >>confdefs.h
<<\_ACEOF
48765 #define wxUSE_COLLPANE 1
48769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
48772 if test "$wxUSE_COMBOBOX" = "yes"; then
48773 cat >>confdefs.h
<<\_ACEOF
48774 #define wxUSE_COMBOBOX 1
48780 if test "$wxUSE_COMBOCTRL" = "yes"; then
48781 cat >>confdefs.h
<<\_ACEOF
48782 #define wxUSE_COMBOCTRL 1
48788 if test "$wxUSE_CHOICE" = "yes"; then
48789 cat >>confdefs.h
<<\_ACEOF
48790 #define wxUSE_CHOICE 1
48796 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48797 cat >>confdefs.h
<<\_ACEOF
48798 #define wxUSE_CHOICEBOOK 1
48804 if test "$wxUSE_CHECKBOX" = "yes"; then
48805 cat >>confdefs.h
<<\_ACEOF
48806 #define wxUSE_CHECKBOX 1
48812 if test "$wxUSE_CHECKLST" = "yes"; then
48813 cat >>confdefs.h
<<\_ACEOF
48814 #define wxUSE_CHECKLISTBOX 1
48820 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48821 cat >>confdefs.h
<<\_ACEOF
48822 #define wxUSE_COLOURPICKERCTRL 1
48828 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48829 cat >>confdefs.h
<<\_ACEOF
48830 #define wxUSE_DATEPICKCTRL 1
48836 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48837 cat >>confdefs.h
<<\_ACEOF
48838 #define wxUSE_DIRPICKERCTRL 1
48844 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48845 cat >>confdefs.h
<<\_ACEOF
48846 #define wxUSE_FILEPICKERCTRL 1
48852 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48853 cat >>confdefs.h
<<\_ACEOF
48854 #define wxUSE_FONTPICKERCTRL 1
48860 if test "$wxUSE_DISPLAY" = "yes"; then
48861 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48862 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48863 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48866 cat >>confdefs.h
<<\_ACEOF
48867 #define wxUSE_DISPLAY 1
48870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
48874 if test "$wxUSE_DETECT_SM" = "yes"; then
48875 cat >>confdefs.h
<<\_ACEOF
48876 #define wxUSE_DETECT_SM 1
48881 if test "$wxUSE_GAUGE" = "yes"; then
48882 cat >>confdefs.h
<<\_ACEOF
48883 #define wxUSE_GAUGE 1
48889 if test "$wxUSE_GRID" = "yes"; then
48890 cat >>confdefs.h
<<\_ACEOF
48891 #define wxUSE_GRID 1
48895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
48898 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48899 cat >>confdefs.h
<<\_ACEOF
48900 #define wxUSE_HYPERLINKCTRL 1
48906 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48907 cat >>confdefs.h
<<\_ACEOF
48908 #define wxUSE_BITMAPCOMBOBOX 1
48914 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48915 cat >>confdefs.h
<<\_ACEOF
48916 #define wxUSE_DATAVIEWCTRL 1
48920 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
48923 if test "$wxUSE_IMAGLIST" = "yes"; then
48924 cat >>confdefs.h
<<\_ACEOF
48925 #define wxUSE_IMAGLIST 1
48930 if test "$wxUSE_LISTBOOK" = "yes"; then
48931 cat >>confdefs.h
<<\_ACEOF
48932 #define wxUSE_LISTBOOK 1
48938 if test "$wxUSE_LISTBOX" = "yes"; then
48939 cat >>confdefs.h
<<\_ACEOF
48940 #define wxUSE_LISTBOX 1
48946 if test "$wxUSE_LISTCTRL" = "yes"; then
48947 if test "$wxUSE_IMAGLIST" = "yes"; then
48948 cat >>confdefs.h
<<\_ACEOF
48949 #define wxUSE_LISTCTRL 1
48953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
48955 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48956 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48960 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48961 cat >>confdefs.h
<<\_ACEOF
48962 #define wxUSE_EDITABLELISTBOX 1
48966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
48969 if test "$wxUSE_NOTEBOOK" = "yes"; then
48970 cat >>confdefs.h
<<\_ACEOF
48971 #define wxUSE_NOTEBOOK 1
48975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
48978 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48979 cat >>confdefs.h
<<\_ACEOF
48980 #define wxUSE_ODCOMBOBOX 1
48984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
48987 if test "$wxUSE_RADIOBOX" = "yes"; then
48988 cat >>confdefs.h
<<\_ACEOF
48989 #define wxUSE_RADIOBOX 1
48995 if test "$wxUSE_RADIOBTN" = "yes"; then
48996 cat >>confdefs.h
<<\_ACEOF
48997 #define wxUSE_RADIOBTN 1
49003 if test "$wxUSE_SASH" = "yes"; then
49004 cat >>confdefs.h
<<\_ACEOF
49005 #define wxUSE_SASH 1
49008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
49011 if test "$wxUSE_SCROLLBAR" = "yes"; then
49012 cat >>confdefs.h
<<\_ACEOF
49013 #define wxUSE_SCROLLBAR 1
49017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
49020 if test "$wxUSE_SEARCHCTRL" = "yes"; then
49021 cat >>confdefs.h
<<\_ACEOF
49022 #define wxUSE_SEARCHCTRL 1
49028 if test "$wxUSE_SLIDER" = "yes"; then
49029 cat >>confdefs.h
<<\_ACEOF
49030 #define wxUSE_SLIDER 1
49036 if test "$wxUSE_SPINBTN" = "yes"; then
49037 cat >>confdefs.h
<<\_ACEOF
49038 #define wxUSE_SPINBTN 1
49044 if test "$wxUSE_SPINCTRL" = "yes"; then
49045 cat >>confdefs.h
<<\_ACEOF
49046 #define wxUSE_SPINCTRL 1
49052 if test "$wxUSE_SPLITTER" = "yes"; then
49053 cat >>confdefs.h
<<\_ACEOF
49054 #define wxUSE_SPLITTER 1
49057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
49060 if test "$wxUSE_STATBMP" = "yes"; then
49061 cat >>confdefs.h
<<\_ACEOF
49062 #define wxUSE_STATBMP 1
49068 if test "$wxUSE_STATBOX" = "yes"; then
49069 cat >>confdefs.h
<<\_ACEOF
49070 #define wxUSE_STATBOX 1
49076 if test "$wxUSE_STATTEXT" = "yes"; then
49077 cat >>confdefs.h
<<\_ACEOF
49078 #define wxUSE_STATTEXT 1
49084 if test "$wxUSE_STATLINE" = "yes"; then
49085 cat >>confdefs.h
<<\_ACEOF
49086 #define wxUSE_STATLINE 1
49092 if test "$wxUSE_STATUSBAR" = "yes"; then
49093 cat >>confdefs.h
<<\_ACEOF
49094 #define wxUSE_NATIVE_STATUSBAR 1
49097 cat >>confdefs.h
<<\_ACEOF
49098 #define wxUSE_STATUSBAR 1
49103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
49106 if test "$wxUSE_TAB_DIALOG" = "yes"; then
49107 cat >>confdefs.h
<<\_ACEOF
49108 #define wxUSE_TAB_DIALOG 1
49113 if test "$wxUSE_TEXTCTRL" = "yes"; then
49114 cat >>confdefs.h
<<\_ACEOF
49115 #define wxUSE_TEXTCTRL 1
49119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
49122 if test "$wxUSE_TOGGLEBTN" = "yes"; then
49123 if test "$wxUSE_COCOA" = 1 ; then
49124 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
49125 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
49129 if test "$wxUSE_TOGGLEBTN" = "yes"; then
49130 cat >>confdefs.h
<<\_ACEOF
49131 #define wxUSE_TOGGLEBTN 1
49138 if test "$wxUSE_TOOLBAR" = "yes"; then
49139 cat >>confdefs.h
<<\_ACEOF
49140 #define wxUSE_TOOLBAR 1
49145 if test "$wxUSE_UNIVERSAL" = "yes"; then
49146 wxUSE_TOOLBAR_NATIVE
="no"
49148 wxUSE_TOOLBAR_NATIVE
="yes"
49149 cat >>confdefs.h
<<\_ACEOF
49150 #define wxUSE_TOOLBAR_NATIVE 1
49155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
49158 if test "$wxUSE_TOOLTIPS" = "yes"; then
49159 if test "$wxUSE_MOTIF" = 1; then
49160 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
49161 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
49163 if test "$wxUSE_UNIVERSAL" = "yes"; then
49164 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
49165 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
49167 cat >>confdefs.h
<<\_ACEOF
49168 #define wxUSE_TOOLTIPS 1
49175 if test "$wxUSE_TREEBOOK" = "yes"; then
49176 cat >>confdefs.h
<<\_ACEOF
49177 #define wxUSE_TREEBOOK 1
49183 if test "$wxUSE_TOOLBOOK" = "yes"; then
49184 cat >>confdefs.h
<<\_ACEOF
49185 #define wxUSE_TOOLBOOK 1
49191 if test "$wxUSE_TREECTRL" = "yes"; then
49192 if test "$wxUSE_IMAGLIST" = "yes"; then
49193 cat >>confdefs.h
<<\_ACEOF
49194 #define wxUSE_TREECTRL 1
49198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
49200 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
49201 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
49205 if test "$wxUSE_POPUPWIN" = "yes"; then
49206 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
49207 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
49208 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
49210 if test "$wxUSE_PM" = 1; then
49211 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
49212 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
49214 cat >>confdefs.h
<<\_ACEOF
49215 #define wxUSE_POPUPWIN 1
49218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
49225 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
49226 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
49227 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
49228 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
49230 cat >>confdefs.h
<<\_ACEOF
49231 #define wxUSE_DIALUP_MANAGER 1
49234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
49238 if test "$wxUSE_TIPWINDOW" = "yes"; then
49239 if test "$wxUSE_PM" = 1; then
49240 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
49241 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
49243 cat >>confdefs.h
<<\_ACEOF
49244 #define wxUSE_TIPWINDOW 1
49250 if test "$USES_CONTROLS" = 1; then
49251 cat >>confdefs.h
<<\_ACEOF
49252 #define wxUSE_CONTROLS 1
49258 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
49259 cat >>confdefs.h
<<\_ACEOF
49260 #define wxUSE_ACCESSIBILITY 1
49263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
49266 if test "$wxUSE_DRAGIMAGE" = "yes"; then
49267 cat >>confdefs.h
<<\_ACEOF
49268 #define wxUSE_DRAGIMAGE 1
49271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
49274 if test "$wxUSE_EXCEPTIONS" = "yes"; then
49275 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
49276 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
49277 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
49279 cat >>confdefs.h
<<\_ACEOF
49280 #define wxUSE_EXCEPTIONS 1
49283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
49288 if test "$wxUSE_HTML" = "yes"; then
49289 cat >>confdefs.h
<<\_ACEOF
49290 #define wxUSE_HTML 1
49294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
49295 if test "$wxUSE_MAC" = 1; then
49296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
49299 if test "$wxUSE_WEBKIT" = "yes"; then
49300 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
49301 old_CPPFLAGS
="$CPPFLAGS"
49302 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
49303 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
49304 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
49305 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
49306 echo $ECHO_N "(cached) $ECHO_C" >&6
49308 cat >conftest.
$ac_ext <<_ACEOF
49311 cat confdefs.h
>>conftest.
$ac_ext
49312 cat >>conftest.
$ac_ext <<_ACEOF
49313 /* end confdefs.h. */
49315 #include <Carbon/Carbon.h>
49316 #include <WebKit/WebKit.h>
49319 #include <WebKit/HIWebView.h>
49321 rm -f conftest.
$ac_objext
49322 if { (ac_try
="$ac_compile"
49323 case "(($ac_try" in
49324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49325 *) ac_try_echo=$ac_try;;
49327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49328 (eval "$ac_compile") 2>conftest.er1
49330 grep -v '^ *+' conftest.er1 >conftest.err
49332 cat conftest.err >&5
49333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49334 (exit $ac_status); } && {
49335 test -z "$ac_c_werror_flag" ||
49336 test ! -s conftest.err
49337 } && test -s conftest.$ac_objext; then
49338 ac_cv_header_WebKit_HIWebView_h=yes
49340 echo "$as_me: failed program was:" >&5
49341 sed 's/^/| /' conftest.$ac_ext >&5
49343 ac_cv_header_WebKit_HIWebView_h=no
49346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49348 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
49349 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
49350 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
49352 cat >>confdefs.h <<\_ACEOF
49353 #define wxUSE_WEBKIT 1
49356 WEBKIT_LINK="-framework WebKit"
49360 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
49361 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
49367 CPPFLAGS="$old_CPPFLAGS"
49368 elif test "$wxUSE_COCOA" = 1; then
49369 cat >>confdefs.h <<\_ACEOF
49370 #define wxUSE_WEBKIT 1
49379 if test "$wxUSE_XRC" = "yes"; then
49380 if test "$wxUSE_XML" != "yes"; then
49381 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
49382 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
49385 cat >>confdefs.h <<\_ACEOF
49386 #define wxUSE_XRC 1
49390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
49395 if test "$wxUSE_AUI" = "yes"; then
49396 cat >>confdefs.h <<\_ACEOF
49397 #define wxUSE_AUI 1
49401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
49405 if test "$wxUSE_STC" = "yes"; then
49406 cat >>confdefs.h <<\_ACEOF
49407 #define wxUSE_STC 1
49411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
49414 if test "$wxUSE_MENUS" = "yes"; then
49415 cat >>confdefs.h <<\_ACEOF
49416 #define wxUSE_MENUS 1
49419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
49422 if test "$wxUSE_METAFILE" = "yes"; then
49423 cat >>confdefs.h <<\_ACEOF
49424 #define wxUSE_METAFILE 1
49429 if test "$wxUSE_MIMETYPE" = "yes"; then
49430 cat >>confdefs.h <<\_ACEOF
49431 #define wxUSE_MIMETYPE 1
49436 if test "$wxUSE_MINIFRAME" = "yes"; then
49437 cat >>confdefs.h <<\_ACEOF
49438 #define wxUSE_MINIFRAME 1
49443 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
49444 cat >>confdefs.h <<\_ACEOF
49445 #define wxUSE_SYSTEM_OPTIONS 1
49450 if test "$wxUSE_TASKBARICON" = "yes"; then
49451 cat >>confdefs.h <<\_ACEOF
49452 #define wxUSE_TASKBARICON 1
49455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
49459 if test "$wxUSE_VALIDATORS" = "yes"; then
49460 cat >>confdefs.h <<\_ACEOF
49461 #define wxUSE_VALIDATORS 1
49464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
49467 if test "$wxUSE_PALETTE" = "yes" ; then
49468 if test "$wxUSE_DFB" = 1; then
49469 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
49470 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
49473 cat >>confdefs.h <<\_ACEOF
49474 #define wxUSE_PALETTE 1
49480 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
49481 LIBS=" -lunicows $LIBS"
49485 if test "$wxUSE_RICHTEXT" = "yes"; then
49486 cat >>confdefs.h <<\_ACEOF
49487 #define wxUSE_RICHTEXT 1
49491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
49495 if test "$wxUSE_IMAGE" = "yes" ; then
49496 cat >>confdefs.h <<\_ACEOF
49497 #define wxUSE_IMAGE 1
49501 if test "$wxUSE_GIF" = "yes" ; then
49502 cat >>confdefs.h <<\_ACEOF
49503 #define wxUSE_GIF 1
49508 if test "$wxUSE_PCX" = "yes" ; then
49509 cat >>confdefs.h <<\_ACEOF
49510 #define wxUSE_PCX 1
49515 if test "$wxUSE_TGA" = "yes" ; then
49516 cat >>confdefs.h <<\_ACEOF
49517 #define wxUSE_TGA 1
49522 if test "$wxUSE_IFF" = "yes" ; then
49523 cat >>confdefs.h <<\_ACEOF
49524 #define wxUSE_IFF 1
49529 if test "$wxUSE_PNM" = "yes" ; then
49530 cat >>confdefs.h <<\_ACEOF
49531 #define wxUSE_PNM 1
49536 if test "$wxUSE_XPM" = "yes" ; then
49537 cat >>confdefs.h <<\_ACEOF
49538 #define wxUSE_XPM 1
49543 if test "$wxUSE_ICO_CUR" = "yes" ; then
49544 cat >>confdefs.h <<\_ACEOF
49545 #define wxUSE_ICO_CUR 1
49552 if test "$wxUSE_ABOUTDLG" = "yes"; then
49553 cat >>confdefs.h <<\_ACEOF
49554 #define wxUSE_ABOUTDLG 1
49559 if test "$wxUSE_CHOICEDLG" = "yes"; then
49560 cat >>confdefs.h <<\_ACEOF
49561 #define wxUSE_CHOICEDLG 1
49566 if test "$wxUSE_COLOURDLG" = "yes"; then
49567 cat >>confdefs.h <<\_ACEOF
49568 #define wxUSE_COLOURDLG 1
49573 if test "$wxUSE_FILEDLG" = "yes"; then
49574 cat >>confdefs.h <<\_ACEOF
49575 #define wxUSE_FILEDLG 1
49580 if test "$wxUSE_FINDREPLDLG" = "yes"; then
49581 cat >>confdefs.h <<\_ACEOF
49582 #define wxUSE_FINDREPLDLG 1
49587 if test "$wxUSE_FONTDLG" = "yes"; then
49588 cat >>confdefs.h <<\_ACEOF
49589 #define wxUSE_FONTDLG 1
49594 if test "$wxUSE_DIRDLG" = "yes"; then
49595 if test "$wxUSE_TREECTRL" != "yes"; then
49596 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
49597 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
49599 cat >>confdefs.h <<\_ACEOF
49600 #define wxUSE_DIRDLG 1
49606 if test "$wxUSE_MSGDLG" = "yes"; then
49607 cat >>confdefs.h <<\_ACEOF
49608 #define wxUSE_MSGDLG 1
49613 if test "$wxUSE_NUMBERDLG" = "yes"; then
49614 cat >>confdefs.h <<\_ACEOF
49615 #define wxUSE_NUMBERDLG 1
49620 if test "$wxUSE_PROGRESSDLG" = "yes"; then
49621 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49622 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49623 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49625 cat >>confdefs.h <<\_ACEOF
49626 #define wxUSE_PROGRESSDLG 1
49632 if test "$wxUSE_SPLASH" = "yes"; then
49633 cat >>confdefs.h <<\_ACEOF
49634 #define wxUSE_SPLASH 1
49637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
49640 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49641 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49642 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49643 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49645 cat >>confdefs.h <<\_ACEOF
49646 #define wxUSE_STARTUP_TIPS 1
49652 if test "$wxUSE_TEXTDLG" = "yes"; then
49653 cat >>confdefs.h <<\_ACEOF
49654 #define wxUSE_TEXTDLG 1
49659 if test "$wxUSE_WIZARDDLG" = "yes"; then
49660 cat >>confdefs.h <<\_ACEOF
49661 #define wxUSE_WIZARDDLG 1
49664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
49668 if test "$wxUSE_MSW" = 1 ; then
49670 if test "$wxUSE_DC_CACHEING" = "yes"; then
49671 cat >>confdefs.h <<\_ACEOF
49672 #define wxUSE_DC_CACHEING 1
49677 if test "$wxUSE_INICONF" = "yes"; then
49678 cat >>confdefs.h <<\_ACEOF
49679 #define wxUSE_INICONF 1
49684 if test "$wxUSE_DIB" = "yes"; then
49685 cat >>confdefs.h <<\_ACEOF
49686 #define wxUSE_WXDIB 1
49691 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49692 cat >>confdefs.h <<\_ACEOF
49693 #define wxUSE_OWNER_DRAWN 1
49698 if test "$wxUSE_REGKEY" = "yes"; then
49699 cat >>confdefs.h <<\_ACEOF
49700 #define wxUSE_REGKEY 1
49705 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49706 cat >>confdefs.h <<\_ACEOF
49707 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49712 if test "$wxUSE_UXTHEME" = "yes"; then
49713 cat >>confdefs.h <<\_ACEOF
49714 #define wxUSE_UXTHEME 1
49722 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49723 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49724 cat >>confdefs.h <<\_ACEOF
49725 #define wxUSE_GRAPHICS_CONTEXT 1
49728 elif test "$wxUSE_GTK" != 1; then
49729 cat >>confdefs.h <<\_ACEOF
49730 #define wxUSE_GRAPHICS_CONTEXT 1
49736 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49737 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49739 if test -n "$PKG_CONFIG"; then
49740 if test -n "$CAIRO_CFLAGS"; then
49741 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49743 if test -n "$PKG_CONFIG" && \
49744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49745 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49748 (exit $ac_status); }; then
49749 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
49757 if test -n "$PKG_CONFIG"; then
49758 if test -n "$CAIRO_LIBS"; then
49759 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49761 if test -n "$PKG_CONFIG" && \
49762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49763 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49766 (exit $ac_status); }; then
49767 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
49778 if test $pkg_failed = yes; then
49780 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49781 _pkg_short_errors_supported=yes
49783 _pkg_short_errors_supported=no
49785 if test $_pkg_short_errors_supported = yes; then
49786 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49788 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49790 # Put the nasty error message in config.log where it belongs
49791 echo "$CAIRO_PKG_ERRORS" >&5
49793 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49794 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49796 elif test $pkg_failed = untried; then
49797 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49798 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49801 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49802 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49803 { echo "$as_me:$LINENO: result: yes" >&5
49804 echo "${ECHO_T}yes" >&6; }
49805 cat >>confdefs.h <<\_ACEOF
49806 #define wxUSE_GRAPHICS_CONTEXT 1
49816 if test "$wxUSE_MEDIACTRL" = "yes"; then
49819 if test "$wxUSE_GTK" = 1; then
49820 wxUSE_GSTREAMER="no"
49822 GST_VERSION_MAJOR=0
49823 GST_VERSION_MINOR=10
49824 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49826 if test "$wxUSE_GSTREAMER8" = "no"; then
49829 { echo "$as_me:$LINENO: checking for GST" >&5
49830 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49832 if test -n "$PKG_CONFIG"; then
49833 if test -n "$GST_CFLAGS"; then
49834 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49836 if test -n "$PKG_CONFIG" && \
49837 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49838 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49841 (exit $ac_status); }; then
49842 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
49850 if test -n "$PKG_CONFIG"; then
49851 if test -n "$GST_LIBS"; then
49852 pkg_cv_GST_LIBS="$GST_LIBS"
49854 if test -n "$PKG_CONFIG" && \
49855 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49856 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49859 (exit $ac_status); }; then
49860 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
49871 if test $pkg_failed = yes; then
49873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49874 _pkg_short_errors_supported=yes
49876 _pkg_short_errors_supported=no
49878 if test $_pkg_short_errors_supported = yes; then
49879 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49881 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49883 # Put the nasty error message in config.log where it belongs
49884 echo "$GST_PKG_ERRORS" >&5
49887 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49888 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49889 GST_VERSION_MINOR=8
49892 elif test $pkg_failed = untried; then
49894 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49895 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49896 GST_VERSION_MINOR=8
49900 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49901 GST_LIBS=$pkg_cv_GST_LIBS
49902 { echo "$as_me:$LINENO: result: yes" >&5
49903 echo "${ECHO_T}yes" >&6; }
49905 wxUSE_GSTREAMER="yes"
49906 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49910 GST_VERSION_MINOR=8
49913 if test $GST_VERSION_MINOR = "8"; then
49914 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49917 { echo "$as_me:$LINENO: checking for GST" >&5
49918 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49920 if test -n "$PKG_CONFIG"; then
49921 if test -n "$GST_CFLAGS"; then
49922 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49924 if test -n "$PKG_CONFIG" && \
49925 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49926 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49929 (exit $ac_status); }; then
49930 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
49938 if test -n "$PKG_CONFIG"; then
49939 if test -n "$GST_LIBS"; then
49940 pkg_cv_GST_LIBS="$GST_LIBS"
49942 if test -n "$PKG_CONFIG" && \
49943 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49944 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49947 (exit $ac_status); }; then
49948 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
49959 if test $pkg_failed = yes; then
49961 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49962 _pkg_short_errors_supported=yes
49964 _pkg_short_errors_supported=no
49966 if test $_pkg_short_errors_supported = yes; then
49967 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49969 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49971 # Put the nasty error message in config.log where it belongs
49972 echo "$GST_PKG_ERRORS" >&5
49975 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49976 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49978 elif test $pkg_failed = untried; then
49980 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49981 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49984 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49985 GST_LIBS=$pkg_cv_GST_LIBS
49986 { echo "$as_me:$LINENO: result: yes" >&5
49987 echo "${ECHO_T}yes" >&6; }
49988 wxUSE_GSTREAMER="yes"
49993 if test "$wxUSE_GSTREAMER" = "yes"; then
49994 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49995 LIBS="$GST_LIBS $LIBS"
49997 cat >>confdefs.h <<\_ACEOF
49998 #define wxUSE_GSTREAMER 1
50006 if test $USE_MEDIA = 1; then
50007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
50008 cat >>confdefs.h <<\_ACEOF
50009 #define wxUSE_MEDIACTRL 1
50016 if test "$cross_compiling" = "yes"; then
50019 OSINFO=`uname
-s -r -m`
50020 OSINFO="\"$OSINFO\""
50023 cat >>confdefs.h <<_ACEOF
50024 #define WXWIN_OS_DESCRIPTION $OSINFO
50029 if test "x$prefix" != "xNONE"; then
50032 wxPREFIX=$ac_default_prefix
50035 cat >>confdefs.h <<_ACEOF
50036 #define wxINSTALL_PREFIX "$wxPREFIX"
50042 STD_BASE_LIBS="base"
50044 BUILT_WX_LIBS="base"
50045 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
50047 if test "$wxUSE_SOCKETS" = "yes" ; then
50048 STD_BASE_LIBS="net $STD_BASE_LIBS"
50049 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
50051 if test "$wxUSE_ODBC" != "no" ; then
50052 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
50054 if test "$wxUSE_XML" = "yes" ; then
50055 STD_BASE_LIBS="xml $STD_BASE_LIBS"
50056 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
50059 if test "$wxUSE_GUI" = "yes"; then
50060 STD_GUI_LIBS="adv core"
50061 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
50063 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
50064 STD_GUI_LIBS="qa $STD_GUI_LIBS"
50065 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
50067 if test "$wxUSE_ODBC" != "no" ; then
50068 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
50070 if test "$wxUSE_HTML" = "yes" ; then
50071 STD_GUI_LIBS="html $STD_GUI_LIBS"
50072 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
50074 if test "$wxUSE_MEDIACTRL" = "yes" ; then
50075 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
50077 if test "$wxUSE_OPENGL" = "yes" ; then
50078 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
50080 if test "$wxUSE_AUI" = "yes" ; then
50081 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
50083 if test "$wxUSE_STC" = "yes" ; then
50084 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
50086 if test "$wxUSE_XRC" = "yes" ; then
50087 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
50088 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
50099 if test "$wxUSE_MAC" = 1 ; then
50100 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
50101 if test "$USE_DARWIN" = 1; then
50102 LDFLAGS="$LDFLAGS -framework QuickTime"
50104 LDFLAGS="$LDFLAGS -lQuickTimeLib"
50107 if test "$USE_DARWIN" = 1; then
50108 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
50110 LDFLAGS="$LDFLAGS -lCarbonLib"
50113 if test "$wxUSE_COCOA" = 1 ; then
50114 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
50115 if test "$wxUSE_MEDIACTRL" = "yes"; then
50116 LDFLAGS="$LDFLAGS -framework QuickTime"
50119 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
50120 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
50123 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
50125 if test "$wxUSE_GUI" = "yes"; then
50128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
50129 erase event exec font image minimal mobile \
50130 mobile/wxedit mobile/styles render \
50131 shaped svg taborder vscroll widgets"
50133 if test "$wxUSE_MONOLITHIC" != "yes"; then
50134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
50136 if test "$TOOLKIT" = "MSW"; then
50137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
50138 if test "$wxUSE_UNIVERSAL" != "yes"; then
50139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
50142 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
50143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
50146 SAMPLES_SUBDIRS="console"
50150 if test "x$INTELCC" = "xyes" ; then
50151 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
50152 elif test "$GCC" = yes ; then
50153 CWARNINGS="-Wall -Wundef"
50156 if test "x$INTELCXX" = "xyes" ; then
50157 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
50158 elif test "$GXX" = yes ; then
50159 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
50163 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
50164 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
50167 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
50168 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
50169 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
50172 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
50173 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
50174 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
50176 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
50179 if test "x$MWCC" = "xyes"; then
50181 CC="$CC -cwd source -I-"
50182 CXX="$CXX -cwd source -I-"
50187 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
50188 EXTRALIBS_XML="$EXPAT_LINK"
50189 EXTRALIBS_HTML="$MSPACK_LINK"
50190 EXTRALIBS_ODBC="$ODBC_LINK"
50191 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
50192 if test "$wxUSE_GUI" = "yes"; then
50193 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
50195 if test "$wxUSE_OPENGL" = "yes"; then
50196 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
50199 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
50201 WXCONFIG_LIBS="$LIBS"
50203 if test "$wxUSE_REGEX" = "builtin" ; then
50204 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
50206 if test "$wxUSE_EXPAT" = "builtin" ; then
50207 wxconfig_3rdparty="expat $wxconfig_3rdparty"
50209 if test "$wxUSE_ODBC" = "builtin" ; then
50210 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
50212 if test "$wxUSE_LIBTIFF" = "builtin" ; then
50213 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
50215 if test "$wxUSE_LIBJPEG" = "builtin" ; then
50216 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
50218 if test "$wxUSE_LIBPNG" = "builtin" ; then
50219 wxconfig_3rdparty="png $wxconfig_3rdparty"
50221 if test "$wxUSE_ZLIB" = "builtin" ; then
50222 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
50225 for i in $wxconfig_3rdparty ; do
50226 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
50230 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
50233 case "$wxUNIV_THEMES" in
50235 cat >>confdefs.h <<\_ACEOF
50236 #define wxUSE_ALL_THEMES 1
50242 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
50243 cat >>confdefs.h <<_ACEOF
50244 #define wxUSE_THEME_$t 1
50261 if test $wxUSE_MONOLITHIC = "yes" ; then
50267 if test $wxUSE_PLUGINS = "yes" ; then
50273 if test $wxUSE_ODBC != "no" ; then
50279 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
50285 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
50316 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
50327 TOOLKIT_DESC="GTK+"
50328 if test "$WXGTK20" = 1; then
50329 TOOLKIT_DESC="$TOOLKIT_DESC 2"
50330 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
50331 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
50333 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
50334 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
50336 if test "$wxUSE_LIBHILDON" = "yes"; then
50337 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
50340 if test "$TOOLKIT_EXTRA" != ""; then
50341 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
50347 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
50351 TOOLKIT_DESC="base only"
50355 if test "$wxUSE_WINE" = "yes"; then
50356 BAKEFILE_FORCE_PLATFORM=win32
50359 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
50361 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
50362 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
50363 if test "${wx_cv_gcc_pch_bug+set}" = set; then
50364 echo $ECHO_N "(cached) $ECHO_C" >&6
50367 echo '#include <stdio.h>
50368 const wchar_t test_var[] = L"awidetest";' > conftest.h
50370 echo '#include "conftest.h"
50373 printf("%ls", test_var);
50377 wx_cv_gcc_pch_bug="pch not supported"
50379 if $CXX conftest.h >/dev/null 2>&1
50383 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
50385 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
50386 grep awidetest >/dev/null
50388 wx_cv_gcc_pch_bug=no
50390 wx_cv_gcc_pch_bug=yes
50395 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
50398 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
50399 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
50401 if test "$wx_cv_gcc_pch_bug" = yes; then
50409 if test "x$BAKEFILE_HOST" = "x"; then
50410 if test "x${host}" = "x" ; then
50411 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
50412 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
50413 { (exit 1); exit 1; }; }
50416 BAKEFILE_HOST="${host}"
50419 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
50421 if test -n "$ac_tool_prefix"; then
50422 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50423 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
50424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50426 if test "${ac_cv_prog_RANLIB+set}" = set; then
50427 echo $ECHO_N "(cached) $ECHO_C" >&6
50429 if test -n "$RANLIB"; then
50430 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
50432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50433 for as_dir in $PATH
50436 test -z "$as_dir" && as_dir=.
50437 for ac_exec_ext in '' $ac_executable_extensions; do
50438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50439 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
50440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50449 RANLIB=$ac_cv_prog_RANLIB
50450 if test -n "$RANLIB"; then
50451 { echo "$as_me:$LINENO: result: $RANLIB" >&5
50452 echo "${ECHO_T}$RANLIB" >&6; }
50454 { echo "$as_me:$LINENO: result: no" >&5
50455 echo "${ECHO_T}no" >&6; }
50460 if test -z "$ac_cv_prog_RANLIB"; then
50461 ac_ct_RANLIB=$RANLIB
50462 # Extract the first word of "ranlib", so it can be a program name with args.
50463 set dummy ranlib; ac_word=$2
50464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50466 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50467 echo $ECHO_N "(cached) $ECHO_C" >&6
50469 if test -n "$ac_ct_RANLIB"; then
50470 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50473 for as_dir in $PATH
50476 test -z "$as_dir" && as_dir=.
50477 for ac_exec_ext in '' $ac_executable_extensions; do
50478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50479 ac_cv_prog_ac_ct_RANLIB="ranlib"
50480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50489 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50490 if test -n "$ac_ct_RANLIB"; then
50491 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50492 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50494 { echo "$as_me:$LINENO: result: no" >&5
50495 echo "${ECHO_T}no" >&6; }
50498 if test "x$ac_ct_RANLIB" = x; then
50501 case $cross_compiling:$ac_tool_warned in
50503 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50504 whose name does not start with the host triplet. If you think this
50505 configuration is useful to you, please write to autoconf@gnu.org." >&5
50506 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50507 whose name does not start with the host triplet. If you think this
50508 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50509 ac_tool_warned=yes ;;
50511 RANLIB=$ac_ct_RANLIB
50514 RANLIB="$ac_cv_prog_RANLIB"
50517 # Find a good install program. We prefer a C program (faster),
50518 # so one script is as good as another. But avoid the broken or
50519 # incompatible versions:
50520 # SysV /etc/install, /usr/sbin/install
50521 # SunOS /usr/etc/install
50522 # IRIX /sbin/install
50524 # AmigaOS /C/install, which installs bootblocks on floppy discs
50525 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
50526 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
50527 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
50528 # OS/2's system install, which has a completely different semantic
50529 # ./install, which can be erroneously created by make from ./install.sh.
50530 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
50531 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
50532 if test -z "$INSTALL"; then
50533 if test "${ac_cv_path_install+set}" = set; then
50534 echo $ECHO_N "(cached) $ECHO_C" >&6
50536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50537 for as_dir in $PATH
50540 test -z "$as_dir" && as_dir=.
50541 # Account for people who put trailing slashes in PATH elements.
50543 ./ | .// | /cC/* | \
50544 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
50545 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
50548 # OSF1 and SCO ODT 3.0 have their own names for install.
50549 # Don't use installbsd from OSF since it installs stuff as root
50551 for ac_prog in ginstall scoinst install; do
50552 for ac_exec_ext in '' $ac_executable_extensions; do
50553 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
50554 if test $ac_prog = install &&
50555 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50556 # AIX install. It has an incompatible calling convention.
50558 elif test $ac_prog = install &&
50559 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50560 # program-specific install script used by HP pwplus--don't use.
50563 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
50576 if test "${ac_cv_path_install+set}" = set; then
50577 INSTALL=$ac_cv_path_install
50579 # As a last resort, use the slow shell script. Don't cache a
50580 # value for INSTALL within a source directory, because that will
50581 # break other packages using the cache if that directory is
50582 # removed, or if the value is a relative name.
50583 INSTALL=$ac_install_sh
50586 { echo "$as_me:$LINENO: result: $INSTALL" >&5
50587 echo "${ECHO_T}$INSTALL" >&6; }
50589 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
50590 # It thinks the first close brace ends the variable substitution.
50591 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
50593 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50595 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50597 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
50598 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
50600 if test "$LN_S" = "ln -s"; then
50601 { echo "$as_me:$LINENO: result: yes" >&5
50602 echo "${ECHO_T}yes" >&6; }
50604 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50605 echo "${ECHO_T}no, using $LN_S" >&6; }
50609 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50610 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50611 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50612 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50613 echo $ECHO_N "(cached) $ECHO_C" >&6
50615 cat >conftest.make <<\_ACEOF
50618 @echo '@@@%%%=$(MAKE)=@@@%%%'
50620 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50621 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
50622 *@@@%%%=?*=@@@%%%*)
50623 eval ac_cv_prog_make_${ac_make}_set=yes;;
50625 eval ac_cv_prog_make_${ac_make}_set=no;;
50627 rm -f conftest.make
50629 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50630 { echo "$as_me:$LINENO: result: yes" >&5
50631 echo "${ECHO_T}yes" >&6; }
50634 { echo "$as_me:$LINENO: result: no" >&5
50635 echo "${ECHO_T}no" >&6; }
50636 SET_MAKE="MAKE=${MAKE-make}"
50641 if test "x$SUNCXX" = "xyes"; then
50643 AROPTIONS="-xar -o"
50645 elif test "x$SGICC" = "xyes"; then
50650 if test -n "$ac_tool_prefix"; then
50651 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50652 set dummy ${ac_tool_prefix}ar; ac_word=$2
50653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50655 if test "${ac_cv_prog_AR+set}" = set; then
50656 echo $ECHO_N "(cached) $ECHO_C" >&6
50658 if test -n "$AR"; then
50659 ac_cv_prog_AR="$AR" # Let the user override the test.
50661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50662 for as_dir in $PATH
50665 test -z "$as_dir" && as_dir=.
50666 for ac_exec_ext in '' $ac_executable_extensions; do
50667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50668 ac_cv_prog_AR="${ac_tool_prefix}ar"
50669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50679 if test -n "$AR"; then
50680 { echo "$as_me:$LINENO: result: $AR" >&5
50681 echo "${ECHO_T}$AR" >&6; }
50683 { echo "$as_me:$LINENO: result: no" >&5
50684 echo "${ECHO_T}no" >&6; }
50689 if test -z "$ac_cv_prog_AR"; then
50691 # Extract the first word of "ar", so it can be a program name with args.
50692 set dummy ar; ac_word=$2
50693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50695 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50696 echo $ECHO_N "(cached) $ECHO_C" >&6
50698 if test -n "$ac_ct_AR"; then
50699 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50702 for as_dir in $PATH
50705 test -z "$as_dir" && as_dir=.
50706 for ac_exec_ext in '' $ac_executable_extensions; do
50707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50708 ac_cv_prog_ac_ct_AR="ar"
50709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50718 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50719 if test -n "$ac_ct_AR"; then
50720 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50721 echo "${ECHO_T}$ac_ct_AR" >&6; }
50723 { echo "$as_me:$LINENO: result: no" >&5
50724 echo "${ECHO_T}no" >&6; }
50727 if test "x$ac_ct_AR" = x; then
50730 case $cross_compiling:$ac_tool_warned in
50732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50733 whose name does not start with the host triplet. If you think this
50734 configuration is useful to you, please write to autoconf@gnu.org." >&5
50735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50736 whose name does not start with the host triplet. If you think this
50737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50738 ac_tool_warned=yes ;;
50743 AR="$ac_cv_prog_AR"
50750 if test -n "$ac_tool_prefix"; then
50751 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50752 set dummy ${ac_tool_prefix}strip; ac_word=$2
50753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50755 if test "${ac_cv_prog_STRIP+set}" = set; then
50756 echo $ECHO_N "(cached) $ECHO_C" >&6
50758 if test -n "$STRIP"; then
50759 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50762 for as_dir in $PATH
50765 test -z "$as_dir" && as_dir=.
50766 for ac_exec_ext in '' $ac_executable_extensions; do
50767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50768 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50778 STRIP=$ac_cv_prog_STRIP
50779 if test -n "$STRIP"; then
50780 { echo "$as_me:$LINENO: result: $STRIP" >&5
50781 echo "${ECHO_T}$STRIP" >&6; }
50783 { echo "$as_me:$LINENO: result: no" >&5
50784 echo "${ECHO_T}no" >&6; }
50789 if test -z "$ac_cv_prog_STRIP"; then
50791 # Extract the first word of "strip", so it can be a program name with args.
50792 set dummy strip; ac_word=$2
50793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50795 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50796 echo $ECHO_N "(cached) $ECHO_C" >&6
50798 if test -n "$ac_ct_STRIP"; then
50799 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50802 for as_dir in $PATH
50805 test -z "$as_dir" && as_dir=.
50806 for ac_exec_ext in '' $ac_executable_extensions; do
50807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50808 ac_cv_prog_ac_ct_STRIP="strip"
50809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50818 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50819 if test -n "$ac_ct_STRIP"; then
50820 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50821 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50823 { echo "$as_me:$LINENO: result: no" >&5
50824 echo "${ECHO_T}no" >&6; }
50827 if test "x$ac_ct_STRIP" = x; then
50830 case $cross_compiling:$ac_tool_warned in
50832 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50833 whose name does not start with the host triplet. If you think this
50834 configuration is useful to you, please write to autoconf@gnu.org." >&5
50835 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50836 whose name does not start with the host triplet. If you think this
50837 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50838 ac_tool_warned=yes ;;
50843 STRIP="$ac_cv_prog_STRIP"
50846 if test -n "$ac_tool_prefix"; then
50847 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50848 set dummy ${ac_tool_prefix}nm; ac_word=$2
50849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50851 if test "${ac_cv_prog_NM+set}" = set; then
50852 echo $ECHO_N "(cached) $ECHO_C" >&6
50854 if test -n "$NM"; then
50855 ac_cv_prog_NM="$NM" # Let the user override the test.
50857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50858 for as_dir in $PATH
50861 test -z "$as_dir" && as_dir=.
50862 for ac_exec_ext in '' $ac_executable_extensions; do
50863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50864 ac_cv_prog_NM="${ac_tool_prefix}nm"
50865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50875 if test -n "$NM"; then
50876 { echo "$as_me:$LINENO: result: $NM" >&5
50877 echo "${ECHO_T}$NM" >&6; }
50879 { echo "$as_me:$LINENO: result: no" >&5
50880 echo "${ECHO_T}no" >&6; }
50885 if test -z "$ac_cv_prog_NM"; then
50887 # Extract the first word of "nm", so it can be a program name with args.
50888 set dummy nm; ac_word=$2
50889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50891 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50892 echo $ECHO_N "(cached) $ECHO_C" >&6
50894 if test -n "$ac_ct_NM"; then
50895 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50898 for as_dir in $PATH
50901 test -z "$as_dir" && as_dir=.
50902 for ac_exec_ext in '' $ac_executable_extensions; do
50903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50904 ac_cv_prog_ac_ct_NM="nm"
50905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50914 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50915 if test -n "$ac_ct_NM"; then
50916 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50917 echo "${ECHO_T}$ac_ct_NM" >&6; }
50919 { echo "$as_me:$LINENO: result: no" >&5
50920 echo "${ECHO_T}no" >&6; }
50923 if test "x$ac_ct_NM" = x; then
50926 case $cross_compiling:$ac_tool_warned in
50928 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50929 whose name does not start with the host triplet. If you think this
50930 configuration is useful to you, please write to autoconf@gnu.org." >&5
50931 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50932 whose name does not start with the host triplet. If you think this
50933 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50934 ac_tool_warned=yes ;;
50939 NM="$ac_cv_prog_NM"
50943 case ${BAKEFILE_HOST} in
50945 INSTALL_DIR="mkdir -p"
50948 INSTALL_DIR='$(INSTALL) -d'
50954 case ${BAKEFILE_HOST} in
50955 *-*-cygwin* | *-*-mingw32* )
50956 LDFLAGS_GUI="-mwindows"
50962 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50963 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50964 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50965 echo $ECHO_N "(cached) $ECHO_C" >&6
50968 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50969 egrep -s GNU > /dev/null); then
50970 bakefile_cv_prog_makeisgnu="yes"
50972 bakefile_cv_prog_makeisgnu="no"
50976 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50977 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50979 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50996 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50997 case "${BAKEFILE_HOST}" in
51004 *-pc-os2_emx | *-pc-os2-emx )
51014 powerpc-apple-macos* )
51023 case "$BAKEFILE_FORCE_PLATFORM" in
51058 # Check whether --enable-omf was given.
51059 if test "${enable_omf+set}" = set; then
51060 enableval=$enable_omf; bk_os2_use_omf="$enableval"
51064 case "${BAKEFILE_HOST}" in
51066 if test "x$GCC" = "xyes"; then
51067 CFLAGS="$CFLAGS -fno-common"
51068 CXXFLAGS="$CXXFLAGS -fno-common"
51070 if test "x$XLCC" = "xyes"; then
51071 CFLAGS="$CFLAGS -qnocommon"
51072 CXXFLAGS="$CXXFLAGS -qnocommon"
51076 *-pc-os2_emx | *-pc-os2-emx )
51077 if test "x$bk_os2_use_omf" = "xyes" ; then
51080 LDFLAGS="-Zomf $LDFLAGS"
51081 CFLAGS="-Zomf $CFLAGS"
51082 CXXFLAGS="-Zomf $CXXFLAGS"
51090 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
51096 SO_SUFFIX_MODULE="so"
51101 DLLPREFIX_MODULE=""
51105 case "${BAKEFILE_HOST}" in
51108 SO_SUFFIX_MODULE="sl"
51112 SO_SUFFIX_MODULE="a"
51116 SO_SUFFIX_MODULE="dll"
51117 DLLIMP_SUFFIX="dll.a"
51124 SO_SUFFIX_MODULE="dll"
51125 DLLIMP_SUFFIX="dll.a"
51135 *-pc-os2_emx | *-pc-os2-emx )
51137 SO_SUFFIX_MODULE="dll"
51138 DLLIMP_SUFFIX=$OS2_LIBEXT
51142 LIBEXT=".$OS2_LIBEXT"
51147 SO_SUFFIX_MODULE="bundle"
51151 if test "x$DLLIMP_SUFFIX" = "x" ; then
51152 DLLIMP_SUFFIX="$SO_SUFFIX"
51167 if test "x$GCC" = "xyes"; then
51171 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
51172 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
51175 case "${BAKEFILE_HOST}" in
51177 if test "x$GCC" != "xyes"; then
51178 LDFLAGS="$LDFLAGS -L/usr/lib"
51180 SHARED_LD_CC="${CC} -b -o"
51181 SHARED_LD_CXX="${CXX} -b -o"
51187 if test "$INTELCC" = "yes"; then
51189 elif test "x$SUNCXX" = "xyes"; then
51190 SHARED_LD_CC="${CC} -G -o"
51191 SHARED_LD_CXX="${CXX} -G -o"
51197 if test "x$SUNCXX" = xyes ; then
51198 SHARED_LD_CC="${CC} -G -o"
51199 SHARED_LD_CXX="${CXX} -G -o"
51207 cat <<EOF >shared-ld-sh
51209 #-----------------------------------------------------------------------------
51210 #-- Name: distrib/mac/shared-ld-sh
51211 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
51212 #-- Author: Gilles Depeyrot
51213 #-- Copyright: (c) 2002 Gilles Depeyrot
51214 #-- Licence: any use permitted
51215 #-----------------------------------------------------------------------------
51220 linking_flag="-dynamiclib"
51221 ldargs="-r -keep_private_externs -nostdlib"
51223 while test ${D}# -gt 0; do
51230 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
51231 # collect these options and values
51232 args="${D}{args} ${D}1 ${D}2"
51237 # collect these load args
51238 ldargs="${D}{ldargs} ${D}1"
51241 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
51242 # collect these options
51243 args="${D}{args} ${D}1"
51246 -dynamiclib|-bundle)
51247 linking_flag="${D}1"
51251 echo "shared-ld: unhandled option '${D}1'"
51255 *.o | *.a | *.dylib)
51256 # collect object files
51257 objects="${D}{objects} ${D}1"
51261 echo "shared-ld: unhandled argument '${D}1'"
51272 # Link one module containing all the others
51274 if test ${D}{verbose} = 1; then
51275 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
51277 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
51281 # Link the shared library from the single module created, but only if the
51282 # previous command didn't fail:
51284 if test ${D}{status} = 0; then
51285 if test ${D}{verbose} = 1; then
51286 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
51288 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
51293 # Remove intermediate module
51295 rm -f master.${D}${D}.o
51300 chmod +x shared-ld-sh
51302 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
51303 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
51306 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
51307 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
51308 if test "${bakefile_cv_gcc31+set}" = set; then
51309 echo $ECHO_N "(cached) $ECHO_C" >&6
51312 cat >conftest.$ac_ext <<_ACEOF
51315 cat confdefs.h >>conftest.$ac_ext
51316 cat >>conftest.$ac_ext <<_ACEOF
51317 /* end confdefs.h. */
51323 #if (__GNUC__ < 3) || \
51324 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
51332 rm -f conftest.$ac_objext
51333 if { (ac_try="$ac_compile"
51334 case "(($ac_try" in
51335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51336 *) ac_try_echo
=$ac_try;;
51338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51339 (eval "$ac_compile") 2>conftest.er1
51341 grep -v '^ *+' conftest.er1
>conftest.err
51343 cat conftest.err
>&5
51344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51345 (exit $ac_status); } && {
51346 test -z "$ac_c_werror_flag" ||
51347 test ! -s conftest.err
51348 } && test -s conftest.
$ac_objext; then
51350 bakefile_cv_gcc31
=yes
51353 echo "$as_me: failed program was:" >&5
51354 sed 's/^/| /' conftest.
$ac_ext >&5
51357 bakefile_cv_gcc31
=no
51362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51365 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
51366 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
51367 if test "$bakefile_cv_gcc31" = "no"; then
51368 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
51369 SHARED_LD_CXX
="$SHARED_LD_CC"
51371 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
51372 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
51375 if test "x$GCC" == "xyes"; then
51376 PIC_FLAG
="-dynamic -fPIC"
51378 if test "x$XLCC" = "xyes"; then
51379 PIC_FLAG
="-dynamic -DPIC"
51384 if test "x$GCC" = "xyes"; then
51387 case "${BAKEFILE_HOST}" in
51389 LD_EXPFULL
="-Wl,-bexpfull"
51393 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
51394 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
51396 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
51397 set dummy makeC
++SharedLib
; ac_word
=$2
51398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51400 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
51401 echo $ECHO_N "(cached) $ECHO_C" >&6
51403 if test -n "$AIX_CXX_LD"; then
51404 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
51406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51407 for as_dir
in $PATH
51410 test -z "$as_dir" && as_dir
=.
51411 for ac_exec_ext
in '' $ac_executable_extensions; do
51412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51413 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
51414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51421 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
51424 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
51425 if test -n "$AIX_CXX_LD"; then
51426 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
51427 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
51429 { echo "$as_me:$LINENO: result: no" >&5
51430 echo "${ECHO_T}no" >&6; }
51434 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
51435 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
51440 SHARED_LD_CC
="${LD} -nostart -o"
51441 SHARED_LD_CXX
="${LD} -nostart -o"
51445 if test "x$GCC" != "xyes"; then
51450 *-*-cygwin* | *-*-mingw32* )
51452 SHARED_LD_CC
="\$(CC) -shared -o"
51453 SHARED_LD_CXX
="\$(CXX) -shared -o"
51457 *-pc-os2_emx | *-pc-os2-emx )
51458 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51459 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51463 cat <<EOF >dllar.sh
51466 # dllar - a tool to build both a .dll and an .a file
51467 # from a set of object (.o) files for EMX/OS2.
51469 # Written by Andrew Zabolotny, bit@freya.etu.ru
51470 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
51472 # This script will accept a set of files on the command line.
51473 # All the public symbols from the .o files will be exported into
51474 # a .DEF file, then linker will be run (through gcc) against them to
51475 # build a shared library consisting of all given .o files. All libraries
51476 # (.a) will be first decompressed into component .o files then act as
51477 # described above. You can optionally give a description (-d "description")
51478 # which will be put into .DLL. To see the list of accepted options (as well
51479 # as command-line format) simply run this program without options. The .DLL
51480 # is built to be imported by name (there is no guarantee that new versions
51481 # of the library you build will have same ordinals for same symbols).
51483 # dllar is free software; you can redistribute it and/or modify
51484 # it under the terms of the GNU General Public License as published by
51485 # the Free Software Foundation; either version 2, or (at your option)
51486 # any later version.
51488 # dllar is distributed in the hope that it will be useful,
51489 # but WITHOUT ANY WARRANTY; without even the implied warranty of
51490 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51491 # GNU General Public License for more details.
51493 # You should have received a copy of the GNU General Public License
51494 # along with dllar; see the file COPYING. If not, write to the Free
51495 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
51498 # To successfuly run this program you will need:
51499 # - Current drive should have LFN support (HPFS, ext2, network, etc)
51500 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
51502 # (used to build the .dll)
51504 # (used to create .def file from .o files)
51506 # (used to create .a file from .def file)
51507 # - GNU text utilites (cat, sort, uniq)
51508 # used to process emxexp output
51509 # - GNU file utilities (mv, rm)
51511 # - lxlite (optional, see flag below)
51512 # (used for general .dll cleanup)
51519 # basnam, variant of basename, which does _not_ remove the path, _iff_
51520 # second argument (suffix to remove) is given
51524 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
51527 echo ${D}1 | sed 's/'${D}2'${D}//'
51530 echo "error in basnam ${D}*"
51536 # Cleanup temporary files and output
51539 for i in ${D}inputFiles ; do
51542 rm -rf \`basnam ${D}i !\`
51549 # Kill result in case of failure as there is just to many stupid make/nmake
51550 # things out there which doesn't do this.
51551 if [ ${D}# -eq 0 ]; then
51552 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
51556 # Print usage and exit script with rc=1.
51558 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
51559 echo ' [-name-mangler-script script.sh]'
51560 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
51561 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
51562 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
51563 echo ' [*.o] [*.a]'
51564 echo '*> "output_file" should have no extension.'
51565 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
51566 echo ' The import library name is derived from this and is set to "name".a,'
51567 echo ' unless overridden by -import'
51568 echo '*> "importlib_name" should have no extension.'
51569 echo ' If it has the .o, or .a extension, it is automatically removed.'
51570 echo ' This name is used as the import library name and may be longer and'
51571 echo ' more descriptive than the DLL name which has to follow the old '
51572 echo ' 8.3 convention of FAT.'
51573 echo '*> "script.sh may be given to override the output_file name by a'
51574 echo ' different name. It is mainly useful if the regular make process'
51575 echo ' of some package does not take into account OS/2 restriction of'
51576 echo ' DLL name lengths. It takes the importlib name as input and is'
51577 echo ' supposed to procude a shorter name as output. The script should'
51578 echo ' expect to get importlib_name without extension and should produce'
51579 echo ' a (max.) 8 letter name without extension.'
51580 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
51581 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
51582 echo ' These flags will be put at the start of GCC command line.'
51583 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
51584 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
51585 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
51586 echo ' If the last character of a symbol is "*", all symbols beginning'
51587 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
51588 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
51589 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
51590 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
51591 echo ' C runtime DLLs.'
51592 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
51593 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
51594 echo ' unchanged to GCC at the end of command line.'
51595 echo '*> If you create a DLL from a library and you do not specify -o,'
51596 echo ' the basename for DLL and import library will be set to library name,'
51597 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
51598 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
51599 echo ' library will be renamed into gcc_s.a.'
51602 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
51603 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
51608 # Execute a command.
51609 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51610 # @Uses Whatever CleanUp() uses.
51616 if [ ${D}rcCmd -ne 0 ]; then
51617 echo "command failed, exit code="${D}rcCmd
51632 CFLAGS="-s -Zcrtdll"
51634 EXPORT_BY_ORDINALS=0
51639 case ${D}curDirS in
51643 curDirS=${D}{curDirS}"/"
51646 # Parse commandline
51649 while [ ${D}1 ]; do
51652 EXPORT_BY_ORDINALS=1;
51662 -name-mangler-script)
51683 exclude_symbols=${D}{exclude_symbols}${D}1" "
51687 library_flags=${D}{library_flags}${D}1" "
51706 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51709 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51710 if [ ${D}omfLinking -eq 1 ]; then
51711 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51713 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51718 if [ ${D}libsToLink -ne 0 ]; then
51719 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51721 for file in ${D}1 ; do
51722 if [ -f ${D}file ]; then
51723 inputFiles="${D}{inputFiles} ${D}file"
51727 if [ ${D}found -eq 0 ]; then
51728 echo "ERROR: No file(s) found: "${D}1
51735 done # iterate cmdline words
51738 if [ -z "${D}inputFiles" ]; then
51739 echo "dllar: no input files"
51743 # Now extract all .o files from .a files
51745 for file in ${D}inputFiles ; do
51756 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51761 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51763 if [ ${D}? -ne 0 ]; then
51764 echo "Failed to create subdirectory ./${D}dirname"
51768 # Append '!' to indicate archive
51769 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51770 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51773 for subfile in ${D}dirname/*.o* ; do
51774 if [ -f ${D}subfile ]; then
51776 if [ -s ${D}subfile ]; then
51777 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51778 newInputFiles="${D}newInputFiles ${D}subfile"
51782 if [ ${D}found -eq 0 ]; then
51783 echo "WARNING: there are no files in archive \\'${D}file\\'"
51787 newInputFiles="${D}{newInputFiles} ${D}file"
51791 inputFiles="${D}newInputFiles"
51793 # Output filename(s).
51795 if [ -z ${D}outFile ]; then
51797 set outFile ${D}inputFiles; outFile=${D}2
51800 # If it is an archive, remove the '!' and the '_%' suffixes
51801 case ${D}outFile in
51803 outFile=\`basnam ${D}outFile _%!\`
51808 case ${D}outFile in
51810 outFile=\`basnam ${D}outFile .dll\`
51813 outFile=\`basnam ${D}outFile .DLL\`
51816 outFile=\`basnam ${D}outFile .o\`
51819 outFile=\`basnam ${D}outFile .obj\`
51822 outFile=\`basnam ${D}outFile .a\`
51825 outFile=\`basnam ${D}outFile .lib\`
51830 case ${D}outimpFile in
51832 outimpFile=\`basnam ${D}outimpFile .a\`
51835 outimpFile=\`basnam ${D}outimpFile .lib\`
51840 if [ -z ${D}outimpFile ]; then
51841 outimpFile=${D}outFile
51843 defFile="${D}{outFile}.def"
51844 arcFile="${D}{outimpFile}.a"
51845 arcFile2="${D}{outimpFile}.lib"
51847 #create ${D}dllFile as something matching 8.3 restrictions,
51848 if [ -z ${D}renameScript ] ; then
51849 dllFile="${D}outFile"
51851 dllFile=\`${D}renameScript ${D}outimpFile\`
51854 if [ ${D}do_backup -ne 0 ] ; then
51855 if [ -f ${D}arcFile ] ; then
51856 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51858 if [ -f ${D}arcFile2 ] ; then
51859 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51863 # Extract public symbols from all the object files.
51864 tmpdefFile=${D}{defFile}_%
51865 rm -f ${D}tmpdefFile
51866 for file in ${D}inputFiles ; do
51871 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51876 # Create the def file.
51878 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51879 dllFile="${D}{dllFile}.dll"
51880 if [ ! -z ${D}description ]; then
51881 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51883 echo "EXPORTS" >> ${D}defFile
51885 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51886 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51888 # Checks if the export is ok or not.
51889 for word in ${D}exclude_symbols; do
51890 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51891 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51895 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51896 sed "=" < ${D}tmpdefFile | \\
51900 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51902 ' > ${D}{tmpdefFile}%
51903 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51905 rm -f ${D}{tmpdefFile}%
51907 cat ${D}tmpdefFile >> ${D}defFile
51908 rm -f ${D}tmpdefFile
51910 # Do linking, create implib, and apply lxlite.
51912 for file in ${D}inputFiles ; do
51917 gccCmdl="${D}gccCmdl ${D}file"
51921 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51922 touch "${D}{outFile}.dll"
51924 doCommand "emximp -o ${D}arcFile ${D}defFile"
51925 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51927 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51930 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51932 doCommand "emxomf -s -l ${D}arcFile"
51942 powerpc
-apple-macos* | \
51943 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
51953 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51954 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51955 { (exit 1); exit 1; }; }
51958 if test "x$PIC_FLAG" != "x" ; then
51959 PIC_FLAG
="$PIC_FLAG -DPIC"
51962 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51963 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
51965 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51966 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
51985 case "${BAKEFILE_HOST}" in
51986 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
51987 if test "x$SUNCXX" = "xyes"; then
51990 SONAME_FLAG
="-Wl,-soname,"
52025 # Check whether --enable-dependency-tracking was given.
52026 if test "${enable_dependency_tracking+set}" = set; then
52027 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
52031 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
52032 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
52035 if test "x$bk_use_trackdeps" = "xno" ; then
52037 { echo "$as_me:$LINENO: result: disabled" >&5
52038 echo "${ECHO_T}disabled" >&6; }
52042 if test "x$GCC" = "xyes"; then
52044 case "${BAKEFILE_HOST}" in
52046 DEPSFLAG
="-no-cpp-precomp -MMD"
52052 { echo "$as_me:$LINENO: result: gcc" >&5
52053 echo "${ECHO_T}gcc" >&6; }
52054 elif test "x$MWCC" = "xyes"; then
52057 { echo "$as_me:$LINENO: result: mwcc" >&5
52058 echo "${ECHO_T}mwcc" >&6; }
52059 elif test "x$SUNCC" = "xyes"; then
52062 { echo "$as_me:$LINENO: result: Sun cc" >&5
52063 echo "${ECHO_T}Sun cc" >&6; }
52064 elif test "x$SGICC" = "xyes"; then
52067 { echo "$as_me:$LINENO: result: SGI cc" >&5
52068 echo "${ECHO_T}SGI cc" >&6; }
52069 elif test "x$HPCC" = "xyes"; then
52072 { echo "$as_me:$LINENO: result: HP cc" >&5
52073 echo "${ECHO_T}HP cc" >&6; }
52074 elif test "x$COMPAQCC" = "xyes"; then
52077 { echo "$as_me:$LINENO: result: Compaq cc" >&5
52078 echo "${ECHO_T}Compaq cc" >&6; }
52081 { echo "$as_me:$LINENO: result: none" >&5
52082 echo "${ECHO_T}none" >&6; }
52085 if test $DEPS_TRACKING = 1 ; then
52091 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
52092 # script. It is used to track C/C++ files dependencies in portable way.
52094 # Permission is given to use this file in any way.
52096 DEPSMODE=${DEPSMODE}
52098 DEPSFLAG="${DEPSFLAG}"
52100 mkdir -p ${D}DEPSDIR
52102 if test ${D}DEPSMODE = gcc ; then
52103 ${D}* ${D}{DEPSFLAG}
52105 if test ${D}{status} != 0 ; then
52108 # move created file to the location we want it in:
52109 while test ${D}# -gt 0; do
52123 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
52124 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
52125 if test -f ${D}depfile ; then
52126 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
52129 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
52130 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
52131 if test ! -f ${D}depfile ; then
52132 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
52133 depfile="${D}objfile.d"
52135 if test -f ${D}depfile ; then
52136 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
52141 elif test ${D}DEPSMODE = mwcc ; then
52142 ${D}* || exit ${D}?
52143 # Run mwcc again with -MM and redirect into the dep file we want
52144 # NOTE: We can't use shift here because we need ${D}* to be valid
52146 for arg in ${D}* ; do
52147 if test "${D}prevarg" = "-o"; then
52160 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
52162 elif test ${D}DEPSMODE = unixcc; then
52163 ${D}* || exit ${D}?
52164 # Run compiler again with deps flag and redirect into the dep file.
52165 # It doesn't work if the '-o FILE' option is used, but without it the
52166 # dependency file will contain the wrong name for the object. So it is
52167 # removed from the command line, and the dep file is fixed with sed.
52169 while test ${D}# -gt 0; do
52176 eval arg${D}#=\\${D}1
52177 cmd="${D}cmd \\${D}arg${D}#"
52182 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
52191 BK_DEPS
="`pwd`/bk-deps"
52199 case ${BAKEFILE_HOST} in
52200 *-*-cygwin* | *-*-mingw32* )
52201 if test -n "$ac_tool_prefix"; then
52202 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
52203 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
52204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52206 if test "${ac_cv_prog_WINDRES+set}" = set; then
52207 echo $ECHO_N "(cached) $ECHO_C" >&6
52209 if test -n "$WINDRES"; then
52210 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
52212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52213 for as_dir
in $PATH
52216 test -z "$as_dir" && as_dir
=.
52217 for ac_exec_ext
in '' $ac_executable_extensions; do
52218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52219 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
52220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52229 WINDRES
=$ac_cv_prog_WINDRES
52230 if test -n "$WINDRES"; then
52231 { echo "$as_me:$LINENO: result: $WINDRES" >&5
52232 echo "${ECHO_T}$WINDRES" >&6; }
52234 { echo "$as_me:$LINENO: result: no" >&5
52235 echo "${ECHO_T}no" >&6; }
52240 if test -z "$ac_cv_prog_WINDRES"; then
52241 ac_ct_WINDRES
=$WINDRES
52242 # Extract the first word of "windres", so it can be a program name with args.
52243 set dummy windres
; ac_word
=$2
52244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52246 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
52247 echo $ECHO_N "(cached) $ECHO_C" >&6
52249 if test -n "$ac_ct_WINDRES"; then
52250 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
52252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52253 for as_dir
in $PATH
52256 test -z "$as_dir" && as_dir
=.
52257 for ac_exec_ext
in '' $ac_executable_extensions; do
52258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52259 ac_cv_prog_ac_ct_WINDRES
="windres"
52260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52269 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
52270 if test -n "$ac_ct_WINDRES"; then
52271 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
52272 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
52274 { echo "$as_me:$LINENO: result: no" >&5
52275 echo "${ECHO_T}no" >&6; }
52278 if test "x$ac_ct_WINDRES" = x
; then
52281 case $cross_compiling:$ac_tool_warned in
52283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52284 whose name does not start with the host triplet. If you think this
52285 configuration is useful to you, please write to autoconf@gnu.org." >&5
52286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52287 whose name does not start with the host triplet. If you think this
52288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52289 ac_tool_warned
=yes ;;
52291 WINDRES
=$ac_ct_WINDRES
52294 WINDRES
="$ac_cv_prog_WINDRES"
52299 *-*-darwin* | powerpc
-apple-macos* )
52300 # Extract the first word of "Rez", so it can be a program name with args.
52301 set dummy Rez
; ac_word
=$2
52302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52304 if test "${ac_cv_prog_REZ+set}" = set; then
52305 echo $ECHO_N "(cached) $ECHO_C" >&6
52307 if test -n "$REZ"; then
52308 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
52310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52311 for as_dir
in $PATH
52314 test -z "$as_dir" && as_dir
=.
52315 for ac_exec_ext
in '' $ac_executable_extensions; do
52316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52317 ac_cv_prog_REZ
="Rez"
52318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52325 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
52328 REZ
=$ac_cv_prog_REZ
52329 if test -n "$REZ"; then
52330 { echo "$as_me:$LINENO: result: $REZ" >&5
52331 echo "${ECHO_T}$REZ" >&6; }
52333 { echo "$as_me:$LINENO: result: no" >&5
52334 echo "${ECHO_T}no" >&6; }
52338 # Extract the first word of "SetFile", so it can be a program name with args.
52339 set dummy SetFile
; ac_word
=$2
52340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52342 if test "${ac_cv_prog_SETFILE+set}" = set; then
52343 echo $ECHO_N "(cached) $ECHO_C" >&6
52345 if test -n "$SETFILE"; then
52346 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
52348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52349 for as_dir
in $PATH
52352 test -z "$as_dir" && as_dir
=.
52353 for ac_exec_ext
in '' $ac_executable_extensions; do
52354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52355 ac_cv_prog_SETFILE
="SetFile"
52356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52363 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
52366 SETFILE
=$ac_cv_prog_SETFILE
52367 if test -n "$SETFILE"; then
52368 { echo "$as_me:$LINENO: result: $SETFILE" >&5
52369 echo "${ECHO_T}$SETFILE" >&6; }
52371 { echo "$as_me:$LINENO: result: no" >&5
52372 echo "${ECHO_T}no" >&6; }
52384 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
52387 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
52391 # Check whether --enable-precomp-headers was given.
52392 if test "${enable_precomp_headers+set}" = set; then
52393 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
52402 case ${BAKEFILE_HOST} in
52408 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
52409 if test "x$GCC" = "xyes"; then
52410 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
52411 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
52412 cat >conftest.
$ac_ext <<_ACEOF
52415 cat confdefs.h
>>conftest.
$ac_ext
52416 cat >>conftest.
$ac_ext <<_ACEOF
52417 /* end confdefs.h. */
52423 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
52424 There is no PCH support
52427 There is no PCH support
52429 #if (__GNUC__ == 3) && \
52430 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
52431 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
52432 ( defined(__INTEL_COMPILER) )
52433 There is no PCH support
52440 rm -f conftest.
$ac_objext
52441 if { (ac_try
="$ac_compile"
52442 case "(($ac_try" in
52443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
52444 *) ac_try_echo=$ac_try;;
52446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52447 (eval "$ac_compile") 2>conftest.er1
52449 grep -v '^ *+' conftest.er1 >conftest.err
52451 cat conftest.err >&5
52452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52453 (exit $ac_status); } && {
52454 test -z "$ac_c_werror_flag" ||
52455 test ! -s conftest.err
52456 } && test -s conftest.$ac_objext; then
52458 { echo "$as_me:$LINENO: result: yes" >&5
52459 echo "${ECHO_T}yes" >&6; }
52463 echo "$as_me: failed program was:" >&5
52464 sed 's/^/| /' conftest.$ac_ext >&5
52467 cat >conftest.$ac_ext <<_ACEOF
52470 cat confdefs.h >>conftest.$ac_ext
52471 cat >>conftest.$ac_ext <<_ACEOF
52472 /* end confdefs.h. */
52478 #if !defined(__INTEL_COMPILER) || \
52479 (__INTEL_COMPILER < 800)
52480 There is no PCH support
52487 rm -f conftest.$ac_objext
52488 if { (ac_try="$ac_compile"
52489 case "(($ac_try" in
52490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52491 *) ac_try_echo
=$ac_try;;
52493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52494 (eval "$ac_compile") 2>conftest.er1
52496 grep -v '^ *+' conftest.er1
>conftest.err
52498 cat conftest.err
>&5
52499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52500 (exit $ac_status); } && {
52501 test -z "$ac_c_werror_flag" ||
52502 test ! -s conftest.err
52503 } && test -s conftest.
$ac_objext; then
52505 { echo "$as_me:$LINENO: result: yes" >&5
52506 echo "${ECHO_T}yes" >&6; }
52510 echo "$as_me: failed program was:" >&5
52511 sed 's/^/| /' conftest.
$ac_ext >&5
52514 { echo "$as_me:$LINENO: result: no" >&5
52515 echo "${ECHO_T}no" >&6; }
52519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52524 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
52528 cat <<EOF >bk-make-pch
52531 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
52532 # script. It is used to generated precompiled headers.
52534 # Permission is given to use this file in any way.
52544 while test ${D}{#} -gt 0; do
52548 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
52549 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
52550 headerfile="${D}{incdir}/${D}{header}"
52553 -use-pch|-use_pch )
52558 if test ${D}add_to_cmdline = 1 ; then
52559 compiler="${D}{compiler} ${D}{1}"
52564 if test "x${D}{headerfile}" = "x" ; then
52565 echo "error: can't find header ${D}{header} in include paths" >&2
52567 if test -f ${D}{outfile} ; then
52568 rm -f ${D}{outfile}
52570 mkdir -p \`dirname ${D}{outfile}\`
52572 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
52574 if test "x${GCC_PCH}" = "x1" ; then
52575 # can do this because gcc is >= 3.4:
52576 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
52577 elif test "x${ICC_PCH}" = "x1" ; then
52578 filename=pch_gen-${D}${D}
52579 file=${D}{filename}.c
52580 dfile=${D}{filename}.d
52581 cat > ${D}file <<EOT
52582 #include "${D}header"
52584 # using -MF icc complains about differing command lines in creation/use
52585 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
52586 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
52587 rm -f ${D}file ${D}dfile ${D}{filename}.o
52593 chmod +x bk
-make-pch
52594 BK_MAKE_PCH
="`pwd`/bk-make-pch"
52603 COND_BUILD_DEBUG
="#"
52604 if test "x$BUILD" = "xdebug" ; then
52605 COND_BUILD_DEBUG
=""
52608 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
52609 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52610 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
52613 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
52614 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52615 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
52618 COND_BUILD_DEBUG_UNICODE_0
="#"
52619 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52620 COND_BUILD_DEBUG_UNICODE_0
=""
52623 COND_BUILD_DEBUG_UNICODE_1
="#"
52624 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52625 COND_BUILD_DEBUG_UNICODE_1
=""
52628 COND_BUILD_RELEASE
="#"
52629 if test "x$BUILD" = "xrelease" ; then
52630 COND_BUILD_RELEASE
=""
52633 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
52634 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52635 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
52638 COND_BUILD_RELEASE_UNICODE_0
="#"
52639 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52640 COND_BUILD_RELEASE_UNICODE_0
=""
52643 COND_BUILD_RELEASE_UNICODE_1
="#"
52644 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52645 COND_BUILD_RELEASE_UNICODE_1
=""
52648 COND_DEBUG_FLAG_1
="#"
52649 if test "x$DEBUG_FLAG" = "x1" ; then
52650 COND_DEBUG_FLAG_1
=""
52653 COND_DEBUG_INFO_0
="#"
52654 if test "x$DEBUG_INFO" = "x0" ; then
52655 COND_DEBUG_INFO_0
=""
52658 COND_DEBUG_INFO_1
="#"
52659 if test "x$DEBUG_INFO" = "x1" ; then
52660 COND_DEBUG_INFO_1
=""
52663 COND_DEPS_TRACKING_0
="#"
52664 if test "x$DEPS_TRACKING" = "x0" ; then
52665 COND_DEPS_TRACKING_0
=""
52668 COND_DEPS_TRACKING_1
="#"
52669 if test "x$DEPS_TRACKING" = "x1" ; then
52670 COND_DEPS_TRACKING_1
=""
52674 if test "x$GCC_PCH" = "x1" ; then
52679 if test "x$ICC_PCH" = "x1" ; then
52683 COND_MONOLITHIC_0
="#"
52684 if test "x$MONOLITHIC" = "x0" ; then
52685 COND_MONOLITHIC_0
=""
52688 COND_MONOLITHIC_0_SHARED_0
="#"
52689 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52690 COND_MONOLITHIC_0_SHARED_0
=""
52693 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
52694 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52695 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
52698 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
52699 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52700 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
52703 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
52704 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52705 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
52708 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
52709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52710 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
52713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
52714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52715 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
52718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
52719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52720 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
52723 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
52724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52725 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
52728 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
52729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52730 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
52733 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
52734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52735 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
52738 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
52739 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52740 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
52743 COND_MONOLITHIC_0_SHARED_1
="#"
52744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52745 COND_MONOLITHIC_0_SHARED_1
=""
52748 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
52749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52750 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
52753 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
52754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52755 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
52758 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
52759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52760 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
52763 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
52764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52765 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
52768 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
52769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52770 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
52773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
52774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52775 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
52778 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
52779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52780 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
52783 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
52784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52785 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
52788 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
52789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52790 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
52793 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
52794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52795 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
52798 COND_MONOLITHIC_0_USE_AUI_1
="#"
52799 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52800 COND_MONOLITHIC_0_USE_AUI_1
=""
52803 COND_MONOLITHIC_0_USE_GUI_1
="#"
52804 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52805 COND_MONOLITHIC_0_USE_GUI_1
=""
52808 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
52809 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52810 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
52813 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
52814 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52815 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
52818 COND_MONOLITHIC_0_USE_HTML_1
="#"
52819 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52820 COND_MONOLITHIC_0_USE_HTML_1
=""
52823 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
52824 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52825 COND_MONOLITHIC_0_USE_MEDIA_1
=""
52828 COND_MONOLITHIC_0_USE_ODBC_1
="#"
52829 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52830 COND_MONOLITHIC_0_USE_ODBC_1
=""
52833 COND_MONOLITHIC_0_USE_QA_1
="#"
52834 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52835 COND_MONOLITHIC_0_USE_QA_1
=""
52838 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
52839 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52840 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
52843 COND_MONOLITHIC_0_USE_STC_1
="#"
52844 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52845 COND_MONOLITHIC_0_USE_STC_1
=""
52848 COND_MONOLITHIC_0_USE_XRC_1
="#"
52849 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52850 COND_MONOLITHIC_0_USE_XRC_1
=""
52853 COND_MONOLITHIC_1
="#"
52854 if test "x$MONOLITHIC" = "x1" ; then
52855 COND_MONOLITHIC_1
=""
52858 COND_MONOLITHIC_1_SHARED_0
="#"
52859 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52860 COND_MONOLITHIC_1_SHARED_0
=""
52863 COND_MONOLITHIC_1_SHARED_1
="#"
52864 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52865 COND_MONOLITHIC_1_SHARED_1
=""
52868 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
52869 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52870 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
52873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
52874 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52875 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
52878 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
52879 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52880 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
52883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
52884 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
52888 COND_PLATFORM_MACOSX_1
="#"
52889 if test "x$PLATFORM_MACOSX" = "x1" ; then
52890 COND_PLATFORM_MACOSX_1
=""
52893 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
52894 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52895 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
52898 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
52899 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52900 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
52903 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
52904 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52905 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
52908 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
52909 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52910 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
52913 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
52914 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52915 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
52918 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
52919 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52920 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
52923 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
52924 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52925 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
52928 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
52929 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52930 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
52933 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
52934 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52935 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
52938 COND_PLATFORM_MACOS_1
="#"
52939 if test "x$PLATFORM_MACOS" = "x1" ; then
52940 COND_PLATFORM_MACOS_1
=""
52943 COND_PLATFORM_MAC_1
="#"
52944 if test "x$PLATFORM_MAC" = "x1" ; then
52945 COND_PLATFORM_MAC_1
=""
52948 COND_PLATFORM_MSDOS_0
="#"
52949 if test "x$PLATFORM_MSDOS" = "x0" ; then
52950 COND_PLATFORM_MSDOS_0
=""
52953 COND_PLATFORM_MSDOS_1
="#"
52954 if test "x$PLATFORM_MSDOS" = "x1" ; then
52955 COND_PLATFORM_MSDOS_1
=""
52958 COND_PLATFORM_OS2_1
="#"
52959 if test "x$PLATFORM_OS2" = "x1" ; then
52960 COND_PLATFORM_OS2_1
=""
52963 COND_PLATFORM_UNIX_0
="#"
52964 if test "x$PLATFORM_UNIX" = "x0" ; then
52965 COND_PLATFORM_UNIX_0
=""
52968 COND_PLATFORM_UNIX_1
="#"
52969 if test "x$PLATFORM_UNIX" = "x1" ; then
52970 COND_PLATFORM_UNIX_1
=""
52973 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
52974 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52975 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
52978 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
52979 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52980 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
52983 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
52984 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52985 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
52988 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
52989 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52990 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
52993 COND_PLATFORM_WIN32_0
="#"
52994 if test "x$PLATFORM_WIN32" = "x0" ; then
52995 COND_PLATFORM_WIN32_0
=""
52998 COND_PLATFORM_WIN32_1
="#"
52999 if test "x$PLATFORM_WIN32" = "x1" ; then
53000 COND_PLATFORM_WIN32_1
=""
53004 if test "x$SHARED" = "x0" ; then
53008 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
53009 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
53010 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
53013 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
53014 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
53015 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
53018 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
53019 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
53020 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
53023 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
53024 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
53025 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
53028 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
53029 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53030 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
53033 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
53034 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53035 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
53038 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
53039 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53040 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
53043 COND_SHARED_0_USE_STC_1
="#"
53044 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
53045 COND_SHARED_0_USE_STC_1
=""
53048 COND_SHARED_0_USE_XRC_1
="#"
53049 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
53050 COND_SHARED_0_USE_XRC_1
=""
53053 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
53054 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
53055 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
53058 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
53059 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
53060 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
53063 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
53064 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
53065 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
53068 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
53069 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
53070 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
53074 if test "x$SHARED" = "x1" ; then
53078 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
53079 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
53080 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
53083 COND_SHARED_1_USE_XRC_1
="#"
53084 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
53085 COND_SHARED_1_USE_XRC_1
=""
53089 if test "x$TOOLKIT" = "x" ; then
53093 COND_TOOLKIT_COCOA
="#"
53094 if test "x$TOOLKIT" = "xCOCOA" ; then
53095 COND_TOOLKIT_COCOA
=""
53098 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
53099 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
53100 COND_TOOLKIT_COCOA_USE_GUI_1
=""
53103 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
53104 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53105 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
53108 COND_TOOLKIT_DFB
="#"
53109 if test "x$TOOLKIT" = "xDFB" ; then
53110 COND_TOOLKIT_DFB
=""
53113 COND_TOOLKIT_DFB_USE_GUI_1
="#"
53114 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
53115 COND_TOOLKIT_DFB_USE_GUI_1
=""
53118 COND_TOOLKIT_GTK
="#"
53119 if test "x$TOOLKIT" = "xGTK" ; then
53120 COND_TOOLKIT_GTK
=""
53123 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
53124 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
53125 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
53128 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
53129 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
53130 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
53133 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
53134 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
53135 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
53138 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
53139 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53140 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
53143 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
53144 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
53145 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
53148 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
53149 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53150 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
53153 COND_TOOLKIT_GTK_USE_GUI_1
="#"
53154 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
53155 COND_TOOLKIT_GTK_USE_GUI_1
=""
53158 COND_TOOLKIT_MAC
="#"
53159 if test "x$TOOLKIT" = "xMAC" ; then
53160 COND_TOOLKIT_MAC
=""
53163 COND_TOOLKIT_MAC_USE_GUI_1
="#"
53164 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
53165 COND_TOOLKIT_MAC_USE_GUI_1
=""
53168 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
53169 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53170 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
53173 COND_TOOLKIT_MGL
="#"
53174 if test "x$TOOLKIT" = "xMGL" ; then
53175 COND_TOOLKIT_MGL
=""
53178 COND_TOOLKIT_MGL_USE_GUI_1
="#"
53179 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
53180 COND_TOOLKIT_MGL_USE_GUI_1
=""
53183 COND_TOOLKIT_MOTIF
="#"
53184 if test "x$TOOLKIT" = "xMOTIF" ; then
53185 COND_TOOLKIT_MOTIF
=""
53188 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
53189 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
53190 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
53193 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
53194 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53195 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
53198 COND_TOOLKIT_MSW
="#"
53199 if test "x$TOOLKIT" = "xMSW" ; then
53200 COND_TOOLKIT_MSW
=""
53203 COND_TOOLKIT_MSW_USE_GUI_1
="#"
53204 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
53205 COND_TOOLKIT_MSW_USE_GUI_1
=""
53208 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
53209 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53210 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
53213 COND_TOOLKIT_MSW_WXUNIV_0
="#"
53214 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
53215 COND_TOOLKIT_MSW_WXUNIV_0
=""
53218 COND_TOOLKIT_PM
="#"
53219 if test "x$TOOLKIT" = "xPM" ; then
53223 COND_TOOLKIT_PM_USE_GUI_1
="#"
53224 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
53225 COND_TOOLKIT_PM_USE_GUI_1
=""
53228 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
53229 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53230 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
53233 COND_TOOLKIT_WINCE
="#"
53234 if test "x$TOOLKIT" = "xWINCE" ; then
53235 COND_TOOLKIT_WINCE
=""
53238 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
53239 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
53240 COND_TOOLKIT_WINCE_USE_GUI_1
=""
53243 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
53244 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53245 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
53248 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
53249 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
53250 COND_TOOLKIT_WINCE_WXUNIV_0
=""
53253 COND_TOOLKIT_X11
="#"
53254 if test "x$TOOLKIT" = "xX11" ; then
53255 COND_TOOLKIT_X11
=""
53258 COND_TOOLKIT_X11_USE_GUI_1
="#"
53259 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
53260 COND_TOOLKIT_X11_USE_GUI_1
=""
53264 if test "x$UNICODE" = "x1" ; then
53268 COND_USE_EXCEPTIONS_0
="#"
53269 if test "x$USE_EXCEPTIONS" = "x0" ; then
53270 COND_USE_EXCEPTIONS_0
=""
53273 COND_USE_EXCEPTIONS_1
="#"
53274 if test "x$USE_EXCEPTIONS" = "x1" ; then
53275 COND_USE_EXCEPTIONS_1
=""
53279 if test "x$USE_GUI" = "x0" ; then
53284 if test "x$USE_GUI" = "x1" ; then
53288 COND_USE_GUI_1_USE_OPENGL_1
="#"
53289 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
53290 COND_USE_GUI_1_USE_OPENGL_1
=""
53293 COND_USE_GUI_1_WXUNIV_0
="#"
53294 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53295 COND_USE_GUI_1_WXUNIV_0
=""
53298 COND_USE_GUI_1_WXUNIV_1
="#"
53299 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
53300 COND_USE_GUI_1_WXUNIV_1
=""
53303 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
53304 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53305 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
53308 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
53309 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53310 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
53313 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
53314 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53315 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
53318 COND_USE_ODBC_1
="#"
53319 if test "x$USE_ODBC" = "x1" ; then
53323 COND_USE_OPENGL_1
="#"
53324 if test "x$USE_OPENGL" = "x1" ; then
53325 COND_USE_OPENGL_1
=""
53329 if test "x$USE_PCH" = "x1" ; then
53333 COND_USE_PLUGINS_0
="#"
53334 if test "x$USE_PLUGINS" = "x0" ; then
53335 COND_USE_PLUGINS_0
=""
53338 COND_USE_RTTI_0
="#"
53339 if test "x$USE_RTTI" = "x0" ; then
53343 COND_USE_RTTI_1
="#"
53344 if test "x$USE_RTTI" = "x1" ; then
53348 COND_USE_SOSYMLINKS_1
="#"
53349 if test "x$USE_SOSYMLINKS" = "x1" ; then
53350 COND_USE_SOSYMLINKS_1
=""
53353 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
53354 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53355 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
53358 COND_USE_SOVERLINUX_1
="#"
53359 if test "x$USE_SOVERLINUX" = "x1" ; then
53360 COND_USE_SOVERLINUX_1
=""
53363 COND_USE_SOVERSION_0
="#"
53364 if test "x$USE_SOVERSION" = "x0" ; then
53365 COND_USE_SOVERSION_0
=""
53368 COND_USE_SOVERSOLARIS_1
="#"
53369 if test "x$USE_SOVERSOLARIS" = "x1" ; then
53370 COND_USE_SOVERSOLARIS_1
=""
53374 if test "x$USE_STC" = "x1" ; then
53378 COND_USE_THREADS_0
="#"
53379 if test "x$USE_THREADS" = "x0" ; then
53380 COND_USE_THREADS_0
=""
53383 COND_USE_THREADS_1
="#"
53384 if test "x$USE_THREADS" = "x1" ; then
53385 COND_USE_THREADS_1
=""
53389 if test "x$USE_XRC" = "x1" ; then
53393 COND_WINDOWS_IMPLIB_1
="#"
53394 if test "x$WINDOWS_IMPLIB" = "x1" ; then
53395 COND_WINDOWS_IMPLIB_1
=""
53398 COND_WITH_PLUGIN_SDL_1
="#"
53399 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
53400 COND_WITH_PLUGIN_SDL_1
=""
53404 if test "x$WXUNIV" = "x0" ; then
53409 if test "x$WXUNIV" = "x1" ; then
53413 COND_WXUSE_EXPAT_BUILTIN
="#"
53414 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
53415 COND_WXUSE_EXPAT_BUILTIN
=""
53418 COND_WXUSE_LIBJPEG_BUILTIN
="#"
53419 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53420 COND_WXUSE_LIBJPEG_BUILTIN
=""
53423 COND_WXUSE_LIBPNG_BUILTIN
="#"
53424 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53425 COND_WXUSE_LIBPNG_BUILTIN
=""
53428 COND_WXUSE_LIBTIFF_BUILTIN
="#"
53429 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53430 COND_WXUSE_LIBTIFF_BUILTIN
=""
53433 COND_WXUSE_ODBC_BUILTIN
="#"
53434 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
53435 COND_WXUSE_ODBC_BUILTIN
=""
53438 COND_WXUSE_REGEX_BUILTIN
="#"
53439 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
53440 COND_WXUSE_REGEX_BUILTIN
=""
53443 COND_WXUSE_ZLIB_BUILTIN
="#"
53444 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
53445 COND_WXUSE_ZLIB_BUILTIN
=""
53450 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
53451 { { 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
53452 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;}
53453 { (exit 1); exit 1; }; }
53456 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
53457 { { 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
53458 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;}
53459 { (exit 1); exit 1; }; }
53463 if test $GCC_PCH = 1
53465 if test "$wx_cv_gcc_pch_bug" = yes; then
53466 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
53467 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
53468 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
53469 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
53470 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
53471 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
53474 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
53478 if test "$wxUSE_MAC" = 1 ; then
53479 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
53480 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
53486 if test "$wxUSE_SHARED" = "yes"; then
53488 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
53489 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
53492 *-pc-os2_emx | *-pc-os2-emx )
53493 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53494 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53495 cp -p ${srcdir}/src
/os
2/dllnames.sh .
53496 cp -p ${srcdir}/src
/os
2/dllar.sh .
53501 EXE_LINKER
="$CXX -o"
53504 if test "$wxUSE_OMF" = "yes"; then
53506 *-pc-os2_emx | *-pc-os2-emx )
53507 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
53508 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
53509 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
53514 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53519 if "$GCC" = yes; then
53520 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
53521 LIBS
=`echo $LIBS | sed 's/-mt//'`
53522 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53527 if test "x$SUNCXX" = xyes
; then
53528 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
53529 LIBS
=`echo $LIBS | sed 's/-pthread//'`
53530 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53535 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
53536 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53538 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53600 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53601 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53602 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53603 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
53604 echo $ECHO_N "(cached) $ECHO_C" >&6
53606 cat >conftest.
make <<\_ACEOF
53609 @
echo '@@@%%%=$(MAKE)=@@@%%%'
53611 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53612 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53613 *@@@
%%%=?
*=@@@
%%%*)
53614 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
53616 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
53618 rm -f conftest.
make
53620 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
53621 { echo "$as_me:$LINENO: result: yes" >&5
53622 echo "${ECHO_T}yes" >&6; }
53625 { echo "$as_me:$LINENO: result: no" >&5
53626 echo "${ECHO_T}no" >&6; }
53627 SET_MAKE
="MAKE=${MAKE-make}"
53632 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53635 if test "$USE_WIN32" = 1; then
53636 ac_config_commands
="$ac_config_commands
53642 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53645 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53648 if test "$wx_cv_version_script" = "yes"; then
53649 ac_config_files
="$ac_config_files version-script"
53652 ac_config_files
="$ac_config_files Makefile"
53655 ac_config_commands
="$ac_config_commands wx-config"
53659 if test "$wxWITH_SUBDIRS" != "no"; then
53660 if test "$wxUSE_GUI" = "yes"; then
53661 SUBDIRS
="samples demos utils"
53662 else SUBDIRS
="samples utils"
53667 # Check whether --with-cppunit-prefix was given.
53668 if test "${with_cppunit_prefix+set}" = set; then
53669 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
53671 cppunit_config_prefix
=""
53675 # Check whether --with-cppunit-exec-prefix was given.
53676 if test "${with_cppunit_exec_prefix+set}" = set; then
53677 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
53679 cppunit_config_exec_prefix
=""
53683 if test x
$cppunit_config_exec_prefix != x
; then
53684 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53685 if test x
${CPPUNIT_CONFIG+set} != xset
; then
53686 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
53689 if test x
$cppunit_config_prefix != x
; then
53690 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
53691 if test x
${CPPUNIT_CONFIG+set} != xset
; then
53692 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
53696 # Extract the first word of "cppunit-config", so it can be a program name with args.
53697 set dummy cppunit
-config; ac_word
=$2
53698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53700 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53701 echo $ECHO_N "(cached) $ECHO_C" >&6
53703 case $CPPUNIT_CONFIG in
53705 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53709 for as_dir
in $PATH
53712 test -z "$as_dir" && as_dir
=.
53713 for ac_exec_ext
in '' $ac_executable_extensions; do
53714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53715 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
53716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53723 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
53727 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
53728 if test -n "$CPPUNIT_CONFIG"; then
53729 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53730 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53732 { echo "$as_me:$LINENO: result: no" >&5
53733 echo "${ECHO_T}no" >&6; }
53737 cppunit_version_min
=1.8.0
53739 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53740 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53742 if test "$CPPUNIT_CONFIG" = "no" ; then
53743 { echo "$as_me:$LINENO: result: no" >&5
53744 echo "${ECHO_T}no" >&6; }
53747 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
53748 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
53749 cppunit_version
=`$CPPUNIT_CONFIG --version`
53751 cppunit_major_version
=`echo $cppunit_version | \
53752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53753 cppunit_minor_version
=`echo $cppunit_version | \
53754 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53755 cppunit_micro_version
=`echo $cppunit_version | \
53756 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53758 cppunit_major_min
=`echo $cppunit_version_min | \
53759 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53760 cppunit_minor_min
=`echo $cppunit_version_min | \
53761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53762 cppunit_micro_min
=`echo $cppunit_version_min | \
53763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53765 cppunit_version_proper
=`expr \
53766 $cppunit_major_version \> $cppunit_major_min \| \
53767 $cppunit_major_version \= $cppunit_major_min \& \
53768 $cppunit_minor_version \> $cppunit_minor_min \| \
53769 $cppunit_major_version \= $cppunit_major_min \& \
53770 $cppunit_minor_version \= $cppunit_minor_min \& \
53771 $cppunit_micro_version \>= $cppunit_micro_min `
53773 if test "$cppunit_version_proper" = "1" ; then
53774 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53775 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53777 { echo "$as_me:$LINENO: result: no" >&5
53778 echo "${ECHO_T}no" >&6; }
53783 if test "x$no_cppunit" = x
; then
53784 SUBDIRS
="$SUBDIRS tests"
53795 for subdir
in `echo $SUBDIRS`; do
53796 if test -d ${srcdir}/${subdir} ; then
53797 if test "$wxUSE_GUI" = "yes"; then
53798 if test ${subdir} = "samples"; then
53799 makefiles
="samples/Makefile.in $makefiles"
53800 for sample
in `echo $SAMPLES_SUBDIRS`; do
53801 if test -d $srcdir/samples
/$sample; then
53802 makefiles
="samples/$sample/Makefile.in $makefiles"
53806 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
53807 eval "disabled=\$$disabled_var"
53808 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
53809 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53811 else if test ${subdir} = "samples"; then
53812 makefiles
="samples/Makefile.in samples/console/Makefile.in"
53813 elif test ${subdir} = "utils"; then
53815 for util
in HelpGen tex2rtf
; do
53816 if test -d $srcdir/utils
/$util ; then
53817 makefiles
="utils/$util/Makefile.in \
53818 utils/$util/src/Makefile.in \
53822 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
53826 for mkin
in $makefiles ; do
53827 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53828 ac_config_files
="$ac_config_files $mk"
53834 cat >confcache
<<\_ACEOF
53835 # This file is a shell script that caches the results of configure
53836 # tests run on this system so they can be shared between configure
53837 # scripts and configure runs, see configure's option --config-cache.
53838 # It is not useful on other systems. If it contains results you don't
53839 # want to keep, you may remove or edit it.
53841 # config.status only pays attention to the cache file if you give it
53842 # the --recheck option to rerun configure.
53844 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53845 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53846 # following values.
53850 # The following way of writing the cache mishandles newlines in values,
53851 # but we know of no workaround that is simple, portable, and efficient.
53852 # So, we kill variables containing newlines.
53853 # Ultrix sh set writes to stderr and can't be redirected directly,
53854 # and sets the high bit in the cache file unless we assign to the vars.
53856 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53857 eval ac_val
=\$
$ac_var
53861 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53862 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53865 _
| IFS
| as_nl
) ;; #(
53866 *) $as_unset $ac_var ;;
53872 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53873 *${as_nl}ac_space
=\
*)
53874 # `set' does not quote correctly, so add quotes (double-quote
53875 # substitution turns \\\\ into \\, and sed turns \\ into \).
53878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53881 # `set' quotes correctly as required by POSIX, so do not add quotes.
53882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53893 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53895 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53896 if test -w "$cache_file"; then
53897 test "x$cache_file" != "x/dev/null" &&
53898 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53899 echo "$as_me: updating cache $cache_file" >&6;}
53900 cat confcache
>$cache_file
53902 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53903 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53908 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53909 # Let make expand exec_prefix.
53910 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53912 DEFS
=-DHAVE_CONFIG_H
53916 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53917 # 1. Remove the extension, and $U if already installed.
53918 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53919 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53920 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53921 # will be set to the directory where LIBOBJS objects are built.
53922 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53923 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53925 LIBOBJS
=$ac_libobjs
53927 LTLIBOBJS
=$ac_ltlibobjs
53931 : ${CONFIG_STATUS=./config.status}
53932 ac_clean_files_save
=$ac_clean_files
53933 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53934 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53935 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53936 cat >$CONFIG_STATUS <<_ACEOF
53938 # Generated by $as_me.
53939 # Run this file to recreate the current configuration.
53940 # Compiler output produced by configure, useful for debugging
53941 # configure, is in config.log if it exists.
53944 ac_cs_recheck=false
53946 SHELL=\${CONFIG_SHELL-$SHELL}
53949 cat >>$CONFIG_STATUS <<\_ACEOF
53950 ## --------------------- ##
53951 ## M4sh Initialization. ##
53952 ## --------------------- ##
53954 # Be more Bourne compatible
53955 DUALCASE
=1; export DUALCASE
# for MKS sh
53956 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53959 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53960 # is contrary to our usage. Disable this feature.
53961 alias -g '${1+"$@"}'='"$@"'
53962 setopt NO_GLOB_SUBST
53964 case `(set -o) 2>/dev/null` in
53965 *posix
*) set -o posix
;;
53974 # Avoid depending upon Character Ranges.
53975 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53976 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53977 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53978 as_cr_digits
='0123456789'
53979 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53981 # The user is always right.
53982 if test "${PATH_SEPARATOR+set}" != set; then
53983 echo "#! /bin/sh" >conf$$.sh
53984 echo "exit 0" >>conf$$.sh
53986 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53994 # Support unset when possible.
53995 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
54003 # We need space, tab and new line, in precisely that order. Quoting is
54004 # there to prevent editors from complaining about space-tab.
54005 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
54006 # splitting by setting IFS to empty value.)
54011 # Find who we are. Look in the path if we contain no directory separator.
54013 *[\\/]* ) as_myself
=$0 ;;
54014 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54015 for as_dir
in $PATH
54018 test -z "$as_dir" && as_dir
=.
54019 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
54025 # We did not find ourselves, most probably we were run as `sh COMMAND'
54026 # in which case we are not to be found in the path.
54027 if test "x$as_myself" = x
; then
54030 if test ! -f "$as_myself"; then
54031 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
54032 { (exit 1); exit 1; }
54035 # Work around bugs in pre-3.0 UWIN ksh.
54036 for as_var
in ENV MAIL MAILPATH
54037 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
54045 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
54046 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
54047 LC_TELEPHONE LC_TIME
54049 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
54050 eval $as_var=C
; export $as_var
54052 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
54056 # Required to use basename.
54057 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
54058 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
54064 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
54065 as_basename
=basename
54071 # Name of the executable.
54072 as_me
=`$as_basename -- "$0" ||
54073 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
54074 X"$0" : 'X\(//\)$' \| \
54075 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
54077 sed '/^.*\/\([^/][^/]*\)\/*$/{
54096 as_lineno_1
=$LINENO
54097 as_lineno_2
=$LINENO
54098 test "x$as_lineno_1" != "x$as_lineno_2" &&
54099 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
54101 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
54102 # uniformly replaced by the line number. The first 'sed' inserts a
54103 # line-number line after each line using $LINENO; the second 'sed'
54104 # does the real work. The second script uses 'N' to pair each
54105 # line-number line with the line containing $LINENO, and appends
54106 # trailing '-' during substitution so that $LINENO is not a special
54107 # case at line end.
54108 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
54109 # scripts with optimization help from Paolo Bonzini. Blame Lee
54110 # E. McMahon (1931-1989) for sed's syntax. :-)
54122 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
54125 ' >$as_me.lineno
&&
54126 chmod +x
"$as_me.lineno" ||
54127 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
54128 { (exit 1); exit 1; }; }
54130 # Don't try to exec as it changes $[0], causing all sort of problems
54131 # (the dirname of $[0] is not the place where we might find the
54132 # original and so on. Autoconf is especially sensitive to this).
54133 .
"./$as_me.lineno"
54134 # Exit status is that of the last command.
54139 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
54145 ECHO_C
= ECHO_N
= ECHO_T
=
54146 case `echo -n x` in
54148 case `echo 'x\c'` in
54149 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
54156 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
54157 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
54163 rm -f conf$$ conf$$.exe conf$$.
file
54164 if test -d conf$$.dir
; then
54165 rm -f conf$$.dir
/conf$$.
file
54171 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
54173 # ... but there are two gotchas:
54174 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
54175 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
54176 # In both cases, we have to default to `cp -p'.
54177 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
54179 elif ln conf$$.
file conf$$
2>/dev
/null
; then
54184 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
54185 rmdir conf$$.dir
2>/dev
/null
54187 if mkdir -p .
2>/dev
/null
; then
54190 test -d .
/-p && rmdir .
/-p
54194 if test -x / >/dev
/null
2>&1; then
54195 as_test_x
='test -x'
54197 if ls -dL / >/dev
/null
2>&1; then
54204 if test -d "$1"; then
54210 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
54211 ???[sx]*):;;*)false;;esac;fi
54215 as_executable_p
=$as_test_x
54217 # Sed expression to map a string onto a valid CPP name.
54218 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
54220 # Sed expression to map a string onto a valid variable name.
54221 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
54226 # Save the log message, to keep $[0] and so on meaningful, and to
54227 # report actual input values of CONFIG_FILES etc. instead of their
54228 # values after options handling.
54230 This file was extended by wxWidgets $as_me 2.9.0, which was
54231 generated by GNU Autoconf 2.61. Invocation command line was
54233 CONFIG_FILES = $CONFIG_FILES
54234 CONFIG_HEADERS = $CONFIG_HEADERS
54235 CONFIG_LINKS = $CONFIG_LINKS
54236 CONFIG_COMMANDS = $CONFIG_COMMANDS
54239 on `(hostname || uname -n) 2>/dev/null | sed 1q`
54244 cat >>$CONFIG_STATUS <<_ACEOF
54245 # Files that config.status was made for.
54246 config_files="$ac_config_files"
54247 config_headers="$ac_config_headers"
54248 config_commands="$ac_config_commands"
54252 cat >>$CONFIG_STATUS <<\_ACEOF
54254 \`$as_me' instantiates files from templates according to the
54255 current configuration.
54257 Usage: $0 [OPTIONS] [FILE]...
54259 -h, --help print this help, then exit
54260 -V, --version print version number and configuration settings, then exit
54261 -q, --quiet do not print progress messages
54262 -d, --debug don't remove temporary files
54263 --recheck update $as_me by reconfiguring in the same conditions
54264 --file=FILE[:TEMPLATE]
54265 instantiate the configuration file FILE
54266 --header=FILE[:TEMPLATE]
54267 instantiate the configuration header FILE
54269 Configuration files:
54272 Configuration headers:
54275 Configuration commands:
54278 Report bugs to <bug-autoconf@gnu.org>."
54281 cat >>$CONFIG_STATUS <<_ACEOF
54283 wxWidgets config.status 2.9.0
54284 configured by $0, generated by GNU Autoconf 2.61,
54285 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
54287 Copyright (C) 2006 Free Software Foundation, Inc.
54288 This config.status script is free software; the Free Software Foundation
54289 gives unlimited permission to copy, distribute and modify it."
54296 cat >>$CONFIG_STATUS <<\_ACEOF
54297 # If no file are specified by the user, then we need to provide default
54298 # value. By we need to know if files were specified by the user.
54304 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
54305 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
54316 # Handling of the options.
54317 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
54319 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
54320 echo "$ac_cs_version"; exit ;;
54321 --debug | --debu | --deb | --de | --d | -d )
54323 --file | --fil | --fi | --f )
54325 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
54326 ac_need_defaults
=false
;;
54327 --header | --heade | --head | --hea )
54329 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
54330 ac_need_defaults
=false
;;
54332 # Conflict between --help and --header
54333 { echo "$as_me: error: ambiguous option: $1
54334 Try \`$0 --help' for more information." >&2
54335 { (exit 1); exit 1; }; };;
54336 --help | --hel | -h )
54337 echo "$ac_cs_usage"; exit ;;
54338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
54339 | -silent | --silent | --silen | --sile | --sil | --si | --s)
54342 # This is an error.
54343 -*) { echo "$as_me: error: unrecognized option: $1
54344 Try \`$0 --help' for more information." >&2
54345 { (exit 1); exit 1; }; } ;;
54347 *) ac_config_targets
="$ac_config_targets $1"
54348 ac_need_defaults
=false
;;
54354 ac_configure_extra_args
=
54356 if $ac_cs_silent; then
54358 ac_configure_extra_args
="$ac_configure_extra_args --silent"
54362 cat >>$CONFIG_STATUS <<_ACEOF
54363 if \$ac_cs_recheck; then
54364 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
54365 CONFIG_SHELL=$SHELL
54366 export CONFIG_SHELL
54367 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
54371 cat >>$CONFIG_STATUS <<\_ACEOF
54375 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
54376 ## Running $as_me. ##
54382 cat >>$CONFIG_STATUS <<_ACEOF
54388 infile="$srcdir/include/wx/msw/genrcdefs.h"
54389 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
54392 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54393 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54394 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54400 cat >>$CONFIG_STATUS <<\_ACEOF
54402 # Handling of arguments.
54403 for ac_config_target
in $ac_config_targets
54405 case $ac_config_target in
54406 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
54407 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
54408 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
54409 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
54410 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
54411 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
54412 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
54413 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
54415 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54416 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54417 { (exit 1); exit 1; }; };;
54422 # If the user did not use the arguments to specify the items to instantiate,
54423 # then the envvar interface is used. Set only those that are not.
54424 # We use the long form for the default assignment because of an extremely
54425 # bizarre bug on SunOS 4.1.3.
54426 if $ac_need_defaults; then
54427 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
54428 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
54429 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
54432 # Have a temporary directory for convenience. Make it in the build tree
54433 # simply because there is no reason against having it here, and in addition,
54434 # creating and moving files from /tmp can sometimes cause problems.
54435 # Hook for its removal unless debugging.
54436 # Note that there is a small window in which the directory will not be cleaned:
54437 # after its creation but before its name has been assigned to `$tmp'.
54441 trap 'exit_status=$?
54442 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54444 trap '{ (exit 1); exit 1; }' 1 2 13 15
54446 # Create a (secure) tmp directory for tmp files.
54449 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54450 test -n "$tmp" && test -d "$tmp"
54453 tmp
=.
/conf$$
-$RANDOM
54454 (umask 077 && mkdir "$tmp")
54457 echo "$me: cannot create a temporary directory in ." >&2
54458 { (exit 1); exit 1; }
54462 # Set up the sed scripts for CONFIG_FILES section.
54465 # No need to generate the scripts if there are no CONFIG_FILES.
54466 # This happens for instance when ./config.status config.h
54467 if test -n "$CONFIG_FILES"; then
54474 for ac_last_try
in false false false false false
:; do
54475 cat >conf$
$subs.
sed <<_ACEOF
54476 SHELL!$SHELL$ac_delim
54477 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54478 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
54479 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54480 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54481 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
54482 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54483 exec_prefix!$exec_prefix$ac_delim
54484 prefix!$prefix$ac_delim
54485 program_transform_name!$program_transform_name$ac_delim
54486 bindir!$bindir$ac_delim
54487 sbindir!$sbindir$ac_delim
54488 libexecdir!$libexecdir$ac_delim
54489 datarootdir!$datarootdir$ac_delim
54490 datadir!$datadir$ac_delim
54491 sysconfdir!$sysconfdir$ac_delim
54492 sharedstatedir!$sharedstatedir$ac_delim
54493 localstatedir!$localstatedir$ac_delim
54494 includedir!$includedir$ac_delim
54495 oldincludedir!$oldincludedir$ac_delim
54496 docdir!$docdir$ac_delim
54497 infodir!$infodir$ac_delim
54498 htmldir!$htmldir$ac_delim
54499 dvidir!$dvidir$ac_delim
54500 pdfdir!$pdfdir$ac_delim
54501 psdir!$psdir$ac_delim
54502 libdir!$libdir$ac_delim
54503 localedir!$localedir$ac_delim
54504 mandir!$mandir$ac_delim
54505 DEFS!$DEFS$ac_delim
54506 ECHO_C!$ECHO_C$ac_delim
54507 ECHO_N!$ECHO_N$ac_delim
54508 ECHO_T!$ECHO_T$ac_delim
54509 LIBS!$LIBS$ac_delim
54510 build_alias!$build_alias$ac_delim
54511 host_alias!$host_alias$ac_delim
54512 target_alias!$target_alias$ac_delim
54513 build!$build$ac_delim
54514 build_cpu!$build_cpu$ac_delim
54515 build_vendor!$build_vendor$ac_delim
54516 build_os!$build_os$ac_delim
54517 host!$host$ac_delim
54518 host_cpu!$host_cpu$ac_delim
54519 host_vendor!$host_vendor$ac_delim
54520 host_os!$host_os$ac_delim
54521 target!$target$ac_delim
54522 target_cpu!$target_cpu$ac_delim
54523 target_vendor!$target_vendor$ac_delim
54524 target_os!$target_os$ac_delim
54525 wx_top_builddir!$wx_top_builddir$ac_delim
54527 CFLAGS!$CFLAGS$ac_delim
54528 LDFLAGS!$LDFLAGS$ac_delim
54529 CPPFLAGS!$CPPFLAGS$ac_delim
54530 ac_ct_CC!$ac_ct_CC$ac_delim
54531 EXEEXT!$EXEEXT$ac_delim
54532 OBJEXT!$OBJEXT$ac_delim
54534 GREP!$GREP$ac_delim
54535 EGREP!$EGREP$ac_delim
54537 CXXFLAGS!$CXXFLAGS$ac_delim
54538 ac_ct_CXX!$ac_ct_CXX$ac_delim
54539 RANLIB!$RANLIB$ac_delim
54541 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54542 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54543 INSTALL_DATA!$INSTALL_DATA$ac_delim
54544 STRIP!$STRIP$ac_delim
54545 WINDRES!$WINDRES$ac_delim
54546 DLLTOOL!$DLLTOOL$ac_delim
54547 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54548 LN_S!$LN_S$ac_delim
54549 subdirs!$subdirs$ac_delim
54550 PKG_CONFIG!$PKG_CONFIG$ac_delim
54551 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54552 GTK_LIBS!$GTK_LIBS$ac_delim
54553 GTK_CONFIG!$GTK_CONFIG$ac_delim
54554 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54555 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54556 XMKMF!$XMKMF$ac_delim
54557 X_CFLAGS!$X_CFLAGS$ac_delim
54558 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54559 X_LIBS!$X_LIBS$ac_delim
54560 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54561 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54562 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54563 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54564 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54565 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54566 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54567 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54568 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54570 DEREZ!$DEREZ$ac_delim
54571 SETFILE!$SETFILE$ac_delim
54572 LIBICONV!$LIBICONV$ac_delim
54575 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54577 elif $ac_last_try; then
54578 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54579 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54580 { (exit 1); exit 1; }; }
54582 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54586 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54587 if test -n "$ac_eof"; then
54588 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54589 ac_eof
=`expr $ac_eof + 1`
54592 cat >>$CONFIG_STATUS <<_ACEOF
54593 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54597 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54598 s/^/s,@/; s/!/@,|#_!!_#|/
54601 s/'"$ac_delim"'$/,g/; t
54603 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54604 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54605 rm -f conf$
$subs.
sed
54606 cat >>$CONFIG_STATUS <<_ACEOF
54612 for ac_last_try
in false false false false false
:; do
54613 cat >conf$
$subs.
sed <<_ACEOF
54614 SDL_CONFIG!$SDL_CONFIG$ac_delim
54615 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54616 SDL_LIBS!$SDL_LIBS$ac_delim
54617 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54618 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54619 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54620 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54621 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54622 HILDON_LIBS!$HILDON_LIBS$ac_delim
54623 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54624 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54625 GST_CFLAGS!$GST_CFLAGS$ac_delim
54626 GST_LIBS!$GST_LIBS$ac_delim
54627 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54628 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54629 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54630 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54631 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54632 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54633 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54634 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54635 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54636 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54637 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54638 VENDOR!$VENDOR$ac_delim
54639 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54640 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54641 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54642 WXUNIV!$WXUNIV$ac_delim
54643 MONOLITHIC!$MONOLITHIC$ac_delim
54644 USE_PLUGINS!$USE_PLUGINS$ac_delim
54645 CXXWARNINGS!$CXXWARNINGS$ac_delim
54646 EXTRALIBS!$EXTRALIBS$ac_delim
54647 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54648 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54649 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54650 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54651 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54652 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54653 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54654 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54655 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54656 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54657 UNICODE!$UNICODE$ac_delim
54658 BUILD!$BUILD$ac_delim
54659 DEBUG_INFO!$DEBUG_INFO$ac_delim
54660 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54661 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54662 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54663 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54664 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54665 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54666 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54667 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54668 SET_MAKE!$SET_MAKE$ac_delim
54669 MAKE_SET!$MAKE_SET$ac_delim
54670 AROPTIONS!$AROPTIONS$ac_delim
54672 INSTALL_DIR!$INSTALL_DIR$ac_delim
54673 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54674 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54675 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54676 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54677 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54678 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54679 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54680 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54681 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54682 SO_SUFFIX!$SO_SUFFIX$ac_delim
54683 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54684 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54685 LIBPREFIX!$LIBPREFIX$ac_delim
54686 LIBEXT!$LIBEXT$ac_delim
54687 DLLPREFIX!$DLLPREFIX$ac_delim
54688 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54689 dlldir!$dlldir$ac_delim
54690 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54691 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54692 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54693 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54694 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54695 PIC_FLAG!$PIC_FLAG$ac_delim
54696 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54697 USE_SOVERSION!$USE_SOVERSION$ac_delim
54698 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54699 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54700 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54701 USE_MACVERSION!$USE_MACVERSION$ac_delim
54702 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54703 SONAME_FLAG!$SONAME_FLAG$ac_delim
54704 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54705 BK_DEPS!$BK_DEPS$ac_delim
54706 GCC_PCH!$GCC_PCH$ac_delim
54707 ICC_PCH!$ICC_PCH$ac_delim
54708 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54709 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54710 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54713 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54715 elif $ac_last_try; then
54716 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54717 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54718 { (exit 1); exit 1; }; }
54720 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54724 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54725 if test -n "$ac_eof"; then
54726 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54727 ac_eof
=`expr $ac_eof + 1`
54730 cat >>$CONFIG_STATUS <<_ACEOF
54731 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54732 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54735 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54736 s/^/s,@/; s/!/@,|#_!!_#|/
54739 s/'"$ac_delim"'$/,g/; t
54741 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54742 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54743 rm -f conf$
$subs.
sed
54744 cat >>$CONFIG_STATUS <<_ACEOF
54750 for ac_last_try
in false false false false false
:; do
54751 cat >conf$
$subs.
sed <<_ACEOF
54752 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54753 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54754 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54755 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54756 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54757 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54758 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54759 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54760 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54761 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54762 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54763 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54764 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54765 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54766 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54767 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54768 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54770 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54774 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54775 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54776 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54777 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54778 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54779 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54780 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54781 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54782 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54783 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54784 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54785 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54786 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54787 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54788 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54789 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54790 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54791 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54792 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54793 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54794 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54795 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54796 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54797 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54798 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54799 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54800 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54801 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54802 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54803 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54804 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54805 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54806 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54807 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54808 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54809 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54810 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54811 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54812 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54813 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54814 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54815 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54816 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54817 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54818 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54819 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54820 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54821 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54822 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54823 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54824 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54825 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54826 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54827 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54828 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54829 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54830 COND_SHARED_0!$COND_SHARED_0$ac_delim
54831 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54832 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54833 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54834 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54835 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54836 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54837 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54838 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54839 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54840 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54841 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54842 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54843 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54844 COND_SHARED_1!$COND_SHARED_1$ac_delim
54845 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54846 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54847 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54848 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54851 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54853 elif $ac_last_try; then
54854 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54855 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54856 { (exit 1); exit 1; }; }
54858 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54862 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54863 if test -n "$ac_eof"; then
54864 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54865 ac_eof
=`expr $ac_eof + 1`
54868 cat >>$CONFIG_STATUS <<_ACEOF
54869 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54870 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54873 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54874 s/^/s,@/; s/!/@,|#_!!_#|/
54877 s/'"$ac_delim"'$/,g/; t
54879 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54880 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54881 rm -f conf$
$subs.
sed
54882 cat >>$CONFIG_STATUS <<_ACEOF
54888 for ac_last_try
in false false false false false
:; do
54889 cat >conf$
$subs.
sed <<_ACEOF
54890 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54891 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54892 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54893 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54894 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54895 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54896 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54897 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54898 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54899 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54900 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54901 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54902 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54903 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54904 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54905 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54906 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54907 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54908 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54909 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54910 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54911 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54912 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54913 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54914 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54915 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54916 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54917 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54918 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54919 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54920 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54921 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54922 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54923 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54924 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54925 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54926 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54927 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54928 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54929 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54930 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54931 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54932 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54933 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54934 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54935 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54936 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54937 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54938 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54939 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54940 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54941 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54942 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54943 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54944 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54945 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54946 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54947 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54948 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54949 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54950 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54951 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54952 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54953 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54954 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54955 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54956 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54957 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54958 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54959 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54960 SHARED!$SHARED$ac_delim
54961 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54962 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54963 USE_GUI!$USE_GUI$ac_delim
54964 AFMINSTALL!$AFMINSTALL$ac_delim
54965 WIN32INSTALL!$WIN32INSTALL$ac_delim
54966 TOOLKIT!$TOOLKIT$ac_delim
54967 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54968 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54969 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54970 cross_compiling!$cross_compiling$ac_delim
54971 WIDGET_SET!$WIDGET_SET$ac_delim
54972 WX_RELEASE!$WX_RELEASE$ac_delim
54973 WX_VERSION!$WX_VERSION$ac_delim
54974 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54975 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54976 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54977 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54978 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54979 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54980 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54981 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54982 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54983 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54984 EXE_LINKER!$EXE_LINKER$ac_delim
54985 GUIDIST!$GUIDIST$ac_delim
54986 DISTDIR!$DISTDIR$ac_delim
54989 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54991 elif $ac_last_try; then
54992 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54993 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54994 { (exit 1); exit 1; }; }
54996 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
55000 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55001 if test -n "$ac_eof"; then
55002 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
55003 ac_eof
=`expr $ac_eof + 1`
55006 cat >>$CONFIG_STATUS <<_ACEOF
55007 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
55008 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55011 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55012 s/^/s,@/; s/!/@,|#_!!_#|/
55015 s/'"$ac_delim"'$/,g/; t
55017 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55018 ' >>$CONFIG_STATUS <conf$
$subs.
sed
55019 rm -f conf$
$subs.
sed
55020 cat >>$CONFIG_STATUS <<_ACEOF
55026 for ac_last_try
in false false false false false
:; do
55027 cat >conf$
$subs.
sed <<_ACEOF
55028 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
55029 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
55030 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
55031 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
55032 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
55033 RESCOMP!$RESCOMP$ac_delim
55034 RESFLAGS!$RESFLAGS$ac_delim
55035 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
55036 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
55037 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
55038 LIBWXMACRES!$LIBWXMACRES$ac_delim
55039 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
55040 MACSETFILE!$MACSETFILE$ac_delim
55042 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
55043 LIBOBJS!$LIBOBJS$ac_delim
55044 LTLIBOBJS!$LTLIBOBJS$ac_delim
55047 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
55049 elif $ac_last_try; then
55050 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55051 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55052 { (exit 1); exit 1; }; }
55054 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
55058 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55059 if test -n "$ac_eof"; then
55060 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
55061 ac_eof
=`expr $ac_eof + 1`
55064 cat >>$CONFIG_STATUS <<_ACEOF
55065 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
55066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
55069 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55070 s/^/s,@/; s/!/@,|#_!!_#|/
55073 s/'"$ac_delim"'$/,g/; t
55075 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55076 ' >>$CONFIG_STATUS <conf$
$subs.
sed
55077 rm -f conf$
$subs.
sed
55078 cat >>$CONFIG_STATUS <<_ACEOF
55085 # VPATH may cause trouble with some makes, so we remove $(srcdir),
55086 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
55087 # trailing colons and then remove the whole line if VPATH becomes empty
55088 # (actually we leave an empty line to preserve line numbers).
55089 if test "x$srcdir" = x.
; then
55090 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
55091 s/:*\$(srcdir):*/:/
55092 s/:*\${srcdir}:*/:/
55094 s/^\([^=]*=[ ]*\):*/\1/
55100 cat >>$CONFIG_STATUS <<\_ACEOF
55101 fi # test -n "$CONFIG_FILES"
55104 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
55107 :[FHLC
]) ac_mode
=$ac_tag; continue;;
55109 case $ac_mode$ac_tag in
55111 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
55112 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
55113 { (exit 1); exit 1; }; };;
55114 :[FH
]-) ac_tag
=-:-;;
55115 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
55132 -) ac_f
="$tmp/stdin";;
55133 *) # Look for the file first in the build tree, then in the source tree
55134 # (if the path is not absolute). The absolute path cannot be DOS-style,
55135 # because $ac_f cannot contain `:'.
55139 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
55141 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
55142 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
55143 { (exit 1); exit 1; }; };;
55145 ac_file_inputs
="$ac_file_inputs $ac_f"
55148 # Let's still pretend it is `configure' which instantiates (i.e., don't
55149 # use $as_me), people would be surprised to read:
55150 # /* config.h. Generated by config.status. */
55151 configure_input
="Generated from "`IFS=:
55152 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
55153 if test x
"$ac_file" != x
-; then
55154 configure_input
="$ac_file. $configure_input"
55155 { echo "$as_me:$LINENO: creating $ac_file" >&5
55156 echo "$as_me: creating $ac_file" >&6;}
55160 *:-:* | *:-) cat >"$tmp/stdin";;
55165 ac_dir
=`$as_dirname -- "$ac_file" ||
55166 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55167 X"$ac_file" : 'X\(//\)[^/]' \| \
55168 X"$ac_file" : 'X\(//\)$' \| \
55169 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
55171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55175 /^X\(\/\/\)[^/].*/{
55190 -*) as_dir
=.
/$as_dir;;
55192 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55196 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55197 *) as_qdir
=$as_dir;;
55199 as_dirs
="'$as_qdir' $as_dirs"
55200 as_dir
=`$as_dirname -- "$as_dir" ||
55201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55202 X"$as_dir" : 'X\(//\)[^/]' \| \
55203 X"$as_dir" : 'X\(//\)$' \| \
55204 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55210 /^X\(\/\/\)[^/].*/{
55223 test -d "$as_dir" && break
55225 test -z "$as_dirs" || eval "mkdir $as_dirs"
55226 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55227 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55228 { (exit 1); exit 1; }; }; }
55232 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55234 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55235 # A ".." for each directory in $ac_dir_suffix.
55236 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55237 case $ac_top_builddir_sub in
55238 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55239 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
55242 ac_abs_top_builddir
=$ac_pwd
55243 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
55244 # for backward compatibility:
55245 ac_top_builddir
=$ac_top_build_prefix
55248 .
) # We are building in place.
55250 ac_top_srcdir
=$ac_top_builddir_sub
55251 ac_abs_top_srcdir
=$ac_pwd ;;
55252 [\\/]* | ?
:[\\/]* ) # Absolute name.
55253 ac_srcdir
=$srcdir$ac_dir_suffix;
55254 ac_top_srcdir
=$srcdir
55255 ac_abs_top_srcdir
=$srcdir ;;
55256 *) # Relative name.
55257 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
55258 ac_top_srcdir
=$ac_top_build_prefix$srcdir
55259 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
55261 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
55271 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
55272 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
55276 cat >>$CONFIG_STATUS <<\_ACEOF
55277 # If the template does not know about datarootdir, expand it.
55278 # FIXME: This hack should be removed a few years after 2.60.
55279 ac_datarootdir_hack
=; ac_datarootdir_seen
=
55281 case `sed -n '/datarootdir/ {
55290 ' $ac_file_inputs` in
55291 *datarootdir
*) ac_datarootdir_seen
=yes;;
55292 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
55293 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
55294 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
55296 cat >>$CONFIG_STATUS <<_ACEOF
55297 ac_datarootdir_hack='
55298 s&@datadir@&$datadir&g
55299 s&@docdir@&$docdir&g
55300 s&@infodir@&$infodir&g
55301 s&@localedir@&$localedir&g
55302 s&@mandir@&$mandir&g
55303 s&\\\${datarootdir}&$datarootdir&g' ;;
55307 # Neutralize VPATH when `$srcdir' = `.'.
55308 # Shell code in configure.ac might set extrasub.
55309 # FIXME: do we really want to maintain this feature?
55310 cat >>$CONFIG_STATUS <<_ACEOF
55314 cat >>$CONFIG_STATUS <<\_ACEOF
55316 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
55317 s
&@configure_input@
&$configure_input&;t t
55318 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
55319 s
&@srcdir@
&$ac_srcdir&;t t
55320 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
55321 s
&@top_srcdir@
&$ac_top_srcdir&;t t
55322 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
55323 s
&@builddir@
&$ac_builddir&;t t
55324 s
&@abs_builddir@
&$ac_abs_builddir&;t t
55325 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
55326 s
&@INSTALL@
&$ac_INSTALL&;t t
55327 $ac_datarootdir_hack
55328 " $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
55330 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
55331 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
55332 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
55333 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
55334 which seems to be undefined. Please make sure it is defined." >&5
55335 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
55336 which seems to be undefined. Please make sure it is defined." >&2;}
55340 -) cat "$tmp/out"; rm -f "$tmp/out";;
55341 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
55350 # Transform confdefs.h into a sed script `conftest.defines', that
55351 # substitutes the proper values into config.h.in to produce config.h.
55352 rm -f conftest.defines conftest.
tail
55353 # First, append a space to every undef/define line, to ease matching.
55354 echo 's/$/ /' >conftest.defines
55355 # Then, protect against being on the right side of a sed subst, or in
55356 # an unquoted here document, in config.status. If some macros were
55357 # called several times there might be several #defines for the same
55358 # symbol, which is useless. But do not sort them, since the last
55359 # AC_DEFINE must be honored.
55360 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
55361 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
55362 # NAME is the cpp macro being defined, VALUE is the value it is being given.
55363 # PARAMS is the parameter list in the macro definition--in most cases, it's
55364 # just an empty string.
55365 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
55366 ac_dB
='\\)[ (].*,\\1define\\2'
55374 s/^[ ]*#[ ]*define[ ][ ]*//
55379 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
55380 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
55381 ' >>conftest.defines
55383 # Remove the space that was appended to ease matching.
55384 # Then replace #undef with comments. This is necessary, for
55385 # example, in the case of _POSIX_SOURCE, which is predefined and required
55386 # on some systems where configure will not decide to define it.
55387 # (The regexp can be short, since the line contains either #define or #undef.)
55389 s,^[ #]*u.*,/* & */,' >>conftest.defines
55391 # Break up conftest.defines:
55392 ac_max_sed_lines
=50
55394 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55395 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55396 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55398 ac_in
='$ac_file_inputs'
55399 ac_out
='"$tmp/out1"'
55400 ac_nxt
='"$tmp/out2"'
55404 # Write a here document:
55405 cat >>$CONFIG_STATUS <<_ACEOF
55406 # First, check the format of the line:
55407 cat >"\$tmp/defines.sed" <<\\CEOF
55408 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55409 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55413 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
55415 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55416 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
55417 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
55418 grep . conftest.
tail >/dev
/null
|| break
55419 rm -f conftest.defines
55420 mv conftest.
tail conftest.defines
55422 rm -f conftest.defines conftest.
tail
55424 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55425 cat >>$CONFIG_STATUS <<\_ACEOF
55426 if test x
"$ac_file" != x
-; then
55427 echo "/* $configure_input */" >"$tmp/config.h"
55428 cat "$ac_result" >>"$tmp/config.h"
55429 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
55430 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55431 echo "$as_me: $ac_file is unchanged" >&6;}
55434 mv "$tmp/config.h" $ac_file
55437 echo "/* $configure_input */"
55443 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
55444 echo "$as_me: executing $ac_file commands" >&6;}
55449 case $ac_file$ac_mode in
55451 mkdir -p $outdir &&
55452 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
55454 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
55455 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
55456 "wx-config":C
) rm -f wx
-config
55457 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
55464 { (exit 0); exit 0; }
55466 chmod +x
$CONFIG_STATUS
55467 ac_clean_files
=$ac_clean_files_save
55470 # configure is writing to config.log, and then calls config.status.
55471 # config.status does its own redirection, appending to config.log.
55472 # Unfortunately, on DOS this fails, as config.log is still kept open
55473 # by configure, so config.status won't be able to write to it; its
55474 # output is simply discarded. So we exec the FD to /dev/null,
55475 # effectively closing config.log, so it can be properly (re)opened and
55476 # appended to by config.status. When coming back to configure, we
55477 # need to make the FD available again.
55478 if test "$no_create" != yes; then
55480 ac_config_status_args
=
55481 test "$silent" = yes &&
55482 ac_config_status_args
="$ac_config_status_args --quiet"
55484 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
55486 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
55487 # would make configure fail if this is the last instruction.
55488 $ac_cs_success || { (exit 1); exit 1; }
55492 # CONFIG_SUBDIRS section.
55494 if test "$no_recursion" != yes; then
55496 # Remove --cache-file and --srcdir arguments so they do not pile up.
55497 ac_sub_configure_args
=
55499 eval "set x $ac_configure_args"
55503 if test -n "$ac_prev"; then
55508 -cache-file | --cache-file | --cache-fil | --cache-fi \
55509 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55510 ac_prev
=cache_file
;;
55511 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55512 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55515 --config-cache | -C)
55517 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55519 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55521 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55523 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55527 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55529 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
55533 # Always prepend --prefix to ensure using the same prefix
55534 # in subdir configurations.
55535 ac_arg
="--prefix=$prefix"
55537 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55539 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
55542 if test "$silent" = yes; then
55543 ac_sub_configure_args
="--silent $ac_sub_configure_args"
55547 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
55549 # Do not complain, so a configure script can configure whichever
55550 # parts of a large source tree are present.
55551 test -d "$srcdir/$ac_dir" || continue
55553 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55554 echo "$as_me:$LINENO: $ac_msg" >&5
55558 -*) as_dir
=.
/$as_dir;;
55560 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55564 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55565 *) as_qdir
=$as_dir;;
55567 as_dirs
="'$as_qdir' $as_dirs"
55568 as_dir
=`$as_dirname -- "$as_dir" ||
55569 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55570 X"$as_dir" : 'X\(//\)[^/]' \| \
55571 X"$as_dir" : 'X\(//\)$' \| \
55572 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55578 /^X\(\/\/\)[^/].*/{
55591 test -d "$as_dir" && break
55593 test -z "$as_dirs" || eval "mkdir $as_dirs"
55594 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55595 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55596 { (exit 1); exit 1; }; }; }
55600 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55602 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55603 # A ".." for each directory in $ac_dir_suffix.
55604 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55605 case $ac_top_builddir_sub in
55606 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55607 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
55610 ac_abs_top_builddir
=$ac_pwd
55611 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
55612 # for backward compatibility:
55613 ac_top_builddir
=$ac_top_build_prefix
55616 .
) # We are building in place.
55618 ac_top_srcdir
=$ac_top_builddir_sub
55619 ac_abs_top_srcdir
=$ac_pwd ;;
55620 [\\/]* | ?
:[\\/]* ) # Absolute name.
55621 ac_srcdir
=$srcdir$ac_dir_suffix;
55622 ac_top_srcdir
=$srcdir
55623 ac_abs_top_srcdir
=$srcdir ;;
55624 *) # Relative name.
55625 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
55626 ac_top_srcdir
=$ac_top_build_prefix$srcdir
55627 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
55629 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
55634 # Check for guested configure; otherwise get Cygnus style configure.
55635 if test -f "$ac_srcdir/configure.gnu"; then
55636 ac_sub_configure
=$ac_srcdir/configure.gnu
55637 elif test -f "$ac_srcdir/configure"; then
55638 ac_sub_configure
=$ac_srcdir/configure
55639 elif test -f "$ac_srcdir/configure.in"; then
55640 # This should be Cygnus configure.
55641 ac_sub_configure
=$ac_aux_dir/configure
55643 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55644 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55648 # The recursion is here.
55649 if test -n "$ac_sub_configure"; then
55650 # Make the cache file name correct relative to the subdirectory.
55651 case $cache_file in
55652 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
55653 *) # Relative name.
55654 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
55657 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55658 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55659 # The eval makes quoting arguments work.
55660 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55661 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55662 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55663 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55664 { (exit 1); exit 1; }; }
55673 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55675 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55676 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55678 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55679 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55680 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55681 if test "$wxUSE_UNICODE" = "yes"; then
55682 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55683 echo " (using UTF-8)"
55685 echo " (using wchar_t)"
55691 echo " What level of wxWidgets compatibility should be enabled?"
55692 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55693 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55695 echo " Which libraries should wxWidgets use?"
55696 echo " STL ${wxUSE_STL}"
55697 echo " jpeg ${wxUSE_LIBJPEG-none}"
55698 echo " png ${wxUSE_LIBPNG-none}"
55699 echo " regex ${wxUSE_REGEX}"
55700 echo " tiff ${wxUSE_LIBTIFF-none}"
55701 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55702 echo " xpm ${wxUSE_LIBXPM-none}"
55704 echo " zlib ${wxUSE_ZLIB}"
55705 echo " odbc ${wxUSE_ODBC}"
55706 echo " expat ${wxUSE_EXPAT}"
55707 echo " libmspack ${wxUSE_LIBMSPACK}"
55708 echo " sdl ${wxUSE_LIBSDL}"