2 # From configure.in Id: configure.in 49661 2007-11-05 22:32:45Z 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
709 LIBGNOMEPRINTUI_CFLAGS
755 SAMPLES_RPATH_POSTLINK
811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
812 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
813 COND_BUILD_DEBUG_UNICODE_0
814 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
817 COND_BUILD_RELEASE_UNICODE_0
818 COND_BUILD_RELEASE_UNICODE_1
827 COND_MONOLITHIC_0_SHARED_0
828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_HTML_1
849 COND_MONOLITHIC_0_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_QA_1
851 COND_MONOLITHIC_0_USE_RICHTEXT_1
852 COND_MONOLITHIC_0_USE_STC_1
853 COND_MONOLITHIC_0_USE_XRC_1
855 COND_MONOLITHIC_1_SHARED_0
856 COND_MONOLITHIC_1_SHARED_1
857 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
858 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
859 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_1
862 COND_PLATFORM_MACOSX_1_TOOLKIT_
863 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
865 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
868 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
871 COND_PLATFORM_MACOS_1
873 COND_PLATFORM_MSDOS_1
877 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
879 COND_PLATFORM_UNIX_1_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
881 COND_PLATFORM_WIN32_0
882 COND_PLATFORM_WIN32_1
884 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
885 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
887 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
888 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
891 COND_SHARED_0_USE_STC_1
892 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
893 COND_SHARED_0_WXUSE_REGEX_BUILTIN
894 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
896 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
899 COND_TOOLKIT_COCOA_USE_GUI_1
900 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
902 COND_TOOLKIT_DFB_USE_GUI_1
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_GTK_USE_GUI_1
912 COND_TOOLKIT_MAC_USE_GUI_1
913 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_MGL_USE_GUI_1
917 COND_TOOLKIT_MOTIF_USE_GUI_1
918 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MSW_USE_GUI_1
921 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW_WXUNIV_0
924 COND_TOOLKIT_PM_USE_GUI_1
925 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_WINCE_USE_GUI_1
928 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_WINCE_WXUNIV_0
931 COND_TOOLKIT_X11_USE_GUI_1
933 COND_USE_EXCEPTIONS_0
934 COND_USE_EXCEPTIONS_1
937 COND_USE_GUI_1_USE_OPENGL_1
938 COND_USE_GUI_1_WXUNIV_0
939 COND_USE_GUI_1_WXUNIV_1
940 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
941 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
942 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
947 COND_USE_SOSYMLINKS_1
948 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
949 COND_USE_SOVERLINUX_1
951 COND_USE_SOVERSOLARIS_1
956 COND_WINDOWS_IMPLIB_1
957 COND_WITH_PLUGIN_SDL_1
960 COND_WXUSE_EXPAT_BUILTIN
961 COND_WXUSE_LIBJPEG_BUILTIN
962 COND_WXUSE_LIBPNG_BUILTIN
963 COND_WXUSE_LIBTIFF_BUILTIN
964 COND_WXUSE_REGEX_BUILTIN
965 COND_WXUSE_ZLIB_BUILTIN
968 WX_LIBRARY_BASENAME_NOGUI
969 WX_LIBRARY_BASENAME_GUI
1001 WX_RESOURCES_MACOSX_ASCII
1002 WX_RESOURCES_MACOSX_DATA
1012 ac_precious_vars
='build_alias
1036 LIBGNOMEPRINTUI_CFLAGS
1037 LIBGNOMEPRINTUI_LIBS
1046 ac_subdirs_all
='src/tiff
1049 # Initialize some variables set by options.
1051 ac_init_version
=false
1052 # The variables have the same names as the options, with
1053 # dashes changed to underlines.
1054 cache_file
=/dev
/null
1061 program_transform_name
=s
,x
,x
,
1069 # Installation directory options.
1070 # These are left unexpanded so users can "make install exec_prefix=/foo"
1071 # and all the variables that are supposed to be based on exec_prefix
1072 # by default will actually change.
1073 # Use braces instead of parens because sh, perl, etc. also accept them.
1074 # (The list follows the same order as the GNU Coding Standards.)
1075 bindir
='${exec_prefix}/bin'
1076 sbindir
='${exec_prefix}/sbin'
1077 libexecdir
='${exec_prefix}/libexec'
1078 datarootdir
='${prefix}/share'
1079 datadir
='${datarootdir}'
1080 sysconfdir
='${prefix}/etc'
1081 sharedstatedir
='${prefix}/com'
1082 localstatedir
='${prefix}/var'
1083 includedir
='${prefix}/include'
1084 oldincludedir
='/usr/include'
1085 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1086 infodir
='${datarootdir}/info'
1091 libdir
='${exec_prefix}/lib'
1092 localedir
='${datarootdir}/locale'
1093 mandir
='${datarootdir}/man'
1099 # If the previous option needs an argument, assign it.
1100 if test -n "$ac_prev"; then
1101 eval $ac_prev=\
$ac_option
1107 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1111 # Accept the important Cygnus configure options, so we can diagnose typos.
1113 case $ac_dashdash$ac_option in
1117 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1119 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1120 bindir
=$ac_optarg ;;
1122 -build | --build | --buil | --bui | --bu)
1123 ac_prev
=build_alias
;;
1124 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1125 build_alias
=$ac_optarg ;;
1127 -cache-file | --cache-file | --cache-fil | --cache-fi \
1128 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1129 ac_prev
=cache_file
;;
1130 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1131 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1132 cache_file
=$ac_optarg ;;
1134 --config-cache | -C)
1135 cache_file
=config.cache
;;
1137 -datadir | --datadir | --datadi | --datad)
1139 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1140 datadir
=$ac_optarg ;;
1142 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1143 | --dataroo | --dataro | --datar)
1144 ac_prev
=datarootdir
;;
1145 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1146 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1147 datarootdir
=$ac_optarg ;;
1149 -disable-* | --disable-*)
1150 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1153 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1154 { (exit 1); exit 1; }; }
1155 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1156 eval enable_
$ac_feature=no
;;
1158 -docdir | --docdir | --docdi | --doc | --do)
1160 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1161 docdir
=$ac_optarg ;;
1163 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1165 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1166 dvidir
=$ac_optarg ;;
1168 -enable-* | --enable-*)
1169 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1172 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1173 { (exit 1); exit 1; }; }
1174 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1175 eval enable_
$ac_feature=\
$ac_optarg ;;
1177 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1178 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1179 | --exec | --exe | --ex)
1180 ac_prev
=exec_prefix
;;
1181 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1182 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1183 | --exec=* | --exe=* | --ex=*)
1184 exec_prefix
=$ac_optarg ;;
1186 -gas | --gas | --ga | --g)
1187 # Obsolete; use --with-gas.
1190 -help | --help | --hel | --he | -h)
1191 ac_init_help
=long
;;
1192 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1193 ac_init_help
=recursive
;;
1194 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1195 ac_init_help
=short
;;
1197 -host | --host | --hos | --ho)
1198 ac_prev
=host_alias
;;
1199 -host=* | --host=* | --hos=* | --ho=*)
1200 host_alias
=$ac_optarg ;;
1202 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1204 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1206 htmldir
=$ac_optarg ;;
1208 -includedir | --includedir | --includedi | --included | --include \
1209 | --includ | --inclu | --incl | --inc)
1210 ac_prev
=includedir
;;
1211 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1212 | --includ=* | --inclu=* | --incl=* | --inc=*)
1213 includedir
=$ac_optarg ;;
1215 -infodir | --infodir | --infodi | --infod | --info | --inf)
1217 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1218 infodir
=$ac_optarg ;;
1220 -libdir | --libdir | --libdi | --libd)
1222 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1223 libdir
=$ac_optarg ;;
1225 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1226 | --libexe | --libex | --libe)
1227 ac_prev
=libexecdir
;;
1228 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1229 | --libexe=* | --libex=* | --libe=*)
1230 libexecdir
=$ac_optarg ;;
1232 -localedir | --localedir | --localedi | --localed | --locale)
1233 ac_prev
=localedir
;;
1234 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1235 localedir
=$ac_optarg ;;
1237 -localstatedir | --localstatedir | --localstatedi | --localstated \
1238 | --localstate | --localstat | --localsta | --localst | --locals)
1239 ac_prev
=localstatedir
;;
1240 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1241 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1242 localstatedir
=$ac_optarg ;;
1244 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1246 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1247 mandir
=$ac_optarg ;;
1249 -nfp | --nfp | --nf)
1250 # Obsolete; use --without-fp.
1253 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1254 | --no-cr | --no-c | -n)
1257 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1258 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1261 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1262 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1263 | --oldin | --oldi | --old | --ol | --o)
1264 ac_prev
=oldincludedir
;;
1265 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1266 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1267 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1268 oldincludedir
=$ac_optarg ;;
1270 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1272 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1273 prefix
=$ac_optarg ;;
1275 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1276 | --program-pre | --program-pr | --program-p)
1277 ac_prev
=program_prefix
;;
1278 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1279 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1280 program_prefix
=$ac_optarg ;;
1282 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1283 | --program-suf | --program-su | --program-s)
1284 ac_prev
=program_suffix
;;
1285 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1286 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1287 program_suffix
=$ac_optarg ;;
1289 -program-transform-name | --program-transform-name \
1290 | --program-transform-nam | --program-transform-na \
1291 | --program-transform-n | --program-transform- \
1292 | --program-transform | --program-transfor \
1293 | --program-transfo | --program-transf \
1294 | --program-trans | --program-tran \
1295 | --progr-tra | --program-tr | --program-t)
1296 ac_prev
=program_transform_name
;;
1297 -program-transform-name=* | --program-transform-name=* \
1298 | --program-transform-nam=* | --program-transform-na=* \
1299 | --program-transform-n=* | --program-transform-=* \
1300 | --program-transform=* | --program-transfor=* \
1301 | --program-transfo=* | --program-transf=* \
1302 | --program-trans=* | --program-tran=* \
1303 | --progr-tra=* | --program-tr=* | --program-t=*)
1304 program_transform_name
=$ac_optarg ;;
1306 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1308 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1309 pdfdir
=$ac_optarg ;;
1311 -psdir | --psdir | --psdi | --psd | --ps)
1313 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1317 | -silent | --silent | --silen | --sile | --sil)
1320 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1322 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1324 sbindir
=$ac_optarg ;;
1326 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1327 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1328 | --sharedst | --shareds | --shared | --share | --shar \
1330 ac_prev
=sharedstatedir
;;
1331 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1332 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1333 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1335 sharedstatedir
=$ac_optarg ;;
1337 -site | --site | --sit)
1339 -site=* | --site=* | --sit=*)
1342 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1344 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1345 srcdir
=$ac_optarg ;;
1347 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1348 | --syscon | --sysco | --sysc | --sys | --sy)
1349 ac_prev
=sysconfdir
;;
1350 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1351 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1352 sysconfdir
=$ac_optarg ;;
1354 -target | --target | --targe | --targ | --tar | --ta | --t)
1355 ac_prev
=target_alias
;;
1356 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1357 target_alias
=$ac_optarg ;;
1359 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1362 -version | --version | --versio | --versi | --vers | -V)
1363 ac_init_version
=: ;;
1366 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1367 # Reject names that are not valid shell variable names.
1368 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1369 { echo "$as_me: error: invalid package name: $ac_package" >&2
1370 { (exit 1); exit 1; }; }
1371 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1372 eval with_
$ac_package=\
$ac_optarg ;;
1374 -without-* | --without-*)
1375 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1376 # Reject names that are not valid shell variable names.
1377 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1378 { echo "$as_me: error: invalid package name: $ac_package" >&2
1379 { (exit 1); exit 1; }; }
1380 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1381 eval with_
$ac_package=no
;;
1384 # Obsolete; use --with-x.
1387 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1388 | --x-incl | --x-inc | --x-in | --x-i)
1389 ac_prev
=x_includes
;;
1390 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1391 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1392 x_includes
=$ac_optarg ;;
1394 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1395 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1396 ac_prev
=x_libraries
;;
1397 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1398 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1399 x_libraries
=$ac_optarg ;;
1401 -*) { echo "$as_me: error: unrecognized option: $ac_option
1402 Try \`$0 --help' for more information." >&2
1403 { (exit 1); exit 1; }; }
1407 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1410 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1411 { (exit 1); exit 1; }; }
1412 eval $ac_envvar=\
$ac_optarg
1413 export $ac_envvar ;;
1416 # FIXME: should be removed in autoconf 3.0.
1417 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1418 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1419 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1420 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1426 if test -n "$ac_prev"; then
1427 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1428 { echo "$as_me: error: missing argument to $ac_option" >&2
1429 { (exit 1); exit 1; }; }
1432 # Be sure to have absolute directory names.
1433 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1434 datadir sysconfdir sharedstatedir localstatedir includedir \
1435 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1436 libdir localedir mandir
1438 eval ac_val
=\$
$ac_var
1440 [\\/$
]* | ?
:[\\/]* ) continue;;
1441 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1443 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1444 { (exit 1); exit 1; }; }
1447 # There might be people who depend on the old broken behavior: `$host'
1448 # used to hold the argument of --host etc.
1449 # FIXME: To remove some day.
1452 target
=$target_alias
1454 # FIXME: To remove some day.
1455 if test "x$host_alias" != x
; then
1456 if test "x$build_alias" = x
; then
1457 cross_compiling
=maybe
1458 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1459 If a cross compiler is detected then cross compile mode will be used." >&2
1460 elif test "x$build_alias" != "x$host_alias"; then
1466 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1468 test "$silent" = yes && exec 6>/dev
/null
1471 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1472 ac_ls_di
=`ls -di .` &&
1473 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1474 { echo "$as_me: error: Working directory cannot be determined" >&2
1475 { (exit 1); exit 1; }; }
1476 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1477 { echo "$as_me: error: pwd does not report name of working directory" >&2
1478 { (exit 1); exit 1; }; }
1481 # Find the source files, if location was not specified.
1482 if test -z "$srcdir"; then
1483 ac_srcdir_defaulted
=yes
1484 # Try the directory containing this script, then the parent directory.
1485 ac_confdir
=`$as_dirname -- "$0" ||
1486 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1487 X"$0" : 'X\(//\)[^/]' \| \
1488 X"$0" : 'X\(//\)$' \| \
1489 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1509 if test ! -r "$srcdir/$ac_unique_file"; then
1513 ac_srcdir_defaulted
=no
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1517 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1518 { (exit 1); exit 1; }; }
1520 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1522 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1523 { (exit 1); exit 1; }; }
1525 # When building in place, set srcdir=.
1526 if test "$ac_abs_confdir" = "$ac_pwd"; then
1529 # Remove unnecessary trailing slashes from srcdir.
1530 # Double slashes in file names in object file debugging info
1531 # mess up M-x gdb in Emacs.
1533 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1535 for ac_var
in $ac_precious_vars; do
1536 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1537 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1538 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1539 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1543 # Report the --help message.
1545 if test "$ac_init_help" = "long"; then
1546 # Omit some internal or obsolete options to make the list less imposing.
1547 # This message is too long to be a string in the A/UX 3.1 sh.
1549 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1551 Usage: $0 [OPTION]... [VAR=VALUE]...
1553 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1554 VAR=VALUE. See below for descriptions of some of the useful variables.
1556 Defaults for the options are specified in brackets.
1559 -h, --help display this help and exit
1560 --help=short display options specific to this package
1561 --help=recursive display the short help of all the included packages
1562 -V, --version display version information and exit
1563 -q, --quiet, --silent do not print \`checking...' messages
1564 --cache-file=FILE cache test results in FILE [disabled]
1565 -C, --config-cache alias for \`--cache-file=config.cache'
1566 -n, --no-create do not create output files
1567 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1569 Installation directories:
1570 --prefix=PREFIX install architecture-independent files in PREFIX
1571 [$ac_default_prefix]
1572 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1575 By default, \`make install' will install all the files in
1576 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1577 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1578 for instance \`--prefix=\$HOME'.
1580 For better control, use the options below.
1582 Fine tuning of the installation directories:
1583 --bindir=DIR user executables [EPREFIX/bin]
1584 --sbindir=DIR system admin executables [EPREFIX/sbin]
1585 --libexecdir=DIR program executables [EPREFIX/libexec]
1586 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1587 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1588 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1589 --libdir=DIR object code libraries [EPREFIX/lib]
1590 --includedir=DIR C header files [PREFIX/include]
1591 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1592 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1593 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1594 --infodir=DIR info documentation [DATAROOTDIR/info]
1595 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1596 --mandir=DIR man documentation [DATAROOTDIR/man]
1597 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1598 --htmldir=DIR html documentation [DOCDIR]
1599 --dvidir=DIR dvi documentation [DOCDIR]
1600 --pdfdir=DIR pdf documentation [DOCDIR]
1601 --psdir=DIR ps documentation [DOCDIR]
1607 --x-includes=DIR X include files are
in DIR
1608 --x-libraries=DIR X library files are
in DIR
1611 --build=BUILD configure
for building on BUILD
[guessed
]
1612 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1613 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1617 if test -n "$ac_init_help"; then
1618 case $ac_init_help in
1619 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1624 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1625 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1626 --disable-gui don
't build GUI parts of the library
1627 --enable-monolithic build wxWidgets as single library
1628 --enable-plugins build parts of wxWidgets as loadable components
1629 --enable-official_build official build of wxWidgets (win32 DLL only)
1630 --enable-vendor=VENDOR vendor name (win32 DLL only)
1631 --disable-all-features disable all optional features to build minimal library
1632 --enable-universal use wxWidgets GUI controls instead of native ones
1633 --enable-nanox use NanoX
1634 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1635 --enable-gpe use GNOME PDA Environment features if possible
1636 --disable-shared create static library instead of shared
1637 --disable-optimise create optimised code
1638 --enable-debug same as debug_flag and debug_info
1639 --enable-stl use STL for containers
1640 --enable-std_iostreams use standard C++ stream classes
1641 --enable-std_string use standard C++ string classes
1642 --disable-unicode compile without Unicode support
1643 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1644 --enable-utf8 use UTF-8 representation for strings (Unix only)
1645 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1646 --enable-extended_rtti use extended RTTI (XTI)
1647 --enable-omf use OMF object format
1648 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1649 --enable-debug_info create code with debugging information
1650 --enable-debug_gdb create code with extra GDB debugging information
1651 --enable-debug_cntxt use wxDebugContext
1652 --enable-mem_tracing create code with memory tracing
1653 --enable-profile create code with profiling information
1654 --enable-no_rtti create code without RTTI information
1655 --enable-no_exceptions create code without C++ exceptions handling
1656 --enable-permissive compile code disregarding strict ANSI
1657 --enable-no_deps create code without dependency information
1658 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1659 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1660 --enable-compat26 enable wxWidgets
2.6 compatibility
1661 --disable-compat28 disable wxWidgets
2.8 compatibility
1662 --disable-rpath disable use of rpath
for uninstalled builds
1663 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1664 --disable-visibility disable use of ELF symbols visibility even
if supported
1665 --enable-intl use internationalization system
1666 --enable-config use wxConfig
(and derived
) classes
1667 --enable-protocols use wxProtocol and derived classes
1668 --enable-ftp use wxFTP
(requires wxProtocol
1669 --enable-http use wxHTTP
(requires wxProtocol
1670 --enable-fileproto use wxFileProto class
(requires wxProtocol
1671 --enable-sockets use socket
/network classes
1672 --enable-ole use OLE classes
(Win32 only
)
1673 --enable-dataobj use data object classes
1674 --enable-ipc use interprocess communication
(wxSocket etc.
)
1675 --enable-baseevtloop use event loop
in console programs too
1676 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1677 --enable-selectloop use wxSelectDispatcher class
1678 --enable-apple_ieee use the Apple IEEE codec
1679 --enable-arcstream use wxArchive streams
1680 --enable-base64 use base64 encoding
/decoding functions
1681 --enable-backtrace use wxStackWalker class
for getting backtraces
1682 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1683 --enable-cmdline use wxCmdLineParser class
1684 --enable-datetime use wxDateTime class
1685 --enable-debugreport use wxDebugReport class
1686 --enable-dialupman use dialup network classes
1687 --enable-dynlib use wxLibrary class
for DLL loading
1688 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1689 --enable-exceptions build exception
-safe library
1690 --enable-ffile use wxFFile class
1691 --enable-file use wxFile class
1692 --enable-filesystem use virtual
file systems classes
1693 --enable-fontenum use wxFontEnumerator class
1694 --enable-fontmap use font encodings conversion classes
1695 --enable-fs_archive use virtual archive filesystems
1696 --enable-fs_inet use virtual HTTP
/FTP filesystems
1697 --enable-fs_zip now replaced by fs_archive
1698 --enable-geometry use geometry class
1699 --enable-log use logging system
1700 --enable-longlong use wxLongLong class
1701 --enable-mimetype use wxMimeTypesManager
1702 --enable-snglinst use wxSingleInstanceChecker class
1703 --enable-stdpaths use wxStandardPaths class
1704 --enable-stopwatch use wxStopWatch class
1705 --enable-streams use wxStream etc classes
1706 --enable-sysoptions use wxSystemOptions
1707 --enable-tarstream use wxTar streams
1708 --enable-textbuf use wxTextBuffer class
1709 --enable-textfile use wxTextFile class
1710 --enable-timer use wxTimer class
1711 --enable-sound use wxSound class
1712 --enable-mediactrl use wxMediaCtrl class
1713 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1714 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1715 --enable-zipstream use wxZip streams
1716 --enable-url use wxURL class
1717 --enable-variant use wxVariant class
1718 --enable-protocol use wxProtocol class
1719 --enable-protocol-http HTTP support
in wxProtocol
1720 --enable-protocol-ftp FTP support
in wxProtocol
1721 --enable-protocol-file FILE support
in wxProtocol
1722 --enable-threads use threads
1723 --enable-iniconf use wxIniConfig
(Win32 only
)
1724 --enable-regkey use wxRegKey class
(Win32 only
)
1725 --enable-docview use document view architecture
1726 --enable-help use
help subsystem
1727 --enable-mshtmlhelp use MS HTML Help
(win32
)
1728 --enable-html use wxHTML sub
-library
1729 --enable-htmlhelp use wxHTML
-based help
1730 --enable-xrc use XRC resources sub
-library
1731 --enable-aui use AUI docking library
1732 --enable-stc use wxStyledTextCtrl library
1733 --enable-constraints use layout
-constraints system
1734 --enable-printarch use printing architecture
1735 --enable-mdi use multiple document interface architecture
1736 --enable-mdidoc use docview architecture with MDI
1737 --enable-loggui use standard GUI logger
1738 --enable-logwin use wxLogWindow
1739 --enable-logdialog use wxLogDialog
1740 --enable-webkit use wxWebKitCtrl
(Mac
)
1741 --enable-richtext use wxRichTextCtrl
1742 --enable-graphics_ctx use graphics context
2D drawing API
1743 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1744 --enable-svg use wxSVGFileDC device context
1745 --enable-clipboard use wxClipboard class
1746 --enable-dnd use Drag
'n'Drop classes
1747 --enable-metafile use win32 metafiles
1748 --disable-controls disable compilation of all standard controls
1749 --enable-accel use accelerators
1750 --enable-animatectrl use wxAnimationCtrl class
1751 --enable-button use wxButton class
1752 --enable-bmpbutton use wxBitmapButton class
1753 --enable-bmpcombobox use wxBitmapComboBox class
1754 --enable-calendar use wxCalendarCtrl class
1755 --enable-caret use wxCaret class
1756 --enable-checkbox use wxCheckBox class
1757 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1758 --enable-choice use wxChoice class
1759 --enable-choicebook use wxChoicebook class
1760 --enable-collpane use wxCollapsiblePane class
1761 --enable-colourpicker use wxColourPickerCtrl class
1762 --enable-combobox use wxComboBox class
1763 --enable-comboctrl use wxComboCtrl class
1764 --enable-datepick use wxDatePickerCtrl class
1765 --enable-dirpicker use wxDirPickerCtrl class
1766 --enable-display use wxDisplay class
1767 --enable-detect_sm use code to detect X11 session manager
1768 --enable-editablebox use wxEditableListBox class
1769 --enable-filepicker use wxFilePickerCtrl class
1770 --enable-filectrl use wxFileCtrl class
1771 --enable-fontpicker use wxFontPickerCtrl class
1772 --enable-gauge use wxGauge class
1773 --enable-grid use wxGrid class
1774 --enable-dataviewctrl use wxDataViewCtrl class
1775 --enable-hyperlink use wxHyperlinkCtrl class
1776 --enable-imaglist use wxImageList class
1777 --enable-listbook use wxListbook class
1778 --enable-listbox use wxListBox class
1779 --enable-listctrl use wxListCtrl class
1780 --enable-notebook use wxNotebook class
1781 --enable-odcombobox use wxOwnerDrawnComboBox class
1782 --enable-radiobox use wxRadioBox class
1783 --enable-radiobtn use wxRadioButton class
1784 --enable-sash use wxSashWindow class
1785 --enable-scrollbar use wxScrollBar class and scrollable windows
1786 --enable-searchctrl use wxSearchCtrl class
1787 --enable-slider use wxSlider class
1788 --enable-spinbtn use wxSpinButton class
1789 --enable-spinctrl use wxSpinCtrl class
1790 --enable-splitter use wxSplitterWindow class
1791 --enable-statbmp use wxStaticBitmap class
1792 --enable-statbox use wxStaticBox class
1793 --enable-statline use wxStaticLine class
1794 --enable-stattext use wxStaticText class
1795 --enable-statusbar use wxStatusBar class
1796 --enable-tabdialog use wxTabControl class
1797 --enable-taskbaricon use wxTaskBarIcon class
1798 --enable-textctrl use wxTextCtrl class
1799 --enable-togglebtn use wxToggleButton class
1800 --enable-toolbar use wxToolBar class
1801 --enable-tbarnative use native wxToolBar class
1802 --enable-treebook use wxTreebook class
1803 --enable-toolbook use wxToolbook class
1804 --enable-treectrl use wxTreeCtrl class
1805 --enable-tipwindow use wxTipWindow class
1806 --enable-popupwin use wxPopUpWindow class
1807 --enable-commondlg use all common dialogs
1808 --enable-aboutdlg use wxAboutBox
1809 --enable-choicedlg use wxChoiceDialog
1810 --enable-coldlg use wxColourDialog
1811 --enable-filedlg use wxFileDialog
1812 --enable-finddlg use wxFindReplaceDialog
1813 --enable-fontdlg use wxFontDialog
1814 --enable-dirdlg use wxDirDialog
1815 --enable-msgdlg use wxMessageDialog
1816 --enable-numberdlg use wxNumberEntryDialog
1817 --enable-splash use wxSplashScreen
1818 --enable-textdlg use wxTextDialog
1819 --enable-tipdlg use startup tips
1820 --enable-progressdlg use wxProgressDialog
1821 --enable-wizarddlg use wxWizard
1822 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1823 --enable-miniframe use wxMiniFrame class
1824 --enable-tooltips use wxToolTip class
1825 --enable-splines use spline drawing code
1826 --enable-mousewheel use mousewheel
1827 --enable-validators use wxValidator and derived classes
1828 --enable-busyinfo use wxBusyInfo
1829 --enable-joystick use wxJoystick
1830 --enable-metafiles use wxMetaFile
(Win32 only
)
1831 --enable-dragimage use wxDragImage
1832 --enable-accessibility enable accessibility support
1833 --enable-palette use wxPalette class
1834 --enable-image use wxImage class
1835 --enable-gif use gif images
(GIF
file format
)
1836 --enable-pcx use pcx images
(PCX
file format
)
1837 --enable-tga use tga images
(TGA
file format
)
1838 --enable-iff use iff images
(IFF
file format
)
1839 --enable-pnm use pnm images
(PNM
file format
)
1840 --enable-xpm use xpm images
(XPM
file format
)
1841 --enable-icocur use Windows ICO and CUR formats
1842 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1843 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1844 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1845 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1846 --enable-wxdib use wxDIB class
(Win32 only
)
1847 --disable-largefile omit support
for large files
1848 --disable-gtktest do not try to compile and run a
test GTK
+ program
1849 --disable-gtktest Do not try to compile and run a
test GTK program
1850 --disable-sdltest Do not try to compile and run a
test SDL program
1851 --enable-omf use OMF object format
(OS
/2)
1852 --disable-dependency-tracking
1853 don
't use dependency tracking even if the compiler
1855 --disable-precomp-headers
1856 don't use precompiled headers even
if compiler can
1859 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1860 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1861 --without-subdirs don
't generate makefiles for samples/demos/...
1862 --with-flavour=NAME specify a name to identify this build
1863 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1864 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1865 --with-motif use Motif/Lesstif
1866 --with-mac use Mac OS X
1867 --with-cocoa use Cocoa
1868 --with-wine use Wine
1869 --with-msw use MS-Windows
1870 --with-pm use OS/2 Presentation Manager
1871 --with-mgl use SciTech MGL
1872 --with-directfb use DirectFB
1873 --with-microwin use MicroWindows
1875 --with-libpng use libpng (PNG image format)
1876 --with-libjpeg use libjpeg (JPEG file format)
1877 --with-libtiff use libtiff (TIFF file format)
1878 --with-libxpm use libxpm (XPM file format)
1879 --with-libmspack use libmspack (CHM help files loading)
1880 --without-gtkprint don't use GTK printing support
1881 --without-gnomeprint don
't use GNOME printing libraries
1882 --with-gnomevfs use GNOME VFS for associating MIME types
1883 --with-hildon use Hildon framework for Nokia 770
1884 --with-opengl use OpenGL (or Mesa)
1885 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1886 --with-sdl use SDL for audio on Unix
1887 --with-regex enable support for wxRegEx class
1888 --with-zlib use zlib for LZW compression
1889 --with-expat enable XML support using expat parser
1890 --with-macosx-sdk=PATH use an OS X SDK at PATH
1891 --with-macosx-version-min=VER build binaries which require at least this OS X version
1892 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1893 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1894 --with-x use the X Window System
1895 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1896 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1897 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1898 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1899 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1901 Some influential environment variables:
1902 CC C compiler command
1903 CFLAGS C compiler flags
1904 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1905 nonstandard directory <lib dir>
1906 LIBS libraries to pass to the linker, e.g. -l<library>
1907 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1908 you have headers in a nonstandard directory <include dir>
1910 CXX C++ compiler command
1911 CXXFLAGS C++ compiler flags
1912 PKG_CONFIG path to pkg-config utility
1914 C compiler flags for DIRECTFB, overriding pkg-config
1916 linker flags for DIRECTFB, overriding pkg-config
1917 XMKMF Path to xmkmf, Makefile generator for X Window System
1919 C compiler flags for PANGOX, overriding pkg-config
1920 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1922 C compiler flags for PANGOFT2, overriding pkg-config
1924 linker flags for PANGOFT2, overriding pkg-config
1926 C compiler flags for PANGOXFT, overriding pkg-config
1928 linker flags for PANGOXFT, overriding pkg-config
1930 C compiler flags for GTKPRINT, overriding pkg-config
1932 linker flags for GTKPRINT, overriding pkg-config
1933 LIBGNOMEPRINTUI_CFLAGS
1934 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1935 LIBGNOMEPRINTUI_LIBS
1936 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1938 C compiler flags for GNOMEVFS, overriding pkg-config
1940 linker flags for GNOMEVFS, overriding pkg-config
1942 C compiler flags for HILDON, overriding pkg-config
1943 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1945 C compiler flags for CAIRO, overriding pkg-config
1946 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1947 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1948 GST_LIBS linker flags for GST, overriding pkg-config
1950 Use these variables to override the choices made by `configure' or to
help
1951 it to
find libraries and programs with nonstandard names
/locations.
1953 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1958 if test "$ac_init_help" = "recursive"; then
1959 # If there are subdirs, report their specific --help.
1960 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1961 test -d "$ac_dir" || continue
1965 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1967 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1968 # A ".." for each directory in $ac_dir_suffix.
1969 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1970 case $ac_top_builddir_sub in
1971 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1972 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1975 ac_abs_top_builddir
=$ac_pwd
1976 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1977 # for backward compatibility:
1978 ac_top_builddir
=$ac_top_build_prefix
1981 .
) # We are building in place.
1983 ac_top_srcdir
=$ac_top_builddir_sub
1984 ac_abs_top_srcdir
=$ac_pwd ;;
1985 [\\/]* | ?
:[\\/]* ) # Absolute name.
1986 ac_srcdir
=$srcdir$ac_dir_suffix;
1987 ac_top_srcdir
=$srcdir
1988 ac_abs_top_srcdir
=$srcdir ;;
1990 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1991 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1992 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1994 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1996 cd "$ac_dir" || { ac_status
=$?
; continue; }
1997 # Check for guested configure.
1998 if test -f "$ac_srcdir/configure.gnu"; then
2000 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2001 elif test -f "$ac_srcdir/configure"; then
2003 $SHELL "$ac_srcdir/configure" --help=recursive
2005 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2007 cd "$ac_pwd" || { ac_status
=$?
; break; }
2011 test -n "$ac_init_help" && exit $ac_status
2012 if $ac_init_version; then
2014 wxWidgets configure
2.9.0
2015 generated by GNU Autoconf
2.61
2017 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2018 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2019 This configure
script is free software
; the Free Software Foundation
2020 gives unlimited permission to copy
, distribute and modify it.
2024 cat >config.log
<<_ACEOF
2025 This file contains any messages produced by compilers while
2026 running configure, to aid debugging if configure makes a mistake.
2028 It was created by wxWidgets $as_me 2.9.0, which was
2029 generated by GNU Autoconf 2.61. Invocation command line was
2041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2048 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2050 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2051 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2053 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2054 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2055 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2056 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir
=.
2065 echo "PATH: $as_dir"
2081 # Keep a trace of the command line.
2082 # Strip out --no-create and --no-recursion so they do not pile up.
2083 # Strip out --silent because we don't want to record it for future runs.
2084 # Also quote any args containing shell meta-characters.
2085 # Make two passes to allow for proper duplicate-argument suppression.
2089 ac_must_keep_next
=false
2095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2097 | -silent | --silent | --silen | --sile | --sil)
2100 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2103 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2105 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2106 if test $ac_must_keep_next = true
; then
2107 ac_must_keep_next
=false
# Got value, back to normal.
2110 *=* | --config-cache | -C | -disable-* | --disable-* \
2111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2113 | -with-* | --with-* | -without-* | --without-* | --x)
2114 case "$ac_configure_args0 " in
2115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2118 -* ) ac_must_keep_next
=true
;;
2121 ac_configure_args
="$ac_configure_args '$ac_arg'"
2126 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2127 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2129 # When interrupted or exit'd, cleanup temporary files, and complete
2130 # config.log. We remove comments because anyway the quotes in there
2131 # would cause problems or look ugly.
2132 # WARNING: Use '\'' to represent an apostrophe within the trap.
2133 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2134 trap 'exit_status=$?
2135 # Save into config.log some information that might help in debugging.
2140 ## ---------------- ##
2141 ## Cache variables. ##
2142 ## ---------------- ##
2145 # The following way of writing the cache mishandles newlines in values,
2147 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2148 eval ac_val=\$$ac_var
2152 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2153 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2156 _ | IFS | as_nl) ;; #(
2157 *) $as_unset $ac_var ;;
2162 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2163 *${as_nl}ac_space=\ *)
2165 "s/'\''/'\''\\\\'\'''\''/g;
2166 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2169 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2177 ## ----------------- ##
2178 ## Output variables. ##
2179 ## ----------------- ##
2182 for ac_var in $ac_subst_vars
2184 eval ac_val=\$$ac_var
2186 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 echo "$ac_var='\''$ac_val'\''"
2192 if test -n "$ac_subst_files"; then
2194 ## ------------------- ##
2195 ## File substitutions. ##
2196 ## ------------------- ##
2199 for ac_var
in $ac_subst_files
2201 eval ac_val
=\$
$ac_var
2203 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2205 echo "$ac_var='\''$ac_val'\''"
2210 if test -s confdefs.h; then
2220 test "$ac_signal" != 0 &&
2221 echo "$as_me: caught signal $ac_signal"
2222 echo "$as_me: exit $exit_status"
2224 rm -f core *.core core.conftest.* &&
2225 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2228 for ac_signal
in 1 2 13 15; do
2229 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2234 rm -f -r conftest
* confdefs.h
2236 # Predefined preprocessor variables.
2238 cat >>confdefs.h
<<_ACEOF
2239 #define PACKAGE_NAME "$PACKAGE_NAME"
2243 cat >>confdefs.h
<<_ACEOF
2244 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2248 cat >>confdefs.h
<<_ACEOF
2249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2253 cat >>confdefs.h
<<_ACEOF
2254 #define PACKAGE_STRING "$PACKAGE_STRING"
2258 cat >>confdefs.h
<<_ACEOF
2259 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2263 # Let the site file select an alternate cache file if it wants to.
2264 # Prefer explicitly selected file to automatically selected ones.
2265 if test -n "$CONFIG_SITE"; then
2266 set x
"$CONFIG_SITE"
2267 elif test "x$prefix" != xNONE
; then
2268 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2270 set x
"$ac_default_prefix/share/config.site" \
2271 "$ac_default_prefix/etc/config.site"
2276 if test -r "$ac_site_file"; then
2277 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2278 echo "$as_me: loading site script $ac_site_file" >&6;}
2279 sed 's/^/| /' "$ac_site_file" >&5
2284 if test -r "$cache_file"; then
2285 # Some versions of bash will fail to source /dev/null (special
2286 # files actually), so we avoid doing that.
2287 if test -f "$cache_file"; then
2288 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2289 echo "$as_me: loading cache $cache_file" >&6;}
2291 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2292 *) .
"./$cache_file";;
2296 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2297 echo "$as_me: creating cache $cache_file" >&6;}
2301 # Check that the precious variables saved in the cache have kept the same
2303 ac_cache_corrupted
=false
2304 for ac_var
in $ac_precious_vars; do
2305 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2306 eval ac_new_set
=\
$ac_env_${ac_var}_set
2307 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2308 eval ac_new_val
=\
$ac_env_${ac_var}_value
2309 case $ac_old_set,$ac_new_set in
2311 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2312 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2313 ac_cache_corrupted
=: ;;
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2317 ac_cache_corrupted
=: ;;
2320 if test "x$ac_old_val" != "x$ac_new_val"; then
2321 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2322 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2323 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2324 echo "$as_me: former value: $ac_old_val" >&2;}
2325 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2326 echo "$as_me: current value: $ac_new_val" >&2;}
2327 ac_cache_corrupted
=:
2330 # Pass precious variables to config.status.
2331 if test "$ac_new_set" = set; then
2333 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2334 *) ac_arg
=$ac_var=$ac_new_val ;;
2336 case " $ac_configure_args " in
2337 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2338 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2342 if $ac_cache_corrupted; then
2343 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2344 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2345 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2346 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2347 { (exit 1); exit 1; }; }
2375 ac_cpp
='$CPP $CPPFLAGS'
2376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2385 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2386 if test -f "$ac_dir/install-sh"; then
2388 ac_install_sh
="$ac_aux_dir/install-sh -c"
2390 elif test -f "$ac_dir/install.sh"; then
2392 ac_install_sh
="$ac_aux_dir/install.sh -c"
2394 elif test -f "$ac_dir/shtool"; then
2396 ac_install_sh
="$ac_aux_dir/shtool install -c"
2400 if test -z "$ac_aux_dir"; then
2401 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2402 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2403 { (exit 1); exit 1; }; }
2406 # These three variables are undocumented and unsupported,
2407 # and are intended to be withdrawn in a future Autoconf release.
2408 # They can cause serious problems if a builder's source tree is in a directory
2409 # whose full name contains unusual characters.
2410 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2411 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2412 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2415 # Make sure we can run config.sub.
2416 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2417 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2418 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2419 { (exit 1); exit 1; }; }
2421 { echo "$as_me:$LINENO: checking build system type" >&5
2422 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2423 if test "${ac_cv_build+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 ac_build_alias
=$build_alias
2427 test "x$ac_build_alias" = x
&&
2428 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2429 test "x$ac_build_alias" = x
&&
2430 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2431 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2432 { (exit 1); exit 1; }; }
2433 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2434 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2435 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2436 { (exit 1); exit 1; }; }
2439 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2440 echo "${ECHO_T}$ac_cv_build" >&6; }
2441 case $ac_cv_build in
2443 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2444 echo "$as_me: error: invalid value of canonical build" >&2;}
2445 { (exit 1); exit 1; }; };;
2448 ac_save_IFS
=$IFS; IFS
='-'
2454 # Remember, the first character of IFS is used to create $*,
2455 # except with old shells:
2458 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2461 { echo "$as_me:$LINENO: checking host system type" >&5
2462 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2463 if test "${ac_cv_host+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 if test "x$host_alias" = x
; then
2467 ac_cv_host
=$ac_cv_build
2469 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2470 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2471 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2472 { (exit 1); exit 1; }; }
2476 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2477 echo "${ECHO_T}$ac_cv_host" >&6; }
2480 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2481 echo "$as_me: error: invalid value of canonical host" >&2;}
2482 { (exit 1); exit 1; }; };;
2485 ac_save_IFS
=$IFS; IFS
='-'
2491 # Remember, the first character of IFS is used to create $*,
2492 # except with old shells:
2495 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2498 { echo "$as_me:$LINENO: checking target system type" >&5
2499 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2500 if test "${ac_cv_target+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 if test "x$target_alias" = x
; then
2504 ac_cv_target
=$ac_cv_host
2506 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2507 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2508 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2509 { (exit 1); exit 1; }; }
2513 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2514 echo "${ECHO_T}$ac_cv_target" >&6; }
2515 case $ac_cv_target in
2517 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2518 echo "$as_me: error: invalid value of canonical target" >&2;}
2519 { (exit 1); exit 1; }; };;
2521 target
=$ac_cv_target
2522 ac_save_IFS
=$IFS; IFS
='-'
2528 # Remember, the first character of IFS is used to create $*,
2529 # except with old shells:
2532 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2535 # The aliases save the names the user supplied, while $host etc.
2536 # will get canonicalized.
2537 test -n "$target_alias" &&
2538 test "$program_prefix$program_suffix$program_transform_name" = \
2540 program_prefix
=${target_alias}-
2544 wx_major_version_number
=2
2545 wx_minor_version_number
=9
2547 wx_subrelease_number
=0
2549 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2550 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2551 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2553 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2556 wx_top_builddir
="`pwd`"
2569 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2575 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2581 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2583 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2585 DEFAULT_wxUSE_COCOA
=0
2589 DEFAULT_wxUSE_MICROWIN
=0
2590 DEFAULT_wxUSE_MOTIF
=0
2596 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2597 DEFAULT_DEFAULT_wxUSE_GTK
=0
2598 DEFAULT_DEFAULT_wxUSE_MAC
=0
2599 DEFAULT_DEFAULT_wxUSE_MGL
=0
2600 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2601 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2602 DEFAULT_DEFAULT_wxUSE_MSW
=0
2603 DEFAULT_DEFAULT_wxUSE_PM
=0
2604 DEFAULT_DEFAULT_wxUSE_X11
=0
2605 DEFAULT_DEFAULT_wxUSE_DFB
=0
2610 SAMPLES_RPATH_POSTLINK
=
2612 DEFAULT_STD_FLAG
=yes
2617 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2618 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2620 cat >>confdefs.h
<<\_ACEOF
2625 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2629 cat >>confdefs.h
<<\_ACEOF
2634 if test "x$TMP" = "xalpha"; then
2636 cat >>confdefs.h
<<\_ACEOF
2641 DEFAULT_DEFAULT_wxUSE_GTK
=1
2643 *-*-gnu* | *-*-k*bsd
*-gnu )
2646 if test "x$TMP" = "xalpha"; then
2648 cat >>confdefs.h
<<\_ACEOF
2653 DEFAULT_DEFAULT_wxUSE_GTK
=1
2655 *-*-irix5* | *-*-irix6* )
2658 cat >>confdefs.h
<<\_ACEOF
2662 cat >>confdefs.h
<<\_ACEOF
2666 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2672 cat >>confdefs.h
<<\_ACEOF
2676 cat >>confdefs.h
<<\_ACEOF
2677 #define __SOLARIS__ 1
2680 cat >>confdefs.h
<<\_ACEOF
2684 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2685 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2691 cat >>confdefs.h
<<\_ACEOF
2695 cat >>confdefs.h
<<\_ACEOF
2699 cat >>confdefs.h
<<\_ACEOF
2703 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2708 cat >>confdefs.h
<<\_ACEOF
2709 #define __FREEBSD__ 1
2712 cat >>confdefs.h
<<\_ACEOF
2716 DEFAULT_DEFAULT_wxUSE_GTK
=1
2718 *-*-openbsd*|*-*-mirbsd*)
2721 cat >>confdefs.h
<<\_ACEOF
2722 #define __OPENBSD__ 1
2725 cat >>confdefs.h
<<\_ACEOF
2729 DEFAULT_DEFAULT_wxUSE_GTK
=1
2734 cat >>confdefs.h
<<\_ACEOF
2735 #define __NETBSD__ 1
2738 cat >>confdefs.h
<<\_ACEOF
2742 DEFAULT_DEFAULT_wxUSE_GTK
=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2745 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2750 cat >>confdefs.h
<<\_ACEOF
2754 cat >>confdefs.h
<<\_ACEOF
2758 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2759 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2764 cat >>confdefs.h
<<\_ACEOF
2768 cat >>confdefs.h
<<\_ACEOF
2772 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2777 cat >>confdefs.h
<<\_ACEOF
2781 cat >>confdefs.h
<<\_ACEOF
2785 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2792 cat >>confdefs.h
<<\_ACEOF
2796 cat >>confdefs.h
<<\_ACEOF
2800 cat >>confdefs.h
<<\_ACEOF
2804 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2811 cat >>confdefs.h
<<\_ACEOF
2812 #define __UNIXWARE__ 1
2817 *-*-cygwin* | *-*-mingw32* )
2820 DEFAULT_DEFAULT_wxUSE_MSW
=1
2826 cat >>confdefs.h
<<\_ACEOF
2831 DEFAULT_DEFAULT_wxUSE_MGL
=1
2834 *-pc-os2_emx | *-pc-os2-emx )
2835 cat >>confdefs.h
<<\_ACEOF
2840 cat >>confdefs.h
<<\_ACEOF
2845 DEFAULT_DEFAULT_wxUSE_PM
=1
2847 LDFLAGS
="$LDFLAGS -Zcrtdll"
2848 ac_executable_extensions
=".exe"
2849 export ac_executable_extensions
2853 for ac_dir
in $PATH; do
2855 if test -z "$ac_TEMP_PATH"; then
2856 ac_TEMP_PATH
="$ac_dir"
2858 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2861 export PATH
="$ac_TEMP_PATH"
2870 cat >>confdefs.h
<<\_ACEOF
2874 cat >>confdefs.h
<<\_ACEOF
2875 #define __DARWIN__ 1
2878 cat >>confdefs.h
<<\_ACEOF
2879 #define TARGET_CARBON 1
2882 DEFAULT_DEFAULT_wxUSE_MAC
=1
2885 powerpc
-apple-macos* )
2887 ac_cv_c_bigendian
=yes
2889 DEFAULT_DEFAULT_wxUSE_MAC
=1
2895 cat >>confdefs.h
<<\_ACEOF
2902 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2903 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2904 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2905 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2907 DEFAULT_DEFAULT_wxUSE_X11
=1
2908 DEFAULT_wxUSE_SHARED
=no
2914 wx_arg_cache_file
="configarg.cache"
2915 echo "loading argument cache $wx_arg_cache_file"
2916 rm -f ${wx_arg_cache_file}.tmp
2917 touch ${wx_arg_cache_file}.tmp
2918 touch ${wx_arg_cache_file}
2921 DEFAULT_wxUSE_ALL_FEATURES
=yes
2923 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2924 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_DMALLOC
=no
2927 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2928 DEFAULT_wxUSE_LIBHILDON
=no
2929 DEFAULT_wxUSE_LIBMSPACK
=no
2930 DEFAULT_wxUSE_LIBSDL
=no
2931 DEFAULT_wxUSE_OPENGL
=no
2933 DEFAULT_wxUSE_ACCESSIBILITY
=no
2934 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2935 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2936 DEFAULT_wxUSE_MEDIACTRL
=no
2937 DEFAULT_wxUSE_TAB_DIALOG
=no
2939 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2940 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2942 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2944 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2946 DEFAULT_wxUSE_GTK2
=yes
2948 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2951 for toolkit
in $ALL_TOOLKITS; do
2952 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2953 if test "x$LINE" != "x" ; then
2954 has_toolkit_in_cache
=1
2955 eval "DEFAULT_$LINE"
2956 eval "CACHE_$toolkit=1"
2958 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 eval "DEFAULT_$LINE"
2969 enablestring
=disable
2971 if test -z "$defaultval"; then
2972 if test x
"$enablestring" = xdisable
; then
2979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2980 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2981 # Check whether --enable-gui was given.
2982 if test "${enable_gui+set}" = set; then
2983 enableval
=$enable_gui;
2984 if test "$enableval" = yes; then
2985 wx_cv_use_gui
='wxUSE_GUI=yes'
2987 wx_cv_use_gui
='wxUSE_GUI=no'
2993 LINE
=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x
; then
2995 eval "DEFAULT_$LINE"
3001 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3006 eval "$wx_cv_use_gui"
3007 if test "x$cache" = xyes; then
3008 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3011 if test x"$enablestring" = xdisable; then
3012 if test $wxUSE_GUI = yes; then
3021 { echo "$as_me:$LINENO: result: $result" >&5
3022 echo "${ECHO_T}$result" >&6; }
3027 if test -z "$defaultval"; then
3028 if test x"$enablestring" = xdisable; then
3035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3036 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3037 # Check whether --enable-monolithic was given.
3038 if test "${enable_monolithic+set}" = set; then
3039 enableval=$enable_monolithic;
3040 if test "$enableval" = yes; then
3041 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3043 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3049 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3050 if test "x$LINE" != x ; then
3051 eval "DEFAULT_$LINE"
3057 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3062 eval "$wx_cv_use_monolithic"
3063 if test "x
$cache" = xyes; then
3064 echo "wxUSE_MONOLITHIC
=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3067 if test x"$enablestring" = xdisable; then
3068 if test $wxUSE_MONOLITHIC = yes; then
3074 result=$wxUSE_MONOLITHIC
3077 { echo "$as_me:$LINENO: result
: $result" >&5
3078 echo "${ECHO_T}$result" >&6; }
3083 if test -z "$defaultval"; then
3084 if test x"$enablestring" = xdisable; then
3091 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3092 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3093 # Check whether --enable-plugins was given.
3094 if test "${enable_plugins+set}" = set; then
3095 enableval=$enable_plugins;
3096 if test "$enableval" = yes; then
3097 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3099 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3105 LINE=`grep "^wxUSE_PLUGINS
=" ${wx_arg_cache_file}`
3106 if test "x
$LINE" != x ; then
3107 eval "DEFAULT_
$LINE"
3113 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3118 eval "$wx_cv_use_plugins"
3119 if test "x$cache" = xyes
; then
3120 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3123 if test x
"$enablestring" = xdisable
; then
3124 if test $wxUSE_PLUGINS = yes; then
3130 result
=$wxUSE_PLUGINS
3133 { echo "$as_me:$LINENO: result: $result" >&5
3134 echo "${ECHO_T}$result" >&6; }
3138 defaultval
=$wxUSE_ALL_FEATURES
3139 if test -z "$defaultval"; then
3140 if test x
"$withstring" = xwithout
; then
3146 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3147 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3149 # Check whether --with-subdirs was given.
3150 if test "${with_subdirs+set}" = set; then
3151 withval
=$with_subdirs;
3152 if test "$withval" = yes; then
3153 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3155 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3161 LINE
=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3162 if test "x$LINE" != x
; then
3163 eval "DEFAULT_$LINE"
3169 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3174 eval "$wx_cv_use_subdirs"
3175 if test "x$cache" = xyes; then
3176 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3179 if test x"$withstring" = xwithout; then
3180 if test $wxWITH_SUBDIRS = yes; then
3186 result=$wxWITH_SUBDIRS
3189 { echo "$as_me:$LINENO: result: $result" >&5
3190 echo "${ECHO_T}$result" >&6; }
3193 # Check whether --with-flavour was given.
3194 if test "${with_flavour+set}" = set; then
3195 withval=$with_flavour; WX_FLAVOUR="$withval"
3201 if test -z "$defaultval"; then
3202 if test x"$enablestring" = xdisable; then
3209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3210 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3211 # Check whether --enable-official_build was given.
3212 if test "${enable_official_build+set}" = set; then
3213 enableval=$enable_official_build;
3214 if test "$enableval" = yes; then
3215 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3223 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3224 if test "x$LINE" != x ; then
3225 eval "DEFAULT_$LINE"
3231 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3236 eval "$wx_cv_use_official_build"
3237 if test "x
$cache" = xyes; then
3238 echo "wxUSE_OFFICIAL_BUILD
=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3241 if test x"$enablestring" = xdisable; then
3242 if test $wxUSE_OFFICIAL_BUILD = yes; then
3248 result=$wxUSE_OFFICIAL_BUILD
3251 { echo "$as_me:$LINENO: result
: $result" >&5
3252 echo "${ECHO_T}$result" >&6; }
3254 # Check whether --enable-vendor was given.
3255 if test "${enable_vendor+set}" = set; then
3256 enableval=$enable_vendor; VENDOR="$enableval"
3259 if test "x
$VENDOR" = "x
"; then
3264 enablestring=disable
3266 if test -z "$defaultval"; then
3267 if test x"$enablestring" = xdisable; then
3274 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3275 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3276 # Check whether --enable-all-features was given.
3277 if test "${enable_all_features+set}" = set; then
3278 enableval=$enable_all_features;
3279 if test "$enableval" = yes; then
3280 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3282 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3288 LINE=`grep "^wxUSE_ALL_FEATURES
=" ${wx_arg_cache_file}`
3289 if test "x
$LINE" != x ; then
3290 eval "DEFAULT_
$LINE"
3296 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3301 eval "$wx_cv_use_all_features"
3302 if test "x$cache" = xyes
; then
3303 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3306 if test x
"$enablestring" = xdisable
; then
3307 if test $wxUSE_ALL_FEATURES = yes; then
3313 result
=$wxUSE_ALL_FEATURES
3316 { echo "$as_me:$LINENO: result: $result" >&5
3317 echo "${ECHO_T}$result" >&6; }
3321 if test "$wxUSE_GUI" = "yes"; then
3326 if test -z "$defaultval"; then
3327 if test x
"$enablestring" = xdisable
; then
3334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3335 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3336 # Check whether --enable-universal was given.
3337 if test "${enable_universal+set}" = set; then
3338 enableval
=$enable_universal;
3339 if test "$enableval" = yes; then
3340 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3342 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3348 LINE
=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x
; then
3350 eval "DEFAULT_$LINE"
3356 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3361 eval "$wx_cv_use_universal"
3362 if test "x$cache" = xyes; then
3363 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3366 if test x"$enablestring" = xdisable; then
3367 if test $wxUSE_UNIVERSAL = yes; then
3373 result=$wxUSE_UNIVERSAL
3376 { echo "$as_me:$LINENO: result: $result" >&5
3377 echo "${ECHO_T}$result" >&6; }
3379 if test "$wxUSE_UNIVERSAL" = "yes"; then
3381 # Check whether --with-themes was given.
3382 if test "${with_themes+set}" = set; then
3383 withval=$with_themes; wxUNIV_THEMES="$withval"
3389 # Check whether --with-gtk was given.
3390 if test "${with_gtk+set}" = set; then
3391 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3395 # Check whether --with-motif was given.
3396 if test "${with_motif+set}" = set; then
3397 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3401 # Check whether --with-mac was given.
3402 if test "${with_mac+set}" = set; then
3403 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3407 # Check whether --with-cocoa was given.
3408 if test "${with_cocoa+set}" = set; then
3409 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-wine was given.
3414 if test "${with_wine+set}" = set; then
3415 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3419 # Check whether --with-msw was given.
3420 if test "${with_msw+set}" = set; then
3421 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3425 # Check whether --with-pm was given.
3426 if test "${with_pm+set}" = set; then
3427 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-mgl was given.
3432 if test "${with_mgl+set}" = set; then
3433 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-directfb was given.
3438 if test "${with_directfb+set}" = set; then
3439 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3443 # Check whether --with-microwin was given.
3444 if test "${with_microwin+set}" = set; then
3445 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3449 # Check whether --with-x11 was given.
3450 if test "${with_x11+set}" = set; then
3451 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3457 if test -z "$defaultval"; then
3458 if test x"$enablestring" = xdisable; then
3465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3466 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3467 # Check whether --enable-nanox was given.
3468 if test "${enable_nanox+set}" = set; then
3469 enableval=$enable_nanox;
3470 if test "$enableval" = yes; then
3471 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3473 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3479 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x ; then
3481 eval "DEFAULT_$LINE"
3487 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3492 eval "$wx_cv_use_nanox"
3493 if test "x
$cache" = xyes; then
3494 echo "wxUSE_NANOX
=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3497 if test x"$enablestring" = xdisable; then
3498 if test $wxUSE_NANOX = yes; then
3507 { echo "$as_me:$LINENO: result
: $result" >&5
3508 echo "${ECHO_T}$result" >&6; }
3511 # Check whether --enable-gtk2 was given.
3512 if test "${enable_gtk2+set}" = set; then
3513 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3519 if test -z "$defaultval"; then
3520 if test x"$enablestring" = xdisable; then
3527 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3528 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3529 # Check whether --enable-gpe was given.
3530 if test "${enable_gpe+set}" = set; then
3531 enableval=$enable_gpe;
3532 if test "$enableval" = yes; then
3533 wx_cv_use_gpe='wxUSE_GPE=yes'
3535 wx_cv_use_gpe='wxUSE_GPE=no'
3541 LINE=`grep "^wxUSE_GPE
=" ${wx_arg_cache_file}`
3542 if test "x
$LINE" != x ; then
3543 eval "DEFAULT_
$LINE"
3549 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3554 eval "$wx_cv_use_gpe"
3555 if test "x$cache" = xyes
; then
3556 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3559 if test x
"$enablestring" = xdisable
; then
3560 if test $wxUSE_GPE = yes; then
3569 { echo "$as_me:$LINENO: result: $result" >&5
3570 echo "${ECHO_T}$result" >&6; }
3575 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3576 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3578 # Check whether --with-libpng was given.
3579 if test "${with_libpng+set}" = set; then
3580 withval
=$with_libpng;
3581 if test "$withval" = yes; then
3582 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3583 elif test "$withval" = no
; then
3584 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3585 elif test "$withval" = sys
; then
3586 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3587 elif test "$withval" = builtin; then
3588 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3598 LINE
=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3599 if test "x$LINE" != x
; then
3600 eval "DEFAULT_$LINE"
3606 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3611 eval "$wx_cv_use_libpng"
3612 if test "x$cache" = xyes; then
3613 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3616 if test "$wxUSE_LIBPNG" = yes; then
3617 { echo "$as_me:$LINENO: result: yes" >&5
3618 echo "${ECHO_T}yes" >&6; }
3619 elif test "$wxUSE_LIBPNG" = no; then
3620 { echo "$as_me:$LINENO: result: no" >&5
3621 echo "${ECHO_T}no" >&6; }
3622 elif test "$wxUSE_LIBPNG" = sys; then
3623 { echo "$as_me:$LINENO: result: system version" >&5
3624 echo "${ECHO_T}system version" >&6; }
3625 elif test "$wxUSE_LIBPNG" = builtin; then
3626 { echo "$as_me:$LINENO: result: builtin version" >&5
3627 echo "${ECHO_T}builtin version" >&6; }
3629 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3630 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3631 { (exit 1); exit 1; }; }
3635 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3636 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3638 # Check whether --with-libjpeg was given.
3639 if test "${with_libjpeg+set}" = set; then
3640 withval=$with_libjpeg;
3641 if test "$withval" = yes; then
3642 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3643 elif test "$withval" = no; then
3644 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3645 elif test "$withval" = sys; then
3646 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3647 elif test "$withval" = builtin; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3650 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3651 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3652 { (exit 1); exit 1; }; }
3658 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x ; then
3660 eval "DEFAULT_$LINE"
3666 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3671 eval "$wx_cv_use_libjpeg"
3672 if test "x
$cache" = xyes; then
3673 echo "wxUSE_LIBJPEG
=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3676 if test "$wxUSE_LIBJPEG" = yes; then
3677 { echo "$as_me:$LINENO: result
: yes" >&5
3678 echo "${ECHO_T}yes" >&6; }
3679 elif test "$wxUSE_LIBJPEG" = no; then
3680 { echo "$as_me:$LINENO: result
: no
" >&5
3681 echo "${ECHO_T}no
" >&6; }
3682 elif test "$wxUSE_LIBJPEG" = sys; then
3683 { echo "$as_me:$LINENO: result
: system version
" >&5
3684 echo "${ECHO_T}system version
" >&6; }
3685 elif test "$wxUSE_LIBJPEG" = builtin; then
3686 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3687 echo "${ECHO_T}builtin version
" >&6; }
3689 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3690 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3695 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3696 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3698 # Check whether --with-libtiff was given.
3699 if test "${with_libtiff+set}" = set; then
3700 withval=$with_libtiff;
3701 if test "$withval" = yes; then
3702 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3703 elif test "$withval" = no; then
3704 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3705 elif test "$withval" = sys; then
3706 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3707 elif test "$withval" = builtin; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3710 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3711 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3712 { (exit 1); exit 1; }; }
3718 LINE=`grep "^wxUSE_LIBTIFF
=" ${wx_arg_cache_file}`
3719 if test "x
$LINE" != x ; then
3720 eval "DEFAULT_
$LINE"
3726 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3731 eval "$wx_cv_use_libtiff"
3732 if test "x$cache" = xyes
; then
3733 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_LIBTIFF" = yes; then
3737 { echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6; }
3739 elif test "$wxUSE_LIBTIFF" = no
; then
3740 { echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6; }
3742 elif test "$wxUSE_LIBTIFF" = sys
; then
3743 { echo "$as_me:$LINENO: result: system version" >&5
3744 echo "${ECHO_T}system version" >&6; }
3745 elif test "$wxUSE_LIBTIFF" = builtin; then
3746 { echo "$as_me:$LINENO: result: builtin version" >&5
3747 echo "${ECHO_T}builtin version" >&6; }
3749 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3750 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3751 { (exit 1); exit 1; }; }
3755 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3756 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3758 # Check whether --with-libxpm was given.
3759 if test "${with_libxpm+set}" = set; then
3760 withval
=$with_libxpm;
3761 if test "$withval" = yes; then
3762 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3763 elif test "$withval" = no
; then
3764 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3765 elif test "$withval" = sys
; then
3766 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3767 elif test "$withval" = builtin; then
3768 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3770 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3771 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3772 { (exit 1); exit 1; }; }
3778 LINE
=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x
; then
3780 eval "DEFAULT_$LINE"
3786 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3791 eval "$wx_cv_use_libxpm"
3792 if test "x$cache" = xyes; then
3793 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3796 if test "$wxUSE_LIBXPM" = yes; then
3797 { echo "$as_me:$LINENO: result: yes" >&5
3798 echo "${ECHO_T}yes" >&6; }
3799 elif test "$wxUSE_LIBXPM" = no; then
3800 { echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6; }
3802 elif test "$wxUSE_LIBXPM" = sys; then
3803 { echo "$as_me:$LINENO: result: system version" >&5
3804 echo "${ECHO_T}system version" >&6; }
3805 elif test "$wxUSE_LIBXPM" = builtin; then
3806 { echo "$as_me:$LINENO: result: builtin version" >&5
3807 echo "${ECHO_T}builtin version" >&6; }
3809 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3810 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3811 { (exit 1); exit 1; }; }
3816 defaultval=$wxUSE_ALL_FEATURES
3817 if test -z "$defaultval"; then
3818 if test x"$withstring" = xwithout; then
3824 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3825 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3827 # Check whether --with-libmspack was given.
3828 if test "${with_libmspack+set}" = set; then
3829 withval=$with_libmspack;
3830 if test "$withval" = yes; then
3831 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3833 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3839 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3840 if test "x$LINE" != x ; then
3841 eval "DEFAULT_$LINE"
3847 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3852 eval "$wx_cv_use_libmspack"
3853 if test "x
$cache" = xyes; then
3854 echo "wxUSE_LIBMSPACK
=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3857 if test x"$withstring" = xwithout; then
3858 if test $wxUSE_LIBMSPACK = yes; then
3864 result=$wxUSE_LIBMSPACK
3867 { echo "$as_me:$LINENO: result
: $result" >&5
3868 echo "${ECHO_T}$result" >&6; }
3872 defaultval=$wxUSE_ALL_FEATURES
3873 if test -z "$defaultval"; then
3874 if test x"$withstring" = xwithout; then
3880 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3881 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3883 # Check whether --with-gtkprint was given.
3884 if test "${with_gtkprint+set}" = set; then
3885 withval=$with_gtkprint;
3886 if test "$withval" = yes; then
3887 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3889 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3895 LINE=`grep "^wxUSE_GTKPRINT
=" ${wx_arg_cache_file}`
3896 if test "x
$LINE" != x ; then
3897 eval "DEFAULT_
$LINE"
3903 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3908 eval "$wx_cv_use_gtkprint"
3909 if test "x$cache" = xyes
; then
3910 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3913 if test x
"$withstring" = xwithout
; then
3914 if test $wxUSE_GTKPRINT = yes; then
3920 result
=$wxUSE_GTKPRINT
3923 { echo "$as_me:$LINENO: result: $result" >&5
3924 echo "${ECHO_T}$result" >&6; }
3928 defaultval
=$wxUSE_ALL_FEATURES
3929 if test -z "$defaultval"; then
3930 if test x
"$withstring" = xwithout
; then
3936 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3937 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3939 # Check whether --with-gnomeprint was given.
3940 if test "${with_gnomeprint+set}" = set; then
3941 withval
=$with_gnomeprint;
3942 if test "$withval" = yes; then
3943 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3945 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3951 LINE
=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3959 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3964 eval "$wx_cv_use_gnomeprint"
3965 if test "x$cache" = xyes; then
3966 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3969 if test x"$withstring" = xwithout; then
3970 if test $wxUSE_LIBGNOMEPRINT = yes; then
3976 result=$wxUSE_LIBGNOMEPRINT
3979 { echo "$as_me:$LINENO: result: $result" >&5
3980 echo "${ECHO_T}$result" >&6; }
3984 defaultval=$wxUSE_ALL_FEATURES
3985 if test -z "$defaultval"; then
3986 if test x"$withstring" = xwithout; then
3992 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3993 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3995 # Check whether --with-gnomevfs was given.
3996 if test "${with_gnomevfs+set}" = set; then
3997 withval=$with_gnomevfs;
3998 if test "$withval" = yes; then
3999 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
4001 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
4007 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x ; then
4009 eval "DEFAULT_$LINE"
4015 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4020 eval "$wx_cv_use_gnomevfs"
4021 if test "x
$cache" = xyes; then
4022 echo "wxUSE_LIBGNOMEVFS
=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4025 if test x"$withstring" = xwithout; then
4026 if test $wxUSE_LIBGNOMEVFS = yes; then
4032 result=$wxUSE_LIBGNOMEVFS
4035 { echo "$as_me:$LINENO: result
: $result" >&5
4036 echo "${ECHO_T}$result" >&6; }
4040 defaultval=$wxUSE_ALL_FEATURES
4041 if test -z "$defaultval"; then
4042 if test x"$withstring" = xwithout; then
4048 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
4049 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
4051 # Check whether --with-hildon was given.
4052 if test "${with_hildon+set}" = set; then
4053 withval=$with_hildon;
4054 if test "$withval" = yes; then
4055 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4057 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4063 LINE=`grep "^wxUSE_LIBHILDON
=" ${wx_arg_cache_file}`
4064 if test "x
$LINE" != x ; then
4065 eval "DEFAULT_
$LINE"
4071 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4076 eval "$wx_cv_use_hildon"
4077 if test "x$cache" = xyes
; then
4078 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4081 if test x
"$withstring" = xwithout
; then
4082 if test $wxUSE_LIBHILDON = yes; then
4088 result
=$wxUSE_LIBHILDON
4091 { echo "$as_me:$LINENO: result: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4096 defaultval
=$wxUSE_ALL_FEATURES
4097 if test -z "$defaultval"; then
4098 if test x
"$withstring" = xwithout
; then
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4107 # Check whether --with-opengl was given.
4108 if test "${with_opengl+set}" = set; then
4109 withval
=$with_opengl;
4110 if test "$withval" = yes; then
4111 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
4113 wx_cv_use_opengl
='wxUSE_OPENGL=no'
4119 LINE
=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x
; then
4121 eval "DEFAULT_$LINE"
4127 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4132 eval "$wx_cv_use_opengl"
4133 if test "x$cache" = xyes; then
4134 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_OPENGL = yes; then
4144 result=$wxUSE_OPENGL
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4155 defaultval=$wxUSE_ALL_FEATURES
4156 if test -z "$defaultval"; then
4157 if test x"$withstring" = xwithout; then
4163 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4164 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4166 # Check whether --with-dmalloc was given.
4167 if test "${with_dmalloc+set}" = set; then
4168 withval=$with_dmalloc;
4169 if test "$withval" = yes; then
4170 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
4172 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
4178 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4186 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4191 eval "$wx_cv_use_dmalloc"
4192 if test "x
$cache" = xyes; then
4193 echo "wxUSE_DMALLOC
=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4196 if test x"$withstring" = xwithout; then
4197 if test $wxUSE_DMALLOC = yes; then
4203 result=$wxUSE_DMALLOC
4206 { echo "$as_me:$LINENO: result
: $result" >&5
4207 echo "${ECHO_T}$result" >&6; }
4211 defaultval=$wxUSE_ALL_FEATURES
4212 if test -z "$defaultval"; then
4213 if test x"$withstring" = xwithout; then
4219 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
4220 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
4222 # Check whether --with-sdl was given.
4223 if test "${with_sdl+set}" = set; then
4225 if test "$withval" = yes; then
4226 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4228 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4234 LINE=`grep "^wxUSE_LIBSDL
=" ${wx_arg_cache_file}`
4235 if test "x
$LINE" != x ; then
4236 eval "DEFAULT_
$LINE"
4242 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4247 eval "$wx_cv_use_sdl"
4248 if test "x$cache" = xyes
; then
4249 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4252 if test x
"$withstring" = xwithout
; then
4253 if test $wxUSE_LIBSDL = yes; then
4259 result
=$wxUSE_LIBSDL
4262 { echo "$as_me:$LINENO: result: $result" >&5
4263 echo "${ECHO_T}$result" >&6; }
4266 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4267 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4269 # Check whether --with-regex was given.
4270 if test "${with_regex+set}" = set; then
4271 withval
=$with_regex;
4272 if test "$withval" = yes; then
4273 wx_cv_use_regex
='wxUSE_REGEX=yes'
4274 elif test "$withval" = no
; then
4275 wx_cv_use_regex
='wxUSE_REGEX=no'
4276 elif test "$withval" = sys
; then
4277 wx_cv_use_regex
='wxUSE_REGEX=sys'
4278 elif test "$withval" = builtin; then
4279 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4281 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4282 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4283 { (exit 1); exit 1; }; }
4289 LINE
=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4290 if test "x$LINE" != x
; then
4291 eval "DEFAULT_$LINE"
4297 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4302 eval "$wx_cv_use_regex"
4303 if test "x$cache" = xyes; then
4304 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4307 if test "$wxUSE_REGEX" = yes; then
4308 { echo "$as_me:$LINENO: result: yes" >&5
4309 echo "${ECHO_T}yes" >&6; }
4310 elif test "$wxUSE_REGEX" = no; then
4311 { echo "$as_me:$LINENO: result: no" >&5
4312 echo "${ECHO_T}no" >&6; }
4313 elif test "$wxUSE_REGEX" = sys; then
4314 { echo "$as_me:$LINENO: result: system version" >&5
4315 echo "${ECHO_T}system version" >&6; }
4316 elif test "$wxUSE_REGEX" = builtin; then
4317 { echo "$as_me:$LINENO: result: builtin version" >&5
4318 echo "${ECHO_T}builtin version" >&6; }
4320 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4321 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4322 { (exit 1); exit 1; }; }
4326 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4327 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4329 # Check whether --with-zlib was given.
4330 if test "${with_zlib+set}" = set; then
4332 if test "$withval" = yes; then
4333 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4334 elif test "$withval" = no; then
4335 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4336 elif test "$withval" = sys; then
4337 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4338 elif test "$withval" = builtin; then
4339 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4343 { (exit 1); exit 1; }; }
4349 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4350 if test "x$LINE" != x ; then
4351 eval "DEFAULT_$LINE"
4357 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4362 eval "$wx_cv_use_zlib"
4363 if test "x
$cache" = xyes; then
4364 echo "wxUSE_ZLIB
=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4367 if test "$wxUSE_ZLIB" = yes; then
4368 { echo "$as_me:$LINENO: result
: yes" >&5
4369 echo "${ECHO_T}yes" >&6; }
4370 elif test "$wxUSE_ZLIB" = no; then
4371 { echo "$as_me:$LINENO: result
: no
" >&5
4372 echo "${ECHO_T}no
" >&6; }
4373 elif test "$wxUSE_ZLIB" = sys; then
4374 { echo "$as_me:$LINENO: result
: system version
" >&5
4375 echo "${ECHO_T}system version
" >&6; }
4376 elif test "$wxUSE_ZLIB" = builtin; then
4377 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4378 echo "${ECHO_T}builtin version
" >&6; }
4380 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4381 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4382 { (exit 1); exit 1; }; }
4386 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4387 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4389 # Check whether --with-expat was given.
4390 if test "${with_expat+set}" = set; then
4391 withval=$with_expat;
4392 if test "$withval" = yes; then
4393 wx_cv_use_expat='wxUSE_EXPAT=yes'
4394 elif test "$withval" = no; then
4395 wx_cv_use_expat='wxUSE_EXPAT=no'
4396 elif test "$withval" = sys; then
4397 wx_cv_use_expat='wxUSE_EXPAT=sys'
4398 elif test "$withval" = builtin; then
4399 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4401 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4402 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4403 { (exit 1); exit 1; }; }
4409 LINE=`grep "^wxUSE_EXPAT
=" ${wx_arg_cache_file}`
4410 if test "x
$LINE" != x ; then
4411 eval "DEFAULT_
$LINE"
4417 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4422 eval "$wx_cv_use_expat"
4423 if test "x$cache" = xyes
; then
4424 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4427 if test "$wxUSE_EXPAT" = yes; then
4428 { echo "$as_me:$LINENO: result: yes" >&5
4429 echo "${ECHO_T}yes" >&6; }
4430 elif test "$wxUSE_EXPAT" = no
; then
4431 { echo "$as_me:$LINENO: result: no" >&5
4432 echo "${ECHO_T}no" >&6; }
4433 elif test "$wxUSE_EXPAT" = sys
; then
4434 { echo "$as_me:$LINENO: result: system version" >&5
4435 echo "${ECHO_T}system version" >&6; }
4436 elif test "$wxUSE_EXPAT" = builtin; then
4437 { echo "$as_me:$LINENO: result: builtin version" >&5
4438 echo "${ECHO_T}builtin version" >&6; }
4440 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4441 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4442 { (exit 1); exit 1; }; }
4446 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4447 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4449 # Check whether --with-macosx-sdk was given.
4450 if test "${with_macosx_sdk+set}" = set; then
4451 withval
=$with_macosx_sdk;
4452 wxUSE_MACOSX_SDK
=$withval
4453 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4454 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4458 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4459 # will override --enable-universal_binary's automatic SDK usage.
4461 LINE
=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x
; then
4464 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4469 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4470 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4472 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4473 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4475 # Check whether --with-macosx-version-min was given.
4476 if test "${with_macosx_version_min+set}" = set; then
4477 withval
=$with_macosx_version_min;
4478 wxUSE_MACOSX_VERSION_MIN
=$withval
4479 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4480 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4484 # default "yes" because when not using an SDK it means the same as no
4485 # but when using an SDK it means to use the SDK version
4486 wxUSE_MACOSX_VERSION_MIN
=yes
4487 # See if there is a value in the cache
4488 LINE
=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x
; then
4491 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4496 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4497 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4501 enablestring
=disable
4503 if test -z "$defaultval"; then
4504 if test x
"$enablestring" = xdisable
; then
4511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4512 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4513 # Check whether --enable-shared was given.
4514 if test "${enable_shared+set}" = set; then
4515 enableval
=$enable_shared;
4516 if test "$enableval" = yes; then
4517 wx_cv_use_shared
='wxUSE_SHARED=yes'
4519 wx_cv_use_shared
='wxUSE_SHARED=no'
4525 LINE
=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4526 if test "x$LINE" != x
; then
4527 eval "DEFAULT_$LINE"
4533 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4538 eval "$wx_cv_use_shared"
4539 if test "x$cache" = xyes; then
4540 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4543 if test x"$enablestring" = xdisable; then
4544 if test $wxUSE_SHARED = yes; then
4550 result=$wxUSE_SHARED
4553 { echo "$as_me:$LINENO: result: $result" >&5
4554 echo "${ECHO_T}$result" >&6; }
4557 enablestring=disable
4559 if test -z "$defaultval"; then
4560 if test x"$enablestring" = xdisable; then
4567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4568 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4569 # Check whether --enable-optimise was given.
4570 if test "${enable_optimise+set}" = set; then
4571 enableval=$enable_optimise;
4572 if test "$enableval" = yes; then
4573 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4575 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4581 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4582 if test "x$LINE" != x ; then
4583 eval "DEFAULT_$LINE"
4589 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4594 eval "$wx_cv_use_optimise"
4595 if test "x
$cache" = xyes; then
4596 echo "wxUSE_OPTIMISE
=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4599 if test x"$enablestring" = xdisable; then
4600 if test $wxUSE_OPTIMISE = yes; then
4606 result=$wxUSE_OPTIMISE
4609 { echo "$as_me:$LINENO: result
: $result" >&5
4610 echo "${ECHO_T}$result" >&6; }
4615 if test -z "$defaultval"; then
4616 if test x"$enablestring" = xdisable; then
4623 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4624 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4625 # Check whether --enable-debug was given.
4626 if test "${enable_debug+set}" = set; then
4627 enableval=$enable_debug;
4628 if test "$enableval" = yes; then
4629 wx_cv_use_debug='wxUSE_DEBUG=yes'
4631 wx_cv_use_debug='wxUSE_DEBUG=no'
4637 LINE=`grep "^wxUSE_DEBUG
=" ${wx_arg_cache_file}`
4638 if test "x
$LINE" != x ; then
4639 eval "DEFAULT_
$LINE"
4645 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4650 eval "$wx_cv_use_debug"
4651 if test "x$cache" = xyes
; then
4652 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4655 if test x
"$enablestring" = xdisable
; then
4656 if test $wxUSE_DEBUG = yes; then
4665 { echo "$as_me:$LINENO: result: $result" >&5
4666 echo "${ECHO_T}$result" >&6; }
4671 if test -z "$defaultval"; then
4672 if test x
"$enablestring" = xdisable
; then
4679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4681 # Check whether --enable-stl was given.
4682 if test "${enable_stl+set}" = set; then
4683 enableval
=$enable_stl;
4684 if test "$enableval" = yes; then
4685 wx_cv_use_stl
='wxUSE_STL=yes'
4687 wx_cv_use_stl
='wxUSE_STL=no'
4693 LINE
=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x
; then
4695 eval "DEFAULT_$LINE"
4701 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4706 eval "$wx_cv_use_stl"
4707 if test "x$cache" = xyes; then
4708 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4711 if test x"$enablestring" = xdisable; then
4712 if test $wxUSE_STL = yes; then
4721 { echo "$as_me:$LINENO: result: $result" >&5
4722 echo "${ECHO_T}$result" >&6; }
4727 if test -z "$defaultval"; then
4728 if test x"$enablestring" = xdisable; then
4735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4737 # Check whether --enable-std_iostreams was given.
4738 if test "${enable_std_iostreams+set}" = set; then
4739 enableval=$enable_std_iostreams;
4740 if test "$enableval" = yes; then
4741 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4743 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4749 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x ; then
4751 eval "DEFAULT_$LINE"
4757 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4762 eval "$wx_cv_use_std_iostreams"
4763 if test "x
$cache" = xyes; then
4764 echo "wxUSE_STD_IOSTREAM
=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4767 if test x"$enablestring" = xdisable; then
4768 if test $wxUSE_STD_IOSTREAM = yes; then
4774 result=$wxUSE_STD_IOSTREAM
4777 { echo "$as_me:$LINENO: result
: $result" >&5
4778 echo "${ECHO_T}$result" >&6; }
4783 if test -z "$defaultval"; then
4784 if test x"$enablestring" = xdisable; then
4791 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4792 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4793 # Check whether --enable-std_string was given.
4794 if test "${enable_std_string+set}" = set; then
4795 enableval=$enable_std_string;
4796 if test "$enableval" = yes; then
4797 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4799 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4805 LINE=`grep "^wxUSE_STD_STRING
=" ${wx_arg_cache_file}`
4806 if test "x
$LINE" != x ; then
4807 eval "DEFAULT_
$LINE"
4813 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4818 eval "$wx_cv_use_std_string"
4819 if test "x$cache" = xyes
; then
4820 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4823 if test x
"$enablestring" = xdisable
; then
4824 if test $wxUSE_STD_STRING = yes; then
4830 result
=$wxUSE_STD_STRING
4833 { echo "$as_me:$LINENO: result: $result" >&5
4834 echo "${ECHO_T}$result" >&6; }
4837 enablestring
=disable
4839 if test -z "$defaultval"; then
4840 if test x
"$enablestring" = xdisable
; then
4847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4849 # Check whether --enable-unicode was given.
4850 if test "${enable_unicode+set}" = set; then
4851 enableval
=$enable_unicode;
4852 if test "$enableval" = yes; then
4853 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4855 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4861 LINE
=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x
; then
4863 eval "DEFAULT_$LINE"
4869 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4874 eval "$wx_cv_use_unicode"
4875 if test "x$cache" = xyes; then
4876 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4879 if test x"$enablestring" = xdisable; then
4880 if test $wxUSE_UNICODE = yes; then
4886 result=$wxUSE_UNICODE
4889 { echo "$as_me:$LINENO: result: $result" >&5
4890 echo "${ECHO_T}$result" >&6; }
4895 if test -z "$defaultval"; then
4896 if test x"$enablestring" = xdisable; then
4903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4904 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4905 # Check whether --enable-mslu was given.
4906 if test "${enable_mslu+set}" = set; then
4907 enableval=$enable_mslu;
4908 if test "$enableval" = yes; then
4909 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4911 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4917 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x ; then
4919 eval "DEFAULT_$LINE"
4925 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4930 eval "$wx_cv_use_mslu"
4931 if test "x
$cache" = xyes; then
4932 echo "wxUSE_UNICODE_MSLU
=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4935 if test x"$enablestring" = xdisable; then
4936 if test $wxUSE_UNICODE_MSLU = yes; then
4942 result=$wxUSE_UNICODE_MSLU
4945 { echo "$as_me:$LINENO: result
: $result" >&5
4946 echo "${ECHO_T}$result" >&6; }
4950 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4951 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4952 # Check whether --enable-utf8 was given.
4953 if test "${enable_utf8+set}" = set; then
4954 enableval=$enable_utf8;
4955 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4960 LINE=`grep "^wxUSE_UNICODE_UTF8
=" ${wx_arg_cache_file}`
4961 if test "x
$LINE" != x ; then
4962 eval "DEFAULT_
$LINE"
4968 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4973 eval "$wx_cv_use_utf8"
4974 if test "x
$cache" = xyes; then
4975 echo "wxUSE_UNICODE_UTF8
=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4978 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4979 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4984 if test -z "$defaultval"; then
4985 if test x"$enablestring" = xdisable; then
4992 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4993 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4994 # Check whether --enable-utf8only was given.
4995 if test "${enable_utf8only+set}" = set; then
4996 enableval=$enable_utf8only;
4997 if test "$enableval" = yes; then
4998 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5000 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5006 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE
=" ${wx_arg_cache_file}`
5007 if test "x
$LINE" != x ; then
5008 eval "DEFAULT_
$LINE"
5014 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5019 eval "$wx_cv_use_utf8only"
5020 if test "x$cache" = xyes
; then
5021 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5024 if test x
"$enablestring" = xdisable
; then
5025 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5031 result
=$wxUSE_UNICODE_UTF8_LOCALE
5034 { echo "$as_me:$LINENO: result: $result" >&5
5035 echo "${ECHO_T}$result" >&6; }
5040 if test -z "$defaultval"; then
5041 if test x
"$enablestring" = xdisable
; then
5048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5050 # Check whether --enable-extended_rtti was given.
5051 if test "${enable_extended_rtti+set}" = set; then
5052 enableval
=$enable_extended_rtti;
5053 if test "$enableval" = yes; then
5054 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5056 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5062 LINE
=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x
; then
5064 eval "DEFAULT_$LINE"
5070 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5075 eval "$wx_cv_use_extended_rtti"
5076 if test "x$cache" = xyes; then
5077 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5080 if test x"$enablestring" = xdisable; then
5081 if test $wxUSE_EXTENDED_RTTI = yes; then
5087 result=$wxUSE_EXTENDED_RTTI
5090 { echo "$as_me:$LINENO: result: $result" >&5
5091 echo "${ECHO_T}$result" >&6; }
5093 if test "$USE_OS2" = "1"; then
5094 DEFAULT_wxUSE_OMF=no
5098 if test -z "$defaultval"; then
5099 if test x"$enablestring" = xdisable; then
5106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5108 # Check whether --enable-omf was given.
5109 if test "${enable_omf+set}" = set; then
5110 enableval=$enable_omf;
5111 if test "$enableval" = yes; then
5112 wx_cv_use_omf='wxUSE_OMF
=yes'
5114 wx_cv_use_omf='wxUSE_OMF
=no
'
5120 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5121 if test "x$LINE" != x ; then
5122 eval "DEFAULT_$LINE"
5128 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5133 eval "$wx_cv_use_omf"
5134 if test "x
$cache" = xyes; then
5135 echo "wxUSE_OMF
=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5138 if test x"$enablestring" = xdisable; then
5139 if test $wxUSE_OMF = yes; then
5148 { echo "$as_me:$LINENO: result
: $result" >&5
5149 echo "${ECHO_T}$result" >&6; }
5153 if test "$wxUSE_DEBUG" = "yes"; then
5154 DEFAULT_wxUSE_DEBUG_FLAG=yes
5155 DEFAULT_wxUSE_DEBUG_INFO=yes
5157 elif test "$wxUSE_DEBUG" = "no
"; then
5158 DEFAULT_wxUSE_DEBUG_FLAG=no
5159 DEFAULT_wxUSE_DEBUG_INFO=no
5166 if test -z "$defaultval"; then
5167 if test x"$enablestring" = xdisable; then
5174 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
5175 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
5176 # Check whether --enable-debug_flag was given.
5177 if test "${enable_debug_flag+set}" = set; then
5178 enableval=$enable_debug_flag;
5179 if test "$enableval" = yes; then
5180 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5182 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5188 LINE=`grep "^wxUSE_DEBUG_FLAG
=" ${wx_arg_cache_file}`
5189 if test "x
$LINE" != x ; then
5190 eval "DEFAULT_
$LINE"
5196 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5201 eval "$wx_cv_use_debug_flag"
5202 if test "x$cache" = xyes
; then
5203 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5206 if test x
"$enablestring" = xdisable
; then
5207 if test $wxUSE_DEBUG_FLAG = yes; then
5213 result
=$wxUSE_DEBUG_FLAG
5216 { echo "$as_me:$LINENO: result: $result" >&5
5217 echo "${ECHO_T}$result" >&6; }
5222 if test -z "$defaultval"; then
5223 if test x
"$enablestring" = xdisable
; then
5230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5232 # Check whether --enable-debug_info was given.
5233 if test "${enable_debug_info+set}" = set; then
5234 enableval
=$enable_debug_info;
5235 if test "$enableval" = yes; then
5236 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5238 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5244 LINE
=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x
; then
5246 eval "DEFAULT_$LINE"
5252 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5257 eval "$wx_cv_use_debug_info"
5258 if test "x$cache" = xyes; then
5259 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5262 if test x"$enablestring" = xdisable; then
5263 if test $wxUSE_DEBUG_INFO = yes; then
5269 result=$wxUSE_DEBUG_INFO
5272 { echo "$as_me:$LINENO: result: $result" >&5
5273 echo "${ECHO_T}$result" >&6; }
5278 if test -z "$defaultval"; then
5279 if test x"$enablestring" = xdisable; then
5286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5287 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5288 # Check whether --enable-debug_gdb was given.
5289 if test "${enable_debug_gdb+set}" = set; then
5290 enableval=$enable_debug_gdb;
5291 if test "$enableval" = yes; then
5292 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5294 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5300 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5308 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5313 eval "$wx_cv_use_debug_gdb"
5314 if test "x
$cache" = xyes; then
5315 echo "wxUSE_DEBUG_GDB
=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5318 if test x"$enablestring" = xdisable; then
5319 if test $wxUSE_DEBUG_GDB = yes; then
5325 result=$wxUSE_DEBUG_GDB
5328 { echo "$as_me:$LINENO: result
: $result" >&5
5329 echo "${ECHO_T}$result" >&6; }
5334 if test -z "$defaultval"; then
5335 if test x"$enablestring" = xdisable; then
5342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5343 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
5344 # Check whether --enable-debug_cntxt was given.
5345 if test "${enable_debug_cntxt+set}" = set; then
5346 enableval=$enable_debug_cntxt;
5347 if test "$enableval" = yes; then
5348 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5350 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5356 LINE=`grep "^wxUSE_DEBUG_CONTEXT
=" ${wx_arg_cache_file}`
5357 if test "x
$LINE" != x ; then
5358 eval "DEFAULT_
$LINE"
5364 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5369 eval "$wx_cv_use_debug_cntxt"
5370 if test "x$cache" = xyes
; then
5371 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5374 if test x
"$enablestring" = xdisable
; then
5375 if test $wxUSE_DEBUG_CONTEXT = yes; then
5381 result
=$wxUSE_DEBUG_CONTEXT
5384 { echo "$as_me:$LINENO: result: $result" >&5
5385 echo "${ECHO_T}$result" >&6; }
5390 if test -z "$defaultval"; then
5391 if test x
"$enablestring" = xdisable
; then
5398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5400 # Check whether --enable-mem_tracing was given.
5401 if test "${enable_mem_tracing+set}" = set; then
5402 enableval
=$enable_mem_tracing;
5403 if test "$enableval" = yes; then
5404 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5406 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5412 LINE
=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5413 if test "x$LINE" != x
; then
5414 eval "DEFAULT_$LINE"
5420 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5425 eval "$wx_cv_use_mem_tracing"
5426 if test "x$cache" = xyes; then
5427 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5430 if test x"$enablestring" = xdisable; then
5431 if test $wxUSE_MEM_TRACING = yes; then
5437 result=$wxUSE_MEM_TRACING
5440 { echo "$as_me:$LINENO: result: $result" >&5
5441 echo "${ECHO_T}$result" >&6; }
5446 if test -z "$defaultval"; then
5447 if test x"$enablestring" = xdisable; then
5454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5455 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5456 # Check whether --enable-profile was given.
5457 if test "${enable_profile+set}" = set; then
5458 enableval=$enable_profile;
5459 if test "$enableval" = yes; then
5460 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5462 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5468 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5469 if test "x$LINE" != x ; then
5470 eval "DEFAULT_$LINE"
5476 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5481 eval "$wx_cv_use_profile"
5482 if test "x
$cache" = xyes; then
5483 echo "wxUSE_PROFILE
=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5486 if test x"$enablestring" = xdisable; then
5487 if test $wxUSE_PROFILE = yes; then
5493 result=$wxUSE_PROFILE
5496 { echo "$as_me:$LINENO: result
: $result" >&5
5497 echo "${ECHO_T}$result" >&6; }
5502 if test -z "$defaultval"; then
5503 if test x"$enablestring" = xdisable; then
5510 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5511 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5512 # Check whether --enable-no_rtti was given.
5513 if test "${enable_no_rtti+set}" = set; then
5514 enableval=$enable_no_rtti;
5515 if test "$enableval" = yes; then
5516 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5518 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5524 LINE=`grep "^wxUSE_NO_RTTI
=" ${wx_arg_cache_file}`
5525 if test "x
$LINE" != x ; then
5526 eval "DEFAULT_
$LINE"
5532 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5537 eval "$wx_cv_use_no_rtti"
5538 if test "x$cache" = xyes
; then
5539 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5542 if test x
"$enablestring" = xdisable
; then
5543 if test $wxUSE_NO_RTTI = yes; then
5549 result
=$wxUSE_NO_RTTI
5552 { echo "$as_me:$LINENO: result: $result" >&5
5553 echo "${ECHO_T}$result" >&6; }
5558 if test -z "$defaultval"; then
5559 if test x
"$enablestring" = xdisable
; then
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5568 # Check whether --enable-no_exceptions was given.
5569 if test "${enable_no_exceptions+set}" = set; then
5570 enableval
=$enable_no_exceptions;
5571 if test "$enableval" = yes; then
5572 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5574 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5580 LINE
=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5581 if test "x$LINE" != x
; then
5582 eval "DEFAULT_$LINE"
5588 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5593 eval "$wx_cv_use_no_exceptions"
5594 if test "x$cache" = xyes; then
5595 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5598 if test x"$enablestring" = xdisable; then
5599 if test $wxUSE_NO_EXCEPTIONS = yes; then
5605 result=$wxUSE_NO_EXCEPTIONS
5608 { echo "$as_me:$LINENO: result: $result" >&5
5609 echo "${ECHO_T}$result" >&6; }
5614 if test -z "$defaultval"; then
5615 if test x"$enablestring" = xdisable; then
5622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5624 # Check whether --enable-permissive was given.
5625 if test "${enable_permissive+set}" = set; then
5626 enableval=$enable_permissive;
5627 if test "$enableval" = yes; then
5628 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5630 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5636 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5644 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5649 eval "$wx_cv_use_permissive"
5650 if test "x
$cache" = xyes; then
5651 echo "wxUSE_PERMISSIVE
=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5654 if test x"$enablestring" = xdisable; then
5655 if test $wxUSE_PERMISSIVE = yes; then
5661 result=$wxUSE_PERMISSIVE
5664 { echo "$as_me:$LINENO: result
: $result" >&5
5665 echo "${ECHO_T}$result" >&6; }
5670 if test -z "$defaultval"; then
5671 if test x"$enablestring" = xdisable; then
5678 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5679 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5680 # Check whether --enable-no_deps was given.
5681 if test "${enable_no_deps+set}" = set; then
5682 enableval=$enable_no_deps;
5683 if test "$enableval" = yes; then
5684 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5686 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5692 LINE=`grep "^wxUSE_NO_DEPS
=" ${wx_arg_cache_file}`
5693 if test "x
$LINE" != x ; then
5694 eval "DEFAULT_
$LINE"
5700 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5705 eval "$wx_cv_use_no_deps"
5706 if test "x$cache" = xyes
; then
5707 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5710 if test x
"$enablestring" = xdisable
; then
5711 if test $wxUSE_NO_DEPS = yes; then
5717 result
=$wxUSE_NO_DEPS
5720 { echo "$as_me:$LINENO: result: $result" >&5
5721 echo "${ECHO_T}$result" >&6; }
5724 enablestring
=disable
5726 if test -z "$defaultval"; then
5727 if test x
"$enablestring" = xdisable
; then
5734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5735 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5736 # Check whether --enable-vararg_macros was given.
5737 if test "${enable_vararg_macros+set}" = set; then
5738 enableval
=$enable_vararg_macros;
5739 if test "$enableval" = yes; then
5740 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5742 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5748 LINE
=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x
; then
5750 eval "DEFAULT_$LINE"
5756 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5761 eval "$wx_cv_use_vararg_macros"
5762 if test "x$cache" = xyes; then
5763 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5766 if test x"$enablestring" = xdisable; then
5767 if test $wxUSE_VARARG_MACROS = yes; then
5773 result=$wxUSE_VARARG_MACROS
5776 { echo "$as_me:$LINENO: result: $result" >&5
5777 echo "${ECHO_T}$result" >&6; }
5781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5782 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5783 # Check whether --enable-universal_binary was given.
5784 if test "${enable_universal_binary+set}" = set; then
5785 enableval=$enable_universal_binary;
5786 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5791 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5792 if test "x$LINE" != x ; then
5793 eval "DEFAULT_$LINE"
5799 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5804 eval "$wx_cv_use_universal_binary"
5805 if test "x$cache" = xyes; then
5806 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5809 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5810 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5816 if test -z "$defaultval"; then
5817 if test x"$enablestring" = xdisable; then
5824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5826 # Check whether --enable-compat26 was given.
5827 if test "${enable_compat26+set}" = set; then
5828 enableval=$enable_compat26;
5829 if test "$enableval" = yes; then
5830 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5832 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5838 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5839 if test "x$LINE" != x ; then
5840 eval "DEFAULT_$LINE"
5846 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5851 eval "$wx_cv_use_compat26"
5852 if test "x
$cache" = xyes; then
5853 echo "WXWIN_COMPATIBILITY_2_6
=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5856 if test x"$enablestring" = xdisable; then
5857 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5863 result=$WXWIN_COMPATIBILITY_2_6
5866 { echo "$as_me:$LINENO: result
: $result" >&5
5867 echo "${ECHO_T}$result" >&6; }
5870 enablestring=disable
5872 if test -z "$defaultval"; then
5873 if test x"$enablestring" = xdisable; then
5880 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5881 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5882 # Check whether --enable-compat28 was given.
5883 if test "${enable_compat28+set}" = set; then
5884 enableval=$enable_compat28;
5885 if test "$enableval" = yes; then
5886 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5888 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5894 LINE=`grep "^WXWIN_COMPATIBILITY_2_8
=" ${wx_arg_cache_file}`
5895 if test "x
$LINE" != x ; then
5896 eval "DEFAULT_
$LINE"
5902 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5907 eval "$wx_cv_use_compat28"
5908 if test "x$cache" = xyes
; then
5909 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5912 if test x
"$enablestring" = xdisable
; then
5913 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5919 result
=$WXWIN_COMPATIBILITY_2_8
5922 { echo "$as_me:$LINENO: result: $result" >&5
5923 echo "${ECHO_T}$result" >&6; }
5927 enablestring
=disable
5929 if test -z "$defaultval"; then
5930 if test x
"$enablestring" = xdisable
; then
5937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5939 # Check whether --enable-rpath was given.
5940 if test "${enable_rpath+set}" = set; then
5941 enableval
=$enable_rpath;
5942 if test "$enableval" = yes; then
5943 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5945 wx_cv_use_rpath
='wxUSE_RPATH=no'
5951 LINE
=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5952 if test "x$LINE" != x
; then
5953 eval "DEFAULT_$LINE"
5959 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5964 eval "$wx_cv_use_rpath"
5965 if test "x$cache" = xyes; then
5966 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5969 if test x"$enablestring" = xdisable; then
5970 if test $wxUSE_RPATH = yes; then
5979 { echo "$as_me:$LINENO: result: $result" >&5
5980 echo "${ECHO_T}$result" >&6; }
5986 if test -z "$defaultval"; then
5987 if test x"$enablestring" = xdisable; then
5994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5995 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5996 # Check whether --enable-objc_uniquifying was given.
5997 if test "${enable_objc_uniquifying+set}" = set; then
5998 enableval=$enable_objc_uniquifying;
5999 if test "$enableval" = yes; then
6000 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6002 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6008 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x ; then
6010 eval "DEFAULT_$LINE"
6016 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6021 eval "$wx_cv_use_objc_uniquifying"
6022 if test "x
$cache" = xyes; then
6023 echo "wxUSE_OBJC_UNIQUIFYING
=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6026 if test x"$enablestring" = xdisable; then
6027 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6033 result=$wxUSE_OBJC_UNIQUIFYING
6036 { echo "$as_me:$LINENO: result
: $result" >&5
6037 echo "${ECHO_T}$result" >&6; }
6041 enablestring=disable
6043 if test -z "$defaultval"; then
6044 if test x"$enablestring" = xdisable; then
6051 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
6052 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
6053 # Check whether --enable-visibility was given.
6054 if test "${enable_visibility+set}" = set; then
6055 enableval=$enable_visibility;
6056 if test "$enableval" = yes; then
6057 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6059 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6065 LINE=`grep "^wxUSE_VISIBILITY
=" ${wx_arg_cache_file}`
6066 if test "x
$LINE" != x ; then
6067 eval "DEFAULT_
$LINE"
6073 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6078 eval "$wx_cv_use_visibility"
6079 if test "x$cache" = xyes
; then
6080 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6083 if test x
"$enablestring" = xdisable
; then
6084 if test $wxUSE_VISIBILITY = yes; then
6090 result
=$wxUSE_VISIBILITY
6093 { echo "$as_me:$LINENO: result: $result" >&5
6094 echo "${ECHO_T}$result" >&6; }
6100 defaultval
=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x
"$enablestring" = xdisable
; then
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6111 # Check whether --enable-intl was given.
6112 if test "${enable_intl+set}" = set; then
6113 enableval
=$enable_intl;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_intl
='wxUSE_INTL=yes'
6117 wx_cv_use_intl
='wxUSE_INTL=no'
6123 LINE
=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x
; then
6125 eval "DEFAULT_$LINE"
6131 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6136 eval "$wx_cv_use_intl"
6137 if test "x$cache" = xyes; then
6138 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6141 if test x"$enablestring" = xdisable; then
6142 if test $wxUSE_INTL = yes; then
6151 { echo "$as_me:$LINENO: result: $result" >&5
6152 echo "${ECHO_T}$result" >&6; }
6156 defaultval=$wxUSE_ALL_FEATURES
6157 if test -z "$defaultval"; then
6158 if test x"$enablestring" = xdisable; then
6165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6167 # Check whether --enable-config was given.
6168 if test "${enable_config+set}" = set; then
6169 enableval=$enable_config;
6170 if test "$enableval" = yes; then
6171 wx_cv_use_config='wxUSE_CONFIG
=yes'
6173 wx_cv_use_config='wxUSE_CONFIG
=no
'
6179 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6180 if test "x$LINE" != x ; then
6181 eval "DEFAULT_$LINE"
6187 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6192 eval "$wx_cv_use_config"
6193 if test "x
$cache" = xyes; then
6194 echo "wxUSE_CONFIG
=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6197 if test x"$enablestring" = xdisable; then
6198 if test $wxUSE_CONFIG = yes; then
6204 result=$wxUSE_CONFIG
6207 { echo "$as_me:$LINENO: result
: $result" >&5
6208 echo "${ECHO_T}$result" >&6; }
6213 defaultval=$wxUSE_ALL_FEATURES
6214 if test -z "$defaultval"; then
6215 if test x"$enablestring" = xdisable; then
6222 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
6223 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
6224 # Check whether --enable-protocols was given.
6225 if test "${enable_protocols+set}" = set; then
6226 enableval=$enable_protocols;
6227 if test "$enableval" = yes; then
6228 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6230 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6236 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
6237 if test "x
$LINE" != x ; then
6238 eval "DEFAULT_
$LINE"
6244 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6249 eval "$wx_cv_use_protocols"
6250 if test "x$cache" = xyes
; then
6251 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6254 if test x
"$enablestring" = xdisable
; then
6255 if test $wxUSE_PROTOCOL = yes; then
6261 result
=$wxUSE_PROTOCOL
6264 { echo "$as_me:$LINENO: result: $result" >&5
6265 echo "${ECHO_T}$result" >&6; }
6269 defaultval
=$wxUSE_ALL_FEATURES
6270 if test -z "$defaultval"; then
6271 if test x
"$enablestring" = xdisable
; then
6278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6280 # Check whether --enable-ftp was given.
6281 if test "${enable_ftp+set}" = set; then
6282 enableval
=$enable_ftp;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
6286 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
6292 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x
; then
6294 eval "DEFAULT_$LINE"
6300 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6305 eval "$wx_cv_use_ftp"
6306 if test "x$cache" = xyes; then
6307 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6310 if test x"$enablestring" = xdisable; then
6311 if test $wxUSE_PROTOCOL_FTP = yes; then
6317 result=$wxUSE_PROTOCOL_FTP
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6325 defaultval=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x"$enablestring" = xdisable; then
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6336 # Check whether --enable-http was given.
6337 if test "${enable_http+set}" = set; then
6338 enableval=$enable_http;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
6342 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
6348 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x ; then
6350 eval "DEFAULT_$LINE"
6356 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6361 eval "$wx_cv_use_http"
6362 if test "x
$cache" = xyes; then
6363 echo "wxUSE_PROTOCOL_HTTP
=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6366 if test x"$enablestring" = xdisable; then
6367 if test $wxUSE_PROTOCOL_HTTP = yes; then
6373 result=$wxUSE_PROTOCOL_HTTP
6376 { echo "$as_me:$LINENO: result
: $result" >&5
6377 echo "${ECHO_T}$result" >&6; }
6381 defaultval=$wxUSE_ALL_FEATURES
6382 if test -z "$defaultval"; then
6383 if test x"$enablestring" = xdisable; then
6390 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
6391 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
6392 # Check whether --enable-fileproto was given.
6393 if test "${enable_fileproto+set}" = set; then
6394 enableval=$enable_fileproto;
6395 if test "$enableval" = yes; then
6396 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6398 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6404 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
6405 if test "x
$LINE" != x ; then
6406 eval "DEFAULT_
$LINE"
6412 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6417 eval "$wx_cv_use_fileproto"
6418 if test "x$cache" = xyes
; then
6419 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6422 if test x
"$enablestring" = xdisable
; then
6423 if test $wxUSE_PROTOCOL_FILE = yes; then
6429 result
=$wxUSE_PROTOCOL_FILE
6432 { echo "$as_me:$LINENO: result: $result" >&5
6433 echo "${ECHO_T}$result" >&6; }
6437 defaultval
=$wxUSE_ALL_FEATURES
6438 if test -z "$defaultval"; then
6439 if test x
"$enablestring" = xdisable
; then
6446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6447 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6448 # Check whether --enable-sockets was given.
6449 if test "${enable_sockets+set}" = set; then
6450 enableval
=$enable_sockets;
6451 if test "$enableval" = yes; then
6452 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
6454 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
6460 LINE
=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x
; then
6462 eval "DEFAULT_$LINE"
6468 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6473 eval "$wx_cv_use_sockets"
6474 if test "x$cache" = xyes; then
6475 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6478 if test x"$enablestring" = xdisable; then
6479 if test $wxUSE_SOCKETS = yes; then
6485 result=$wxUSE_SOCKETS
6488 { echo "$as_me:$LINENO: result: $result" >&5
6489 echo "${ECHO_T}$result" >&6; }
6493 defaultval=$wxUSE_ALL_FEATURES
6494 if test -z "$defaultval"; then
6495 if test x"$enablestring" = xdisable; then
6502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6503 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6504 # Check whether --enable-ole was given.
6505 if test "${enable_ole+set}" = set; then
6506 enableval=$enable_ole;
6507 if test "$enableval" = yes; then
6508 wx_cv_use_ole='wxUSE_OLE
=yes'
6510 wx_cv_use_ole='wxUSE_OLE
=no
'
6516 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x ; then
6518 eval "DEFAULT_$LINE"
6524 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6529 eval "$wx_cv_use_ole"
6530 if test "x
$cache" = xyes; then
6531 echo "wxUSE_OLE
=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6534 if test x"$enablestring" = xdisable; then
6535 if test $wxUSE_OLE = yes; then
6544 { echo "$as_me:$LINENO: result
: $result" >&5
6545 echo "${ECHO_T}$result" >&6; }
6549 defaultval=$wxUSE_ALL_FEATURES
6550 if test -z "$defaultval"; then
6551 if test x"$enablestring" = xdisable; then
6558 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6559 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6560 # Check whether --enable-dataobj was given.
6561 if test "${enable_dataobj+set}" = set; then
6562 enableval=$enable_dataobj;
6563 if test "$enableval" = yes; then
6564 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6566 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6572 LINE=`grep "^wxUSE_DATAOBJ
=" ${wx_arg_cache_file}`
6573 if test "x
$LINE" != x ; then
6574 eval "DEFAULT_
$LINE"
6580 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6585 eval "$wx_cv_use_dataobj"
6586 if test "x$cache" = xyes
; then
6587 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6590 if test x
"$enablestring" = xdisable
; then
6591 if test $wxUSE_DATAOBJ = yes; then
6597 result
=$wxUSE_DATAOBJ
6600 { echo "$as_me:$LINENO: result: $result" >&5
6601 echo "${ECHO_T}$result" >&6; }
6606 defaultval
=$wxUSE_ALL_FEATURES
6607 if test -z "$defaultval"; then
6608 if test x
"$enablestring" = xdisable
; then
6615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6616 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6617 # Check whether --enable-ipc was given.
6618 if test "${enable_ipc+set}" = set; then
6619 enableval
=$enable_ipc;
6620 if test "$enableval" = yes; then
6621 wx_cv_use_ipc
='wxUSE_IPC=yes'
6623 wx_cv_use_ipc
='wxUSE_IPC=no'
6629 LINE
=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6630 if test "x$LINE" != x
; then
6631 eval "DEFAULT_$LINE"
6637 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6642 eval "$wx_cv_use_ipc"
6643 if test "x$cache" = xyes; then
6644 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6647 if test x"$enablestring" = xdisable; then
6648 if test $wxUSE_IPC = yes; then
6657 { echo "$as_me:$LINENO: result: $result" >&5
6658 echo "${ECHO_T}$result" >&6; }
6663 defaultval=$wxUSE_ALL_FEATURES
6664 if test -z "$defaultval"; then
6665 if test x"$enablestring" = xdisable; then
6672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6674 # Check whether --enable-baseevtloop was given.
6675 if test "${enable_baseevtloop+set}" = set; then
6676 enableval=$enable_baseevtloop;
6677 if test "$enableval" = yes; then
6678 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6680 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6686 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x ; then
6688 eval "DEFAULT_$LINE"
6694 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6699 eval "$wx_cv_use_baseevtloop"
6700 if test "x
$cache" = xyes; then
6701 echo "wxUSE_CONSOLE_EVENTLOOP
=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6711 result=$wxUSE_CONSOLE_EVENTLOOP
6714 { echo "$as_me:$LINENO: result
: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6728 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6729 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6730 # Check whether --enable-epollloop was given.
6731 if test "${enable_epollloop+set}" = set; then
6732 enableval=$enable_epollloop;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6736 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6742 LINE=`grep "^wxUSE_EPOLL_DISPATCHER
=" ${wx_arg_cache_file}`
6743 if test "x
$LINE" != x ; then
6744 eval "DEFAULT_
$LINE"
6750 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6755 eval "$wx_cv_use_epollloop"
6756 if test "x$cache" = xyes
; then
6757 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6760 if test x
"$enablestring" = xdisable
; then
6761 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6767 result
=$wxUSE_EPOLL_DISPATCHER
6770 { echo "$as_me:$LINENO: result: $result" >&5
6771 echo "${ECHO_T}$result" >&6; }
6775 defaultval
=$wxUSE_ALL_FEATURES
6776 if test -z "$defaultval"; then
6777 if test x
"$enablestring" = xdisable
; then
6784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6785 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6786 # Check whether --enable-selectloop was given.
6787 if test "${enable_selectloop+set}" = set; then
6788 enableval
=$enable_selectloop;
6789 if test "$enableval" = yes; then
6790 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6792 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6798 LINE
=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6799 if test "x$LINE" != x
; then
6800 eval "DEFAULT_$LINE"
6806 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6811 eval "$wx_cv_use_selectloop"
6812 if test "x$cache" = xyes; then
6813 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6816 if test x"$enablestring" = xdisable; then
6817 if test $wxUSE_SELECT_DISPATCHER = yes; then
6823 result=$wxUSE_SELECT_DISPATCHER
6826 { echo "$as_me:$LINENO: result: $result" >&5
6827 echo "${ECHO_T}$result" >&6; }
6832 defaultval=$wxUSE_ALL_FEATURES
6833 if test -z "$defaultval"; then
6834 if test x"$enablestring" = xdisable; then
6841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6843 # Check whether --enable-apple_ieee was given.
6844 if test "${enable_apple_ieee+set}" = set; then
6845 enableval=$enable_apple_ieee;
6846 if test "$enableval" = yes; then
6847 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6849 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6855 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x ; then
6857 eval "DEFAULT_$LINE"
6863 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6868 eval "$wx_cv_use_apple_ieee"
6869 if test "x
$cache" = xyes; then
6870 echo "wxUSE_APPLE_IEEE
=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6873 if test x"$enablestring" = xdisable; then
6874 if test $wxUSE_APPLE_IEEE = yes; then
6880 result=$wxUSE_APPLE_IEEE
6883 { echo "$as_me:$LINENO: result
: $result" >&5
6884 echo "${ECHO_T}$result" >&6; }
6888 defaultval=$wxUSE_ALL_FEATURES
6889 if test -z "$defaultval"; then
6890 if test x"$enablestring" = xdisable; then
6897 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6898 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6899 # Check whether --enable-arcstream was given.
6900 if test "${enable_arcstream+set}" = set; then
6901 enableval=$enable_arcstream;
6902 if test "$enableval" = yes; then
6903 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6905 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6911 LINE=`grep "^wxUSE_ARCHIVE_STREAMS
=" ${wx_arg_cache_file}`
6912 if test "x
$LINE" != x ; then
6913 eval "DEFAULT_
$LINE"
6919 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6924 eval "$wx_cv_use_arcstream"
6925 if test "x$cache" = xyes
; then
6926 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6929 if test x
"$enablestring" = xdisable
; then
6930 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6936 result
=$wxUSE_ARCHIVE_STREAMS
6939 { echo "$as_me:$LINENO: result: $result" >&5
6940 echo "${ECHO_T}$result" >&6; }
6944 defaultval
=$wxUSE_ALL_FEATURES
6945 if test -z "$defaultval"; then
6946 if test x
"$enablestring" = xdisable
; then
6953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6954 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6955 # Check whether --enable-base64 was given.
6956 if test "${enable_base64+set}" = set; then
6957 enableval
=$enable_base64;
6958 if test "$enableval" = yes; then
6959 wx_cv_use_base64
='wxUSE_BASE64=yes'
6961 wx_cv_use_base64
='wxUSE_BASE64=no'
6967 LINE
=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6968 if test "x$LINE" != x
; then
6969 eval "DEFAULT_$LINE"
6975 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6980 eval "$wx_cv_use_base64"
6981 if test "x$cache" = xyes; then
6982 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6985 if test x"$enablestring" = xdisable; then
6986 if test $wxUSE_BASE64 = yes; then
6992 result=$wxUSE_BASE64
6995 { echo "$as_me:$LINENO: result: $result" >&5
6996 echo "${ECHO_T}$result" >&6; }
7000 defaultval=$wxUSE_ALL_FEATURES
7001 if test -z "$defaultval"; then
7002 if test x"$enablestring" = xdisable; then
7009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7011 # Check whether --enable-backtrace was given.
7012 if test "${enable_backtrace+set}" = set; then
7013 enableval=$enable_backtrace;
7014 if test "$enableval" = yes; then
7015 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7017 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7023 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x ; then
7025 eval "DEFAULT_$LINE"
7031 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7036 eval "$wx_cv_use_backtrace"
7037 if test "x
$cache" = xyes; then
7038 echo "wxUSE_STACKWALKER
=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7041 if test x"$enablestring" = xdisable; then
7042 if test $wxUSE_STACKWALKER = yes; then
7048 result=$wxUSE_STACKWALKER
7051 { echo "$as_me:$LINENO: result
: $result" >&5
7052 echo "${ECHO_T}$result" >&6; }
7056 defaultval=$wxUSE_ALL_FEATURES
7057 if test -z "$defaultval"; then
7058 if test x"$enablestring" = xdisable; then
7065 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
7066 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
7067 # Check whether --enable-catch_segvs was given.
7068 if test "${enable_catch_segvs+set}" = set; then
7069 enableval=$enable_catch_segvs;
7070 if test "$enableval" = yes; then
7071 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7073 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7079 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION
=" ${wx_arg_cache_file}`
7080 if test "x
$LINE" != x ; then
7081 eval "DEFAULT_
$LINE"
7087 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7092 eval "$wx_cv_use_catch_segvs"
7093 if test "x$cache" = xyes
; then
7094 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7097 if test x
"$enablestring" = xdisable
; then
7098 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7104 result
=$wxUSE_ON_FATAL_EXCEPTION
7107 { echo "$as_me:$LINENO: result: $result" >&5
7108 echo "${ECHO_T}$result" >&6; }
7112 defaultval
=$wxUSE_ALL_FEATURES
7113 if test -z "$defaultval"; then
7114 if test x
"$enablestring" = xdisable
; then
7121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7122 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7123 # Check whether --enable-cmdline was given.
7124 if test "${enable_cmdline+set}" = set; then
7125 enableval
=$enable_cmdline;
7126 if test "$enableval" = yes; then
7127 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7129 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7135 LINE
=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7136 if test "x$LINE" != x
; then
7137 eval "DEFAULT_$LINE"
7143 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7148 eval "$wx_cv_use_cmdline"
7149 if test "x$cache" = xyes; then
7150 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7153 if test x"$enablestring" = xdisable; then
7154 if test $wxUSE_CMDLINE_PARSER = yes; then
7160 result=$wxUSE_CMDLINE_PARSER
7163 { echo "$as_me:$LINENO: result: $result" >&5
7164 echo "${ECHO_T}$result" >&6; }
7168 defaultval=$wxUSE_ALL_FEATURES
7169 if test -z "$defaultval"; then
7170 if test x"$enablestring" = xdisable; then
7177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7179 # Check whether --enable-datetime was given.
7180 if test "${enable_datetime+set}" = set; then
7181 enableval=$enable_datetime;
7182 if test "$enableval" = yes; then
7183 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7185 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7191 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7199 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7204 eval "$wx_cv_use_datetime"
7205 if test "x
$cache" = xyes; then
7206 echo "wxUSE_DATETIME
=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7209 if test x"$enablestring" = xdisable; then
7210 if test $wxUSE_DATETIME = yes; then
7216 result=$wxUSE_DATETIME
7219 { echo "$as_me:$LINENO: result
: $result" >&5
7220 echo "${ECHO_T}$result" >&6; }
7224 defaultval=$wxUSE_ALL_FEATURES
7225 if test -z "$defaultval"; then
7226 if test x"$enablestring" = xdisable; then
7233 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
7234 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
7235 # Check whether --enable-debugreport was given.
7236 if test "${enable_debugreport+set}" = set; then
7237 enableval=$enable_debugreport;
7238 if test "$enableval" = yes; then
7239 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7241 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7247 LINE=`grep "^wxUSE_DEBUGREPORT
=" ${wx_arg_cache_file}`
7248 if test "x
$LINE" != x ; then
7249 eval "DEFAULT_
$LINE"
7255 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7260 eval "$wx_cv_use_debugreport"
7261 if test "x$cache" = xyes
; then
7262 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7265 if test x
"$enablestring" = xdisable
; then
7266 if test $wxUSE_DEBUGREPORT = yes; then
7272 result
=$wxUSE_DEBUGREPORT
7275 { echo "$as_me:$LINENO: result: $result" >&5
7276 echo "${ECHO_T}$result" >&6; }
7280 defaultval
=$wxUSE_ALL_FEATURES
7281 if test -z "$defaultval"; then
7282 if test x
"$enablestring" = xdisable
; then
7289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7290 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7291 # Check whether --enable-dialupman was given.
7292 if test "${enable_dialupman+set}" = set; then
7293 enableval
=$enable_dialupman;
7294 if test "$enableval" = yes; then
7295 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
7297 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
7303 LINE
=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x
; then
7305 eval "DEFAULT_$LINE"
7311 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7316 eval "$wx_cv_use_dialupman"
7317 if test "x$cache" = xyes; then
7318 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7321 if test x"$enablestring" = xdisable; then
7322 if test $wxUSE_DIALUP_MANAGER = yes; then
7328 result=$wxUSE_DIALUP_MANAGER
7331 { echo "$as_me:$LINENO: result: $result" >&5
7332 echo "${ECHO_T}$result" >&6; }
7336 defaultval=$wxUSE_ALL_FEATURES
7337 if test -z "$defaultval"; then
7338 if test x"$enablestring" = xdisable; then
7345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7346 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7347 # Check whether --enable-dynlib was given.
7348 if test "${enable_dynlib+set}" = set; then
7349 enableval=$enable_dynlib;
7350 if test "$enableval" = yes; then
7351 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7353 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7359 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7360 if test "x$LINE" != x ; then
7361 eval "DEFAULT_$LINE"
7367 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7372 eval "$wx_cv_use_dynlib"
7373 if test "x
$cache" = xyes; then
7374 echo "wxUSE_DYNLIB_CLASS
=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7377 if test x"$enablestring" = xdisable; then
7378 if test $wxUSE_DYNLIB_CLASS = yes; then
7384 result=$wxUSE_DYNLIB_CLASS
7387 { echo "$as_me:$LINENO: result
: $result" >&5
7388 echo "${ECHO_T}$result" >&6; }
7392 defaultval=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x"$enablestring" = xdisable; then
7401 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7402 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7403 # Check whether --enable-dynamicloader was given.
7404 if test "${enable_dynamicloader+set}" = set; then
7405 enableval=$enable_dynamicloader;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7409 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7415 LINE=`grep "^wxUSE_DYNAMIC_LOADER
=" ${wx_arg_cache_file}`
7416 if test "x
$LINE" != x ; then
7417 eval "DEFAULT_
$LINE"
7423 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7428 eval "$wx_cv_use_dynamicloader"
7429 if test "x$cache" = xyes
; then
7430 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7433 if test x
"$enablestring" = xdisable
; then
7434 if test $wxUSE_DYNAMIC_LOADER = yes; then
7440 result
=$wxUSE_DYNAMIC_LOADER
7443 { echo "$as_me:$LINENO: result: $result" >&5
7444 echo "${ECHO_T}$result" >&6; }
7448 defaultval
=$wxUSE_ALL_FEATURES
7449 if test -z "$defaultval"; then
7450 if test x
"$enablestring" = xdisable
; then
7457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7459 # Check whether --enable-exceptions was given.
7460 if test "${enable_exceptions+set}" = set; then
7461 enableval
=$enable_exceptions;
7462 if test "$enableval" = yes; then
7463 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7465 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7471 LINE
=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x
; then
7473 eval "DEFAULT_$LINE"
7479 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7484 eval "$wx_cv_use_exceptions"
7485 if test "x$cache" = xyes; then
7486 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7489 if test x"$enablestring" = xdisable; then
7490 if test $wxUSE_EXCEPTIONS = yes; then
7496 result=$wxUSE_EXCEPTIONS
7499 { echo "$as_me:$LINENO: result: $result" >&5
7500 echo "${ECHO_T}$result" >&6; }
7504 defaultval=$wxUSE_ALL_FEATURES
7505 if test -z "$defaultval"; then
7506 if test x"$enablestring" = xdisable; then
7513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7515 # Check whether --enable-ffile was given.
7516 if test "${enable_ffile+set}" = set; then
7517 enableval=$enable_ffile;
7518 if test "$enableval" = yes; then
7519 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7521 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7527 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x ; then
7529 eval "DEFAULT_$LINE"
7535 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7540 eval "$wx_cv_use_ffile"
7541 if test "x
$cache" = xyes; then
7542 echo "wxUSE_FFILE
=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7545 if test x"$enablestring" = xdisable; then
7546 if test $wxUSE_FFILE = yes; then
7555 { echo "$as_me:$LINENO: result
: $result" >&5
7556 echo "${ECHO_T}$result" >&6; }
7560 defaultval=$wxUSE_ALL_FEATURES
7561 if test -z "$defaultval"; then
7562 if test x"$enablestring" = xdisable; then
7569 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7570 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7571 # Check whether --enable-file was given.
7572 if test "${enable_file+set}" = set; then
7573 enableval=$enable_file;
7574 if test "$enableval" = yes; then
7575 wx_cv_use_file='wxUSE_FILE=yes'
7577 wx_cv_use_file='wxUSE_FILE=no'
7583 LINE=`grep "^wxUSE_FILE
=" ${wx_arg_cache_file}`
7584 if test "x
$LINE" != x ; then
7585 eval "DEFAULT_
$LINE"
7591 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7596 eval "$wx_cv_use_file"
7597 if test "x$cache" = xyes
; then
7598 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7601 if test x
"$enablestring" = xdisable
; then
7602 if test $wxUSE_FILE = yes; then
7611 { echo "$as_me:$LINENO: result: $result" >&5
7612 echo "${ECHO_T}$result" >&6; }
7616 defaultval
=$wxUSE_ALL_FEATURES
7617 if test -z "$defaultval"; then
7618 if test x
"$enablestring" = xdisable
; then
7625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7627 # Check whether --enable-filesystem was given.
7628 if test "${enable_filesystem+set}" = set; then
7629 enableval
=$enable_filesystem;
7630 if test "$enableval" = yes; then
7631 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
7633 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
7639 LINE
=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x
; then
7641 eval "DEFAULT_$LINE"
7647 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7652 eval "$wx_cv_use_filesystem"
7653 if test "x$cache" = xyes; then
7654 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7657 if test x"$enablestring" = xdisable; then
7658 if test $wxUSE_FILESYSTEM = yes; then
7664 result=$wxUSE_FILESYSTEM
7667 { echo "$as_me:$LINENO: result: $result" >&5
7668 echo "${ECHO_T}$result" >&6; }
7672 defaultval=$wxUSE_ALL_FEATURES
7673 if test -z "$defaultval"; then
7674 if test x"$enablestring" = xdisable; then
7681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7682 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7683 # Check whether --enable-fontenum was given.
7684 if test "${enable_fontenum+set}" = set; then
7685 enableval=$enable_fontenum;
7686 if test "$enableval" = yes; then
7687 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
7689 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
7695 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7696 if test "x$LINE" != x ; then
7697 eval "DEFAULT_$LINE"
7703 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7708 eval "$wx_cv_use_fontenum"
7709 if test "x
$cache" = xyes; then
7710 echo "wxUSE_FONTENUM
=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7713 if test x"$enablestring" = xdisable; then
7714 if test $wxUSE_FONTENUM = yes; then
7720 result=$wxUSE_FONTENUM
7723 { echo "$as_me:$LINENO: result
: $result" >&5
7724 echo "${ECHO_T}$result" >&6; }
7728 defaultval=$wxUSE_ALL_FEATURES
7729 if test -z "$defaultval"; then
7730 if test x"$enablestring" = xdisable; then
7737 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7738 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7739 # Check whether --enable-fontmap was given.
7740 if test "${enable_fontmap+set}" = set; then
7741 enableval=$enable_fontmap;
7742 if test "$enableval" = yes; then
7743 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7745 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7751 LINE=`grep "^wxUSE_FONTMAP
=" ${wx_arg_cache_file}`
7752 if test "x
$LINE" != x ; then
7753 eval "DEFAULT_
$LINE"
7759 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7764 eval "$wx_cv_use_fontmap"
7765 if test "x$cache" = xyes
; then
7766 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7769 if test x
"$enablestring" = xdisable
; then
7770 if test $wxUSE_FONTMAP = yes; then
7776 result
=$wxUSE_FONTMAP
7779 { echo "$as_me:$LINENO: result: $result" >&5
7780 echo "${ECHO_T}$result" >&6; }
7784 defaultval
=$wxUSE_ALL_FEATURES
7785 if test -z "$defaultval"; then
7786 if test x
"$enablestring" = xdisable
; then
7793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7794 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7795 # Check whether --enable-fs_archive was given.
7796 if test "${enable_fs_archive+set}" = set; then
7797 enableval
=$enable_fs_archive;
7798 if test "$enableval" = yes; then
7799 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7801 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7807 LINE
=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x
; then
7809 eval "DEFAULT_$LINE"
7815 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7820 eval "$wx_cv_use_fs_archive"
7821 if test "x$cache" = xyes; then
7822 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7825 if test x"$enablestring" = xdisable; then
7826 if test $wxUSE_FS_ARCHIVE = yes; then
7832 result=$wxUSE_FS_ARCHIVE
7835 { echo "$as_me:$LINENO: result: $result" >&5
7836 echo "${ECHO_T}$result" >&6; }
7840 defaultval=$wxUSE_ALL_FEATURES
7841 if test -z "$defaultval"; then
7842 if test x"$enablestring" = xdisable; then
7849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7851 # Check whether --enable-fs_inet was given.
7852 if test "${enable_fs_inet+set}" = set; then
7853 enableval=$enable_fs_inet;
7854 if test "$enableval" = yes; then
7855 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7857 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7863 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x ; then
7865 eval "DEFAULT_$LINE"
7871 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7876 eval "$wx_cv_use_fs_inet"
7877 if test "x
$cache" = xyes; then
7878 echo "wxUSE_FS_INET
=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7881 if test x"$enablestring" = xdisable; then
7882 if test $wxUSE_FS_INET = yes; then
7888 result=$wxUSE_FS_INET
7891 { echo "$as_me:$LINENO: result
: $result" >&5
7892 echo "${ECHO_T}$result" >&6; }
7896 defaultval=$wxUSE_ALL_FEATURES
7897 if test -z "$defaultval"; then
7898 if test x"$enablestring" = xdisable; then
7905 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7906 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7907 # Check whether --enable-fs_zip was given.
7908 if test "${enable_fs_zip+set}" = set; then
7909 enableval=$enable_fs_zip;
7910 if test "$enableval" = yes; then
7911 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7913 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7919 LINE=`grep "^wxUSE_FS_ZIP
=" ${wx_arg_cache_file}`
7920 if test "x
$LINE" != x ; then
7921 eval "DEFAULT_
$LINE"
7927 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7932 eval "$wx_cv_use_fs_zip"
7933 if test "x$cache" = xyes
; then
7934 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7937 if test x
"$enablestring" = xdisable
; then
7938 if test $wxUSE_FS_ZIP = yes; then
7944 result
=$wxUSE_FS_ZIP
7947 { echo "$as_me:$LINENO: result: $result" >&5
7948 echo "${ECHO_T}$result" >&6; }
7952 defaultval
=$wxUSE_ALL_FEATURES
7953 if test -z "$defaultval"; then
7954 if test x
"$enablestring" = xdisable
; then
7961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7963 # Check whether --enable-geometry was given.
7964 if test "${enable_geometry+set}" = set; then
7965 enableval
=$enable_geometry;
7966 if test "$enableval" = yes; then
7967 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7969 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7975 LINE
=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x
; then
7977 eval "DEFAULT_$LINE"
7983 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7988 eval "$wx_cv_use_geometry"
7989 if test "x$cache" = xyes; then
7990 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7993 if test x"$enablestring" = xdisable; then
7994 if test $wxUSE_GEOMETRY = yes; then
8000 result=$wxUSE_GEOMETRY
8003 { echo "$as_me:$LINENO: result: $result" >&5
8004 echo "${ECHO_T}$result" >&6; }
8008 defaultval=$wxUSE_ALL_FEATURES
8009 if test -z "$defaultval"; then
8010 if test x"$enablestring" = xdisable; then
8017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8019 # Check whether --enable-log was given.
8020 if test "${enable_log+set}" = set; then
8021 enableval=$enable_log;
8022 if test "$enableval" = yes; then
8023 wx_cv_use_log='wxUSE_LOG
=yes'
8025 wx_cv_use_log='wxUSE_LOG
=no
'
8031 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8032 if test "x$LINE" != x ; then
8033 eval "DEFAULT_$LINE"
8039 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8044 eval "$wx_cv_use_log"
8045 if test "x
$cache" = xyes; then
8046 echo "wxUSE_LOG
=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8049 if test x"$enablestring" = xdisable; then
8050 if test $wxUSE_LOG = yes; then
8059 { echo "$as_me:$LINENO: result
: $result" >&5
8060 echo "${ECHO_T}$result" >&6; }
8064 defaultval=$wxUSE_ALL_FEATURES
8065 if test -z "$defaultval"; then
8066 if test x"$enablestring" = xdisable; then
8073 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
8074 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
8075 # Check whether --enable-longlong was given.
8076 if test "${enable_longlong+set}" = set; then
8077 enableval=$enable_longlong;
8078 if test "$enableval" = yes; then
8079 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8081 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8087 LINE=`grep "^wxUSE_LONGLONG
=" ${wx_arg_cache_file}`
8088 if test "x
$LINE" != x ; then
8089 eval "DEFAULT_
$LINE"
8095 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8100 eval "$wx_cv_use_longlong"
8101 if test "x$cache" = xyes
; then
8102 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8105 if test x
"$enablestring" = xdisable
; then
8106 if test $wxUSE_LONGLONG = yes; then
8112 result
=$wxUSE_LONGLONG
8115 { echo "$as_me:$LINENO: result: $result" >&5
8116 echo "${ECHO_T}$result" >&6; }
8120 defaultval
=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x
"$enablestring" = xdisable
; then
8129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8130 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8131 # Check whether --enable-mimetype was given.
8132 if test "${enable_mimetype+set}" = set; then
8133 enableval
=$enable_mimetype;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8137 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8143 LINE
=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x
; then
8145 eval "DEFAULT_$LINE"
8151 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8156 eval "$wx_cv_use_mimetype"
8157 if test "x$cache" = xyes; then
8158 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8161 if test x"$enablestring" = xdisable; then
8162 if test $wxUSE_MIMETYPE = yes; then
8168 result=$wxUSE_MIMETYPE
8171 { echo "$as_me:$LINENO: result: $result" >&5
8172 echo "${ECHO_T}$result" >&6; }
8176 defaultval=$wxUSE_ALL_FEATURES
8177 if test -z "$defaultval"; then
8178 if test x"$enablestring" = xdisable; then
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8187 # Check whether --enable-snglinst was given.
8188 if test "${enable_snglinst+set}" = set; then
8189 enableval=$enable_snglinst;
8190 if test "$enableval" = yes; then
8191 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8193 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8199 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x ; then
8201 eval "DEFAULT_$LINE"
8207 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8212 eval "$wx_cv_use_snglinst"
8213 if test "x
$cache" = xyes; then
8214 echo "wxUSE_SNGLINST_CHECKER
=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8217 if test x"$enablestring" = xdisable; then
8218 if test $wxUSE_SNGLINST_CHECKER = yes; then
8224 result=$wxUSE_SNGLINST_CHECKER
8227 { echo "$as_me:$LINENO: result
: $result" >&5
8228 echo "${ECHO_T}$result" >&6; }
8232 defaultval=$wxUSE_ALL_FEATURES
8233 if test -z "$defaultval"; then
8234 if test x"$enablestring" = xdisable; then
8241 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
8242 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
8243 # Check whether --enable-stdpaths was given.
8244 if test "${enable_stdpaths+set}" = set; then
8245 enableval=$enable_stdpaths;
8246 if test "$enableval" = yes; then
8247 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8249 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8255 LINE=`grep "^wxUSE_STDPATHS
=" ${wx_arg_cache_file}`
8256 if test "x
$LINE" != x ; then
8257 eval "DEFAULT_
$LINE"
8263 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8268 eval "$wx_cv_use_stdpaths"
8269 if test "x$cache" = xyes
; then
8270 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8273 if test x
"$enablestring" = xdisable
; then
8274 if test $wxUSE_STDPATHS = yes; then
8280 result
=$wxUSE_STDPATHS
8283 { echo "$as_me:$LINENO: result: $result" >&5
8284 echo "${ECHO_T}$result" >&6; }
8288 defaultval
=$wxUSE_ALL_FEATURES
8289 if test -z "$defaultval"; then
8290 if test x
"$enablestring" = xdisable
; then
8297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8298 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8299 # Check whether --enable-stopwatch was given.
8300 if test "${enable_stopwatch+set}" = set; then
8301 enableval
=$enable_stopwatch;
8302 if test "$enableval" = yes; then
8303 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
8305 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
8311 LINE
=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x
; then
8313 eval "DEFAULT_$LINE"
8319 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8324 eval "$wx_cv_use_stopwatch"
8325 if test "x$cache" = xyes; then
8326 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8329 if test x"$enablestring" = xdisable; then
8330 if test $wxUSE_STOPWATCH = yes; then
8336 result=$wxUSE_STOPWATCH
8339 { echo "$as_me:$LINENO: result: $result" >&5
8340 echo "${ECHO_T}$result" >&6; }
8344 defaultval=$wxUSE_ALL_FEATURES
8345 if test -z "$defaultval"; then
8346 if test x"$enablestring" = xdisable; then
8353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8354 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8355 # Check whether --enable-streams was given.
8356 if test "${enable_streams+set}" = set; then
8357 enableval=$enable_streams;
8358 if test "$enableval" = yes; then
8359 wx_cv_use_streams='wxUSE_STREAMS
=yes'
8361 wx_cv_use_streams='wxUSE_STREAMS
=no
'
8367 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8368 if test "x$LINE" != x ; then
8369 eval "DEFAULT_$LINE"
8375 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8380 eval "$wx_cv_use_streams"
8381 if test "x
$cache" = xyes; then
8382 echo "wxUSE_STREAMS
=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8385 if test x"$enablestring" = xdisable; then
8386 if test $wxUSE_STREAMS = yes; then
8392 result=$wxUSE_STREAMS
8395 { echo "$as_me:$LINENO: result
: $result" >&5
8396 echo "${ECHO_T}$result" >&6; }
8400 defaultval=$wxUSE_ALL_FEATURES
8401 if test -z "$defaultval"; then
8402 if test x"$enablestring" = xdisable; then
8409 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
8410 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
8411 # Check whether --enable-system_options was given.
8412 if test "${enable_system_options+set}" = set; then
8413 enableval=$enable_system_options;
8414 if test "$enableval" = yes; then
8415 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8417 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8423 LINE=`grep "^wxUSE_SYSTEM_OPTIONS
=" ${wx_arg_cache_file}`
8424 if test "x
$LINE" != x ; then
8425 eval "DEFAULT_
$LINE"
8431 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8436 eval "$wx_cv_use_system_options"
8437 if test "x$cache" = xyes
; then
8438 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8441 if test x
"$enablestring" = xdisable
; then
8442 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8448 result
=$wxUSE_SYSTEM_OPTIONS
8451 { echo "$as_me:$LINENO: result: $result" >&5
8452 echo "${ECHO_T}$result" >&6; }
8456 defaultval
=$wxUSE_ALL_FEATURES
8457 if test -z "$defaultval"; then
8458 if test x
"$enablestring" = xdisable
; then
8465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8467 # Check whether --enable-tarstream was given.
8468 if test "${enable_tarstream+set}" = set; then
8469 enableval
=$enable_tarstream;
8470 if test "$enableval" = yes; then
8471 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
8473 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
8479 LINE
=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8480 if test "x$LINE" != x
; then
8481 eval "DEFAULT_$LINE"
8487 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8492 eval "$wx_cv_use_tarstream"
8493 if test "x$cache" = xyes; then
8494 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8497 if test x"$enablestring" = xdisable; then
8498 if test $wxUSE_TARSTREAM = yes; then
8504 result=$wxUSE_TARSTREAM
8507 { echo "$as_me:$LINENO: result: $result" >&5
8508 echo "${ECHO_T}$result" >&6; }
8512 defaultval=$wxUSE_ALL_FEATURES
8513 if test -z "$defaultval"; then
8514 if test x"$enablestring" = xdisable; then
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8523 # Check whether --enable-textbuf was given.
8524 if test "${enable_textbuf+set}" = set; then
8525 enableval=$enable_textbuf;
8526 if test "$enableval" = yes; then
8527 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
8529 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
8535 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8536 if test "x$LINE" != x ; then
8537 eval "DEFAULT_$LINE"
8543 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8548 eval "$wx_cv_use_textbuf"
8549 if test "x
$cache" = xyes; then
8550 echo "wxUSE_TEXTBUFFER
=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8553 if test x"$enablestring" = xdisable; then
8554 if test $wxUSE_TEXTBUFFER = yes; then
8560 result=$wxUSE_TEXTBUFFER
8563 { echo "$as_me:$LINENO: result
: $result" >&5
8564 echo "${ECHO_T}$result" >&6; }
8568 defaultval=$wxUSE_ALL_FEATURES
8569 if test -z "$defaultval"; then
8570 if test x"$enablestring" = xdisable; then
8577 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
8578 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
8579 # Check whether --enable-textfile was given.
8580 if test "${enable_textfile+set}" = set; then
8581 enableval=$enable_textfile;
8582 if test "$enableval" = yes; then
8583 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8585 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8591 LINE=`grep "^wxUSE_TEXTFILE
=" ${wx_arg_cache_file}`
8592 if test "x
$LINE" != x ; then
8593 eval "DEFAULT_
$LINE"
8599 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8604 eval "$wx_cv_use_textfile"
8605 if test "x$cache" = xyes
; then
8606 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8609 if test x
"$enablestring" = xdisable
; then
8610 if test $wxUSE_TEXTFILE = yes; then
8616 result
=$wxUSE_TEXTFILE
8619 { echo "$as_me:$LINENO: result: $result" >&5
8620 echo "${ECHO_T}$result" >&6; }
8624 defaultval
=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x
"$enablestring" = xdisable
; then
8633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8635 # Check whether --enable-timer was given.
8636 if test "${enable_timer+set}" = set; then
8637 enableval
=$enable_timer;
8638 if test "$enableval" = yes; then
8639 wx_cv_use_timer
='wxUSE_TIMER=yes'
8641 wx_cv_use_timer
='wxUSE_TIMER=no'
8647 LINE
=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x
; then
8649 eval "DEFAULT_$LINE"
8655 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8660 eval "$wx_cv_use_timer"
8661 if test "x$cache" = xyes; then
8662 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8665 if test x"$enablestring" = xdisable; then
8666 if test $wxUSE_TIMER = yes; then
8675 { echo "$as_me:$LINENO: result: $result" >&5
8676 echo "${ECHO_T}$result" >&6; }
8680 defaultval=$wxUSE_ALL_FEATURES
8681 if test -z "$defaultval"; then
8682 if test x"$enablestring" = xdisable; then
8689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8691 # Check whether --enable-sound was given.
8692 if test "${enable_sound+set}" = set; then
8693 enableval=$enable_sound;
8694 if test "$enableval" = yes; then
8695 wx_cv_use_sound='wxUSE_SOUND
=yes'
8697 wx_cv_use_sound='wxUSE_SOUND
=no
'
8703 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8704 if test "x$LINE" != x ; then
8705 eval "DEFAULT_$LINE"
8711 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8716 eval "$wx_cv_use_sound"
8717 if test "x
$cache" = xyes; then
8718 echo "wxUSE_SOUND
=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8721 if test x"$enablestring" = xdisable; then
8722 if test $wxUSE_SOUND = yes; then
8731 { echo "$as_me:$LINENO: result
: $result" >&5
8732 echo "${ECHO_T}$result" >&6; }
8736 defaultval=$wxUSE_ALL_FEATURES
8737 if test -z "$defaultval"; then
8738 if test x"$enablestring" = xdisable; then
8745 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8746 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8747 # Check whether --enable-mediactrl was given.
8748 if test "${enable_mediactrl+set}" = set; then
8749 enableval=$enable_mediactrl;
8750 if test "$enableval" = yes; then
8751 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8753 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8759 LINE=`grep "^wxUSE_MEDIACTRL
=" ${wx_arg_cache_file}`
8760 if test "x
$LINE" != x ; then
8761 eval "DEFAULT_
$LINE"
8767 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8772 eval "$wx_cv_use_mediactrl"
8773 if test "x$cache" = xyes
; then
8774 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8777 if test x
"$enablestring" = xdisable
; then
8778 if test $wxUSE_MEDIACTRL = yes; then
8784 result
=$wxUSE_MEDIACTRL
8787 { echo "$as_me:$LINENO: result: $result" >&5
8788 echo "${ECHO_T}$result" >&6; }
8792 defaultval
=$wxUSE_ALL_FEATURES
8793 if test -z "$defaultval"; then
8794 if test x
"$enablestring" = xdisable
; then
8801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8802 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8803 # Check whether --enable-gstreamer8 was given.
8804 if test "${enable_gstreamer8+set}" = set; then
8805 enableval
=$enable_gstreamer8;
8806 if test "$enableval" = yes; then
8807 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
8809 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
8815 LINE
=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8816 if test "x$LINE" != x
; then
8817 eval "DEFAULT_$LINE"
8823 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8828 eval "$wx_cv_use_gstreamer8"
8829 if test "x$cache" = xyes; then
8830 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8833 if test x"$enablestring" = xdisable; then
8834 if test $wxUSE_GSTREAMER8 = yes; then
8840 result=$wxUSE_GSTREAMER8
8843 { echo "$as_me:$LINENO: result: $result" >&5
8844 echo "${ECHO_T}$result" >&6; }
8848 defaultval=$wxUSE_ALL_FEATURES
8849 if test -z "$defaultval"; then
8850 if test x"$enablestring" = xdisable; then
8857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8859 # Check whether --enable-printfposparam was given.
8860 if test "${enable_printfposparam+set}" = set; then
8861 enableval=$enable_printfposparam;
8862 if test "$enableval" = yes; then
8863 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8865 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8871 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x ; then
8873 eval "DEFAULT_$LINE"
8879 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8884 eval "$wx_cv_use_printfposparam"
8885 if test "x
$cache" = xyes; then
8886 echo "wxUSE_PRINTF_POS_PARAMS
=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8889 if test x"$enablestring" = xdisable; then
8890 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8896 result=$wxUSE_PRINTF_POS_PARAMS
8899 { echo "$as_me:$LINENO: result
: $result" >&5
8900 echo "${ECHO_T}$result" >&6; }
8904 defaultval=$wxUSE_ALL_FEATURES
8905 if test -z "$defaultval"; then
8906 if test x"$enablestring" = xdisable; then
8913 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
8914 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
8915 # Check whether --enable-zipstream was given.
8916 if test "${enable_zipstream+set}" = set; then
8917 enableval=$enable_zipstream;
8918 if test "$enableval" = yes; then
8919 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8921 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8927 LINE=`grep "^wxUSE_ZIPSTREAM
=" ${wx_arg_cache_file}`
8928 if test "x
$LINE" != x ; then
8929 eval "DEFAULT_
$LINE"
8935 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8940 eval "$wx_cv_use_zipstream"
8941 if test "x$cache" = xyes
; then
8942 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8945 if test x
"$enablestring" = xdisable
; then
8946 if test $wxUSE_ZIPSTREAM = yes; then
8952 result
=$wxUSE_ZIPSTREAM
8955 { echo "$as_me:$LINENO: result: $result" >&5
8956 echo "${ECHO_T}$result" >&6; }
8961 defaultval
=$wxUSE_ALL_FEATURES
8962 if test -z "$defaultval"; then
8963 if test x
"$enablestring" = xdisable
; then
8970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8971 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8972 # Check whether --enable-url was given.
8973 if test "${enable_url+set}" = set; then
8974 enableval
=$enable_url;
8975 if test "$enableval" = yes; then
8976 wx_cv_use_url
='wxUSE_URL=yes'
8978 wx_cv_use_url
='wxUSE_URL=no'
8984 LINE
=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8985 if test "x$LINE" != x
; then
8986 eval "DEFAULT_$LINE"
8992 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8997 eval "$wx_cv_use_url"
8998 if test "x$cache" = xyes; then
8999 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9002 if test x"$enablestring" = xdisable; then
9003 if test $wxUSE_URL = yes; then
9012 { echo "$as_me:$LINENO: result: $result" >&5
9013 echo "${ECHO_T}$result" >&6; }
9017 defaultval=$wxUSE_ALL_FEATURES
9018 if test -z "$defaultval"; then
9019 if test x"$enablestring" = xdisable; then
9026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9028 # Check whether --enable-variant was given.
9029 if test "${enable_variant+set}" = set; then
9030 enableval=$enable_variant;
9031 if test "$enableval" = yes; then
9032 wx_cv_use_variant='wxUSE_VARIANT
=yes'
9034 wx_cv_use_variant='wxUSE_VARIANT
=no
'
9040 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9048 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9053 eval "$wx_cv_use_variant"
9054 if test "x
$cache" = xyes; then
9055 echo "wxUSE_VARIANT
=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9058 if test x"$enablestring" = xdisable; then
9059 if test $wxUSE_VARIANT = yes; then
9065 result=$wxUSE_VARIANT
9068 { echo "$as_me:$LINENO: result
: $result" >&5
9069 echo "${ECHO_T}$result" >&6; }
9073 defaultval=$wxUSE_ALL_FEATURES
9074 if test -z "$defaultval"; then
9075 if test x"$enablestring" = xdisable; then
9082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
9083 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
9084 # Check whether --enable-protocol was given.
9085 if test "${enable_protocol+set}" = set; then
9086 enableval=$enable_protocol;
9087 if test "$enableval" = yes; then
9088 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9090 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9096 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
9097 if test "x
$LINE" != x ; then
9098 eval "DEFAULT_
$LINE"
9104 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9109 eval "$wx_cv_use_protocol"
9110 if test "x$cache" = xyes
; then
9111 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9114 if test x
"$enablestring" = xdisable
; then
9115 if test $wxUSE_PROTOCOL = yes; then
9121 result
=$wxUSE_PROTOCOL
9124 { echo "$as_me:$LINENO: result: $result" >&5
9125 echo "${ECHO_T}$result" >&6; }
9129 defaultval
=$wxUSE_ALL_FEATURES
9130 if test -z "$defaultval"; then
9131 if test x
"$enablestring" = xdisable
; then
9138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9139 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9140 # Check whether --enable-protocol_http was given.
9141 if test "${enable_protocol_http+set}" = set; then
9142 enableval
=$enable_protocol_http;
9143 if test "$enableval" = yes; then
9144 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9146 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9152 LINE
=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x
; then
9154 eval "DEFAULT_$LINE"
9160 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9165 eval "$wx_cv_use_protocol_http"
9166 if test "x$cache" = xyes; then
9167 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9170 if test x"$enablestring" = xdisable; then
9171 if test $wxUSE_PROTOCOL_HTTP = yes; then
9177 result=$wxUSE_PROTOCOL_HTTP
9180 { echo "$as_me:$LINENO: result: $result" >&5
9181 echo "${ECHO_T}$result" >&6; }
9185 defaultval=$wxUSE_ALL_FEATURES
9186 if test -z "$defaultval"; then
9187 if test x"$enablestring" = xdisable; then
9194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9195 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9196 # Check whether --enable-protocol_ftp was given.
9197 if test "${enable_protocol_ftp+set}" = set; then
9198 enableval=$enable_protocol_ftp;
9199 if test "$enableval" = yes; then
9200 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9202 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9208 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9209 if test "x$LINE" != x ; then
9210 eval "DEFAULT_$LINE"
9216 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9221 eval "$wx_cv_use_protocol_ftp"
9222 if test "x
$cache" = xyes; then
9223 echo "wxUSE_PROTOCOL_FTP
=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9226 if test x"$enablestring" = xdisable; then
9227 if test $wxUSE_PROTOCOL_FTP = yes; then
9233 result=$wxUSE_PROTOCOL_FTP
9236 { echo "$as_me:$LINENO: result
: $result" >&5
9237 echo "${ECHO_T}$result" >&6; }
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
9251 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
9252 # Check whether --enable-protocol_file was given.
9253 if test "${enable_protocol_file+set}" = set; then
9254 enableval=$enable_protocol_file;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9258 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9264 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
9265 if test "x
$LINE" != x ; then
9266 eval "DEFAULT_
$LINE"
9272 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9277 eval "$wx_cv_use_protocol_file"
9278 if test "x$cache" = xyes
; then
9279 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9282 if test x
"$enablestring" = xdisable
; then
9283 if test $wxUSE_PROTOCOL_FILE = yes; then
9289 result
=$wxUSE_PROTOCOL_FILE
9292 { echo "$as_me:$LINENO: result: $result" >&5
9293 echo "${ECHO_T}$result" >&6; }
9298 defaultval
=$wxUSE_ALL_FEATURES
9299 if test -z "$defaultval"; then
9300 if test x
"$enablestring" = xdisable
; then
9307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9308 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9309 # Check whether --enable-threads was given.
9310 if test "${enable_threads+set}" = set; then
9311 enableval
=$enable_threads;
9312 if test "$enableval" = yes; then
9313 wx_cv_use_threads
='wxUSE_THREADS=yes'
9315 wx_cv_use_threads
='wxUSE_THREADS=no'
9321 LINE
=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x
; then
9323 eval "DEFAULT_$LINE"
9329 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9334 eval "$wx_cv_use_threads"
9335 if test "x$cache" = xyes; then
9336 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9339 if test x"$enablestring" = xdisable; then
9340 if test $wxUSE_THREADS = yes; then
9346 result=$wxUSE_THREADS
9349 { echo "$as_me:$LINENO: result: $result" >&5
9350 echo "${ECHO_T}$result" >&6; }
9356 if test -z "$defaultval"; then
9357 if test x"$enablestring" = xdisable; then
9364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9365 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9366 # Check whether --enable-iniconf was given.
9367 if test "${enable_iniconf+set}" = set; then
9368 enableval=$enable_iniconf;
9369 if test "$enableval" = yes; then
9370 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9372 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9378 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9379 if test "x$LINE" != x ; then
9380 eval "DEFAULT_$LINE"
9386 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9391 eval "$wx_cv_use_iniconf"
9392 if test "x
$cache" = xyes; then
9393 echo "wxUSE_INICONF
=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9396 if test x"$enablestring" = xdisable; then
9397 if test $wxUSE_INICONF = yes; then
9403 result=$wxUSE_INICONF
9406 { echo "$as_me:$LINENO: result
: $result" >&5
9407 echo "${ECHO_T}$result" >&6; }
9411 defaultval=$wxUSE_ALL_FEATURES
9412 if test -z "$defaultval"; then
9413 if test x"$enablestring" = xdisable; then
9420 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
9421 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
9422 # Check whether --enable-regkey was given.
9423 if test "${enable_regkey+set}" = set; then
9424 enableval=$enable_regkey;
9425 if test "$enableval" = yes; then
9426 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9428 wx_cv_use_regkey='wxUSE_REGKEY=no'
9434 LINE=`grep "^wxUSE_REGKEY
=" ${wx_arg_cache_file}`
9435 if test "x
$LINE" != x ; then
9436 eval "DEFAULT_
$LINE"
9442 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9447 eval "$wx_cv_use_regkey"
9448 if test "x$cache" = xyes
; then
9449 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9452 if test x
"$enablestring" = xdisable
; then
9453 if test $wxUSE_REGKEY = yes; then
9459 result
=$wxUSE_REGKEY
9462 { echo "$as_me:$LINENO: result: $result" >&5
9463 echo "${ECHO_T}$result" >&6; }
9466 if test "$wxUSE_GUI" = "yes"; then
9471 defaultval
=$wxUSE_ALL_FEATURES
9472 if test -z "$defaultval"; then
9473 if test x
"$enablestring" = xdisable
; then
9480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9481 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9482 # Check whether --enable-docview was given.
9483 if test "${enable_docview+set}" = set; then
9484 enableval
=$enable_docview;
9485 if test "$enableval" = yes; then
9486 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9488 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9494 LINE
=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x
; then
9496 eval "DEFAULT_$LINE"
9502 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9507 eval "$wx_cv_use_docview"
9508 if test "x$cache" = xyes; then
9509 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9512 if test x"$enablestring" = xdisable; then
9513 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9519 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9522 { echo "$as_me:$LINENO: result: $result" >&5
9523 echo "${ECHO_T}$result" >&6; }
9527 defaultval=$wxUSE_ALL_FEATURES
9528 if test -z "$defaultval"; then
9529 if test x"$enablestring" = xdisable; then
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9538 # Check whether --enable-help was given.
9539 if test "${enable_help+set}" = set; then
9540 enableval=$enable_help;
9541 if test "$enableval" = yes; then
9542 wx_cv_use_help='wxUSE_HELP
=yes'
9544 wx_cv_use_help='wxUSE_HELP
=no
'
9550 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9551 if test "x$LINE" != x ; then
9552 eval "DEFAULT_$LINE"
9558 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9563 eval "$wx_cv_use_help"
9564 if test "x
$cache" = xyes; then
9565 echo "wxUSE_HELP
=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9568 if test x"$enablestring" = xdisable; then
9569 if test $wxUSE_HELP = yes; then
9578 { echo "$as_me:$LINENO: result
: $result" >&5
9579 echo "${ECHO_T}$result" >&6; }
9583 defaultval=$wxUSE_ALL_FEATURES
9584 if test -z "$defaultval"; then
9585 if test x"$enablestring" = xdisable; then
9592 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9593 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
9594 # Check whether --enable-mshtmlhelp was given.
9595 if test "${enable_mshtmlhelp+set}" = set; then
9596 enableval=$enable_mshtmlhelp;
9597 if test "$enableval" = yes; then
9598 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9600 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9606 LINE=`grep "^wxUSE_MS_HTML_HELP
=" ${wx_arg_cache_file}`
9607 if test "x
$LINE" != x ; then
9608 eval "DEFAULT_
$LINE"
9614 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9619 eval "$wx_cv_use_mshtmlhelp"
9620 if test "x$cache" = xyes
; then
9621 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9624 if test x
"$enablestring" = xdisable
; then
9625 if test $wxUSE_MS_HTML_HELP = yes; then
9631 result
=$wxUSE_MS_HTML_HELP
9634 { echo "$as_me:$LINENO: result: $result" >&5
9635 echo "${ECHO_T}$result" >&6; }
9639 defaultval
=$wxUSE_ALL_FEATURES
9640 if test -z "$defaultval"; then
9641 if test x
"$enablestring" = xdisable
; then
9648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9650 # Check whether --enable-html was given.
9651 if test "${enable_html+set}" = set; then
9652 enableval
=$enable_html;
9653 if test "$enableval" = yes; then
9654 wx_cv_use_html
='wxUSE_HTML=yes'
9656 wx_cv_use_html
='wxUSE_HTML=no'
9662 LINE
=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9663 if test "x$LINE" != x
; then
9664 eval "DEFAULT_$LINE"
9670 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9675 eval "$wx_cv_use_html"
9676 if test "x$cache" = xyes; then
9677 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9680 if test x"$enablestring" = xdisable; then
9681 if test $wxUSE_HTML = yes; then
9690 { echo "$as_me:$LINENO: result: $result" >&5
9691 echo "${ECHO_T}$result" >&6; }
9695 defaultval=$wxUSE_ALL_FEATURES
9696 if test -z "$defaultval"; then
9697 if test x"$enablestring" = xdisable; then
9704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9705 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9706 # Check whether --enable-htmlhelp was given.
9707 if test "${enable_htmlhelp+set}" = set; then
9708 enableval=$enable_htmlhelp;
9709 if test "$enableval" = yes; then
9710 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9712 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9718 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9719 if test "x$LINE" != x ; then
9720 eval "DEFAULT_$LINE"
9726 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9731 eval "$wx_cv_use_htmlhelp"
9732 if test "x
$cache" = xyes; then
9733 echo "wxUSE_WXHTML_HELP
=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9736 if test x"$enablestring" = xdisable; then
9737 if test $wxUSE_WXHTML_HELP = yes; then
9743 result=$wxUSE_WXHTML_HELP
9746 { echo "$as_me:$LINENO: result
: $result" >&5
9747 echo "${ECHO_T}$result" >&6; }
9751 defaultval=$wxUSE_ALL_FEATURES
9752 if test -z "$defaultval"; then
9753 if test x"$enablestring" = xdisable; then
9760 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
9761 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
9762 # Check whether --enable-xrc was given.
9763 if test "${enable_xrc+set}" = set; then
9764 enableval=$enable_xrc;
9765 if test "$enableval" = yes; then
9766 wx_cv_use_xrc='wxUSE_XRC=yes'
9768 wx_cv_use_xrc='wxUSE_XRC=no'
9774 LINE=`grep "^wxUSE_XRC
=" ${wx_arg_cache_file}`
9775 if test "x
$LINE" != x ; then
9776 eval "DEFAULT_
$LINE"
9782 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9787 eval "$wx_cv_use_xrc"
9788 if test "x$cache" = xyes
; then
9789 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9792 if test x
"$enablestring" = xdisable
; then
9793 if test $wxUSE_XRC = yes; then
9802 { echo "$as_me:$LINENO: result: $result" >&5
9803 echo "${ECHO_T}$result" >&6; }
9807 defaultval
=$wxUSE_ALL_FEATURES
9808 if test -z "$defaultval"; then
9809 if test x
"$enablestring" = xdisable
; then
9816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9817 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9818 # Check whether --enable-aui was given.
9819 if test "${enable_aui+set}" = set; then
9820 enableval
=$enable_aui;
9821 if test "$enableval" = yes; then
9822 wx_cv_use_aui
='wxUSE_AUI=yes'
9824 wx_cv_use_aui
='wxUSE_AUI=no'
9830 LINE
=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9831 if test "x$LINE" != x
; then
9832 eval "DEFAULT_$LINE"
9838 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9843 eval "$wx_cv_use_aui"
9844 if test "x$cache" = xyes; then
9845 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9848 if test x"$enablestring" = xdisable; then
9849 if test $wxUSE_AUI = yes; then
9858 { echo "$as_me:$LINENO: result: $result" >&5
9859 echo "${ECHO_T}$result" >&6; }
9863 defaultval=$wxUSE_ALL_FEATURES
9864 if test -z "$defaultval"; then
9865 if test x"$enablestring" = xdisable; then
9872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9874 # Check whether --enable-stc was given.
9875 if test "${enable_stc+set}" = set; then
9876 enableval=$enable_stc;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_stc='wxUSE_STC
=yes'
9880 wx_cv_use_stc='wxUSE_STC
=no
'
9886 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9887 if test "x$LINE" != x ; then
9888 eval "DEFAULT_$LINE"
9894 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
9899 eval "$wx_cv_use_stc"
9900 if test "x
$cache" = xyes; then
9901 echo "wxUSE_STC
=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9904 if test x"$enablestring" = xdisable; then
9905 if test $wxUSE_STC = yes; then
9914 { echo "$as_me:$LINENO: result
: $result" >&5
9915 echo "${ECHO_T}$result" >&6; }
9919 defaultval=$wxUSE_ALL_FEATURES
9920 if test -z "$defaultval"; then
9921 if test x"$enablestring" = xdisable; then
9928 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
9929 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
9930 # Check whether --enable-constraints was given.
9931 if test "${enable_constraints+set}" = set; then
9932 enableval=$enable_constraints;
9933 if test "$enableval" = yes; then
9934 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9936 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9942 LINE=`grep "^wxUSE_CONSTRAINTS
=" ${wx_arg_cache_file}`
9943 if test "x
$LINE" != x ; then
9944 eval "DEFAULT_
$LINE"
9950 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9955 eval "$wx_cv_use_constraints"
9956 if test "x$cache" = xyes
; then
9957 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9960 if test x
"$enablestring" = xdisable
; then
9961 if test $wxUSE_CONSTRAINTS = yes; then
9967 result
=$wxUSE_CONSTRAINTS
9970 { echo "$as_me:$LINENO: result: $result" >&5
9971 echo "${ECHO_T}$result" >&6; }
9975 defaultval
=$wxUSE_ALL_FEATURES
9976 if test -z "$defaultval"; then
9977 if test x
"$enablestring" = xdisable
; then
9984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9985 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9986 # Check whether --enable-printarch was given.
9987 if test "${enable_printarch+set}" = set; then
9988 enableval
=$enable_printarch;
9989 if test "$enableval" = yes; then
9990 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9992 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9998 LINE
=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x
; then
10000 eval "DEFAULT_$LINE"
10006 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10011 eval "$wx_cv_use_printarch"
10012 if test "x$cache" = xyes; then
10013 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10016 if test x"$enablestring" = xdisable; then
10017 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10023 result=$wxUSE_PRINTING_ARCHITECTURE
10026 { echo "$as_me:$LINENO: result: $result" >&5
10027 echo "${ECHO_T}$result" >&6; }
10031 defaultval=$wxUSE_ALL_FEATURES
10032 if test -z "$defaultval"; then
10033 if test x"$enablestring" = xdisable; then
10040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10041 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10042 # Check whether --enable-mdi was given.
10043 if test "${enable_mdi+set}" = set; then
10044 enableval=$enable_mdi;
10045 if test "$enableval" = yes; then
10046 wx_cv_use_mdi='wxUSE_MDI
=yes'
10048 wx_cv_use_mdi='wxUSE_MDI
=no
'
10054 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x ; then
10056 eval "DEFAULT_$LINE"
10062 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10067 eval "$wx_cv_use_mdi"
10068 if test "x
$cache" = xyes; then
10069 echo "wxUSE_MDI
=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10072 if test x"$enablestring" = xdisable; then
10073 if test $wxUSE_MDI = yes; then
10082 { echo "$as_me:$LINENO: result
: $result" >&5
10083 echo "${ECHO_T}$result" >&6; }
10087 defaultval=$wxUSE_ALL_FEATURES
10088 if test -z "$defaultval"; then
10089 if test x"$enablestring" = xdisable; then
10096 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
10097 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
10098 # Check whether --enable-mdidoc was given.
10099 if test "${enable_mdidoc+set}" = set; then
10100 enableval=$enable_mdidoc;
10101 if test "$enableval" = yes; then
10102 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10104 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10110 LINE=`grep "^wxUSE_MDI_ARCHITECTURE
=" ${wx_arg_cache_file}`
10111 if test "x
$LINE" != x ; then
10112 eval "DEFAULT_
$LINE"
10118 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10123 eval "$wx_cv_use_mdidoc"
10124 if test "x$cache" = xyes
; then
10125 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10128 if test x
"$enablestring" = xdisable
; then
10129 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10135 result
=$wxUSE_MDI_ARCHITECTURE
10138 { echo "$as_me:$LINENO: result: $result" >&5
10139 echo "${ECHO_T}$result" >&6; }
10143 defaultval
=$wxUSE_ALL_FEATURES
10144 if test -z "$defaultval"; then
10145 if test x
"$enablestring" = xdisable
; then
10152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10154 # Check whether --enable-loggui was given.
10155 if test "${enable_loggui+set}" = set; then
10156 enableval
=$enable_loggui;
10157 if test "$enableval" = yes; then
10158 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10160 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10166 LINE
=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10167 if test "x$LINE" != x
; then
10168 eval "DEFAULT_$LINE"
10174 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10179 eval "$wx_cv_use_loggui"
10180 if test "x$cache" = xyes; then
10181 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10184 if test x"$enablestring" = xdisable; then
10185 if test $wxUSE_LOGGUI = yes; then
10191 result=$wxUSE_LOGGUI
10194 { echo "$as_me:$LINENO: result: $result" >&5
10195 echo "${ECHO_T}$result" >&6; }
10199 defaultval=$wxUSE_ALL_FEATURES
10200 if test -z "$defaultval"; then
10201 if test x"$enablestring" = xdisable; then
10208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10209 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10210 # Check whether --enable-logwin was given.
10211 if test "${enable_logwin+set}" = set; then
10212 enableval=$enable_logwin;
10213 if test "$enableval" = yes; then
10214 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10216 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10222 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10223 if test "x$LINE" != x ; then
10224 eval "DEFAULT_$LINE"
10230 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10235 eval "$wx_cv_use_logwin"
10236 if test "x
$cache" = xyes; then
10237 echo "wxUSE_LOGWINDOW
=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10240 if test x"$enablestring" = xdisable; then
10241 if test $wxUSE_LOGWINDOW = yes; then
10247 result=$wxUSE_LOGWINDOW
10250 { echo "$as_me:$LINENO: result
: $result" >&5
10251 echo "${ECHO_T}$result" >&6; }
10255 defaultval=$wxUSE_ALL_FEATURES
10256 if test -z "$defaultval"; then
10257 if test x"$enablestring" = xdisable; then
10264 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
10265 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
10266 # Check whether --enable-logdialog was given.
10267 if test "${enable_logdialog+set}" = set; then
10268 enableval=$enable_logdialog;
10269 if test "$enableval" = yes; then
10270 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10272 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10278 LINE=`grep "^wxUSE_LOGDIALOG
=" ${wx_arg_cache_file}`
10279 if test "x
$LINE" != x ; then
10280 eval "DEFAULT_
$LINE"
10286 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10291 eval "$wx_cv_use_logdialog"
10292 if test "x$cache" = xyes
; then
10293 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10296 if test x
"$enablestring" = xdisable
; then
10297 if test $wxUSE_LOGDIALOG = yes; then
10303 result
=$wxUSE_LOGDIALOG
10306 { echo "$as_me:$LINENO: result: $result" >&5
10307 echo "${ECHO_T}$result" >&6; }
10311 defaultval
=$wxUSE_ALL_FEATURES
10312 if test -z "$defaultval"; then
10313 if test x
"$enablestring" = xdisable
; then
10320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10321 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10322 # Check whether --enable-webkit was given.
10323 if test "${enable_webkit+set}" = set; then
10324 enableval
=$enable_webkit;
10325 if test "$enableval" = yes; then
10326 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
10328 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
10334 LINE
=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10335 if test "x$LINE" != x
; then
10336 eval "DEFAULT_$LINE"
10342 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10347 eval "$wx_cv_use_webkit"
10348 if test "x$cache" = xyes; then
10349 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10352 if test x"$enablestring" = xdisable; then
10353 if test $wxUSE_WEBKIT = yes; then
10359 result=$wxUSE_WEBKIT
10362 { echo "$as_me:$LINENO: result: $result" >&5
10363 echo "${ECHO_T}$result" >&6; }
10367 defaultval=$wxUSE_ALL_FEATURES
10368 if test -z "$defaultval"; then
10369 if test x"$enablestring" = xdisable; then
10376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10378 # Check whether --enable-richtext was given.
10379 if test "${enable_richtext+set}" = set; then
10380 enableval=$enable_richtext;
10381 if test "$enableval" = yes; then
10382 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10384 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10390 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10391 if test "x$LINE" != x ; then
10392 eval "DEFAULT_$LINE"
10398 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10403 eval "$wx_cv_use_richtext"
10404 if test "x
$cache" = xyes; then
10405 echo "wxUSE_RICHTEXT
=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10408 if test x"$enablestring" = xdisable; then
10409 if test $wxUSE_RICHTEXT = yes; then
10415 result=$wxUSE_RICHTEXT
10418 { echo "$as_me:$LINENO: result
: $result" >&5
10419 echo "${ECHO_T}$result" >&6; }
10423 defaultval=$wxUSE_ALL_FEATURES
10424 if test -z "$defaultval"; then
10425 if test x"$enablestring" = xdisable; then
10432 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
10433 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
10434 # Check whether --enable-graphics_ctx was given.
10435 if test "${enable_graphics_ctx+set}" = set; then
10436 enableval=$enable_graphics_ctx;
10437 if test "$enableval" = yes; then
10438 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10440 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10446 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT
=" ${wx_arg_cache_file}`
10447 if test "x
$LINE" != x ; then
10448 eval "DEFAULT_
$LINE"
10454 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10459 eval "$wx_cv_use_graphics_ctx"
10460 if test "x$cache" = xyes
; then
10461 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10464 if test x
"$enablestring" = xdisable
; then
10465 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10471 result
=$wxUSE_GRAPHICS_CONTEXT
10474 { echo "$as_me:$LINENO: result: $result" >&5
10475 echo "${ECHO_T}$result" >&6; }
10479 defaultval
=$wxUSE_ALL_FEATURES
10480 if test -z "$defaultval"; then
10481 if test x
"$enablestring" = xdisable
; then
10488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10489 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10490 # Check whether --enable-postscript was given.
10491 if test "${enable_postscript+set}" = set; then
10492 enableval
=$enable_postscript;
10493 if test "$enableval" = yes; then
10494 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
10496 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
10502 LINE
=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10503 if test "x$LINE" != x
; then
10504 eval "DEFAULT_$LINE"
10510 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10515 eval "$wx_cv_use_postscript"
10516 if test "x$cache" = xyes; then
10517 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10520 if test x"$enablestring" = xdisable; then
10521 if test $wxUSE_POSTSCRIPT = yes; then
10527 result=$wxUSE_POSTSCRIPT
10530 { echo "$as_me:$LINENO: result: $result" >&5
10531 echo "${ECHO_T}$result" >&6; }
10535 defaultval=$wxUSE_ALL_FEATURES
10536 if test -z "$defaultval"; then
10537 if test x"$enablestring" = xdisable; then
10544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10545 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10546 # Check whether --enable-svg was given.
10547 if test "${enable_svg+set}" = set; then
10548 enableval=$enable_svg;
10549 if test "$enableval" = yes; then
10550 wx_cv_use_svg='wxUSE_SVG
=yes'
10552 wx_cv_use_svg='wxUSE_SVG
=no
'
10558 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10559 if test "x$LINE" != x ; then
10560 eval "DEFAULT_$LINE"
10566 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10571 eval "$wx_cv_use_svg"
10572 if test "x
$cache" = xyes; then
10573 echo "wxUSE_SVG
=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_SVG = yes; then
10586 { echo "$as_me:$LINENO: result
: $result" >&5
10587 echo "${ECHO_T}$result" >&6; }
10593 defaultval=$wxUSE_ALL_FEATURES
10594 if test -z "$defaultval"; then
10595 if test x"$enablestring" = xdisable; then
10602 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
10603 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
10604 # Check whether --enable-clipboard was given.
10605 if test "${enable_clipboard+set}" = set; then
10606 enableval=$enable_clipboard;
10607 if test "$enableval" = yes; then
10608 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10610 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10616 LINE=`grep "^wxUSE_CLIPBOARD
=" ${wx_arg_cache_file}`
10617 if test "x
$LINE" != x ; then
10618 eval "DEFAULT_
$LINE"
10624 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10629 eval "$wx_cv_use_clipboard"
10630 if test "x$cache" = xyes
; then
10631 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10634 if test x
"$enablestring" = xdisable
; then
10635 if test $wxUSE_CLIPBOARD = yes; then
10641 result
=$wxUSE_CLIPBOARD
10644 { echo "$as_me:$LINENO: result: $result" >&5
10645 echo "${ECHO_T}$result" >&6; }
10649 defaultval
=$wxUSE_ALL_FEATURES
10650 if test -z "$defaultval"; then
10651 if test x
"$enablestring" = xdisable
; then
10658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10659 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10660 # Check whether --enable-dnd was given.
10661 if test "${enable_dnd+set}" = set; then
10662 enableval
=$enable_dnd;
10663 if test "$enableval" = yes; then
10664 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
10666 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
10672 LINE
=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10673 if test "x$LINE" != x
; then
10674 eval "DEFAULT_$LINE"
10680 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10685 eval "$wx_cv_use_dnd"
10686 if test "x$cache" = xyes; then
10687 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10690 if test x"$enablestring" = xdisable; then
10691 if test $wxUSE_DRAG_AND_DROP = yes; then
10697 result=$wxUSE_DRAG_AND_DROP
10700 { echo "$as_me:$LINENO: result: $result" >&5
10701 echo "${ECHO_T}$result" >&6; }
10705 defaultval=$wxUSE_ALL_FEATURES
10706 if test -z "$defaultval"; then
10707 if test x"$enablestring" = xdisable; then
10714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10715 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10716 # Check whether --enable-metafile was given.
10717 if test "${enable_metafile+set}" = set; then
10718 enableval=$enable_metafile;
10719 if test "$enableval" = yes; then
10720 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
10722 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
10728 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10729 if test "x$LINE" != x ; then
10730 eval "DEFAULT_$LINE"
10736 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10741 eval "$wx_cv_use_metafile"
10742 if test "x
$cache" = xyes; then
10743 echo "wxUSE_METAFILE
=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10746 if test x"$enablestring" = xdisable; then
10747 if test $wxUSE_METAFILE = yes; then
10753 result=$wxUSE_METAFILE
10756 { echo "$as_me:$LINENO: result
: $result" >&5
10757 echo "${ECHO_T}$result" >&6; }
10761 DEFAULT_wxUSE_CONTROLS=none
10763 enablestring=disable
10765 if test -z "$defaultval"; then
10766 if test x"$enablestring" = xdisable; then
10773 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
10774 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
10775 # Check whether --enable-controls was given.
10776 if test "${enable_controls+set}" = set; then
10777 enableval=$enable_controls;
10778 if test "$enableval" = yes; then
10779 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10781 wx_cv_use_controls='wxUSE_CONTROLS=no'
10787 LINE=`grep "^wxUSE_CONTROLS
=" ${wx_arg_cache_file}`
10788 if test "x
$LINE" != x ; then
10789 eval "DEFAULT_
$LINE"
10795 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10800 eval "$wx_cv_use_controls"
10801 if test "x$cache" = xyes
; then
10802 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10805 if test x
"$enablestring" = xdisable
; then
10806 if test $wxUSE_CONTROLS = yes; then
10812 result
=$wxUSE_CONTROLS
10815 { echo "$as_me:$LINENO: result: $result" >&5
10816 echo "${ECHO_T}$result" >&6; }
10819 if test "$wxUSE_CONTROLS" = "yes"; then
10820 DEFAULT_wxUSE_ACCEL
=yes
10821 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
10822 DEFAULT_wxUSE_BMPBUTTON
=yes
10823 DEFAULT_wxUSE_BUTTON
=yes
10824 DEFAULT_wxUSE_CALCTRL
=yes
10825 DEFAULT_wxUSE_CARET
=yes
10826 DEFAULT_wxUSE_COMBOBOX
=yes
10827 DEFAULT_wxUSE_CHECKBOX
=yes
10828 DEFAULT_wxUSE_CHECKLISTBOX
=yes
10829 DEFAULT_wxUSE_CHOICE
=yes
10830 DEFAULT_wxUSE_CHOICEBOOK
=yes
10831 DEFAULT_wxUSE_COLLPANE
=yes
10832 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
10833 DEFAULT_wxUSE_COMBOBOX
=yes
10834 DEFAULT_wxUSE_DATEPICKCTRL
=yes
10835 DEFAULT_wxUSE_DISPLAY
=yes
10836 DEFAULT_wxUSE_DETECT_SM
=yes
10837 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
10838 DEFAULT_wxUSE_FILECTRL
=yes
10839 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
10840 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
10841 DEFAULT_wxUSE_GAUGE
=yes
10842 DEFAULT_wxUSE_GRID
=yes
10843 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
10844 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10845 DEFAULT_wxUSE_IMAGLIST
=yes
10846 DEFAULT_wxUSE_LISTBOOK
=yes
10847 DEFAULT_wxUSE_LISTBOX
=yes
10848 DEFAULT_wxUSE_LISTCTRL
=yes
10849 DEFAULT_wxUSE_NOTEBOOK
=yes
10850 DEFAULT_wxUSE_RADIOBOX
=yes
10851 DEFAULT_wxUSE_RADIOBTN
=yes
10852 DEFAULT_wxUSE_SASH
=yes
10853 DEFAULT_wxUSE_SCROLLBAR
=yes
10854 DEFAULT_wxUSE_SEARCHCTRL
=yes
10855 DEFAULT_wxUSE_SLIDER
=yes
10856 DEFAULT_wxUSE_SPINBTN
=yes
10857 DEFAULT_wxUSE_SPINCTRL
=yes
10858 DEFAULT_wxUSE_SPLITTER
=yes
10859 DEFAULT_wxUSE_STATBMP
=yes
10860 DEFAULT_wxUSE_STATBOX
=yes
10861 DEFAULT_wxUSE_STATLINE
=yes
10862 DEFAULT_wxUSE_STATUSBAR
=yes
10863 DEFAULT_wxUSE_TAB_DIALOG
=yes
10864 DEFAULT_wxUSE_TOGGLEBTN
=yes
10865 DEFAULT_wxUSE_TOOLBAR
=yes
10866 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
10867 DEFAULT_wxUSE_TOOLTIPS
=yes
10868 DEFAULT_wxUSE_TREEBOOK
=yes
10869 DEFAULT_wxUSE_TOOLBOOK
=yes
10870 DEFAULT_wxUSE_TREECTRL
=yes
10871 DEFAULT_wxUSE_POPUPWIN
=yes
10872 DEFAULT_wxUSE_TIPWINDOW
=yes
10873 elif test "$wxUSE_CONTROLS" = "no"; then
10874 DEFAULT_wxUSE_ACCEL
=no
10875 DEFAULT_wxUSE_ANIMATIONCTRL
=no
10876 DEFAULT_wxUSE_BMPBUTTON
=no
10877 DEFAULT_wxUSE_BUTTON
=no
10878 DEFAULT_wxUSE_CALCTRL
=no
10879 DEFAULT_wxUSE_CARET
=no
10880 DEFAULT_wxUSE_COLLPANE
=no
10881 DEFAULT_wxUSE_COMBOBOX
=no
10882 DEFAULT_wxUSE_CHECKBOX
=no
10883 DEFAULT_wxUSE_CHECKLISTBOX
=no
10884 DEFAULT_wxUSE_CHOICE
=no
10885 DEFAULT_wxUSE_CHOICEBOOK
=no
10886 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
10887 DEFAULT_wxUSE_COMBOBOX
=no
10888 DEFAULT_wxUSE_DATEPICKCTRL
=no
10889 DEFAULT_wxUSE_DISPLAY
=no
10890 DEFAULT_wxUSE_DETECT_SM
=no
10891 DEFAULT_wxUSE_DIRPICKERCTRL
=no
10892 DEFAULT_wxUSE_FILECTRL
=no
10893 DEFAULT_wxUSE_FILEPICKERCTRL
=no
10894 DEFAULT_wxUSE_FONTPICKERCTRL
=no
10895 DEFAULT_wxUSE_GAUGE
=no
10896 DEFAULT_wxUSE_GRID
=no
10897 DEFAULT_wxUSE_HYPERLINKCTRL
=no
10898 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10899 DEFAULT_wxUSE_IMAGLIST
=no
10900 DEFAULT_wxUSE_LISTBOOK
=no
10901 DEFAULT_wxUSE_LISTBOX
=no
10902 DEFAULT_wxUSE_LISTCTRL
=no
10903 DEFAULT_wxUSE_NOTEBOOK
=no
10904 DEFAULT_wxUSE_RADIOBOX
=no
10905 DEFAULT_wxUSE_RADIOBTN
=no
10906 DEFAULT_wxUSE_SASH
=no
10907 DEFAULT_wxUSE_SCROLLBAR
=no
10908 DEFAULT_wxUSE_SEARCHCTRL
=no
10909 DEFAULT_wxUSE_SLIDER
=no
10910 DEFAULT_wxUSE_SPINBTN
=no
10911 DEFAULT_wxUSE_SPINCTRL
=no
10912 DEFAULT_wxUSE_SPLITTER
=no
10913 DEFAULT_wxUSE_STATBMP
=no
10914 DEFAULT_wxUSE_STATBOX
=no
10915 DEFAULT_wxUSE_STATLINE
=no
10916 DEFAULT_wxUSE_STATUSBAR
=no
10917 DEFAULT_wxUSE_TAB_DIALOG
=no
10918 DEFAULT_wxUSE_TOGGLEBTN
=no
10919 DEFAULT_wxUSE_TOOLBAR
=no
10920 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
10921 DEFAULT_wxUSE_TOOLTIPS
=no
10922 DEFAULT_wxUSE_TREEBOOK
=no
10923 DEFAULT_wxUSE_TOOLBOOK
=no
10924 DEFAULT_wxUSE_TREECTRL
=no
10925 DEFAULT_wxUSE_POPUPWIN
=no
10926 DEFAULT_wxUSE_TIPWINDOW
=no
10931 defaultval
=$wxUSE_ALL_FEATURES
10932 if test -z "$defaultval"; then
10933 if test x
"$enablestring" = xdisable
; then
10940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10941 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10942 # Check whether --enable-accel was given.
10943 if test "${enable_accel+set}" = set; then
10944 enableval
=$enable_accel;
10945 if test "$enableval" = yes; then
10946 wx_cv_use_accel
='wxUSE_ACCEL=yes'
10948 wx_cv_use_accel
='wxUSE_ACCEL=no'
10954 LINE
=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10955 if test "x$LINE" != x
; then
10956 eval "DEFAULT_$LINE"
10962 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10967 eval "$wx_cv_use_accel"
10968 if test "x$cache" = xyes; then
10969 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_ACCEL = yes; then
10979 result=$wxUSE_ACCEL
10982 { echo "$as_me:$LINENO: result: $result" >&5
10983 echo "${ECHO_T}$result" >&6; }
10987 defaultval=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x"$enablestring" = xdisable; then
10996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10998 # Check whether --enable-animatectrl was given.
10999 if test "${enable_animatectrl+set}" = set; then
11000 enableval=$enable_animatectrl;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11004 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11010 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11011 if test "x$LINE" != x ; then
11012 eval "DEFAULT_$LINE"
11018 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11023 eval "$wx_cv_use_animatectrl"
11024 if test "x
$cache" = xyes; then
11025 echo "wxUSE_ANIMATIONCTRL
=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11028 if test x"$enablestring" = xdisable; then
11029 if test $wxUSE_ANIMATIONCTRL = yes; then
11035 result=$wxUSE_ANIMATIONCTRL
11038 { echo "$as_me:$LINENO: result
: $result" >&5
11039 echo "${ECHO_T}$result" >&6; }
11043 defaultval=$wxUSE_ALL_FEATURES
11044 if test -z "$defaultval"; then
11045 if test x"$enablestring" = xdisable; then
11052 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
11053 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
11054 # Check whether --enable-button was given.
11055 if test "${enable_button+set}" = set; then
11056 enableval=$enable_button;
11057 if test "$enableval" = yes; then
11058 wx_cv_use_button='wxUSE_BUTTON=yes'
11060 wx_cv_use_button='wxUSE_BUTTON=no'
11066 LINE=`grep "^wxUSE_BUTTON
=" ${wx_arg_cache_file}`
11067 if test "x
$LINE" != x ; then
11068 eval "DEFAULT_
$LINE"
11074 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11079 eval "$wx_cv_use_button"
11080 if test "x$cache" = xyes
; then
11081 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11084 if test x
"$enablestring" = xdisable
; then
11085 if test $wxUSE_BUTTON = yes; then
11091 result
=$wxUSE_BUTTON
11094 { echo "$as_me:$LINENO: result: $result" >&5
11095 echo "${ECHO_T}$result" >&6; }
11099 defaultval
=$wxUSE_ALL_FEATURES
11100 if test -z "$defaultval"; then
11101 if test x
"$enablestring" = xdisable
; then
11108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11109 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11110 # Check whether --enable-bmpbutton was given.
11111 if test "${enable_bmpbutton+set}" = set; then
11112 enableval
=$enable_bmpbutton;
11113 if test "$enableval" = yes; then
11114 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
11116 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
11122 LINE
=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11123 if test "x$LINE" != x
; then
11124 eval "DEFAULT_$LINE"
11130 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11135 eval "$wx_cv_use_bmpbutton"
11136 if test "x$cache" = xyes; then
11137 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11140 if test x"$enablestring" = xdisable; then
11141 if test $wxUSE_BMPBUTTON = yes; then
11147 result=$wxUSE_BMPBUTTON
11150 { echo "$as_me:$LINENO: result: $result" >&5
11151 echo "${ECHO_T}$result" >&6; }
11155 defaultval=$wxUSE_ALL_FEATURES
11156 if test -z "$defaultval"; then
11157 if test x"$enablestring" = xdisable; then
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11166 # Check whether --enable-bmpcombobox was given.
11167 if test "${enable_bmpcombobox+set}" = set; then
11168 enableval=$enable_bmpcombobox;
11169 if test "$enableval" = yes; then
11170 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
11172 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
11178 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11179 if test "x$LINE" != x ; then
11180 eval "DEFAULT_$LINE"
11186 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11191 eval "$wx_cv_use_bmpcombobox"
11192 if test "x
$cache" = xyes; then
11193 echo "wxUSE_BITMAPCOMBOBOX
=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11196 if test x"$enablestring" = xdisable; then
11197 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11203 result=$wxUSE_BITMAPCOMBOBOX
11206 { echo "$as_me:$LINENO: result
: $result" >&5
11207 echo "${ECHO_T}$result" >&6; }
11211 defaultval=$wxUSE_ALL_FEATURES
11212 if test -z "$defaultval"; then
11213 if test x"$enablestring" = xdisable; then
11220 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
11221 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
11222 # Check whether --enable-calendar was given.
11223 if test "${enable_calendar+set}" = set; then
11224 enableval=$enable_calendar;
11225 if test "$enableval" = yes; then
11226 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11228 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11234 LINE=`grep "^wxUSE_CALCTRL
=" ${wx_arg_cache_file}`
11235 if test "x
$LINE" != x ; then
11236 eval "DEFAULT_
$LINE"
11242 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11247 eval "$wx_cv_use_calendar"
11248 if test "x$cache" = xyes
; then
11249 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11252 if test x
"$enablestring" = xdisable
; then
11253 if test $wxUSE_CALCTRL = yes; then
11259 result
=$wxUSE_CALCTRL
11262 { echo "$as_me:$LINENO: result: $result" >&5
11263 echo "${ECHO_T}$result" >&6; }
11267 defaultval
=$wxUSE_ALL_FEATURES
11268 if test -z "$defaultval"; then
11269 if test x
"$enablestring" = xdisable
; then
11276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11278 # Check whether --enable-caret was given.
11279 if test "${enable_caret+set}" = set; then
11280 enableval
=$enable_caret;
11281 if test "$enableval" = yes; then
11282 wx_cv_use_caret
='wxUSE_CARET=yes'
11284 wx_cv_use_caret
='wxUSE_CARET=no'
11290 LINE
=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11291 if test "x$LINE" != x
; then
11292 eval "DEFAULT_$LINE"
11298 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11303 eval "$wx_cv_use_caret"
11304 if test "x$cache" = xyes; then
11305 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11308 if test x"$enablestring" = xdisable; then
11309 if test $wxUSE_CARET = yes; then
11315 result=$wxUSE_CARET
11318 { echo "$as_me:$LINENO: result: $result" >&5
11319 echo "${ECHO_T}$result" >&6; }
11323 defaultval=$wxUSE_ALL_FEATURES
11324 if test -z "$defaultval"; then
11325 if test x"$enablestring" = xdisable; then
11332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11333 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11334 # Check whether --enable-checkbox was given.
11335 if test "${enable_checkbox+set}" = set; then
11336 enableval=$enable_checkbox;
11337 if test "$enableval" = yes; then
11338 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11340 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11346 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11347 if test "x$LINE" != x ; then
11348 eval "DEFAULT_$LINE"
11354 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11359 eval "$wx_cv_use_checkbox"
11360 if test "x
$cache" = xyes; then
11361 echo "wxUSE_CHECKBOX
=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11364 if test x"$enablestring" = xdisable; then
11365 if test $wxUSE_CHECKBOX = yes; then
11371 result=$wxUSE_CHECKBOX
11374 { echo "$as_me:$LINENO: result
: $result" >&5
11375 echo "${ECHO_T}$result" >&6; }
11379 defaultval=$wxUSE_ALL_FEATURES
11380 if test -z "$defaultval"; then
11381 if test x"$enablestring" = xdisable; then
11388 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
11389 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
11390 # Check whether --enable-checklst was given.
11391 if test "${enable_checklst+set}" = set; then
11392 enableval=$enable_checklst;
11393 if test "$enableval" = yes; then
11394 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11396 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11402 LINE=`grep "^wxUSE_CHECKLST
=" ${wx_arg_cache_file}`
11403 if test "x
$LINE" != x ; then
11404 eval "DEFAULT_
$LINE"
11410 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11415 eval "$wx_cv_use_checklst"
11416 if test "x$cache" = xyes
; then
11417 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11420 if test x
"$enablestring" = xdisable
; then
11421 if test $wxUSE_CHECKLST = yes; then
11427 result
=$wxUSE_CHECKLST
11430 { echo "$as_me:$LINENO: result: $result" >&5
11431 echo "${ECHO_T}$result" >&6; }
11435 defaultval
=$wxUSE_ALL_FEATURES
11436 if test -z "$defaultval"; then
11437 if test x
"$enablestring" = xdisable
; then
11444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11445 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11446 # Check whether --enable-choice was given.
11447 if test "${enable_choice+set}" = set; then
11448 enableval
=$enable_choice;
11449 if test "$enableval" = yes; then
11450 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11452 wx_cv_use_choice
='wxUSE_CHOICE=no'
11458 LINE
=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11459 if test "x$LINE" != x
; then
11460 eval "DEFAULT_$LINE"
11466 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11471 eval "$wx_cv_use_choice"
11472 if test "x$cache" = xyes; then
11473 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11476 if test x"$enablestring" = xdisable; then
11477 if test $wxUSE_CHOICE = yes; then
11483 result=$wxUSE_CHOICE
11486 { echo "$as_me:$LINENO: result: $result" >&5
11487 echo "${ECHO_T}$result" >&6; }
11491 defaultval=$wxUSE_ALL_FEATURES
11492 if test -z "$defaultval"; then
11493 if test x"$enablestring" = xdisable; then
11500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11501 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11502 # Check whether --enable-choicebook was given.
11503 if test "${enable_choicebook+set}" = set; then
11504 enableval=$enable_choicebook;
11505 if test "$enableval" = yes; then
11506 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11508 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11514 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11515 if test "x$LINE" != x ; then
11516 eval "DEFAULT_$LINE"
11522 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11527 eval "$wx_cv_use_choicebook"
11528 if test "x
$cache" = xyes; then
11529 echo "wxUSE_CHOICEBOOK
=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11532 if test x"$enablestring" = xdisable; then
11533 if test $wxUSE_CHOICEBOOK = yes; then
11539 result=$wxUSE_CHOICEBOOK
11542 { echo "$as_me:$LINENO: result
: $result" >&5
11543 echo "${ECHO_T}$result" >&6; }
11547 defaultval=$wxUSE_ALL_FEATURES
11548 if test -z "$defaultval"; then
11549 if test x"$enablestring" = xdisable; then
11556 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
11557 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
11558 # Check whether --enable-collpane was given.
11559 if test "${enable_collpane+set}" = set; then
11560 enableval=$enable_collpane;
11561 if test "$enableval" = yes; then
11562 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11564 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11570 LINE=`grep "^wxUSE_COLLPANE
=" ${wx_arg_cache_file}`
11571 if test "x
$LINE" != x ; then
11572 eval "DEFAULT_
$LINE"
11578 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11583 eval "$wx_cv_use_collpane"
11584 if test "x$cache" = xyes
; then
11585 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11588 if test x
"$enablestring" = xdisable
; then
11589 if test $wxUSE_COLLPANE = yes; then
11595 result
=$wxUSE_COLLPANE
11598 { echo "$as_me:$LINENO: result: $result" >&5
11599 echo "${ECHO_T}$result" >&6; }
11603 defaultval
=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x
"$enablestring" = xdisable
; then
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11614 # Check whether --enable-colourpicker was given.
11615 if test "${enable_colourpicker+set}" = set; then
11616 enableval
=$enable_colourpicker;
11617 if test "$enableval" = yes; then
11618 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11620 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11626 LINE
=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11627 if test "x$LINE" != x
; then
11628 eval "DEFAULT_$LINE"
11634 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11639 eval "$wx_cv_use_colourpicker"
11640 if test "x$cache" = xyes; then
11641 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11644 if test x"$enablestring" = xdisable; then
11645 if test $wxUSE_COLOURPICKERCTRL = yes; then
11651 result=$wxUSE_COLOURPICKERCTRL
11654 { echo "$as_me:$LINENO: result: $result" >&5
11655 echo "${ECHO_T}$result" >&6; }
11659 defaultval=$wxUSE_ALL_FEATURES
11660 if test -z "$defaultval"; then
11661 if test x"$enablestring" = xdisable; then
11668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11669 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11670 # Check whether --enable-combobox was given.
11671 if test "${enable_combobox+set}" = set; then
11672 enableval=$enable_combobox;
11673 if test "$enableval" = yes; then
11674 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11676 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11682 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11683 if test "x$LINE" != x ; then
11684 eval "DEFAULT_$LINE"
11690 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11695 eval "$wx_cv_use_combobox"
11696 if test "x
$cache" = xyes; then
11697 echo "wxUSE_COMBOBOX
=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11700 if test x"$enablestring" = xdisable; then
11701 if test $wxUSE_COMBOBOX = yes; then
11707 result=$wxUSE_COMBOBOX
11710 { echo "$as_me:$LINENO: result
: $result" >&5
11711 echo "${ECHO_T}$result" >&6; }
11715 defaultval=$wxUSE_ALL_FEATURES
11716 if test -z "$defaultval"; then
11717 if test x"$enablestring" = xdisable; then
11724 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
11725 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
11726 # Check whether --enable-comboctrl was given.
11727 if test "${enable_comboctrl+set}" = set; then
11728 enableval=$enable_comboctrl;
11729 if test "$enableval" = yes; then
11730 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11732 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11738 LINE=`grep "^wxUSE_COMBOCTRL
=" ${wx_arg_cache_file}`
11739 if test "x
$LINE" != x ; then
11740 eval "DEFAULT_
$LINE"
11746 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11751 eval "$wx_cv_use_comboctrl"
11752 if test "x$cache" = xyes
; then
11753 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11756 if test x
"$enablestring" = xdisable
; then
11757 if test $wxUSE_COMBOCTRL = yes; then
11763 result
=$wxUSE_COMBOCTRL
11766 { echo "$as_me:$LINENO: result: $result" >&5
11767 echo "${ECHO_T}$result" >&6; }
11771 defaultval
=$wxUSE_ALL_FEATURES
11772 if test -z "$defaultval"; then
11773 if test x
"$enablestring" = xdisable
; then
11780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11781 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11782 # Check whether --enable-datepick was given.
11783 if test "${enable_datepick+set}" = set; then
11784 enableval
=$enable_datepick;
11785 if test "$enableval" = yes; then
11786 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
11788 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
11794 LINE
=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11795 if test "x$LINE" != x
; then
11796 eval "DEFAULT_$LINE"
11802 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11807 eval "$wx_cv_use_datepick"
11808 if test "x$cache" = xyes; then
11809 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11812 if test x"$enablestring" = xdisable; then
11813 if test $wxUSE_DATEPICKCTRL = yes; then
11819 result=$wxUSE_DATEPICKCTRL
11822 { echo "$as_me:$LINENO: result: $result" >&5
11823 echo "${ECHO_T}$result" >&6; }
11827 defaultval=$wxUSE_ALL_FEATURES
11828 if test -z "$defaultval"; then
11829 if test x"$enablestring" = xdisable; then
11836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11837 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11838 # Check whether --enable-dirpicker was given.
11839 if test "${enable_dirpicker+set}" = set; then
11840 enableval=$enable_dirpicker;
11841 if test "$enableval" = yes; then
11842 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
11844 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
11850 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11851 if test "x$LINE" != x ; then
11852 eval "DEFAULT_$LINE"
11858 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11863 eval "$wx_cv_use_dirpicker"
11864 if test "x
$cache" = xyes; then
11865 echo "wxUSE_DIRPICKERCTRL
=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11868 if test x"$enablestring" = xdisable; then
11869 if test $wxUSE_DIRPICKERCTRL = yes; then
11875 result=$wxUSE_DIRPICKERCTRL
11878 { echo "$as_me:$LINENO: result
: $result" >&5
11879 echo "${ECHO_T}$result" >&6; }
11883 defaultval=$wxUSE_ALL_FEATURES
11884 if test -z "$defaultval"; then
11885 if test x"$enablestring" = xdisable; then
11892 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
11893 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
11894 # Check whether --enable-display was given.
11895 if test "${enable_display+set}" = set; then
11896 enableval=$enable_display;
11897 if test "$enableval" = yes; then
11898 wx_cv_use_display='wxUSE_DISPLAY=yes'
11900 wx_cv_use_display='wxUSE_DISPLAY=no'
11906 LINE=`grep "^wxUSE_DISPLAY
=" ${wx_arg_cache_file}`
11907 if test "x
$LINE" != x ; then
11908 eval "DEFAULT_
$LINE"
11914 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11919 eval "$wx_cv_use_display"
11920 if test "x$cache" = xyes
; then
11921 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11924 if test x
"$enablestring" = xdisable
; then
11925 if test $wxUSE_DISPLAY = yes; then
11931 result
=$wxUSE_DISPLAY
11934 { echo "$as_me:$LINENO: result: $result" >&5
11935 echo "${ECHO_T}$result" >&6; }
11939 defaultval
=$wxUSE_ALL_FEATURES
11940 if test -z "$defaultval"; then
11941 if test x
"$enablestring" = xdisable
; then
11948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11949 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11950 # Check whether --enable-detect_sm was given.
11951 if test "${enable_detect_sm+set}" = set; then
11952 enableval
=$enable_detect_sm;
11953 if test "$enableval" = yes; then
11954 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
11956 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
11962 LINE
=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11963 if test "x$LINE" != x
; then
11964 eval "DEFAULT_$LINE"
11970 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11975 eval "$wx_cv_use_detect_sm"
11976 if test "x$cache" = xyes; then
11977 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11980 if test x"$enablestring" = xdisable; then
11981 if test $wxUSE_DETECT_SM = yes; then
11987 result=$wxUSE_DETECT_SM
11990 { echo "$as_me:$LINENO: result: $result" >&5
11991 echo "${ECHO_T}$result" >&6; }
11995 defaultval=$wxUSE_ALL_FEATURES
11996 if test -z "$defaultval"; then
11997 if test x"$enablestring" = xdisable; then
12004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12005 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12006 # Check whether --enable-editablebox was given.
12007 if test "${enable_editablebox+set}" = set; then
12008 enableval=$enable_editablebox;
12009 if test "$enableval" = yes; then
12010 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
12012 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
12018 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12019 if test "x$LINE" != x ; then
12020 eval "DEFAULT_$LINE"
12026 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12031 eval "$wx_cv_use_editablebox"
12032 if test "x
$cache" = xyes; then
12033 echo "wxUSE_EDITABLELISTBOX
=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12036 if test x"$enablestring" = xdisable; then
12037 if test $wxUSE_EDITABLELISTBOX = yes; then
12043 result=$wxUSE_EDITABLELISTBOX
12046 { echo "$as_me:$LINENO: result
: $result" >&5
12047 echo "${ECHO_T}$result" >&6; }
12051 defaultval=$wxUSE_ALL_FEATURES
12052 if test -z "$defaultval"; then
12053 if test x"$enablestring" = xdisable; then
12060 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
12061 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
12062 # Check whether --enable-filepicker was given.
12063 if test "${enable_filepicker+set}" = set; then
12064 enableval=$enable_filepicker;
12065 if test "$enableval" = yes; then
12066 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12068 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12074 LINE=`grep "^wxUSE_FILEPICKERCTRL
=" ${wx_arg_cache_file}`
12075 if test "x
$LINE" != x ; then
12076 eval "DEFAULT_
$LINE"
12082 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12087 eval "$wx_cv_use_filepicker"
12088 if test "x$cache" = xyes
; then
12089 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12092 if test x
"$enablestring" = xdisable
; then
12093 if test $wxUSE_FILEPICKERCTRL = yes; then
12099 result
=$wxUSE_FILEPICKERCTRL
12102 { echo "$as_me:$LINENO: result: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12107 defaultval
=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x
"$enablestring" = xdisable
; then
12116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12117 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12118 # Check whether --enable-filectrl was given.
12119 if test "${enable_filectrl+set}" = set; then
12120 enableval
=$enable_filectrl;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12124 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12130 LINE
=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12131 if test "x$LINE" != x
; then
12132 eval "DEFAULT_$LINE"
12138 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12143 eval "$wx_cv_use_filectrl"
12144 if test "x$cache" = xyes; then
12145 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12148 if test x"$enablestring" = xdisable; then
12149 if test $wxUSE_FILECTRL = yes; then
12155 result=$wxUSE_FILECTRL
12158 { echo "$as_me:$LINENO: result: $result" >&5
12159 echo "${ECHO_T}$result" >&6; }
12163 defaultval=$wxUSE_ALL_FEATURES
12164 if test -z "$defaultval"; then
12165 if test x"$enablestring" = xdisable; then
12172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12173 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12174 # Check whether --enable-fontpicker was given.
12175 if test "${enable_fontpicker+set}" = set; then
12176 enableval=$enable_fontpicker;
12177 if test "$enableval" = yes; then
12178 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
12180 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
12186 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12187 if test "x$LINE" != x ; then
12188 eval "DEFAULT_$LINE"
12194 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12199 eval "$wx_cv_use_fontpicker"
12200 if test "x
$cache" = xyes; then
12201 echo "wxUSE_FONTPICKERCTRL
=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_FONTPICKERCTRL = yes; then
12211 result=$wxUSE_FONTPICKERCTRL
12214 { echo "$as_me:$LINENO: result
: $result" >&5
12215 echo "${ECHO_T}$result" >&6; }
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12228 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
12229 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
12230 # Check whether --enable-gauge was given.
12231 if test "${enable_gauge+set}" = set; then
12232 enableval=$enable_gauge;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12236 wx_cv_use_gauge='wxUSE_GAUGE=no'
12242 LINE=`grep "^wxUSE_GAUGE
=" ${wx_arg_cache_file}`
12243 if test "x
$LINE" != x ; then
12244 eval "DEFAULT_
$LINE"
12250 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12255 eval "$wx_cv_use_gauge"
12256 if test "x$cache" = xyes
; then
12257 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12260 if test x
"$enablestring" = xdisable
; then
12261 if test $wxUSE_GAUGE = yes; then
12267 result
=$wxUSE_GAUGE
12270 { echo "$as_me:$LINENO: result: $result" >&5
12271 echo "${ECHO_T}$result" >&6; }
12275 defaultval
=$wxUSE_ALL_FEATURES
12276 if test -z "$defaultval"; then
12277 if test x
"$enablestring" = xdisable
; then
12284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12285 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12286 # Check whether --enable-grid was given.
12287 if test "${enable_grid+set}" = set; then
12288 enableval
=$enable_grid;
12289 if test "$enableval" = yes; then
12290 wx_cv_use_grid
='wxUSE_GRID=yes'
12292 wx_cv_use_grid
='wxUSE_GRID=no'
12298 LINE
=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12299 if test "x$LINE" != x
; then
12300 eval "DEFAULT_$LINE"
12306 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12311 eval "$wx_cv_use_grid"
12312 if test "x$cache" = xyes; then
12313 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12316 if test x"$enablestring" = xdisable; then
12317 if test $wxUSE_GRID = yes; then
12326 { echo "$as_me:$LINENO: result: $result" >&5
12327 echo "${ECHO_T}$result" >&6; }
12331 defaultval=$wxUSE_ALL_FEATURES
12332 if test -z "$defaultval"; then
12333 if test x"$enablestring" = xdisable; then
12340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12341 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12342 # Check whether --enable-dataviewctrl was given.
12343 if test "${enable_dataviewctrl+set}" = set; then
12344 enableval=$enable_dataviewctrl;
12345 if test "$enableval" = yes; then
12346 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12348 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12354 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12355 if test "x$LINE" != x ; then
12356 eval "DEFAULT_$LINE"
12362 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12367 eval "$wx_cv_use_dataviewctrl"
12368 if test "x
$cache" = xyes; then
12369 echo "wxUSE_DATAVIEWCTRL
=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12372 if test x"$enablestring" = xdisable; then
12373 if test $wxUSE_DATAVIEWCTRL = yes; then
12379 result=$wxUSE_DATAVIEWCTRL
12382 { echo "$as_me:$LINENO: result
: $result" >&5
12383 echo "${ECHO_T}$result" >&6; }
12387 defaultval=$wxUSE_ALL_FEATURES
12388 if test -z "$defaultval"; then
12389 if test x"$enablestring" = xdisable; then
12396 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
12397 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
12398 # Check whether --enable-hyperlink was given.
12399 if test "${enable_hyperlink+set}" = set; then
12400 enableval=$enable_hyperlink;
12401 if test "$enableval" = yes; then
12402 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12404 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12410 LINE=`grep "^wxUSE_HYPERLINKCTRL
=" ${wx_arg_cache_file}`
12411 if test "x
$LINE" != x ; then
12412 eval "DEFAULT_
$LINE"
12418 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12423 eval "$wx_cv_use_hyperlink"
12424 if test "x$cache" = xyes
; then
12425 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12428 if test x
"$enablestring" = xdisable
; then
12429 if test $wxUSE_HYPERLINKCTRL = yes; then
12435 result
=$wxUSE_HYPERLINKCTRL
12438 { echo "$as_me:$LINENO: result: $result" >&5
12439 echo "${ECHO_T}$result" >&6; }
12443 defaultval
=$wxUSE_ALL_FEATURES
12444 if test -z "$defaultval"; then
12445 if test x
"$enablestring" = xdisable
; then
12452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12453 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12454 # Check whether --enable-imaglist was given.
12455 if test "${enable_imaglist+set}" = set; then
12456 enableval
=$enable_imaglist;
12457 if test "$enableval" = yes; then
12458 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
12460 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
12466 LINE
=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12467 if test "x$LINE" != x
; then
12468 eval "DEFAULT_$LINE"
12474 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12479 eval "$wx_cv_use_imaglist"
12480 if test "x$cache" = xyes; then
12481 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12484 if test x"$enablestring" = xdisable; then
12485 if test $wxUSE_IMAGLIST = yes; then
12491 result=$wxUSE_IMAGLIST
12494 { echo "$as_me:$LINENO: result: $result" >&5
12495 echo "${ECHO_T}$result" >&6; }
12499 defaultval=$wxUSE_ALL_FEATURES
12500 if test -z "$defaultval"; then
12501 if test x"$enablestring" = xdisable; then
12508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12509 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12510 # Check whether --enable-listbook was given.
12511 if test "${enable_listbook+set}" = set; then
12512 enableval=$enable_listbook;
12513 if test "$enableval" = yes; then
12514 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12516 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12522 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12523 if test "x$LINE" != x ; then
12524 eval "DEFAULT_$LINE"
12530 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12535 eval "$wx_cv_use_listbook"
12536 if test "x
$cache" = xyes; then
12537 echo "wxUSE_LISTBOOK
=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12540 if test x"$enablestring" = xdisable; then
12541 if test $wxUSE_LISTBOOK = yes; then
12547 result=$wxUSE_LISTBOOK
12550 { echo "$as_me:$LINENO: result
: $result" >&5
12551 echo "${ECHO_T}$result" >&6; }
12555 defaultval=$wxUSE_ALL_FEATURES
12556 if test -z "$defaultval"; then
12557 if test x"$enablestring" = xdisable; then
12564 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
12565 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
12566 # Check whether --enable-listbox was given.
12567 if test "${enable_listbox+set}" = set; then
12568 enableval=$enable_listbox;
12569 if test "$enableval" = yes; then
12570 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12572 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12578 LINE=`grep "^wxUSE_LISTBOX
=" ${wx_arg_cache_file}`
12579 if test "x
$LINE" != x ; then
12580 eval "DEFAULT_
$LINE"
12586 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12591 eval "$wx_cv_use_listbox"
12592 if test "x$cache" = xyes
; then
12593 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12596 if test x
"$enablestring" = xdisable
; then
12597 if test $wxUSE_LISTBOX = yes; then
12603 result
=$wxUSE_LISTBOX
12606 { echo "$as_me:$LINENO: result: $result" >&5
12607 echo "${ECHO_T}$result" >&6; }
12611 defaultval
=$wxUSE_ALL_FEATURES
12612 if test -z "$defaultval"; then
12613 if test x
"$enablestring" = xdisable
; then
12620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12621 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12622 # Check whether --enable-listctrl was given.
12623 if test "${enable_listctrl+set}" = set; then
12624 enableval
=$enable_listctrl;
12625 if test "$enableval" = yes; then
12626 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12628 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12634 LINE
=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12635 if test "x$LINE" != x
; then
12636 eval "DEFAULT_$LINE"
12642 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12647 eval "$wx_cv_use_listctrl"
12648 if test "x$cache" = xyes; then
12649 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12652 if test x"$enablestring" = xdisable; then
12653 if test $wxUSE_LISTCTRL = yes; then
12659 result=$wxUSE_LISTCTRL
12662 { echo "$as_me:$LINENO: result: $result" >&5
12663 echo "${ECHO_T}$result" >&6; }
12667 defaultval=$wxUSE_ALL_FEATURES
12668 if test -z "$defaultval"; then
12669 if test x"$enablestring" = xdisable; then
12676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12677 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12678 # Check whether --enable-notebook was given.
12679 if test "${enable_notebook+set}" = set; then
12680 enableval=$enable_notebook;
12681 if test "$enableval" = yes; then
12682 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12684 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12690 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12691 if test "x$LINE" != x ; then
12692 eval "DEFAULT_$LINE"
12698 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12703 eval "$wx_cv_use_notebook"
12704 if test "x
$cache" = xyes; then
12705 echo "wxUSE_NOTEBOOK
=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12708 if test x"$enablestring" = xdisable; then
12709 if test $wxUSE_NOTEBOOK = yes; then
12715 result=$wxUSE_NOTEBOOK
12718 { echo "$as_me:$LINENO: result
: $result" >&5
12719 echo "${ECHO_T}$result" >&6; }
12723 defaultval=$wxUSE_ALL_FEATURES
12724 if test -z "$defaultval"; then
12725 if test x"$enablestring" = xdisable; then
12732 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
12733 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
12734 # Check whether --enable-odcombobox was given.
12735 if test "${enable_odcombobox+set}" = set; then
12736 enableval=$enable_odcombobox;
12737 if test "$enableval" = yes; then
12738 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12740 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12746 LINE=`grep "^wxUSE_ODCOMBOBOX
=" ${wx_arg_cache_file}`
12747 if test "x
$LINE" != x ; then
12748 eval "DEFAULT_
$LINE"
12754 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12759 eval "$wx_cv_use_odcombobox"
12760 if test "x$cache" = xyes
; then
12761 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12764 if test x
"$enablestring" = xdisable
; then
12765 if test $wxUSE_ODCOMBOBOX = yes; then
12771 result
=$wxUSE_ODCOMBOBOX
12774 { echo "$as_me:$LINENO: result: $result" >&5
12775 echo "${ECHO_T}$result" >&6; }
12779 defaultval
=$wxUSE_ALL_FEATURES
12780 if test -z "$defaultval"; then
12781 if test x
"$enablestring" = xdisable
; then
12788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12789 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12790 # Check whether --enable-radiobox was given.
12791 if test "${enable_radiobox+set}" = set; then
12792 enableval
=$enable_radiobox;
12793 if test "$enableval" = yes; then
12794 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
12796 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
12802 LINE
=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12803 if test "x$LINE" != x
; then
12804 eval "DEFAULT_$LINE"
12810 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12815 eval "$wx_cv_use_radiobox"
12816 if test "x$cache" = xyes; then
12817 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12820 if test x"$enablestring" = xdisable; then
12821 if test $wxUSE_RADIOBOX = yes; then
12827 result=$wxUSE_RADIOBOX
12830 { echo "$as_me:$LINENO: result: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12846 # Check whether --enable-radiobtn was given.
12847 if test "${enable_radiobtn+set}" = set; then
12848 enableval=$enable_radiobtn;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
12852 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
12858 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12859 if test "x$LINE" != x ; then
12860 eval "DEFAULT_$LINE"
12866 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12871 eval "$wx_cv_use_radiobtn"
12872 if test "x
$cache" = xyes; then
12873 echo "wxUSE_RADIOBTN
=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12876 if test x"$enablestring" = xdisable; then
12877 if test $wxUSE_RADIOBTN = yes; then
12883 result=$wxUSE_RADIOBTN
12886 { echo "$as_me:$LINENO: result
: $result" >&5
12887 echo "${ECHO_T}$result" >&6; }
12891 defaultval=$wxUSE_ALL_FEATURES
12892 if test -z "$defaultval"; then
12893 if test x"$enablestring" = xdisable; then
12900 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
12901 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
12902 # Check whether --enable-sash was given.
12903 if test "${enable_sash+set}" = set; then
12904 enableval=$enable_sash;
12905 if test "$enableval" = yes; then
12906 wx_cv_use_sash='wxUSE_SASH=yes'
12908 wx_cv_use_sash='wxUSE_SASH=no'
12914 LINE=`grep "^wxUSE_SASH
=" ${wx_arg_cache_file}`
12915 if test "x
$LINE" != x ; then
12916 eval "DEFAULT_
$LINE"
12922 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12927 eval "$wx_cv_use_sash"
12928 if test "x$cache" = xyes
; then
12929 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12932 if test x
"$enablestring" = xdisable
; then
12933 if test $wxUSE_SASH = yes; then
12942 { echo "$as_me:$LINENO: result: $result" >&5
12943 echo "${ECHO_T}$result" >&6; }
12947 defaultval
=$wxUSE_ALL_FEATURES
12948 if test -z "$defaultval"; then
12949 if test x
"$enablestring" = xdisable
; then
12956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12957 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12958 # Check whether --enable-scrollbar was given.
12959 if test "${enable_scrollbar+set}" = set; then
12960 enableval
=$enable_scrollbar;
12961 if test "$enableval" = yes; then
12962 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
12964 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
12970 LINE
=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12971 if test "x$LINE" != x
; then
12972 eval "DEFAULT_$LINE"
12978 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12983 eval "$wx_cv_use_scrollbar"
12984 if test "x$cache" = xyes; then
12985 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12988 if test x"$enablestring" = xdisable; then
12989 if test $wxUSE_SCROLLBAR = yes; then
12995 result=$wxUSE_SCROLLBAR
12998 { echo "$as_me:$LINENO: result: $result" >&5
12999 echo "${ECHO_T}$result" >&6; }
13003 defaultval=$wxUSE_ALL_FEATURES
13004 if test -z "$defaultval"; then
13005 if test x"$enablestring" = xdisable; then
13012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13013 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13014 # Check whether --enable-searchctrl was given.
13015 if test "${enable_searchctrl+set}" = set; then
13016 enableval=$enable_searchctrl;
13017 if test "$enableval" = yes; then
13018 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
13020 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
13026 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13027 if test "x$LINE" != x ; then
13028 eval "DEFAULT_$LINE"
13034 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13039 eval "$wx_cv_use_searchctrl"
13040 if test "x
$cache" = xyes; then
13041 echo "wxUSE_SEARCHCTRL
=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13044 if test x"$enablestring" = xdisable; then
13045 if test $wxUSE_SEARCHCTRL = yes; then
13051 result=$wxUSE_SEARCHCTRL
13054 { echo "$as_me:$LINENO: result
: $result" >&5
13055 echo "${ECHO_T}$result" >&6; }
13059 defaultval=$wxUSE_ALL_FEATURES
13060 if test -z "$defaultval"; then
13061 if test x"$enablestring" = xdisable; then
13068 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
13069 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
13070 # Check whether --enable-slider was given.
13071 if test "${enable_slider+set}" = set; then
13072 enableval=$enable_slider;
13073 if test "$enableval" = yes; then
13074 wx_cv_use_slider='wxUSE_SLIDER=yes'
13076 wx_cv_use_slider='wxUSE_SLIDER=no'
13082 LINE=`grep "^wxUSE_SLIDER
=" ${wx_arg_cache_file}`
13083 if test "x
$LINE" != x ; then
13084 eval "DEFAULT_
$LINE"
13090 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13095 eval "$wx_cv_use_slider"
13096 if test "x$cache" = xyes
; then
13097 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13100 if test x
"$enablestring" = xdisable
; then
13101 if test $wxUSE_SLIDER = yes; then
13107 result
=$wxUSE_SLIDER
13110 { echo "$as_me:$LINENO: result: $result" >&5
13111 echo "${ECHO_T}$result" >&6; }
13115 defaultval
=$wxUSE_ALL_FEATURES
13116 if test -z "$defaultval"; then
13117 if test x
"$enablestring" = xdisable
; then
13124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13125 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13126 # Check whether --enable-spinbtn was given.
13127 if test "${enable_spinbtn+set}" = set; then
13128 enableval
=$enable_spinbtn;
13129 if test "$enableval" = yes; then
13130 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
13132 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
13138 LINE
=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13139 if test "x$LINE" != x
; then
13140 eval "DEFAULT_$LINE"
13146 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13151 eval "$wx_cv_use_spinbtn"
13152 if test "x$cache" = xyes; then
13153 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13156 if test x"$enablestring" = xdisable; then
13157 if test $wxUSE_SPINBTN = yes; then
13163 result=$wxUSE_SPINBTN
13166 { echo "$as_me:$LINENO: result: $result" >&5
13167 echo "${ECHO_T}$result" >&6; }
13171 defaultval=$wxUSE_ALL_FEATURES
13172 if test -z "$defaultval"; then
13173 if test x"$enablestring" = xdisable; then
13180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13181 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13182 # Check whether --enable-spinctrl was given.
13183 if test "${enable_spinctrl+set}" = set; then
13184 enableval=$enable_spinctrl;
13185 if test "$enableval" = yes; then
13186 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
13188 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
13194 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13195 if test "x$LINE" != x ; then
13196 eval "DEFAULT_$LINE"
13202 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13207 eval "$wx_cv_use_spinctrl"
13208 if test "x
$cache" = xyes; then
13209 echo "wxUSE_SPINCTRL
=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_SPINCTRL = yes; then
13219 result=$wxUSE_SPINCTRL
13222 { echo "$as_me:$LINENO: result
: $result" >&5
13223 echo "${ECHO_T}$result" >&6; }
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z "$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13236 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
13237 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
13238 # Check whether --enable-splitter was given.
13239 if test "${enable_splitter+set}" = set; then
13240 enableval=$enable_splitter;
13241 if test "$enableval" = yes; then
13242 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13244 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13250 LINE=`grep "^wxUSE_SPLITTER
=" ${wx_arg_cache_file}`
13251 if test "x
$LINE" != x ; then
13252 eval "DEFAULT_
$LINE"
13258 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13263 eval "$wx_cv_use_splitter"
13264 if test "x$cache" = xyes
; then
13265 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13268 if test x
"$enablestring" = xdisable
; then
13269 if test $wxUSE_SPLITTER = yes; then
13275 result
=$wxUSE_SPLITTER
13278 { echo "$as_me:$LINENO: result: $result" >&5
13279 echo "${ECHO_T}$result" >&6; }
13283 defaultval
=$wxUSE_ALL_FEATURES
13284 if test -z "$defaultval"; then
13285 if test x
"$enablestring" = xdisable
; then
13292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13293 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13294 # Check whether --enable-statbmp was given.
13295 if test "${enable_statbmp+set}" = set; then
13296 enableval
=$enable_statbmp;
13297 if test "$enableval" = yes; then
13298 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
13300 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
13306 LINE
=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13307 if test "x$LINE" != x
; then
13308 eval "DEFAULT_$LINE"
13314 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13319 eval "$wx_cv_use_statbmp"
13320 if test "x$cache" = xyes; then
13321 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13324 if test x"$enablestring" = xdisable; then
13325 if test $wxUSE_STATBMP = yes; then
13331 result=$wxUSE_STATBMP
13334 { echo "$as_me:$LINENO: result: $result" >&5
13335 echo "${ECHO_T}$result" >&6; }
13339 defaultval=$wxUSE_ALL_FEATURES
13340 if test -z "$defaultval"; then
13341 if test x"$enablestring" = xdisable; then
13348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13349 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13350 # Check whether --enable-statbox was given.
13351 if test "${enable_statbox+set}" = set; then
13352 enableval=$enable_statbox;
13353 if test "$enableval" = yes; then
13354 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
13356 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
13362 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13363 if test "x$LINE" != x ; then
13364 eval "DEFAULT_$LINE"
13370 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13375 eval "$wx_cv_use_statbox"
13376 if test "x
$cache" = xyes; then
13377 echo "wxUSE_STATBOX
=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13380 if test x"$enablestring" = xdisable; then
13381 if test $wxUSE_STATBOX = yes; then
13387 result=$wxUSE_STATBOX
13390 { echo "$as_me:$LINENO: result
: $result" >&5
13391 echo "${ECHO_T}$result" >&6; }
13395 defaultval=$wxUSE_ALL_FEATURES
13396 if test -z "$defaultval"; then
13397 if test x"$enablestring" = xdisable; then
13404 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
13405 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
13406 # Check whether --enable-statline was given.
13407 if test "${enable_statline+set}" = set; then
13408 enableval=$enable_statline;
13409 if test "$enableval" = yes; then
13410 wx_cv_use_statline='wxUSE_STATLINE=yes'
13412 wx_cv_use_statline='wxUSE_STATLINE=no'
13418 LINE=`grep "^wxUSE_STATLINE
=" ${wx_arg_cache_file}`
13419 if test "x
$LINE" != x ; then
13420 eval "DEFAULT_
$LINE"
13426 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13431 eval "$wx_cv_use_statline"
13432 if test "x$cache" = xyes
; then
13433 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13436 if test x
"$enablestring" = xdisable
; then
13437 if test $wxUSE_STATLINE = yes; then
13443 result
=$wxUSE_STATLINE
13446 { echo "$as_me:$LINENO: result: $result" >&5
13447 echo "${ECHO_T}$result" >&6; }
13451 defaultval
=$wxUSE_ALL_FEATURES
13452 if test -z "$defaultval"; then
13453 if test x
"$enablestring" = xdisable
; then
13460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13461 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13462 # Check whether --enable-stattext was given.
13463 if test "${enable_stattext+set}" = set; then
13464 enableval
=$enable_stattext;
13465 if test "$enableval" = yes; then
13466 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
13468 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
13474 LINE
=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13475 if test "x$LINE" != x
; then
13476 eval "DEFAULT_$LINE"
13482 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13487 eval "$wx_cv_use_stattext"
13488 if test "x$cache" = xyes; then
13489 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13492 if test x"$enablestring" = xdisable; then
13493 if test $wxUSE_STATTEXT = yes; then
13499 result=$wxUSE_STATTEXT
13502 { echo "$as_me:$LINENO: result: $result" >&5
13503 echo "${ECHO_T}$result" >&6; }
13507 defaultval=$wxUSE_ALL_FEATURES
13508 if test -z "$defaultval"; then
13509 if test x"$enablestring" = xdisable; then
13516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13517 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13518 # Check whether --enable-statusbar was given.
13519 if test "${enable_statusbar+set}" = set; then
13520 enableval=$enable_statusbar;
13521 if test "$enableval" = yes; then
13522 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
13524 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
13530 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13531 if test "x$LINE" != x ; then
13532 eval "DEFAULT_$LINE"
13538 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13543 eval "$wx_cv_use_statusbar"
13544 if test "x
$cache" = xyes; then
13545 echo "wxUSE_STATUSBAR
=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13548 if test x"$enablestring" = xdisable; then
13549 if test $wxUSE_STATUSBAR = yes; then
13555 result=$wxUSE_STATUSBAR
13558 { echo "$as_me:$LINENO: result
: $result" >&5
13559 echo "${ECHO_T}$result" >&6; }
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13572 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tabdialog" >&5
13573 echo $ECHO_N "checking
for --${enablestring:-enable}-tabdialog...
$ECHO_C" >&6; }
13574 # Check whether --enable-tabdialog was given.
13575 if test "${enable_tabdialog+set}" = set; then
13576 enableval=$enable_tabdialog;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13580 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13586 LINE=`grep "^wxUSE_TAB_DIALOG
=" ${wx_arg_cache_file}`
13587 if test "x
$LINE" != x ; then
13588 eval "DEFAULT_
$LINE"
13594 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13599 eval "$wx_cv_use_tabdialog"
13600 if test "x$cache" = xyes
; then
13601 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13604 if test x
"$enablestring" = xdisable
; then
13605 if test $wxUSE_TAB_DIALOG = yes; then
13611 result
=$wxUSE_TAB_DIALOG
13614 { echo "$as_me:$LINENO: result: $result" >&5
13615 echo "${ECHO_T}$result" >&6; }
13619 defaultval
=$wxUSE_ALL_FEATURES
13620 if test -z "$defaultval"; then
13621 if test x
"$enablestring" = xdisable
; then
13628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13629 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13630 # Check whether --enable-taskbaricon was given.
13631 if test "${enable_taskbaricon+set}" = set; then
13632 enableval
=$enable_taskbaricon;
13633 if test "$enableval" = yes; then
13634 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13636 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13642 LINE
=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13643 if test "x$LINE" != x
; then
13644 eval "DEFAULT_$LINE"
13650 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13655 eval "$wx_cv_use_taskbaricon"
13656 if test "x$cache" = xyes; then
13657 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13660 if test x"$enablestring" = xdisable; then
13661 if test $wxUSE_TASKBARICON = yes; then
13667 result=$wxUSE_TASKBARICON
13670 { echo "$as_me:$LINENO: result: $result" >&5
13671 echo "${ECHO_T}$result" >&6; }
13675 defaultval=$wxUSE_ALL_FEATURES
13676 if test -z "$defaultval"; then
13677 if test x"$enablestring" = xdisable; then
13684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13685 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13686 # Check whether --enable-textctrl was given.
13687 if test "${enable_textctrl+set}" = set; then
13688 enableval=$enable_textctrl;
13689 if test "$enableval" = yes; then
13690 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
13692 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
13698 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13699 if test "x$LINE" != x ; then
13700 eval "DEFAULT_$LINE"
13706 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13711 eval "$wx_cv_use_textctrl"
13712 if test "x
$cache" = xyes; then
13713 echo "wxUSE_TEXTCTRL
=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13716 if test x"$enablestring" = xdisable; then
13717 if test $wxUSE_TEXTCTRL = yes; then
13723 result=$wxUSE_TEXTCTRL
13726 { echo "$as_me:$LINENO: result
: $result" >&5
13727 echo "${ECHO_T}$result" >&6; }
13731 defaultval=$wxUSE_ALL_FEATURES
13732 if test -z "$defaultval"; then
13733 if test x"$enablestring" = xdisable; then
13740 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
13741 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
13742 # Check whether --enable-togglebtn was given.
13743 if test "${enable_togglebtn+set}" = set; then
13744 enableval=$enable_togglebtn;
13745 if test "$enableval" = yes; then
13746 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13748 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13754 LINE=`grep "^wxUSE_TOGGLEBTN
=" ${wx_arg_cache_file}`
13755 if test "x
$LINE" != x ; then
13756 eval "DEFAULT_
$LINE"
13762 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13767 eval "$wx_cv_use_togglebtn"
13768 if test "x$cache" = xyes
; then
13769 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13772 if test x
"$enablestring" = xdisable
; then
13773 if test $wxUSE_TOGGLEBTN = yes; then
13779 result
=$wxUSE_TOGGLEBTN
13782 { echo "$as_me:$LINENO: result: $result" >&5
13783 echo "${ECHO_T}$result" >&6; }
13787 defaultval
=$wxUSE_ALL_FEATURES
13788 if test -z "$defaultval"; then
13789 if test x
"$enablestring" = xdisable
; then
13796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13797 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13798 # Check whether --enable-toolbar was given.
13799 if test "${enable_toolbar+set}" = set; then
13800 enableval
=$enable_toolbar;
13801 if test "$enableval" = yes; then
13802 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13804 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13810 LINE
=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13811 if test "x$LINE" != x
; then
13812 eval "DEFAULT_$LINE"
13818 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13823 eval "$wx_cv_use_toolbar"
13824 if test "x$cache" = xyes; then
13825 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13828 if test x"$enablestring" = xdisable; then
13829 if test $wxUSE_TOOLBAR = yes; then
13835 result=$wxUSE_TOOLBAR
13838 { echo "$as_me:$LINENO: result: $result" >&5
13839 echo "${ECHO_T}$result" >&6; }
13843 defaultval=$wxUSE_ALL_FEATURES
13844 if test -z "$defaultval"; then
13845 if test x"$enablestring" = xdisable; then
13852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13853 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13854 # Check whether --enable-tbarnative was given.
13855 if test "${enable_tbarnative+set}" = set; then
13856 enableval=$enable_tbarnative;
13857 if test "$enableval" = yes; then
13858 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13860 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13866 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13867 if test "x$LINE" != x ; then
13868 eval "DEFAULT_$LINE"
13874 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13879 eval "$wx_cv_use_tbarnative"
13880 if test "x
$cache" = xyes; then
13881 echo "wxUSE_TOOLBAR_NATIVE
=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13884 if test x"$enablestring" = xdisable; then
13885 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13891 result=$wxUSE_TOOLBAR_NATIVE
13894 { echo "$as_me:$LINENO: result
: $result" >&5
13895 echo "${ECHO_T}$result" >&6; }
13899 defaultval=$wxUSE_ALL_FEATURES
13900 if test -z "$defaultval"; then
13901 if test x"$enablestring" = xdisable; then
13908 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
13909 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
13910 # Check whether --enable-treebook was given.
13911 if test "${enable_treebook+set}" = set; then
13912 enableval=$enable_treebook;
13913 if test "$enableval" = yes; then
13914 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13916 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13922 LINE=`grep "^wxUSE_TREEBOOK
=" ${wx_arg_cache_file}`
13923 if test "x
$LINE" != x ; then
13924 eval "DEFAULT_
$LINE"
13930 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13935 eval "$wx_cv_use_treebook"
13936 if test "x$cache" = xyes
; then
13937 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13940 if test x
"$enablestring" = xdisable
; then
13941 if test $wxUSE_TREEBOOK = yes; then
13947 result
=$wxUSE_TREEBOOK
13950 { echo "$as_me:$LINENO: result: $result" >&5
13951 echo "${ECHO_T}$result" >&6; }
13955 defaultval
=$wxUSE_ALL_FEATURES
13956 if test -z "$defaultval"; then
13957 if test x
"$enablestring" = xdisable
; then
13964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13965 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13966 # Check whether --enable-toolbook was given.
13967 if test "${enable_toolbook+set}" = set; then
13968 enableval
=$enable_toolbook;
13969 if test "$enableval" = yes; then
13970 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
13972 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
13978 LINE
=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13979 if test "x$LINE" != x
; then
13980 eval "DEFAULT_$LINE"
13986 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13991 eval "$wx_cv_use_toolbook"
13992 if test "x$cache" = xyes; then
13993 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13996 if test x"$enablestring" = xdisable; then
13997 if test $wxUSE_TOOLBOOK = yes; then
14003 result=$wxUSE_TOOLBOOK
14006 { echo "$as_me:$LINENO: result: $result" >&5
14007 echo "${ECHO_T}$result" >&6; }
14011 defaultval=$wxUSE_ALL_FEATURES
14012 if test -z "$defaultval"; then
14013 if test x"$enablestring" = xdisable; then
14020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14021 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14022 # Check whether --enable-treectrl was given.
14023 if test "${enable_treectrl+set}" = set; then
14024 enableval=$enable_treectrl;
14025 if test "$enableval" = yes; then
14026 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14028 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14034 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14035 if test "x$LINE" != x ; then
14036 eval "DEFAULT_$LINE"
14042 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14047 eval "$wx_cv_use_treectrl"
14048 if test "x
$cache" = xyes; then
14049 echo "wxUSE_TREECTRL
=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14052 if test x"$enablestring" = xdisable; then
14053 if test $wxUSE_TREECTRL = yes; then
14059 result=$wxUSE_TREECTRL
14062 { echo "$as_me:$LINENO: result
: $result" >&5
14063 echo "${ECHO_T}$result" >&6; }
14067 defaultval=$wxUSE_ALL_FEATURES
14068 if test -z "$defaultval"; then
14069 if test x"$enablestring" = xdisable; then
14076 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
14077 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
14078 # Check whether --enable-tipwindow was given.
14079 if test "${enable_tipwindow+set}" = set; then
14080 enableval=$enable_tipwindow;
14081 if test "$enableval" = yes; then
14082 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14084 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14090 LINE=`grep "^wxUSE_TIPWINDOW
=" ${wx_arg_cache_file}`
14091 if test "x
$LINE" != x ; then
14092 eval "DEFAULT_
$LINE"
14098 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14103 eval "$wx_cv_use_tipwindow"
14104 if test "x$cache" = xyes
; then
14105 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14108 if test x
"$enablestring" = xdisable
; then
14109 if test $wxUSE_TIPWINDOW = yes; then
14115 result
=$wxUSE_TIPWINDOW
14118 { echo "$as_me:$LINENO: result: $result" >&5
14119 echo "${ECHO_T}$result" >&6; }
14123 defaultval
=$wxUSE_ALL_FEATURES
14124 if test -z "$defaultval"; then
14125 if test x
"$enablestring" = xdisable
; then
14132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14133 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14134 # Check whether --enable-popupwin was given.
14135 if test "${enable_popupwin+set}" = set; then
14136 enableval
=$enable_popupwin;
14137 if test "$enableval" = yes; then
14138 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
14140 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
14146 LINE
=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14147 if test "x$LINE" != x
; then
14148 eval "DEFAULT_$LINE"
14154 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14159 eval "$wx_cv_use_popupwin"
14160 if test "x$cache" = xyes; then
14161 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14164 if test x"$enablestring" = xdisable; then
14165 if test $wxUSE_POPUPWIN = yes; then
14171 result=$wxUSE_POPUPWIN
14174 { echo "$as_me:$LINENO: result: $result" >&5
14175 echo "${ECHO_T}$result" >&6; }
14181 defaultval=$wxUSE_ALL_FEATURES
14182 if test -z "$defaultval"; then
14183 if test x"$enablestring" = xdisable; then
14190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14191 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14192 # Check whether --enable-commondlg was given.
14193 if test "${enable_commondlg+set}" = set; then
14194 enableval=$enable_commondlg;
14195 if test "$enableval" = yes; then
14196 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
14198 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
14204 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14205 if test "x$LINE" != x ; then
14206 eval "DEFAULT_$LINE"
14212 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14217 eval "$wx_cv_use_commondlg"
14218 if test "x
$cache" = xyes; then
14219 echo "wxUSE_COMMONDLGS
=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14222 if test x"$enablestring" = xdisable; then
14223 if test $wxUSE_COMMONDLGS = yes; then
14229 result=$wxUSE_COMMONDLGS
14232 { echo "$as_me:$LINENO: result
: $result" >&5
14233 echo "${ECHO_T}$result" >&6; }
14237 defaultval=$wxUSE_ALL_FEATURES
14238 if test -z "$defaultval"; then
14239 if test x"$enablestring" = xdisable; then
14246 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
14247 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
14248 # Check whether --enable-aboutdlg was given.
14249 if test "${enable_aboutdlg+set}" = set; then
14250 enableval=$enable_aboutdlg;
14251 if test "$enableval" = yes; then
14252 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14254 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14260 LINE=`grep "^wxUSE_ABOUTDLG
=" ${wx_arg_cache_file}`
14261 if test "x
$LINE" != x ; then
14262 eval "DEFAULT_
$LINE"
14268 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14273 eval "$wx_cv_use_aboutdlg"
14274 if test "x$cache" = xyes
; then
14275 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14278 if test x
"$enablestring" = xdisable
; then
14279 if test $wxUSE_ABOUTDLG = yes; then
14285 result
=$wxUSE_ABOUTDLG
14288 { echo "$as_me:$LINENO: result: $result" >&5
14289 echo "${ECHO_T}$result" >&6; }
14293 defaultval
=$wxUSE_ALL_FEATURES
14294 if test -z "$defaultval"; then
14295 if test x
"$enablestring" = xdisable
; then
14302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14303 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14304 # Check whether --enable-choicedlg was given.
14305 if test "${enable_choicedlg+set}" = set; then
14306 enableval
=$enable_choicedlg;
14307 if test "$enableval" = yes; then
14308 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
14310 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
14316 LINE
=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14317 if test "x$LINE" != x
; then
14318 eval "DEFAULT_$LINE"
14324 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14329 eval "$wx_cv_use_choicedlg"
14330 if test "x$cache" = xyes; then
14331 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14334 if test x"$enablestring" = xdisable; then
14335 if test $wxUSE_CHOICEDLG = yes; then
14341 result=$wxUSE_CHOICEDLG
14344 { echo "$as_me:$LINENO: result: $result" >&5
14345 echo "${ECHO_T}$result" >&6; }
14349 defaultval=$wxUSE_ALL_FEATURES
14350 if test -z "$defaultval"; then
14351 if test x"$enablestring" = xdisable; then
14358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14359 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14360 # Check whether --enable-coldlg was given.
14361 if test "${enable_coldlg+set}" = set; then
14362 enableval=$enable_coldlg;
14363 if test "$enableval" = yes; then
14364 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
14366 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
14372 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14373 if test "x$LINE" != x ; then
14374 eval "DEFAULT_$LINE"
14380 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14385 eval "$wx_cv_use_coldlg"
14386 if test "x
$cache" = xyes; then
14387 echo "wxUSE_COLOURDLG
=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14390 if test x"$enablestring" = xdisable; then
14391 if test $wxUSE_COLOURDLG = yes; then
14397 result=$wxUSE_COLOURDLG
14400 { echo "$as_me:$LINENO: result
: $result" >&5
14401 echo "${ECHO_T}$result" >&6; }
14405 defaultval=$wxUSE_ALL_FEATURES
14406 if test -z "$defaultval"; then
14407 if test x"$enablestring" = xdisable; then
14414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
14415 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
14416 # Check whether --enable-filedlg was given.
14417 if test "${enable_filedlg+set}" = set; then
14418 enableval=$enable_filedlg;
14419 if test "$enableval" = yes; then
14420 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14422 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14428 LINE=`grep "^wxUSE_FILEDLG
=" ${wx_arg_cache_file}`
14429 if test "x
$LINE" != x ; then
14430 eval "DEFAULT_
$LINE"
14436 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14441 eval "$wx_cv_use_filedlg"
14442 if test "x$cache" = xyes
; then
14443 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14446 if test x
"$enablestring" = xdisable
; then
14447 if test $wxUSE_FILEDLG = yes; then
14453 result
=$wxUSE_FILEDLG
14456 { echo "$as_me:$LINENO: result: $result" >&5
14457 echo "${ECHO_T}$result" >&6; }
14461 defaultval
=$wxUSE_ALL_FEATURES
14462 if test -z "$defaultval"; then
14463 if test x
"$enablestring" = xdisable
; then
14470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14471 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14472 # Check whether --enable-finddlg was given.
14473 if test "${enable_finddlg+set}" = set; then
14474 enableval
=$enable_finddlg;
14475 if test "$enableval" = yes; then
14476 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
14478 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
14484 LINE
=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14485 if test "x$LINE" != x
; then
14486 eval "DEFAULT_$LINE"
14492 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14497 eval "$wx_cv_use_finddlg"
14498 if test "x$cache" = xyes; then
14499 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14502 if test x"$enablestring" = xdisable; then
14503 if test $wxUSE_FINDREPLDLG = yes; then
14509 result=$wxUSE_FINDREPLDLG
14512 { echo "$as_me:$LINENO: result: $result" >&5
14513 echo "${ECHO_T}$result" >&6; }
14517 defaultval=$wxUSE_ALL_FEATURES
14518 if test -z "$defaultval"; then
14519 if test x"$enablestring" = xdisable; then
14526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14527 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14528 # Check whether --enable-fontdlg was given.
14529 if test "${enable_fontdlg+set}" = set; then
14530 enableval=$enable_fontdlg;
14531 if test "$enableval" = yes; then
14532 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
14534 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
14540 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14541 if test "x$LINE" != x ; then
14542 eval "DEFAULT_$LINE"
14548 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14553 eval "$wx_cv_use_fontdlg"
14554 if test "x
$cache" = xyes; then
14555 echo "wxUSE_FONTDLG
=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14558 if test x"$enablestring" = xdisable; then
14559 if test $wxUSE_FONTDLG = yes; then
14565 result=$wxUSE_FONTDLG
14568 { echo "$as_me:$LINENO: result
: $result" >&5
14569 echo "${ECHO_T}$result" >&6; }
14573 defaultval=$wxUSE_ALL_FEATURES
14574 if test -z "$defaultval"; then
14575 if test x"$enablestring" = xdisable; then
14582 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
14583 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
14584 # Check whether --enable-dirdlg was given.
14585 if test "${enable_dirdlg+set}" = set; then
14586 enableval=$enable_dirdlg;
14587 if test "$enableval" = yes; then
14588 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14590 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14596 LINE=`grep "^wxUSE_DIRDLG
=" ${wx_arg_cache_file}`
14597 if test "x
$LINE" != x ; then
14598 eval "DEFAULT_
$LINE"
14604 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14609 eval "$wx_cv_use_dirdlg"
14610 if test "x$cache" = xyes
; then
14611 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14614 if test x
"$enablestring" = xdisable
; then
14615 if test $wxUSE_DIRDLG = yes; then
14621 result
=$wxUSE_DIRDLG
14624 { echo "$as_me:$LINENO: result: $result" >&5
14625 echo "${ECHO_T}$result" >&6; }
14629 defaultval
=$wxUSE_ALL_FEATURES
14630 if test -z "$defaultval"; then
14631 if test x
"$enablestring" = xdisable
; then
14638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14639 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14640 # Check whether --enable-msgdlg was given.
14641 if test "${enable_msgdlg+set}" = set; then
14642 enableval
=$enable_msgdlg;
14643 if test "$enableval" = yes; then
14644 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
14646 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
14652 LINE
=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14653 if test "x$LINE" != x
; then
14654 eval "DEFAULT_$LINE"
14660 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14665 eval "$wx_cv_use_msgdlg"
14666 if test "x$cache" = xyes; then
14667 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14670 if test x"$enablestring" = xdisable; then
14671 if test $wxUSE_MSGDLG = yes; then
14677 result=$wxUSE_MSGDLG
14680 { echo "$as_me:$LINENO: result: $result" >&5
14681 echo "${ECHO_T}$result" >&6; }
14685 defaultval=$wxUSE_ALL_FEATURES
14686 if test -z "$defaultval"; then
14687 if test x"$enablestring" = xdisable; then
14694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14695 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14696 # Check whether --enable-numberdlg was given.
14697 if test "${enable_numberdlg+set}" = set; then
14698 enableval=$enable_numberdlg;
14699 if test "$enableval" = yes; then
14700 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
14702 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
14708 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14709 if test "x$LINE" != x ; then
14710 eval "DEFAULT_$LINE"
14716 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14721 eval "$wx_cv_use_numberdlg"
14722 if test "x
$cache" = xyes; then
14723 echo "wxUSE_NUMBERDLG
=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14726 if test x"$enablestring" = xdisable; then
14727 if test $wxUSE_NUMBERDLG = yes; then
14733 result=$wxUSE_NUMBERDLG
14736 { echo "$as_me:$LINENO: result
: $result" >&5
14737 echo "${ECHO_T}$result" >&6; }
14741 defaultval=$wxUSE_ALL_FEATURES
14742 if test -z "$defaultval"; then
14743 if test x"$enablestring" = xdisable; then
14750 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
14751 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
14752 # Check whether --enable-splash was given.
14753 if test "${enable_splash+set}" = set; then
14754 enableval=$enable_splash;
14755 if test "$enableval" = yes; then
14756 wx_cv_use_splash='wxUSE_SPLASH=yes'
14758 wx_cv_use_splash='wxUSE_SPLASH=no'
14764 LINE=`grep "^wxUSE_SPLASH
=" ${wx_arg_cache_file}`
14765 if test "x
$LINE" != x ; then
14766 eval "DEFAULT_
$LINE"
14772 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14777 eval "$wx_cv_use_splash"
14778 if test "x$cache" = xyes
; then
14779 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14782 if test x
"$enablestring" = xdisable
; then
14783 if test $wxUSE_SPLASH = yes; then
14789 result
=$wxUSE_SPLASH
14792 { echo "$as_me:$LINENO: result: $result" >&5
14793 echo "${ECHO_T}$result" >&6; }
14797 defaultval
=$wxUSE_ALL_FEATURES
14798 if test -z "$defaultval"; then
14799 if test x
"$enablestring" = xdisable
; then
14806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14807 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14808 # Check whether --enable-textdlg was given.
14809 if test "${enable_textdlg+set}" = set; then
14810 enableval
=$enable_textdlg;
14811 if test "$enableval" = yes; then
14812 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
14814 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
14820 LINE
=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14821 if test "x$LINE" != x
; then
14822 eval "DEFAULT_$LINE"
14828 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14833 eval "$wx_cv_use_textdlg"
14834 if test "x$cache" = xyes; then
14835 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14838 if test x"$enablestring" = xdisable; then
14839 if test $wxUSE_TEXTDLG = yes; then
14845 result=$wxUSE_TEXTDLG
14848 { echo "$as_me:$LINENO: result: $result" >&5
14849 echo "${ECHO_T}$result" >&6; }
14853 defaultval=$wxUSE_ALL_FEATURES
14854 if test -z "$defaultval"; then
14855 if test x"$enablestring" = xdisable; then
14862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14863 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14864 # Check whether --enable-tipdlg was given.
14865 if test "${enable_tipdlg+set}" = set; then
14866 enableval=$enable_tipdlg;
14867 if test "$enableval" = yes; then
14868 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
14870 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
14876 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14877 if test "x$LINE" != x ; then
14878 eval "DEFAULT_$LINE"
14884 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14889 eval "$wx_cv_use_tipdlg"
14890 if test "x
$cache" = xyes; then
14891 echo "wxUSE_STARTUP_TIPS
=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14894 if test x"$enablestring" = xdisable; then
14895 if test $wxUSE_STARTUP_TIPS = yes; then
14901 result=$wxUSE_STARTUP_TIPS
14904 { echo "$as_me:$LINENO: result
: $result" >&5
14905 echo "${ECHO_T}$result" >&6; }
14909 defaultval=$wxUSE_ALL_FEATURES
14910 if test -z "$defaultval"; then
14911 if test x"$enablestring" = xdisable; then
14918 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
14919 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
14920 # Check whether --enable-progressdlg was given.
14921 if test "${enable_progressdlg+set}" = set; then
14922 enableval=$enable_progressdlg;
14923 if test "$enableval" = yes; then
14924 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14926 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14932 LINE=`grep "^wxUSE_PROGRESSDLG
=" ${wx_arg_cache_file}`
14933 if test "x
$LINE" != x ; then
14934 eval "DEFAULT_
$LINE"
14940 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14945 eval "$wx_cv_use_progressdlg"
14946 if test "x$cache" = xyes
; then
14947 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14950 if test x
"$enablestring" = xdisable
; then
14951 if test $wxUSE_PROGRESSDLG = yes; then
14957 result
=$wxUSE_PROGRESSDLG
14960 { echo "$as_me:$LINENO: result: $result" >&5
14961 echo "${ECHO_T}$result" >&6; }
14965 defaultval
=$wxUSE_ALL_FEATURES
14966 if test -z "$defaultval"; then
14967 if test x
"$enablestring" = xdisable
; then
14974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14975 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14976 # Check whether --enable-wizarddlg was given.
14977 if test "${enable_wizarddlg+set}" = set; then
14978 enableval
=$enable_wizarddlg;
14979 if test "$enableval" = yes; then
14980 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
14982 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
14988 LINE
=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14989 if test "x$LINE" != x
; then
14990 eval "DEFAULT_$LINE"
14996 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15001 eval "$wx_cv_use_wizarddlg"
15002 if test "x$cache" = xyes; then
15003 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15006 if test x"$enablestring" = xdisable; then
15007 if test $wxUSE_WIZARDDLG = yes; then
15013 result=$wxUSE_WIZARDDLG
15016 { echo "$as_me:$LINENO: result: $result" >&5
15017 echo "${ECHO_T}$result" >&6; }
15023 defaultval=$wxUSE_ALL_FEATURES
15024 if test -z "$defaultval"; then
15025 if test x"$enablestring" = xdisable; then
15032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15033 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15034 # Check whether --enable-menus was given.
15035 if test "${enable_menus+set}" = set; then
15036 enableval=$enable_menus;
15037 if test "$enableval" = yes; then
15038 wx_cv_use_menus='wxUSE_MENUS
=yes'
15040 wx_cv_use_menus='wxUSE_MENUS
=no
'
15046 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15047 if test "x$LINE" != x ; then
15048 eval "DEFAULT_$LINE"
15054 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15059 eval "$wx_cv_use_menus"
15060 if test "x
$cache" = xyes; then
15061 echo "wxUSE_MENUS
=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15064 if test x"$enablestring" = xdisable; then
15065 if test $wxUSE_MENUS = yes; then
15071 result=$wxUSE_MENUS
15074 { echo "$as_me:$LINENO: result
: $result" >&5
15075 echo "${ECHO_T}$result" >&6; }
15079 defaultval=$wxUSE_ALL_FEATURES
15080 if test -z "$defaultval"; then
15081 if test x"$enablestring" = xdisable; then
15088 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
15089 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
15090 # Check whether --enable-miniframe was given.
15091 if test "${enable_miniframe+set}" = set; then
15092 enableval=$enable_miniframe;
15093 if test "$enableval" = yes; then
15094 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15096 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15102 LINE=`grep "^wxUSE_MINIFRAME
=" ${wx_arg_cache_file}`
15103 if test "x
$LINE" != x ; then
15104 eval "DEFAULT_
$LINE"
15110 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15115 eval "$wx_cv_use_miniframe"
15116 if test "x$cache" = xyes
; then
15117 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15120 if test x
"$enablestring" = xdisable
; then
15121 if test $wxUSE_MINIFRAME = yes; then
15127 result
=$wxUSE_MINIFRAME
15130 { echo "$as_me:$LINENO: result: $result" >&5
15131 echo "${ECHO_T}$result" >&6; }
15135 defaultval
=$wxUSE_ALL_FEATURES
15136 if test -z "$defaultval"; then
15137 if test x
"$enablestring" = xdisable
; then
15144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15145 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15146 # Check whether --enable-tooltips was given.
15147 if test "${enable_tooltips+set}" = set; then
15148 enableval
=$enable_tooltips;
15149 if test "$enableval" = yes; then
15150 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
15152 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
15158 LINE
=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15159 if test "x$LINE" != x
; then
15160 eval "DEFAULT_$LINE"
15166 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15171 eval "$wx_cv_use_tooltips"
15172 if test "x$cache" = xyes; then
15173 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15176 if test x"$enablestring" = xdisable; then
15177 if test $wxUSE_TOOLTIPS = yes; then
15183 result=$wxUSE_TOOLTIPS
15186 { echo "$as_me:$LINENO: result: $result" >&5
15187 echo "${ECHO_T}$result" >&6; }
15191 defaultval=$wxUSE_ALL_FEATURES
15192 if test -z "$defaultval"; then
15193 if test x"$enablestring" = xdisable; then
15200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15201 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15202 # Check whether --enable-splines was given.
15203 if test "${enable_splines+set}" = set; then
15204 enableval=$enable_splines;
15205 if test "$enableval" = yes; then
15206 wx_cv_use_splines='wxUSE_SPLINES
=yes'
15208 wx_cv_use_splines='wxUSE_SPLINES
=no
'
15214 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15215 if test "x$LINE" != x ; then
15216 eval "DEFAULT_$LINE"
15222 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15227 eval "$wx_cv_use_splines"
15228 if test "x
$cache" = xyes; then
15229 echo "wxUSE_SPLINES
=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15232 if test x"$enablestring" = xdisable; then
15233 if test $wxUSE_SPLINES = yes; then
15239 result=$wxUSE_SPLINES
15242 { echo "$as_me:$LINENO: result
: $result" >&5
15243 echo "${ECHO_T}$result" >&6; }
15247 defaultval=$wxUSE_ALL_FEATURES
15248 if test -z "$defaultval"; then
15249 if test x"$enablestring" = xdisable; then
15256 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
15257 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
15258 # Check whether --enable-mousewheel was given.
15259 if test "${enable_mousewheel+set}" = set; then
15260 enableval=$enable_mousewheel;
15261 if test "$enableval" = yes; then
15262 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15264 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15270 LINE=`grep "^wxUSE_MOUSEWHEEL
=" ${wx_arg_cache_file}`
15271 if test "x
$LINE" != x ; then
15272 eval "DEFAULT_
$LINE"
15278 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15283 eval "$wx_cv_use_mousewheel"
15284 if test "x$cache" = xyes
; then
15285 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15288 if test x
"$enablestring" = xdisable
; then
15289 if test $wxUSE_MOUSEWHEEL = yes; then
15295 result
=$wxUSE_MOUSEWHEEL
15298 { echo "$as_me:$LINENO: result: $result" >&5
15299 echo "${ECHO_T}$result" >&6; }
15303 defaultval
=$wxUSE_ALL_FEATURES
15304 if test -z "$defaultval"; then
15305 if test x
"$enablestring" = xdisable
; then
15312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15313 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15314 # Check whether --enable-validators was given.
15315 if test "${enable_validators+set}" = set; then
15316 enableval
=$enable_validators;
15317 if test "$enableval" = yes; then
15318 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
15320 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
15326 LINE
=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15327 if test "x$LINE" != x
; then
15328 eval "DEFAULT_$LINE"
15334 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15339 eval "$wx_cv_use_validators"
15340 if test "x$cache" = xyes; then
15341 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15344 if test x"$enablestring" = xdisable; then
15345 if test $wxUSE_VALIDATORS = yes; then
15351 result=$wxUSE_VALIDATORS
15354 { echo "$as_me:$LINENO: result: $result" >&5
15355 echo "${ECHO_T}$result" >&6; }
15359 defaultval=$wxUSE_ALL_FEATURES
15360 if test -z "$defaultval"; then
15361 if test x"$enablestring" = xdisable; then
15368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15369 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15370 # Check whether --enable-busyinfo was given.
15371 if test "${enable_busyinfo+set}" = set; then
15372 enableval=$enable_busyinfo;
15373 if test "$enableval" = yes; then
15374 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
15376 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
15382 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15383 if test "x$LINE" != x ; then
15384 eval "DEFAULT_$LINE"
15390 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15395 eval "$wx_cv_use_busyinfo"
15396 if test "x
$cache" = xyes; then
15397 echo "wxUSE_BUSYINFO
=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15400 if test x"$enablestring" = xdisable; then
15401 if test $wxUSE_BUSYINFO = yes; then
15407 result=$wxUSE_BUSYINFO
15410 { echo "$as_me:$LINENO: result
: $result" >&5
15411 echo "${ECHO_T}$result" >&6; }
15415 defaultval=$wxUSE_ALL_FEATURES
15416 if test -z "$defaultval"; then
15417 if test x"$enablestring" = xdisable; then
15424 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
15425 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
15426 # Check whether --enable-joystick was given.
15427 if test "${enable_joystick+set}" = set; then
15428 enableval=$enable_joystick;
15429 if test "$enableval" = yes; then
15430 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15432 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15438 LINE=`grep "^wxUSE_JOYSTICK
=" ${wx_arg_cache_file}`
15439 if test "x
$LINE" != x ; then
15440 eval "DEFAULT_
$LINE"
15446 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15451 eval "$wx_cv_use_joystick"
15452 if test "x$cache" = xyes
; then
15453 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15456 if test x
"$enablestring" = xdisable
; then
15457 if test $wxUSE_JOYSTICK = yes; then
15463 result
=$wxUSE_JOYSTICK
15466 { echo "$as_me:$LINENO: result: $result" >&5
15467 echo "${ECHO_T}$result" >&6; }
15471 defaultval
=$wxUSE_ALL_FEATURES
15472 if test -z "$defaultval"; then
15473 if test x
"$enablestring" = xdisable
; then
15480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15481 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15482 # Check whether --enable-metafile was given.
15483 if test "${enable_metafile+set}" = set; then
15484 enableval
=$enable_metafile;
15485 if test "$enableval" = yes; then
15486 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15488 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15494 LINE
=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15495 if test "x$LINE" != x
; then
15496 eval "DEFAULT_$LINE"
15502 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15507 eval "$wx_cv_use_metafile"
15508 if test "x$cache" = xyes; then
15509 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15512 if test x"$enablestring" = xdisable; then
15513 if test $wxUSE_METAFILE = yes; then
15519 result=$wxUSE_METAFILE
15522 { echo "$as_me:$LINENO: result: $result" >&5
15523 echo "${ECHO_T}$result" >&6; }
15527 defaultval=$wxUSE_ALL_FEATURES
15528 if test -z "$defaultval"; then
15529 if test x"$enablestring" = xdisable; then
15536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15537 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15538 # Check whether --enable-dragimage was given.
15539 if test "${enable_dragimage+set}" = set; then
15540 enableval=$enable_dragimage;
15541 if test "$enableval" = yes; then
15542 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15544 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15550 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15551 if test "x$LINE" != x ; then
15552 eval "DEFAULT_$LINE"
15558 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15563 eval "$wx_cv_use_dragimage"
15564 if test "x
$cache" = xyes; then
15565 echo "wxUSE_DRAGIMAGE
=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15568 if test x"$enablestring" = xdisable; then
15569 if test $wxUSE_DRAGIMAGE = yes; then
15575 result=$wxUSE_DRAGIMAGE
15578 { echo "$as_me:$LINENO: result
: $result" >&5
15579 echo "${ECHO_T}$result" >&6; }
15583 defaultval=$wxUSE_ALL_FEATURES
15584 if test -z "$defaultval"; then
15585 if test x"$enablestring" = xdisable; then
15592 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
15593 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
15594 # Check whether --enable-accessibility was given.
15595 if test "${enable_accessibility+set}" = set; then
15596 enableval=$enable_accessibility;
15597 if test "$enableval" = yes; then
15598 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15600 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15606 LINE=`grep "^wxUSE_ACCESSIBILITY
=" ${wx_arg_cache_file}`
15607 if test "x
$LINE" != x ; then
15608 eval "DEFAULT_
$LINE"
15614 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15619 eval "$wx_cv_use_accessibility"
15620 if test "x$cache" = xyes
; then
15621 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15624 if test x
"$enablestring" = xdisable
; then
15625 if test $wxUSE_ACCESSIBILITY = yes; then
15631 result
=$wxUSE_ACCESSIBILITY
15634 { echo "$as_me:$LINENO: result: $result" >&5
15635 echo "${ECHO_T}$result" >&6; }
15641 defaultval
=$wxUSE_ALL_FEATURES
15642 if test -z "$defaultval"; then
15643 if test x
"$enablestring" = xdisable
; then
15650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15651 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15652 # Check whether --enable-palette was given.
15653 if test "${enable_palette+set}" = set; then
15654 enableval
=$enable_palette;
15655 if test "$enableval" = yes; then
15656 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15658 wx_cv_use_palette
='wxUSE_PALETTE=no'
15664 LINE
=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15665 if test "x$LINE" != x
; then
15666 eval "DEFAULT_$LINE"
15672 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15677 eval "$wx_cv_use_palette"
15678 if test "x$cache" = xyes; then
15679 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15682 if test x"$enablestring" = xdisable; then
15683 if test $wxUSE_PALETTE = yes; then
15689 result=$wxUSE_PALETTE
15692 { echo "$as_me:$LINENO: result: $result" >&5
15693 echo "${ECHO_T}$result" >&6; }
15697 defaultval=$wxUSE_ALL_FEATURES
15698 if test -z "$defaultval"; then
15699 if test x"$enablestring" = xdisable; then
15706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15707 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15708 # Check whether --enable-image was given.
15709 if test "${enable_image+set}" = set; then
15710 enableval=$enable_image;
15711 if test "$enableval" = yes; then
15712 wx_cv_use_image='wxUSE_IMAGE
=yes'
15714 wx_cv_use_image='wxUSE_IMAGE
=no
'
15720 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15721 if test "x$LINE" != x ; then
15722 eval "DEFAULT_$LINE"
15728 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15733 eval "$wx_cv_use_image"
15734 if test "x
$cache" = xyes; then
15735 echo "wxUSE_IMAGE
=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15738 if test x"$enablestring" = xdisable; then
15739 if test $wxUSE_IMAGE = yes; then
15745 result=$wxUSE_IMAGE
15748 { echo "$as_me:$LINENO: result
: $result" >&5
15749 echo "${ECHO_T}$result" >&6; }
15753 defaultval=$wxUSE_ALL_FEATURES
15754 if test -z "$defaultval"; then
15755 if test x"$enablestring" = xdisable; then
15762 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
15763 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
15764 # Check whether --enable-gif was given.
15765 if test "${enable_gif+set}" = set; then
15766 enableval=$enable_gif;
15767 if test "$enableval" = yes; then
15768 wx_cv_use_gif='wxUSE_GIF=yes'
15770 wx_cv_use_gif='wxUSE_GIF=no'
15776 LINE=`grep "^wxUSE_GIF
=" ${wx_arg_cache_file}`
15777 if test "x
$LINE" != x ; then
15778 eval "DEFAULT_
$LINE"
15784 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15789 eval "$wx_cv_use_gif"
15790 if test "x$cache" = xyes
; then
15791 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15794 if test x
"$enablestring" = xdisable
; then
15795 if test $wxUSE_GIF = yes; then
15804 { echo "$as_me:$LINENO: result: $result" >&5
15805 echo "${ECHO_T}$result" >&6; }
15809 defaultval
=$wxUSE_ALL_FEATURES
15810 if test -z "$defaultval"; then
15811 if test x
"$enablestring" = xdisable
; then
15818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15819 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15820 # Check whether --enable-pcx was given.
15821 if test "${enable_pcx+set}" = set; then
15822 enableval
=$enable_pcx;
15823 if test "$enableval" = yes; then
15824 wx_cv_use_pcx
='wxUSE_PCX=yes'
15826 wx_cv_use_pcx
='wxUSE_PCX=no'
15832 LINE
=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15833 if test "x$LINE" != x
; then
15834 eval "DEFAULT_$LINE"
15840 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15845 eval "$wx_cv_use_pcx"
15846 if test "x$cache" = xyes; then
15847 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15850 if test x"$enablestring" = xdisable; then
15851 if test $wxUSE_PCX = yes; then
15860 { echo "$as_me:$LINENO: result: $result" >&5
15861 echo "${ECHO_T}$result" >&6; }
15865 defaultval=$wxUSE_ALL_FEATURES
15866 if test -z "$defaultval"; then
15867 if test x"$enablestring" = xdisable; then
15874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15875 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15876 # Check whether --enable-tga was given.
15877 if test "${enable_tga+set}" = set; then
15878 enableval=$enable_tga;
15879 if test "$enableval" = yes; then
15880 wx_cv_use_tga='wxUSE_TGA
=yes'
15882 wx_cv_use_tga='wxUSE_TGA
=no
'
15888 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15889 if test "x$LINE" != x ; then
15890 eval "DEFAULT_$LINE"
15896 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15901 eval "$wx_cv_use_tga"
15902 if test "x
$cache" = xyes; then
15903 echo "wxUSE_TGA
=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15906 if test x"$enablestring" = xdisable; then
15907 if test $wxUSE_TGA = yes; then
15916 { echo "$as_me:$LINENO: result
: $result" >&5
15917 echo "${ECHO_T}$result" >&6; }
15921 defaultval=$wxUSE_ALL_FEATURES
15922 if test -z "$defaultval"; then
15923 if test x"$enablestring" = xdisable; then
15930 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
15931 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
15932 # Check whether --enable-iff was given.
15933 if test "${enable_iff+set}" = set; then
15934 enableval=$enable_iff;
15935 if test "$enableval" = yes; then
15936 wx_cv_use_iff='wxUSE_IFF=yes'
15938 wx_cv_use_iff='wxUSE_IFF=no'
15944 LINE=`grep "^wxUSE_IFF
=" ${wx_arg_cache_file}`
15945 if test "x
$LINE" != x ; then
15946 eval "DEFAULT_
$LINE"
15952 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15957 eval "$wx_cv_use_iff"
15958 if test "x$cache" = xyes
; then
15959 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15962 if test x
"$enablestring" = xdisable
; then
15963 if test $wxUSE_IFF = yes; then
15972 { echo "$as_me:$LINENO: result: $result" >&5
15973 echo "${ECHO_T}$result" >&6; }
15977 defaultval
=$wxUSE_ALL_FEATURES
15978 if test -z "$defaultval"; then
15979 if test x
"$enablestring" = xdisable
; then
15986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15987 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15988 # Check whether --enable-pnm was given.
15989 if test "${enable_pnm+set}" = set; then
15990 enableval
=$enable_pnm;
15991 if test "$enableval" = yes; then
15992 wx_cv_use_pnm
='wxUSE_PNM=yes'
15994 wx_cv_use_pnm
='wxUSE_PNM=no'
16000 LINE
=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16001 if test "x$LINE" != x
; then
16002 eval "DEFAULT_$LINE"
16008 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16013 eval "$wx_cv_use_pnm"
16014 if test "x$cache" = xyes; then
16015 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16018 if test x"$enablestring" = xdisable; then
16019 if test $wxUSE_PNM = yes; then
16028 { echo "$as_me:$LINENO: result: $result" >&5
16029 echo "${ECHO_T}$result" >&6; }
16033 defaultval=$wxUSE_ALL_FEATURES
16034 if test -z "$defaultval"; then
16035 if test x"$enablestring" = xdisable; then
16042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16043 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16044 # Check whether --enable-xpm was given.
16045 if test "${enable_xpm+set}" = set; then
16046 enableval=$enable_xpm;
16047 if test "$enableval" = yes; then
16048 wx_cv_use_xpm='wxUSE_XPM
=yes'
16050 wx_cv_use_xpm='wxUSE_XPM
=no
'
16056 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16057 if test "x$LINE" != x ; then
16058 eval "DEFAULT_$LINE"
16064 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16069 eval "$wx_cv_use_xpm"
16070 if test "x
$cache" = xyes; then
16071 echo "wxUSE_XPM
=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16074 if test x"$enablestring" = xdisable; then
16075 if test $wxUSE_XPM = yes; then
16084 { echo "$as_me:$LINENO: result
: $result" >&5
16085 echo "${ECHO_T}$result" >&6; }
16089 defaultval=$wxUSE_ALL_FEATURES
16090 if test -z "$defaultval"; then
16091 if test x"$enablestring" = xdisable; then
16098 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
16099 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
16100 # Check whether --enable-ico_cur was given.
16101 if test "${enable_ico_cur+set}" = set; then
16102 enableval=$enable_ico_cur;
16103 if test "$enableval" = yes; then
16104 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16106 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16112 LINE=`grep "^wxUSE_ICO_CUR
=" ${wx_arg_cache_file}`
16113 if test "x
$LINE" != x ; then
16114 eval "DEFAULT_
$LINE"
16120 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16125 eval "$wx_cv_use_ico_cur"
16126 if test "x$cache" = xyes
; then
16127 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16130 if test x
"$enablestring" = xdisable
; then
16131 if test $wxUSE_ICO_CUR = yes; then
16137 result
=$wxUSE_ICO_CUR
16140 { echo "$as_me:$LINENO: result: $result" >&5
16141 echo "${ECHO_T}$result" >&6; }
16147 defaultval
=$wxUSE_ALL_FEATURES
16148 if test -z "$defaultval"; then
16149 if test x
"$enablestring" = xdisable
; then
16156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16157 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16158 # Check whether --enable-dccache was given.
16159 if test "${enable_dccache+set}" = set; then
16160 enableval
=$enable_dccache;
16161 if test "$enableval" = yes; then
16162 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
16164 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
16170 LINE
=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16171 if test "x$LINE" != x
; then
16172 eval "DEFAULT_$LINE"
16178 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16183 eval "$wx_cv_use_dccache"
16184 if test "x$cache" = xyes; then
16185 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16188 if test x"$enablestring" = xdisable; then
16189 if test $wxUSE_DC_CACHEING = yes; then
16195 result=$wxUSE_DC_CACHEING
16198 { echo "$as_me:$LINENO: result: $result" >&5
16199 echo "${ECHO_T}$result" >&6; }
16203 defaultval=$wxUSE_ALL_FEATURES
16204 if test -z "$defaultval"; then
16205 if test x"$enablestring" = xdisable; then
16212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16213 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16214 # Check whether --enable-ps-in-msw was given.
16215 if test "${enable_ps_in_msw+set}" = set; then
16216 enableval=$enable_ps_in_msw;
16217 if test "$enableval" = yes; then
16218 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
16220 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
16226 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16227 if test "x$LINE" != x ; then
16228 eval "DEFAULT_$LINE"
16234 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16239 eval "$wx_cv_use_ps_in_msw"
16240 if test "x
$cache" = xyes; then
16241 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16244 if test x"$enablestring" = xdisable; then
16245 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16251 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16254 { echo "$as_me:$LINENO: result
: $result" >&5
16255 echo "${ECHO_T}$result" >&6; }
16259 defaultval=$wxUSE_ALL_FEATURES
16260 if test -z "$defaultval"; then
16261 if test x"$enablestring" = xdisable; then
16268 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
16269 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
16270 # Check whether --enable-ownerdrawn was given.
16271 if test "${enable_ownerdrawn+set}" = set; then
16272 enableval=$enable_ownerdrawn;
16273 if test "$enableval" = yes; then
16274 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16276 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16282 LINE=`grep "^wxUSE_OWNER_DRAWN
=" ${wx_arg_cache_file}`
16283 if test "x
$LINE" != x ; then
16284 eval "DEFAULT_
$LINE"
16290 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16295 eval "$wx_cv_use_ownerdrawn"
16296 if test "x$cache" = xyes
; then
16297 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16300 if test x
"$enablestring" = xdisable
; then
16301 if test $wxUSE_OWNER_DRAWN = yes; then
16307 result
=$wxUSE_OWNER_DRAWN
16310 { echo "$as_me:$LINENO: result: $result" >&5
16311 echo "${ECHO_T}$result" >&6; }
16315 defaultval
=$wxUSE_ALL_FEATURES
16316 if test -z "$defaultval"; then
16317 if test x
"$enablestring" = xdisable
; then
16324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16325 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16326 # Check whether --enable-uxtheme was given.
16327 if test "${enable_uxtheme+set}" = set; then
16328 enableval
=$enable_uxtheme;
16329 if test "$enableval" = yes; then
16330 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16332 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16338 LINE
=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16339 if test "x$LINE" != x
; then
16340 eval "DEFAULT_$LINE"
16346 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16351 eval "$wx_cv_use_uxtheme"
16352 if test "x$cache" = xyes; then
16353 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16356 if test x"$enablestring" = xdisable; then
16357 if test $wxUSE_UXTHEME = yes; then
16363 result=$wxUSE_UXTHEME
16366 { echo "$as_me:$LINENO: result: $result" >&5
16367 echo "${ECHO_T}$result" >&6; }
16371 defaultval=$wxUSE_ALL_FEATURES
16372 if test -z "$defaultval"; then
16373 if test x"$enablestring" = xdisable; then
16380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16381 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16382 # Check whether --enable-wxdib was given.
16383 if test "${enable_wxdib+set}" = set; then
16384 enableval=$enable_wxdib;
16385 if test "$enableval" = yes; then
16386 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16388 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16394 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16395 if test "x$LINE" != x ; then
16396 eval "DEFAULT_$LINE"
16402 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16407 eval "$wx_cv_use_wxdib"
16408 if test "x
$cache" = xyes; then
16409 echo "wxUSE_DIB
=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16412 if test x"$enablestring" = xdisable; then
16413 if test $wxUSE_DIB = yes; then
16422 { echo "$as_me:$LINENO: result
: $result" >&5
16423 echo "${ECHO_T}$result" >&6; }
16429 echo "saving argument cache
$wx_arg_cache_file"
16430 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16434 { echo "$as_me:$LINENO: checking
for toolkit
" >&5
16435 echo $ECHO_N "checking
for toolkit...
$ECHO_C" >&6; }
16437 # In Wine, we need to default to MSW, not GTK or MOTIF
16438 if test "$wxUSE_WINE" = "yes"; then
16439 DEFAULT_DEFAULT_wxUSE_GTK=0
16440 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16441 DEFAULT_DEFAULT_wxUSE_MSW=1
16444 CXX=${CXX:-wineg++}
16448 if test "$wxUSE_GUI" = "yes"; then
16450 if test "$USE_BEOS" = 1; then
16451 { { echo "$as_me:$LINENO: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&5
16452 echo "$as_me: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&2;}
16453 { (exit 1); exit 1; }; }
16456 if test "$TOOLKIT_GIVEN" = 1; then
16457 for toolkit in $ALL_TOOLKITS; do
16459 eval "value
=\$
${var}"
16460 if test "x
$value" = "xno
"; then
16462 elif test "x
$value" != "x
"; then
16466 if test "x
$value" != "x
" -a "x
$value" != "xyes
" -a "x
$value" != "xno
"; then
16467 eval "wx
${toolkit}_VERSION
=$value"
16471 for toolkit in $ALL_TOOLKITS; do
16472 if test "$has_toolkit_in_cache" != 1; then
16473 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16475 var=DEFAULT_wxUSE_$toolkit
16477 eval "version
=\
$DEFAULT_wx${toolkit}_VERSION
"
16478 if test "x
$version" != "x
"; then
16479 eval "wx
${toolkit}_VERSION
=$version"
16482 eval "wxUSE_
$toolkit=\$
${var}"
16486 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16487 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16488 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16491 *-pc-os2_emx | *-pc-os2-emx )
16492 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16495 case "$NUM_TOOLKITS" in
16499 { { echo "$as_me:$LINENO: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&5
16500 echo "$as_me: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&2;}
16501 { (exit 1); exit 1; }; }
16504 { { echo "$as_me:$LINENO: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&5
16505 echo "$as_me: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&2;}
16506 { (exit 1); exit 1; }; }
16509 # to be removed when --disable-gtk2 isn't needed
16510 if test "x
$wxUSE_GTK2" = "xyes
"; then
16512 elif test "x
$wxUSE_GTK2" = "xno
"; then
16516 for toolkit in $ALL_TOOLKITS; do
16518 eval "value
=\$
${var}"
16519 if test "x
$value" != x; then
16520 cache_var=CACHE_$toolkit
16521 eval "cache
=\$
${cache_var}"
16522 if test "$cache" = 1; then
16523 echo "$var=$value" >> ${wx_arg_cache_file}
16524 eval "version
=\
$wx${toolkit}_VERSION
"
16525 if test "x
$version" != "x
"; then
16526 echo "wx
${toolkit}_VERSION
=$version" >> ${wx_arg_cache_file}
16529 if test "$value" = 1; then
16530 toolkit_echo=`echo $toolkit | tr A-Z a-z`
16531 { echo "$as_me:$LINENO: result
: $toolkit_echo" >&5
16532 echo "${ECHO_T}$toolkit_echo" >&6; }
16537 if test "x
$host_alias" != "x
"; then
16538 { echo "$as_me:$LINENO: result
: base
($host_alias hosted
) only
" >&5
16539 echo "${ECHO_T}base
($host_alias hosted
) only
" >&6; }
16541 { echo "$as_me:$LINENO: result
: base only
" >&5
16542 echo "${ECHO_T}base only
" >&6; }
16547 cat >confcache <<\_ACEOF
16548 # This file is a shell script that caches the results of configure
16549 # tests run on this system so they can be shared between configure
16550 # scripts and configure runs, see configure's option --config-cache.
16551 # It is not useful on other systems. If it contains results you don't
16552 # want to keep, you may remove or edit it.
16554 # config.status only pays attention to the cache file if you give it
16555 # the --recheck option to rerun configure.
16557 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16558 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16559 # following values.
16563 # The following way of writing the cache mishandles newlines in values,
16564 # but we know of no workaround that is simple, portable, and efficient.
16565 # So, we kill variables containing newlines.
16566 # Ultrix sh set writes to stderr and can't be redirected directly,
16567 # and sets the high bit in the cache file unless we assign to the vars.
16569 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16570 eval ac_val=\$$ac_var
16574 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
16575 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
16578 _ | IFS | as_nl) ;; #(
16579 *) $as_unset $ac_var ;;
16585 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16586 *${as_nl}ac_space=\ *)
16587 # `set' does not quote correctly, so add quotes (double-quote
16588 # substitution turns \\\\ into \\, and sed turns \\ into \).
16591 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16594 # `set' quotes correctly as required by POSIX, so do not add quotes.
16595 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16604 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16606 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16608 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16609 if test -w "$cache_file"; then
16610 test "x
$cache_file" != "x
/dev
/null
" &&
16611 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
16612 echo "$as_me: updating cache
$cache_file" >&6;}
16613 cat confcache >$cache_file
16615 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
16616 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16626 ac_cpp='$CPP $CPPFLAGS'
16627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16630 if test -n "$ac_tool_prefix"; then
16631 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
16632 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16633 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16634 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16635 if test "${ac_cv_prog_CC+set}" = set; then
16636 echo $ECHO_N "(cached
) $ECHO_C" >&6
16638 if test -n "$CC"; then
16639 ac_cv_prog_CC="$CC" # Let the user override the test.
16641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16642 for as_dir in $PATH
16645 test -z "$as_dir" && as_dir=.
16646 for ac_exec_ext in '' $ac_executable_extensions; do
16647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16648 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
16649 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16659 if test -n "$CC"; then
16660 { echo "$as_me:$LINENO: result
: $CC" >&5
16661 echo "${ECHO_T}$CC" >&6; }
16663 { echo "$as_me:$LINENO: result
: no
" >&5
16664 echo "${ECHO_T}no
" >&6; }
16669 if test -z "$ac_cv_prog_CC"; then
16671 # Extract the first word of "gcc
", so it can be a program name with args.
16672 set dummy gcc; ac_word=$2
16673 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16674 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16676 echo $ECHO_N "(cached
) $ECHO_C" >&6
16678 if test -n "$ac_ct_CC"; then
16679 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16682 for as_dir in $PATH
16685 test -z "$as_dir" && as_dir=.
16686 for ac_exec_ext in '' $ac_executable_extensions; do
16687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16688 ac_cv_prog_ac_ct_CC="gcc
"
16689 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16699 if test -n "$ac_ct_CC"; then
16700 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16701 echo "${ECHO_T}$ac_ct_CC" >&6; }
16703 { echo "$as_me:$LINENO: result
: no
" >&5
16704 echo "${ECHO_T}no
" >&6; }
16707 if test "x
$ac_ct_CC" = x; then
16710 case $cross_compiling:$ac_tool_warned in
16712 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16713 whose name does not start with the
host triplet. If you think this
16714 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16715 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16716 whose name does not start with the
host triplet. If you think this
16717 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16718 ac_tool_warned=yes ;;
16723 CC="$ac_cv_prog_CC"
16726 if test -z "$CC"; then
16727 if test -n "$ac_tool_prefix"; then
16728 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
16729 set dummy ${ac_tool_prefix}cc; ac_word=$2
16730 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16731 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16732 if test "${ac_cv_prog_CC+set}" = set; then
16733 echo $ECHO_N "(cached
) $ECHO_C" >&6
16735 if test -n "$CC"; then
16736 ac_cv_prog_CC="$CC" # Let the user override the test.
16738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16739 for as_dir in $PATH
16742 test -z "$as_dir" && as_dir=.
16743 for ac_exec_ext in '' $ac_executable_extensions; do
16744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16745 ac_cv_prog_CC="${ac_tool_prefix}cc
"
16746 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16756 if test -n "$CC"; then
16757 { echo "$as_me:$LINENO: result
: $CC" >&5
16758 echo "${ECHO_T}$CC" >&6; }
16760 { echo "$as_me:$LINENO: result
: no
" >&5
16761 echo "${ECHO_T}no
" >&6; }
16767 if test -z "$CC"; then
16768 # Extract the first word of "cc
", so it can be a program name with args.
16769 set dummy cc; ac_word=$2
16770 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16771 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16772 if test "${ac_cv_prog_CC+set}" = set; then
16773 echo $ECHO_N "(cached
) $ECHO_C" >&6
16775 if test -n "$CC"; then
16776 ac_cv_prog_CC="$CC" # Let the user override the test.
16778 ac_prog_rejected=no
16779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16780 for as_dir in $PATH
16783 test -z "$as_dir" && as_dir=.
16784 for ac_exec_ext in '' $ac_executable_extensions; do
16785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
16787 ac_prog_rejected=yes
16791 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16798 if test $ac_prog_rejected = yes; then
16799 # We found a bogon in the path, so make sure we never use it.
16800 set dummy $ac_cv_prog_CC
16802 if test $# != 0; then
16803 # We chose a different compiler from the bogus one.
16804 # However, it has the same basename, so the bogon will be chosen
16805 # first if we set CC to just the basename; use the full file name.
16807 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
16813 if test -n "$CC"; then
16814 { echo "$as_me:$LINENO: result
: $CC" >&5
16815 echo "${ECHO_T}$CC" >&6; }
16817 { echo "$as_me:$LINENO: result
: no
" >&5
16818 echo "${ECHO_T}no
" >&6; }
16823 if test -z "$CC"; then
16824 if test -n "$ac_tool_prefix"; then
16825 for ac_prog in cl.exe
16827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16829 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16830 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16831 if test "${ac_cv_prog_CC+set}" = set; then
16832 echo $ECHO_N "(cached
) $ECHO_C" >&6
16834 if test -n "$CC"; then
16835 ac_cv_prog_CC="$CC" # Let the user override the test.
16837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16838 for as_dir in $PATH
16841 test -z "$as_dir" && as_dir=.
16842 for ac_exec_ext in '' $ac_executable_extensions; do
16843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16844 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16845 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16855 if test -n "$CC"; then
16856 { echo "$as_me:$LINENO: result
: $CC" >&5
16857 echo "${ECHO_T}$CC" >&6; }
16859 { echo "$as_me:$LINENO: result
: no
" >&5
16860 echo "${ECHO_T}no
" >&6; }
16864 test -n "$CC" && break
16867 if test -z "$CC"; then
16869 for ac_prog in cl.exe
16871 # Extract the first word of "$ac_prog", so it can be a program name with args.
16872 set dummy $ac_prog; ac_word=$2
16873 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16874 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16876 echo $ECHO_N "(cached
) $ECHO_C" >&6
16878 if test -n "$ac_ct_CC"; then
16879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16882 for as_dir in $PATH
16885 test -z "$as_dir" && as_dir=.
16886 for ac_exec_ext in '' $ac_executable_extensions; do
16887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16888 ac_cv_prog_ac_ct_CC="$ac_prog"
16889 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16899 if test -n "$ac_ct_CC"; then
16900 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16901 echo "${ECHO_T}$ac_ct_CC" >&6; }
16903 { echo "$as_me:$LINENO: result
: no
" >&5
16904 echo "${ECHO_T}no
" >&6; }
16908 test -n "$ac_ct_CC" && break
16911 if test "x
$ac_ct_CC" = x; then
16914 case $cross_compiling:$ac_tool_warned in
16916 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16917 whose name does not start with the
host triplet. If you think this
16918 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16919 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16920 whose name does not start with the
host triplet. If you think this
16921 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16922 ac_tool_warned=yes ;;
16931 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
16932 See \
`config.log' for more details." >&5
16933 echo "$as_me: error: no acceptable C compiler found in \$PATH
16934 See \`config.log
' for more details." >&2;}
16935 { (exit 1); exit 1; }; }
16937 # Provide some information about the compiler.
16938 echo "$as_me:$LINENO: checking for C compiler version" >&5
16939 ac_compiler=`set X $ac_compile; echo $2`
16940 { (ac_try="$ac_compiler --version >&5"
16941 case "(($ac_try" in
16942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16943 *) ac_try_echo=$ac_try;;
16945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16946 (eval "$ac_compiler --version >&5") 2>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }
16950 { (ac_try="$ac_compiler -v >&5"
16951 case "(($ac_try" in
16952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16953 *) ac_try_echo=$ac_try;;
16955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16956 (eval "$ac_compiler -v >&5") 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }
16960 { (ac_try="$ac_compiler -V >&5"
16961 case "(($ac_try" in
16962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16963 *) ac_try_echo=$ac_try;;
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_compiler -V >&5") 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }
16971 cat >conftest.$ac_ext <<_ACEOF
16974 cat confdefs.h >>conftest.$ac_ext
16975 cat >>conftest.$ac_ext <<_ACEOF
16976 /* end confdefs.h. */
16986 ac_clean_files_save=$ac_clean_files
16987 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16988 # Try to create an executable without -o first, disregard a.out.
16989 # It will help us diagnose broken compilers, and finding out an intuition
16991 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16992 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16993 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
16995 # List of possible output files, starting from the most likely.
16996 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
16997 # only as a last resort. b.out is created by i960 compilers.
16998 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17000 # The IRIX 6 linker writes into existing files which may not be
17001 # executable, retaining their permissions. Remove them first so a
17002 # subsequent execution test works.
17004 for ac_file
in $ac_files
17007 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17008 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
17013 if { (ac_try
="$ac_link_default"
17014 case "(($ac_try" in
17015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17016 *) ac_try_echo=$ac_try;;
17018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17019 (eval "$ac_link_default") 2>&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }; then
17023 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
17024 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
17025 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17026 # so that the user can short-circuit this test for compilers unknown to
17028 for ac_file in $ac_files ''
17030 test -f "$ac_file" || continue
17032 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17035 # We found the default executable, but exeext='' is most
17039 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17041 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17043 # We set ac_cv_exeext here because the later test for it is not
17044 # safe: cross compilers may not add the suffix if given an `-o'
17045 # argument, so we may need to know it at that point already.
17046 # Even if this section looks crufty: it has the advantage of
17047 # actually working.
17053 test "$ac_cv_exeext" = no && ac_cv_exeext=
17059 { echo "$as_me:$LINENO: result: $ac_file" >&5
17060 echo "${ECHO_T}$ac_file" >&6; }
17061 if test -z "$ac_file"; then
17062 echo "$as_me: failed program was:" >&5
17063 sed 's
/^
/| /' conftest.$ac_ext >&5
17065 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17066 See \`config.log' for more details.
" >&5
17067 echo "$as_me: error
: C compiler cannot create executables
17068 See \
`config.log' for more details." >&2;}
17069 { (exit 77); exit 77; }; }
17072 ac_exeext=$ac_cv_exeext
17074 # Check that the compiler produces executables we can run. If not, either
17075 # the compiler is broken, or we cross compile.
17076 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17077 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17078 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17079 # If not cross compiling, check that we can run a simple program.
17080 if test "$cross_compiling" != yes; then
17081 if { ac_try='./$ac_file'
17082 { (case "(($ac_try" in
17083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17084 *) ac_try_echo
=$ac_try;;
17086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17087 (eval "$ac_try") 2>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; }; then
17093 if test "$cross_compiling" = maybe
; then
17094 cross_compiling
=yes
17096 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17097 If you meant to cross compile, use \`--host'.
17098 See \`config.log' for more details." >&5
17099 echo "$as_me: error: cannot run C compiled programs.
17100 If you meant to cross compile, use \`--host'.
17101 See \`config.log' for more details." >&2;}
17102 { (exit 1); exit 1; }; }
17106 { echo "$as_me:$LINENO: result: yes" >&5
17107 echo "${ECHO_T}yes" >&6; }
17109 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
17110 ac_clean_files
=$ac_clean_files_save
17111 # Check that the compiler produces executables we can run. If not, either
17112 # the compiler is broken, or we cross compile.
17113 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17114 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17115 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17116 echo "${ECHO_T}$cross_compiling" >&6; }
17118 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17119 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17120 if { (ac_try
="$ac_link"
17121 case "(($ac_try" in
17122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17123 *) ac_try_echo=$ac_try;;
17125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17126 (eval "$ac_link") 2>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; then
17130 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
17131 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
17132 # work properly (i.e., refer to `conftest.exe'), while it won't with
17134 for ac_file
in conftest.exe conftest conftest.
*; do
17135 test -f "$ac_file" || continue
17137 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17138 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17144 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17145 See \`config.log' for more details." >&5
17146 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17147 See \`config.log' for more details." >&2;}
17148 { (exit 1); exit 1; }; }
17151 rm -f conftest
$ac_cv_exeext
17152 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17153 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17155 rm -f conftest.
$ac_ext
17156 EXEEXT
=$ac_cv_exeext
17158 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17159 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17160 if test "${ac_cv_objext+set}" = set; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17163 cat >conftest.
$ac_ext <<_ACEOF
17166 cat confdefs.h
>>conftest.
$ac_ext
17167 cat >>conftest.
$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17178 rm -f conftest.o conftest.obj
17179 if { (ac_try
="$ac_compile"
17180 case "(($ac_try" in
17181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17182 *) ac_try_echo=$ac_try;;
17184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17185 (eval "$ac_compile") 2>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); }; then
17189 for ac_file in conftest.o conftest.obj conftest.*; do
17190 test -f "$ac_file" || continue;
17192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17193 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17201 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17202 See \`config.log
' for more details." >&5
17203 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17204 See \`config.log' for more details.
" >&2;}
17205 { (exit 1); exit 1; }; }
17208 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17210 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17211 echo "${ECHO_T}$ac_cv_objext" >&6; }
17212 OBJEXT=$ac_cv_objext
17214 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17215 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17216 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17217 echo $ECHO_N "(cached
) $ECHO_C" >&6
17219 cat >conftest.$ac_ext <<_ACEOF
17222 cat confdefs.h >>conftest.$ac_ext
17223 cat >>conftest.$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17237 rm -f conftest.$ac_objext
17238 if { (ac_try="$ac_compile"
17239 case "(($ac_try" in
17240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17241 *) ac_try_echo=$ac_try;;
17243 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_compile") 2>conftest.er1
17246 grep -v '^ *+' conftest.er1 >conftest.err
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17250 (exit $ac_status); } && {
17251 test -z "$ac_c_werror_flag" ||
17252 test ! -s conftest.err
17253 } && test -s conftest.$ac_objext; then
17254 ac_compiler_gnu=yes
17256 echo "$as_me: failed program was
:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17263 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17266 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17267 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17268 GCC=`test $ac_compiler_gnu = yes && echo yes`
17269 ac_test_CFLAGS=${CFLAGS+set}
17270 ac_save_CFLAGS=$CFLAGS
17271 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17272 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17273 if test "${ac_cv_prog_cc_g+set}" = set; then
17274 echo $ECHO_N "(cached
) $ECHO_C" >&6
17276 ac_save_c_werror_flag=$ac_c_werror_flag
17277 ac_c_werror_flag=yes
17280 cat >conftest.$ac_ext <<_ACEOF
17283 cat confdefs.h >>conftest.$ac_ext
17284 cat >>conftest.$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17295 rm -f conftest.$ac_objext
17296 if { (ac_try="$ac_compile"
17297 case "(($ac_try" in
17298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17301 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_compile") 2>conftest.er1
17304 grep -v '^ *+' conftest.er1 >conftest.err
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17308 (exit $ac_status); } && {
17309 test -z "$ac_c_werror_flag" ||
17310 test ! -s conftest.err
17311 } && test -s conftest.$ac_objext; then
17312 ac_cv_prog_cc_g=yes
17314 echo "$as_me: failed program was
:" >&5
17315 sed 's/^/| /' conftest.$ac_ext >&5
17318 cat >conftest.$ac_ext <<_ACEOF
17321 cat confdefs.h >>conftest.$ac_ext
17322 cat >>conftest.$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17333 rm -f conftest.$ac_objext
17334 if { (ac_try="$ac_compile"
17335 case "(($ac_try" in
17336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17337 *) ac_try_echo=$ac_try;;
17339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17340 (eval "$ac_compile") 2>conftest.er1
17342 grep -v '^ *+' conftest.er1 >conftest.err
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17346 (exit $ac_status); } && {
17347 test -z "$ac_c_werror_flag" ||
17348 test ! -s conftest.err
17349 } && test -s conftest.$ac_objext; then
17352 echo "$as_me: failed program was
:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 ac_c_werror_flag=$ac_save_c_werror_flag
17357 cat >conftest.$ac_ext <<_ACEOF
17360 cat confdefs.h >>conftest.$ac_ext
17361 cat >>conftest.$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17372 rm -f conftest.$ac_objext
17373 if { (ac_try="$ac_compile"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_compile") 2>conftest.er1
17381 grep -v '^ *+' conftest.er1 >conftest.err
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17385 (exit $ac_status); } && {
17386 test -z "$ac_c_werror_flag" ||
17387 test ! -s conftest.err
17388 } && test -s conftest.$ac_objext; then
17389 ac_cv_prog_cc_g=yes
17391 echo "$as_me: failed program was
:" >&5
17392 sed 's/^/| /' conftest.$ac_ext >&5
17397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17404 ac_c_werror_flag=$ac_save_c_werror_flag
17406 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17407 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17408 if test "$ac_test_CFLAGS" = set; then
17409 CFLAGS=$ac_save_CFLAGS
17410 elif test $ac_cv_prog_cc_g = yes; then
17411 if test "$GCC" = yes; then
17417 if test "$GCC" = yes; then
17423 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17424 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17425 if test "${ac_cv_prog_cc_c89+set}" = set; then
17426 echo $ECHO_N "(cached
) $ECHO_C" >&6
17428 ac_cv_prog_cc_c89=no
17430 cat >conftest.$ac_ext <<_ACEOF
17433 cat confdefs.h >>conftest.$ac_ext
17434 cat >>conftest.$ac_ext <<_ACEOF
17435 /* end confdefs.h. */
17436 #include <stdarg.h>
17438 #include <sys/types.h>
17439 #include <sys/stat.h>
17440 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17441 struct buf { int x; };
17442 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17443 static char *e (p, i)
17449 static char *f (char * (*g) (char **, int), char **p, ...)
17454 s = g (p, va_arg (v,int));
17459 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17460 function prototypes and stuff, but not '\xHH' hex character constants.
17461 These don't provoke an error unfortunately, instead are silently treated
17462 as 'x'. The following induces an error, until -std is added to get
17463 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17464 array size at least. It's necessary to write '\x00'==0 to get something
17465 that's true only with -std. */
17466 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17468 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17469 inside strings and character constants. */
17471 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17473 int test (int i, double x);
17474 struct s1 {int (*f) (int a);};
17475 struct s2 {int (*f) (double a);};
17476 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17482 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17487 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17488 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17490 CC="$ac_save_CC $ac_arg"
17491 rm -f conftest.$ac_objext
17492 if { (ac_try="$ac_compile"
17493 case "(($ac_try" in
17494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17495 *) ac_try_echo=$ac_try;;
17497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17498 (eval "$ac_compile") 2>conftest.er1
17500 grep -v '^ *+' conftest.er1 >conftest.err
17502 cat conftest.err >&5
17503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17504 (exit $ac_status); } && {
17505 test -z "$ac_c_werror_flag" ||
17506 test ! -s conftest.err
17507 } && test -s conftest.$ac_objext; then
17508 ac_cv_prog_cc_c89=$ac_arg
17510 echo "$as_me: failed program was
:" >&5
17511 sed 's/^/| /' conftest.$ac_ext >&5
17516 rm -f core conftest.err conftest.$ac_objext
17517 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17519 rm -f conftest.$ac_ext
17524 case "x
$ac_cv_prog_cc_c89" in
17526 { echo "$as_me:$LINENO: result
: none needed
" >&5
17527 echo "${ECHO_T}none needed
" >&6; } ;;
17529 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17530 echo "${ECHO_T}unsupported
" >&6; } ;;
17532 CC="$CC $ac_cv_prog_cc_c89"
17533 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17534 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17539 ac_cpp='$CPP $CPPFLAGS'
17540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17548 ac_cpp='$CPP $CPPFLAGS'
17549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17553 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17554 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17555 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17556 echo $ECHO_N "(cached
) $ECHO_C" >&6
17558 cat >conftest.$ac_ext <<_ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17569 #ifndef __INTEL_COMPILER
17577 rm -f conftest.$ac_objext
17578 if { (ac_try="$ac_compile"
17579 case "(($ac_try" in
17580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17581 *) ac_try_echo=$ac_try;;
17583 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17584 (eval "$ac_compile") 2>conftest.er1
17586 grep -v '^ *+' conftest.er1 >conftest.err
17588 cat conftest.err >&5
17589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17590 (exit $ac_status); } && {
17591 test -z "$ac_c_werror_flag" ||
17592 test ! -s conftest.err
17593 } && test -s conftest.$ac_objext; then
17594 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17596 echo "$as_me: failed program was
:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17599 bakefile_cv_c_compiler___INTEL_COMPILER=no
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17608 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17609 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17615 ac_cpp='$CPP $CPPFLAGS'
17616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17623 if test "x
$GCC" != "xyes
"; then
17624 if test "xCC
" = "xC
"; then
17625 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17626 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17627 if test "${bakefile_cv_c_exto+set}" = set; then
17628 echo $ECHO_N "(cached
) $ECHO_C" >&6
17630 cat >conftest.$ac_ext <<_ACEOF
17633 cat confdefs.h >>conftest.$ac_ext
17634 cat >>conftest.$ac_ext <<_ACEOF
17635 /* end confdefs.h. */
17645 rm -f conftest.$ac_objext conftest.$ac_ext.o
17646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17647 (eval $ac_compile) 2>&5
17649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17650 (exit $ac_status); }; then
17651 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17653 conftest.$ac_ext.o)
17654 bakefile_cv_c_exto="-ext o
"
17661 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17662 See \
`config.log' for more details." >&5
17663 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17664 See \`config.log
' for more details." >&2;}
17665 { (exit 1); exit 1; }; }
17669 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17672 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17673 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17674 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17675 if test "c" = "c"; then
17676 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17678 if test "c" = "cxx"; then
17679 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17683 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17684 unset ac_cv_prog_cc_g
17685 ac_test_CFLAGS=${CFLAGS+set}
17686 ac_save_CFLAGS=$CFLAGS
17687 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17689 if test "${ac_cv_prog_cc_g+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 ac_save_c_werror_flag=$ac_c_werror_flag
17693 ac_c_werror_flag=yes
17696 cat >conftest.$ac_ext <<_ACEOF
17699 cat confdefs.h >>conftest.$ac_ext
17700 cat >>conftest.$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17711 rm -f conftest.$ac_objext
17712 if { (ac_try="$ac_compile"
17713 case "(($ac_try" in
17714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17715 *) ac_try_echo=$ac_try;;
17717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17718 (eval "$ac_compile") 2>conftest.er1
17720 grep -v '^
*+' conftest.er1 >conftest.err
17722 cat conftest.err >&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); } && {
17725 test -z "$ac_c_werror_flag" ||
17726 test ! -s conftest.err
17727 } && test -s conftest.$ac_objext; then
17728 ac_cv_prog_cc_g=yes
17730 echo "$as_me: failed program was:" >&5
17731 sed 's
/^
/| /' conftest.$ac_ext >&5
17734 cat >conftest.$ac_ext <<_ACEOF
17737 cat confdefs.h >>conftest.$ac_ext
17738 cat >>conftest.$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17749 rm -f conftest.$ac_objext
17750 if { (ac_try="$ac_compile"
17751 case "(($ac_try" in
17752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17753 *) ac_try_echo=$ac_try;;
17755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17756 (eval "$ac_compile") 2>conftest.er1
17758 grep -v '^
*+' conftest.er1 >conftest.err
17760 cat conftest.err >&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } && {
17763 test -z "$ac_c_werror_flag" ||
17764 test ! -s conftest.err
17765 } && test -s conftest.$ac_objext; then
17768 echo "$as_me: failed program was:" >&5
17769 sed 's
/^
/| /' conftest.$ac_ext >&5
17771 ac_c_werror_flag=$ac_save_c_werror_flag
17773 cat >conftest.$ac_ext <<_ACEOF
17776 cat confdefs.h >>conftest.$ac_ext
17777 cat >>conftest.$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17788 rm -f conftest.$ac_objext
17789 if { (ac_try="$ac_compile"
17790 case "(($ac_try" in
17791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17792 *) ac_try_echo=$ac_try;;
17794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17795 (eval "$ac_compile") 2>conftest.er1
17797 grep -v '^
*+' conftest.er1 >conftest.err
17799 cat conftest.err >&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } && {
17802 test -z "$ac_c_werror_flag" ||
17803 test ! -s conftest.err
17804 } && test -s conftest.$ac_objext; then
17805 ac_cv_prog_cc_g=yes
17807 echo "$as_me: failed program was:" >&5
17808 sed 's
/^
/| /' conftest.$ac_ext >&5
17813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820 ac_c_werror_flag=$ac_save_c_werror_flag
17822 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17823 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17824 if test "$ac_test_CFLAGS" = set; then
17825 CFLAGS=$ac_save_CFLAGS
17826 elif test $ac_cv_prog_cc_g = yes; then
17827 if test "$GCC" = yes; then
17833 if test "$GCC" = yes; then
17847 ac_cpp='$CPP $CPPFLAGS'
17848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17849 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17852 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17853 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17854 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17855 echo $ECHO_N "(cached) $ECHO_C" >&6
17857 cat >conftest.$ac_ext <<_ACEOF
17860 cat confdefs.h >>conftest.$ac_ext
17861 cat >>conftest.$ac_ext <<_ACEOF
17862 /* end confdefs.h. */
17876 rm -f conftest.$ac_objext
17877 if { (ac_try="$ac_compile"
17878 case "(($ac_try" in
17879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17880 *) ac_try_echo=$ac_try;;
17882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17883 (eval "$ac_compile") 2>conftest.er1
17885 grep -v '^
*+' conftest.er1 >conftest.err
17887 cat conftest.err >&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } && {
17890 test -z "$ac_c_werror_flag" ||
17891 test ! -s conftest.err
17892 } && test -s conftest.$ac_objext; then
17893 bakefile_cv_c_compiler___xlC__=yes
17895 echo "$as_me: failed program was:" >&5
17896 sed 's
/^
/| /' conftest.$ac_ext >&5
17898 bakefile_cv_c_compiler___xlC__=no
17902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17906 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17907 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17908 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17914 ac_cpp='$CPP $CPPFLAGS'
17915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17916 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17927 ac_cpp='$CPP $CPPFLAGS'
17928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17929 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17932 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17933 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17934 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17935 echo $ECHO_N "(cached) $ECHO_C" >&6
17937 cat >conftest.$ac_ext <<_ACEOF
17940 cat confdefs.h >>conftest.$ac_ext
17941 cat >>conftest.$ac_ext <<_ACEOF
17942 /* end confdefs.h. */
17956 rm -f conftest.$ac_objext
17957 if { (ac_try="$ac_compile"
17958 case "(($ac_try" in
17959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17960 *) ac_try_echo=$ac_try;;
17962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17963 (eval "$ac_compile") 2>conftest.er1
17965 grep -v '^
*+' conftest.er1 >conftest.err
17967 cat conftest.err >&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); } && {
17970 test -z "$ac_c_werror_flag" ||
17971 test ! -s conftest.err
17972 } && test -s conftest.$ac_objext; then
17973 bakefile_cv_c_compiler___MWERKS__=yes
17975 echo "$as_me: failed program was:" >&5
17976 sed 's
/^
/| /' conftest.$ac_ext >&5
17978 bakefile_cv_c_compiler___MWERKS__=no
17982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17987 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17988 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17994 ac_cpp='$CPP $CPPFLAGS'
17995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17996 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18006 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18009 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18010 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18011 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 cat >conftest.$ac_ext <<_ACEOF
18017 cat confdefs.h >>conftest.$ac_ext
18018 cat >>conftest.$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18033 rm -f conftest.$ac_objext
18034 if { (ac_try="$ac_compile"
18035 case "(($ac_try" in
18036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18037 *) ac_try_echo=$ac_try;;
18039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18040 (eval "$ac_compile") 2>conftest.er1
18042 grep -v '^
*+' conftest.er1 >conftest.err
18044 cat conftest.err >&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && {
18047 test -z "$ac_c_werror_flag" ||
18048 test ! -s conftest.err
18049 } && test -s conftest.$ac_objext; then
18050 bakefile_cv_c_compiler___xlC__=yes
18052 echo "$as_me: failed program was:" >&5
18053 sed 's
/^
/| /' conftest.$ac_ext >&5
18055 bakefile_cv_c_compiler___xlC__=no
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18063 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18064 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18065 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18071 ac_cpp='$CPP $CPPFLAGS'
18072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18073 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18084 ac_cpp='$CPP $CPPFLAGS'
18085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18086 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18089 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18090 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18091 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18092 echo $ECHO_N "(cached) $ECHO_C" >&6
18094 cat >conftest.$ac_ext <<_ACEOF
18097 cat confdefs.h >>conftest.$ac_ext
18098 cat >>conftest.$ac_ext <<_ACEOF
18099 /* end confdefs.h. */
18105 #ifndef _SGI_COMPILER_VERSION
18113 rm -f conftest.$ac_objext
18114 if { (ac_try="$ac_compile"
18115 case "(($ac_try" in
18116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18117 *) ac_try_echo=$ac_try;;
18119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18120 (eval "$ac_compile") 2>conftest.er1
18122 grep -v '^
*+' conftest.er1 >conftest.err
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } && {
18127 test -z "$ac_c_werror_flag" ||
18128 test ! -s conftest.err
18129 } && test -s conftest.$ac_objext; then
18130 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18132 echo "$as_me: failed program was:" >&5
18133 sed 's
/^
/| /' conftest.$ac_ext >&5
18135 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18143 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18144 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18145 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18151 ac_cpp='$CPP $CPPFLAGS'
18152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18153 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18164 ac_cpp='$CPP $CPPFLAGS'
18165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18166 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18169 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18170 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18171 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 cat >conftest.$ac_ext <<_ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18193 rm -f conftest.$ac_objext
18194 if { (ac_try="$ac_compile"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18197 *) ac_try_echo=$ac_try;;
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_compile") 2>conftest.er1
18202 grep -v '^
*+' conftest.er1 >conftest.err
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } && {
18207 test -z "$ac_c_werror_flag" ||
18208 test ! -s conftest.err
18209 } && test -s conftest.$ac_objext; then
18210 bakefile_cv_c_compiler___SUNPRO_C=yes
18212 echo "$as_me: failed program was:" >&5
18213 sed 's
/^
/| /' conftest.$ac_ext >&5
18215 bakefile_cv_c_compiler___SUNPRO_C=no
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18224 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18225 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18231 ac_cpp='$CPP $CPPFLAGS'
18232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18233 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18246 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18249 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18250 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18251 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 cat >conftest.$ac_ext <<_ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18273 rm -f conftest.$ac_objext
18274 if { (ac_try="$ac_compile"
18275 case "(($ac_try" in
18276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18277 *) ac_try_echo=$ac_try;;
18279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18280 (eval "$ac_compile") 2>conftest.er1
18282 grep -v '^
*+' conftest.er1 >conftest.err
18284 cat conftest.err >&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } && {
18287 test -z "$ac_c_werror_flag" ||
18288 test ! -s conftest.err
18289 } && test -s conftest.$ac_objext; then
18290 bakefile_cv_c_compiler___HP_cc=yes
18292 echo "$as_me: failed program was:" >&5
18293 sed 's
/^
/| /' conftest.$ac_ext >&5
18295 bakefile_cv_c_compiler___HP_cc=no
18299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18303 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18304 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18305 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18311 ac_cpp='$CPP $CPPFLAGS'
18312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18313 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18324 ac_cpp='$CPP $CPPFLAGS'
18325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18326 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18329 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18330 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18331 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18332 echo $ECHO_N "(cached) $ECHO_C" >&6
18334 cat >conftest.$ac_ext <<_ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18353 rm -f conftest.$ac_objext
18354 if { (ac_try="$ac_compile"
18355 case "(($ac_try" in
18356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18357 *) ac_try_echo=$ac_try;;
18359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18360 (eval "$ac_compile") 2>conftest.er1
18362 grep -v '^
*+' conftest.er1 >conftest.err
18364 cat conftest.err >&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); } && {
18367 test -z "$ac_c_werror_flag" ||
18368 test ! -s conftest.err
18369 } && test -s conftest.$ac_objext; then
18370 bakefile_cv_c_compiler___DECC=yes
18372 echo "$as_me: failed program was:" >&5
18373 sed 's
/^
/| /' conftest.$ac_ext >&5
18375 bakefile_cv_c_compiler___DECC=no
18379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18384 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18385 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18391 ac_cpp='$CPP $CPPFLAGS'
18392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18393 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18404 ac_cpp='$CPP $CPPFLAGS'
18405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18406 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18409 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18410 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18411 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18412 echo $ECHO_N "(cached) $ECHO_C" >&6
18414 cat >conftest.$ac_ext <<_ACEOF
18417 cat confdefs.h >>conftest.$ac_ext
18418 cat >>conftest.$ac_ext <<_ACEOF
18419 /* end confdefs.h. */
18433 rm -f conftest.$ac_objext
18434 if { (ac_try="$ac_compile"
18435 case "(($ac_try" in
18436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18437 *) ac_try_echo=$ac_try;;
18439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18440 (eval "$ac_compile") 2>conftest.er1
18442 grep -v '^
*+' conftest.er1 >conftest.err
18444 cat conftest.err >&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } && {
18447 test -z "$ac_c_werror_flag" ||
18448 test ! -s conftest.err
18449 } && test -s conftest.$ac_objext; then
18450 bakefile_cv_c_compiler___SUNPRO_C=yes
18452 echo "$as_me: failed program was:" >&5
18453 sed 's
/^
/| /' conftest.$ac_ext >&5
18455 bakefile_cv_c_compiler___SUNPRO_C=no
18459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18464 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18465 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18471 ac_cpp='$CPP $CPPFLAGS'
18472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18473 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18485 ac_cpp='$CPP $CPPFLAGS'
18486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18487 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18489 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18490 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18491 # On Suns, sometimes $CPP names a directory.
18492 if test -n "$CPP" && test -d "$CPP"; then
18495 if test -z "$CPP"; then
18496 if test "${ac_cv_prog_CPP+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 # Double quotes because CPP needs to be expanded
18500 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18502 ac_preproc_ok=false
18503 for ac_c_preproc_warn_flag in '' yes
18505 # Use a header file that comes with gcc, so configuring glibc
18506 # with a fresh cross-compiler works.
18507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18508 # <limits.h> exists even on freestanding compilers.
18509 # On the NeXT, cc -E runs the code through the compiler's parser
,
18510 # not just through cpp. "Syntax error" is here to catch this case.
18511 cat >conftest.
$ac_ext <<_ACEOF
18514 cat confdefs.h
>>conftest.
$ac_ext
18515 cat >>conftest.
$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18518 # include <limits.h>
18520 # include <assert.h>
18524 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18525 case "(($ac_try" in
18526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18527 *) ac_try_echo=$ac_try;;
18529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18530 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18532 grep -v '^ *+' conftest.er1 >conftest.err
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } >/dev/null && {
18537 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18538 test ! -s conftest.err
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.$ac_ext >&5
18545 # Broken: fails on valid input.
18549 rm -f conftest.err conftest.$ac_ext
18551 # OK, works on sane cases. Now check whether nonexistent headers
18552 # can be detected and how.
18553 cat >conftest.$ac_ext <<_ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 #include <ac_nonexistent.h>
18561 if { (ac_try="$ac_cpp conftest.$ac_ext"
18562 case "(($ac_try" in
18563 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18564 *) ac_try_echo
=$ac_try;;
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18569 grep -v '^ *+' conftest.er1
>conftest.err
18571 cat conftest.err
>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } >/dev
/null
&& {
18574 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18575 test ! -s conftest.err
18577 # Broken: success on invalid input.
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.
$ac_ext >&5
18583 # Passes both tests.
18588 rm -f conftest.err conftest.
$ac_ext
18591 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18592 rm -f conftest.err conftest.
$ac_ext
18593 if $ac_preproc_ok; then
18598 ac_cv_prog_CPP
=$CPP
18601 CPP
=$ac_cv_prog_CPP
18603 ac_cv_prog_CPP
=$CPP
18605 { echo "$as_me:$LINENO: result: $CPP" >&5
18606 echo "${ECHO_T}$CPP" >&6; }
18607 ac_preproc_ok
=false
18608 for ac_c_preproc_warn_flag
in '' yes
18610 # Use a header file that comes with gcc, so configuring glibc
18611 # with a fresh cross-compiler works.
18612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18613 # <limits.h> exists even on freestanding compilers.
18614 # On the NeXT, cc -E runs the code through the compiler's parser,
18615 # not just through cpp. "Syntax error" is here to catch this case.
18616 cat >conftest.
$ac_ext <<_ACEOF
18619 cat confdefs.h
>>conftest.
$ac_ext
18620 cat >>conftest.
$ac_ext <<_ACEOF
18621 /* end confdefs.h. */
18623 # include <limits.h>
18625 # include <assert.h>
18629 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18630 case "(($ac_try" in
18631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18632 *) ac_try_echo=$ac_try;;
18634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18637 grep -v '^ *+' conftest.er1 >conftest.err
18639 cat conftest.err >&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } >/dev/null && {
18642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18643 test ! -s conftest.err
18647 echo "$as_me: failed program was:" >&5
18648 sed 's/^/| /' conftest.$ac_ext >&5
18650 # Broken: fails on valid input.
18654 rm -f conftest.err conftest.$ac_ext
18656 # OK, works on sane cases. Now check whether nonexistent headers
18657 # can be detected and how.
18658 cat >conftest.$ac_ext <<_ACEOF
18661 cat confdefs.h >>conftest.$ac_ext
18662 cat >>conftest.$ac_ext <<_ACEOF
18663 /* end confdefs.h. */
18664 #include <ac_nonexistent.h>
18666 if { (ac_try="$ac_cpp conftest.$ac_ext"
18667 case "(($ac_try" in
18668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18669 *) ac_try_echo
=$ac_try;;
18671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18674 grep -v '^ *+' conftest.er1
>conftest.err
18676 cat conftest.err
>&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } >/dev
/null
&& {
18679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18680 test ! -s conftest.err
18682 # Broken: success on invalid input.
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.
$ac_ext >&5
18688 # Passes both tests.
18693 rm -f conftest.err conftest.
$ac_ext
18696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18697 rm -f conftest.err conftest.
$ac_ext
18698 if $ac_preproc_ok; then
18701 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18702 See \`config.log' for more details." >&5
18703 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18704 See \`config.log' for more details." >&2;}
18705 { (exit 1); exit 1; }; }
18709 ac_cpp
='$CPP $CPPFLAGS'
18710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18715 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18716 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18717 if test "${ac_cv_path_GREP+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18720 # Extract the first word of "grep ggrep" to use in msg output
18721 if test -z "$GREP"; then
18722 set dummy
grep ggrep
; ac_prog_name
=$2
18723 if test "${ac_cv_path_GREP+set}" = set; then
18724 echo $ECHO_N "(cached) $ECHO_C" >&6
18726 ac_path_GREP_found
=false
18727 # Loop through the user's path and test for each of PROGNAME-LIST
18728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18729 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18732 test -z "$as_dir" && as_dir
=.
18733 for ac_prog
in grep ggrep
; do
18734 for ac_exec_ext
in '' $ac_executable_extensions; do
18735 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18736 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18737 # Check for GNU ac_path_GREP and select it if it is found.
18738 # Check for GNU $ac_path_GREP
18739 case `"$ac_path_GREP" --version 2>&1` in
18741 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18744 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18747 cat "conftest.in" "conftest.in" >"conftest.tmp"
18748 mv "conftest.tmp" "conftest.in"
18749 cp "conftest.in" "conftest.nl"
18750 echo 'GREP' >> "conftest.nl"
18751 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18752 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18753 ac_count
=`expr $ac_count + 1`
18754 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18755 # Best one so far, save it but keep looking for a better one
18756 ac_cv_path_GREP
="$ac_path_GREP"
18757 ac_path_GREP_max
=$ac_count
18759 # 10*(2^10) chars as input seems more than enough
18760 test $ac_count -gt 10 && break
18762 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18766 $ac_path_GREP_found && break 3
18776 GREP
="$ac_cv_path_GREP"
18777 if test -z "$GREP"; then
18778 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18779 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18780 { (exit 1); exit 1; }; }
18784 ac_cv_path_GREP
=$GREP
18789 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18790 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18791 GREP
="$ac_cv_path_GREP"
18794 { echo "$as_me:$LINENO: checking for egrep" >&5
18795 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18796 if test "${ac_cv_path_EGREP+set}" = set; then
18797 echo $ECHO_N "(cached) $ECHO_C" >&6
18799 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18800 then ac_cv_path_EGREP
="$GREP -E"
18802 # Extract the first word of "egrep" to use in msg output
18803 if test -z "$EGREP"; then
18804 set dummy
egrep; ac_prog_name
=$2
18805 if test "${ac_cv_path_EGREP+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18808 ac_path_EGREP_found
=false
18809 # Loop through the user's path and test for each of PROGNAME-LIST
18810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18811 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18814 test -z "$as_dir" && as_dir
=.
18815 for ac_prog
in egrep; do
18816 for ac_exec_ext
in '' $ac_executable_extensions; do
18817 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18818 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18819 # Check for GNU ac_path_EGREP and select it if it is found.
18820 # Check for GNU $ac_path_EGREP
18821 case `"$ac_path_EGREP" --version 2>&1` in
18823 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18826 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18829 cat "conftest.in" "conftest.in" >"conftest.tmp"
18830 mv "conftest.tmp" "conftest.in"
18831 cp "conftest.in" "conftest.nl"
18832 echo 'EGREP' >> "conftest.nl"
18833 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18834 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18835 ac_count
=`expr $ac_count + 1`
18836 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18837 # Best one so far, save it but keep looking for a better one
18838 ac_cv_path_EGREP
="$ac_path_EGREP"
18839 ac_path_EGREP_max
=$ac_count
18841 # 10*(2^10) chars as input seems more than enough
18842 test $ac_count -gt 10 && break
18844 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18848 $ac_path_EGREP_found && break 3
18858 EGREP
="$ac_cv_path_EGREP"
18859 if test -z "$EGREP"; then
18860 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18861 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18862 { (exit 1); exit 1; }; }
18866 ac_cv_path_EGREP
=$EGREP
18872 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18873 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18874 EGREP
="$ac_cv_path_EGREP"
18877 if test $ac_cv_c_compiler_gnu = yes; then
18878 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18879 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18880 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18881 echo $ECHO_N "(cached) $ECHO_C" >&6
18883 ac_pattern
="Autoconf.*'x'"
18884 cat >conftest.
$ac_ext <<_ACEOF
18887 cat confdefs.h
>>conftest.
$ac_ext
18888 cat >>conftest.
$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18894 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18895 ac_cv_prog_gcc_traditional
=yes
18897 ac_cv_prog_gcc_traditional
=no
18902 if test $ac_cv_prog_gcc_traditional = no
; then
18903 cat >conftest.
$ac_ext <<_ACEOF
18906 cat confdefs.h
>>conftest.
$ac_ext
18907 cat >>conftest.
$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 #include <termio.h>
18912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18913 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18914 ac_cv_prog_gcc_traditional
=yes
18920 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18921 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18922 if test $ac_cv_prog_gcc_traditional = yes; then
18923 CC
="$CC -traditional"
18928 CXXFLAGS
=${CXXFLAGS:=}
18933 ac_cpp
='$CXXCPP $CPPFLAGS'
18934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18937 if test -z "$CXX"; then
18938 if test -n "$CCC"; then
18941 if test -n "$ac_tool_prefix"; then
18942 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18945 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18948 if test "${ac_cv_prog_CXX+set}" = set; then
18949 echo $ECHO_N "(cached) $ECHO_C" >&6
18951 if test -n "$CXX"; then
18952 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18955 for as_dir
in $PATH
18958 test -z "$as_dir" && as_dir
=.
18959 for ac_exec_ext
in '' $ac_executable_extensions; do
18960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18961 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18971 CXX
=$ac_cv_prog_CXX
18972 if test -n "$CXX"; then
18973 { echo "$as_me:$LINENO: result: $CXX" >&5
18974 echo "${ECHO_T}$CXX" >&6; }
18976 { echo "$as_me:$LINENO: result: no" >&5
18977 echo "${ECHO_T}no" >&6; }
18981 test -n "$CXX" && break
18984 if test -z "$CXX"; then
18986 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18988 # Extract the first word of "$ac_prog", so it can be a program name with args.
18989 set dummy
$ac_prog; ac_word
=$2
18990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18992 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18995 if test -n "$ac_ct_CXX"; then
18996 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18999 for as_dir
in $PATH
19002 test -z "$as_dir" && as_dir
=.
19003 for ac_exec_ext
in '' $ac_executable_extensions; do
19004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19005 ac_cv_prog_ac_ct_CXX
="$ac_prog"
19006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19015 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
19016 if test -n "$ac_ct_CXX"; then
19017 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19018 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19020 { echo "$as_me:$LINENO: result: no" >&5
19021 echo "${ECHO_T}no" >&6; }
19025 test -n "$ac_ct_CXX" && break
19028 if test "x$ac_ct_CXX" = x
; then
19031 case $cross_compiling:$ac_tool_warned in
19033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19034 whose name does not start with the host triplet. If you think this
19035 configuration is useful to you, please write to autoconf@gnu.org." >&5
19036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19037 whose name does not start with the host triplet. If you think this
19038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19039 ac_tool_warned
=yes ;;
19047 # Provide some information about the compiler.
19048 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19049 ac_compiler
=`set X $ac_compile; echo $2`
19050 { (ac_try
="$ac_compiler --version >&5"
19051 case "(($ac_try" in
19052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19053 *) ac_try_echo=$ac_try;;
19055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19056 (eval "$ac_compiler --version >&5") 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }
19060 { (ac_try="$ac_compiler -v >&5"
19061 case "(($ac_try" in
19062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19063 *) ac_try_echo
=$ac_try;;
19065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_compiler -v >&5") 2>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }
19070 { (ac_try
="$ac_compiler -V >&5"
19071 case "(($ac_try" in
19072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19073 *) ac_try_echo=$ac_try;;
19075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19076 (eval "$ac_compiler -V >&5") 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }
19081 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19082 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19083 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19084 echo $ECHO_N "(cached) $ECHO_C" >&6
19086 cat >conftest.$ac_ext <<_ACEOF
19089 cat confdefs.h >>conftest.$ac_ext
19090 cat >>conftest.$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19104 rm -f conftest.$ac_objext
19105 if { (ac_try="$ac_compile"
19106 case "(($ac_try" in
19107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19108 *) ac_try_echo
=$ac_try;;
19110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19111 (eval "$ac_compile") 2>conftest.er1
19113 grep -v '^ *+' conftest.er1
>conftest.err
19115 cat conftest.err
>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } && {
19118 test -z "$ac_cxx_werror_flag" ||
19119 test ! -s conftest.err
19120 } && test -s conftest.
$ac_objext; then
19121 ac_compiler_gnu
=yes
19123 echo "$as_me: failed program was:" >&5
19124 sed 's/^/| /' conftest.
$ac_ext >&5
19129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19130 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19133 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19134 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19135 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19136 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19137 ac_save_CXXFLAGS
=$CXXFLAGS
19138 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19139 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19140 if test "${ac_cv_prog_cxx_g+set}" = set; then
19141 echo $ECHO_N "(cached) $ECHO_C" >&6
19143 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19144 ac_cxx_werror_flag
=yes
19145 ac_cv_prog_cxx_g
=no
19147 cat >conftest.
$ac_ext <<_ACEOF
19150 cat confdefs.h
>>conftest.
$ac_ext
19151 cat >>conftest.
$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19162 rm -f conftest.
$ac_objext
19163 if { (ac_try
="$ac_compile"
19164 case "(($ac_try" in
19165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19166 *) ac_try_echo=$ac_try;;
19168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19169 (eval "$ac_compile") 2>conftest.er1
19171 grep -v '^ *+' conftest.er1 >conftest.err
19173 cat conftest.err >&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); } && {
19176 test -z "$ac_cxx_werror_flag" ||
19177 test ! -s conftest.err
19178 } && test -s conftest.$ac_objext; then
19179 ac_cv_prog_cxx_g=yes
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19185 cat >conftest.$ac_ext <<_ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19200 rm -f conftest.$ac_objext
19201 if { (ac_try="$ac_compile"
19202 case "(($ac_try" in
19203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19204 *) ac_try_echo
=$ac_try;;
19206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19207 (eval "$ac_compile") 2>conftest.er1
19209 grep -v '^ *+' conftest.er1
>conftest.err
19211 cat conftest.err
>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } && {
19214 test -z "$ac_cxx_werror_flag" ||
19215 test ! -s conftest.err
19216 } && test -s conftest.
$ac_objext; then
19219 echo "$as_me: failed program was:" >&5
19220 sed 's/^/| /' conftest.
$ac_ext >&5
19222 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19224 cat >conftest.
$ac_ext <<_ACEOF
19227 cat confdefs.h
>>conftest.
$ac_ext
19228 cat >>conftest.
$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19239 rm -f conftest.
$ac_objext
19240 if { (ac_try
="$ac_compile"
19241 case "(($ac_try" in
19242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19243 *) ac_try_echo=$ac_try;;
19245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19246 (eval "$ac_compile") 2>conftest.er1
19248 grep -v '^ *+' conftest.er1 >conftest.err
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } && {
19253 test -z "$ac_cxx_werror_flag" ||
19254 test ! -s conftest.err
19255 } && test -s conftest.$ac_objext; then
19256 ac_cv_prog_cxx_g=yes
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19271 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19273 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19274 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19275 if test "$ac_test_CXXFLAGS" = set; then
19276 CXXFLAGS=$ac_save_CXXFLAGS
19277 elif test $ac_cv_prog_cxx_g = yes; then
19278 if test "$GXX" = yes; then
19284 if test "$GXX" = yes; then
19291 ac_cpp='$CPP $CPPFLAGS'
19292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19300 ac_cpp='$CXXCPP $CPPFLAGS'
19301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19305 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19306 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19307 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19310 cat >conftest.$ac_ext <<_ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19321 #ifndef __INTEL_COMPILER
19329 rm -f conftest.$ac_objext
19330 if { (ac_try="$ac_compile"
19331 case "(($ac_try" in
19332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19333 *) ac_try_echo
=$ac_try;;
19335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19336 (eval "$ac_compile") 2>conftest.er1
19338 grep -v '^ *+' conftest.er1
>conftest.err
19340 cat conftest.err
>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } && {
19343 test -z "$ac_cxx_werror_flag" ||
19344 test ! -s conftest.err
19345 } && test -s conftest.
$ac_objext; then
19346 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.
$ac_ext >&5
19351 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19359 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19360 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19361 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19367 ac_cpp
='$CPP $CPPFLAGS'
19368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19375 if test "x$GCXX" != "xyes"; then
19376 if test "xCXX" = "xC"; then
19377 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19378 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19379 if test "${bakefile_cv_c_exto+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 cat >conftest.
$ac_ext <<_ACEOF
19385 cat confdefs.h
>>conftest.
$ac_ext
19386 cat >>conftest.
$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19397 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19399 (eval $ac_compile) 2>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; then
19403 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19405 conftest.
$ac_ext.o
)
19406 bakefile_cv_c_exto
="-ext o"
19413 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19414 See \`config.log' for more details." >&5
19415 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19416 See \`config.log' for more details." >&2;}
19417 { (exit 1); exit 1; }; }
19421 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19424 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19425 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19426 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19427 if test "c" = "c"; then
19428 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19430 if test "c" = "cxx"; then
19431 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19435 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19436 unset ac_cv_prog_cc_g
19437 ac_test_CFLAGS
=${CFLAGS+set}
19438 ac_save_CFLAGS
=$CFLAGS
19439 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19440 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19441 if test "${ac_cv_prog_cc_g+set}" = set; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19444 ac_save_c_werror_flag
=$ac_c_werror_flag
19445 ac_c_werror_flag
=yes
19448 cat >conftest.
$ac_ext <<_ACEOF
19451 cat confdefs.h
>>conftest.
$ac_ext
19452 cat >>conftest.
$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19463 rm -f conftest.
$ac_objext
19464 if { (ac_try
="$ac_compile"
19465 case "(($ac_try" in
19466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19467 *) ac_try_echo=$ac_try;;
19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_compile") 2>conftest.er1
19472 grep -v '^ *+' conftest.er1 >conftest.err
19474 cat conftest.err >&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && {
19477 test -z "$ac_c_werror_flag" ||
19478 test ! -s conftest.err
19479 } && test -s conftest.$ac_objext; then
19480 ac_cv_prog_cc_g=yes
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19486 cat >conftest.$ac_ext <<_ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19501 rm -f conftest.$ac_objext
19502 if { (ac_try="$ac_compile"
19503 case "(($ac_try" in
19504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19505 *) ac_try_echo
=$ac_try;;
19507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19508 (eval "$ac_compile") 2>conftest.er1
19510 grep -v '^ *+' conftest.er1
>conftest.err
19512 cat conftest.err
>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } && {
19515 test -z "$ac_c_werror_flag" ||
19516 test ! -s conftest.err
19517 } && test -s conftest.
$ac_objext; then
19520 echo "$as_me: failed program was:" >&5
19521 sed 's/^/| /' conftest.
$ac_ext >&5
19523 ac_c_werror_flag
=$ac_save_c_werror_flag
19525 cat >conftest.
$ac_ext <<_ACEOF
19528 cat confdefs.h
>>conftest.
$ac_ext
19529 cat >>conftest.
$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19540 rm -f conftest.
$ac_objext
19541 if { (ac_try
="$ac_compile"
19542 case "(($ac_try" in
19543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19544 *) ac_try_echo=$ac_try;;
19546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19547 (eval "$ac_compile") 2>conftest.er1
19549 grep -v '^ *+' conftest.er1 >conftest.err
19551 cat conftest.err >&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } && {
19554 test -z "$ac_c_werror_flag" ||
19555 test ! -s conftest.err
19556 } && test -s conftest.$ac_objext; then
19557 ac_cv_prog_cc_g=yes
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19572 ac_c_werror_flag=$ac_save_c_werror_flag
19574 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19575 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19576 if test "$ac_test_CFLAGS" = set; then
19577 CFLAGS=$ac_save_CFLAGS
19578 elif test $ac_cv_prog_cc_g = yes; then
19579 if test "$GCC" = yes; then
19585 if test "$GCC" = yes; then
19599 ac_cpp='$CXXCPP $CPPFLAGS'
19600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19604 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19605 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19606 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19607 echo $ECHO_N "(cached) $ECHO_C" >&6
19609 cat >conftest.$ac_ext <<_ACEOF
19612 cat confdefs.h >>conftest.$ac_ext
19613 cat >>conftest.$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19628 rm -f conftest.$ac_objext
19629 if { (ac_try="$ac_compile"
19630 case "(($ac_try" in
19631 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19632 *) ac_try_echo
=$ac_try;;
19634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19635 (eval "$ac_compile") 2>conftest.er1
19637 grep -v '^ *+' conftest.er1
>conftest.err
19639 cat conftest.err
>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } && {
19642 test -z "$ac_cxx_werror_flag" ||
19643 test ! -s conftest.err
19644 } && test -s conftest.
$ac_objext; then
19645 bakefile_cv_cxx_compiler___xlC__
=yes
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.
$ac_ext >&5
19650 bakefile_cv_cxx_compiler___xlC__
=no
19654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19658 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19659 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19660 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19666 ac_cpp
='$CPP $CPPFLAGS'
19667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19679 ac_cpp
='$CXXCPP $CPPFLAGS'
19680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19684 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19685 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19686 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19687 echo $ECHO_N "(cached) $ECHO_C" >&6
19689 cat >conftest.
$ac_ext <<_ACEOF
19692 cat confdefs.h
>>conftest.
$ac_ext
19693 cat >>conftest.
$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19708 rm -f conftest.
$ac_objext
19709 if { (ac_try
="$ac_compile"
19710 case "(($ac_try" in
19711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19712 *) ac_try_echo=$ac_try;;
19714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19715 (eval "$ac_compile") 2>conftest.er1
19717 grep -v '^ *+' conftest.er1 >conftest.err
19719 cat conftest.err >&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); } && {
19722 test -z "$ac_cxx_werror_flag" ||
19723 test ! -s conftest.err
19724 } && test -s conftest.$ac_objext; then
19725 bakefile_cv_cxx_compiler___MWERKS__=yes
19727 echo "$as_me: failed program was:" >&5
19728 sed 's/^/| /' conftest.$ac_ext >&5
19730 bakefile_cv_cxx_compiler___MWERKS__=no
19734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19738 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19739 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19740 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19746 ac_cpp='$CPP $CPPFLAGS'
19747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19756 ac_cpp='$CXXCPP $CPPFLAGS'
19757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19761 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19762 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19763 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19764 echo $ECHO_N "(cached) $ECHO_C" >&6
19766 cat >conftest.$ac_ext <<_ACEOF
19769 cat confdefs.h >>conftest.$ac_ext
19770 cat >>conftest.$ac_ext <<_ACEOF
19771 /* end confdefs.h. */
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19789 *) ac_try_echo
=$ac_try;;
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19794 grep -v '^ *+' conftest.er1
>conftest.err
19796 cat conftest.err
>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_cxx_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.
$ac_objext; then
19802 bakefile_cv_cxx_compiler___xlC__
=yes
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.
$ac_ext >&5
19807 bakefile_cv_cxx_compiler___xlC__
=no
19811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19815 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19816 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19817 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19823 ac_cpp
='$CPP $CPPFLAGS'
19824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19836 ac_cpp
='$CXXCPP $CPPFLAGS'
19837 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19838 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19839 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19841 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19842 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19843 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19844 echo $ECHO_N "(cached) $ECHO_C" >&6
19846 cat >conftest.
$ac_ext <<_ACEOF
19849 cat confdefs.h
>>conftest.
$ac_ext
19850 cat >>conftest.
$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19857 #ifndef _SGI_COMPILER_VERSION
19865 rm -f conftest.
$ac_objext
19866 if { (ac_try
="$ac_compile"
19867 case "(($ac_try" in
19868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19869 *) ac_try_echo=$ac_try;;
19871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19872 (eval "$ac_compile") 2>conftest.er1
19874 grep -v '^ *+' conftest.er1 >conftest.err
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } && {
19879 test -z "$ac_cxx_werror_flag" ||
19880 test ! -s conftest.err
19881 } && test -s conftest.$ac_objext; then
19882 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.$ac_ext >&5
19887 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19895 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19896 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19897 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19903 ac_cpp='$CPP $CPPFLAGS'
19904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19916 ac_cpp='$CXXCPP $CPPFLAGS'
19917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19921 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19922 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19923 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19924 echo $ECHO_N "(cached) $ECHO_C" >&6
19926 cat >conftest.$ac_ext <<_ACEOF
19929 cat confdefs.h >>conftest.$ac_ext
19930 cat >>conftest.$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19937 #ifndef __SUNPRO_CC
19945 rm -f conftest.$ac_objext
19946 if { (ac_try="$ac_compile"
19947 case "(($ac_try" in
19948 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19949 *) ac_try_echo
=$ac_try;;
19951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19952 (eval "$ac_compile") 2>conftest.er1
19954 grep -v '^ *+' conftest.er1
>conftest.err
19956 cat conftest.err
>&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); } && {
19959 test -z "$ac_cxx_werror_flag" ||
19960 test ! -s conftest.err
19961 } && test -s conftest.
$ac_objext; then
19962 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19964 echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.
$ac_ext >&5
19967 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19975 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19976 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19977 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19983 ac_cpp
='$CPP $CPPFLAGS'
19984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19996 ac_cpp
='$CXXCPP $CPPFLAGS'
19997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20001 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20002 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20003 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20004 echo $ECHO_N "(cached) $ECHO_C" >&6
20006 cat >conftest.
$ac_ext <<_ACEOF
20009 cat confdefs.h
>>conftest.
$ac_ext
20010 cat >>conftest.
$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20025 rm -f conftest.
$ac_objext
20026 if { (ac_try
="$ac_compile"
20027 case "(($ac_try" in
20028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20029 *) ac_try_echo=$ac_try;;
20031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20032 (eval "$ac_compile") 2>conftest.er1
20034 grep -v '^ *+' conftest.er1 >conftest.err
20036 cat conftest.err >&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); } && {
20039 test -z "$ac_cxx_werror_flag" ||
20040 test ! -s conftest.err
20041 } && test -s conftest.$ac_objext; then
20042 bakefile_cv_cxx_compiler___HP_aCC=yes
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.$ac_ext >&5
20047 bakefile_cv_cxx_compiler___HP_aCC=no
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20055 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20056 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20057 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20063 ac_cpp='$CPP $CPPFLAGS'
20064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20076 ac_cpp='$CXXCPP $CPPFLAGS'
20077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20081 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20082 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20083 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20086 cat >conftest.$ac_ext <<_ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20105 rm -f conftest.$ac_objext
20106 if { (ac_try="$ac_compile"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20109 *) ac_try_echo
=$ac_try;;
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_compile") 2>conftest.er1
20114 grep -v '^ *+' conftest.er1
>conftest.err
20116 cat conftest.err
>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } && {
20119 test -z "$ac_cxx_werror_flag" ||
20120 test ! -s conftest.err
20121 } && test -s conftest.
$ac_objext; then
20122 bakefile_cv_cxx_compiler___DECCXX
=yes
20124 echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.
$ac_ext >&5
20127 bakefile_cv_cxx_compiler___DECCXX
=no
20131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20135 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20136 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20137 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20143 ac_cpp
='$CPP $CPPFLAGS'
20144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20156 ac_cpp
='$CXXCPP $CPPFLAGS'
20157 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20161 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20162 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20163 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20164 echo $ECHO_N "(cached) $ECHO_C" >&6
20166 cat >conftest.
$ac_ext <<_ACEOF
20169 cat confdefs.h
>>conftest.
$ac_ext
20170 cat >>conftest.
$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20177 #ifndef __SUNPRO_CC
20185 rm -f conftest.
$ac_objext
20186 if { (ac_try
="$ac_compile"
20187 case "(($ac_try" in
20188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20189 *) ac_try_echo=$ac_try;;
20191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20192 (eval "$ac_compile") 2>conftest.er1
20194 grep -v '^ *+' conftest.er1 >conftest.err
20196 cat conftest.err >&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && {
20199 test -z "$ac_cxx_werror_flag" ||
20200 test ! -s conftest.err
20201 } && test -s conftest.$ac_objext; then
20202 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20204 echo "$as_me: failed program was:" >&5
20205 sed 's/^/| /' conftest.$ac_ext >&5
20207 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20215 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20216 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20217 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20223 ac_cpp='$CPP $CPPFLAGS'
20224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20236 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20237 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20238 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20239 { (exit 1); exit 1; }; }
20242 if test "x$SUNCXX" != xyes; then
20243 if test -n "$ac_tool_prefix"; then
20244 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20245 set dummy ${ac_tool_prefix}ar; ac_word=$2
20246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20248 if test "${ac_cv_prog_AR+set}" = set; then
20249 echo $ECHO_N "(cached) $ECHO_C" >&6
20251 if test -n "$AR"; then
20252 ac_cv_prog_AR="$AR" # Let the user override the test.
20254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20255 for as_dir in $PATH
20258 test -z "$as_dir" && as_dir=.
20259 for ac_exec_ext in '' $ac_executable_extensions; do
20260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20261 ac_cv_prog_AR="${ac_tool_prefix}ar"
20262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20272 if test -n "$AR"; then
20273 { echo "$as_me:$LINENO: result: $AR" >&5
20274 echo "${ECHO_T}$AR" >&6; }
20276 { echo "$as_me:$LINENO: result: no" >&5
20277 echo "${ECHO_T}no" >&6; }
20282 if test -z "$ac_cv_prog_AR"; then
20284 # Extract the first word of "ar", so it can be a program name with args.
20285 set dummy ar; ac_word=$2
20286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20288 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20291 if test -n "$ac_ct_AR"; then
20292 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20295 for as_dir in $PATH
20298 test -z "$as_dir" && as_dir=.
20299 for ac_exec_ext in '' $ac_executable_extensions; do
20300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20301 ac_cv_prog_ac_ct_AR="ar"
20302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20311 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20312 if test -n "$ac_ct_AR"; then
20313 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20314 echo "${ECHO_T}$ac_ct_AR" >&6; }
20316 { echo "$as_me:$LINENO: result: no" >&5
20317 echo "${ECHO_T}no" >&6; }
20320 if test "x$ac_ct_AR" = x; then
20323 case $cross_compiling:$ac_tool_warned in
20325 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20326 whose name does not start with the host triplet. If you think this
20327 configuration is useful to you, please write to autoconf@gnu.org." >&5
20328 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20329 whose name does not start with the host triplet. If you think this
20330 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20331 ac_tool_warned=yes ;;
20336 AR="$ac_cv_prog_AR"
20339 if test "x$AR" = "x" ; then
20340 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20341 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20342 { (exit 1); exit 1; }; }
20346 retest_macosx_linking=no
20348 #if test "$wxUSE_MAC" = 1; then
20349 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20350 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20351 # Implicitly turn on the new --with-macosx-sdk using the default
20352 # SDK which provides the behavior this option has always had.
20353 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20354 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20355 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20356 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20357 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20358 wxUSE_MACOSX_SDK=yes
20361 # Complain to user if he specified an argument to --enable-universal_binary
20362 # and also 1) specified --with-macosx-sdk using the default (yes) or
20363 # 2) specified --with-macosx-sdk using a path or 3) specified
20364 # --without-macosx-sdk (no).
20365 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20366 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20367 See \`config.log
' for more details." >&5
20368 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20369 See \`config.log' for more details.
" >&2;}
20370 { (exit 1); exit 1; }; }
20372 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20373 # special-case the empty string because the below test simply
20374 # converts "no
" to the empty string anyway.
20375 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20376 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20377 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20380 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20381 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20382 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20383 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20384 retest_macosx_linking=yes
20386 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20387 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20392 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20394 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20395 # TODO: Search for most recent SDK and use it.
20396 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20400 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20401 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20402 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20403 if ! test -d "$wxUSE_MACOSX_SDK"; then
20404 { { echo "$as_me:$LINENO: error
: not found
20405 See \
`config.log' for more details." >&5
20406 echo "$as_me: error: not found
20407 See \`config.log
' for more details." >&2;}
20408 { (exit 1); exit 1; }; }
20410 { echo "$as_me:$LINENO: result: exists" >&5
20411 echo "${ECHO_T}exists" >&6; }
20413 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20414 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20415 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20416 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20417 retest_macosx_linking=yes
20420 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20421 wxUSE_MACOSX_VERSION_MIN=
20422 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20423 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20424 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20425 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20427 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/'`
20429 # If that failed, try again with the new key
20430 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20432 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | 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/'`
20436 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20437 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20438 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20439 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20441 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20442 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20443 wxUSE_MACOSX_VERSION_MIN=
20446 wxUSE_MACOSX_VERSION_MIN=
20450 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20451 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20452 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20453 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20454 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20455 retest_macosx_linking=yes
20458 if test "x$retest_macosx_linking" = "xyes"; then
20460 ac_cpp='$CPP $CPPFLAGS'
20461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20462 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20465 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20466 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20467 cat >conftest.$ac_ext <<_ACEOF
20470 cat confdefs.h >>conftest.$ac_ext
20471 cat >>conftest.$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20482 rm -f conftest.$ac_objext conftest$ac_exeext
20483 if { (ac_try="$ac_link"
20484 case "(($ac_try" in
20485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20486 *) ac_try_echo=$ac_try;;
20488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20489 (eval "$ac_link") 2>conftest.er1
20491 grep -v '^
*+' conftest.er1 >conftest.err
20493 cat conftest.err >&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } && {
20496 test -z "$ac_c_werror_flag" ||
20497 test ! -s conftest.err
20498 } && test -s conftest$ac_exeext &&
20499 $as_test_x conftest$ac_exeext; then
20500 { echo "$as_me:$LINENO: result: yes" >&5
20501 echo "${ECHO_T}yes" >&6; }
20503 echo "$as_me: failed program was:" >&5
20504 sed 's
/^
/| /' conftest.$ac_ext >&5
20506 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20507 See \`config.log' for more details.
" >&5
20508 echo "$as_me: error
: no. Try a different SDK
20509 See \
`config.log' for more details." >&2;}
20510 { (exit 1); exit 1; }; }; exit 1
20513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20514 conftest$ac_exeext conftest.$ac_ext
20516 ac_cpp='$CPP $CPPFLAGS'
20517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20523 ac_cpp='$CXXCPP $CPPFLAGS'
20524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20528 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20529 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20530 cat >conftest.$ac_ext <<_ACEOF
20533 cat confdefs.h >>conftest.$ac_ext
20534 cat >>conftest.$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20545 rm -f conftest.$ac_objext conftest$ac_exeext
20546 if { (ac_try="$ac_link"
20547 case "(($ac_try" in
20548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20549 *) ac_try_echo
=$ac_try;;
20551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20552 (eval "$ac_link") 2>conftest.er1
20554 grep -v '^ *+' conftest.er1
>conftest.err
20556 cat conftest.err
>&5
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); } && {
20559 test -z "$ac_cxx_werror_flag" ||
20560 test ! -s conftest.err
20561 } && test -s conftest
$ac_exeext &&
20562 $as_test_x conftest
$ac_exeext; then
20563 { echo "$as_me:$LINENO: result: yes" >&5
20564 echo "${ECHO_T}yes" >&6; }
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.
$ac_ext >&5
20569 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20570 See \`config.log' for more details." >&5
20571 echo "$as_me: error: no. Try a different SDK
20572 See \`config.log' for more details." >&2;}
20573 { (exit 1); exit 1; }; }; exit 1
20576 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20577 conftest
$ac_exeext conftest.
$ac_ext
20579 ac_cpp
='$CPP $CPPFLAGS'
20580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20590 INSTALL_PROGRAM
="cp -fp"
20591 INSTALL_DATA
="cp -fp"
20598 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20599 CXXFLAGS
="-qunique $CXXFLAGS"
20603 powerpc
-*-darwin* )
20604 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20605 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20606 cat >conftest.
$ac_ext <<_ACEOF
20609 cat confdefs.h
>>conftest.
$ac_ext
20610 cat >>conftest.
$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20616 #ifndef __POWERPC__
20617 choke me for lack of PowerPC
20624 rm -f conftest.
$ac_objext
20625 if { (ac_try
="$ac_compile"
20626 case "(($ac_try" in
20627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_compile") 2>conftest.er1
20633 grep -v '^ *+' conftest.er1 >conftest.err
20635 cat conftest.err >&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } && {
20638 test -z "$ac_c_werror_flag" ||
20639 test ! -s conftest.err
20640 } && test -s conftest.$ac_objext; then
20641 { echo "$as_me:$LINENO: result: yes" >&5
20642 echo "${ECHO_T}yes" >&6; }
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20647 { echo "$as_me:$LINENO: result: no" >&5
20648 echo "${ECHO_T}no" >&6; }
20649 cat >>confdefs.h <<\_ACEOF
20650 #define __POWERPC__ 1
20656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20662 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20663 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20664 cat >conftest.$ac_ext <<_ACEOF
20667 cat confdefs.h >>conftest.$ac_ext
20668 cat >>conftest.$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 #include <CoreFoundation/CFBase.h>
20680 rm -f conftest.$ac_objext
20681 if { (ac_try="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20684 *) ac_try_echo
=$ac_try;;
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20689 grep -v '^ *+' conftest.er1
>conftest.err
20691 cat conftest.err
>&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && {
20694 test -z "$ac_c_werror_flag" ||
20695 test ! -s conftest.err
20696 } && test -s conftest.
$ac_objext; then
20697 { echo "$as_me:$LINENO: result: yes" >&5
20698 echo "${ECHO_T}yes" >&6; }
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.
$ac_ext >&5
20703 { echo "$as_me:$LINENO: result: no" >&5
20704 echo "${ECHO_T}no" >&6; }
20705 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20706 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20707 cat >conftest.
$ac_ext <<_ACEOF
20710 cat confdefs.h
>>conftest.
$ac_ext
20711 cat >>conftest.
$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20713 #define __CF_USE_FRAMEWORK_INCLUDES__
20714 #include <CoreFoundation/CFBase.h>
20724 rm -f conftest.
$ac_objext
20725 if { (ac_try
="$ac_compile"
20726 case "(($ac_try" in
20727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20728 *) ac_try_echo=$ac_try;;
20730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20731 (eval "$ac_compile") 2>conftest.er1
20733 grep -v '^ *+' conftest.er1 >conftest.err
20735 cat conftest.err >&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } && {
20738 test -z "$ac_c_werror_flag" ||
20739 test ! -s conftest.err
20740 } && test -s conftest.$ac_objext; then
20741 { echo "$as_me:$LINENO: result: yes" >&5
20742 echo "${ECHO_T}yes" >&6; }
20743 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20748 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20749 See \`config.log
' for more details." >&5
20750 echo "$as_me: error: no. CoreFoundation not available.
20751 See \`config.log' for more details.
" >&2;}
20752 { (exit 1); exit 1; }; }
20756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20766 doesnt_want_win32=0
20769 if test "$wxUSE_MSW" = 1 ; then
20772 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
20773 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
20774 if test "${wx_cv_nocygwin+set}" = set; then
20775 echo $ECHO_N "(cached
) $ECHO_C" >&6
20778 cat >conftest.$ac_ext <<_ACEOF
20781 cat confdefs.h >>conftest.$ac_ext
20782 cat >>conftest.$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20797 rm -f conftest.$ac_objext
20798 if { (ac_try="$ac_compile"
20799 case "(($ac_try" in
20800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20801 *) ac_try_echo=$ac_try;;
20803 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20804 (eval "$ac_compile") 2>conftest.er1
20806 grep -v '^ *+' conftest.er1 >conftest.err
20808 cat conftest.err >&5
20809 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20810 (exit $ac_status); } && {
20811 test -z "$ac_c_werror_flag" ||
20812 test ! -s conftest.err
20813 } && test -s conftest.$ac_objext; then
20816 echo "$as_me: failed program was
:" >&5
20817 sed 's/^/| /' conftest.$ac_ext >&5
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20827 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
20828 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20830 if test "$wx_cv_nocygwin" = "yes"; then
20833 doesnt_want_win32=1
20836 if test "$wants_win32" = 1 ; then
20837 BAKEFILE_FORCE_PLATFORM=win32
20845 if test "$wxUSE_WINE" = "yes"; then
20847 LDFLAGS_GUI="-mwindows"
20850 if test "$wants_win32" = 1 ; then
20853 cat >>confdefs.h <<\_ACEOF
20854 #define __WIN32__ 1
20857 cat >>confdefs.h <<\_ACEOF
20858 #define __WIN95__ 1
20861 cat >>confdefs.h <<\_ACEOF
20862 #define __WINDOWS__ 1
20865 cat >>confdefs.h <<\_ACEOF
20866 #define __GNUWIN32__ 1
20869 cat >>confdefs.h <<\_ACEOF
20874 if test "$doesnt_want_win32" = 1 ; then
20879 if test "$USE_UNIX" = 1 ; then
20881 cat >>confdefs.h <<\_ACEOF
20888 *-pc-os2_emx | *-pc-os2-emx )
20889 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20890 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
20891 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
20892 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20893 echo $ECHO_N "(cached
) $ECHO_C" >&6
20895 ac_check_lib_save_LIBS=$LIBS
20896 LIBS="-lcExt $LIBS"
20897 cat >conftest.$ac_ext <<_ACEOF
20900 cat confdefs.h >>conftest.$ac_ext
20901 cat >>conftest.$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20904 /* Override any GCC internal prototype to avoid an error.
20905 Use char because int might match the return type of a GCC
20906 builtin and then its argument prototype would still apply. */
20919 rm -f conftest.$ac_objext conftest$ac_exeext
20920 if { (ac_try="$ac_link"
20921 case "(($ac_try" in
20922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20923 *) ac_try_echo=$ac_try;;
20925 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20926 (eval "$ac_link") 2>conftest.er1
20928 grep -v '^ *+' conftest.er1 >conftest.err
20930 cat conftest.err >&5
20931 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20932 (exit $ac_status); } && {
20933 test -z "$ac_c_werror_flag" ||
20934 test ! -s conftest.err
20935 } && test -s conftest$ac_exeext &&
20936 $as_test_x conftest$ac_exeext; then
20937 ac_cv_lib_cExt_drand48=yes
20939 echo "$as_me: failed program was
:" >&5
20940 sed 's/^/| /' conftest.$ac_ext >&5
20942 ac_cv_lib_cExt_drand48=no
20945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20946 conftest$ac_exeext conftest.$ac_ext
20947 LIBS=$ac_check_lib_save_LIBS
20949 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
20950 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20951 if test $ac_cv_lib_cExt_drand48 = yes; then
20952 LIBS="$LIBS -lcExt"
20956 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
20958 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
20959 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
20960 if test "${wx_cv_gccversion+set}" = set; then
20961 echo $ECHO_N "(cached
) $ECHO_C" >&6
20964 if test "$cross_compiling" = yes; then
20965 wx_cv_gccversion="EMX2
"
20968 cat >conftest.$ac_ext <<_ACEOF
20971 cat confdefs.h >>conftest.$ac_ext
20972 cat >>conftest.$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20979 FILE *f=fopen("conftestval
", "w
");
20984 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20986 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20996 rm -f conftest$ac_exeext
20997 if { (ac_try="$ac_link"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21002 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_link") 2>&5
21005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21006 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21007 { (case "(($ac_try" in
21008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21009 *) ac_try_echo=$ac_try;;
21011 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21012 (eval "$ac_try") 2>&5
21014 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21015 (exit $ac_status); }; }; then
21016 wx_cv_gccversion=`cat conftestval`
21018 echo "$as_me: program exited with status
$ac_status" >&5
21019 echo "$as_me: failed program was
:" >&5
21020 sed 's/^/| /' conftest.$ac_ext >&5
21022 ( exit $ac_status )
21023 wx_cv_gccversion="EMX2
"
21025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21031 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
21032 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21033 if test "$wx_cv_gccversion" = "EMX2
"; then
21034 LIBS="$LIBS -lstdcpp"
21035 LDFLAGS="$LDFLAGS -Zsysv-signals"
21037 if test "$wx_cv_gccversion" = "EMX3
"; then
21038 LIBS="$LIBS -lstdcxx -lgcc"
21039 LDFLAGS="$LDFLAGS -Zsysv-signals"
21041 LIBS="$LIBS -lstdc++"
21044 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
21045 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
21046 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
21053 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
21054 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
21055 if test "${ac_cv_string_strcasecmp+set}" = set; then
21056 echo $ECHO_N "(cached
) $ECHO_C" >&6
21059 cat >conftest.$ac_ext <<_ACEOF
21062 cat confdefs.h >>conftest.$ac_ext
21063 cat >>conftest.$ac_ext <<_ACEOF
21064 /* end confdefs.h. */
21066 #include <string.h>
21072 strcasecmp("foo
", "bar
");
21078 rm -f conftest.$ac_objext conftest$ac_exeext
21079 if { (ac_try="$ac_link"
21080 case "(($ac_try" in
21081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21082 *) ac_try_echo=$ac_try;;
21084 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21085 (eval "$ac_link") 2>conftest.er1
21087 grep -v '^ *+' conftest.er1 >conftest.err
21089 cat conftest.err >&5
21090 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21091 (exit $ac_status); } && {
21092 test -z "$ac_c_werror_flag" ||
21093 test ! -s conftest.err
21094 } && test -s conftest$ac_exeext &&
21095 $as_test_x conftest$ac_exeext; then
21096 ac_cv_string_strcasecmp=yes
21098 echo "$as_me: failed program was
:" >&5
21099 sed 's/^/| /' conftest.$ac_ext >&5
21101 ac_cv_string_strcasecmp=no
21105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21106 conftest$ac_exeext conftest.$ac_ext
21109 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21110 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21112 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21113 cat >>confdefs.h <<\_ACEOF
21114 #define HAVE_STRCASECMP_IN_STRING_H 1
21118 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21119 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21120 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21121 echo $ECHO_N "(cached
) $ECHO_C" >&6
21124 cat >conftest.$ac_ext <<_ACEOF
21127 cat confdefs.h >>conftest.$ac_ext
21128 cat >>conftest.$ac_ext <<_ACEOF
21129 /* end confdefs.h. */
21131 #include <strings.h>
21137 strcasecmp("foo
", "bar
");
21143 rm -f conftest.$ac_objext conftest$ac_exeext
21144 if { (ac_try="$ac_link"
21145 case "(($ac_try" in
21146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21147 *) ac_try_echo=$ac_try;;
21149 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21150 (eval "$ac_link") 2>conftest.er1
21152 grep -v '^ *+' conftest.er1 >conftest.err
21154 cat conftest.err >&5
21155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21156 (exit $ac_status); } && {
21157 test -z "$ac_c_werror_flag" ||
21158 test ! -s conftest.err
21159 } && test -s conftest$ac_exeext &&
21160 $as_test_x conftest$ac_exeext; then
21161 ac_cv_strings_strcasecmp=yes
21163 echo "$as_me: failed program was
:" >&5
21164 sed 's/^/| /' conftest.$ac_ext >&5
21166 ac_cv_strings_strcasecmp=no
21170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21171 conftest$ac_exeext conftest.$ac_ext
21174 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21175 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21177 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21178 cat >>confdefs.h <<\_ACEOF
21179 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21183 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21184 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21185 { (exit 1); exit 1; }; }
21193 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21194 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21195 if test "${ac_cv_header_stdc+set}" = set; then
21196 echo $ECHO_N "(cached
) $ECHO_C" >&6
21198 cat >conftest.$ac_ext <<_ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 #include <stdlib.h>
21205 #include <stdarg.h>
21206 #include <string.h>
21217 rm -f conftest.$ac_objext
21218 if { (ac_try="$ac_compile"
21219 case "(($ac_try" in
21220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21221 *) ac_try_echo=$ac_try;;
21223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21224 (eval "$ac_compile") 2>conftest.er1
21226 grep -v '^ *+' conftest.er1 >conftest.err
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21230 (exit $ac_status); } && {
21231 test -z "$ac_c_werror_flag" ||
21232 test ! -s conftest.err
21233 } && test -s conftest.$ac_objext; then
21234 ac_cv_header_stdc=yes
21236 echo "$as_me: failed program was
:" >&5
21237 sed 's/^/| /' conftest.$ac_ext >&5
21239 ac_cv_header_stdc=no
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244 if test $ac_cv_header_stdc = yes; then
21245 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21246 cat >conftest.$ac_ext <<_ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 #include <string.h>
21255 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21256 $EGREP "memchr
" >/dev/null 2>&1; then
21259 ac_cv_header_stdc=no
21265 if test $ac_cv_header_stdc = yes; then
21266 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21267 cat >conftest.$ac_ext <<_ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 #include <stdlib.h>
21276 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21277 $EGREP "free
" >/dev/null 2>&1; then
21280 ac_cv_header_stdc=no
21286 if test $ac_cv_header_stdc = yes; then
21287 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21288 if test "$cross_compiling" = yes; then
21291 cat >conftest.$ac_ext <<_ACEOF
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21298 #include <stdlib.h>
21299 #if ((' ' & 0x0FF) == 0x020)
21300 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21301 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21303 # define ISLOWER(c) \
21304 (('a' <= (c) && (c) <= 'i') \
21305 || ('j' <= (c) && (c) <= 'r') \
21306 || ('s' <= (c) && (c) <= 'z'))
21307 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21310 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21315 for (i = 0; i < 256; i++)
21316 if (XOR (islower (i), ISLOWER (i))
21317 || toupper (i) != TOUPPER (i))
21322 rm -f conftest$ac_exeext
21323 if { (ac_try="$ac_link"
21324 case "(($ac_try" in
21325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21326 *) ac_try_echo=$ac_try;;
21328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21329 (eval "$ac_link") 2>&5
21331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21333 { (case "(($ac_try" in
21334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21335 *) ac_try_echo=$ac_try;;
21337 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21338 (eval "$ac_try") 2>&5
21340 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21341 (exit $ac_status); }; }; then
21344 echo "$as_me: program exited with status
$ac_status" >&5
21345 echo "$as_me: failed program was
:" >&5
21346 sed 's/^/| /' conftest.$ac_ext >&5
21348 ( exit $ac_status )
21349 ac_cv_header_stdc=no
21351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21357 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21358 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21359 if test $ac_cv_header_stdc = yes; then
21361 cat >>confdefs.h <<\_ACEOF
21362 #define STDC_HEADERS 1
21367 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21377 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21378 inttypes.h stdint.h unistd.h
21380 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21381 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21382 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21383 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21384 echo $ECHO_N "(cached
) $ECHO_C" >&6
21386 cat >conftest.$ac_ext <<_ACEOF
21389 cat confdefs.h >>conftest.$ac_ext
21390 cat >>conftest.$ac_ext <<_ACEOF
21391 /* end confdefs.h. */
21392 $ac_includes_default
21394 #include <$ac_header>
21396 rm -f conftest.$ac_objext
21397 if { (ac_try="$ac_compile"
21398 case "(($ac_try" in
21399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21400 *) ac_try_echo=$ac_try;;
21402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21403 (eval "$ac_compile") 2>conftest.er1
21405 grep -v '^ *+' conftest.er1 >conftest.err
21407 cat conftest.err >&5
21408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21409 (exit $ac_status); } && {
21410 test -z "$ac_c_werror_flag" ||
21411 test ! -s conftest.err
21412 } && test -s conftest.$ac_objext; then
21413 eval "$as_ac_Header=yes"
21415 echo "$as_me: failed program was
:" >&5
21416 sed 's/^/| /' conftest.$ac_ext >&5
21418 eval "$as_ac_Header=no
"
21421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21423 ac_res=`eval echo '${'$as_ac_Header'}'`
21424 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21425 echo "${ECHO_T}$ac_res" >&6; }
21426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21427 cat >>confdefs.h <<_ACEOF
21428 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21438 for ac_header in langinfo.h wchar.h
21440 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21441 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21442 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21443 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21444 echo $ECHO_N "(cached
) $ECHO_C" >&6
21446 cat >conftest.$ac_ext <<_ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 $ac_includes_default
21454 #include <$ac_header>
21456 rm -f conftest.$ac_objext
21457 if { (ac_try="$ac_compile"
21458 case "(($ac_try" in
21459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21460 *) ac_try_echo=$ac_try;;
21462 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21463 (eval "$ac_compile") 2>conftest.er1
21465 grep -v '^ *+' conftest.er1 >conftest.err
21467 cat conftest.err >&5
21468 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21469 (exit $ac_status); } && {
21470 test -z "$ac_c_werror_flag" ||
21471 test ! -s conftest.err
21472 } && test -s conftest.$ac_objext; then
21473 eval "$as_ac_Header=yes"
21475 echo "$as_me: failed program was
:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21478 eval "$as_ac_Header=no
"
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21483 ac_res=`eval echo '${'$as_ac_Header'}'`
21484 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21485 echo "${ECHO_T}$ac_res" >&6; }
21486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21487 cat >>confdefs.h <<_ACEOF
21488 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21496 if test "$ac_cv_header_wchar_h" != "yes"; then
21498 for ac_header in wcstr.h
21500 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21501 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21502 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21503 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21504 echo $ECHO_N "(cached
) $ECHO_C" >&6
21506 cat >conftest.$ac_ext <<_ACEOF
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 $ac_includes_default
21514 #include <$ac_header>
21516 rm -f conftest.$ac_objext
21517 if { (ac_try="$ac_compile"
21518 case "(($ac_try" in
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21520 *) ac_try_echo=$ac_try;;
21522 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21523 (eval "$ac_compile") 2>conftest.er1
21525 grep -v '^ *+' conftest.er1 >conftest.err
21527 cat conftest.err >&5
21528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21529 (exit $ac_status); } && {
21530 test -z "$ac_c_werror_flag" ||
21531 test ! -s conftest.err
21532 } && test -s conftest.$ac_objext; then
21533 eval "$as_ac_Header=yes"
21535 echo "$as_me: failed program was
:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21538 eval "$as_ac_Header=no
"
21541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21543 ac_res=`eval echo '${'$as_ac_Header'}'`
21544 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21545 echo "${ECHO_T}$ac_res" >&6; }
21546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21547 cat >>confdefs.h <<_ACEOF
21548 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21558 *-pc-os2_emx | *-pc-os2-emx )
21559 if test $ac_cv_header_langinfo_h = "yes" \
21560 -a \( "$wx_cv_gccversion" = "EMX2
" \
21561 -o "$wx_cv_gccversion" = "EMX3
" \
21562 -o "$wx_cv_gccversion" = "Innotek5
" \); then
21563 LIBS="$LIBS -lintl"
21568 if test "$USE_UNIX" = 1 ; then
21570 for ac_header in sys/select.h
21572 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21573 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21574 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21575 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21576 echo $ECHO_N "(cached
) $ECHO_C" >&6
21578 cat >conftest.$ac_ext <<_ACEOF
21581 cat confdefs.h >>conftest.$ac_ext
21582 cat >>conftest.$ac_ext <<_ACEOF
21583 /* end confdefs.h. */
21584 $ac_includes_default
21586 #include <$ac_header>
21588 rm -f conftest.$ac_objext
21589 if { (ac_try="$ac_compile"
21590 case "(($ac_try" in
21591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21592 *) ac_try_echo=$ac_try;;
21594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_compile") 2>conftest.er1
21597 grep -v '^ *+' conftest.er1 >conftest.err
21599 cat conftest.err >&5
21600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21601 (exit $ac_status); } && {
21602 test -z "$ac_c_werror_flag" ||
21603 test ! -s conftest.err
21604 } && test -s conftest.$ac_objext; then
21605 eval "$as_ac_Header=yes"
21607 echo "$as_me: failed program was
:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21610 eval "$as_ac_Header=no
"
21613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21615 ac_res=`eval echo '${'$as_ac_Header'}'`
21616 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21617 echo "${ECHO_T}$ac_res" >&6; }
21618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21619 cat >>confdefs.h <<_ACEOF
21620 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21630 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
21631 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
21632 if test "${ac_cv_c_const+set}" = set; then
21633 echo $ECHO_N "(cached
) $ECHO_C" >&6
21635 cat >conftest.$ac_ext <<_ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21645 /* FIXME: Include the comments suggested by Paul. */
21646 #ifndef __cplusplus
21647 /* Ultrix mips cc rejects this. */
21648 typedef int charset[2];
21650 /* SunOS 4.1.1 cc rejects this. */
21651 char const *const *pcpcc;
21653 /* NEC SVR4.0.2 mips cc rejects this. */
21654 struct point {int x, y;};
21655 static struct point const zero = {0,0};
21656 /* AIX XL C 1.02.0.0 rejects this.
21657 It does not let you subtract one const X* pointer from another in
21658 an arm of an if-expression whose if-part is not a constant
21660 const char *g = "string
";
21661 pcpcc = &g + (g ? g-g : 0);
21662 /* HPUX 7.0 cc rejects these. */
21664 ppc = (char**) pcpcc;
21665 pcpcc = (char const *const *) ppc;
21666 { /* SCO 3.2v4 cc rejects this. */
21668 char const *s = 0 ? (char *) 0 : (char const *) 0;
21673 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21674 int x[] = {25, 17};
21675 const int *foo = &x[0];
21678 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21679 typedef const int *iptr;
21683 { /* AIX XL C 1.02.0.0 rejects this saying
21684 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21685 struct s { int j; const int *ap[3]; };
21686 struct s *b; b->j = 5;
21688 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21689 const int foo = 10;
21690 if (!foo) return 0;
21692 return !cs[0] && !zero.x;
21699 rm -f conftest.$ac_objext
21700 if { (ac_try="$ac_compile"
21701 case "(($ac_try" in
21702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21703 *) ac_try_echo=$ac_try;;
21705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21706 (eval "$ac_compile") 2>conftest.er1
21708 grep -v '^ *+' conftest.er1 >conftest.err
21710 cat conftest.err >&5
21711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21712 (exit $ac_status); } && {
21713 test -z "$ac_c_werror_flag" ||
21714 test ! -s conftest.err
21715 } && test -s conftest.$ac_objext; then
21718 echo "$as_me: failed program was
:" >&5
21719 sed 's/^/| /' conftest.$ac_ext >&5
21724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21726 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21727 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21728 if test $ac_cv_c_const = no; then
21730 cat >>confdefs.h <<\_ACEOF
21736 { echo "$as_me:$LINENO: checking
for inline
" >&5
21737 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
21738 if test "${ac_cv_c_inline+set}" = set; then
21739 echo $ECHO_N "(cached
) $ECHO_C" >&6
21742 for ac_kw in inline __inline__ __inline; do
21743 cat >conftest.$ac_ext <<_ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 #ifndef __cplusplus
21751 static $ac_kw foo_t static_foo () {return 0; }
21752 $ac_kw foo_t foo () {return 0; }
21756 rm -f conftest.$ac_objext
21757 if { (ac_try="$ac_compile"
21758 case "(($ac_try" in
21759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21760 *) ac_try_echo=$ac_try;;
21762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21763 (eval "$ac_compile") 2>conftest.er1
21765 grep -v '^ *+' conftest.er1 >conftest.err
21767 cat conftest.err >&5
21768 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21769 (exit $ac_status); } && {
21770 test -z "$ac_c_werror_flag" ||
21771 test ! -s conftest.err
21772 } && test -s conftest.$ac_objext; then
21773 ac_cv_c_inline=$ac_kw
21775 echo "$as_me: failed program was
:" >&5
21776 sed 's/^/| /' conftest.$ac_ext >&5
21781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21782 test "$ac_cv_c_inline" != no && break
21786 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21787 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21790 case $ac_cv_c_inline in
21793 case $ac_cv_c_inline in
21795 *) ac_val=$ac_cv_c_inline;;
21797 cat >>confdefs.h <<_ACEOF
21798 #ifndef __cplusplus
21799 #define inline $ac_val
21806 { echo "$as_me:$LINENO: checking
for short
" >&5
21807 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
21808 if test "${ac_cv_type_short+set}" = set; then
21809 echo $ECHO_N "(cached
) $ECHO_C" >&6
21811 cat >conftest.$ac_ext <<_ACEOF
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21817 $ac_includes_default
21818 typedef short ac__type_new_;
21822 if ((ac__type_new_ *) 0)
21824 if (sizeof (ac__type_new_))
21830 rm -f conftest.$ac_objext
21831 if { (ac_try="$ac_compile"
21832 case "(($ac_try" in
21833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21834 *) ac_try_echo=$ac_try;;
21836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21837 (eval "$ac_compile") 2>conftest.er1
21839 grep -v '^ *+' conftest.er1 >conftest.err
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21843 (exit $ac_status); } && {
21844 test -z "$ac_c_werror_flag" ||
21845 test ! -s conftest.err
21846 } && test -s conftest.$ac_objext; then
21847 ac_cv_type_short=yes
21849 echo "$as_me: failed program was
:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21852 ac_cv_type_short=no
21855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21857 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
21858 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21860 # The cast to long int works around a bug in the HP C Compiler
21861 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21862 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21863 # This bug is HP SR number 8606223364.
21864 { echo "$as_me:$LINENO: checking size of short
" >&5
21865 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
21866 if test "${ac_cv_sizeof_short+set}" = set; then
21867 echo $ECHO_N "(cached
) $ECHO_C" >&6
21869 if test "$cross_compiling" = yes; then
21870 # Depending upon the size, compute the lo and hi bounds.
21871 cat >conftest.$ac_ext <<_ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 $ac_includes_default
21878 typedef short ac__type_sizeof_;
21882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21889 rm -f conftest.$ac_objext
21890 if { (ac_try="$ac_compile"
21891 case "(($ac_try" in
21892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21893 *) ac_try_echo=$ac_try;;
21895 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21896 (eval "$ac_compile") 2>conftest.er1
21898 grep -v '^ *+' conftest.er1 >conftest.err
21900 cat conftest.err >&5
21901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21902 (exit $ac_status); } && {
21903 test -z "$ac_c_werror_flag" ||
21904 test ! -s conftest.err
21905 } && test -s conftest.$ac_objext; then
21908 cat >conftest.$ac_ext <<_ACEOF
21911 cat confdefs.h >>conftest.$ac_ext
21912 cat >>conftest.$ac_ext <<_ACEOF
21913 /* end confdefs.h. */
21914 $ac_includes_default
21915 typedef short ac__type_sizeof_;
21919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21926 rm -f conftest.$ac_objext
21927 if { (ac_try="$ac_compile"
21928 case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;;
21932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21933 (eval "$ac_compile") 2>conftest.er1
21935 grep -v '^ *+' conftest.er1 >conftest.err
21937 cat conftest.err >&5
21938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21939 (exit $ac_status); } && {
21940 test -z "$ac_c_werror_flag" ||
21941 test ! -s conftest.err
21942 } && test -s conftest.$ac_objext; then
21943 ac_hi=$ac_mid; break
21945 echo "$as_me: failed program was
:" >&5
21946 sed 's/^/| /' conftest.$ac_ext >&5
21948 ac_lo=`expr $ac_mid + 1`
21949 if test $ac_lo -le $ac_mid; then
21953 ac_mid=`expr 2 '*' $ac_mid + 1`
21956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21959 echo "$as_me: failed program was
:" >&5
21960 sed 's/^/| /' conftest.$ac_ext >&5
21962 cat >conftest.$ac_ext <<_ACEOF
21965 cat confdefs.h >>conftest.$ac_ext
21966 cat >>conftest.$ac_ext <<_ACEOF
21967 /* end confdefs.h. */
21968 $ac_includes_default
21969 typedef short ac__type_sizeof_;
21973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21980 rm -f conftest.$ac_objext
21981 if { (ac_try="$ac_compile"
21982 case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21986 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_compile") 2>conftest.er1
21989 grep -v '^ *+' conftest.er1 >conftest.err
21991 cat conftest.err >&5
21992 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21993 (exit $ac_status); } && {
21994 test -z "$ac_c_werror_flag" ||
21995 test ! -s conftest.err
21996 } && test -s conftest.$ac_objext; then
21999 cat >conftest.$ac_ext <<_ACEOF
22002 cat confdefs.h >>conftest.$ac_ext
22003 cat >>conftest.$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22005 $ac_includes_default
22006 typedef short ac__type_sizeof_;
22010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22017 rm -f conftest.$ac_objext
22018 if { (ac_try="$ac_compile"
22019 case "(($ac_try" in
22020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22021 *) ac_try_echo=$ac_try;;
22023 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22024 (eval "$ac_compile") 2>conftest.er1
22026 grep -v '^ *+' conftest.er1 >conftest.err
22028 cat conftest.err >&5
22029 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22030 (exit $ac_status); } && {
22031 test -z "$ac_c_werror_flag" ||
22032 test ! -s conftest.err
22033 } && test -s conftest.$ac_objext; then
22034 ac_lo=$ac_mid; break
22036 echo "$as_me: failed program was
:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22039 ac_hi=`expr '(' $ac_mid ')' - 1`
22040 if test $ac_mid -le $ac_hi; then
22044 ac_mid=`expr 2 '*' $ac_mid`
22047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22050 echo "$as_me: failed program was
:" >&5
22051 sed 's/^/| /' conftest.$ac_ext >&5
22056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 # Binary search between lo and hi bounds.
22061 while test "x
$ac_lo" != "x
$ac_hi"; do
22062 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22063 cat >conftest.$ac_ext <<_ACEOF
22066 cat confdefs.h >>conftest.$ac_ext
22067 cat >>conftest.$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 $ac_includes_default
22070 typedef short ac__type_sizeof_;
22074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22081 rm -f conftest.$ac_objext
22082 if { (ac_try="$ac_compile"
22083 case "(($ac_try" in
22084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22085 *) ac_try_echo=$ac_try;;
22087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22088 (eval "$ac_compile") 2>conftest.er1
22090 grep -v '^ *+' conftest.er1 >conftest.err
22092 cat conftest.err >&5
22093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22094 (exit $ac_status); } && {
22095 test -z "$ac_c_werror_flag" ||
22096 test ! -s conftest.err
22097 } && test -s conftest.$ac_objext; then
22100 echo "$as_me: failed program was
:" >&5
22101 sed 's/^/| /' conftest.$ac_ext >&5
22103 ac_lo=`expr '(' $ac_mid ')' + 1`
22106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22109 ?*) ac_cv_sizeof_short=$ac_lo;;
22110 '') if test "$ac_cv_type_short" = yes; then
22111 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22112 See \
`config.log' for more details." >&5
22113 echo "$as_me: error: cannot compute sizeof (short)
22114 See \`config.log
' for more details." >&2;}
22115 { (exit 77); exit 77; }; }
22117 ac_cv_sizeof_short=0
22121 cat >conftest.$ac_ext <<_ACEOF
22124 cat confdefs.h >>conftest.$ac_ext
22125 cat >>conftest.$ac_ext <<_ACEOF
22126 /* end confdefs.h. */
22127 $ac_includes_default
22128 typedef short ac__type_sizeof_;
22129 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22130 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22132 #include <stdlib.h>
22137 FILE *f = fopen ("conftest.val", "w");
22140 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22142 long int i = longval ();
22143 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22145 fprintf (f, "%ld\n", i);
22149 unsigned long int i = ulongval ();
22150 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22152 fprintf (f, "%lu\n", i);
22154 return ferror (f) || fclose (f) != 0;
22160 rm -f conftest$ac_exeext
22161 if { (ac_try="$ac_link"
22162 case "(($ac_try" in
22163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164 *) ac_try_echo=$ac_try;;
22166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167 (eval "$ac_link") 2>&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22171 { (case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_try") 2>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; }; then
22180 ac_cv_sizeof_short=`cat conftest.val`
22182 echo "$as_me: program exited with status $ac_status" >&5
22183 echo "$as_me: failed program was:" >&5
22184 sed 's
/^
/| /' conftest.$ac_ext >&5
22186 ( exit $ac_status )
22187 if test "$ac_cv_type_short" = yes; then
22188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22189 See \`config.log' for more details.
" >&5
22190 echo "$as_me: error
: cannot compute sizeof
(short
)
22191 See \
`config.log' for more details." >&2;}
22192 { (exit 77); exit 77; }; }
22194 ac_cv_sizeof_short=0
22197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22201 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22202 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22206 cat >>confdefs.h <<_ACEOF
22207 #define SIZEOF_SHORT $ac_cv_sizeof_short
22211 { echo "$as_me:$LINENO: checking for void *" >&5
22212 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22213 if test "${ac_cv_type_void_p+set}" = set; then
22214 echo $ECHO_N "(cached) $ECHO_C" >&6
22216 cat >conftest.$ac_ext <<_ACEOF
22219 cat confdefs.h >>conftest.$ac_ext
22220 cat >>conftest.$ac_ext <<_ACEOF
22221 /* end confdefs.h. */
22222 $ac_includes_default
22223 typedef void * ac__type_new_;
22227 if ((ac__type_new_ *) 0)
22229 if (sizeof (ac__type_new_))
22235 rm -f conftest.$ac_objext
22236 if { (ac_try="$ac_compile"
22237 case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22239 *) ac_try_echo
=$ac_try;;
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_compile") 2>conftest.er1
22244 grep -v '^ *+' conftest.er1
>conftest.err
22246 cat conftest.err
>&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && {
22249 test -z "$ac_c_werror_flag" ||
22250 test ! -s conftest.err
22251 } && test -s conftest.
$ac_objext; then
22252 ac_cv_type_void_p
=yes
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.
$ac_ext >&5
22257 ac_cv_type_void_p
=no
22260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22262 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22263 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22265 # The cast to long int works around a bug in the HP C Compiler
22266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22268 # This bug is HP SR number 8606223364.
22269 { echo "$as_me:$LINENO: checking size of void *" >&5
22270 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22271 if test "${ac_cv_sizeof_void_p+set}" = set; then
22272 echo $ECHO_N "(cached) $ECHO_C" >&6
22274 if test "$cross_compiling" = yes; then
22275 # Depending upon the size, compute the lo and hi bounds.
22276 cat >conftest.
$ac_ext <<_ACEOF
22279 cat confdefs.h
>>conftest.
$ac_ext
22280 cat >>conftest.
$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 $ac_includes_default
22283 typedef void * ac__type_sizeof_;
22287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22294 rm -f conftest.
$ac_objext
22295 if { (ac_try
="$ac_compile"
22296 case "(($ac_try" in
22297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_compile") 2>conftest.er1
22303 grep -v '^ *+' conftest.er1 >conftest.err
22305 cat conftest.err >&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); } && {
22308 test -z "$ac_c_werror_flag" ||
22309 test ! -s conftest.err
22310 } && test -s conftest.$ac_objext; then
22313 cat >conftest.$ac_ext <<_ACEOF
22316 cat confdefs.h >>conftest.$ac_ext
22317 cat >>conftest.$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319 $ac_includes_default
22320 typedef void * ac__type_sizeof_;
22324 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22331 rm -f conftest.$ac_objext
22332 if { (ac_try="$ac_compile"
22333 case "(($ac_try" in
22334 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22335 *) ac_try_echo
=$ac_try;;
22337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22338 (eval "$ac_compile") 2>conftest.er1
22340 grep -v '^ *+' conftest.er1
>conftest.err
22342 cat conftest.err
>&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } && {
22345 test -z "$ac_c_werror_flag" ||
22346 test ! -s conftest.err
22347 } && test -s conftest.
$ac_objext; then
22348 ac_hi
=$ac_mid; break
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.
$ac_ext >&5
22353 ac_lo
=`expr $ac_mid + 1`
22354 if test $ac_lo -le $ac_mid; then
22358 ac_mid
=`expr 2 '*' $ac_mid + 1`
22361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22364 echo "$as_me: failed program was:" >&5
22365 sed 's/^/| /' conftest.
$ac_ext >&5
22367 cat >conftest.
$ac_ext <<_ACEOF
22370 cat confdefs.h
>>conftest.
$ac_ext
22371 cat >>conftest.
$ac_ext <<_ACEOF
22372 /* end confdefs.h. */
22373 $ac_includes_default
22374 typedef void * ac__type_sizeof_;
22378 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22385 rm -f conftest.
$ac_objext
22386 if { (ac_try
="$ac_compile"
22387 case "(($ac_try" in
22388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22389 *) ac_try_echo=$ac_try;;
22391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22392 (eval "$ac_compile") 2>conftest.er1
22394 grep -v '^ *+' conftest.er1 >conftest.err
22396 cat conftest.err >&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } && {
22399 test -z "$ac_c_werror_flag" ||
22400 test ! -s conftest.err
22401 } && test -s conftest.$ac_objext; then
22404 cat >conftest.$ac_ext <<_ACEOF
22407 cat confdefs.h >>conftest.$ac_ext
22408 cat >>conftest.$ac_ext <<_ACEOF
22409 /* end confdefs.h. */
22410 $ac_includes_default
22411 typedef void * ac__type_sizeof_;
22415 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22422 rm -f conftest.$ac_objext
22423 if { (ac_try="$ac_compile"
22424 case "(($ac_try" in
22425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22426 *) ac_try_echo
=$ac_try;;
22428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22429 (eval "$ac_compile") 2>conftest.er1
22431 grep -v '^ *+' conftest.er1
>conftest.err
22433 cat conftest.err
>&5
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); } && {
22436 test -z "$ac_c_werror_flag" ||
22437 test ! -s conftest.err
22438 } && test -s conftest.
$ac_objext; then
22439 ac_lo
=$ac_mid; break
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.
$ac_ext >&5
22444 ac_hi
=`expr '(' $ac_mid ')' - 1`
22445 if test $ac_mid -le $ac_hi; then
22449 ac_mid
=`expr 2 '*' $ac_mid`
22452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.
$ac_ext >&5
22461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22465 # Binary search between lo and hi bounds.
22466 while test "x$ac_lo" != "x$ac_hi"; do
22467 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22468 cat >conftest.
$ac_ext <<_ACEOF
22471 cat confdefs.h
>>conftest.
$ac_ext
22472 cat >>conftest.
$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22474 $ac_includes_default
22475 typedef void * ac__type_sizeof_;
22479 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22486 rm -f conftest.
$ac_objext
22487 if { (ac_try
="$ac_compile"
22488 case "(($ac_try" in
22489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22490 *) ac_try_echo=$ac_try;;
22492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22493 (eval "$ac_compile") 2>conftest.er1
22495 grep -v '^ *+' conftest.er1 >conftest.err
22497 cat conftest.err >&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } && {
22500 test -z "$ac_c_werror_flag" ||
22501 test ! -s conftest.err
22502 } && test -s conftest.$ac_objext; then
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.$ac_ext >&5
22508 ac_lo=`expr '(' $ac_mid ')' + 1`
22511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22514 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22515 '') if test "$ac_cv_type_void_p" = yes; then
22516 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22517 See \`config.log
' for more details." >&5
22518 echo "$as_me: error: cannot compute sizeof (void *)
22519 See \`config.log' for more details.
" >&2;}
22520 { (exit 77); exit 77; }; }
22522 ac_cv_sizeof_void_p=0
22526 cat >conftest.$ac_ext <<_ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22532 $ac_includes_default
22533 typedef void * ac__type_sizeof_;
22534 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22535 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22537 #include <stdlib.h>
22542 FILE *f = fopen ("conftest.val
", "w
");
22545 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22547 long int i = longval ();
22548 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22550 fprintf (f, "%ld
\n", i);
22554 unsigned long int i = ulongval ();
22555 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22557 fprintf (f, "%lu
\n", i);
22559 return ferror (f) || fclose (f) != 0;
22565 rm -f conftest$ac_exeext
22566 if { (ac_try="$ac_link"
22567 case "(($ac_try" in
22568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22569 *) ac_try_echo=$ac_try;;
22571 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22572 (eval "$ac_link") 2>&5
22574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22576 { (case "(($ac_try" in
22577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22578 *) ac_try_echo=$ac_try;;
22580 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22581 (eval "$ac_try") 2>&5
22583 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22584 (exit $ac_status); }; }; then
22585 ac_cv_sizeof_void_p=`cat conftest.val`
22587 echo "$as_me: program exited with status
$ac_status" >&5
22588 echo "$as_me: failed program was
:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22591 ( exit $ac_status )
22592 if test "$ac_cv_type_void_p" = yes; then
22593 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22594 See \
`config.log' for more details." >&5
22595 echo "$as_me: error: cannot compute sizeof (void *)
22596 See \`config.log
' for more details." >&2;}
22597 { (exit 77); exit 77; }; }
22599 ac_cv_sizeof_void_p=0
22602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22606 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22607 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22611 cat >>confdefs.h <<_ACEOF
22612 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22616 { echo "$as_me:$LINENO: checking for int" >&5
22617 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22618 if test "${ac_cv_type_int+set}" = set; then
22619 echo $ECHO_N "(cached) $ECHO_C" >&6
22621 cat >conftest.$ac_ext <<_ACEOF
22624 cat confdefs.h >>conftest.$ac_ext
22625 cat >>conftest.$ac_ext <<_ACEOF
22626 /* end confdefs.h. */
22627 $ac_includes_default
22628 typedef int ac__type_new_;
22632 if ((ac__type_new_ *) 0)
22634 if (sizeof (ac__type_new_))
22640 rm -f conftest.$ac_objext
22641 if { (ac_try="$ac_compile"
22642 case "(($ac_try" in
22643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22644 *) ac_try_echo=$ac_try;;
22646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22647 (eval "$ac_compile") 2>conftest.er1
22649 grep -v '^
*+' conftest.er1 >conftest.err
22651 cat conftest.err >&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); } && {
22654 test -z "$ac_c_werror_flag" ||
22655 test ! -s conftest.err
22656 } && test -s conftest.$ac_objext; then
22659 echo "$as_me: failed program was:" >&5
22660 sed 's
/^
/| /' conftest.$ac_ext >&5
22665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22667 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22668 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22670 # The cast to long int works around a bug in the HP C Compiler
22671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22672 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22673 # This bug is HP SR number 8606223364.
22674 { echo "$as_me:$LINENO: checking size of int" >&5
22675 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22676 if test "${ac_cv_sizeof_int+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 if test "$cross_compiling" = yes; then
22680 # Depending upon the size, compute the lo and hi bounds.
22681 cat >conftest.
$ac_ext <<_ACEOF
22684 cat confdefs.h
>>conftest.
$ac_ext
22685 cat >>conftest.
$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22687 $ac_includes_default
22688 typedef int ac__type_sizeof_;
22692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22699 rm -f conftest.
$ac_objext
22700 if { (ac_try
="$ac_compile"
22701 case "(($ac_try" in
22702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22703 *) ac_try_echo=$ac_try;;
22705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22706 (eval "$ac_compile") 2>conftest.er1
22708 grep -v '^ *+' conftest.er1 >conftest.err
22710 cat conftest.err >&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); } && {
22713 test -z "$ac_c_werror_flag" ||
22714 test ! -s conftest.err
22715 } && test -s conftest.$ac_objext; then
22718 cat >conftest.$ac_ext <<_ACEOF
22721 cat confdefs.h >>conftest.$ac_ext
22722 cat >>conftest.$ac_ext <<_ACEOF
22723 /* end confdefs.h. */
22724 $ac_includes_default
22725 typedef int ac__type_sizeof_;
22729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22736 rm -f conftest.$ac_objext
22737 if { (ac_try="$ac_compile"
22738 case "(($ac_try" in
22739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22740 *) ac_try_echo
=$ac_try;;
22742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22743 (eval "$ac_compile") 2>conftest.er1
22745 grep -v '^ *+' conftest.er1
>conftest.err
22747 cat conftest.err
>&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } && {
22750 test -z "$ac_c_werror_flag" ||
22751 test ! -s conftest.err
22752 } && test -s conftest.
$ac_objext; then
22753 ac_hi
=$ac_mid; break
22755 echo "$as_me: failed program was:" >&5
22756 sed 's/^/| /' conftest.
$ac_ext >&5
22758 ac_lo
=`expr $ac_mid + 1`
22759 if test $ac_lo -le $ac_mid; then
22763 ac_mid
=`expr 2 '*' $ac_mid + 1`
22766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22769 echo "$as_me: failed program was:" >&5
22770 sed 's/^/| /' conftest.
$ac_ext >&5
22772 cat >conftest.
$ac_ext <<_ACEOF
22775 cat confdefs.h
>>conftest.
$ac_ext
22776 cat >>conftest.
$ac_ext <<_ACEOF
22777 /* end confdefs.h. */
22778 $ac_includes_default
22779 typedef int ac__type_sizeof_;
22783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22790 rm -f conftest.
$ac_objext
22791 if { (ac_try
="$ac_compile"
22792 case "(($ac_try" in
22793 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22794 *) ac_try_echo=$ac_try;;
22796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22797 (eval "$ac_compile") 2>conftest.er1
22799 grep -v '^ *+' conftest.er1 >conftest.err
22801 cat conftest.err >&5
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); } && {
22804 test -z "$ac_c_werror_flag" ||
22805 test ! -s conftest.err
22806 } && test -s conftest.$ac_objext; then
22809 cat >conftest.$ac_ext <<_ACEOF
22812 cat confdefs.h >>conftest.$ac_ext
22813 cat >>conftest.$ac_ext <<_ACEOF
22814 /* end confdefs.h. */
22815 $ac_includes_default
22816 typedef int ac__type_sizeof_;
22820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22827 rm -f conftest.$ac_objext
22828 if { (ac_try="$ac_compile"
22829 case "(($ac_try" in
22830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22831 *) ac_try_echo
=$ac_try;;
22833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22834 (eval "$ac_compile") 2>conftest.er1
22836 grep -v '^ *+' conftest.er1
>conftest.err
22838 cat conftest.err
>&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } && {
22841 test -z "$ac_c_werror_flag" ||
22842 test ! -s conftest.err
22843 } && test -s conftest.
$ac_objext; then
22844 ac_lo
=$ac_mid; break
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.
$ac_ext >&5
22849 ac_hi
=`expr '(' $ac_mid ')' - 1`
22850 if test $ac_mid -le $ac_hi; then
22854 ac_mid
=`expr 2 '*' $ac_mid`
22857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.
$ac_ext >&5
22866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22870 # Binary search between lo and hi bounds.
22871 while test "x$ac_lo" != "x$ac_hi"; do
22872 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22873 cat >conftest.
$ac_ext <<_ACEOF
22876 cat confdefs.h
>>conftest.
$ac_ext
22877 cat >>conftest.
$ac_ext <<_ACEOF
22878 /* end confdefs.h. */
22879 $ac_includes_default
22880 typedef int ac__type_sizeof_;
22884 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22891 rm -f conftest.
$ac_objext
22892 if { (ac_try
="$ac_compile"
22893 case "(($ac_try" in
22894 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22895 *) ac_try_echo=$ac_try;;
22897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22898 (eval "$ac_compile") 2>conftest.er1
22900 grep -v '^ *+' conftest.er1 >conftest.err
22902 cat conftest.err >&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && {
22905 test -z "$ac_c_werror_flag" ||
22906 test ! -s conftest.err
22907 } && test -s conftest.$ac_objext; then
22910 echo "$as_me: failed program was:" >&5
22911 sed 's/^/| /' conftest.$ac_ext >&5
22913 ac_lo=`expr '(' $ac_mid ')' + 1`
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22919 ?*) ac_cv_sizeof_int=$ac_lo;;
22920 '') if test "$ac_cv_type_int" = yes; then
22921 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22922 See \`config.log
' for more details." >&5
22923 echo "$as_me: error: cannot compute sizeof (int)
22924 See \`config.log' for more details.
" >&2;}
22925 { (exit 77); exit 77; }; }
22931 cat >conftest.$ac_ext <<_ACEOF
22934 cat confdefs.h >>conftest.$ac_ext
22935 cat >>conftest.$ac_ext <<_ACEOF
22936 /* end confdefs.h. */
22937 $ac_includes_default
22938 typedef int ac__type_sizeof_;
22939 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22940 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22942 #include <stdlib.h>
22947 FILE *f = fopen ("conftest.val
", "w
");
22950 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22952 long int i = longval ();
22953 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22955 fprintf (f, "%ld
\n", i);
22959 unsigned long int i = ulongval ();
22960 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22962 fprintf (f, "%lu
\n", i);
22964 return ferror (f) || fclose (f) != 0;
22970 rm -f conftest$ac_exeext
22971 if { (ac_try="$ac_link"
22972 case "(($ac_try" in
22973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22974 *) ac_try_echo=$ac_try;;
22976 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22977 (eval "$ac_link") 2>&5
22979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22981 { (case "(($ac_try" in
22982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22983 *) ac_try_echo=$ac_try;;
22985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22986 (eval "$ac_try") 2>&5
22988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22989 (exit $ac_status); }; }; then
22990 ac_cv_sizeof_int=`cat conftest.val`
22992 echo "$as_me: program exited with status
$ac_status" >&5
22993 echo "$as_me: failed program was
:" >&5
22994 sed 's/^/| /' conftest.$ac_ext >&5
22996 ( exit $ac_status )
22997 if test "$ac_cv_type_int" = yes; then
22998 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
22999 See \
`config.log' for more details." >&5
23000 echo "$as_me: error: cannot compute sizeof (int)
23001 See \`config.log
' for more details." >&2;}
23002 { (exit 77); exit 77; }; }
23007 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23011 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23012 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23016 cat >>confdefs.h <<_ACEOF
23017 #define SIZEOF_INT $ac_cv_sizeof_int
23021 { echo "$as_me:$LINENO: checking for long" >&5
23022 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23023 if test "${ac_cv_type_long+set}" = set; then
23024 echo $ECHO_N "(cached) $ECHO_C" >&6
23026 cat >conftest.$ac_ext <<_ACEOF
23029 cat confdefs.h >>conftest.$ac_ext
23030 cat >>conftest.$ac_ext <<_ACEOF
23031 /* end confdefs.h. */
23032 $ac_includes_default
23033 typedef long ac__type_new_;
23037 if ((ac__type_new_ *) 0)
23039 if (sizeof (ac__type_new_))
23045 rm -f conftest.$ac_objext
23046 if { (ac_try="$ac_compile"
23047 case "(($ac_try" in
23048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23049 *) ac_try_echo=$ac_try;;
23051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23052 (eval "$ac_compile") 2>conftest.er1
23054 grep -v '^
*+' conftest.er1 >conftest.err
23056 cat conftest.err >&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } && {
23059 test -z "$ac_c_werror_flag" ||
23060 test ! -s conftest.err
23061 } && test -s conftest.$ac_objext; then
23062 ac_cv_type_long=yes
23064 echo "$as_me: failed program was:" >&5
23065 sed 's
/^
/| /' conftest.$ac_ext >&5
23070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23072 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23073 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23075 # The cast to long int works around a bug in the HP C Compiler
23076 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23077 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23078 # This bug is HP SR number 8606223364.
23079 { echo "$as_me:$LINENO: checking size of long" >&5
23080 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23081 if test "${ac_cv_sizeof_long+set}" = set; then
23082 echo $ECHO_N "(cached) $ECHO_C" >&6
23084 if test "$cross_compiling" = yes; then
23085 # Depending upon the size, compute the lo and hi bounds.
23086 cat >conftest.
$ac_ext <<_ACEOF
23089 cat confdefs.h
>>conftest.
$ac_ext
23090 cat >>conftest.
$ac_ext <<_ACEOF
23091 /* end confdefs.h. */
23092 $ac_includes_default
23093 typedef long ac__type_sizeof_;
23097 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23104 rm -f conftest.
$ac_objext
23105 if { (ac_try
="$ac_compile"
23106 case "(($ac_try" in
23107 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23108 *) ac_try_echo=$ac_try;;
23110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23111 (eval "$ac_compile") 2>conftest.er1
23113 grep -v '^ *+' conftest.er1 >conftest.err
23115 cat conftest.err >&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); } && {
23118 test -z "$ac_c_werror_flag" ||
23119 test ! -s conftest.err
23120 } && test -s conftest.$ac_objext; then
23123 cat >conftest.$ac_ext <<_ACEOF
23126 cat confdefs.h >>conftest.$ac_ext
23127 cat >>conftest.$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23129 $ac_includes_default
23130 typedef long ac__type_sizeof_;
23134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23141 rm -f conftest.$ac_objext
23142 if { (ac_try="$ac_compile"
23143 case "(($ac_try" in
23144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23145 *) ac_try_echo
=$ac_try;;
23147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23148 (eval "$ac_compile") 2>conftest.er1
23150 grep -v '^ *+' conftest.er1
>conftest.err
23152 cat conftest.err
>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); } && {
23155 test -z "$ac_c_werror_flag" ||
23156 test ! -s conftest.err
23157 } && test -s conftest.
$ac_objext; then
23158 ac_hi
=$ac_mid; break
23160 echo "$as_me: failed program was:" >&5
23161 sed 's/^/| /' conftest.
$ac_ext >&5
23163 ac_lo
=`expr $ac_mid + 1`
23164 if test $ac_lo -le $ac_mid; then
23168 ac_mid
=`expr 2 '*' $ac_mid + 1`
23171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23174 echo "$as_me: failed program was:" >&5
23175 sed 's/^/| /' conftest.
$ac_ext >&5
23177 cat >conftest.
$ac_ext <<_ACEOF
23180 cat confdefs.h
>>conftest.
$ac_ext
23181 cat >>conftest.
$ac_ext <<_ACEOF
23182 /* end confdefs.h. */
23183 $ac_includes_default
23184 typedef long ac__type_sizeof_;
23188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23195 rm -f conftest.
$ac_objext
23196 if { (ac_try
="$ac_compile"
23197 case "(($ac_try" in
23198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23199 *) ac_try_echo=$ac_try;;
23201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23202 (eval "$ac_compile") 2>conftest.er1
23204 grep -v '^ *+' conftest.er1 >conftest.err
23206 cat conftest.err >&5
23207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208 (exit $ac_status); } && {
23209 test -z "$ac_c_werror_flag" ||
23210 test ! -s conftest.err
23211 } && test -s conftest.$ac_objext; then
23214 cat >conftest.$ac_ext <<_ACEOF
23217 cat confdefs.h >>conftest.$ac_ext
23218 cat >>conftest.$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23220 $ac_includes_default
23221 typedef long ac__type_sizeof_;
23225 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23232 rm -f conftest.$ac_objext
23233 if { (ac_try="$ac_compile"
23234 case "(($ac_try" in
23235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23236 *) ac_try_echo
=$ac_try;;
23238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23239 (eval "$ac_compile") 2>conftest.er1
23241 grep -v '^ *+' conftest.er1
>conftest.err
23243 cat conftest.err
>&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); } && {
23246 test -z "$ac_c_werror_flag" ||
23247 test ! -s conftest.err
23248 } && test -s conftest.
$ac_objext; then
23249 ac_lo
=$ac_mid; break
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.
$ac_ext >&5
23254 ac_hi
=`expr '(' $ac_mid ')' - 1`
23255 if test $ac_mid -le $ac_hi; then
23259 ac_mid
=`expr 2 '*' $ac_mid`
23262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23265 echo "$as_me: failed program was:" >&5
23266 sed 's/^/| /' conftest.
$ac_ext >&5
23271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23275 # Binary search between lo and hi bounds.
23276 while test "x$ac_lo" != "x$ac_hi"; do
23277 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23278 cat >conftest.
$ac_ext <<_ACEOF
23281 cat confdefs.h
>>conftest.
$ac_ext
23282 cat >>conftest.
$ac_ext <<_ACEOF
23283 /* end confdefs.h. */
23284 $ac_includes_default
23285 typedef long ac__type_sizeof_;
23289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23296 rm -f conftest.
$ac_objext
23297 if { (ac_try
="$ac_compile"
23298 case "(($ac_try" in
23299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23300 *) ac_try_echo=$ac_try;;
23302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23303 (eval "$ac_compile") 2>conftest.er1
23305 grep -v '^ *+' conftest.er1 >conftest.err
23307 cat conftest.err >&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); } && {
23310 test -z "$ac_c_werror_flag" ||
23311 test ! -s conftest.err
23312 } && test -s conftest.$ac_objext; then
23315 echo "$as_me: failed program was:" >&5
23316 sed 's/^/| /' conftest.$ac_ext >&5
23318 ac_lo=`expr '(' $ac_mid ')' + 1`
23321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23324 ?*) ac_cv_sizeof_long=$ac_lo;;
23325 '') if test "$ac_cv_type_long" = yes; then
23326 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23327 See \`config.log
' for more details." >&5
23328 echo "$as_me: error: cannot compute sizeof (long)
23329 See \`config.log' for more details.
" >&2;}
23330 { (exit 77); exit 77; }; }
23332 ac_cv_sizeof_long=0
23336 cat >conftest.$ac_ext <<_ACEOF
23339 cat confdefs.h >>conftest.$ac_ext
23340 cat >>conftest.$ac_ext <<_ACEOF
23341 /* end confdefs.h. */
23342 $ac_includes_default
23343 typedef long ac__type_sizeof_;
23344 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23345 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23347 #include <stdlib.h>
23352 FILE *f = fopen ("conftest.val
", "w
");
23355 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23357 long int i = longval ();
23358 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23360 fprintf (f, "%ld
\n", i);
23364 unsigned long int i = ulongval ();
23365 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23367 fprintf (f, "%lu
\n", i);
23369 return ferror (f) || fclose (f) != 0;
23375 rm -f conftest$ac_exeext
23376 if { (ac_try="$ac_link"
23377 case "(($ac_try" in
23378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23379 *) ac_try_echo=$ac_try;;
23381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23382 (eval "$ac_link") 2>&5
23384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23386 { (case "(($ac_try" in
23387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23388 *) ac_try_echo=$ac_try;;
23390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23391 (eval "$ac_try") 2>&5
23393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23394 (exit $ac_status); }; }; then
23395 ac_cv_sizeof_long=`cat conftest.val`
23397 echo "$as_me: program exited with status
$ac_status" >&5
23398 echo "$as_me: failed program was
:" >&5
23399 sed 's/^/| /' conftest.$ac_ext >&5
23401 ( exit $ac_status )
23402 if test "$ac_cv_type_long" = yes; then
23403 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23404 See \
`config.log' for more details." >&5
23405 echo "$as_me: error: cannot compute sizeof (long)
23406 See \`config.log
' for more details." >&2;}
23407 { (exit 77); exit 77; }; }
23409 ac_cv_sizeof_long=0
23412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23416 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23417 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23421 cat >>confdefs.h <<_ACEOF
23422 #define SIZEOF_LONG $ac_cv_sizeof_long
23426 { echo "$as_me:$LINENO: checking for size_t" >&5
23427 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23428 if test "${ac_cv_type_size_t+set}" = set; then
23429 echo $ECHO_N "(cached) $ECHO_C" >&6
23431 cat >conftest.$ac_ext <<_ACEOF
23434 cat confdefs.h >>conftest.$ac_ext
23435 cat >>conftest.$ac_ext <<_ACEOF
23436 /* end confdefs.h. */
23437 $ac_includes_default
23438 typedef size_t ac__type_new_;
23442 if ((ac__type_new_ *) 0)
23444 if (sizeof (ac__type_new_))
23450 rm -f conftest.$ac_objext
23451 if { (ac_try="$ac_compile"
23452 case "(($ac_try" in
23453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23454 *) ac_try_echo=$ac_try;;
23456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23457 (eval "$ac_compile") 2>conftest.er1
23459 grep -v '^
*+' conftest.er1 >conftest.err
23461 cat conftest.err >&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); } && {
23464 test -z "$ac_c_werror_flag" ||
23465 test ! -s conftest.err
23466 } && test -s conftest.$ac_objext; then
23467 ac_cv_type_size_t=yes
23469 echo "$as_me: failed program was:" >&5
23470 sed 's
/^
/| /' conftest.$ac_ext >&5
23472 ac_cv_type_size_t=no
23475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23477 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23478 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23480 # The cast to long int works around a bug in the HP C Compiler
23481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23483 # This bug is HP SR number 8606223364.
23484 { echo "$as_me:$LINENO: checking size of size_t" >&5
23485 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23486 if test "${ac_cv_sizeof_size_t+set}" = set; then
23487 echo $ECHO_N "(cached) $ECHO_C" >&6
23489 if test "$cross_compiling" = yes; then
23490 # Depending upon the size, compute the lo and hi bounds.
23491 cat >conftest.
$ac_ext <<_ACEOF
23494 cat confdefs.h
>>conftest.
$ac_ext
23495 cat >>conftest.
$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23497 $ac_includes_default
23498 typedef size_t ac__type_sizeof_;
23502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23509 rm -f conftest.
$ac_objext
23510 if { (ac_try
="$ac_compile"
23511 case "(($ac_try" in
23512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23513 *) ac_try_echo=$ac_try;;
23515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23516 (eval "$ac_compile") 2>conftest.er1
23518 grep -v '^ *+' conftest.er1 >conftest.err
23520 cat conftest.err >&5
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } && {
23523 test -z "$ac_c_werror_flag" ||
23524 test ! -s conftest.err
23525 } && test -s conftest.$ac_objext; then
23528 cat >conftest.$ac_ext <<_ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23534 $ac_includes_default
23535 typedef size_t ac__type_sizeof_;
23539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23546 rm -f conftest.$ac_objext
23547 if { (ac_try="$ac_compile"
23548 case "(($ac_try" in
23549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23550 *) ac_try_echo
=$ac_try;;
23552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23553 (eval "$ac_compile") 2>conftest.er1
23555 grep -v '^ *+' conftest.er1
>conftest.err
23557 cat conftest.err
>&5
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); } && {
23560 test -z "$ac_c_werror_flag" ||
23561 test ! -s conftest.err
23562 } && test -s conftest.
$ac_objext; then
23563 ac_hi
=$ac_mid; break
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.
$ac_ext >&5
23568 ac_lo
=`expr $ac_mid + 1`
23569 if test $ac_lo -le $ac_mid; then
23573 ac_mid
=`expr 2 '*' $ac_mid + 1`
23576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23579 echo "$as_me: failed program was:" >&5
23580 sed 's/^/| /' conftest.
$ac_ext >&5
23582 cat >conftest.
$ac_ext <<_ACEOF
23585 cat confdefs.h
>>conftest.
$ac_ext
23586 cat >>conftest.
$ac_ext <<_ACEOF
23587 /* end confdefs.h. */
23588 $ac_includes_default
23589 typedef size_t ac__type_sizeof_;
23593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23600 rm -f conftest.
$ac_objext
23601 if { (ac_try
="$ac_compile"
23602 case "(($ac_try" in
23603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23604 *) ac_try_echo=$ac_try;;
23606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23607 (eval "$ac_compile") 2>conftest.er1
23609 grep -v '^ *+' conftest.er1 >conftest.err
23611 cat conftest.err >&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } && {
23614 test -z "$ac_c_werror_flag" ||
23615 test ! -s conftest.err
23616 } && test -s conftest.$ac_objext; then
23619 cat >conftest.$ac_ext <<_ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23625 $ac_includes_default
23626 typedef size_t ac__type_sizeof_;
23630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23637 rm -f conftest.$ac_objext
23638 if { (ac_try="$ac_compile"
23639 case "(($ac_try" in
23640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23641 *) ac_try_echo
=$ac_try;;
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_compile") 2>conftest.er1
23646 grep -v '^ *+' conftest.er1
>conftest.err
23648 cat conftest.err
>&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } && {
23651 test -z "$ac_c_werror_flag" ||
23652 test ! -s conftest.err
23653 } && test -s conftest.
$ac_objext; then
23654 ac_lo
=$ac_mid; break
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.
$ac_ext >&5
23659 ac_hi
=`expr '(' $ac_mid ')' - 1`
23660 if test $ac_mid -le $ac_hi; then
23664 ac_mid
=`expr 2 '*' $ac_mid`
23667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23670 echo "$as_me: failed program was:" >&5
23671 sed 's/^/| /' conftest.
$ac_ext >&5
23676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23680 # Binary search between lo and hi bounds.
23681 while test "x$ac_lo" != "x$ac_hi"; do
23682 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23683 cat >conftest.
$ac_ext <<_ACEOF
23686 cat confdefs.h
>>conftest.
$ac_ext
23687 cat >>conftest.
$ac_ext <<_ACEOF
23688 /* end confdefs.h. */
23689 $ac_includes_default
23690 typedef size_t ac__type_sizeof_;
23694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23701 rm -f conftest.
$ac_objext
23702 if { (ac_try
="$ac_compile"
23703 case "(($ac_try" in
23704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23705 *) ac_try_echo=$ac_try;;
23707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23708 (eval "$ac_compile") 2>conftest.er1
23710 grep -v '^ *+' conftest.er1 >conftest.err
23712 cat conftest.err >&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } && {
23715 test -z "$ac_c_werror_flag" ||
23716 test ! -s conftest.err
23717 } && test -s conftest.$ac_objext; then
23720 echo "$as_me: failed program was:" >&5
23721 sed 's/^/| /' conftest.$ac_ext >&5
23723 ac_lo=`expr '(' $ac_mid ')' + 1`
23726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23729 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23730 '') if test "$ac_cv_type_size_t" = yes; then
23731 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23732 See \`config.log
' for more details." >&5
23733 echo "$as_me: error: cannot compute sizeof (size_t)
23734 See \`config.log' for more details.
" >&2;}
23735 { (exit 77); exit 77; }; }
23737 ac_cv_sizeof_size_t=0
23741 cat >conftest.$ac_ext <<_ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747 $ac_includes_default
23748 typedef size_t ac__type_sizeof_;
23749 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23750 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23752 #include <stdlib.h>
23757 FILE *f = fopen ("conftest.val
", "w
");
23760 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23762 long int i = longval ();
23763 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23765 fprintf (f, "%ld
\n", i);
23769 unsigned long int i = ulongval ();
23770 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23772 fprintf (f, "%lu
\n", i);
23774 return ferror (f) || fclose (f) != 0;
23780 rm -f conftest$ac_exeext
23781 if { (ac_try="$ac_link"
23782 case "(($ac_try" in
23783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23784 *) ac_try_echo=$ac_try;;
23786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23787 (eval "$ac_link") 2>&5
23789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23791 { (case "(($ac_try" in
23792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23793 *) ac_try_echo=$ac_try;;
23795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23796 (eval "$ac_try") 2>&5
23798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23799 (exit $ac_status); }; }; then
23800 ac_cv_sizeof_size_t=`cat conftest.val`
23802 echo "$as_me: program exited with status
$ac_status" >&5
23803 echo "$as_me: failed program was
:" >&5
23804 sed 's/^/| /' conftest.$ac_ext >&5
23806 ( exit $ac_status )
23807 if test "$ac_cv_type_size_t" = yes; then
23808 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23809 See \
`config.log' for more details." >&5
23810 echo "$as_me: error: cannot compute sizeof (size_t)
23811 See \`config.log
' for more details." >&2;}
23812 { (exit 77); exit 77; }; }
23814 ac_cv_sizeof_size_t=0
23817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23821 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23822 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23826 cat >>confdefs.h <<_ACEOF
23827 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23834 { echo "$as_me:$LINENO: checking for long long" >&5
23835 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23836 if test "${ac_cv_type_long_long+set}" = set; then
23837 echo $ECHO_N "(cached) $ECHO_C" >&6
23839 cat >conftest.$ac_ext <<_ACEOF
23842 cat confdefs.h >>conftest.$ac_ext
23843 cat >>conftest.$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23845 $ac_includes_default
23846 typedef long long ac__type_new_;
23850 if ((ac__type_new_ *) 0)
23852 if (sizeof (ac__type_new_))
23858 rm -f conftest.$ac_objext
23859 if { (ac_try="$ac_compile"
23860 case "(($ac_try" in
23861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_compile") 2>conftest.er1
23867 grep -v '^
*+' conftest.er1 >conftest.err
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } && {
23872 test -z "$ac_c_werror_flag" ||
23873 test ! -s conftest.err
23874 } && test -s conftest.$ac_objext; then
23875 ac_cv_type_long_long=yes
23877 echo "$as_me: failed program was:" >&5
23878 sed 's
/^
/| /' conftest.$ac_ext >&5
23880 ac_cv_type_long_long=no
23883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23885 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23886 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23888 # The cast to long int works around a bug in the HP C Compiler
23889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23891 # This bug is HP SR number 8606223364.
23892 { echo "$as_me:$LINENO: checking size of long long" >&5
23893 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23894 if test "${ac_cv_sizeof_long_long+set}" = set; then
23895 echo $ECHO_N "(cached) $ECHO_C" >&6
23897 if test "$cross_compiling" = yes; then
23898 # Depending upon the size, compute the lo and hi bounds.
23899 cat >conftest.
$ac_ext <<_ACEOF
23902 cat confdefs.h
>>conftest.
$ac_ext
23903 cat >>conftest.
$ac_ext <<_ACEOF
23904 /* end confdefs.h. */
23905 $ac_includes_default
23906 typedef long long ac__type_sizeof_;
23910 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23917 rm -f conftest.
$ac_objext
23918 if { (ac_try
="$ac_compile"
23919 case "(($ac_try" in
23920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23921 *) ac_try_echo=$ac_try;;
23923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23924 (eval "$ac_compile") 2>conftest.er1
23926 grep -v '^ *+' conftest.er1 >conftest.err
23928 cat conftest.err >&5
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); } && {
23931 test -z "$ac_c_werror_flag" ||
23932 test ! -s conftest.err
23933 } && test -s conftest.$ac_objext; then
23936 cat >conftest.$ac_ext <<_ACEOF
23939 cat confdefs.h >>conftest.$ac_ext
23940 cat >>conftest.$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23942 $ac_includes_default
23943 typedef long long ac__type_sizeof_;
23947 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23954 rm -f conftest.$ac_objext
23955 if { (ac_try="$ac_compile"
23956 case "(($ac_try" in
23957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23958 *) ac_try_echo
=$ac_try;;
23960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23961 (eval "$ac_compile") 2>conftest.er1
23963 grep -v '^ *+' conftest.er1
>conftest.err
23965 cat conftest.err
>&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); } && {
23968 test -z "$ac_c_werror_flag" ||
23969 test ! -s conftest.err
23970 } && test -s conftest.
$ac_objext; then
23971 ac_hi
=$ac_mid; break
23973 echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.
$ac_ext >&5
23976 ac_lo
=`expr $ac_mid + 1`
23977 if test $ac_lo -le $ac_mid; then
23981 ac_mid
=`expr 2 '*' $ac_mid + 1`
23984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23987 echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.
$ac_ext >&5
23990 cat >conftest.
$ac_ext <<_ACEOF
23993 cat confdefs.h
>>conftest.
$ac_ext
23994 cat >>conftest.
$ac_ext <<_ACEOF
23995 /* end confdefs.h. */
23996 $ac_includes_default
23997 typedef long long ac__type_sizeof_;
24001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24008 rm -f conftest.
$ac_objext
24009 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
24017 grep -v '^ *+' conftest.er1 >conftest.err
24019 cat conftest.err >&5
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); } && {
24022 test -z "$ac_c_werror_flag" ||
24023 test ! -s conftest.err
24024 } && test -s conftest.$ac_objext; then
24027 cat >conftest.$ac_ext <<_ACEOF
24030 cat confdefs.h >>conftest.$ac_ext
24031 cat >>conftest.$ac_ext <<_ACEOF
24032 /* end confdefs.h. */
24033 $ac_includes_default
24034 typedef long long ac__type_sizeof_;
24038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24045 rm -f conftest.$ac_objext
24046 if { (ac_try="$ac_compile"
24047 case "(($ac_try" in
24048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24049 *) ac_try_echo
=$ac_try;;
24051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24052 (eval "$ac_compile") 2>conftest.er1
24054 grep -v '^ *+' conftest.er1
>conftest.err
24056 cat conftest.err
>&5
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); } && {
24059 test -z "$ac_c_werror_flag" ||
24060 test ! -s conftest.err
24061 } && test -s conftest.
$ac_objext; then
24062 ac_lo
=$ac_mid; break
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.
$ac_ext >&5
24067 ac_hi
=`expr '(' $ac_mid ')' - 1`
24068 if test $ac_mid -le $ac_hi; then
24072 ac_mid
=`expr 2 '*' $ac_mid`
24075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24078 echo "$as_me: failed program was:" >&5
24079 sed 's/^/| /' conftest.
$ac_ext >&5
24084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24088 # Binary search between lo and hi bounds.
24089 while test "x$ac_lo" != "x$ac_hi"; do
24090 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24091 cat >conftest.
$ac_ext <<_ACEOF
24094 cat confdefs.h
>>conftest.
$ac_ext
24095 cat >>conftest.
$ac_ext <<_ACEOF
24096 /* end confdefs.h. */
24097 $ac_includes_default
24098 typedef long long ac__type_sizeof_;
24102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24109 rm -f conftest.
$ac_objext
24110 if { (ac_try
="$ac_compile"
24111 case "(($ac_try" in
24112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24113 *) ac_try_echo=$ac_try;;
24115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24116 (eval "$ac_compile") 2>conftest.er1
24118 grep -v '^ *+' conftest.er1 >conftest.err
24120 cat conftest.err >&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } && {
24123 test -z "$ac_c_werror_flag" ||
24124 test ! -s conftest.err
24125 } && test -s conftest.$ac_objext; then
24128 echo "$as_me: failed program was:" >&5
24129 sed 's/^/| /' conftest.$ac_ext >&5
24131 ac_lo=`expr '(' $ac_mid ')' + 1`
24134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24137 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24138 '') if test "$ac_cv_type_long_long" = yes; then
24139 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24140 See \`config.log
' for more details." >&5
24141 echo "$as_me: error: cannot compute sizeof (long long)
24142 See \`config.log' for more details.
" >&2;}
24143 { (exit 77); exit 77; }; }
24145 ac_cv_sizeof_long_long=0
24149 cat >conftest.$ac_ext <<_ACEOF
24152 cat confdefs.h >>conftest.$ac_ext
24153 cat >>conftest.$ac_ext <<_ACEOF
24154 /* end confdefs.h. */
24155 $ac_includes_default
24156 typedef long long ac__type_sizeof_;
24157 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24158 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24160 #include <stdlib.h>
24165 FILE *f = fopen ("conftest.val
", "w
");
24168 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24170 long int i = longval ();
24171 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24173 fprintf (f, "%ld
\n", i);
24177 unsigned long int i = ulongval ();
24178 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24180 fprintf (f, "%lu
\n", i);
24182 return ferror (f) || fclose (f) != 0;
24188 rm -f conftest$ac_exeext
24189 if { (ac_try="$ac_link"
24190 case "(($ac_try" in
24191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24192 *) ac_try_echo=$ac_try;;
24194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24195 (eval "$ac_link") 2>&5
24197 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24199 { (case "(($ac_try" in
24200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24201 *) ac_try_echo=$ac_try;;
24203 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24204 (eval "$ac_try") 2>&5
24206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24207 (exit $ac_status); }; }; then
24208 ac_cv_sizeof_long_long=`cat conftest.val`
24210 echo "$as_me: program exited with status
$ac_status" >&5
24211 echo "$as_me: failed program was
:" >&5
24212 sed 's/^/| /' conftest.$ac_ext >&5
24214 ( exit $ac_status )
24215 if test "$ac_cv_type_long_long" = yes; then
24216 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24217 See \
`config.log' for more details." >&5
24218 echo "$as_me: error: cannot compute sizeof (long long)
24219 See \`config.log
' for more details." >&2;}
24220 { (exit 77); exit 77; }; }
24222 ac_cv_sizeof_long_long=0
24225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24229 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24230 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24234 cat >>confdefs.h <<_ACEOF
24235 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24241 { echo "$as_me:$LINENO: checking for long long" >&5
24242 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24243 if test "${ac_cv_type_long_long+set}" = set; then
24244 echo $ECHO_N "(cached) $ECHO_C" >&6
24246 cat >conftest.$ac_ext <<_ACEOF
24249 cat confdefs.h >>conftest.$ac_ext
24250 cat >>conftest.$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24252 $ac_includes_default
24253 typedef long long ac__type_new_;
24257 if ((ac__type_new_ *) 0)
24259 if (sizeof (ac__type_new_))
24265 rm -f conftest.$ac_objext
24266 if { (ac_try="$ac_compile"
24267 case "(($ac_try" in
24268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24269 *) ac_try_echo=$ac_try;;
24271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24272 (eval "$ac_compile") 2>conftest.er1
24274 grep -v '^
*+' conftest.er1 >conftest.err
24276 cat conftest.err >&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); } && {
24279 test -z "$ac_c_werror_flag" ||
24280 test ! -s conftest.err
24281 } && test -s conftest.$ac_objext; then
24282 ac_cv_type_long_long=yes
24284 echo "$as_me: failed program was:" >&5
24285 sed 's
/^
/| /' conftest.$ac_ext >&5
24287 ac_cv_type_long_long=no
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24292 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24293 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24295 # The cast to long int works around a bug in the HP C Compiler
24296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24298 # This bug is HP SR number 8606223364.
24299 { echo "$as_me:$LINENO: checking size of long long" >&5
24300 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24301 if test "${ac_cv_sizeof_long_long+set}" = set; then
24302 echo $ECHO_N "(cached) $ECHO_C" >&6
24304 if test "$cross_compiling" = yes; then
24305 # Depending upon the size, compute the lo and hi bounds.
24306 cat >conftest.
$ac_ext <<_ACEOF
24309 cat confdefs.h
>>conftest.
$ac_ext
24310 cat >>conftest.
$ac_ext <<_ACEOF
24311 /* end confdefs.h. */
24312 $ac_includes_default
24313 typedef long long ac__type_sizeof_;
24317 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24324 rm -f conftest.
$ac_objext
24325 if { (ac_try
="$ac_compile"
24326 case "(($ac_try" in
24327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24328 *) ac_try_echo=$ac_try;;
24330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24331 (eval "$ac_compile") 2>conftest.er1
24333 grep -v '^ *+' conftest.er1 >conftest.err
24335 cat conftest.err >&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } && {
24338 test -z "$ac_c_werror_flag" ||
24339 test ! -s conftest.err
24340 } && test -s conftest.$ac_objext; then
24343 cat >conftest.$ac_ext <<_ACEOF
24346 cat confdefs.h >>conftest.$ac_ext
24347 cat >>conftest.$ac_ext <<_ACEOF
24348 /* end confdefs.h. */
24349 $ac_includes_default
24350 typedef long long ac__type_sizeof_;
24354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24361 rm -f conftest.$ac_objext
24362 if { (ac_try="$ac_compile"
24363 case "(($ac_try" in
24364 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24365 *) ac_try_echo
=$ac_try;;
24367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24368 (eval "$ac_compile") 2>conftest.er1
24370 grep -v '^ *+' conftest.er1
>conftest.err
24372 cat conftest.err
>&5
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); } && {
24375 test -z "$ac_c_werror_flag" ||
24376 test ! -s conftest.err
24377 } && test -s conftest.
$ac_objext; then
24378 ac_hi
=$ac_mid; break
24380 echo "$as_me: failed program was:" >&5
24381 sed 's/^/| /' conftest.
$ac_ext >&5
24383 ac_lo
=`expr $ac_mid + 1`
24384 if test $ac_lo -le $ac_mid; then
24388 ac_mid
=`expr 2 '*' $ac_mid + 1`
24391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.
$ac_ext >&5
24397 cat >conftest.
$ac_ext <<_ACEOF
24400 cat confdefs.h
>>conftest.
$ac_ext
24401 cat >>conftest.
$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24403 $ac_includes_default
24404 typedef long long ac__type_sizeof_;
24408 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24415 rm -f conftest.
$ac_objext
24416 if { (ac_try
="$ac_compile"
24417 case "(($ac_try" in
24418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24419 *) ac_try_echo=$ac_try;;
24421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24422 (eval "$ac_compile") 2>conftest.er1
24424 grep -v '^ *+' conftest.er1 >conftest.err
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } && {
24429 test -z "$ac_c_werror_flag" ||
24430 test ! -s conftest.err
24431 } && test -s conftest.$ac_objext; then
24434 cat >conftest.$ac_ext <<_ACEOF
24437 cat confdefs.h >>conftest.$ac_ext
24438 cat >>conftest.$ac_ext <<_ACEOF
24439 /* end confdefs.h. */
24440 $ac_includes_default
24441 typedef long long ac__type_sizeof_;
24445 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24452 rm -f conftest.$ac_objext
24453 if { (ac_try="$ac_compile"
24454 case "(($ac_try" in
24455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24456 *) ac_try_echo
=$ac_try;;
24458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24459 (eval "$ac_compile") 2>conftest.er1
24461 grep -v '^ *+' conftest.er1
>conftest.err
24463 cat conftest.err
>&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } && {
24466 test -z "$ac_c_werror_flag" ||
24467 test ! -s conftest.err
24468 } && test -s conftest.
$ac_objext; then
24469 ac_lo
=$ac_mid; break
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.
$ac_ext >&5
24474 ac_hi
=`expr '(' $ac_mid ')' - 1`
24475 if test $ac_mid -le $ac_hi; then
24479 ac_mid
=`expr 2 '*' $ac_mid`
24482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24485 echo "$as_me: failed program was:" >&5
24486 sed 's/^/| /' conftest.
$ac_ext >&5
24491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24495 # Binary search between lo and hi bounds.
24496 while test "x$ac_lo" != "x$ac_hi"; do
24497 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24498 cat >conftest.
$ac_ext <<_ACEOF
24501 cat confdefs.h
>>conftest.
$ac_ext
24502 cat >>conftest.
$ac_ext <<_ACEOF
24503 /* end confdefs.h. */
24504 $ac_includes_default
24505 typedef long long ac__type_sizeof_;
24509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24516 rm -f conftest.
$ac_objext
24517 if { (ac_try
="$ac_compile"
24518 case "(($ac_try" in
24519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24520 *) ac_try_echo=$ac_try;;
24522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24523 (eval "$ac_compile") 2>conftest.er1
24525 grep -v '^ *+' conftest.er1 >conftest.err
24527 cat conftest.err >&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); } && {
24530 test -z "$ac_c_werror_flag" ||
24531 test ! -s conftest.err
24532 } && test -s conftest.$ac_objext; then
24535 echo "$as_me: failed program was:" >&5
24536 sed 's/^/| /' conftest.$ac_ext >&5
24538 ac_lo=`expr '(' $ac_mid ')' + 1`
24541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24544 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24545 '') if test "$ac_cv_type_long_long" = yes; then
24546 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24547 See \`config.log
' for more details." >&5
24548 echo "$as_me: error: cannot compute sizeof (long long)
24549 See \`config.log' for more details.
" >&2;}
24550 { (exit 77); exit 77; }; }
24552 ac_cv_sizeof_long_long=0
24556 cat >conftest.$ac_ext <<_ACEOF
24559 cat confdefs.h >>conftest.$ac_ext
24560 cat >>conftest.$ac_ext <<_ACEOF
24561 /* end confdefs.h. */
24562 $ac_includes_default
24563 typedef long long ac__type_sizeof_;
24564 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24565 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24567 #include <stdlib.h>
24572 FILE *f = fopen ("conftest.val
", "w
");
24575 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24577 long int i = longval ();
24578 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24580 fprintf (f, "%ld
\n", i);
24584 unsigned long int i = ulongval ();
24585 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24587 fprintf (f, "%lu
\n", i);
24589 return ferror (f) || fclose (f) != 0;
24595 rm -f conftest$ac_exeext
24596 if { (ac_try="$ac_link"
24597 case "(($ac_try" in
24598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24599 *) ac_try_echo=$ac_try;;
24601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_link") 2>&5
24604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24606 { (case "(($ac_try" in
24607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24608 *) ac_try_echo=$ac_try;;
24610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24611 (eval "$ac_try") 2>&5
24613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24614 (exit $ac_status); }; }; then
24615 ac_cv_sizeof_long_long=`cat conftest.val`
24617 echo "$as_me: program exited with status
$ac_status" >&5
24618 echo "$as_me: failed program was
:" >&5
24619 sed 's/^/| /' conftest.$ac_ext >&5
24621 ( exit $ac_status )
24622 if test "$ac_cv_type_long_long" = yes; then
24623 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24624 See \
`config.log' for more details." >&5
24625 echo "$as_me: error: cannot compute sizeof (long long)
24626 See \`config.log
' for more details." >&2;}
24627 { (exit 77); exit 77; }; }
24629 ac_cv_sizeof_long_long=0
24632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24636 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24637 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24641 cat >>confdefs.h <<_ACEOF
24642 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24646 if test "$ac_cv_sizeof_long_long" != "0"; then
24647 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24651 { echo "$as_me:$LINENO: checking for long long" >&5
24652 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24653 if test "${ac_cv_type_long_long+set}" = set; then
24654 echo $ECHO_N "(cached) $ECHO_C" >&6
24656 cat >conftest.$ac_ext <<_ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662 $ac_includes_default
24663 typedef long long ac__type_new_;
24667 if ((ac__type_new_ *) 0)
24669 if (sizeof (ac__type_new_))
24675 rm -f conftest.$ac_objext
24676 if { (ac_try="$ac_compile"
24677 case "(($ac_try" in
24678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24679 *) ac_try_echo=$ac_try;;
24681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24682 (eval "$ac_compile") 2>conftest.er1
24684 grep -v '^
*+' conftest.er1 >conftest.err
24686 cat conftest.err >&5
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); } && {
24689 test -z "$ac_c_werror_flag" ||
24690 test ! -s conftest.err
24691 } && test -s conftest.$ac_objext; then
24692 ac_cv_type_long_long=yes
24694 echo "$as_me: failed program was:" >&5
24695 sed 's
/^
/| /' conftest.$ac_ext >&5
24697 ac_cv_type_long_long=no
24700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24702 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24703 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24705 # The cast to long int works around a bug in the HP C Compiler
24706 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24707 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24708 # This bug is HP SR number 8606223364.
24709 { echo "$as_me:$LINENO: checking size of long long" >&5
24710 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24711 if test "${ac_cv_sizeof_long_long+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 if test "$cross_compiling" = yes; then
24715 # Depending upon the size, compute the lo and hi bounds.
24716 cat >conftest.
$ac_ext <<_ACEOF
24719 cat confdefs.h
>>conftest.
$ac_ext
24720 cat >>conftest.
$ac_ext <<_ACEOF
24721 /* end confdefs.h. */
24722 $ac_includes_default
24723 typedef long long ac__type_sizeof_;
24727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24734 rm -f conftest.
$ac_objext
24735 if { (ac_try
="$ac_compile"
24736 case "(($ac_try" in
24737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24738 *) ac_try_echo=$ac_try;;
24740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24741 (eval "$ac_compile") 2>conftest.er1
24743 grep -v '^ *+' conftest.er1 >conftest.err
24745 cat conftest.err >&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } && {
24748 test -z "$ac_c_werror_flag" ||
24749 test ! -s conftest.err
24750 } && test -s conftest.$ac_objext; then
24753 cat >conftest.$ac_ext <<_ACEOF
24756 cat confdefs.h >>conftest.$ac_ext
24757 cat >>conftest.$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24759 $ac_includes_default
24760 typedef long long ac__type_sizeof_;
24764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24771 rm -f conftest.$ac_objext
24772 if { (ac_try="$ac_compile"
24773 case "(($ac_try" in
24774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24775 *) ac_try_echo
=$ac_try;;
24777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24778 (eval "$ac_compile") 2>conftest.er1
24780 grep -v '^ *+' conftest.er1
>conftest.err
24782 cat conftest.err
>&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); } && {
24785 test -z "$ac_c_werror_flag" ||
24786 test ! -s conftest.err
24787 } && test -s conftest.
$ac_objext; then
24788 ac_hi
=$ac_mid; break
24790 echo "$as_me: failed program was:" >&5
24791 sed 's/^/| /' conftest.
$ac_ext >&5
24793 ac_lo
=`expr $ac_mid + 1`
24794 if test $ac_lo -le $ac_mid; then
24798 ac_mid
=`expr 2 '*' $ac_mid + 1`
24801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.
$ac_ext >&5
24807 cat >conftest.
$ac_ext <<_ACEOF
24810 cat confdefs.h
>>conftest.
$ac_ext
24811 cat >>conftest.
$ac_ext <<_ACEOF
24812 /* end confdefs.h. */
24813 $ac_includes_default
24814 typedef long long ac__type_sizeof_;
24818 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24825 rm -f conftest.
$ac_objext
24826 if { (ac_try
="$ac_compile"
24827 case "(($ac_try" in
24828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24829 *) ac_try_echo=$ac_try;;
24831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24832 (eval "$ac_compile") 2>conftest.er1
24834 grep -v '^ *+' conftest.er1 >conftest.err
24836 cat conftest.err >&5
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); } && {
24839 test -z "$ac_c_werror_flag" ||
24840 test ! -s conftest.err
24841 } && test -s conftest.$ac_objext; then
24844 cat >conftest.$ac_ext <<_ACEOF
24847 cat confdefs.h >>conftest.$ac_ext
24848 cat >>conftest.$ac_ext <<_ACEOF
24849 /* end confdefs.h. */
24850 $ac_includes_default
24851 typedef long long ac__type_sizeof_;
24855 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24862 rm -f conftest.$ac_objext
24863 if { (ac_try="$ac_compile"
24864 case "(($ac_try" in
24865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24866 *) ac_try_echo
=$ac_try;;
24868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24869 (eval "$ac_compile") 2>conftest.er1
24871 grep -v '^ *+' conftest.er1
>conftest.err
24873 cat conftest.err
>&5
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); } && {
24876 test -z "$ac_c_werror_flag" ||
24877 test ! -s conftest.err
24878 } && test -s conftest.
$ac_objext; then
24879 ac_lo
=$ac_mid; break
24881 echo "$as_me: failed program was:" >&5
24882 sed 's/^/| /' conftest.
$ac_ext >&5
24884 ac_hi
=`expr '(' $ac_mid ')' - 1`
24885 if test $ac_mid -le $ac_hi; then
24889 ac_mid
=`expr 2 '*' $ac_mid`
24892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24895 echo "$as_me: failed program was:" >&5
24896 sed 's/^/| /' conftest.
$ac_ext >&5
24901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24905 # Binary search between lo and hi bounds.
24906 while test "x$ac_lo" != "x$ac_hi"; do
24907 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24908 cat >conftest.
$ac_ext <<_ACEOF
24911 cat confdefs.h
>>conftest.
$ac_ext
24912 cat >>conftest.
$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24914 $ac_includes_default
24915 typedef long long ac__type_sizeof_;
24919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24926 rm -f conftest.
$ac_objext
24927 if { (ac_try
="$ac_compile"
24928 case "(($ac_try" in
24929 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24930 *) ac_try_echo=$ac_try;;
24932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24933 (eval "$ac_compile") 2>conftest.er1
24935 grep -v '^ *+' conftest.er1 >conftest.err
24937 cat conftest.err >&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } && {
24940 test -z "$ac_c_werror_flag" ||
24941 test ! -s conftest.err
24942 } && test -s conftest.$ac_objext; then
24945 echo "$as_me: failed program was:" >&5
24946 sed 's/^/| /' conftest.$ac_ext >&5
24948 ac_lo=`expr '(' $ac_mid ')' + 1`
24951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24954 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24955 '') if test "$ac_cv_type_long_long" = yes; then
24956 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24957 See \`config.log
' for more details." >&5
24958 echo "$as_me: error: cannot compute sizeof (long long)
24959 See \`config.log' for more details.
" >&2;}
24960 { (exit 77); exit 77; }; }
24962 ac_cv_sizeof_long_long=0
24966 cat >conftest.$ac_ext <<_ACEOF
24969 cat confdefs.h >>conftest.$ac_ext
24970 cat >>conftest.$ac_ext <<_ACEOF
24971 /* end confdefs.h. */
24972 $ac_includes_default
24973 typedef long long ac__type_sizeof_;
24974 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24975 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24977 #include <stdlib.h>
24982 FILE *f = fopen ("conftest.val
", "w
");
24985 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24987 long int i = longval ();
24988 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24990 fprintf (f, "%ld
\n", i);
24994 unsigned long int i = ulongval ();
24995 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24997 fprintf (f, "%lu
\n", i);
24999 return ferror (f) || fclose (f) != 0;
25005 rm -f conftest$ac_exeext
25006 if { (ac_try="$ac_link"
25007 case "(($ac_try" in
25008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25009 *) ac_try_echo=$ac_try;;
25011 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25012 (eval "$ac_link") 2>&5
25014 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25016 { (case "(($ac_try" in
25017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25018 *) ac_try_echo=$ac_try;;
25020 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25021 (eval "$ac_try") 2>&5
25023 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25024 (exit $ac_status); }; }; then
25025 ac_cv_sizeof_long_long=`cat conftest.val`
25027 echo "$as_me: program exited with status
$ac_status" >&5
25028 echo "$as_me: failed program was
:" >&5
25029 sed 's/^/| /' conftest.$ac_ext >&5
25031 ( exit $ac_status )
25032 if test "$ac_cv_type_long_long" = yes; then
25033 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
25034 See \
`config.log' for more details." >&5
25035 echo "$as_me: error: cannot compute sizeof (long long)
25036 See \`config.log
' for more details." >&2;}
25037 { (exit 77); exit 77; }; }
25039 ac_cv_sizeof_long_long=0
25042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25046 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25047 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25051 cat >>confdefs.h <<_ACEOF
25052 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25058 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25059 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25060 if test "${ac_cv_type_wchar_t+set}" = set; then
25061 echo $ECHO_N "(cached) $ECHO_C" >&6
25063 cat >conftest.$ac_ext <<_ACEOF
25066 cat confdefs.h >>conftest.$ac_ext
25067 cat >>conftest.$ac_ext <<_ACEOF
25068 /* end confdefs.h. */
25070 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25071 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25072 # error "fake wchar_t"
25074 #ifdef HAVE_WCHAR_H
25076 # include <stddef.h>
25078 # include <wchar.h>
25080 #ifdef HAVE_STDLIB_H
25081 # include <stdlib.h>
25087 typedef wchar_t ac__type_new_
;
25091 if ((ac__type_new_
*) 0)
25093 if (sizeof
(ac__type_new_
))
25099 rm -f conftest.
$ac_objext
25100 if { (ac_try
="$ac_compile"
25101 case "(($ac_try" in
25102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25103 *) ac_try_echo=$ac_try;;
25105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25106 (eval "$ac_compile") 2>conftest.er1
25108 grep -v '^ *+' conftest.er1 >conftest.err
25110 cat conftest.err >&5
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); } && {
25113 test -z "$ac_c_werror_flag" ||
25114 test ! -s conftest.err
25115 } && test -s conftest.$ac_objext; then
25116 ac_cv_type_wchar_t=yes
25118 echo "$as_me: failed program was:" >&5
25119 sed 's/^/| /' conftest.$ac_ext >&5
25121 ac_cv_type_wchar_t=no
25124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25126 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25127 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25129 # The cast to long int works around a bug in the HP C Compiler
25130 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25131 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25132 # This bug is HP SR number 8606223364.
25133 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25134 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25135 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 if test "$cross_compiling" = yes; then
25139 # Depending upon the size, compute the lo and hi bounds.
25140 cat >conftest.$ac_ext <<_ACEOF
25143 cat confdefs.h >>conftest.$ac_ext
25144 cat >>conftest.$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25147 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25148 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25149 # error "fake wchar_t"
25151 #ifdef HAVE_WCHAR_H
25153 # include <stddef.h>
25155 # include <wchar.h>
25157 #ifdef HAVE_STDLIB_H
25158 # include <stdlib.h>
25164 typedef wchar_t ac__type_sizeof_
;
25168 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25175 rm -f conftest.
$ac_objext
25176 if { (ac_try
="$ac_compile"
25177 case "(($ac_try" in
25178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25179 *) ac_try_echo=$ac_try;;
25181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25182 (eval "$ac_compile") 2>conftest.er1
25184 grep -v '^ *+' conftest.er1 >conftest.err
25186 cat conftest.err >&5
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); } && {
25189 test -z "$ac_c_werror_flag" ||
25190 test ! -s conftest.err
25191 } && test -s conftest.$ac_objext; then
25194 cat >conftest.$ac_ext <<_ACEOF
25197 cat confdefs.h >>conftest.$ac_ext
25198 cat >>conftest.$ac_ext <<_ACEOF
25199 /* end confdefs.h. */
25201 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25202 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25203 # error "fake wchar_t"
25205 #ifdef HAVE_WCHAR_H
25207 # include <stddef.h>
25209 # include <wchar.h>
25211 #ifdef HAVE_STDLIB_H
25212 # include <stdlib.h>
25218 typedef wchar_t ac__type_sizeof_;
25222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25229 rm -f conftest.$ac_objext
25230 if { (ac_try="$ac_compile"
25231 case "(($ac_try" in
25232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25233 *) ac_try_echo
=$ac_try;;
25235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25236 (eval "$ac_compile") 2>conftest.er1
25238 grep -v '^ *+' conftest.er1
>conftest.err
25240 cat conftest.err
>&5
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); } && {
25243 test -z "$ac_c_werror_flag" ||
25244 test ! -s conftest.err
25245 } && test -s conftest.
$ac_objext; then
25246 ac_hi
=$ac_mid; break
25248 echo "$as_me: failed program was:" >&5
25249 sed 's/^/| /' conftest.
$ac_ext >&5
25251 ac_lo
=`expr $ac_mid + 1`
25252 if test $ac_lo -le $ac_mid; then
25256 ac_mid
=`expr 2 '*' $ac_mid + 1`
25259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25262 echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.
$ac_ext >&5
25265 cat >conftest.
$ac_ext <<_ACEOF
25268 cat confdefs.h
>>conftest.
$ac_ext
25269 cat >>conftest.
$ac_ext <<_ACEOF
25270 /* end confdefs.h. */
25272 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25273 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25274 # error "fake wchar_t"
25276 #ifdef HAVE_WCHAR_H
25278 # include <stddef.h>
25280 # include <wchar.h>
25282 #ifdef HAVE_STDLIB_H
25283 # include <stdlib.h>
25289 typedef wchar_t ac__type_sizeof_;
25293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25300 rm -f conftest.
$ac_objext
25301 if { (ac_try
="$ac_compile"
25302 case "(($ac_try" in
25303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25304 *) ac_try_echo=$ac_try;;
25306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25307 (eval "$ac_compile") 2>conftest.er1
25309 grep -v '^ *+' conftest.er1 >conftest.err
25311 cat conftest.err >&5
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); } && {
25314 test -z "$ac_c_werror_flag" ||
25315 test ! -s conftest.err
25316 } && test -s conftest.$ac_objext; then
25319 cat >conftest.$ac_ext <<_ACEOF
25322 cat confdefs.h >>conftest.$ac_ext
25323 cat >>conftest.$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25326 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25327 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25328 # error "fake wchar_t"
25330 #ifdef HAVE_WCHAR_H
25332 # include <stddef.h>
25334 # include <wchar.h>
25336 #ifdef HAVE_STDLIB_H
25337 # include <stdlib.h>
25343 typedef wchar_t ac__type_sizeof_;
25347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25354 rm -f conftest.$ac_objext
25355 if { (ac_try="$ac_compile"
25356 case "(($ac_try" in
25357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25358 *) ac_try_echo
=$ac_try;;
25360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25361 (eval "$ac_compile") 2>conftest.er1
25363 grep -v '^ *+' conftest.er1
>conftest.err
25365 cat conftest.err
>&5
25366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367 (exit $ac_status); } && {
25368 test -z "$ac_c_werror_flag" ||
25369 test ! -s conftest.err
25370 } && test -s conftest.
$ac_objext; then
25371 ac_lo
=$ac_mid; break
25373 echo "$as_me: failed program was:" >&5
25374 sed 's/^/| /' conftest.
$ac_ext >&5
25376 ac_hi
=`expr '(' $ac_mid ')' - 1`
25377 if test $ac_mid -le $ac_hi; then
25381 ac_mid
=`expr 2 '*' $ac_mid`
25384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25387 echo "$as_me: failed program was:" >&5
25388 sed 's/^/| /' conftest.
$ac_ext >&5
25393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25397 # Binary search between lo and hi bounds.
25398 while test "x$ac_lo" != "x$ac_hi"; do
25399 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25400 cat >conftest.
$ac_ext <<_ACEOF
25403 cat confdefs.h
>>conftest.
$ac_ext
25404 cat >>conftest.
$ac_ext <<_ACEOF
25405 /* end confdefs.h. */
25407 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25408 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25409 # error "fake wchar_t"
25411 #ifdef HAVE_WCHAR_H
25413 # include <stddef.h>
25415 # include <wchar.h>
25417 #ifdef HAVE_STDLIB_H
25418 # include <stdlib.h>
25424 typedef wchar_t ac__type_sizeof_;
25428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25435 rm -f conftest.
$ac_objext
25436 if { (ac_try
="$ac_compile"
25437 case "(($ac_try" in
25438 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25439 *) ac_try_echo=$ac_try;;
25441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25442 (eval "$ac_compile") 2>conftest.er1
25444 grep -v '^ *+' conftest.er1 >conftest.err
25446 cat conftest.err >&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); } && {
25449 test -z "$ac_c_werror_flag" ||
25450 test ! -s conftest.err
25451 } && test -s conftest.$ac_objext; then
25454 echo "$as_me: failed program was:" >&5
25455 sed 's/^/| /' conftest.$ac_ext >&5
25457 ac_lo=`expr '(' $ac_mid ')' + 1`
25460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25463 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25464 '') if test "$ac_cv_type_wchar_t" = yes; then
25465 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25466 See \`config.log
' for more details." >&5
25467 echo "$as_me: error: cannot compute sizeof (wchar_t)
25468 See \`config.log' for more details.
" >&2;}
25469 { (exit 77); exit 77; }; }
25471 ac_cv_sizeof_wchar_t=0
25475 cat >conftest.$ac_ext <<_ACEOF
25478 cat confdefs.h >>conftest.$ac_ext
25479 cat >>conftest.$ac_ext <<_ACEOF
25480 /* end confdefs.h. */
25482 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25483 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25484 # error "fake wchar_t
"
25486 #ifdef HAVE_WCHAR_H
25488 # include <stddef.h>
25490 # include <wchar.h>
25492 #ifdef HAVE_STDLIB_H
25493 # include <stdlib.h>
25499 typedef wchar_t ac__type_sizeof_;
25500 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25501 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25503 #include <stdlib.h>
25508 FILE *f = fopen ("conftest.val
", "w
");
25511 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25513 long int i = longval ();
25514 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25516 fprintf (f, "%ld
\n", i);
25520 unsigned long int i = ulongval ();
25521 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25523 fprintf (f, "%lu
\n", i);
25525 return ferror (f) || fclose (f) != 0;
25531 rm -f conftest$ac_exeext
25532 if { (ac_try="$ac_link"
25533 case "(($ac_try" in
25534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25535 *) ac_try_echo=$ac_try;;
25537 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25538 (eval "$ac_link") 2>&5
25540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25542 { (case "(($ac_try" in
25543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25544 *) ac_try_echo=$ac_try;;
25546 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25547 (eval "$ac_try") 2>&5
25549 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25550 (exit $ac_status); }; }; then
25551 ac_cv_sizeof_wchar_t=`cat conftest.val`
25553 echo "$as_me: program exited with status
$ac_status" >&5
25554 echo "$as_me: failed program was
:" >&5
25555 sed 's/^/| /' conftest.$ac_ext >&5
25557 ( exit $ac_status )
25558 if test "$ac_cv_type_wchar_t" = yes; then
25559 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25560 See \
`config.log' for more details." >&5
25561 echo "$as_me: error: cannot compute sizeof (wchar_t)
25562 See \`config.log
' for more details." >&2;}
25563 { (exit 77); exit 77; }; }
25565 ac_cv_sizeof_wchar_t=0
25568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25572 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25573 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25577 cat >>confdefs.h <<_ACEOF
25578 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25582 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25588 { echo "$as_me:$LINENO: checking for va_copy" >&5
25589 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25590 if test "${wx_cv_func_va_copy+set}" = set; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25595 ac_cpp='$CXXCPP $CPPFLAGS'
25596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25597 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25600 cat >conftest.$ac_ext <<_ACEOF
25602 #include <stdarg.h>
25603 void foo(char *f, ...)
25617 rm -f conftest.$ac_objext conftest$ac_exeext
25618 if { (ac_try="$ac_link"
25619 case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_link") 2>conftest.er1
25626 grep -v '^
*+' conftest.er1 >conftest.err
25628 cat conftest.err >&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && {
25631 test -z "$ac_cxx_werror_flag" ||
25632 test ! -s conftest.err
25633 } && test -s conftest$ac_exeext &&
25634 $as_test_x conftest$ac_exeext; then
25635 wx_cv_func_va_copy=yes
25637 echo "$as_me: failed program was:" >&5
25638 sed 's
/^
/| /' conftest.$ac_ext >&5
25640 wx_cv_func_va_copy=no
25644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25645 conftest$ac_exeext conftest.$ac_ext
25647 ac_cpp='$CPP $CPPFLAGS'
25648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25649 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25655 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25656 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25658 if test $wx_cv_func_va_copy = "yes"; then
25659 cat >>confdefs.h <<\_ACEOF
25660 #define HAVE_VA_COPY 1
25664 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25665 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25666 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25667 echo $ECHO_N "(cached) $ECHO_C" >&6
25670 if test "$cross_compiling" = yes; then
25671 wx_cv_type_va_list_lvalue=yes
25674 cat >conftest.$ac_ext <<_ACEOF
25676 #include <stdarg.h>
25677 int foo(char *f, ...)
25682 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25690 return foo("hi", 17);
25693 rm -f conftest$ac_exeext
25694 if { (ac_try="$ac_link"
25695 case "(($ac_try" in
25696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25697 *) ac_try_echo=$ac_try;;
25699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25700 (eval "$ac_link") 2>&5
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25704 { (case "(($ac_try" in
25705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25706 *) ac_try_echo=$ac_try;;
25708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25709 (eval "$ac_try") 2>&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); }; }; then
25713 wx_cv_type_va_list_lvalue=yes
25715 echo "$as_me: program exited with status $ac_status" >&5
25716 echo "$as_me: failed program was:" >&5
25717 sed 's
/^
/| /' conftest.$ac_ext >&5
25719 ( exit $ac_status )
25720 wx_cv_type_va_list_lvalue=no
25722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25729 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25730 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25732 if test $wx_cv_type_va_list_lvalue != "yes"; then
25733 cat >>confdefs.h <<\_ACEOF
25734 #define VA_LIST_IS_ARRAY 1
25740 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25742 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25743 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25744 if test "${wx_cv_have_variadic_macros+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 ac_cpp='$CXXCPP $CPPFLAGS'
25750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25751 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25754 cat >conftest.$ac_ext <<_ACEOF
25757 cat confdefs.h >>conftest.$ac_ext
25758 cat >>conftest.$ac_ext <<_ACEOF
25759 /* end confdefs.h. */
25762 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25768 test("%s %d %p", "test", 1, 0);
25775 rm -f conftest.$ac_objext
25776 if { (ac_try="$ac_compile"
25777 case "(($ac_try" in
25778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25779 *) ac_try_echo=$ac_try;;
25781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25782 (eval "$ac_compile") 2>conftest.er1
25784 grep -v '^
*+' conftest.er1 >conftest.err
25786 cat conftest.err >&5
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); } && {
25789 test -z "$ac_cxx_werror_flag" ||
25790 test ! -s conftest.err
25791 } && test -s conftest.$ac_objext; then
25792 wx_cv_have_variadic_macros=yes
25794 echo "$as_me: failed program was:" >&5
25795 sed 's
/^
/| /' conftest.$ac_ext >&5
25797 wx_cv_have_variadic_macros=no
25801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25803 ac_cpp='$CPP $CPPFLAGS'
25804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25805 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25811 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25812 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25814 if test $wx_cv_have_variadic_macros = "yes"; then
25815 cat >>confdefs.h <<\_ACEOF
25816 #define HAVE_VARIADIC_MACROS 1
25822 # Check whether --enable-largefile was given.
25823 if test "${enable_largefile+set}" = set; then
25824 enableval=$enable_largefile;
25827 if test "$enable_largefile" != no; then
25830 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25831 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25832 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25833 echo $ECHO_N "(cached) $ECHO_C" >&6
25836 cat >conftest.$ac_ext <<_ACEOF
25839 cat confdefs.h >>conftest.$ac_ext
25840 cat >>conftest.$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25842 #define _FILE_OFFSET_BITS 64
25843 #include <sys/types.h>
25848 unsigned int field: sizeof(off_t) == 8;
25855 rm -f conftest.$ac_objext
25856 if { (ac_try="$ac_compile"
25857 case "(($ac_try" in
25858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25859 *) ac_try_echo=$ac_try;;
25861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25862 (eval "$ac_compile") 2>conftest.er1
25864 grep -v '^
*+' conftest.er1 >conftest.err
25866 cat conftest.err >&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); } && {
25869 test -z "$ac_c_werror_flag" ||
25870 test ! -s conftest.err
25871 } && test -s conftest.$ac_objext; then
25872 ac_cv_sys_file_offset_bits=64
25874 echo "$as_me: failed program was:" >&5
25875 sed 's
/^
/| /' conftest.$ac_ext >&5
25877 ac_cv_sys_file_offset_bits=no
25880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25884 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25885 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25887 if test "$ac_cv_sys_file_offset_bits" != no; then
25889 cat >>confdefs.h <<_ACEOF
25890 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25895 if test "x$wx_largefile" != "xyes"; then
25897 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25898 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25899 if test "${ac_cv_sys_large_files+set}" = set; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 cat >conftest.$ac_ext <<_ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 #define _LARGE_FILES 1
25910 #include <sys/types.h>
25915 unsigned int field: sizeof(off_t) == 8;
25922 rm -f conftest.$ac_objext
25923 if { (ac_try="$ac_compile"
25924 case "(($ac_try" in
25925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25926 *) ac_try_echo=$ac_try;;
25928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25929 (eval "$ac_compile") 2>conftest.er1
25931 grep -v '^
*+' conftest.er1 >conftest.err
25933 cat conftest.err >&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } && {
25936 test -z "$ac_c_werror_flag" ||
25937 test ! -s conftest.err
25938 } && test -s conftest.$ac_objext; then
25939 ac_cv_sys_large_files=1
25941 echo "$as_me: failed program was:" >&5
25942 sed 's
/^
/| /' conftest.$ac_ext >&5
25944 ac_cv_sys_large_files=no
25947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25951 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25952 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25954 if test "$ac_cv_sys_large_files" != no; then
25956 cat >>confdefs.h <<_ACEOF
25957 #define _LARGE_FILES $ac_cv_sys_large_files
25964 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25965 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25966 if test "x$wx_largefile" = "xyes"; then
25967 cat >>confdefs.h <<\_ACEOF
25968 #define HAVE_LARGEFILE_SUPPORT 1
25972 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25973 echo "${ECHO_T}$wx_largefile" >&6; }
25977 if test "x$wx_largefile" = "xyes"; then
25978 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25979 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25981 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25982 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25983 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25984 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25985 echo $ECHO_N "(cached) $ECHO_C" >&6
25989 ac_cpp='$CXXCPP $CPPFLAGS'
25990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25991 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25994 cat >conftest.$ac_ext <<_ACEOF
25997 cat confdefs.h >>conftest.$ac_ext
25998 cat >>conftest.$ac_ext <<_ACEOF
25999 /* end confdefs.h. */
26005 #ifndef __STDC_EXT__
26013 rm -f conftest.$ac_objext
26014 if { (ac_try="$ac_compile"
26015 case "(($ac_try" in
26016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26017 *) ac_try_echo=$ac_try;;
26019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26020 (eval "$ac_compile") 2>conftest.er1
26022 grep -v '^
*+' conftest.er1 >conftest.err
26024 cat conftest.err >&5
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); } && {
26027 test -z "$ac_cxx_werror_flag" ||
26028 test ! -s conftest.err
26029 } && test -s conftest.$ac_objext; then
26030 wx_cv_STDC_EXT_required=no
26032 echo "$as_me: failed program was:" >&5
26033 sed 's
/^
/| /' conftest.$ac_ext >&5
26035 wx_cv_STDC_EXT_required=yes
26039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26041 ac_cpp='$CPP $CPPFLAGS'
26042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26043 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26049 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26050 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26051 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26052 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26056 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26058 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26059 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26060 if test "${ac_cv_sys_largefile_source+set}" = set; then
26061 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 cat >conftest.$ac_ext <<_ACEOF
26067 cat confdefs.h >>conftest.$ac_ext
26068 cat >>conftest.$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26070 #include <sys/types.h> /* for off_t */
26075 int (*fp) (FILE *, off_t, int) = fseeko;
26076 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26081 rm -f conftest.$ac_objext conftest$ac_exeext
26082 if { (ac_try="$ac_link"
26083 case "(($ac_try" in
26084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26085 *) ac_try_echo=$ac_try;;
26087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26088 (eval "$ac_link") 2>conftest.er1
26090 grep -v '^
*+' conftest.er1 >conftest.err
26092 cat conftest.err >&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); } && {
26095 test -z "$ac_c_werror_flag" ||
26096 test ! -s conftest.err
26097 } && test -s conftest$ac_exeext &&
26098 $as_test_x conftest$ac_exeext; then
26099 ac_cv_sys_largefile_source=no; break
26101 echo "$as_me: failed program was:" >&5
26102 sed 's
/^
/| /' conftest.$ac_ext >&5
26107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26108 conftest$ac_exeext conftest.$ac_ext
26109 cat >conftest.$ac_ext <<_ACEOF
26112 cat confdefs.h >>conftest.$ac_ext
26113 cat >>conftest.$ac_ext <<_ACEOF
26114 /* end confdefs.h. */
26115 #define _LARGEFILE_SOURCE 1
26116 #include <sys/types.h> /* for off_t */
26121 int (*fp) (FILE *, off_t, int) = fseeko;
26122 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26127 rm -f conftest.$ac_objext conftest$ac_exeext
26128 if { (ac_try="$ac_link"
26129 case "(($ac_try" in
26130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26131 *) ac_try_echo=$ac_try;;
26133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26134 (eval "$ac_link") 2>conftest.er1
26136 grep -v '^
*+' conftest.er1 >conftest.err
26138 cat conftest.err >&5
26139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26140 (exit $ac_status); } && {
26141 test -z "$ac_c_werror_flag" ||
26142 test ! -s conftest.err
26143 } && test -s conftest$ac_exeext &&
26144 $as_test_x conftest$ac_exeext; then
26145 ac_cv_sys_largefile_source=1; break
26147 echo "$as_me: failed program was:" >&5
26148 sed 's
/^
/| /' conftest.$ac_ext >&5
26153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26154 conftest$ac_exeext conftest.$ac_ext
26155 ac_cv_sys_largefile_source=unknown
26159 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26160 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26161 case $ac_cv_sys_largefile_source in #(
26164 cat >>confdefs.h <<_ACEOF
26165 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26171 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26172 # in glibc 2.1.3, but that breaks too many other things.
26173 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26174 if test $ac_cv_sys_largefile_source != unknown; then
26176 cat >>confdefs.h <<\_ACEOF
26177 #define HAVE_FSEEKO 1
26182 if test "$ac_cv_sys_largefile_source" != no; then
26183 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26187 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26188 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26189 if test "${ac_cv_c_bigendian+set}" = set; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26192 ac_cv_c_bigendian=unknown
26193 # See if sys/param.h defines the BYTE_ORDER macro.
26194 cat >conftest.$ac_ext <<_ACEOF
26197 cat confdefs.h >>conftest.$ac_ext
26198 cat >>conftest.$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26200 #include <sys/types.h>
26201 #include <sys/param.h>
26206 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26207 bogus endian macros
26213 rm -f conftest.$ac_objext
26214 if { (ac_try="$ac_compile"
26215 case "(($ac_try" in
26216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26217 *) ac_try_echo=$ac_try;;
26219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26220 (eval "$ac_compile") 2>conftest.er1
26222 grep -v '^
*+' conftest.er1 >conftest.err
26224 cat conftest.err >&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); } && {
26227 test -z "$ac_c_werror_flag" ||
26228 test ! -s conftest.err
26229 } && test -s conftest.$ac_objext; then
26230 # It does; now see whether it defined to BIG_ENDIAN or not.
26231 cat >conftest.$ac_ext <<_ACEOF
26234 cat confdefs.h >>conftest.$ac_ext
26235 cat >>conftest.$ac_ext <<_ACEOF
26236 /* end confdefs.h. */
26237 #include <sys/types.h>
26238 #include <sys/param.h>
26243 #if BYTE_ORDER != BIG_ENDIAN
26250 rm -f conftest.$ac_objext
26251 if { (ac_try="$ac_compile"
26252 case "(($ac_try" in
26253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26254 *) ac_try_echo=$ac_try;;
26256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26257 (eval "$ac_compile") 2>conftest.er1
26259 grep -v '^
*+' conftest.er1 >conftest.err
26261 cat conftest.err >&5
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); } && {
26264 test -z "$ac_c_werror_flag" ||
26265 test ! -s conftest.err
26266 } && test -s conftest.$ac_objext; then
26267 ac_cv_c_bigendian=yes
26269 echo "$as_me: failed program was:" >&5
26270 sed 's
/^
/| /' conftest.$ac_ext >&5
26272 ac_cv_c_bigendian=no
26275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26277 echo "$as_me: failed program was:" >&5
26278 sed 's
/^
/| /' conftest.$ac_ext >&5
26283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284 if test $ac_cv_c_bigendian = unknown; then
26285 if test "$cross_compiling" = yes; then
26286 ac_cv_c_bigendian=unknown
26288 cat >conftest.$ac_ext <<_ACEOF
26291 cat confdefs.h >>conftest.$ac_ext
26292 cat >>conftest.$ac_ext <<_ACEOF
26293 /* end confdefs.h. */
26295 /* Are we little or big endian? From Harbison&Steele. */
26299 char c[sizeof (long)];
26302 exit (u.c[sizeof (long) - 1] == 1);
26305 rm -f conftest$ac_exeext
26306 if { (ac_try="$ac_link"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26309 *) ac_try_echo=$ac_try;;
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_link") 2>&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26316 { (case "(($ac_try" in
26317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26318 *) ac_try_echo=$ac_try;;
26320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26321 (eval "$ac_try") 2>&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; }; then
26325 ac_cv_c_bigendian=no
26327 echo "$as_me: program exited with status $ac_status" >&5
26328 echo "$as_me: failed program was:" >&5
26329 sed 's
/^
/| /' conftest.$ac_ext >&5
26331 ( exit $ac_status )
26332 ac_cv_c_bigendian=yes
26334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26340 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26341 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26342 if test $ac_cv_c_bigendian = unknown; then
26343 { 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
26344 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;}
26346 if test $ac_cv_c_bigendian = yes; then
26347 cat >>confdefs.h <<\_ACEOF
26348 #define WORDS_BIGENDIAN 1
26357 ac_cpp='$CXXCPP $CPPFLAGS'
26358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26359 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26364 for ac_header in iostream
26366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26370 echo $ECHO_N "(cached) $ECHO_C" >&6
26372 cat >conftest.$ac_ext <<_ACEOF
26375 cat confdefs.h >>conftest.$ac_ext
26376 cat >>conftest.$ac_ext <<_ACEOF
26377 /* end confdefs.h. */
26380 #include <$ac_header>
26382 rm -f conftest.$ac_objext
26383 if { (ac_try="$ac_compile"
26384 case "(($ac_try" in
26385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26386 *) ac_try_echo=$ac_try;;
26388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26389 (eval "$ac_compile") 2>conftest.er1
26391 grep -v '^
*+' conftest.er1 >conftest.err
26393 cat conftest.err >&5
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); } && {
26396 test -z "$ac_cxx_werror_flag" ||
26397 test ! -s conftest.err
26398 } && test -s conftest.$ac_objext; then
26399 eval "$as_ac_Header=yes"
26401 echo "$as_me: failed program was:" >&5
26402 sed 's
/^
/| /' conftest.$ac_ext >&5
26404 eval "$as_ac_Header=no"
26407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26409 ac_res=`eval echo '${'$as_ac_Header'}'`
26410 { echo "$as_me:$LINENO: result: $ac_res" >&5
26411 echo "${ECHO_T}$ac_res" >&6; }
26412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26413 cat >>confdefs.h <<_ACEOF
26414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26422 if test "$ac_cv_header_iostream" = "yes" ; then
26425 cat >>confdefs.h <<\_ACEOF
26426 #define wxUSE_IOSTREAMH 1
26432 ac_cpp='$CPP $CPPFLAGS'
26433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26434 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26440 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26441 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26442 if test "${wx_cv_cpp_bool+set}" = set; then
26443 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 ac_cpp='$CXXCPP $CPPFLAGS'
26449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26450 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26454 cat >conftest.$ac_ext <<_ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26474 rm -f conftest.$ac_objext
26475 if { (ac_try="$ac_compile"
26476 case "(($ac_try" in
26477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26478 *) ac_try_echo=$ac_try;;
26480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26481 (eval "$ac_compile") 2>conftest.er1
26483 grep -v '^
*+' conftest.er1 >conftest.err
26485 cat conftest.err >&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); } && {
26488 test -z "$ac_cxx_werror_flag" ||
26489 test ! -s conftest.err
26490 } && test -s conftest.$ac_objext; then
26495 echo "$as_me: failed program was:" >&5
26496 sed 's
/^
/| /' conftest.$ac_ext >&5
26504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26507 ac_cpp='$CPP $CPPFLAGS'
26508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26509 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26514 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26515 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26517 if test "$wx_cv_cpp_bool" = "yes"; then
26518 cat >>confdefs.h <<\_ACEOF
26519 #define HAVE_BOOL 1
26526 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26527 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26528 if test "${wx_cv_explicit+set}" = set; then
26529 echo $ECHO_N "(cached) $ECHO_C" >&6
26534 ac_cpp='$CXXCPP $CPPFLAGS'
26535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26536 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26540 cat >conftest.$ac_ext <<_ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26547 class Foo { public: explicit Foo(int) {} };
26559 rm -f conftest.$ac_objext
26560 if { (ac_try="$ac_compile"
26561 case "(($ac_try" in
26562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26563 *) ac_try_echo=$ac_try;;
26565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26566 (eval "$ac_compile") 2>conftest.er1
26568 grep -v '^
*+' conftest.er1 >conftest.err
26570 cat conftest.err >&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); } && {
26573 test -z "$ac_cxx_werror_flag" ||
26574 test ! -s conftest.err
26575 } && test -s conftest.$ac_objext; then
26577 cat >conftest.$ac_ext <<_ACEOF
26580 cat confdefs.h >>conftest.$ac_ext
26581 cat >>conftest.$ac_ext <<_ACEOF
26582 /* end confdefs.h. */
26584 class Foo { public: explicit Foo(int) {} };
26585 static void TakeFoo(const Foo& foo) { }
26598 rm -f conftest.$ac_objext
26599 if { (ac_try="$ac_compile"
26600 case "(($ac_try" in
26601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26602 *) ac_try_echo=$ac_try;;
26604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26605 (eval "$ac_compile") 2>conftest.er1
26607 grep -v '^
*+' conftest.er1 >conftest.err
26609 cat conftest.err >&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } && {
26612 test -z "$ac_cxx_werror_flag" ||
26613 test ! -s conftest.err
26614 } && test -s conftest.$ac_objext; then
26617 echo "$as_me: failed program was:" >&5
26618 sed 's
/^
/| /' conftest.$ac_ext >&5
26624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26627 echo "$as_me: failed program was:" >&5
26628 sed 's
/^
/| /' conftest.$ac_ext >&5
26634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26637 ac_cpp='$CPP $CPPFLAGS'
26638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26639 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26644 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26645 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26647 if test "$wx_cv_explicit" = "yes"; then
26648 cat >>confdefs.h <<\_ACEOF
26649 #define HAVE_EXPLICIT 1
26655 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26656 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26657 if test "${ac_cv_cxx_const_cast+set}" = set; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26662 ac_cpp='$CXXCPP $CPPFLAGS'
26663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26664 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26667 cat >conftest.$ac_ext <<_ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26677 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26682 rm -f conftest.$ac_objext
26683 if { (ac_try="$ac_compile"
26684 case "(($ac_try" in
26685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26686 *) ac_try_echo=$ac_try;;
26688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26689 (eval "$ac_compile") 2>conftest.er1
26691 grep -v '^
*+' conftest.er1 >conftest.err
26693 cat conftest.err >&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); } && {
26696 test -z "$ac_cxx_werror_flag" ||
26697 test ! -s conftest.err
26698 } && test -s conftest.$ac_objext; then
26699 ac_cv_cxx_const_cast=yes
26701 echo "$as_me: failed program was:" >&5
26702 sed 's
/^
/| /' conftest.$ac_ext >&5
26704 ac_cv_cxx_const_cast=no
26707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26709 ac_cpp='$CPP $CPPFLAGS'
26710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26711 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26716 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26717 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26718 if test "$ac_cv_cxx_const_cast" = yes; then
26720 cat >>confdefs.h <<\_ACEOF
26721 #define HAVE_CONST_CAST
26726 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26727 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26728 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26729 echo $ECHO_N "(cached) $ECHO_C" >&6
26733 ac_cpp='$CXXCPP $CPPFLAGS'
26734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26735 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26738 cat >conftest.$ac_ext <<_ACEOF
26741 cat confdefs.h >>conftest.$ac_ext
26742 cat >>conftest.$ac_ext <<_ACEOF
26743 /* end confdefs.h. */
26744 #include <typeinfo>
26745 class Base { public : Base () {} virtual void f () = 0;};
26746 class Derived : public Base { public : Derived () {} virtual void f () {} };
26747 class Unrelated { public : Unrelated () {} };
26748 int g (Unrelated&) { return 0; }
26753 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26758 rm -f conftest.$ac_objext
26759 if { (ac_try="$ac_compile"
26760 case "(($ac_try" in
26761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26762 *) ac_try_echo=$ac_try;;
26764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26765 (eval "$ac_compile") 2>conftest.er1
26767 grep -v '^
*+' conftest.er1 >conftest.err
26769 cat conftest.err >&5
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); } && {
26772 test -z "$ac_cxx_werror_flag" ||
26773 test ! -s conftest.err
26774 } && test -s conftest.$ac_objext; then
26775 ac_cv_cxx_reinterpret_cast=yes
26777 echo "$as_me: failed program was:" >&5
26778 sed 's
/^
/| /' conftest.$ac_ext >&5
26780 ac_cv_cxx_reinterpret_cast=no
26783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26785 ac_cpp='$CPP $CPPFLAGS'
26786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26787 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26792 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26793 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26794 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26796 cat >>confdefs.h <<\_ACEOF
26797 #define HAVE_REINTERPRET_CAST
26802 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26803 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26804 if test "${ac_cv_cxx_static_cast+set}" = set; then
26805 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 ac_cpp='$CXXCPP $CPPFLAGS'
26810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26811 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26814 cat >conftest.$ac_ext <<_ACEOF
26817 cat confdefs.h >>conftest.$ac_ext
26818 cat >>conftest.$ac_ext <<_ACEOF
26819 /* end confdefs.h. */
26820 #include <typeinfo>
26821 class Base { public : Base () {} virtual void f () = 0; };
26822 class Derived : public Base { public : Derived () {} virtual void f () {} };
26823 int g (Derived&) { return 0; }
26828 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26833 rm -f conftest.$ac_objext
26834 if { (ac_try="$ac_compile"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_compile") 2>conftest.er1
26842 grep -v '^
*+' conftest.er1 >conftest.err
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } && {
26847 test -z "$ac_cxx_werror_flag" ||
26848 test ! -s conftest.err
26849 } && test -s conftest.$ac_objext; then
26850 ac_cv_cxx_static_cast=yes
26852 echo "$as_me: failed program was:" >&5
26853 sed 's
/^
/| /' conftest.$ac_ext >&5
26855 ac_cv_cxx_static_cast=no
26858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26860 ac_cpp='$CPP $CPPFLAGS'
26861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26862 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26867 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26868 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26869 if test "$ac_cv_cxx_static_cast" = yes; then
26871 cat >>confdefs.h <<\_ACEOF
26872 #define HAVE_STATIC_CAST
26878 if test "x$SUNCXX" = xyes; then
26879 CXXFLAGS="-features=tmplife $CXXFLAGS"
26882 if test "x$SUNCC" = xyes; then
26883 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26886 if test "x$SGICC" = "xyes"; then
26887 CFLAGS="-woff 3970 $CFLAGS"
26889 if test "x$SGICXX" = "xyes"; then
26890 CXXFLAGS="-woff 3970 $CXXFLAGS"
26893 if test "x$HPCC" = "xyes"; then
26894 CFLAGS="+W 2011,2450 $CFLAGS"
26896 if test "x$HPCXX" = "xyes"; then
26897 CXXFLAGS="+W 2340 $CXXFLAGS"
26900 if test "x$COMPAQCXX" = "xyes"; then
26901 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26905 ac_cpp='$CXXCPP $CPPFLAGS'
26906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26907 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26911 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26912 if test "$wxUSE_UNICODE" = "yes"; then
26913 std_string="std::wstring"
26914 char_type="wchar_t"
26916 std_string="std::string"
26920 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26921 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26922 if test "${wx_cv_class_stdstring+set}" = set; then
26923 echo $ECHO_N "(cached) $ECHO_C" >&6
26926 cat >conftest.$ac_ext <<_ACEOF
26929 cat confdefs.h >>conftest.$ac_ext
26930 cat >>conftest.$ac_ext <<_ACEOF
26931 /* end confdefs.h. */
26941 rm -f conftest.$ac_objext
26942 if { (ac_try="$ac_compile"
26943 case "(($ac_try" in
26944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26945 *) ac_try_echo=$ac_try;;
26947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26948 (eval "$ac_compile") 2>conftest.er1
26950 grep -v '^
*+' conftest.er1 >conftest.err
26952 cat conftest.err >&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } && {
26955 test -z "$ac_cxx_werror_flag" ||
26956 test ! -s conftest.err
26957 } && test -s conftest.$ac_objext; then
26958 wx_cv_class_stdstring=yes
26960 echo "$as_me: failed program was:" >&5
26961 sed 's
/^
/| /' conftest.$ac_ext >&5
26963 wx_cv_class_stdstring=no
26967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26971 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26972 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26974 if test "$wx_cv_class_stdstring" = yes; then
26975 if test "$wxUSE_UNICODE" = "yes"; then
26976 cat >>confdefs.h <<\_ACEOF
26977 #define HAVE_STD_WSTRING 1
26982 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26983 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26984 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26985 echo $ECHO_N "(cached) $ECHO_C" >&6
26988 cat >conftest.$ac_ext <<_ACEOF
26991 cat confdefs.h >>conftest.$ac_ext
26992 cat >>conftest.$ac_ext <<_ACEOF
26993 /* end confdefs.h. */
26995 #ifdef HAVE_WCHAR_H
26997 # include <stddef.h>
26999 # include <wchar.h>
27001 #ifdef HAVE_STDLIB_H
27002 # include <stdlib.h>
27010 std::basic_string<$char_type> foo;
27011 const $char_type* dummy = foo.c_str();
27016 rm -f conftest.$ac_objext
27017 if { (ac_try="$ac_compile"
27018 case "(($ac_try" in
27019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27020 *) ac_try_echo=$ac_try;;
27022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27023 (eval "$ac_compile") 2>conftest.er1
27025 grep -v '^
*+' conftest.er1 >conftest.err
27027 cat conftest.err >&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } && {
27030 test -z "$ac_cxx_werror_flag" ||
27031 test ! -s conftest.err
27032 } && test -s conftest.$ac_objext; then
27033 wx_cv_class_stdbasicstring=yes
27035 echo "$as_me: failed program was:" >&5
27036 sed 's
/^
/| /' conftest.$ac_ext >&5
27038 wx_cv_class_stdbasicstring=no
27042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27046 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27047 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27049 if test "$wx_cv_class_stdbasicstring" != yes; then
27050 if test "$wxUSE_STL" = "yes"; then
27051 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27052 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27053 { (exit 1); exit 1; }; }
27054 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27055 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27056 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27057 { (exit 1); exit 1; }; }
27059 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27060 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27061 wxUSE_STD_STRING=no
27067 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27068 { echo "$as_me:$LINENO: checking for std::istream" >&5
27069 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27070 if test "${ac_cv_type_std__istream+set}" = set; then
27071 echo $ECHO_N "(cached) $ECHO_C" >&6
27073 cat >conftest.$ac_ext <<_ACEOF
27076 cat confdefs.h >>conftest.$ac_ext
27077 cat >>conftest.$ac_ext <<_ACEOF
27078 /* end confdefs.h. */
27079 #include <iostream>
27081 typedef std::istream ac__type_new_;
27085 if ((ac__type_new_ *) 0)
27087 if (sizeof (ac__type_new_))
27093 rm -f conftest.$ac_objext
27094 if { (ac_try="$ac_compile"
27095 case "(($ac_try" in
27096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27097 *) ac_try_echo=$ac_try;;
27099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27100 (eval "$ac_compile") 2>conftest.er1
27102 grep -v '^
*+' conftest.er1 >conftest.err
27104 cat conftest.err >&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); } && {
27107 test -z "$ac_cxx_werror_flag" ||
27108 test ! -s conftest.err
27109 } && test -s conftest.$ac_objext; then
27110 ac_cv_type_std__istream=yes
27112 echo "$as_me: failed program was:" >&5
27113 sed 's
/^
/| /' conftest.$ac_ext >&5
27115 ac_cv_type_std__istream=no
27118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27120 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27121 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27122 if test $ac_cv_type_std__istream = yes; then
27124 cat >>confdefs.h <<_ACEOF
27125 #define HAVE_STD__ISTREAM 1
27130 wxUSE_STD_IOSTREAM=no
27132 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27133 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27134 if test "${ac_cv_type_std__ostream+set}" = set; then
27135 echo $ECHO_N "(cached) $ECHO_C" >&6
27137 cat >conftest.$ac_ext <<_ACEOF
27140 cat confdefs.h >>conftest.$ac_ext
27141 cat >>conftest.$ac_ext <<_ACEOF
27142 /* end confdefs.h. */
27143 #include <iostream>
27145 typedef std::ostream ac__type_new_;
27149 if ((ac__type_new_ *) 0)
27151 if (sizeof (ac__type_new_))
27157 rm -f conftest.$ac_objext
27158 if { (ac_try="$ac_compile"
27159 case "(($ac_try" in
27160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27161 *) ac_try_echo=$ac_try;;
27163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27164 (eval "$ac_compile") 2>conftest.er1
27166 grep -v '^
*+' conftest.er1 >conftest.err
27168 cat conftest.err >&5
27169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170 (exit $ac_status); } && {
27171 test -z "$ac_cxx_werror_flag" ||
27172 test ! -s conftest.err
27173 } && test -s conftest.$ac_objext; then
27174 ac_cv_type_std__ostream=yes
27176 echo "$as_me: failed program was:" >&5
27177 sed 's
/^
/| /' conftest.$ac_ext >&5
27179 ac_cv_type_std__ostream=no
27182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27184 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27185 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27186 if test $ac_cv_type_std__ostream = yes; then
27188 cat >>confdefs.h <<_ACEOF
27189 #define HAVE_STD__OSTREAM 1
27194 wxUSE_STD_IOSTREAM=no
27198 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27199 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27200 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27201 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27202 { (exit 1); exit 1; }; }
27204 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27205 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27210 if test "$wxUSE_STL" = "yes"; then
27211 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27212 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27213 if test "${wx_cv_lib_stl+set}" = set; then
27214 echo $ECHO_N "(cached) $ECHO_C" >&6
27216 cat >conftest.$ac_ext <<_ACEOF
27219 cat confdefs.h >>conftest.$ac_ext
27220 cat >>conftest.$ac_ext <<_ACEOF
27221 /* end confdefs.h. */
27223 #include <functional>
27224 #include <algorithm>
27230 std::vector<int> moo;
27231 std::list<int> foo;
27232 std::vector<int>::iterator it =
27233 std::find_if(moo.begin(), moo.end(),
27234 std::bind2nd(std::less<int>(), 3));
27239 rm -f conftest.$ac_objext
27240 if { (ac_try="$ac_compile"
27241 case "(($ac_try" in
27242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27243 *) ac_try_echo=$ac_try;;
27245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27246 (eval "$ac_compile") 2>conftest.er1
27248 grep -v '^
*+' conftest.er1 >conftest.err
27250 cat conftest.err >&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } && {
27253 test -z "$ac_cxx_werror_flag" ||
27254 test ! -s conftest.err
27255 } && test -s conftest.$ac_objext; then
27258 echo "$as_me: failed program was:" >&5
27259 sed 's
/^
/| /' conftest.$ac_ext >&5
27265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27268 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27269 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27271 if test "$wx_cv_lib_stl" != yes; then
27272 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27273 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27274 { (exit 1); exit 1; }; }
27277 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27278 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27279 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27280 echo $ECHO_N "(cached) $ECHO_C" >&6
27282 cat >conftest.$ac_ext <<_ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27292 std::string foo, bar;
27294 foo.compare(1, 1, bar);
27295 foo.compare(1, 1, bar, 1, 1);
27297 foo.compare(1, 1, "");
27298 foo.compare(1, 1, "", 2);
27303 rm -f conftest.$ac_objext
27304 if { (ac_try="$ac_compile"
27305 case "(($ac_try" in
27306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27307 *) ac_try_echo=$ac_try;;
27309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27310 (eval "$ac_compile") 2>conftest.er1
27312 grep -v '^
*+' conftest.er1 >conftest.err
27314 cat conftest.err >&5
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); } && {
27317 test -z "$ac_cxx_werror_flag" ||
27318 test ! -s conftest.err
27319 } && test -s conftest.$ac_objext; then
27320 wx_cv_func_stdstring_compare=yes
27322 echo "$as_me: failed program was:" >&5
27323 sed 's
/^
/| /' conftest.$ac_ext >&5
27325 wx_cv_func_stdstring_compare=no
27329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27332 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27333 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27335 if test "$wx_cv_func_stdstring_compare" = yes; then
27336 cat >>confdefs.h <<\_ACEOF
27337 #define HAVE_STD_STRING_COMPARE 1
27342 { echo "$as_me:$LINENO: checking for hash_map" >&5
27343 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27344 if test "${ac_cv_header_hash_map+set}" = set; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27347 cat >conftest.$ac_ext <<_ACEOF
27350 cat confdefs.h >>conftest.$ac_ext
27351 cat >>conftest.$ac_ext <<_ACEOF
27352 /* end confdefs.h. */
27356 #include <hash_map>
27358 rm -f conftest.$ac_objext
27359 if { (ac_try="$ac_compile"
27360 case "(($ac_try" in
27361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27362 *) ac_try_echo=$ac_try;;
27364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27365 (eval "$ac_compile") 2>conftest.er1
27367 grep -v '^
*+' conftest.er1 >conftest.err
27369 cat conftest.err >&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } && {
27372 test -z "$ac_cxx_werror_flag" ||
27373 test ! -s conftest.err
27374 } && test -s conftest.$ac_objext; then
27375 ac_cv_header_hash_map=yes
27377 echo "$as_me: failed program was:" >&5
27378 sed 's
/^
/| /' conftest.$ac_ext >&5
27380 ac_cv_header_hash_map=no
27383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27385 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27386 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27387 if test $ac_cv_header_hash_map = yes; then
27388 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27389 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27390 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27391 echo $ECHO_N "(cached) $ECHO_C" >&6
27393 cat >conftest.$ac_ext <<_ACEOF
27396 cat confdefs.h >>conftest.$ac_ext
27397 cat >>conftest.$ac_ext <<_ACEOF
27398 /* end confdefs.h. */
27399 #include <hash_map>
27400 #include <hash_set>
27404 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27405 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27410 rm -f conftest.$ac_objext
27411 if { (ac_try="$ac_compile"
27412 case "(($ac_try" in
27413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27414 *) ac_try_echo=$ac_try;;
27416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27417 (eval "$ac_compile") 2>conftest.er1
27419 grep -v '^
*+' conftest.er1 >conftest.err
27421 cat conftest.err >&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); } && {
27424 test -z "$ac_cxx_werror_flag" ||
27425 test ! -s conftest.err
27426 } && test -s conftest.$ac_objext; then
27427 wx_cv_class_stdhashmapset=yes
27429 echo "$as_me: failed program was:" >&5
27430 sed 's
/^
/| /' conftest.$ac_ext >&5
27432 wx_cv_class_stdhashmapset=no
27435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27439 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27440 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27445 if test "$wx_cv_class_stdhashmapset" = yes; then
27446 cat >>confdefs.h <<\_ACEOF
27447 #define HAVE_HASH_MAP 1
27450 cat >>confdefs.h <<\_ACEOF
27451 #define HAVE_STD_HASH_MAP 1
27456 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27457 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27458 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27459 echo $ECHO_N "(cached) $ECHO_C" >&6
27461 cat >conftest.$ac_ext <<_ACEOF
27464 cat confdefs.h >>conftest.$ac_ext
27465 cat >>conftest.$ac_ext <<_ACEOF
27466 /* end confdefs.h. */
27470 #include <ext/hash_map>
27472 rm -f conftest.$ac_objext
27473 if { (ac_try="$ac_compile"
27474 case "(($ac_try" in
27475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27476 *) ac_try_echo=$ac_try;;
27478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27479 (eval "$ac_compile") 2>conftest.er1
27481 grep -v '^
*+' conftest.er1 >conftest.err
27483 cat conftest.err >&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } && {
27486 test -z "$ac_cxx_werror_flag" ||
27487 test ! -s conftest.err
27488 } && test -s conftest.$ac_objext; then
27489 ac_cv_header_ext_hash_map=yes
27491 echo "$as_me: failed program was:" >&5
27492 sed 's
/^
/| /' conftest.$ac_ext >&5
27494 ac_cv_header_ext_hash_map=no
27497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27499 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27500 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27501 if test $ac_cv_header_ext_hash_map = yes; then
27502 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27503 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27504 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27505 echo $ECHO_N "(cached) $ECHO_C" >&6
27507 cat >conftest.$ac_ext <<_ACEOF
27510 cat confdefs.h >>conftest.$ac_ext
27511 cat >>conftest.$ac_ext <<_ACEOF
27512 /* end confdefs.h. */
27513 #include <ext/hash_map>
27514 #include <ext/hash_set>
27518 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27519 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27524 rm -f conftest.$ac_objext
27525 if { (ac_try="$ac_compile"
27526 case "(($ac_try" in
27527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27528 *) ac_try_echo=$ac_try;;
27530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27531 (eval "$ac_compile") 2>conftest.er1
27533 grep -v '^
*+' conftest.er1 >conftest.err
27535 cat conftest.err >&5
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); } && {
27538 test -z "$ac_cxx_werror_flag" ||
27539 test ! -s conftest.err
27540 } && test -s conftest.$ac_objext; then
27541 wx_cv_class_gnuhashmapset=yes
27543 echo "$as_me: failed program was:" >&5
27544 sed 's
/^
/| /' conftest.$ac_ext >&5
27546 wx_cv_class_gnuhashmapset=no
27549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27553 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27554 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27559 if test "$wx_cv_class_gnuhashmapset" = yes; then
27560 cat >>confdefs.h <<\_ACEOF
27561 #define HAVE_EXT_HASH_MAP 1
27564 cat >>confdefs.h <<\_ACEOF
27565 #define HAVE_GNU_CXX_HASH_MAP 1
27573 if test -n "$GCC"; then
27574 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27575 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27576 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27577 echo $ECHO_N "(cached) $ECHO_C" >&6
27580 cat >conftest.$ac_ext <<_ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27592 __sync_fetch_and_add(&value, 1);
27593 __sync_sub_and_fetch(&value, 1);
27599 rm -f conftest.$ac_objext
27600 if { (ac_try="$ac_compile"
27601 case "(($ac_try" in
27602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27603 *) ac_try_echo=$ac_try;;
27605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27606 (eval "$ac_compile") 2>conftest.er1
27608 grep -v '^
*+' conftest.er1 >conftest.err
27610 cat conftest.err >&5
27611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27612 (exit $ac_status); } && {
27613 test -z "$ac_cxx_werror_flag" ||
27614 test ! -s conftest.err
27615 } && test -s conftest.$ac_objext; then
27616 wx_cv_cc_gcc_atomic_builtins=yes
27618 echo "$as_me: failed program was:" >&5
27619 sed 's
/^
/| /' conftest.$ac_ext >&5
27621 wx_cv_cc_gcc_atomic_builtins=no
27624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27628 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27629 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27630 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27631 cat >>confdefs.h <<\_ACEOF
27632 #define HAVE_GCC_ATOMIC_BUILTINS 1
27640 ac_cpp='$CPP $CPPFLAGS'
27641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27642 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27648 /usr/local/include \
27650 /usr/Motif-2.1/include \
27651 /usr/Motif-1.2/include \
27652 /usr/include/Motif1.2 \
27655 /usr/openwin/include \
27659 /usr/X11R6/include \
27660 /usr/X11R6.4/include \
27661 /usr/X11R5/include \
27662 /usr/X11R4/include \
27664 /usr/include/X11R6 \
27665 /usr/include/X11R5 \
27666 /usr/include/X11R4 \
27668 /usr/local/X11R6/include \
27669 /usr/local/X11R5/include \
27670 /usr/local/X11R4/include \
27672 /usr/local/include/X11R6 \
27673 /usr/local/include/X11R5 \
27674 /usr/local/include/X11R4 \
27678 /usr/local/X11/include \
27679 /usr/local/include/X11 \
27681 /usr/XFree86/include/X11 \
27684 /usr/openwin/share/include"
27686 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27687 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27691 if test "${wx_cv_std_libpath+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27695 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27696 for e in a so sl dylib dll.a; do
27698 if test -f $libc; then
27701 cat >conftest.$ac_ext <<_ACEOF
27702 int main() { return 0; }
27704 rm -f conftest.$ac_objext conftest$ac_exeext
27705 if { (ac_try="$ac_link"
27706 case "(($ac_try" in
27707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27708 *) ac_try_echo=$ac_try;;
27710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27711 (eval "$ac_link") 2>conftest.er1
27713 grep -v '^
*+' conftest.er1 >conftest.err
27715 cat conftest.err >&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); } && {
27718 test -z "$ac_c_werror_flag" ||
27719 test ! -s conftest.err
27720 } && test -s conftest$ac_exeext &&
27721 $as_test_x conftest$ac_exeext; then
27722 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27724 echo "$as_me: failed program was:" >&5
27725 sed 's
/^
/| /' conftest.$ac_ext >&5
27730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27731 conftest$ac_exeext conftest.$ac_ext
27733 if test "x$wx_cv_std_libpath" != "x"; then
27739 if test "x$wx_cv_std_libpath" = "x"; then
27740 wx_cv_std_libpath="lib"
27749 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27750 wx_cv_std_libpath="lib/64"
27752 wx_cv_std_libpath="lib"
27757 if test "$ac_cv_sizeof_void_p" = 8 -a \
27758 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27759 wx_cv_std_libpath="lib64"
27761 wx_cv_std_libpath="lib"
27766 wx_cv_std_libpath="lib";
27770 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27771 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27773 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27775 if test "$build" != "$host" -a "$GCC" = yes; then
27776 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27777 cross_root=`dirname $cross_root`
27778 cross_root=`dirname $cross_root`
27780 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27781 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27782 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27784 if test -z "$PKG_CONFIG_PATH"; then
27785 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27786 export PKG_CONFIG_PATH
27789 if test -z "$x_includes" -o "$x_includes" = NONE; then
27792 for ac_dir in $SEARCH_INCLUDE /usr/include;
27794 if test -f "$ac_dir/X11/Intrinsic.h"; then
27795 ac_find_includes=$ac_dir
27800 x_includes=$ac_find_includes
27802 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27805 for ac_dir in $SEARCH_LIB;
27807 for ac_extension in a so sl dylib dll.a; do
27808 if test -f "$ac_dir/libXt.$ac_extension"; then
27809 ac_find_libraries=$ac_dir
27815 x_libraries=$ac_find_libraries
27821 cat >confcache <<\_ACEOF
27822 # This file is a shell script that caches the results of configure
27823 # tests run on this system so they can be shared between configure
27824 # scripts and configure runs, see configure's option
--config-cache.
27825 # It is not useful on other systems. If it contains results you don't
27826 # want to keep, you may remove or edit it.
27828 # config.status only pays attention to the cache file if you give it
27829 # the --recheck option to rerun configure.
27831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27833 # following values.
27837 # The following way of writing the cache mishandles newlines in values,
27838 # but we know of no workaround that is simple, portable, and efficient.
27839 # So, we kill variables containing newlines.
27840 # Ultrix sh set writes to stderr and can't be redirected directly,
27841 # and sets the high bit in the cache file unless we assign to the vars.
27843 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27844 eval ac_val
=\$
$ac_var
27848 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27849 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27852 _
| IFS
| as_nl
) ;; #(
27853 *) $as_unset $ac_var ;;
27859 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27860 *${as_nl}ac_space
=\
*)
27861 # `set' does not quote correctly, so add quotes (double-quote
27862 # substitution turns \\\\ into \\, and sed turns \\ into \).
27865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27868 # `set' quotes correctly as required by POSIX, so do not add quotes.
27869 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27878 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27880 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27882 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27883 if test -w "$cache_file"; then
27884 test "x$cache_file" != "x/dev/null" &&
27885 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27886 echo "$as_me: updating cache $cache_file" >&6;}
27887 cat confcache
>$cache_file
27889 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27890 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27895 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27896 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27897 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27898 if test "${wx_cv_lib_glibc21+set}" = set; then
27899 echo $ECHO_N "(cached) $ECHO_C" >&6
27902 cat >conftest.
$ac_ext <<_ACEOF
27905 cat confdefs.h
>>conftest.
$ac_ext
27906 cat >>conftest.
$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908 #include <features.h>
27913 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27921 rm -f conftest.
$ac_objext
27922 if { (ac_try
="$ac_compile"
27923 case "(($ac_try" in
27924 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27925 *) ac_try_echo=$ac_try;;
27927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27928 (eval "$ac_compile") 2>conftest.er1
27930 grep -v '^ *+' conftest.er1 >conftest.err
27932 cat conftest.err >&5
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); } && {
27935 test -z "$ac_c_werror_flag" ||
27936 test ! -s conftest.err
27937 } && test -s conftest.$ac_objext; then
27939 wx_cv_lib_glibc21=yes
27942 echo "$as_me: failed program was:" >&5
27943 sed 's/^/| /' conftest.$ac_ext >&5
27946 wx_cv_lib_glibc21=no
27951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27954 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27955 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27956 if test "$wx_cv_lib_glibc21" = "yes"; then
27957 cat >>confdefs.h <<\_ACEOF
27958 #define wxHAVE_GLIBC2 1
27964 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27965 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27966 cat >>confdefs.h <<\_ACEOF
27967 #define _GNU_SOURCE 1
27978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27979 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27981 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27982 echo $ECHO_N "(cached) $ECHO_C" >&6
27984 cat >conftest.$ac_ext <<_ACEOF
27987 cat confdefs.h >>conftest.$ac_ext
27988 cat >>conftest.$ac_ext <<_ACEOF
27989 /* end confdefs.h. */
27990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27992 #define $ac_func innocuous_$ac_func
27994 /* System header to define __stub macros and hopefully few prototypes,
27995 which can conflict with char $ac_func (); below.
27996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27997 <limits.h> exists even on freestanding compilers. */
28000 # include <limits.h>
28002 # include <assert.h>
28007 /* Override any GCC internal prototype to avoid an error.
28008 Use char because int might match the return type of a GCC
28009 builtin and then its argument prototype would still apply. */
28014 /* The GNU C library defines this for functions which it implements
28015 to always fail with ENOSYS. Some functions are actually named
28016 something starting with __ and the normal name is an alias. */
28017 #if defined __stub_$ac_func || defined __stub___$ac_func
28024 return $ac_func ();
28029 rm -f conftest.$ac_objext conftest$ac_exeext
28030 if { (ac_try="$ac_link"
28031 case "(($ac_try" in
28032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28033 *) ac_try_echo
=$ac_try;;
28035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28036 (eval "$ac_link") 2>conftest.er1
28038 grep -v '^ *+' conftest.er1
>conftest.err
28040 cat conftest.err
>&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); } && {
28043 test -z "$ac_c_werror_flag" ||
28044 test ! -s conftest.err
28045 } && test -s conftest
$ac_exeext &&
28046 $as_test_x conftest
$ac_exeext; then
28047 eval "$as_ac_var=yes"
28049 echo "$as_me: failed program was:" >&5
28050 sed 's/^/| /' conftest.
$ac_ext >&5
28052 eval "$as_ac_var=no"
28055 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28056 conftest
$ac_exeext conftest.
$ac_ext
28058 ac_res
=`eval echo '${'$as_ac_var'}'`
28059 { echo "$as_me:$LINENO: result: $ac_res" >&5
28060 echo "${ECHO_T}$ac_res" >&6; }
28061 if test `eval echo '${'$as_ac_var'}'` = yes; then
28062 cat >>confdefs.h
<<_ACEOF
28063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28070 for ac_func
in floor
28072 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28073 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28075 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28076 echo $ECHO_N "(cached) $ECHO_C" >&6
28078 cat >conftest.
$ac_ext <<_ACEOF
28081 cat confdefs.h
>>conftest.
$ac_ext
28082 cat >>conftest.
$ac_ext <<_ACEOF
28083 /* end confdefs.h. */
28084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28086 #define $ac_func innocuous_$ac_func
28088 /* System header to define __stub macros and hopefully few prototypes,
28089 which can conflict with char $ac_func (); below.
28090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28091 <limits.h> exists even on freestanding compilers. */
28094 # include <limits.h>
28096 # include <assert.h>
28101 /* Override any GCC internal prototype to avoid an error.
28102 Use char because int might match the return type of a GCC
28103 builtin and then its argument prototype would still apply. */
28108 /* The GNU C library defines this for functions which it implements
28109 to always fail with ENOSYS. Some functions are actually named
28110 something starting with __ and the normal name is an alias. */
28111 #if defined __stub_$ac_func || defined __stub___$ac_func
28118 return $ac_func ();
28123 rm -f conftest.
$ac_objext conftest
$ac_exeext
28124 if { (ac_try
="$ac_link"
28125 case "(($ac_try" in
28126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28127 *) ac_try_echo=$ac_try;;
28129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28130 (eval "$ac_link") 2>conftest.er1
28132 grep -v '^ *+' conftest.er1 >conftest.err
28134 cat conftest.err >&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } && {
28137 test -z "$ac_c_werror_flag" ||
28138 test ! -s conftest.err
28139 } && test -s conftest$ac_exeext &&
28140 $as_test_x conftest$ac_exeext; then
28141 eval "$as_ac_var=yes"
28143 echo "$as_me: failed program was:" >&5
28144 sed 's/^/| /' conftest.$ac_ext >&5
28146 eval "$as_ac_var=no"
28149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28150 conftest$ac_exeext conftest.$ac_ext
28152 ac_res=`eval echo '${'$as_ac_var'}'`
28153 { echo "$as_me:$LINENO: result: $ac_res" >&5
28154 echo "${ECHO_T}$ac_res" >&6; }
28155 if test `eval echo '${'$as_ac_var'}'` = yes; then
28156 cat >>confdefs.h <<_ACEOF
28157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28163 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28164 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28165 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28166 { echo "$as_me:$LINENO: result: yes" >&5
28167 echo "${ECHO_T}yes" >&6; }
28169 { echo "$as_me:$LINENO: result: no" >&5
28170 echo "${ECHO_T}no" >&6; }
28172 # use different functions to avoid configure caching
28178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28179 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28181 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28182 echo $ECHO_N "(cached) $ECHO_C" >&6
28184 cat >conftest.$ac_ext <<_ACEOF
28187 cat confdefs.h >>conftest.$ac_ext
28188 cat >>conftest.$ac_ext <<_ACEOF
28189 /* end confdefs.h. */
28190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28192 #define $ac_func innocuous_$ac_func
28194 /* System header to define __stub macros and hopefully few prototypes,
28195 which can conflict with char $ac_func (); below.
28196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28197 <limits.h> exists even on freestanding compilers. */
28200 # include <limits.h>
28202 # include <assert.h>
28207 /* Override any GCC internal prototype to avoid an error.
28208 Use char because int might match the return type of a GCC
28209 builtin and then its argument prototype would still apply. */
28214 /* The GNU C library defines this for functions which it implements
28215 to always fail with ENOSYS. Some functions are actually named
28216 something starting with __ and the normal name is an alias. */
28217 #if defined __stub_$ac_func || defined __stub___$ac_func
28224 return $ac_func ();
28229 rm -f conftest.$ac_objext conftest$ac_exeext
28230 if { (ac_try="$ac_link"
28231 case "(($ac_try" in
28232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28233 *) ac_try_echo
=$ac_try;;
28235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28236 (eval "$ac_link") 2>conftest.er1
28238 grep -v '^ *+' conftest.er1
>conftest.err
28240 cat conftest.err
>&5
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); } && {
28243 test -z "$ac_c_werror_flag" ||
28244 test ! -s conftest.err
28245 } && test -s conftest
$ac_exeext &&
28246 $as_test_x conftest
$ac_exeext; then
28247 eval "$as_ac_var=yes"
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.
$ac_ext >&5
28252 eval "$as_ac_var=no"
28255 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28256 conftest
$ac_exeext conftest.
$ac_ext
28258 ac_res
=`eval echo '${'$as_ac_var'}'`
28259 { echo "$as_me:$LINENO: result: $ac_res" >&5
28260 echo "${ECHO_T}$ac_res" >&6; }
28261 if test `eval echo '${'$as_ac_var'}'` = yes; then
28262 cat >>confdefs.h
<<_ACEOF
28263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28270 for ac_func
in ceil
28272 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28275 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28276 echo $ECHO_N "(cached) $ECHO_C" >&6
28278 cat >conftest.
$ac_ext <<_ACEOF
28281 cat confdefs.h
>>conftest.
$ac_ext
28282 cat >>conftest.
$ac_ext <<_ACEOF
28283 /* end confdefs.h. */
28284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28286 #define $ac_func innocuous_$ac_func
28288 /* System header to define __stub macros and hopefully few prototypes,
28289 which can conflict with char $ac_func (); below.
28290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28291 <limits.h> exists even on freestanding compilers. */
28294 # include <limits.h>
28296 # include <assert.h>
28301 /* Override any GCC internal prototype to avoid an error.
28302 Use char because int might match the return type of a GCC
28303 builtin and then its argument prototype would still apply. */
28308 /* The GNU C library defines this for functions which it implements
28309 to always fail with ENOSYS. Some functions are actually named
28310 something starting with __ and the normal name is an alias. */
28311 #if defined __stub_$ac_func || defined __stub___$ac_func
28318 return $ac_func ();
28323 rm -f conftest.
$ac_objext conftest
$ac_exeext
28324 if { (ac_try
="$ac_link"
28325 case "(($ac_try" in
28326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28327 *) ac_try_echo=$ac_try;;
28329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28330 (eval "$ac_link") 2>conftest.er1
28332 grep -v '^ *+' conftest.er1 >conftest.err
28334 cat conftest.err >&5
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); } && {
28337 test -z "$ac_c_werror_flag" ||
28338 test ! -s conftest.err
28339 } && test -s conftest$ac_exeext &&
28340 $as_test_x conftest$ac_exeext; then
28341 eval "$as_ac_var=yes"
28343 echo "$as_me: failed program was:" >&5
28344 sed 's/^/| /' conftest.$ac_ext >&5
28346 eval "$as_ac_var=no"
28349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28350 conftest$ac_exeext conftest.$ac_ext
28352 ac_res=`eval echo '${'$as_ac_var'}'`
28353 { echo "$as_me:$LINENO: result: $ac_res" >&5
28354 echo "${ECHO_T}$ac_res" >&6; }
28355 if test `eval echo '${'$as_ac_var'}'` = yes; then
28356 cat >>confdefs.h <<_ACEOF
28357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28363 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28364 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28365 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28366 { echo "$as_me:$LINENO: result: yes" >&5
28367 echo "${ECHO_T}yes" >&6; }
28369 { echo "$as_me:$LINENO: result: no" >&5
28370 echo "${ECHO_T}no" >&6; }
28371 # not sure we should warn the user, crash, etc.
28376 ac_cpp='$CXXCPP $CPPFLAGS'
28377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28381 if test "wxUSE_UNICODE" = "yes"; then
28383 for wx_func in wcstoull
28385 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28386 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28387 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28388 echo $ECHO_N "(cached) $ECHO_C" >&6
28391 cat >conftest.$ac_ext <<_ACEOF
28395 cat confdefs.h >>conftest.$ac_ext
28396 cat >>conftest.$ac_ext <<_ACEOF
28397 /* end confdefs.h. */
28400 $ac_includes_default
28416 rm -f conftest.$ac_objext conftest$ac_exeext
28417 if { (ac_try="$ac_link"
28418 case "(($ac_try" in
28419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28420 *) ac_try_echo
=$ac_try;;
28422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28423 (eval "$ac_link") 2>conftest.er1
28425 grep -v '^ *+' conftest.er1
>conftest.err
28427 cat conftest.err
>&5
28428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429 (exit $ac_status); } && {
28430 test -z "$ac_cxx_werror_flag" ||
28431 test ! -s conftest.err
28432 } && test -s conftest
$ac_exeext &&
28433 $as_test_x conftest
$ac_exeext; then
28434 eval wx_cv_func_
$wx_func=yes
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.
$ac_ext >&5
28439 eval wx_cv_func_
$wx_func=no
28442 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28443 conftest
$ac_exeext conftest.
$ac_ext
28446 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28447 { echo "$as_me:$LINENO: result: $ac_res" >&5
28448 echo "${ECHO_T}$ac_res" >&6; }
28450 if eval test \
$wx_cv_func_$wx_func = yes
28452 cat >>confdefs.h
<<_ACEOF
28453 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28465 for wx_func
in strtoull
28467 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28468 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28469 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28470 echo $ECHO_N "(cached) $ECHO_C" >&6
28473 cat >conftest.
$ac_ext <<_ACEOF
28477 cat confdefs.h
>>conftest.
$ac_ext
28478 cat >>conftest.
$ac_ext <<_ACEOF
28479 /* end confdefs.h. */
28482 $ac_includes_default
28498 rm -f conftest.
$ac_objext conftest
$ac_exeext
28499 if { (ac_try
="$ac_link"
28500 case "(($ac_try" in
28501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28502 *) ac_try_echo=$ac_try;;
28504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28505 (eval "$ac_link") 2>conftest.er1
28507 grep -v '^ *+' conftest.er1 >conftest.err
28509 cat conftest.err >&5
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 (exit $ac_status); } && {
28512 test -z "$ac_cxx_werror_flag" ||
28513 test ! -s conftest.err
28514 } && test -s conftest$ac_exeext &&
28515 $as_test_x conftest$ac_exeext; then
28516 eval wx_cv_func_$wx_func=yes
28518 echo "$as_me: failed program was:" >&5
28519 sed 's/^/| /' conftest.$ac_ext >&5
28521 eval wx_cv_func_$wx_func=no
28524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28525 conftest$ac_exeext conftest.$ac_ext
28528 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28529 { echo "$as_me:$LINENO: result: $ac_res" >&5
28530 echo "${ECHO_T}$ac_res" >&6; }
28532 if eval test \$wx_cv_func_$wx_func = yes
28534 cat >>confdefs.h <<_ACEOF
28535 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28547 ac_cpp='$CPP $CPPFLAGS'
28548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28555 if test "$wxUSE_REGEX" != "no"; then
28556 cat >>confdefs.h <<\_ACEOF
28557 #define wxUSE_REGEX 1
28561 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28562 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28563 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28564 wxUSE_REGEX=builtin
28567 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28568 { echo "$as_me:$LINENO: checking for regex.h" >&5
28569 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28570 if test "${ac_cv_header_regex_h+set}" = set; then
28571 echo $ECHO_N "(cached) $ECHO_C" >&6
28573 cat >conftest.$ac_ext <<_ACEOF
28576 cat confdefs.h >>conftest.$ac_ext
28577 cat >>conftest.$ac_ext <<_ACEOF
28578 /* end confdefs.h. */
28583 rm -f conftest.$ac_objext
28584 if { (ac_try="$ac_compile"
28585 case "(($ac_try" in
28586 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28587 *) ac_try_echo
=$ac_try;;
28589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28590 (eval "$ac_compile") 2>conftest.er1
28592 grep -v '^ *+' conftest.er1
>conftest.err
28594 cat conftest.err
>&5
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); } && {
28597 test -z "$ac_c_werror_flag" ||
28598 test ! -s conftest.err
28599 } && test -s conftest.
$ac_objext; then
28600 ac_cv_header_regex_h
=yes
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.
$ac_ext >&5
28605 ac_cv_header_regex_h
=no
28608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28610 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28611 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28612 if test $ac_cv_header_regex_h = yes; then
28615 for ac_func
in regcomp re_search
28617 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28618 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28620 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28621 echo $ECHO_N "(cached) $ECHO_C" >&6
28623 cat >conftest.
$ac_ext <<_ACEOF
28626 cat confdefs.h
>>conftest.
$ac_ext
28627 cat >>conftest.
$ac_ext <<_ACEOF
28628 /* end confdefs.h. */
28629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28631 #define $ac_func innocuous_$ac_func
28633 /* System header to define __stub macros and hopefully few prototypes,
28634 which can conflict with char $ac_func (); below.
28635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28636 <limits.h> exists even on freestanding compilers. */
28639 # include <limits.h>
28641 # include <assert.h>
28646 /* Override any GCC internal prototype to avoid an error.
28647 Use char because int might match the return type of a GCC
28648 builtin and then its argument prototype would still apply. */
28653 /* The GNU C library defines this for functions which it implements
28654 to always fail with ENOSYS. Some functions are actually named
28655 something starting with __ and the normal name is an alias. */
28656 #if defined __stub_$ac_func || defined __stub___$ac_func
28663 return $ac_func ();
28668 rm -f conftest.
$ac_objext conftest
$ac_exeext
28669 if { (ac_try
="$ac_link"
28670 case "(($ac_try" in
28671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28672 *) ac_try_echo=$ac_try;;
28674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28675 (eval "$ac_link") 2>conftest.er1
28677 grep -v '^ *+' conftest.er1 >conftest.err
28679 cat conftest.err >&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } && {
28682 test -z "$ac_c_werror_flag" ||
28683 test ! -s conftest.err
28684 } && test -s conftest$ac_exeext &&
28685 $as_test_x conftest$ac_exeext; then
28686 eval "$as_ac_var=yes"
28688 echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.$ac_ext >&5
28691 eval "$as_ac_var=no"
28694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28695 conftest$ac_exeext conftest.$ac_ext
28697 ac_res=`eval echo '${'$as_ac_var'}'`
28698 { echo "$as_me:$LINENO: result: $ac_res" >&5
28699 echo "${ECHO_T}$ac_res" >&6; }
28700 if test `eval echo '${'$as_ac_var'}'` = yes; then
28701 cat >>confdefs.h <<_ACEOF
28702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28712 if test "x$ac_cv_func_regcomp" != "xyes"; then
28713 if test "$wxUSE_REGEX" = "sys" ; then
28714 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28715 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28716 { (exit 1); exit 1; }; }
28718 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28719 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28720 wxUSE_REGEX=builtin
28724 cat >>confdefs.h <<\_ACEOF
28725 #define WX_NO_REGEX_ADVANCED 1
28734 if test "$wxUSE_ZLIB" != "no" ; then
28735 cat >>confdefs.h <<\_ACEOF
28736 #define wxUSE_ZLIB 1
28740 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28741 if test "$USE_DARWIN" = 1; then
28742 system_zlib_h_ok="yes"
28744 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28745 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28746 if test "${ac_cv_header_zlib_h+set}" = set; then
28747 echo $ECHO_N "(cached) $ECHO_C" >&6
28749 if test "$cross_compiling" = yes; then
28750 unset ac_cv_header_zlib_h
28753 cat >conftest.$ac_ext <<_ACEOF
28756 cat confdefs.h >>conftest.$ac_ext
28757 cat >>conftest.$ac_ext <<_ACEOF
28758 /* end confdefs.h. */
28765 FILE *f=fopen("conftestval", "w");
28768 ZLIB_VERSION[0] == '1' &&
28769 (ZLIB_VERSION[2] > '1' ||
28770 (ZLIB_VERSION[2] == '1' &&
28771 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28776 rm -f conftest$ac_exeext
28777 if { (ac_try="$ac_link"
28778 case "(($ac_try" in
28779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28780 *) ac_try_echo
=$ac_try;;
28782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28783 (eval "$ac_link") 2>&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; }; then
28796 ac_cv_header_zlib_h=`cat conftestval
`
28798 echo "$as_me: program exited with status $ac_status" >&5
28799 echo "$as_me: failed program was:" >&5
28800 sed 's/^/| /' conftest.$ac_ext >&5
28802 ( exit $ac_status )
28803 ac_cv_header_zlib_h=no
28805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28811 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28812 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28813 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28814 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28815 if test "${ac_cv_header_zlib_h+set}" = set; then
28816 echo $ECHO_N "(cached) $ECHO_C" >&6
28818 cat >conftest.$ac_ext <<_ACEOF
28821 cat confdefs.h >>conftest.$ac_ext
28822 cat >>conftest.$ac_ext <<_ACEOF
28823 /* end confdefs.h. */
28828 rm -f conftest.$ac_objext
28829 if { (ac_try="$ac_compile"
28830 case "(($ac_try" in
28831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28832 *) ac_try_echo
=$ac_try;;
28834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28835 (eval "$ac_compile") 2>conftest.er1
28837 grep -v '^ *+' conftest.er1
>conftest.err
28839 cat conftest.err
>&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); } && {
28842 test -z "$ac_c_werror_flag" ||
28843 test ! -s conftest.err
28844 } && test -s conftest.
$ac_objext; then
28845 ac_cv_header_zlib_h
=yes
28847 echo "$as_me: failed program was:" >&5
28848 sed 's/^/| /' conftest.
$ac_ext >&5
28850 ac_cv_header_zlib_h
=no
28853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28855 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28856 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28860 system_zlib_h_ok
=$ac_cv_header_zlib_h
28863 if test "$system_zlib_h_ok" = "yes"; then
28864 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28865 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28866 if test "${ac_cv_lib_z_deflate+set}" = set; then
28867 echo $ECHO_N "(cached) $ECHO_C" >&6
28869 ac_check_lib_save_LIBS
=$LIBS
28871 cat >conftest.
$ac_ext <<_ACEOF
28874 cat confdefs.h
>>conftest.
$ac_ext
28875 cat >>conftest.
$ac_ext <<_ACEOF
28876 /* end confdefs.h. */
28878 /* Override any GCC internal prototype to avoid an error.
28879 Use char because int might match the return type of a GCC
28880 builtin and then its argument prototype would still apply. */
28893 rm -f conftest.
$ac_objext conftest
$ac_exeext
28894 if { (ac_try
="$ac_link"
28895 case "(($ac_try" in
28896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28897 *) ac_try_echo=$ac_try;;
28899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28900 (eval "$ac_link") 2>conftest.er1
28902 grep -v '^ *+' conftest.er1 >conftest.err
28904 cat conftest.err >&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); } && {
28907 test -z "$ac_c_werror_flag" ||
28908 test ! -s conftest.err
28909 } && test -s conftest$ac_exeext &&
28910 $as_test_x conftest$ac_exeext; then
28911 ac_cv_lib_z_deflate=yes
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.$ac_ext >&5
28916 ac_cv_lib_z_deflate=no
28919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28920 conftest$ac_exeext conftest.$ac_ext
28921 LIBS=$ac_check_lib_save_LIBS
28923 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28924 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28925 if test $ac_cv_lib_z_deflate = yes; then
28931 if test "x$ZLIB_LINK" = "x" ; then
28932 if test "$wxUSE_ZLIB" = "sys" ; then
28933 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28934 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28935 { (exit 1); exit 1; }; }
28937 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28938 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28949 if test "$wxUSE_LIBPNG" != "no" ; then
28950 cat >>confdefs.h <<\_ACEOF
28951 #define wxUSE_LIBPNG 1
28955 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28956 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28957 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28961 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28962 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28963 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28964 wxUSE_LIBPNG=builtin
28967 if test "$wxUSE_MGL" != 1 ; then
28968 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28969 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28970 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28971 if test "${ac_cv_header_png_h+set}" = set; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28974 if test "$cross_compiling" = yes; then
28975 unset ac_cv_header_png_h
28978 cat >conftest.$ac_ext <<_ACEOF
28981 cat confdefs.h >>conftest.$ac_ext
28982 cat >>conftest.$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28990 FILE *f=fopen("conftestval", "w");
28993 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28998 rm -f conftest$ac_exeext
28999 if { (ac_try="$ac_link"
29000 case "(($ac_try" in
29001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29002 *) ac_try_echo
=$ac_try;;
29004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29005 (eval "$ac_link") 2>&5
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29009 { (case "(($ac_try" in
29010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29011 *) ac_try_echo=$ac_try;;
29013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29014 (eval "$ac_try") 2>&5
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); }; }; then
29018 ac_cv_header_png_h=`cat conftestval
`
29020 echo "$as_me: program exited with status $ac_status" >&5
29021 echo "$as_me: failed program was:" >&5
29022 sed 's/^/| /' conftest.$ac_ext >&5
29024 ( exit $ac_status )
29025 ac_cv_header_png_h=no
29027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29033 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29034 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29035 { echo "$as_me:$LINENO: checking for png.h" >&5
29036 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29037 if test "${ac_cv_header_png_h+set}" = set; then
29038 echo $ECHO_N "(cached) $ECHO_C" >&6
29040 cat >conftest.$ac_ext <<_ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29050 rm -f conftest.$ac_objext
29051 if { (ac_try="$ac_compile"
29052 case "(($ac_try" in
29053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29054 *) ac_try_echo
=$ac_try;;
29056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29057 (eval "$ac_compile") 2>conftest.er1
29059 grep -v '^ *+' conftest.er1
>conftest.err
29061 cat conftest.err
>&5
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); } && {
29064 test -z "$ac_c_werror_flag" ||
29065 test ! -s conftest.err
29066 } && test -s conftest.
$ac_objext; then
29067 ac_cv_header_png_h
=yes
29069 echo "$as_me: failed program was:" >&5
29070 sed 's/^/| /' conftest.
$ac_ext >&5
29072 ac_cv_header_png_h
=no
29075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29077 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29078 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29082 if test "$ac_cv_header_png_h" = "yes"; then
29083 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29084 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29085 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29086 echo $ECHO_N "(cached) $ECHO_C" >&6
29088 ac_check_lib_save_LIBS
=$LIBS
29089 LIBS
="-lpng -lz -lm $LIBS"
29090 cat >conftest.
$ac_ext <<_ACEOF
29093 cat confdefs.h
>>conftest.
$ac_ext
29094 cat >>conftest.
$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29097 /* Override any GCC internal prototype to avoid an error.
29098 Use char because int might match the return type of a GCC
29099 builtin and then its argument prototype would still apply. */
29103 char png_check_sig ();
29107 return png_check_sig ();
29112 rm -f conftest.
$ac_objext conftest
$ac_exeext
29113 if { (ac_try
="$ac_link"
29114 case "(($ac_try" in
29115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29116 *) ac_try_echo=$ac_try;;
29118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29119 (eval "$ac_link") 2>conftest.er1
29121 grep -v '^ *+' conftest.er1 >conftest.err
29123 cat conftest.err >&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); } && {
29126 test -z "$ac_c_werror_flag" ||
29127 test ! -s conftest.err
29128 } && test -s conftest$ac_exeext &&
29129 $as_test_x conftest$ac_exeext; then
29130 ac_cv_lib_png_png_check_sig=yes
29132 echo "$as_me: failed program was:" >&5
29133 sed 's/^/| /' conftest.$ac_ext >&5
29135 ac_cv_lib_png_png_check_sig=no
29138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29139 conftest$ac_exeext conftest.$ac_ext
29140 LIBS=$ac_check_lib_save_LIBS
29142 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29143 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29144 if test $ac_cv_lib_png_png_check_sig = yes; then
29145 PNG_LINK=" -lpng -lz"
29150 if test "x$PNG_LINK" = "x" ; then
29151 if test "$wxUSE_LIBPNG" = "sys" ; then
29152 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29153 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29154 { (exit 1); exit 1; }; }
29156 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29157 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29158 wxUSE_LIBPNG=builtin
29169 if test "$wxUSE_LIBJPEG" != "no" ; then
29170 cat >>confdefs.h <<\_ACEOF
29171 #define wxUSE_LIBJPEG 1
29175 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29176 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29177 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29181 if test "$wxUSE_MGL" != 1 ; then
29182 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29183 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29184 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29185 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29188 cat >conftest.$ac_ext <<_ACEOF
29191 cat confdefs.h >>conftest.$ac_ext
29192 cat >>conftest.$ac_ext <<_ACEOF
29193 /* end confdefs.h. */
29195 #undef HAVE_STDLIB_H
29197 #include <jpeglib.h>
29208 rm -f conftest.$ac_objext
29209 if { (ac_try="$ac_compile"
29210 case "(($ac_try" in
29211 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29212 *) ac_try_echo
=$ac_try;;
29214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29215 (eval "$ac_compile") 2>conftest.er1
29217 grep -v '^ *+' conftest.er1
>conftest.err
29219 cat conftest.err
>&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); } && {
29222 test -z "$ac_c_werror_flag" ||
29223 test ! -s conftest.err
29224 } && test -s conftest.
$ac_objext; then
29225 ac_cv_header_jpeglib_h
=yes
29227 echo "$as_me: failed program was:" >&5
29228 sed 's/^/| /' conftest.
$ac_ext >&5
29230 ac_cv_header_jpeglib_h
=no
29234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29238 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29239 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29241 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29242 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29243 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29244 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29245 echo $ECHO_N "(cached) $ECHO_C" >&6
29247 ac_check_lib_save_LIBS
=$LIBS
29248 LIBS
="-ljpeg $LIBS"
29249 cat >conftest.
$ac_ext <<_ACEOF
29252 cat confdefs.h
>>conftest.
$ac_ext
29253 cat >>conftest.
$ac_ext <<_ACEOF
29254 /* end confdefs.h. */
29256 /* Override any GCC internal prototype to avoid an error.
29257 Use char because int might match the return type of a GCC
29258 builtin and then its argument prototype would still apply. */
29262 char jpeg_read_header ();
29266 return jpeg_read_header ();
29271 rm -f conftest.
$ac_objext conftest
$ac_exeext
29272 if { (ac_try
="$ac_link"
29273 case "(($ac_try" in
29274 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29275 *) ac_try_echo=$ac_try;;
29277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29278 (eval "$ac_link") 2>conftest.er1
29280 grep -v '^ *+' conftest.er1 >conftest.err
29282 cat conftest.err >&5
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); } && {
29285 test -z "$ac_c_werror_flag" ||
29286 test ! -s conftest.err
29287 } && test -s conftest$ac_exeext &&
29288 $as_test_x conftest$ac_exeext; then
29289 ac_cv_lib_jpeg_jpeg_read_header=yes
29291 echo "$as_me: failed program was:" >&5
29292 sed 's/^/| /' conftest.$ac_ext >&5
29294 ac_cv_lib_jpeg_jpeg_read_header=no
29297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29298 conftest$ac_exeext conftest.$ac_ext
29299 LIBS=$ac_check_lib_save_LIBS
29301 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29302 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29303 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29304 JPEG_LINK=" -ljpeg"
29309 if test "x$JPEG_LINK" = "x" ; then
29310 if test "$wxUSE_LIBJPEG" = "sys" ; then
29311 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29312 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29313 { (exit 1); exit 1; }; }
29315 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29316 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29317 wxUSE_LIBJPEG=builtin
29322 if test "$wxUSE_MSW" = 1; then
29323 { echo "$as_me:$LINENO: checking for boolean" >&5
29324 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29325 if test "${ac_cv_type_boolean+set}" = set; then
29326 echo $ECHO_N "(cached) $ECHO_C" >&6
29328 cat >conftest.$ac_ext <<_ACEOF
29331 cat confdefs.h >>conftest.$ac_ext
29332 cat >>conftest.$ac_ext <<_ACEOF
29333 /* end confdefs.h. */
29334 #include <windows.h>
29336 typedef boolean ac__type_new_;
29340 if ((ac__type_new_ *) 0)
29342 if (sizeof (ac__type_new_))
29348 rm -f conftest.$ac_objext
29349 if { (ac_try="$ac_compile"
29350 case "(($ac_try" in
29351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29352 *) ac_try_echo
=$ac_try;;
29354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29355 (eval "$ac_compile") 2>conftest.er1
29357 grep -v '^ *+' conftest.er1
>conftest.err
29359 cat conftest.err
>&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); } && {
29362 test -z "$ac_c_werror_flag" ||
29363 test ! -s conftest.err
29364 } && test -s conftest.
$ac_objext; then
29365 ac_cv_type_boolean
=yes
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.
$ac_ext >&5
29370 ac_cv_type_boolean
=no
29373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29375 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29376 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29377 if test $ac_cv_type_boolean = yes; then
29379 cat >>confdefs.h
<<_ACEOF
29380 #define HAVE_BOOLEAN 1
29384 { echo "$as_me:$LINENO: checking for boolean" >&5
29385 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29386 if test "${ac_cv_type_boolean+set}" = set; then
29387 echo $ECHO_N "(cached) $ECHO_C" >&6
29389 cat >conftest.
$ac_ext <<_ACEOF
29392 cat confdefs.h
>>conftest.
$ac_ext
29393 cat >>conftest.
$ac_ext <<_ACEOF
29394 /* end confdefs.h. */
29396 #undef HAVE_BOOLEAN
29398 #include <jpeglib.h>
29401 typedef boolean ac__type_new_;
29405 if ((ac__type_new_ *) 0)
29407 if (sizeof (ac__type_new_))
29413 rm -f conftest.
$ac_objext
29414 if { (ac_try
="$ac_compile"
29415 case "(($ac_try" in
29416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29417 *) ac_try_echo=$ac_try;;
29419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29420 (eval "$ac_compile") 2>conftest.er1
29422 grep -v '^ *+' conftest.er1 >conftest.err
29424 cat conftest.err >&5
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); } && {
29427 test -z "$ac_c_werror_flag" ||
29428 test ! -s conftest.err
29429 } && test -s conftest.$ac_objext; then
29430 ac_cv_type_boolean=yes
29432 echo "$as_me: failed program was:" >&5
29433 sed 's/^/| /' conftest.$ac_ext >&5
29435 ac_cv_type_boolean=no
29438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29440 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29441 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29443 # The cast to long int works around a bug in the HP C Compiler
29444 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29445 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29446 # This bug is HP SR number 8606223364.
29447 { echo "$as_me:$LINENO: checking size of boolean" >&5
29448 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29449 if test "${ac_cv_sizeof_boolean+set}" = set; then
29450 echo $ECHO_N "(cached) $ECHO_C" >&6
29452 if test "$cross_compiling" = yes; then
29453 # Depending upon the size, compute the lo and hi bounds.
29454 cat >conftest.$ac_ext <<_ACEOF
29457 cat confdefs.h >>conftest.$ac_ext
29458 cat >>conftest.$ac_ext <<_ACEOF
29459 /* end confdefs.h. */
29461 #undef HAVE_BOOLEAN
29463 #include <jpeglib.h>
29466 typedef boolean ac__type_sizeof_;
29470 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29477 rm -f conftest.$ac_objext
29478 if { (ac_try="$ac_compile"
29479 case "(($ac_try" in
29480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29481 *) ac_try_echo=$ac_try;;
29483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29484 (eval "$ac_compile") 2>conftest.er1
29486 grep -v '^
*+' conftest.er1 >conftest.err
29488 cat conftest.err >&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } && {
29491 test -z "$ac_c_werror_flag" ||
29492 test ! -s conftest.err
29493 } && test -s conftest.$ac_objext; then
29496 cat >conftest.$ac_ext <<_ACEOF
29499 cat confdefs.h >>conftest.$ac_ext
29500 cat >>conftest.$ac_ext <<_ACEOF
29501 /* end confdefs.h. */
29503 #undef HAVE_BOOLEAN
29505 #include <jpeglib.h>
29508 typedef boolean ac__type_sizeof_;
29512 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29519 rm -f conftest.$ac_objext
29520 if { (ac_try="$ac_compile"
29521 case "(($ac_try" in
29522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29523 *) ac_try_echo=$ac_try;;
29525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29526 (eval "$ac_compile") 2>conftest.er1
29528 grep -v '^
*+' conftest.er1 >conftest.err
29530 cat conftest.err >&5
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); } && {
29533 test -z "$ac_c_werror_flag" ||
29534 test ! -s conftest.err
29535 } && test -s conftest.$ac_objext; then
29536 ac_hi=$ac_mid; break
29538 echo "$as_me: failed program was:" >&5
29539 sed 's
/^
/| /' conftest.$ac_ext >&5
29541 ac_lo=`expr $ac_mid + 1`
29542 if test $ac_lo -le $ac_mid; then
29546 ac_mid=`expr 2 '*' $ac_mid + 1`
29549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29552 echo "$as_me: failed program was:" >&5
29553 sed 's
/^
/| /' conftest.$ac_ext >&5
29555 cat >conftest.$ac_ext <<_ACEOF
29558 cat confdefs.h >>conftest.$ac_ext
29559 cat >>conftest.$ac_ext <<_ACEOF
29560 /* end confdefs.h. */
29562 #undef HAVE_BOOLEAN
29564 #include <jpeglib.h>
29567 typedef boolean ac__type_sizeof_;
29571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29578 rm -f conftest.$ac_objext
29579 if { (ac_try="$ac_compile"
29580 case "(($ac_try" in
29581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29582 *) ac_try_echo=$ac_try;;
29584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29585 (eval "$ac_compile") 2>conftest.er1
29587 grep -v '^
*+' conftest.er1 >conftest.err
29589 cat conftest.err >&5
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); } && {
29592 test -z "$ac_c_werror_flag" ||
29593 test ! -s conftest.err
29594 } && test -s conftest.$ac_objext; then
29597 cat >conftest.$ac_ext <<_ACEOF
29600 cat confdefs.h >>conftest.$ac_ext
29601 cat >>conftest.$ac_ext <<_ACEOF
29602 /* end confdefs.h. */
29604 #undef HAVE_BOOLEAN
29606 #include <jpeglib.h>
29609 typedef boolean ac__type_sizeof_;
29613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29620 rm -f conftest.$ac_objext
29621 if { (ac_try="$ac_compile"
29622 case "(($ac_try" in
29623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29624 *) ac_try_echo=$ac_try;;
29626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29627 (eval "$ac_compile") 2>conftest.er1
29629 grep -v '^
*+' conftest.er1 >conftest.err
29631 cat conftest.err >&5
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); } && {
29634 test -z "$ac_c_werror_flag" ||
29635 test ! -s conftest.err
29636 } && test -s conftest.$ac_objext; then
29637 ac_lo=$ac_mid; break
29639 echo "$as_me: failed program was:" >&5
29640 sed 's
/^
/| /' conftest.$ac_ext >&5
29642 ac_hi=`expr '(' $ac_mid ')' - 1`
29643 if test $ac_mid -le $ac_hi; then
29647 ac_mid=`expr 2 '*' $ac_mid`
29650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29653 echo "$as_me: failed program was:" >&5
29654 sed 's
/^
/| /' conftest.$ac_ext >&5
29659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29663 # Binary search between lo and hi bounds.
29664 while test "x$ac_lo" != "x$ac_hi"; do
29665 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29666 cat >conftest.$ac_ext <<_ACEOF
29669 cat confdefs.h >>conftest.$ac_ext
29670 cat >>conftest.$ac_ext <<_ACEOF
29671 /* end confdefs.h. */
29673 #undef HAVE_BOOLEAN
29675 #include <jpeglib.h>
29678 typedef boolean ac__type_sizeof_;
29682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29689 rm -f conftest.$ac_objext
29690 if { (ac_try="$ac_compile"
29691 case "(($ac_try" in
29692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29693 *) ac_try_echo=$ac_try;;
29695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29696 (eval "$ac_compile") 2>conftest.er1
29698 grep -v '^
*+' conftest.er1 >conftest.err
29700 cat conftest.err >&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); } && {
29703 test -z "$ac_c_werror_flag" ||
29704 test ! -s conftest.err
29705 } && test -s conftest.$ac_objext; then
29708 echo "$as_me: failed program was:" >&5
29709 sed 's
/^
/| /' conftest.$ac_ext >&5
29711 ac_lo=`expr '(' $ac_mid ')' + 1`
29714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29717 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29718 '') if test "$ac_cv_type_boolean" = yes; then
29719 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29720 See \`config.log' for more details.
" >&5
29721 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29722 See \
`config.log' for more details." >&2;}
29723 { (exit 77); exit 77; }; }
29725 ac_cv_sizeof_boolean=0
29729 cat >conftest.$ac_ext <<_ACEOF
29732 cat confdefs.h >>conftest.$ac_ext
29733 cat >>conftest.$ac_ext <<_ACEOF
29734 /* end confdefs.h. */
29736 #undef HAVE_BOOLEAN
29738 #include <jpeglib.h>
29741 typedef boolean ac__type_sizeof_;
29742 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29743 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29745 #include <stdlib.h>
29750 FILE *f = fopen ("conftest.val", "w");
29753 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29755 long int i = longval ();
29756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29758 fprintf (f, "%ld\n", i);
29762 unsigned long int i = ulongval ();
29763 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29765 fprintf (f, "%lu\n", i);
29767 return ferror (f) || fclose (f) != 0;
29773 rm -f conftest$ac_exeext
29774 if { (ac_try="$ac_link"
29775 case "(($ac_try" in
29776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29777 *) ac_try_echo
=$ac_try;;
29779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29780 (eval "$ac_link") 2>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29784 { (case "(($ac_try" in
29785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29786 *) ac_try_echo=$ac_try;;
29788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29789 (eval "$ac_try") 2>&5
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); }; }; then
29793 ac_cv_sizeof_boolean=`cat conftest.val
`
29795 echo "$as_me: program exited with status $ac_status" >&5
29796 echo "$as_me: failed program was:" >&5
29797 sed 's/^/| /' conftest.$ac_ext >&5
29799 ( exit $ac_status )
29800 if test "$ac_cv_type_boolean" = yes; then
29801 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29802 See \`config.log
' for more details." >&5
29803 echo "$as_me: error: cannot compute sizeof (boolean)
29804 See \`config.log' for more details.
" >&2;}
29805 { (exit 77); exit 77; }; }
29807 ac_cv_sizeof_boolean=0
29810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29814 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29815 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29819 cat >>confdefs.h <<_ACEOF
29820 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29824 cat >>confdefs.h <<_ACEOF
29825 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29839 TIFF_PREREQ_LINKS=-lm
29840 if test "$wxUSE_LIBTIFF" != "no
" ; then
29841 cat >>confdefs.h <<\_ACEOF
29842 #define wxUSE_LIBTIFF 1
29846 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29847 if test "$wxUSE_LIBJPEG" = "sys
"; then
29848 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29850 if test "$wxUSE_ZLIB" = "sys
"; then
29851 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29853 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29854 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29855 if test "${ac_cv_header_tiffio_h+set}" = set; then
29856 echo $ECHO_N "(cached
) $ECHO_C" >&6
29858 cat >conftest.$ac_ext <<_ACEOF
29861 cat confdefs.h >>conftest.$ac_ext
29862 cat >>conftest.$ac_ext <<_ACEOF
29863 /* end confdefs.h. */
29867 #include <tiffio.h>
29869 rm -f conftest.$ac_objext
29870 if { (ac_try="$ac_compile"
29871 case "(($ac_try" in
29872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29873 *) ac_try_echo=$ac_try;;
29875 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29876 (eval "$ac_compile") 2>conftest.er1
29878 grep -v '^ *+' conftest.er1 >conftest.err
29880 cat conftest.err >&5
29881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29882 (exit $ac_status); } && {
29883 test -z "$ac_c_werror_flag" ||
29884 test ! -s conftest.err
29885 } && test -s conftest.$ac_objext; then
29886 ac_cv_header_tiffio_h=yes
29888 echo "$as_me: failed program was
:" >&5
29889 sed 's/^/| /' conftest.$ac_ext >&5
29891 ac_cv_header_tiffio_h=no
29894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29896 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29897 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29898 if test $ac_cv_header_tiffio_h = yes; then
29900 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29901 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29902 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29903 echo $ECHO_N "(cached
) $ECHO_C" >&6
29905 ac_check_lib_save_LIBS=$LIBS
29906 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29907 cat >conftest.$ac_ext <<_ACEOF
29910 cat confdefs.h >>conftest.$ac_ext
29911 cat >>conftest.$ac_ext <<_ACEOF
29912 /* end confdefs.h. */
29914 /* Override any GCC internal prototype to avoid an error.
29915 Use char because int might match the return type of a GCC
29916 builtin and then its argument prototype would still apply. */
29924 return TIFFError ();
29929 rm -f conftest.$ac_objext conftest$ac_exeext
29930 if { (ac_try="$ac_link"
29931 case "(($ac_try" in
29932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29933 *) ac_try_echo=$ac_try;;
29935 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29936 (eval "$ac_link") 2>conftest.er1
29938 grep -v '^ *+' conftest.er1 >conftest.err
29940 cat conftest.err >&5
29941 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29942 (exit $ac_status); } && {
29943 test -z "$ac_c_werror_flag" ||
29944 test ! -s conftest.err
29945 } && test -s conftest$ac_exeext &&
29946 $as_test_x conftest$ac_exeext; then
29947 ac_cv_lib_tiff_TIFFError=yes
29949 echo "$as_me: failed program was
:" >&5
29950 sed 's/^/| /' conftest.$ac_ext >&5
29952 ac_cv_lib_tiff_TIFFError=no
29955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29956 conftest$ac_exeext conftest.$ac_ext
29957 LIBS=$ac_check_lib_save_LIBS
29959 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29960 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29961 if test $ac_cv_lib_tiff_TIFFError = yes; then
29962 TIFF_LINK=" -ltiff"
29970 if test "x
$TIFF_LINK" = "x
" ; then
29971 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29972 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29973 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29974 { (exit 1); exit 1; }; }
29976 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29977 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29978 wxUSE_LIBTIFF=builtin
29984 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29985 if test "$wxUSE_LIBJPEG" = "no
"; then
29986 ac_configure_args="$ac_configure_args --disable-jpeg"
29988 subdirs="$subdirs src
/tiff
"
29994 if test "$wxUSE_WCHAR_T" != "yes"; then
29995 if test "$wxUSE_EXPAT" != "no
"; then
29996 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
29997 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
30000 if test "$wxUSE_XML" != "no
"; then
30001 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
30002 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
30007 if test "$wxUSE_EXPAT" != "no
"; then
30009 cat >>confdefs.h <<\_ACEOF
30010 #define wxUSE_EXPAT 1
30013 cat >>confdefs.h <<\_ACEOF
30014 #define wxUSE_XML 1
30018 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
30019 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
30020 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
30021 if test "${ac_cv_header_expat_h+set}" = set; then
30022 echo $ECHO_N "(cached
) $ECHO_C" >&6
30024 cat >conftest.$ac_ext <<_ACEOF
30027 cat confdefs.h >>conftest.$ac_ext
30028 cat >>conftest.$ac_ext <<_ACEOF
30029 /* end confdefs.h. */
30034 rm -f conftest.$ac_objext
30035 if { (ac_try="$ac_compile"
30036 case "(($ac_try" in
30037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30038 *) ac_try_echo=$ac_try;;
30040 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30041 (eval "$ac_compile") 2>conftest.er1
30043 grep -v '^ *+' conftest.er1 >conftest.err
30045 cat conftest.err >&5
30046 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30047 (exit $ac_status); } && {
30048 test -z "$ac_c_werror_flag" ||
30049 test ! -s conftest.err
30050 } && test -s conftest.$ac_objext; then
30051 ac_cv_header_expat_h=yes
30053 echo "$as_me: failed program was
:" >&5
30054 sed 's/^/| /' conftest.$ac_ext >&5
30056 ac_cv_header_expat_h=no
30059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30061 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
30062 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30063 if test $ac_cv_header_expat_h = yes; then
30068 if test "x
$found_expat_h" = "x1
"; then
30069 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
30070 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
30071 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30072 echo $ECHO_N "(cached
) $ECHO_C" >&6
30076 ac_cpp='$CXXCPP $CPPFLAGS'
30077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30081 cat >conftest.$ac_ext <<_ACEOF
30084 cat confdefs.h >>conftest.$ac_ext
30085 cat >>conftest.$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30096 rm -f conftest.$ac_objext
30097 if { (ac_try="$ac_compile"
30098 case "(($ac_try" in
30099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30100 *) ac_try_echo=$ac_try;;
30102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30103 (eval "$ac_compile") 2>conftest.er1
30105 grep -v '^ *+' conftest.er1 >conftest.err
30107 cat conftest.err >&5
30108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30109 (exit $ac_status); } && {
30110 test -z "$ac_cxx_werror_flag" ||
30111 test ! -s conftest.err
30112 } && test -s conftest.$ac_objext; then
30113 wx_cv_expat_is_not_broken=yes
30115 echo "$as_me: failed program was
:" >&5
30116 sed 's/^/| /' conftest.$ac_ext >&5
30118 wx_cv_expat_is_not_broken=no
30122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30124 ac_cpp='$CPP $CPPFLAGS'
30125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30132 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30133 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30134 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30135 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30136 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30137 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30138 echo $ECHO_N "(cached
) $ECHO_C" >&6
30140 ac_check_lib_save_LIBS=$LIBS
30141 LIBS="-lexpat $LIBS"
30142 cat >conftest.$ac_ext <<_ACEOF
30145 cat confdefs.h >>conftest.$ac_ext
30146 cat >>conftest.$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30149 /* Override any GCC internal prototype to avoid an error.
30150 Use char because int might match the return type of a GCC
30151 builtin and then its argument prototype would still apply. */
30155 char XML_ParserCreate ();
30159 return XML_ParserCreate ();
30164 rm -f conftest.$ac_objext conftest$ac_exeext
30165 if { (ac_try="$ac_link"
30166 case "(($ac_try" in
30167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30168 *) ac_try_echo=$ac_try;;
30170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30171 (eval "$ac_link") 2>conftest.er1
30173 grep -v '^ *+' conftest.er1 >conftest.err
30175 cat conftest.err >&5
30176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30177 (exit $ac_status); } && {
30178 test -z "$ac_c_werror_flag" ||
30179 test ! -s conftest.err
30180 } && test -s conftest$ac_exeext &&
30181 $as_test_x conftest$ac_exeext; then
30182 ac_cv_lib_expat_XML_ParserCreate=yes
30184 echo "$as_me: failed program was
:" >&5
30185 sed 's/^/| /' conftest.$ac_ext >&5
30187 ac_cv_lib_expat_XML_ParserCreate=no
30190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30191 conftest$ac_exeext conftest.$ac_ext
30192 LIBS=$ac_check_lib_save_LIBS
30194 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30195 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30196 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30197 EXPAT_LINK=" -lexpat"
30202 if test "x
$EXPAT_LINK" = "x
" ; then
30203 if test "$wxUSE_EXPAT" = "sys
" ; then
30204 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30205 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30206 { (exit 1); exit 1; }; }
30208 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30209 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30210 wxUSE_EXPAT=builtin
30216 if test "$wxUSE_EXPAT" = "builtin" ; then
30217 subdirs="$subdirs src
/expat
"
30224 if test "$wxUSE_LIBMSPACK" != "no
"; then
30225 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30226 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30227 if test "${ac_cv_header_mspack_h+set}" = set; then
30228 echo $ECHO_N "(cached
) $ECHO_C" >&6
30230 cat >conftest.$ac_ext <<_ACEOF
30233 cat confdefs.h >>conftest.$ac_ext
30234 cat >>conftest.$ac_ext <<_ACEOF
30235 /* end confdefs.h. */
30238 #include <mspack.h>
30240 rm -f conftest.$ac_objext
30241 if { (ac_try="$ac_compile"
30242 case "(($ac_try" in
30243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30244 *) ac_try_echo=$ac_try;;
30246 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30247 (eval "$ac_compile") 2>conftest.er1
30249 grep -v '^ *+' conftest.er1 >conftest.err
30251 cat conftest.err >&5
30252 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30253 (exit $ac_status); } && {
30254 test -z "$ac_c_werror_flag" ||
30255 test ! -s conftest.err
30256 } && test -s conftest.$ac_objext; then
30257 ac_cv_header_mspack_h=yes
30259 echo "$as_me: failed program was
:" >&5
30260 sed 's/^/| /' conftest.$ac_ext >&5
30262 ac_cv_header_mspack_h=no
30265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30267 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30268 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30269 if test $ac_cv_header_mspack_h = yes; then
30274 if test "x
$found_mspack_h" = "x1
"; then
30275 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30276 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30277 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30278 echo $ECHO_N "(cached
) $ECHO_C" >&6
30280 ac_check_lib_save_LIBS=$LIBS
30281 LIBS="-lmspack $LIBS"
30282 cat >conftest.$ac_ext <<_ACEOF
30285 cat confdefs.h >>conftest.$ac_ext
30286 cat >>conftest.$ac_ext <<_ACEOF
30287 /* end confdefs.h. */
30289 /* Override any GCC internal prototype to avoid an error.
30290 Use char because int might match the return type of a GCC
30291 builtin and then its argument prototype would still apply. */
30295 char mspack_create_chm_decompressor ();
30299 return mspack_create_chm_decompressor ();
30304 rm -f conftest.$ac_objext conftest$ac_exeext
30305 if { (ac_try="$ac_link"
30306 case "(($ac_try" in
30307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30308 *) ac_try_echo=$ac_try;;
30310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30311 (eval "$ac_link") 2>conftest.er1
30313 grep -v '^ *+' conftest.er1 >conftest.err
30315 cat conftest.err >&5
30316 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30317 (exit $ac_status); } && {
30318 test -z "$ac_c_werror_flag" ||
30319 test ! -s conftest.err
30320 } && test -s conftest$ac_exeext &&
30321 $as_test_x conftest$ac_exeext; then
30322 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30324 echo "$as_me: failed program was
:" >&5
30325 sed 's/^/| /' conftest.$ac_ext >&5
30327 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30331 conftest$ac_exeext conftest.$ac_ext
30332 LIBS=$ac_check_lib_save_LIBS
30334 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30335 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30336 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30337 MSPACK_LINK=" -lmspack"
30341 if test "x
$MSPACK_LINK" = "x
" ; then
30346 if test "$wxUSE_LIBMSPACK" != "no
"; then
30347 cat >>confdefs.h <<\_ACEOF
30348 #define wxUSE_LIBMSPACK 1
30362 if test "$USE_WIN32" = 1 ; then
30364 for ac_header in w32api.h
30366 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30367 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30368 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30369 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30370 echo $ECHO_N "(cached
) $ECHO_C" >&6
30372 cat >conftest.$ac_ext <<_ACEOF
30375 cat confdefs.h >>conftest.$ac_ext
30376 cat >>conftest.$ac_ext <<_ACEOF
30377 /* end confdefs.h. */
30380 #include <$ac_header>
30382 rm -f conftest.$ac_objext
30383 if { (ac_try="$ac_compile"
30384 case "(($ac_try" in
30385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30386 *) ac_try_echo=$ac_try;;
30388 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30389 (eval "$ac_compile") 2>conftest.er1
30391 grep -v '^ *+' conftest.er1 >conftest.err
30393 cat conftest.err >&5
30394 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30395 (exit $ac_status); } && {
30396 test -z "$ac_c_werror_flag" ||
30397 test ! -s conftest.err
30398 } && test -s conftest.$ac_objext; then
30399 eval "$as_ac_Header=yes"
30401 echo "$as_me: failed program was
:" >&5
30402 sed 's/^/| /' conftest.$ac_ext >&5
30404 eval "$as_ac_Header=no
"
30407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30409 ac_res=`eval echo '${'$as_ac_Header'}'`
30410 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30411 echo "${ECHO_T}$ac_res" >&6; }
30412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30413 cat >>confdefs.h <<_ACEOF
30414 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30421 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30422 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30423 if test "${ac_cv_header_windows_h+set}" = set; then
30424 echo $ECHO_N "(cached
) $ECHO_C" >&6
30426 cat >conftest.$ac_ext <<_ACEOF
30429 cat confdefs.h >>conftest.$ac_ext
30430 cat >>conftest.$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30434 #include <windows.h>
30436 rm -f conftest.$ac_objext
30437 if { (ac_try="$ac_compile"
30438 case "(($ac_try" in
30439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30440 *) ac_try_echo=$ac_try;;
30442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30443 (eval "$ac_compile") 2>conftest.er1
30445 grep -v '^ *+' conftest.er1 >conftest.err
30447 cat conftest.err >&5
30448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30449 (exit $ac_status); } && {
30450 test -z "$ac_c_werror_flag" ||
30451 test ! -s conftest.err
30452 } && test -s conftest.$ac_objext; then
30453 ac_cv_header_windows_h=yes
30455 echo "$as_me: failed program was
:" >&5
30456 sed 's/^/| /' conftest.$ac_ext >&5
30458 ac_cv_header_windows_h=no
30461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30463 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30464 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30465 if test $ac_cv_header_windows_h = yes; then
30469 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30470 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30471 { (exit 1); exit 1; }; }
30477 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30479 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30480 LIBS="$LIBS -loleacc"
30485 LIBS="$LIBS -lkernel32 -luser32"
30488 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30489 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30491 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30493 WIN32INSTALL=win32install
30495 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30496 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30497 if test "${ac_cv_header_pbt_h+set}" = set; then
30498 echo $ECHO_N "(cached
) $ECHO_C" >&6
30500 cat >conftest.$ac_ext <<_ACEOF
30503 cat confdefs.h >>conftest.$ac_ext
30504 cat >>conftest.$ac_ext <<_ACEOF
30505 /* end confdefs.h. */
30510 rm -f conftest.$ac_objext
30511 if { (ac_try="$ac_compile"
30512 case "(($ac_try" in
30513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30514 *) ac_try_echo=$ac_try;;
30516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30517 (eval "$ac_compile") 2>conftest.er1
30519 grep -v '^ *+' conftest.er1 >conftest.err
30521 cat conftest.err >&5
30522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30523 (exit $ac_status); } && {
30524 test -z "$ac_c_werror_flag" ||
30525 test ! -s conftest.err
30526 } && test -s conftest.$ac_objext; then
30527 ac_cv_header_pbt_h=yes
30529 echo "$as_me: failed program was
:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30532 ac_cv_header_pbt_h=no
30535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30537 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30538 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30539 if test $ac_cv_header_pbt_h = yes; then
30542 cat >>confdefs.h <<\_ACEOF
30543 #define NEED_PBT_H 1
30551 if test "$wxUSE_GUI" = "yes"; then
30561 if test "$wxUSE_COCOA" = 1 ; then
30562 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30563 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30564 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30565 wxUSE_PRINTING_ARCHITECTURE=no
30567 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30568 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30569 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30570 wxUSE_DRAG_AND_DROP=no
30572 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30573 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30574 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30579 if test "$wxUSE_MSW" = 1 ; then
30585 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30589 if test "$wxUSE_GTK" = 1; then
30590 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30591 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30593 gtk_version_cached=1
30594 if test "${wx_cv_lib_gtk+set}" = set; then
30595 echo $ECHO_N "(cached
) $ECHO_C" >&6
30598 gtk_version_cached=0
30599 { echo "$as_me:$LINENO: result
: " >&5
30600 echo "${ECHO_T}" >&6; }
30603 if test "$wxUSE_THREADS" = "yes"; then
30604 GTK_MODULES=gthread
30608 if test "x
$wxGTK_VERSION" != "x1
"
30612 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30617 # Check whether --enable-gtktest was given.
30618 if test "${enable_gtktest+set}" = set; then
30619 enableval=$enable_gtktest;
30625 pkg_config_args=gtk+-2.0
30626 for module in . $GTK_MODULES
30630 pkg_config_args="$pkg_config_args gthread
-2.0
"
30637 # Extract the first word of "pkg
-config", so it can be a program name with args.
30638 set dummy pkg-config; ac_word=$2
30639 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30640 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30641 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30642 echo $ECHO_N "(cached
) $ECHO_C" >&6
30644 case $PKG_CONFIG in
30646 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30650 for as_dir in $PATH
30653 test -z "$as_dir" && as_dir=.
30654 for ac_exec_ext in '' $ac_executable_extensions; do
30655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30656 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30657 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30664 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30668 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30669 if test -n "$PKG_CONFIG"; then
30670 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30671 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30673 { echo "$as_me:$LINENO: result
: no
" >&5
30674 echo "${ECHO_T}no
" >&6; }
30679 if test x$PKG_CONFIG != xno ; then
30680 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30683 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30691 min_gtk_version=2.4.0
30692 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30693 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30695 if test x$PKG_CONFIG != xno ; then
30696 ## don't try to run the test against uninstalled libtool libs
30697 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30698 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30702 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30709 if test x"$no_gtk" = x ; then
30710 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30711 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30712 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30714 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30716 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30718 if test "x
$enable_gtktest" = "xyes
" ; then
30719 ac_save_CFLAGS="$CFLAGS"
30720 ac_save_LIBS="$LIBS"
30721 CFLAGS="$CFLAGS $GTK_CFLAGS"
30722 LIBS="$GTK_LIBS $LIBS"
30724 if test "$cross_compiling" = yes; then
30725 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30727 cat >conftest.$ac_ext <<_ACEOF
30730 cat confdefs.h >>conftest.$ac_ext
30731 cat >>conftest.$ac_ext <<_ACEOF
30732 /* end confdefs.h. */
30734 #include <gtk/gtk.h>
30736 #include <stdlib.h>
30741 int major, minor, micro;
30744 system ("touch conf.gtktest
");
30746 /* HP/UX 9 (%@#!) writes to sscanf strings */
30747 tmp_version = g_strdup("$min_gtk_version");
30748 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30749 printf("%s
, bad version string
\n", "$min_gtk_version");
30753 if ((gtk_major_version != $gtk_config_major_version) ||
30754 (gtk_minor_version != $gtk_config_minor_version) ||
30755 (gtk_micro_version != $gtk_config_micro_version))
30757 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30758 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30759 gtk_major_version, gtk_minor_version, gtk_micro_version);
30760 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30761 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30762 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30763 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30764 printf("*** required on your system.
\n");
30765 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30766 printf("*** to point to the correct configuration files
\n");
30768 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30769 (gtk_minor_version != GTK_MINOR_VERSION) ||
30770 (gtk_micro_version != GTK_MICRO_VERSION))
30772 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30773 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30774 printf("*** library
(version
%d.
%d.
%d
)\n",
30775 gtk_major_version, gtk_minor_version, gtk_micro_version);
30779 if ((gtk_major_version > major) ||
30780 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30781 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30787 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30788 gtk_major_version, gtk_minor_version, gtk_micro_version);
30789 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30790 major, minor, micro);
30791 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30793 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30794 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30795 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30796 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30797 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30798 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30799 printf("*** so that the correct libraries are found
at run
-time))\n");
30806 rm -f conftest$ac_exeext
30807 if { (ac_try="$ac_link"
30808 case "(($ac_try" in
30809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30810 *) ac_try_echo=$ac_try;;
30812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30813 (eval "$ac_link") 2>&5
30815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30817 { (case "(($ac_try" in
30818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30819 *) ac_try_echo=$ac_try;;
30821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30822 (eval "$ac_try") 2>&5
30824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30825 (exit $ac_status); }; }; then
30828 echo "$as_me: program exited with status
$ac_status" >&5
30829 echo "$as_me: failed program was
:" >&5
30830 sed 's/^/| /' conftest.$ac_ext >&5
30832 ( exit $ac_status )
30835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30839 CFLAGS="$ac_save_CFLAGS"
30840 LIBS="$ac_save_LIBS"
30843 if test "x
$no_gtk" = x ; then
30844 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30845 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30848 { echo "$as_me:$LINENO: result
: no
" >&5
30849 echo "${ECHO_T}no
" >&6; }
30850 if test "$PKG_CONFIG" = "no
" ; then
30851 echo "*** A new enough version of pkg
-config was not found.
"
30852 echo "*** See http
://pkgconfig.sourceforge.net
"
30854 if test -f conf.gtktest ; then
30857 echo "*** Could not run GTK
+ test program
, checking why...
"
30858 ac_save_CFLAGS="$CFLAGS"
30859 ac_save_LIBS="$LIBS"
30860 CFLAGS="$CFLAGS $GTK_CFLAGS"
30861 LIBS="$LIBS $GTK_LIBS"
30862 cat >conftest.$ac_ext <<_ACEOF
30865 cat confdefs.h >>conftest.$ac_ext
30866 cat >>conftest.$ac_ext <<_ACEOF
30867 /* end confdefs.h. */
30869 #include <gtk/gtk.h>
30875 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30880 rm -f conftest.$ac_objext conftest$ac_exeext
30881 if { (ac_try="$ac_link"
30882 case "(($ac_try" in
30883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30884 *) ac_try_echo=$ac_try;;
30886 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30887 (eval "$ac_link") 2>conftest.er1
30889 grep -v '^ *+' conftest.er1 >conftest.err
30891 cat conftest.err >&5
30892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30893 (exit $ac_status); } && {
30894 test -z "$ac_c_werror_flag" ||
30895 test ! -s conftest.err
30896 } && test -s conftest$ac_exeext &&
30897 $as_test_x conftest$ac_exeext; then
30898 echo "*** The
test program compiled
, but did not run. This usually means
"
30899 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30900 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30901 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30902 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30903 echo "*** is required on your system"
30905 echo "*** If you have an old version installed, it is best to remove it, although"
30906 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30908 echo "$as_me: failed program was:" >&5
30909 sed 's
/^
/| /' conftest.$ac_ext >&5
30911 echo "*** The test program failed to compile or link. See the file config.log for the"
30912 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30916 conftest$ac_exeext conftest.$ac_ext
30917 CFLAGS="$ac_save_CFLAGS"
30918 LIBS="$ac_save_LIBS"
30932 if test "$wxUSE_SHARED" != "yes"; then
30933 GTK_LIBS="$GTK_LIBS -lX11"
30938 if test -z "$wx_cv_lib_gtk"; then
30939 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30941 # Check whether --with-gtk-prefix was given.
30942 if test "${with_gtk_prefix+set}" = set; then
30943 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30945 gtk_config_prefix=""
30949 # Check whether --with-gtk-exec-prefix was given.
30950 if test "${with_gtk_exec_prefix+set}" = set; then
30951 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30953 gtk_config_exec_prefix=""
30956 # Check whether --enable-gtktest was given.
30957 if test "${enable_gtktest+set}" = set; then
30958 enableval=$enable_gtktest;
30964 for module in . $GTK_MODULES
30968 gtk_config_args="$gtk_config_args gthread"
30973 if test x$gtk_config_exec_prefix != x ; then
30974 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30975 if test x${GTK_CONFIG+set} != xset ; then
30976 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30979 if test x$gtk_config_prefix != x ; then
30980 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30981 if test x${GTK_CONFIG+set} != xset ; then
30982 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30986 # Extract the first word of "gtk-config", so it can be a program name with args.
30987 set dummy gtk-config; ac_word=$2
30988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30990 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30991 echo $ECHO_N "(cached) $ECHO_C" >&6
30993 case $GTK_CONFIG in
30995 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30999 for as_dir in $PATH
31002 test -z "$as_dir" && as_dir=.
31003 for ac_exec_ext in '' $ac_executable_extensions; do
31004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31005 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31013 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31017 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31018 if test -n "$GTK_CONFIG"; then
31019 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31020 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31022 { echo "$as_me:$LINENO: result: no" >&5
31023 echo "${ECHO_T}no" >&6; }
31027 min_gtk_version=1.2.7
31028 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31029 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31031 if test "$GTK_CONFIG" = "no" ; then
31034 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31035 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31036 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31037 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
31038 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31039 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
31040 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31041 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
31042 if test "x$enable_gtktest" = "xyes" ; then
31043 ac_save_CFLAGS="$CFLAGS"
31044 ac_save_LIBS="$LIBS"
31045 CFLAGS="$CFLAGS $GTK_CFLAGS"
31046 LIBS="$GTK_LIBS $LIBS"
31048 if test "$cross_compiling" = yes; then
31049 echo $ac_n "cross compiling; assumed OK... $ac_c"
31051 cat >conftest.$ac_ext <<_ACEOF
31054 cat confdefs.h >>conftest.$ac_ext
31055 cat >>conftest.$ac_ext <<_ACEOF
31056 /* end confdefs.h. */
31058 #include <gtk/gtk.h>
31060 #include <stdlib.h>
31065 int major, minor, micro;
31068 system ("touch conf.gtktest");
31070 /* HP/UX 9 (%@#!) writes to sscanf strings */
31071 tmp_version = g_strdup("$min_gtk_version");
31072 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31073 printf("%s, bad version string\n", "$min_gtk_version");
31077 if ((gtk_major_version != $gtk_config_major_version) ||
31078 (gtk_minor_version != $gtk_config_minor_version) ||
31079 (gtk_micro_version != $gtk_config_micro_version))
31081 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31082 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31083 gtk_major_version, gtk_minor_version, gtk_micro_version);
31084 printf ("*** was found! If gtk-config was correct, then it is best\n");
31085 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31086 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31087 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31088 printf("*** required on your system.\n");
31089 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31090 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31091 printf("*** before re-running configure\n");
31093 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31094 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31095 (gtk_minor_version != GTK_MINOR_VERSION) ||
31096 (gtk_micro_version != GTK_MICRO_VERSION))
31098 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31099 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31100 printf("*** library (version %d.%d.%d)\n",
31101 gtk_major_version, gtk_minor_version, gtk_micro_version);
31103 #endif /* defined (GTK_MAJOR_VERSION) ... */
31106 if ((gtk_major_version > major) ||
31107 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31108 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31114 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31115 gtk_major_version, gtk_minor_version, gtk_micro_version);
31116 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31117 major, minor, micro);
31118 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31120 printf("*** If you have already installed a sufficiently new version, this error\n");
31121 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31122 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31123 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31124 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31125 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31126 printf("*** so that the correct libraries are found at run-time))\n");
31133 rm -f conftest$ac_exeext
31134 if { (ac_try="$ac_link"
31135 case "(($ac_try" in
31136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31137 *) ac_try_echo=$ac_try;;
31139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31140 (eval "$ac_link") 2>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31144 { (case "(($ac_try" in
31145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31146 *) ac_try_echo=$ac_try;;
31148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31149 (eval "$ac_try") 2>&5
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); }; }; then
31155 echo "$as_me: program exited with status $ac_status" >&5
31156 echo "$as_me: failed program was:" >&5
31157 sed 's
/^
/| /' conftest.$ac_ext >&5
31159 ( exit $ac_status )
31162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31166 CFLAGS="$ac_save_CFLAGS"
31167 LIBS="$ac_save_LIBS"
31170 if test "x$no_gtk" = x ; then
31171 { echo "$as_me:$LINENO: result: yes" >&5
31172 echo "${ECHO_T}yes" >&6; }
31173 wx_cv_lib_gtk=1.2.7
31175 { echo "$as_me:$LINENO: result: no" >&5
31176 echo "${ECHO_T}no" >&6; }
31177 if test "$GTK_CONFIG" = "no" ; then
31178 echo "*** The gtk-config script installed by GTK could not be found"
31179 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31180 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31181 echo "*** full path to gtk-config."
31183 if test -f conf.gtktest ; then
31186 echo "*** Could not run GTK test program, checking why..."
31187 CFLAGS="$CFLAGS $GTK_CFLAGS"
31188 LIBS="$LIBS $GTK_LIBS"
31189 cat >conftest.$ac_ext <<_ACEOF
31192 cat confdefs.h >>conftest.$ac_ext
31193 cat >>conftest.$ac_ext <<_ACEOF
31194 /* end confdefs.h. */
31196 #include <gtk/gtk.h>
31202 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31207 rm -f conftest.$ac_objext conftest$ac_exeext
31208 if { (ac_try="$ac_link"
31209 case "(($ac_try" in
31210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31211 *) ac_try_echo=$ac_try;;
31213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31214 (eval "$ac_link") 2>conftest.er1
31216 grep -v '^
*+' conftest.er1 >conftest.err
31218 cat conftest.err >&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); } && {
31221 test -z "$ac_c_werror_flag" ||
31222 test ! -s conftest.err
31223 } && test -s conftest$ac_exeext &&
31224 $as_test_x conftest$ac_exeext; then
31225 echo "*** The test program compiled, but did not run. This usually means"
31226 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31227 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31228 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31229 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31230 echo "*** is required on your system
"
31232 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31233 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31235 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31236 echo "*** came with the system with the
command"
31238 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31240 echo "$as_me: failed program was
:" >&5
31241 sed 's/^/| /' conftest.$ac_ext >&5
31243 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31244 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31245 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31246 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31250 conftest$ac_exeext conftest.$ac_ext
31251 CFLAGS="$ac_save_CFLAGS"
31252 LIBS="$ac_save_LIBS"
31264 if test -z "$wx_cv_lib_gtk"; then
31266 # Check whether --with-gtk-prefix was given.
31267 if test "${with_gtk_prefix+set}" = set; then
31268 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31270 gtk_config_prefix=""
31274 # Check whether --with-gtk-exec-prefix was given.
31275 if test "${with_gtk_exec_prefix+set}" = set; then
31276 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31278 gtk_config_exec_prefix=""
31281 # Check whether --enable-gtktest was given.
31282 if test "${enable_gtktest+set}" = set; then
31283 enableval=$enable_gtktest;
31289 for module in . $GTK_MODULES
31293 gtk_config_args="$gtk_config_args gthread
"
31298 if test x$gtk_config_exec_prefix != x ; then
31299 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31300 if test x${GTK_CONFIG+set} != xset ; then
31301 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31304 if test x$gtk_config_prefix != x ; then
31305 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31306 if test x${GTK_CONFIG+set} != xset ; then
31307 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31311 # Extract the first word of "gtk
-config", so it can be a program name with args.
31312 set dummy gtk-config; ac_word=$2
31313 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31314 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31315 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31316 echo $ECHO_N "(cached
) $ECHO_C" >&6
31318 case $GTK_CONFIG in
31320 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31324 for as_dir in $PATH
31327 test -z "$as_dir" && as_dir=.
31328 for ac_exec_ext in '' $ac_executable_extensions; do
31329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31330 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31331 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31338 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31342 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31343 if test -n "$GTK_CONFIG"; then
31344 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31345 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31347 { echo "$as_me:$LINENO: result
: no
" >&5
31348 echo "${ECHO_T}no
" >&6; }
31352 min_gtk_version=1.2.3
31353 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31354 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31356 if test "$GTK_CONFIG" = "no
" ; then
31359 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31360 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31361 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31362 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31363 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31364 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31365 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31366 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31367 if test "x
$enable_gtktest" = "xyes
" ; then
31368 ac_save_CFLAGS="$CFLAGS"
31369 ac_save_LIBS="$LIBS"
31370 CFLAGS="$CFLAGS $GTK_CFLAGS"
31371 LIBS="$GTK_LIBS $LIBS"
31373 if test "$cross_compiling" = yes; then
31374 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31376 cat >conftest.$ac_ext <<_ACEOF
31379 cat confdefs.h >>conftest.$ac_ext
31380 cat >>conftest.$ac_ext <<_ACEOF
31381 /* end confdefs.h. */
31383 #include <gtk/gtk.h>
31385 #include <stdlib.h>
31390 int major, minor, micro;
31393 system ("touch conf.gtktest
");
31395 /* HP/UX 9 (%@#!) writes to sscanf strings */
31396 tmp_version = g_strdup("$min_gtk_version");
31397 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31398 printf("%s
, bad version string
\n", "$min_gtk_version");
31402 if ((gtk_major_version != $gtk_config_major_version) ||
31403 (gtk_minor_version != $gtk_config_minor_version) ||
31404 (gtk_micro_version != $gtk_config_micro_version))
31406 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31407 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31408 gtk_major_version, gtk_minor_version, gtk_micro_version);
31409 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31410 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31411 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31412 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31413 printf("*** required on your system.
\n");
31414 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31415 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31416 printf("*** before re
-running configure
\n");
31418 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31419 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31420 (gtk_minor_version != GTK_MINOR_VERSION) ||
31421 (gtk_micro_version != GTK_MICRO_VERSION))
31423 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31424 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31425 printf("*** library
(version
%d.
%d.
%d
)\n",
31426 gtk_major_version, gtk_minor_version, gtk_micro_version);
31428 #endif /* defined (GTK_MAJOR_VERSION) ... */
31431 if ((gtk_major_version > major) ||
31432 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31433 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31439 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31440 gtk_major_version, gtk_minor_version, gtk_micro_version);
31441 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31442 major, minor, micro);
31443 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31445 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31446 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31447 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31448 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31449 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31450 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31451 printf("*** so that the correct libraries are found
at run
-time))\n");
31458 rm -f conftest$ac_exeext
31459 if { (ac_try="$ac_link"
31460 case "(($ac_try" in
31461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31462 *) ac_try_echo=$ac_try;;
31464 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31465 (eval "$ac_link") 2>&5
31467 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31469 { (case "(($ac_try" in
31470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31471 *) ac_try_echo=$ac_try;;
31473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31474 (eval "$ac_try") 2>&5
31476 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31477 (exit $ac_status); }; }; then
31480 echo "$as_me: program exited with status
$ac_status" >&5
31481 echo "$as_me: failed program was
:" >&5
31482 sed 's/^/| /' conftest.$ac_ext >&5
31484 ( exit $ac_status )
31487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31491 CFLAGS="$ac_save_CFLAGS"
31492 LIBS="$ac_save_LIBS"
31495 if test "x
$no_gtk" = x ; then
31496 { echo "$as_me:$LINENO: result
: yes" >&5
31497 echo "${ECHO_T}yes" >&6; }
31498 wx_cv_lib_gtk=1.2.3
31500 { echo "$as_me:$LINENO: result
: no
" >&5
31501 echo "${ECHO_T}no
" >&6; }
31502 if test "$GTK_CONFIG" = "no
" ; then
31503 echo "*** The gtk
-config script installed by GTK could not be found
"
31504 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31505 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31506 echo "*** full path to gtk
-config.
"
31508 if test -f conf.gtktest ; then
31511 echo "*** Could not run GTK
test program
, checking why...
"
31512 CFLAGS="$CFLAGS $GTK_CFLAGS"
31513 LIBS="$LIBS $GTK_LIBS"
31514 cat >conftest.$ac_ext <<_ACEOF
31517 cat confdefs.h >>conftest.$ac_ext
31518 cat >>conftest.$ac_ext <<_ACEOF
31519 /* end confdefs.h. */
31521 #include <gtk/gtk.h>
31527 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31532 rm -f conftest.$ac_objext conftest$ac_exeext
31533 if { (ac_try="$ac_link"
31534 case "(($ac_try" in
31535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31536 *) ac_try_echo=$ac_try;;
31538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31539 (eval "$ac_link") 2>conftest.er1
31541 grep -v '^ *+' conftest.er1 >conftest.err
31543 cat conftest.err >&5
31544 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31545 (exit $ac_status); } && {
31546 test -z "$ac_c_werror_flag" ||
31547 test ! -s conftest.err
31548 } && test -s conftest$ac_exeext &&
31549 $as_test_x conftest$ac_exeext; then
31550 echo "*** The
test program compiled
, but did not run. This usually means
"
31551 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31552 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31553 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31554 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31555 echo "*** is required on your system"
31557 echo "*** If you have an old version installed, it is best to remove it, although"
31558 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31560 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31561 echo "*** came with the system with the command"
31563 echo "*** rpm --erase --nodeps gtk gtk-devel"
31565 echo "$as_me: failed program was:" >&5
31566 sed 's
/^
/| /' conftest.$ac_ext >&5
31568 echo "*** The test program failed to compile or link. See the file config.log for the"
31569 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31570 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31571 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31575 conftest$ac_exeext conftest.$ac_ext
31576 CFLAGS="$ac_save_CFLAGS"
31577 LIBS="$ac_save_LIBS"
31592 if test -z "$wx_cv_lib_gtk"; then
31595 wx_cv_cflags_gtk=$GTK_CFLAGS
31596 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31603 if test "$gtk_version_cached" = 1; then
31604 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31605 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31608 case "$wx_cv_lib_gtk" in
31617 *) { { echo "$as_me:$LINENO: error:
31618 The development files for GTK+ were not found. For GTK+ 2, please
31619 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31620 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31621 and that the version is 1.2.3 or above. Also check that the
31622 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31623 --libs' are in the LD_LIBRARY_PATH or equivalent.
31625 echo "$as_me: error:
31626 The development files for GTK+ were not found. For GTK+ 2, please
31627 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31628 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31629 and that the version is 1.2.3 or above. Also check that the
31630 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31631 --libs' are in the LD_LIBRARY_PATH or equivalent.
31633 { (exit 1); exit 1; }; }
31637 if test "$WXGTK2" = 1; then
31638 save_CFLAGS="$CFLAGS"
31640 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31641 LIBS="$LIBS $wx_cv_libs_gtk"
31643 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31644 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31645 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31648 cat >conftest.$ac_ext <<_ACEOF
31651 cat confdefs.h >>conftest.$ac_ext
31652 cat >>conftest.$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31654 #include <gtk/gtk.h>
31659 #ifndef gtk_icon_size_lookup
31660 (void) gtk_icon_size_lookup;
31667 rm -f conftest.$ac_objext
31668 if { (ac_try="$ac_compile"
31669 case "(($ac_try" in
31670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31671 *) ac_try_echo=$ac_try;;
31673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31674 (eval "$ac_compile") 2>conftest.er1
31676 grep -v '^
*+' conftest.er1 >conftest.err
31678 cat conftest.err >&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); } && {
31681 test -z "$ac_c_werror_flag" ||
31682 test ! -s conftest.err
31683 } && test -s conftest.$ac_objext; then
31684 ac_cv_have_decl_gtk_icon_size_lookup=yes
31686 echo "$as_me: failed program was:" >&5
31687 sed 's
/^
/| /' conftest.$ac_ext >&5
31689 ac_cv_have_decl_gtk_icon_size_lookup=no
31692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31694 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31695 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31696 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31698 cat >>confdefs.h <<_ACEOF
31699 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31704 cat >>confdefs.h <<_ACEOF
31705 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31708 cat >>confdefs.h <<\_ACEOF
31709 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31717 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31718 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31719 cat >conftest.$ac_ext <<_ACEOF
31722 cat confdefs.h >>conftest.$ac_ext
31723 cat >>conftest.$ac_ext <<_ACEOF
31724 /* end confdefs.h. */
31726 #include <gtk/gtk.h>
31732 #if !GTK_CHECK_VERSION(2,10,0)
31740 rm -f conftest.$ac_objext
31741 if { (ac_try="$ac_compile"
31742 case "(($ac_try" in
31743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31744 *) ac_try_echo=$ac_try;;
31746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31747 (eval "$ac_compile") 2>conftest.er1
31749 grep -v '^
*+' conftest.er1 >conftest.err
31751 cat conftest.err >&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); } && {
31754 test -z "$ac_c_werror_flag" ||
31755 test ! -s conftest.err
31756 } && test -s conftest.$ac_objext; then
31758 cat >>confdefs.h <<\_ACEOF
31759 #define __WXGTK210__ 1
31762 cat >>confdefs.h <<\_ACEOF
31763 #define __WXGTK26__ 1
31766 { echo "$as_me:$LINENO: result: yes" >&5
31767 echo "${ECHO_T}yes" >&6; }
31771 echo "$as_me: failed program was:" >&5
31772 sed 's
/^
/| /' conftest.$ac_ext >&5
31775 { echo "$as_me:$LINENO: result: no" >&5
31776 echo "${ECHO_T}no" >&6; }
31781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31783 if test "$ac_wxgtk210" = 0; then
31784 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31785 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31786 cat >conftest.$ac_ext <<_ACEOF
31789 cat confdefs.h >>conftest.$ac_ext
31790 cat >>conftest.$ac_ext <<_ACEOF
31791 /* end confdefs.h. */
31793 #include <gtk/gtk.h>
31799 #if !GTK_CHECK_VERSION(2,6,0)
31807 rm -f conftest.$ac_objext
31808 if { (ac_try="$ac_compile"
31809 case "(($ac_try" in
31810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31811 *) ac_try_echo=$ac_try;;
31813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31814 (eval "$ac_compile") 2>conftest.er1
31816 grep -v '^
*+' conftest.er1 >conftest.err
31818 cat conftest.err >&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); } && {
31821 test -z "$ac_c_werror_flag" ||
31822 test ! -s conftest.err
31823 } && test -s conftest.$ac_objext; then
31825 cat >>confdefs.h <<\_ACEOF
31826 #define __WXGTK26__ 1
31829 { echo "$as_me:$LINENO: result: yes" >&5
31830 echo "${ECHO_T}yes" >&6; }
31834 echo "$as_me: failed program was:" >&5
31835 sed 's
/^
/| /' conftest.$ac_ext >&5
31838 { echo "$as_me:$LINENO: result: no" >&5
31839 echo "${ECHO_T}no" >&6; }
31844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31847 CFLAGS="$save_CFLAGS"
31850 if test "$wxUSE_UNICODE" = "yes"; then
31851 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31852 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31856 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31857 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31858 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31859 echo $ECHO_N "(cached) $ECHO_C" >&6
31861 ac_check_lib_save_LIBS=$LIBS
31863 cat >conftest.$ac_ext <<_ACEOF
31866 cat confdefs.h >>conftest.$ac_ext
31867 cat >>conftest.$ac_ext <<_ACEOF
31868 /* end confdefs.h. */
31870 /* Override any GCC internal prototype to avoid an error.
31871 Use char because int might match the return type of a GCC
31872 builtin and then its argument prototype would still apply. */
31876 char gdk_im_open ();
31880 return gdk_im_open ();
31885 rm -f conftest.$ac_objext conftest$ac_exeext
31886 if { (ac_try="$ac_link"
31887 case "(($ac_try" in
31888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31889 *) ac_try_echo=$ac_try;;
31891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31892 (eval "$ac_link") 2>conftest.er1
31894 grep -v '^
*+' conftest.er1 >conftest.err
31896 cat conftest.err >&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); } && {
31899 test -z "$ac_c_werror_flag" ||
31900 test ! -s conftest.err
31901 } && test -s conftest$ac_exeext &&
31902 $as_test_x conftest$ac_exeext; then
31903 ac_cv_lib_gdk_gdk_im_open=yes
31905 echo "$as_me: failed program was:" >&5
31906 sed 's
/^
/| /' conftest.$ac_ext >&5
31908 ac_cv_lib_gdk_gdk_im_open=no
31911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31912 conftest$ac_exeext conftest.$ac_ext
31913 LIBS=$ac_check_lib_save_LIBS
31915 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31916 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31917 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31918 cat >>confdefs.h <<\_ACEOF
31925 if test "$USE_DARWIN" != 1; then
31927 for ac_func in poll
31929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31930 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31932 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31933 echo $ECHO_N "(cached) $ECHO_C" >&6
31935 cat >conftest.$ac_ext <<_ACEOF
31938 cat confdefs.h >>conftest.$ac_ext
31939 cat >>conftest.$ac_ext <<_ACEOF
31940 /* end confdefs.h. */
31941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31943 #define $ac_func innocuous_$ac_func
31945 /* System header to define __stub macros and hopefully few prototypes,
31946 which can conflict with char $ac_func (); below.
31947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31948 <limits.h> exists even on freestanding compilers. */
31951 # include <limits.h>
31953 # include <assert.h>
31958 /* Override any GCC internal prototype to avoid an error.
31959 Use char because int might match the return type of a GCC
31960 builtin and then its argument prototype would still apply. */
31965 /* The GNU C library defines this for functions which it implements
31966 to always fail with ENOSYS. Some functions are actually named
31967 something starting with __ and the normal name is an alias. */
31968 #if defined __stub_$ac_func || defined __stub___$ac_func
31975 return $ac_func ();
31980 rm -f conftest.$ac_objext conftest$ac_exeext
31981 if { (ac_try="$ac_link"
31982 case "(($ac_try" in
31983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31984 *) ac_try_echo=$ac_try;;
31986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31987 (eval "$ac_link") 2>conftest.er1
31989 grep -v '^
*+' conftest.er1 >conftest.err
31991 cat conftest.err >&5
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); } && {
31994 test -z "$ac_c_werror_flag" ||
31995 test ! -s conftest.err
31996 } && test -s conftest$ac_exeext &&
31997 $as_test_x conftest$ac_exeext; then
31998 eval "$as_ac_var=yes"
32000 echo "$as_me: failed program was:" >&5
32001 sed 's
/^
/| /' conftest.$ac_ext >&5
32003 eval "$as_ac_var=no"
32006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32007 conftest$ac_exeext conftest.$ac_ext
32009 ac_res=`eval echo '${'$as_ac_var'}'`
32010 { echo "$as_me:$LINENO: result: $ac_res" >&5
32011 echo "${ECHO_T}$ac_res" >&6; }
32012 if test `eval echo '${'$as_ac_var'}'` = yes; then
32013 cat >>confdefs.h <<_ACEOF
32014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32023 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32024 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32026 AFMINSTALL=afminstall
32030 if test "$wxUSE_GPE" = "yes"; then
32031 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32032 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32035 for ac_dir in $SEARCH_LIB;
32037 for ac_extension in a so sl dylib dll.a; do
32038 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32039 ac_find_libraries=$ac_dir
32045 if test "$ac_find_libraries" != "" ; then
32047 if test "$ac_find_libraries" = "default location"; then
32050 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32052 if test $result = 0; then
32055 ac_path_to_link=" -L$ac_find_libraries"
32059 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32061 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32062 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32064 { echo "$as_me:$LINENO: result: not found" >&5
32065 echo "${ECHO_T}not found" >&6; }
32071 if test "$wxUSE_MGL" = 1; then
32072 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32073 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32074 if test "x$MGL_ROOT" = x ; then
32075 { echo "$as_me:$LINENO: result: not found" >&5
32076 echo "${ECHO_T}not found" >&6; }
32077 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32078 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32079 { (exit 1); exit 1; }; }
32081 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32082 echo "${ECHO_T}$MGL_ROOT" >&6; }
32085 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32086 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32089 if test "x$wxUSE_SHARED" = xyes ; then
32090 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32092 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32096 mgl_os_candidates="dos32/dj2"
32099 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32100 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32101 { (exit 1); exit 1; }; }
32107 for mgl_os_i in $mgl_os_candidates ; do
32108 if test "x$mgl_os" = x ; then
32109 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32110 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32111 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32116 if test "x$mgl_lib_type" = x ; then
32117 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32118 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32119 mgl_lib_type=release
32126 if test "x$mgl_os" = x ; then
32127 { echo "$as_me:$LINENO: result: not found" >&5
32128 echo "${ECHO_T}not found" >&6; }
32129 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32130 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32131 { (exit 1); exit 1; }; }
32133 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32134 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32136 wxUSE_UNIVERSAL="yes"
32138 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32139 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32141 AFMINSTALL=afminstall
32146 if test "$wxUSE_DFB" = 1; then
32149 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32150 if test -n "$ac_tool_prefix"; then
32151 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32152 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32155 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32156 echo $ECHO_N "(cached) $ECHO_C" >&6
32158 case $PKG_CONFIG in
32160 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32164 for as_dir in $PATH
32167 test -z "$as_dir" && as_dir=.
32168 for ac_exec_ext in '' $ac_executable_extensions; do
32169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32170 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32181 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32182 if test -n "$PKG_CONFIG"; then
32183 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32184 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32186 { echo "$as_me:$LINENO: result: no" >&5
32187 echo "${ECHO_T}no" >&6; }
32192 if test -z "$ac_cv_path_PKG_CONFIG"; then
32193 ac_pt_PKG_CONFIG=$PKG_CONFIG
32194 # Extract the first word of "pkg-config", so it can be a program name with args.
32195 set dummy pkg-config; ac_word=$2
32196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32198 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32199 echo $ECHO_N "(cached) $ECHO_C" >&6
32201 case $ac_pt_PKG_CONFIG in
32203 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32207 for as_dir in $PATH
32210 test -z "$as_dir" && as_dir=.
32211 for ac_exec_ext in '' $ac_executable_extensions; do
32212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32213 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32224 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32225 if test -n "$ac_pt_PKG_CONFIG"; then
32226 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32227 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32229 { echo "$as_me:$LINENO: result: no" >&5
32230 echo "${ECHO_T}no" >&6; }
32233 if test "x$ac_pt_PKG_CONFIG" = x; then
32236 case $cross_compiling:$ac_tool_warned in
32238 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32239 whose name does not start with the host triplet. If you think this
32240 configuration is useful to you, please write to autoconf@gnu.org." >&5
32241 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32242 whose name does not start with the host triplet. If you think this
32243 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32244 ac_tool_warned=yes ;;
32246 PKG_CONFIG=$ac_pt_PKG_CONFIG
32249 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32253 if test -n "$PKG_CONFIG"; then
32254 _pkg_min_version=0.9.0
32255 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32256 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32257 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32258 { echo "$as_me:$LINENO: result: yes" >&5
32259 echo "${ECHO_T}yes" >&6; }
32261 { echo "$as_me:$LINENO: result: no" >&5
32262 echo "${ECHO_T}no" >&6; }
32270 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32271 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32273 if test -n "$PKG_CONFIG"; then
32274 if test -n "$DIRECTFB_CFLAGS"; then
32275 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32277 if test -n "$PKG_CONFIG" && \
32278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32279 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; then
32283 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32291 if test -n "$PKG_CONFIG"; then
32292 if test -n "$DIRECTFB_LIBS"; then
32293 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32295 if test -n "$PKG_CONFIG" && \
32296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32297 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; then
32301 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32312 if test $pkg_failed = yes; then
32314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32315 _pkg_short_errors_supported=yes
32317 _pkg_short_errors_supported=no
32319 if test $_pkg_short_errors_supported = yes; then
32320 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32322 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32324 # Put the nasty error message in config.log where it belongs
32325 echo "$DIRECTFB_PKG_ERRORS" >&5
32328 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32329 echo "$as_me: error: DirectFB not found." >&2;}
32330 { (exit 1); exit 1; }; }
32333 elif test $pkg_failed = untried; then
32335 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32336 echo "$as_me: error: DirectFB not found." >&2;}
32337 { (exit 1); exit 1; }; }
32341 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32342 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32343 { echo "$as_me:$LINENO: result: yes" >&5
32344 echo "${ECHO_T}yes" >&6; }
32346 wxUSE_UNIVERSAL="yes"
32347 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32348 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32355 if test "$wxUSE_MICROWIN" = 1; then
32356 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32357 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32358 if test "x$MICROWINDOWS" = x ; then
32359 { echo "$as_me:$LINENO: result: not found" >&5
32360 echo "${ECHO_T}not found" >&6; }
32361 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32362 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32363 { (exit 1); exit 1; }; }
32365 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32366 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32369 if test -f $MICROWINDOWS/lib/libmwin.a; then
32370 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32371 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32373 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32374 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32375 { (exit 1); exit 1; }; }
32378 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32379 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32381 wxUSE_UNIVERSAL="yes"
32383 AFMINSTALL=afminstall
32385 GUIDIST=MICROWIN_DIST
32387 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32390 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32391 { echo "$as_me:$LINENO: checking for X" >&5
32392 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32395 # Check whether --with-x was given.
32396 if test "${with_x+set}" = set; then
32400 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32401 if test "x$with_x" = xno; then
32402 # The user explicitly disabled X.
32405 case $x_includes,$x_libraries in #(
32406 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32407 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32408 { (exit 1); exit 1; }; };; #(
32409 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32412 # One or both of the vars are not set, and there is no cached value.
32413 ac_x_includes=no ac_x_libraries=no
32414 rm -f -r conftest.dir
32415 if mkdir conftest.dir; then
32417 cat >Imakefile <<'_ACEOF'
32419 @echo incroot='${INCROOT}'
32421 @echo usrlibdir='${USRLIBDIR}'
32423 @echo libdir='${LIBDIR}'
32425 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32426 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32427 for ac_var in incroot usrlibdir libdir; do
32428 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32430 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32431 for ac_extension in a so sl; do
32432 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32433 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32434 ac_im_usrlibdir=$ac_im_libdir; break
32437 # Screen out bogus values from the imake configuration. They are
32438 # bogus both because they are the default anyway, and because
32439 # using them would break gcc on systems where it needs fixed includes.
32440 case $ac_im_incroot in
32441 /usr/include) ac_x_includes= ;;
32442 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32444 case $ac_im_usrlibdir in
32445 /usr/lib | /lib) ;;
32446 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32450 rm -f -r conftest.dir
32453 # Standard set of common directories for X headers.
32454 # Check X11 before X11Rn because it is often a symlink to the current release.
32466 /usr
/local
/X
11/include
32467 /usr
/local
/X
11R
6/include
32468 /usr
/local
/X
11R
5/include
32469 /usr
/local
/X
11R
4/include
32471 /usr
/local
/include
/X11
32472 /usr
/local
/include
/X11R6
32473 /usr
/local
/include
/X11R5
32474 /usr
/local
/include
/X11R4
32478 /usr
/XFree
86/include
/X11
32482 /usr
/unsupported
/include
32483 /usr
/athena
/include
32484 /usr
/local
/x
11r
5/include
32485 /usr
/lpp
/Xamples
/include
32487 /usr
/openwin
/include
32488 /usr
/openwin
/share
/include
'
32490 if test "$ac_x_includes" = no; then
32491 # Guess where to find include files, by looking for Xlib.h.
32492 # First, try using that file with no special directory specified.
32493 cat >conftest.$ac_ext <<_ACEOF
32496 cat confdefs.h >>conftest.$ac_ext
32497 cat >>conftest.$ac_ext <<_ACEOF
32498 /* end confdefs.h. */
32499 #include <X11/Xlib.h>
32501 if { (ac_try="$ac_cpp conftest.$ac_ext"
32502 case "(($ac_try" in
32503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32504 *) ac_try_echo=$ac_try;;
32506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32507 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32509 grep -v '^
*+' conftest.er1 >conftest.err
32511 cat conftest.err >&5
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); } >/dev/null && {
32514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32515 test ! -s conftest.err
32517 # We can compile using X headers with no special include directory.
32520 echo "$as_me: failed program was:" >&5
32521 sed 's
/^
/| /' conftest.$ac_ext >&5
32523 for ac_dir in $ac_x_header_dirs; do
32524 if test -r "$ac_dir/X11/Xlib.h"; then
32525 ac_x_includes=$ac_dir
32531 rm -f conftest.err conftest.$ac_ext
32532 fi # $ac_x_includes = no
32534 if test "$ac_x_libraries" = no; then
32535 # Check for the libraries.
32536 # See if we find them without any special options.
32537 # Don't add to
$LIBS permanently.
32540 cat >conftest.
$ac_ext <<_ACEOF
32543 cat confdefs.h
>>conftest.
$ac_ext
32544 cat >>conftest.
$ac_ext <<_ACEOF
32545 /* end confdefs.h. */
32546 #include <X11/Xlib.h>
32555 rm -f conftest.
$ac_objext conftest
$ac_exeext
32556 if { (ac_try
="$ac_link"
32557 case "(($ac_try" in
32558 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32559 *) ac_try_echo=$ac_try;;
32561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32562 (eval "$ac_link") 2>conftest.er1
32564 grep -v '^ *+' conftest.er1 >conftest.err
32566 cat conftest.err >&5
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); } && {
32569 test -z "$ac_c_werror_flag" ||
32570 test ! -s conftest.err
32571 } && test -s conftest$ac_exeext &&
32572 $as_test_x conftest$ac_exeext; then
32574 # We can link X programs with no special library path.
32577 echo "$as_me: failed program was:" >&5
32578 sed 's/^/| /' conftest.$ac_ext >&5
32581 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32583 # Don't even attempt the hair of trying to link an X program!
32584 for ac_extension in a so sl; do
32585 if test -r "$ac_dir/libX11.$ac_extension"; then
32586 ac_x_libraries=$ac_dir
32593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32594 conftest$ac_exeext conftest.$ac_ext
32595 fi # $ac_x_libraries = no
32597 case $ac_x_includes,$ac_x_libraries in #(
32598 no,* | *,no | *\'*)
32599 # Didn't find X, or a directory has "'" in its name.
32600 ac_cv_have_x="have_x=no";; #(
32602 # Record where we found X for the cache.
32603 ac_cv_have_x="have_x=yes\
32604 ac_x_includes='$ac_x_includes'\
32605 ac_x_libraries='$ac_x_libraries'"
32611 eval "$ac_cv_have_x"
32614 if test "$have_x" != yes; then
32615 { echo "$as_me:$LINENO: result: $have_x" >&5
32616 echo "${ECHO_T}$have_x" >&6; }
32619 # If each of the values was on the command line, it overrides each guess.
32620 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32621 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32622 # Update the cache value to reflect the command line values.
32623 ac_cv_have_x="have_x=yes\
32624 ac_x_includes='$x_includes'\
32625 ac_x_libraries='$x_libraries'"
32626 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32627 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32630 if test "$no_x" = yes; then
32631 # Not all programs may use this symbol, but it does not hurt to define it.
32633 cat >>confdefs.h <<\_ACEOF
32634 #define X_DISPLAY_MISSING 1
32637 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32639 if test -n "$x_includes"; then
32640 X_CFLAGS="$X_CFLAGS -I$x_includes"
32643 # It would also be nice to do this for all -L options, not just this one.
32644 if test -n "$x_libraries"; then
32645 X_LIBS="$X_LIBS -L$x_libraries"
32646 # For Solaris; some versions of Sun CC require a space after -R and
32647 # others require no space. Words are not sufficient . . . .
32648 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32649 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32650 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32651 ac_xsave_c_werror_flag=$ac_c_werror_flag
32652 ac_c_werror_flag=yes
32653 cat >conftest.$ac_ext <<_ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32668 rm -f conftest.$ac_objext conftest$ac_exeext
32669 if { (ac_try="$ac_link"
32670 case "(($ac_try" in
32671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32672 *) ac_try_echo
=$ac_try;;
32674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32675 (eval "$ac_link") 2>conftest.er1
32677 grep -v '^ *+' conftest.er1
>conftest.err
32679 cat conftest.err
>&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); } && {
32682 test -z "$ac_c_werror_flag" ||
32683 test ! -s conftest.err
32684 } && test -s conftest
$ac_exeext &&
32685 $as_test_x conftest
$ac_exeext; then
32686 { echo "$as_me:$LINENO: result: no" >&5
32687 echo "${ECHO_T}no" >&6; }
32688 X_LIBS
="$X_LIBS -R$x_libraries"
32690 echo "$as_me: failed program was:" >&5
32691 sed 's/^/| /' conftest.
$ac_ext >&5
32693 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32694 cat >conftest.
$ac_ext <<_ACEOF
32697 cat confdefs.h
>>conftest.
$ac_ext
32698 cat >>conftest.
$ac_ext <<_ACEOF
32699 /* end confdefs.h. */
32709 rm -f conftest.
$ac_objext conftest
$ac_exeext
32710 if { (ac_try
="$ac_link"
32711 case "(($ac_try" in
32712 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32713 *) ac_try_echo=$ac_try;;
32715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32716 (eval "$ac_link") 2>conftest.er1
32718 grep -v '^ *+' conftest.er1 >conftest.err
32720 cat conftest.err >&5
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); } && {
32723 test -z "$ac_c_werror_flag" ||
32724 test ! -s conftest.err
32725 } && test -s conftest$ac_exeext &&
32726 $as_test_x conftest$ac_exeext; then
32727 { echo "$as_me:$LINENO: result: yes" >&5
32728 echo "${ECHO_T}yes" >&6; }
32729 X_LIBS="$X_LIBS -R $x_libraries"
32731 echo "$as_me: failed program was:" >&5
32732 sed 's/^/| /' conftest.$ac_ext >&5
32734 { echo "$as_me:$LINENO: result: neither works" >&5
32735 echo "${ECHO_T}neither works" >&6; }
32738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32739 conftest$ac_exeext conftest.$ac_ext
32742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32743 conftest$ac_exeext conftest.$ac_ext
32744 ac_c_werror_flag=$ac_xsave_c_werror_flag
32745 LIBS=$ac_xsave_LIBS
32748 # Check for system-dependent libraries X programs must link with.
32749 # Do this before checking for the system-independent R6 libraries
32750 # (-lICE), since we may need -lsocket or whatever for X linking.
32752 if test "$ISC" = yes; then
32753 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32755 # Martyn Johnson says this is needed for Ultrix, if the X
32756 # libraries were built with DECnet support. And Karl Berry says
32757 # the Alpha needs dnet_stub (dnet does not exist).
32758 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32759 cat >conftest.$ac_ext <<_ACEOF
32762 cat confdefs.h >>conftest.$ac_ext
32763 cat >>conftest.$ac_ext <<_ACEOF
32764 /* end confdefs.h. */
32766 /* Override any GCC internal prototype to avoid an error.
32767 Use char because int might match the return type of a GCC
32768 builtin and then its argument prototype would still apply. */
32772 char XOpenDisplay ();
32776 return XOpenDisplay ();
32781 rm -f conftest.$ac_objext conftest$ac_exeext
32782 if { (ac_try="$ac_link"
32783 case "(($ac_try" in
32784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32785 *) ac_try_echo
=$ac_try;;
32787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32788 (eval "$ac_link") 2>conftest.er1
32790 grep -v '^ *+' conftest.er1
>conftest.err
32792 cat conftest.err
>&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); } && {
32795 test -z "$ac_c_werror_flag" ||
32796 test ! -s conftest.err
32797 } && test -s conftest
$ac_exeext &&
32798 $as_test_x conftest
$ac_exeext; then
32801 echo "$as_me: failed program was:" >&5
32802 sed 's/^/| /' conftest.
$ac_ext >&5
32804 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32805 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32806 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32807 echo $ECHO_N "(cached) $ECHO_C" >&6
32809 ac_check_lib_save_LIBS
=$LIBS
32810 LIBS
="-ldnet $LIBS"
32811 cat >conftest.
$ac_ext <<_ACEOF
32814 cat confdefs.h
>>conftest.
$ac_ext
32815 cat >>conftest.
$ac_ext <<_ACEOF
32816 /* end confdefs.h. */
32818 /* Override any GCC internal prototype to avoid an error.
32819 Use char because int might match the return type of a GCC
32820 builtin and then its argument prototype would still apply. */
32828 return dnet_ntoa ();
32833 rm -f conftest.
$ac_objext conftest
$ac_exeext
32834 if { (ac_try
="$ac_link"
32835 case "(($ac_try" in
32836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32837 *) ac_try_echo=$ac_try;;
32839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32840 (eval "$ac_link") 2>conftest.er1
32842 grep -v '^ *+' conftest.er1 >conftest.err
32844 cat conftest.err >&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); } && {
32847 test -z "$ac_c_werror_flag" ||
32848 test ! -s conftest.err
32849 } && test -s conftest$ac_exeext &&
32850 $as_test_x conftest$ac_exeext; then
32851 ac_cv_lib_dnet_dnet_ntoa=yes
32853 echo "$as_me: failed program was:" >&5
32854 sed 's/^/| /' conftest.$ac_ext >&5
32856 ac_cv_lib_dnet_dnet_ntoa=no
32859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32860 conftest$ac_exeext conftest.$ac_ext
32861 LIBS=$ac_check_lib_save_LIBS
32863 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32864 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32865 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32866 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32869 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32870 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32871 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32872 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32873 echo $ECHO_N "(cached) $ECHO_C" >&6
32875 ac_check_lib_save_LIBS=$LIBS
32876 LIBS="-ldnet_stub $LIBS"
32877 cat >conftest.$ac_ext <<_ACEOF
32880 cat confdefs.h >>conftest.$ac_ext
32881 cat >>conftest.$ac_ext <<_ACEOF
32882 /* end confdefs.h. */
32884 /* Override any GCC internal prototype to avoid an error.
32885 Use char because int might match the return type of a GCC
32886 builtin and then its argument prototype would still apply. */
32894 return dnet_ntoa ();
32899 rm -f conftest.$ac_objext conftest$ac_exeext
32900 if { (ac_try="$ac_link"
32901 case "(($ac_try" in
32902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32903 *) ac_try_echo
=$ac_try;;
32905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32906 (eval "$ac_link") 2>conftest.er1
32908 grep -v '^ *+' conftest.er1
>conftest.err
32910 cat conftest.err
>&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); } && {
32913 test -z "$ac_c_werror_flag" ||
32914 test ! -s conftest.err
32915 } && test -s conftest
$ac_exeext &&
32916 $as_test_x conftest
$ac_exeext; then
32917 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32919 echo "$as_me: failed program was:" >&5
32920 sed 's/^/| /' conftest.
$ac_ext >&5
32922 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32925 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32926 conftest
$ac_exeext conftest.
$ac_ext
32927 LIBS
=$ac_check_lib_save_LIBS
32929 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32930 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32931 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32932 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32938 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32939 conftest
$ac_exeext conftest.
$ac_ext
32940 LIBS
="$ac_xsave_LIBS"
32942 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32943 # to get the SysV transport functions.
32944 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32946 # The nsl library prevents programs from opening the X display
32947 # on Irix 5.2, according to T.E. Dickey.
32948 # The functions gethostbyname, getservbyname, and inet_addr are
32949 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32950 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32951 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32952 if test "${ac_cv_func_gethostbyname+set}" = set; then
32953 echo $ECHO_N "(cached) $ECHO_C" >&6
32955 cat >conftest.
$ac_ext <<_ACEOF
32958 cat confdefs.h
>>conftest.
$ac_ext
32959 cat >>conftest.
$ac_ext <<_ACEOF
32960 /* end confdefs.h. */
32961 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32963 #define gethostbyname innocuous_gethostbyname
32965 /* System header to define __stub macros and hopefully few prototypes,
32966 which can conflict with char gethostbyname (); below.
32967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32968 <limits.h> exists even on freestanding compilers. */
32971 # include <limits.h>
32973 # include <assert.h>
32976 #undef gethostbyname
32978 /* Override any GCC internal prototype to avoid an error.
32979 Use char because int might match the return type of a GCC
32980 builtin and then its argument prototype would still apply. */
32984 char gethostbyname ();
32985 /* The GNU C library defines this for functions which it implements
32986 to always fail with ENOSYS. Some functions are actually named
32987 something starting with __ and the normal name is an alias. */
32988 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32995 return gethostbyname ();
33000 rm -f conftest.
$ac_objext conftest
$ac_exeext
33001 if { (ac_try
="$ac_link"
33002 case "(($ac_try" in
33003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33004 *) ac_try_echo=$ac_try;;
33006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33007 (eval "$ac_link") 2>conftest.er1
33009 grep -v '^ *+' conftest.er1 >conftest.err
33011 cat conftest.err >&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); } && {
33014 test -z "$ac_c_werror_flag" ||
33015 test ! -s conftest.err
33016 } && test -s conftest$ac_exeext &&
33017 $as_test_x conftest$ac_exeext; then
33018 ac_cv_func_gethostbyname=yes
33020 echo "$as_me: failed program was:" >&5
33021 sed 's/^/| /' conftest.$ac_ext >&5
33023 ac_cv_func_gethostbyname=no
33026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33027 conftest$ac_exeext conftest.$ac_ext
33029 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33030 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33032 if test $ac_cv_func_gethostbyname = no; then
33033 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33034 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33035 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33036 echo $ECHO_N "(cached) $ECHO_C" >&6
33038 ac_check_lib_save_LIBS=$LIBS
33040 cat >conftest.$ac_ext <<_ACEOF
33043 cat confdefs.h >>conftest.$ac_ext
33044 cat >>conftest.$ac_ext <<_ACEOF
33045 /* end confdefs.h. */
33047 /* Override any GCC internal prototype to avoid an error.
33048 Use char because int might match the return type of a GCC
33049 builtin and then its argument prototype would still apply. */
33053 char gethostbyname ();
33057 return gethostbyname ();
33062 rm -f conftest.$ac_objext conftest$ac_exeext
33063 if { (ac_try="$ac_link"
33064 case "(($ac_try" in
33065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33066 *) ac_try_echo
=$ac_try;;
33068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33069 (eval "$ac_link") 2>conftest.er1
33071 grep -v '^ *+' conftest.er1
>conftest.err
33073 cat conftest.err
>&5
33074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33075 (exit $ac_status); } && {
33076 test -z "$ac_c_werror_flag" ||
33077 test ! -s conftest.err
33078 } && test -s conftest
$ac_exeext &&
33079 $as_test_x conftest
$ac_exeext; then
33080 ac_cv_lib_nsl_gethostbyname
=yes
33082 echo "$as_me: failed program was:" >&5
33083 sed 's/^/| /' conftest.
$ac_ext >&5
33085 ac_cv_lib_nsl_gethostbyname
=no
33088 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33089 conftest
$ac_exeext conftest.
$ac_ext
33090 LIBS
=$ac_check_lib_save_LIBS
33092 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33093 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33094 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33095 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33098 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33099 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33100 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33101 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33102 echo $ECHO_N "(cached) $ECHO_C" >&6
33104 ac_check_lib_save_LIBS
=$LIBS
33106 cat >conftest.
$ac_ext <<_ACEOF
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33113 /* Override any GCC internal prototype to avoid an error.
33114 Use char because int might match the return type of a GCC
33115 builtin and then its argument prototype would still apply. */
33119 char gethostbyname ();
33123 return gethostbyname ();
33128 rm -f conftest.
$ac_objext conftest
$ac_exeext
33129 if { (ac_try
="$ac_link"
33130 case "(($ac_try" in
33131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33132 *) ac_try_echo=$ac_try;;
33134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33135 (eval "$ac_link") 2>conftest.er1
33137 grep -v '^ *+' conftest.er1 >conftest.err
33139 cat conftest.err >&5
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); } && {
33142 test -z "$ac_c_werror_flag" ||
33143 test ! -s conftest.err
33144 } && test -s conftest$ac_exeext &&
33145 $as_test_x conftest$ac_exeext; then
33146 ac_cv_lib_bsd_gethostbyname=yes
33148 echo "$as_me: failed program was:" >&5
33149 sed 's/^/| /' conftest.$ac_ext >&5
33151 ac_cv_lib_bsd_gethostbyname=no
33154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33155 conftest$ac_exeext conftest.$ac_ext
33156 LIBS=$ac_check_lib_save_LIBS
33158 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33159 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33160 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33161 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33167 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33168 # socket/setsockopt and other routines are undefined under SCO ODT
33169 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33170 # on later versions), says Simon Leinen: it contains gethostby*
33171 # variants that don't use the name server (or something). -lsocket
33172 # must be given before -lnsl if both are needed. We assume that
33173 # if connect needs -lnsl, so does gethostbyname.
33174 { echo "$as_me:$LINENO: checking for connect" >&5
33175 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33176 if test "${ac_cv_func_connect+set}" = set; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 cat >conftest.$ac_ext <<_ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33187 #define connect innocuous_connect
33189 /* System header to define __stub macros and hopefully few prototypes,
33190 which can conflict with char connect (); below.
33191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33192 <limits.h> exists even on freestanding compilers. */
33195 # include <limits.h>
33197 # include <assert.h>
33202 /* Override any GCC internal prototype to avoid an error.
33203 Use char because int might match the return type of a GCC
33204 builtin and then its argument prototype would still apply. */
33209 /* The GNU C library defines this for functions which it implements
33210 to always fail with ENOSYS. Some functions are actually named
33211 something starting with __ and the normal name is an alias. */
33212 #if defined __stub_connect || defined __stub___connect
33224 rm -f conftest.$ac_objext conftest$ac_exeext
33225 if { (ac_try="$ac_link"
33226 case "(($ac_try" in
33227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33228 *) ac_try_echo
=$ac_try;;
33230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33231 (eval "$ac_link") 2>conftest.er1
33233 grep -v '^ *+' conftest.er1
>conftest.err
33235 cat conftest.err
>&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } && {
33238 test -z "$ac_c_werror_flag" ||
33239 test ! -s conftest.err
33240 } && test -s conftest
$ac_exeext &&
33241 $as_test_x conftest
$ac_exeext; then
33242 ac_cv_func_connect
=yes
33244 echo "$as_me: failed program was:" >&5
33245 sed 's/^/| /' conftest.
$ac_ext >&5
33247 ac_cv_func_connect
=no
33250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33251 conftest
$ac_exeext conftest.
$ac_ext
33253 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33254 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33256 if test $ac_cv_func_connect = no
; then
33257 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33258 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33259 if test "${ac_cv_lib_socket_connect+set}" = set; then
33260 echo $ECHO_N "(cached) $ECHO_C" >&6
33262 ac_check_lib_save_LIBS
=$LIBS
33263 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33264 cat >conftest.
$ac_ext <<_ACEOF
33267 cat confdefs.h
>>conftest.
$ac_ext
33268 cat >>conftest.
$ac_ext <<_ACEOF
33269 /* end confdefs.h. */
33271 /* Override any GCC internal prototype to avoid an error.
33272 Use char because int might match the return type of a GCC
33273 builtin and then its argument prototype would still apply. */
33286 rm -f conftest.
$ac_objext conftest
$ac_exeext
33287 if { (ac_try
="$ac_link"
33288 case "(($ac_try" in
33289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33290 *) ac_try_echo=$ac_try;;
33292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33293 (eval "$ac_link") 2>conftest.er1
33295 grep -v '^ *+' conftest.er1 >conftest.err
33297 cat conftest.err >&5
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); } && {
33300 test -z "$ac_c_werror_flag" ||
33301 test ! -s conftest.err
33302 } && test -s conftest$ac_exeext &&
33303 $as_test_x conftest$ac_exeext; then
33304 ac_cv_lib_socket_connect=yes
33306 echo "$as_me: failed program was:" >&5
33307 sed 's/^/| /' conftest.$ac_ext >&5
33309 ac_cv_lib_socket_connect=no
33312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33313 conftest$ac_exeext conftest.$ac_ext
33314 LIBS=$ac_check_lib_save_LIBS
33316 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33317 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33318 if test $ac_cv_lib_socket_connect = yes; then
33319 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33324 # Guillermo Gomez says -lposix is necessary on A/UX.
33325 { echo "$as_me:$LINENO: checking for remove" >&5
33326 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33327 if test "${ac_cv_func_remove+set}" = set; then
33328 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 cat >conftest.$ac_ext <<_ACEOF
33333 cat confdefs.h >>conftest.$ac_ext
33334 cat >>conftest.$ac_ext <<_ACEOF
33335 /* end confdefs.h. */
33336 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33338 #define remove innocuous_remove
33340 /* System header to define __stub macros and hopefully few prototypes,
33341 which can conflict with char remove (); below.
33342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33343 <limits.h> exists even on freestanding compilers. */
33346 # include <limits.h>
33348 # include <assert.h>
33353 /* Override any GCC internal prototype to avoid an error.
33354 Use char because int might match the return type of a GCC
33355 builtin and then its argument prototype would still apply. */
33360 /* The GNU C library defines this for functions which it implements
33361 to always fail with ENOSYS. Some functions are actually named
33362 something starting with __ and the normal name is an alias. */
33363 #if defined __stub_remove || defined __stub___remove
33375 rm -f conftest.$ac_objext conftest$ac_exeext
33376 if { (ac_try="$ac_link"
33377 case "(($ac_try" in
33378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33379 *) ac_try_echo
=$ac_try;;
33381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33382 (eval "$ac_link") 2>conftest.er1
33384 grep -v '^ *+' conftest.er1
>conftest.err
33386 cat conftest.err
>&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); } && {
33389 test -z "$ac_c_werror_flag" ||
33390 test ! -s conftest.err
33391 } && test -s conftest
$ac_exeext &&
33392 $as_test_x conftest
$ac_exeext; then
33393 ac_cv_func_remove
=yes
33395 echo "$as_me: failed program was:" >&5
33396 sed 's/^/| /' conftest.
$ac_ext >&5
33398 ac_cv_func_remove
=no
33401 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33402 conftest
$ac_exeext conftest.
$ac_ext
33404 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33405 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33407 if test $ac_cv_func_remove = no
; then
33408 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33409 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33410 if test "${ac_cv_lib_posix_remove+set}" = set; then
33411 echo $ECHO_N "(cached) $ECHO_C" >&6
33413 ac_check_lib_save_LIBS
=$LIBS
33414 LIBS
="-lposix $LIBS"
33415 cat >conftest.
$ac_ext <<_ACEOF
33418 cat confdefs.h
>>conftest.
$ac_ext
33419 cat >>conftest.
$ac_ext <<_ACEOF
33420 /* end confdefs.h. */
33422 /* Override any GCC internal prototype to avoid an error.
33423 Use char because int might match the return type of a GCC
33424 builtin and then its argument prototype would still apply. */
33437 rm -f conftest.
$ac_objext conftest
$ac_exeext
33438 if { (ac_try
="$ac_link"
33439 case "(($ac_try" in
33440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33441 *) ac_try_echo=$ac_try;;
33443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33444 (eval "$ac_link") 2>conftest.er1
33446 grep -v '^ *+' conftest.er1 >conftest.err
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } && {
33451 test -z "$ac_c_werror_flag" ||
33452 test ! -s conftest.err
33453 } && test -s conftest$ac_exeext &&
33454 $as_test_x conftest$ac_exeext; then
33455 ac_cv_lib_posix_remove=yes
33457 echo "$as_me: failed program was:" >&5
33458 sed 's/^/| /' conftest.$ac_ext >&5
33460 ac_cv_lib_posix_remove=no
33463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33464 conftest$ac_exeext conftest.$ac_ext
33465 LIBS=$ac_check_lib_save_LIBS
33467 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33468 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33469 if test $ac_cv_lib_posix_remove = yes; then
33470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33475 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33476 { echo "$as_me:$LINENO: checking for shmat" >&5
33477 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33478 if test "${ac_cv_func_shmat+set}" = set; then
33479 echo $ECHO_N "(cached) $ECHO_C" >&6
33481 cat >conftest.$ac_ext <<_ACEOF
33484 cat confdefs.h >>conftest.$ac_ext
33485 cat >>conftest.$ac_ext <<_ACEOF
33486 /* end confdefs.h. */
33487 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33489 #define shmat innocuous_shmat
33491 /* System header to define __stub macros and hopefully few prototypes,
33492 which can conflict with char shmat (); below.
33493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33494 <limits.h> exists even on freestanding compilers. */
33497 # include <limits.h>
33499 # include <assert.h>
33504 /* Override any GCC internal prototype to avoid an error.
33505 Use char because int might match the return type of a GCC
33506 builtin and then its argument prototype would still apply. */
33511 /* The GNU C library defines this for functions which it implements
33512 to always fail with ENOSYS. Some functions are actually named
33513 something starting with __ and the normal name is an alias. */
33514 #if defined __stub_shmat || defined __stub___shmat
33526 rm -f conftest.$ac_objext conftest$ac_exeext
33527 if { (ac_try="$ac_link"
33528 case "(($ac_try" in
33529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33530 *) ac_try_echo
=$ac_try;;
33532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33533 (eval "$ac_link") 2>conftest.er1
33535 grep -v '^ *+' conftest.er1
>conftest.err
33537 cat conftest.err
>&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } && {
33540 test -z "$ac_c_werror_flag" ||
33541 test ! -s conftest.err
33542 } && test -s conftest
$ac_exeext &&
33543 $as_test_x conftest
$ac_exeext; then
33544 ac_cv_func_shmat
=yes
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.
$ac_ext >&5
33549 ac_cv_func_shmat
=no
33552 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33553 conftest
$ac_exeext conftest.
$ac_ext
33555 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33556 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33558 if test $ac_cv_func_shmat = no
; then
33559 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33560 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33561 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33562 echo $ECHO_N "(cached) $ECHO_C" >&6
33564 ac_check_lib_save_LIBS
=$LIBS
33566 cat >conftest.
$ac_ext <<_ACEOF
33569 cat confdefs.h
>>conftest.
$ac_ext
33570 cat >>conftest.
$ac_ext <<_ACEOF
33571 /* end confdefs.h. */
33573 /* Override any GCC internal prototype to avoid an error.
33574 Use char because int might match the return type of a GCC
33575 builtin and then its argument prototype would still apply. */
33588 rm -f conftest.
$ac_objext conftest
$ac_exeext
33589 if { (ac_try
="$ac_link"
33590 case "(($ac_try" in
33591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33592 *) ac_try_echo=$ac_try;;
33594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33595 (eval "$ac_link") 2>conftest.er1
33597 grep -v '^ *+' conftest.er1 >conftest.err
33599 cat conftest.err >&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); } && {
33602 test -z "$ac_c_werror_flag" ||
33603 test ! -s conftest.err
33604 } && test -s conftest$ac_exeext &&
33605 $as_test_x conftest$ac_exeext; then
33606 ac_cv_lib_ipc_shmat=yes
33608 echo "$as_me: failed program was:" >&5
33609 sed 's/^/| /' conftest.$ac_ext >&5
33611 ac_cv_lib_ipc_shmat=no
33614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33615 conftest$ac_exeext conftest.$ac_ext
33616 LIBS=$ac_check_lib_save_LIBS
33618 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33619 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33620 if test $ac_cv_lib_ipc_shmat = yes; then
33621 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33627 # Check for libraries that X11R6 Xt/Xaw programs need.
33628 ac_save_LDFLAGS=$LDFLAGS
33629 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33630 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33631 # check for ICE first), but we must link in the order -lSM -lICE or
33632 # we get undefined symbols. So assume we have SM if we have ICE.
33633 # These have to be linked with before -lX11, unlike the other
33634 # libraries we check for below, so use a different variable.
33635 # John Interrante, Karl Berry
33636 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33637 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33638 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33639 echo $ECHO_N "(cached) $ECHO_C" >&6
33641 ac_check_lib_save_LIBS=$LIBS
33642 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33643 cat >conftest.$ac_ext <<_ACEOF
33646 cat confdefs.h >>conftest.$ac_ext
33647 cat >>conftest.$ac_ext <<_ACEOF
33648 /* end confdefs.h. */
33650 /* Override any GCC internal prototype to avoid an error.
33651 Use char because int might match the return type of a GCC
33652 builtin and then its argument prototype would still apply. */
33656 char IceConnectionNumber ();
33660 return IceConnectionNumber ();
33665 rm -f conftest.$ac_objext conftest$ac_exeext
33666 if { (ac_try="$ac_link"
33667 case "(($ac_try" in
33668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33669 *) ac_try_echo
=$ac_try;;
33671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33672 (eval "$ac_link") 2>conftest.er1
33674 grep -v '^ *+' conftest.er1
>conftest.err
33676 cat conftest.err
>&5
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); } && {
33679 test -z "$ac_c_werror_flag" ||
33680 test ! -s conftest.err
33681 } && test -s conftest
$ac_exeext &&
33682 $as_test_x conftest
$ac_exeext; then
33683 ac_cv_lib_ICE_IceConnectionNumber
=yes
33685 echo "$as_me: failed program was:" >&5
33686 sed 's/^/| /' conftest.
$ac_ext >&5
33688 ac_cv_lib_ICE_IceConnectionNumber
=no
33691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33692 conftest
$ac_exeext conftest.
$ac_ext
33693 LIBS
=$ac_check_lib_save_LIBS
33695 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33696 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33697 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33698 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33701 LDFLAGS
=$ac_save_LDFLAGS
33706 if test "$no_x" = "yes"; then
33707 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33708 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33709 { (exit 1); exit 1; }; }
33712 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33713 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33714 AFMINSTALL
=afminstall
33715 COMPILED_X_PROGRAM
=0
33719 if test "$wxUSE_X11" = 1; then
33720 if test "$wxUSE_NANOX" = "yes"; then
33721 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33722 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33723 if test "x$MICROWIN" = x
; then
33724 { echo "$as_me:$LINENO: result: not found" >&5
33725 echo "${ECHO_T}not found" >&6; }
33726 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33727 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33728 { (exit 1); exit 1; }; }
33730 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33731 echo "${ECHO_T}$MICROWIN" >&6; }
33732 cat >>confdefs.h
<<\_ACEOF
33733 #define wxUSE_NANOX 1
33739 if test "$wxUSE_UNICODE" = "yes"; then
33742 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33743 if test -n "$ac_tool_prefix"; then
33744 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33745 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33748 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33751 case $PKG_CONFIG in
33753 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33757 for as_dir
in $PATH
33760 test -z "$as_dir" && as_dir
=.
33761 for ac_exec_ext
in '' $ac_executable_extensions; do
33762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33763 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33774 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33775 if test -n "$PKG_CONFIG"; then
33776 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33777 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33779 { echo "$as_me:$LINENO: result: no" >&5
33780 echo "${ECHO_T}no" >&6; }
33785 if test -z "$ac_cv_path_PKG_CONFIG"; then
33786 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33787 # Extract the first word of "pkg-config", so it can be a program name with args.
33788 set dummy pkg
-config; ac_word
=$2
33789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33791 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33792 echo $ECHO_N "(cached) $ECHO_C" >&6
33794 case $ac_pt_PKG_CONFIG in
33796 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33800 for as_dir
in $PATH
33803 test -z "$as_dir" && as_dir
=.
33804 for ac_exec_ext
in '' $ac_executable_extensions; do
33805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33806 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33817 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33818 if test -n "$ac_pt_PKG_CONFIG"; then
33819 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33820 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33822 { echo "$as_me:$LINENO: result: no" >&5
33823 echo "${ECHO_T}no" >&6; }
33826 if test "x$ac_pt_PKG_CONFIG" = x
; then
33829 case $cross_compiling:$ac_tool_warned in
33831 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33832 whose name does not start with the host triplet. If you think this
33833 configuration is useful to you, please write to autoconf@gnu.org." >&5
33834 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33835 whose name does not start with the host triplet. If you think this
33836 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33837 ac_tool_warned
=yes ;;
33839 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33842 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33846 if test -n "$PKG_CONFIG"; then
33847 _pkg_min_version
=0.9.0
33848 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33849 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33850 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33851 { echo "$as_me:$LINENO: result: yes" >&5
33852 echo "${ECHO_T}yes" >&6; }
33854 { echo "$as_me:$LINENO: result: no" >&5
33855 echo "${ECHO_T}no" >&6; }
33863 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33864 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33866 if test -n "$PKG_CONFIG"; then
33867 if test -n "$PANGOX_CFLAGS"; then
33868 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33870 if test -n "$PKG_CONFIG" && \
33871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33872 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); }; then
33876 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33884 if test -n "$PKG_CONFIG"; then
33885 if test -n "$PANGOX_LIBS"; then
33886 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33888 if test -n "$PKG_CONFIG" && \
33889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33890 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33893 (exit $ac_status); }; then
33894 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33905 if test $pkg_failed = yes; then
33907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33908 _pkg_short_errors_supported
=yes
33910 _pkg_short_errors_supported
=no
33912 if test $_pkg_short_errors_supported = yes; then
33913 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33915 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33917 # Put the nasty error message in config.log where it belongs
33918 echo "$PANGOX_PKG_ERRORS" >&5
33921 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33922 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33923 { (exit 1); exit 1; }; }
33926 elif test $pkg_failed = untried
; then
33928 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33929 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33930 { (exit 1); exit 1; }; }
33934 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33935 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33936 { echo "$as_me:$LINENO: result: yes" >&5
33937 echo "${ECHO_T}yes" >&6; }
33939 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33940 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33941 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33946 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33947 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33949 if test -n "$PKG_CONFIG"; then
33950 if test -n "$PANGOFT2_CFLAGS"; then
33951 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33953 if test -n "$PKG_CONFIG" && \
33954 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33955 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); }; then
33959 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33967 if test -n "$PKG_CONFIG"; then
33968 if test -n "$PANGOFT2_LIBS"; then
33969 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33971 if test -n "$PKG_CONFIG" && \
33972 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33973 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; then
33977 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33988 if test $pkg_failed = yes; then
33990 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33991 _pkg_short_errors_supported
=yes
33993 _pkg_short_errors_supported
=no
33995 if test $_pkg_short_errors_supported = yes; then
33996 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33998 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34000 # Put the nasty error message in config.log where it belongs
34001 echo "$PANGOFT2_PKG_ERRORS" >&5
34004 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34005 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34006 wxUSE_PRINTING_ARCHITECTURE
="no"
34009 elif test $pkg_failed = untried
; then
34011 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34012 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34013 wxUSE_PRINTING_ARCHITECTURE
="no"
34017 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
34018 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
34019 { echo "$as_me:$LINENO: result: yes" >&5
34020 echo "${ECHO_T}yes" >&6; }
34022 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
34023 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
34024 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34029 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34030 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34032 if test -n "$PKG_CONFIG"; then
34033 if test -n "$PANGOXFT_CFLAGS"; then
34034 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
34036 if test -n "$PKG_CONFIG" && \
34037 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34038 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); }; then
34042 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34050 if test -n "$PKG_CONFIG"; then
34051 if test -n "$PANGOXFT_LIBS"; then
34052 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34054 if test -n "$PKG_CONFIG" && \
34055 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34056 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059 (exit $ac_status); }; then
34060 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34071 if test $pkg_failed = yes; then
34073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34074 _pkg_short_errors_supported
=yes
34076 _pkg_short_errors_supported
=no
34078 if test $_pkg_short_errors_supported = yes; then
34079 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34081 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34083 # Put the nasty error message in config.log where it belongs
34084 echo "$PANGOXFT_PKG_ERRORS" >&5
34087 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34088 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34091 elif test $pkg_failed = untried
; then
34093 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34094 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34098 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34099 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34100 { echo "$as_me:$LINENO: result: yes" >&5
34101 echo "${ECHO_T}yes" >&6; }
34103 cat >>confdefs.h
<<\_ACEOF
34104 #define HAVE_PANGO_XFT 1
34107 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34108 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34109 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34113 LIBS
="$LIBS $PANGOX_LIBS"
34115 for ac_func
in pango_font_family_is_monospace
34117 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34118 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34120 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34121 echo $ECHO_N "(cached) $ECHO_C" >&6
34123 cat >conftest.
$ac_ext <<_ACEOF
34126 cat confdefs.h
>>conftest.
$ac_ext
34127 cat >>conftest.
$ac_ext <<_ACEOF
34128 /* end confdefs.h. */
34129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34131 #define $ac_func innocuous_$ac_func
34133 /* System header to define __stub macros and hopefully few prototypes,
34134 which can conflict with char $ac_func (); below.
34135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34136 <limits.h> exists even on freestanding compilers. */
34139 # include <limits.h>
34141 # include <assert.h>
34146 /* Override any GCC internal prototype to avoid an error.
34147 Use char because int might match the return type of a GCC
34148 builtin and then its argument prototype would still apply. */
34153 /* The GNU C library defines this for functions which it implements
34154 to always fail with ENOSYS. Some functions are actually named
34155 something starting with __ and the normal name is an alias. */
34156 #if defined __stub_$ac_func || defined __stub___$ac_func
34163 return $ac_func ();
34168 rm -f conftest.
$ac_objext conftest
$ac_exeext
34169 if { (ac_try
="$ac_link"
34170 case "(($ac_try" in
34171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34172 *) ac_try_echo=$ac_try;;
34174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34175 (eval "$ac_link") 2>conftest.er1
34177 grep -v '^ *+' conftest.er1 >conftest.err
34179 cat conftest.err >&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); } && {
34182 test -z "$ac_c_werror_flag" ||
34183 test ! -s conftest.err
34184 } && test -s conftest$ac_exeext &&
34185 $as_test_x conftest$ac_exeext; then
34186 eval "$as_ac_var=yes"
34188 echo "$as_me: failed program was:" >&5
34189 sed 's/^/| /' conftest.$ac_ext >&5
34191 eval "$as_ac_var=no"
34194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34195 conftest$ac_exeext conftest.$ac_ext
34197 ac_res=`eval echo '${'$as_ac_var'}'`
34198 { echo "$as_me:$LINENO: result: $ac_res" >&5
34199 echo "${ECHO_T}$ac_res" >&6; }
34200 if test `eval echo '${'$as_ac_var'}'` = yes; then
34201 cat >>confdefs.h <<_ACEOF
34202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34211 wxUSE_UNIVERSAL="yes"
34213 if test "$wxUSE_NANOX" = "yes"; then
34214 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34215 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"
34216 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34225 if test "$wxUSE_MOTIF" = 1; then
34226 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34227 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34230 for ac_dir in $SEARCH_INCLUDE /usr/include;
34232 if test -f "$ac_dir/Xm/Xm.h"; then
34233 ac_find_includes=$ac_dir
34238 if test "$ac_find_includes" != "" ; then
34239 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34240 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34242 if test "x$ac_find_includes" = "x/usr/include"; then
34243 ac_path_to_include=""
34245 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34247 if test $result = 0; then
34248 ac_path_to_include=""
34250 ac_path_to_include=" -I$ac_find_includes"
34254 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34256 save_CFLAGS=$CFLAGS
34257 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34259 cat >conftest.$ac_ext <<_ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34273 version = xmUseVersion;
34279 rm -f conftest.$ac_objext
34280 if { (ac_try="$ac_compile"
34281 case "(($ac_try" in
34282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34283 *) ac_try_echo
=$ac_try;;
34285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34286 (eval "$ac_compile") 2>conftest.er1
34288 grep -v '^ *+' conftest.er1
>conftest.err
34290 cat conftest.err
>&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } && {
34293 test -z "$ac_c_werror_flag" ||
34294 test ! -s conftest.err
34295 } && test -s conftest.
$ac_objext; then
34297 { echo "$as_me:$LINENO: result: found in default search path" >&5
34298 echo "${ECHO_T}found in default search path" >&6; }
34299 COMPILED_X_PROGRAM
=1
34302 echo "$as_me: failed program was:" >&5
34303 sed 's/^/| /' conftest.
$ac_ext >&5
34306 { echo "$as_me:$LINENO: result: no" >&5
34307 echo "${ECHO_T}no" >&6; }
34308 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34309 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34310 { (exit 1); exit 1; }; }
34315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34317 CFLAGS
=$save_CFLAGS
34321 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34322 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34325 for ac_dir
in $SEARCH_LIB;
34327 for ac_extension
in a so sl dylib dll.a
; do
34328 if test -f "$ac_dir/libXm.$ac_extension"; then
34329 ac_find_libraries
=$ac_dir
34336 if test "x$ac_find_libraries" != "x" ; then
34337 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34338 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34341 if test "$ac_find_libraries" = "default location"; then
34344 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34346 if test $result = 0; then
34349 ac_path_to_link
=" -L$ac_find_libraries"
34353 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34355 save_CFLAGS
=$CFLAGS
34356 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34358 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34360 cat >conftest.
$ac_ext <<_ACEOF
34363 cat confdefs.h
>>conftest.
$ac_ext
34364 cat >>conftest.
$ac_ext <<_ACEOF
34365 /* end confdefs.h. */
34374 version = xmUseVersion;
34380 rm -f conftest.
$ac_objext conftest
$ac_exeext
34381 if { (ac_try
="$ac_link"
34382 case "(($ac_try" in
34383 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34384 *) ac_try_echo=$ac_try;;
34386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34387 (eval "$ac_link") 2>conftest.er1
34389 grep -v '^ *+' conftest.er1 >conftest.err
34391 cat conftest.err >&5
34392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34393 (exit $ac_status); } && {
34394 test -z "$ac_c_werror_flag" ||
34395 test ! -s conftest.err
34396 } && test -s conftest$ac_exeext &&
34397 $as_test_x conftest$ac_exeext; then
34399 { echo "$as_me:$LINENO: result: found in default search path" >&5
34400 echo "${ECHO_T}found in default search path" >&6; }
34401 COMPILED_X_PROGRAM=1
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.$ac_ext >&5
34408 { echo "$as_me:$LINENO: result: no" >&5
34409 echo "${ECHO_T}no" >&6; }
34410 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34411 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34412 { (exit 1); exit 1; }; }
34417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34418 conftest$ac_exeext conftest.$ac_ext
34420 CFLAGS=$save_CFLAGS
34424 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34425 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34429 for libp in "" " -lXp"; do
34430 if test "$libs_found" = "0"; then
34431 for libsm_ice in "" " -lSM -lICE"; do
34432 if test "$libs_found" = "0"; then
34434 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34435 save_CFLAGS=$CFLAGS
34436 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34438 cat >conftest.$ac_ext <<_ACEOF
34441 cat confdefs.h >>conftest.$ac_ext
34442 cat >>conftest.$ac_ext <<_ACEOF
34443 /* end confdefs.h. */
34446 #include <Xm/List.h>
34452 XmString string = NULL;
34455 XmListAddItem(w, string, position);
34461 rm -f conftest.$ac_objext conftest$ac_exeext
34462 if { (ac_try="$ac_link"
34463 case "(($ac_try" in
34464 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34465 *) ac_try_echo
=$ac_try;;
34467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34468 (eval "$ac_link") 2>conftest.er1
34470 grep -v '^ *+' conftest.er1
>conftest.err
34472 cat conftest.err
>&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } && {
34475 test -z "$ac_c_werror_flag" ||
34476 test ! -s conftest.err
34477 } && test -s conftest
$ac_exeext &&
34478 $as_test_x conftest
$ac_exeext; then
34481 libsm_ice_link
="$libsm_ice"
34482 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34483 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34487 echo "$as_me: failed program was:" >&5
34488 sed 's/^/| /' conftest.
$ac_ext >&5
34494 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34495 conftest
$ac_exeext conftest.
$ac_ext
34498 CFLAGS
=$save_CFLAGS
34504 if test "$libs_found" = "0"; then
34505 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34506 echo "${ECHO_T}can't find the right libraries" >&6; }
34507 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34508 echo "$as_me: error: can't link a simple motif program" >&2;}
34509 { (exit 1); exit 1; }; }
34512 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34513 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34514 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34515 echo $ECHO_N "(cached) $ECHO_C" >&6
34517 ac_check_lib_save_LIBS
=$LIBS
34519 cat >conftest.
$ac_ext <<_ACEOF
34522 cat confdefs.h
>>conftest.
$ac_ext
34523 cat >>conftest.
$ac_ext <<_ACEOF
34524 /* end confdefs.h. */
34526 /* Override any GCC internal prototype to avoid an error.
34527 Use char because int might match the return type of a GCC
34528 builtin and then its argument prototype would still apply. */
34532 char SgCreateList ();
34536 return SgCreateList ();
34541 rm -f conftest.
$ac_objext conftest
$ac_exeext
34542 if { (ac_try
="$ac_link"
34543 case "(($ac_try" in
34544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34545 *) ac_try_echo=$ac_try;;
34547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34548 (eval "$ac_link") 2>conftest.er1
34550 grep -v '^ *+' conftest.er1 >conftest.err
34552 cat conftest.err >&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); } && {
34555 test -z "$ac_c_werror_flag" ||
34556 test ! -s conftest.err
34557 } && test -s conftest$ac_exeext &&
34558 $as_test_x conftest$ac_exeext; then
34559 ac_cv_lib_Sgm_SgCreateList=yes
34561 echo "$as_me: failed program was:" >&5
34562 sed 's/^/| /' conftest.$ac_ext >&5
34564 ac_cv_lib_Sgm_SgCreateList=no
34567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34568 conftest$ac_exeext conftest.$ac_ext
34569 LIBS=$ac_check_lib_save_LIBS
34571 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34572 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34573 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34574 libsgm_link=" -lSgm"
34578 save_CFLAGS=$CFLAGS
34579 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34581 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34582 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34583 if test "${wx_cv_lib_motif2+set}" = set; then
34584 echo $ECHO_N "(cached) $ECHO_C" >&6
34586 cat >conftest.$ac_ext <<_ACEOF
34589 cat confdefs.h >>conftest.$ac_ext
34590 cat >>conftest.$ac_ext <<_ACEOF
34591 /* end confdefs.h. */
34599 #if XmVersion < 2000
34607 rm -f conftest.$ac_objext
34608 if { (ac_try="$ac_compile"
34609 case "(($ac_try" in
34610 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34611 *) ac_try_echo
=$ac_try;;
34613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34614 (eval "$ac_compile") 2>conftest.er1
34616 grep -v '^ *+' conftest.er1
>conftest.err
34618 cat conftest.err
>&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); } && {
34621 test -z "$ac_c_werror_flag" ||
34622 test ! -s conftest.err
34623 } && test -s conftest.
$ac_objext; then
34624 wx_cv_lib_motif2
="yes"
34626 echo "$as_me: failed program was:" >&5
34627 sed 's/^/| /' conftest.
$ac_ext >&5
34629 wx_cv_lib_motif2
="no"
34632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34634 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34635 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34636 if test "$wx_cv_lib_motif2" = "yes"; then
34637 cat >>confdefs.h
<<\_ACEOF
34638 #define __WXMOTIF20__ 1
34642 cat >>confdefs.h
<<\_ACEOF
34643 #define __WXMOTIF20__ 0
34648 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34649 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34650 if test "${wx_cv_lib_lesstif+set}" = set; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34653 cat >conftest.
$ac_ext <<_ACEOF
34656 cat confdefs.h
>>conftest.
$ac_ext
34657 cat >>conftest.
$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34666 #if !defined(LesstifVersion) || LesstifVersion <= 0
34674 rm -f conftest.
$ac_objext
34675 if { (ac_try
="$ac_compile"
34676 case "(($ac_try" in
34677 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34678 *) ac_try_echo=$ac_try;;
34680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34681 (eval "$ac_compile") 2>conftest.er1
34683 grep -v '^ *+' conftest.er1 >conftest.err
34685 cat conftest.err >&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); } && {
34688 test -z "$ac_c_werror_flag" ||
34689 test ! -s conftest.err
34690 } && test -s conftest.$ac_objext; then
34691 wx_cv_lib_lesstif="yes"
34693 echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.$ac_ext >&5
34696 wx_cv_lib_lesstif="no"
34699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34702 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34703 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34704 if test "$wx_cv_lib_lesstif" = "yes"; then
34705 cat >>confdefs.h <<\_ACEOF
34706 #define __WXLESSTIF__ 1
34710 cat >>confdefs.h <<\_ACEOF
34711 #define __WXLESSTIF__ 0
34716 CFLAGS=$save_CFLAGS
34718 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34723 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34724 if test "$wxUSE_LIBXPM" = "sys"; then
34725 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34726 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34729 for ac_dir in $SEARCH_LIB;
34731 for ac_extension in a so sl dylib dll.a; do
34732 if test -f "$ac_dir/libXpm.$ac_extension"; then
34733 ac_find_libraries=$ac_dir
34739 if test "$ac_find_libraries" != "" ; then
34741 if test "$ac_find_libraries" = "default location"; then
34744 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34746 if test $result = 0; then
34749 ac_path_to_link=" -L$ac_find_libraries"
34753 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34754 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34755 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34757 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34758 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34759 if test "${wx_cv_x11_xpm_h+set}" = set; then
34760 echo $ECHO_N "(cached) $ECHO_C" >&6
34763 save_CFLAGS=$CFLAGS
34764 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34766 cat >conftest.$ac_ext <<_ACEOF
34769 cat confdefs.h >>conftest.$ac_ext
34770 cat >>conftest.$ac_ext <<_ACEOF
34771 /* end confdefs.h. */
34773 #include <X11/xpm.h>
34780 version = XpmLibraryVersion();
34786 rm -f conftest.$ac_objext
34787 if { (ac_try="$ac_compile"
34788 case "(($ac_try" in
34789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34790 *) ac_try_echo
=$ac_try;;
34792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34793 (eval "$ac_compile") 2>conftest.er1
34795 grep -v '^ *+' conftest.er1
>conftest.err
34797 cat conftest.err
>&5
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); } && {
34800 test -z "$ac_c_werror_flag" ||
34801 test ! -s conftest.err
34802 } && test -s conftest.
$ac_objext; then
34803 wx_cv_x11_xpm_h
=yes
34805 echo "$as_me: failed program was:" >&5
34806 sed 's/^/| /' conftest.
$ac_ext >&5
34812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34814 CFLAGS
=$save_CFLAGS
34818 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34819 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34821 if test $wx_cv_x11_xpm_h = "yes"; then
34822 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34823 cat >>confdefs.h
<<\_ACEOF
34824 #define wxHAVE_LIB_XPM 1
34828 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34829 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34835 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34836 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34837 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34838 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 ac_check_lib_save_LIBS
=$LIBS
34841 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34842 cat >conftest.
$ac_ext <<_ACEOF
34845 cat confdefs.h
>>conftest.
$ac_ext
34846 cat >>conftest.
$ac_ext <<_ACEOF
34847 /* end confdefs.h. */
34849 /* Override any GCC internal prototype to avoid an error.
34850 Use char because int might match the return type of a GCC
34851 builtin and then its argument prototype would still apply. */
34855 char XShapeQueryExtension ();
34859 return XShapeQueryExtension ();
34864 rm -f conftest.
$ac_objext conftest
$ac_exeext
34865 if { (ac_try
="$ac_link"
34866 case "(($ac_try" in
34867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34868 *) ac_try_echo=$ac_try;;
34870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34871 (eval "$ac_link") 2>conftest.er1
34873 grep -v '^ *+' conftest.er1 >conftest.err
34875 cat conftest.err >&5
34876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877 (exit $ac_status); } && {
34878 test -z "$ac_c_werror_flag" ||
34879 test ! -s conftest.err
34880 } && test -s conftest$ac_exeext &&
34881 $as_test_x conftest$ac_exeext; then
34882 ac_cv_lib_Xext_XShapeQueryExtension=yes
34884 echo "$as_me: failed program was:" >&5
34885 sed 's/^/| /' conftest.$ac_ext >&5
34887 ac_cv_lib_Xext_XShapeQueryExtension=no
34890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34891 conftest$ac_exeext conftest.$ac_ext
34892 LIBS=$ac_check_lib_save_LIBS
34894 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34895 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34896 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34898 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34904 if test "$wxHAVE_XEXT_LIB" = 1; then
34905 save_CFLAGS="$CFLAGS"
34906 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34908 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34909 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34910 cat >conftest.$ac_ext <<_ACEOF
34913 cat confdefs.h >>conftest.$ac_ext
34914 cat >>conftest.$ac_ext <<_ACEOF
34915 /* end confdefs.h. */
34917 #include <X11/Xlib.h>
34918 #include <X11/extensions/shape.h>
34924 int dummy1, dummy2;
34925 XShapeQueryExtension((Display*)NULL,
34926 (int*)NULL, (int*)NULL);
34932 rm -f conftest.$ac_objext
34933 if { (ac_try="$ac_compile"
34934 case "(($ac_try" in
34935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34936 *) ac_try_echo
=$ac_try;;
34938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34939 (eval "$ac_compile") 2>conftest.er1
34941 grep -v '^ *+' conftest.er1
>conftest.err
34943 cat conftest.err
>&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); } && {
34946 test -z "$ac_c_werror_flag" ||
34947 test ! -s conftest.err
34948 } && test -s conftest.
$ac_objext; then
34950 cat >>confdefs.h
<<\_ACEOF
34951 #define HAVE_XSHAPE 1
34954 { echo "$as_me:$LINENO: result: found" >&5
34955 echo "${ECHO_T}found" >&6; }
34958 echo "$as_me: failed program was:" >&5
34959 sed 's/^/| /' conftest.
$ac_ext >&5
34962 { echo "$as_me:$LINENO: result: not found" >&5
34963 echo "${ECHO_T}not found" >&6; }
34967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34968 CFLAGS
="$save_CFLAGS"
34973 if test "$wxUSE_MAC" = 1; then
34974 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34975 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34976 if test "$GCC" = yes; then
34977 { echo "$as_me:$LINENO: result: gcc" >&5
34978 echo "${ECHO_T}gcc" >&6; }
34979 CPPFLAGS_PASCAL
="-fpascal-strings"
34980 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34981 { echo "$as_me:$LINENO: result: xlc" >&5
34982 echo "${ECHO_T}xlc" >&6; }
34983 CPPFLAGS_PASCAL
="-qmacpstr"
34985 { echo "$as_me:$LINENO: result: none" >&5
34986 echo "${ECHO_T}none" >&6; }
34989 if test "x$wxUSE_UNIX" = "xyes"; then
34990 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34992 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34997 WXBASEPORT
="_carbon"
35000 if test "$wxUSE_COCOA" = 1; then
35005 if test "$wxUSE_PM" = 1; then
35008 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35009 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35010 if test "${wx_cv_spbcdata+set}" = set; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35014 cat >conftest.
$ac_ext <<_ACEOF
35017 cat confdefs.h
>>conftest.
$ac_ext
35018 cat >>conftest.
$ac_ext <<_ACEOF
35019 /* end confdefs.h. */
35034 rm -f conftest.
$ac_objext
35035 if { (ac_try
="$ac_compile"
35036 case "(($ac_try" in
35037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35038 *) ac_try_echo=$ac_try;;
35040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35041 (eval "$ac_compile") 2>conftest.er1
35043 grep -v '^ *+' conftest.er1 >conftest.err
35045 cat conftest.err >&5
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); } && {
35048 test -z "$ac_c_werror_flag" ||
35049 test ! -s conftest.err
35050 } && test -s conftest.$ac_objext; then
35053 echo "$as_me: failed program was:" >&5
35054 sed 's/^/| /' conftest.$ac_ext >&5
35060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35064 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35065 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35067 if test $wx_cv_spbcdata = "yes"; then
35068 cat >>confdefs.h <<\_ACEOF
35069 #define HAVE_SPBCDATA 1
35075 if test "$TOOLKIT" = "PM" ; then
35078 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A
-Z a
-z`
35081 if test "$wxUSE_UNIVERSAL" = "yes"; then
35082 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35086 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35087 DISTDIR="wx\$(TOOLKIT)"
35093 if test "$USE_WIN32" = 1 ; then
35097 GUIDIST="BASE_DIST"
35103 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35104 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35105 wxUSE_UNICODE_UTF8=yes
35106 elif test "$USE_OS2" = "1" ; then
35107 wxUSE_UNICODE_UTF8=yes
35109 wxUSE_UNICODE_UTF8=no
35114 if test "$wxUSE_GUI" = "yes"; then
35115 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35117 for ac_header in X11/Xlib.h
35119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35120 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35122 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35123 echo $ECHO_N "(cached) $ECHO_C" >&6
35125 cat >conftest.$ac_ext <<_ACEOF
35128 cat confdefs.h >>conftest.$ac_ext
35129 cat >>conftest.$ac_ext <<_ACEOF
35130 /* end confdefs.h. */
35133 #include <$ac_header>
35135 rm -f conftest.$ac_objext
35136 if { (ac_try="$ac_compile"
35137 case "(($ac_try" in
35138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35139 *) ac_try_echo
=$ac_try;;
35141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35142 (eval "$ac_compile") 2>conftest.er1
35144 grep -v '^ *+' conftest.er1
>conftest.err
35146 cat conftest.err
>&5
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); } && {
35149 test -z "$ac_c_werror_flag" ||
35150 test ! -s conftest.err
35151 } && test -s conftest.
$ac_objext; then
35152 eval "$as_ac_Header=yes"
35154 echo "$as_me: failed program was:" >&5
35155 sed 's/^/| /' conftest.
$ac_ext >&5
35157 eval "$as_ac_Header=no"
35160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35162 ac_res
=`eval echo '${'$as_ac_Header'}'`
35163 { echo "$as_me:$LINENO: result: $ac_res" >&5
35164 echo "${ECHO_T}$ac_res" >&6; }
35165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35166 cat >>confdefs.h
<<_ACEOF
35167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35175 for ac_header
in X
11/XKBlib.h
35177 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35178 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35180 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35181 echo $ECHO_N "(cached) $ECHO_C" >&6
35183 cat >conftest.
$ac_ext <<_ACEOF
35186 cat confdefs.h
>>conftest.
$ac_ext
35187 cat >>conftest.
$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35190 #if HAVE_X11_XLIB_H
35191 #include <X11/Xlib.h>
35195 #include <$ac_header>
35197 rm -f conftest.
$ac_objext
35198 if { (ac_try
="$ac_compile"
35199 case "(($ac_try" in
35200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35201 *) ac_try_echo=$ac_try;;
35203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35204 (eval "$ac_compile") 2>conftest.er1
35206 grep -v '^ *+' conftest.er1 >conftest.err
35208 cat conftest.err >&5
35209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35210 (exit $ac_status); } && {
35211 test -z "$ac_c_werror_flag" ||
35212 test ! -s conftest.err
35213 } && test -s conftest.$ac_objext; then
35214 eval "$as_ac_Header=yes"
35216 echo "$as_me: failed program was:" >&5
35217 sed 's/^/| /' conftest.$ac_ext >&5
35219 eval "$as_ac_Header=no"
35222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35224 ac_res=`eval echo '${'$as_ac_Header'}'`
35225 { echo "$as_me:$LINENO: result: $ac_res" >&5
35226 echo "${ECHO_T}$ac_res" >&6; }
35227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35228 cat >>confdefs.h <<_ACEOF
35229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35241 if test "$wxUSE_DISPLAY" = "yes"; then
35242 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35243 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35244 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35247 for ac_dir in $SEARCH_LIB;
35249 for ac_extension in a so sl dylib dll.a; do
35250 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35251 ac_find_libraries=$ac_dir
35257 if test "$ac_find_libraries" != "" ; then
35259 if test "$ac_find_libraries" = "default location"; then
35262 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35264 if test $result = 0; then
35267 ac_path_to_link=" -L$ac_find_libraries"
35271 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35272 LDFLAGS="$LDFLAGS $ac_path_to_link"
35274 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35275 { echo "$as_me:$LINENO: result: yes" >&5
35276 echo "${ECHO_T}yes" >&6; }
35278 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35279 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35282 for ac_dir in $SEARCH_LIB;
35284 for ac_extension in a so sl dylib dll.a; do
35285 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35286 ac_find_libraries=$ac_dir
35292 if test "$ac_find_libraries" != "" ; then
35293 { echo "$as_me:$LINENO: result: yes" >&5
35294 echo "${ECHO_T}yes" >&6; }
35296 for ac_header in X11/extensions/xf86vmode.h
35298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35299 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35302 echo $ECHO_N "(cached) $ECHO_C" >&6
35304 cat >conftest.$ac_ext <<_ACEOF
35307 cat confdefs.h >>conftest.$ac_ext
35308 cat >>conftest.$ac_ext <<_ACEOF
35309 /* end confdefs.h. */
35311 #if HAVE_X11_XLIB_H
35312 #include <X11/Xlib.h>
35316 #include <$ac_header>
35318 rm -f conftest.$ac_objext
35319 if { (ac_try="$ac_compile"
35320 case "(($ac_try" in
35321 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35322 *) ac_try_echo
=$ac_try;;
35324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35325 (eval "$ac_compile") 2>conftest.er1
35327 grep -v '^ *+' conftest.er1
>conftest.err
35329 cat conftest.err
>&5
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); } && {
35332 test -z "$ac_c_werror_flag" ||
35333 test ! -s conftest.err
35334 } && test -s conftest.
$ac_objext; then
35335 eval "$as_ac_Header=yes"
35337 echo "$as_me: failed program was:" >&5
35338 sed 's/^/| /' conftest.
$ac_ext >&5
35340 eval "$as_ac_Header=no"
35343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35345 ac_res
=`eval echo '${'$as_ac_Header'}'`
35346 { echo "$as_me:$LINENO: result: $ac_res" >&5
35347 echo "${ECHO_T}$ac_res" >&6; }
35348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35349 cat >>confdefs.h
<<_ACEOF
35350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35353 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35360 { echo "$as_me:$LINENO: result: no" >&5
35361 echo "${ECHO_T}no" >&6; }
35365 { echo "$as_me:$LINENO: result: no" >&5
35366 echo "${ECHO_T}no" >&6; }
35367 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35368 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35371 elif test "$wxUSE_MSW" = 1; then
35372 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35373 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35374 if test "${ac_cv_header_ddraw_h+set}" = set; then
35375 echo $ECHO_N "(cached) $ECHO_C" >&6
35377 cat >conftest.
$ac_ext <<_ACEOF
35380 cat confdefs.h
>>conftest.
$ac_ext
35381 cat >>conftest.
$ac_ext <<_ACEOF
35382 /* end confdefs.h. */
35383 #include <windows.h>
35387 rm -f conftest.
$ac_objext
35388 if { (ac_try
="$ac_compile"
35389 case "(($ac_try" in
35390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35391 *) ac_try_echo=$ac_try;;
35393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35394 (eval "$ac_compile") 2>conftest.er1
35396 grep -v '^ *+' conftest.er1 >conftest.err
35398 cat conftest.err >&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } && {
35401 test -z "$ac_c_werror_flag" ||
35402 test ! -s conftest.err
35403 } && test -s conftest.$ac_objext; then
35404 ac_cv_header_ddraw_h=yes
35406 echo "$as_me: failed program was:" >&5
35407 sed 's/^/| /' conftest.$ac_ext >&5
35409 ac_cv_header_ddraw_h=no
35412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35414 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35415 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35421 if test "$wxUSE_DETECT_SM" = "yes"; then
35422 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35423 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35424 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35427 for ac_dir in $SEARCH_LIB;
35429 for ac_extension in a so sl dylib dll.a; do
35430 if test -f "$ac_dir/libSM.$ac_extension"; then
35431 ac_find_libraries=$ac_dir
35437 if test "$ac_find_libraries" != "" ; then
35439 if test "$ac_find_libraries" = "default location"; then
35442 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35444 if test $result = 0; then
35447 ac_path_to_link=" -L$ac_find_libraries"
35451 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35452 LDFLAGS="$LDFLAGS $ac_path_to_link"
35454 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35455 { echo "$as_me:$LINENO: result: yes" >&5
35456 echo "${ECHO_T}yes" >&6; }
35458 { echo "$as_me:$LINENO: result: no" >&5
35459 echo "${ECHO_T}no" >&6; }
35460 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35461 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35462 wxUSE_DETECT_SM="no"
35465 wxUSE_DETECT_SM="no"
35472 if test "$wxUSE_OPENGL" = "yes"; then
35473 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35474 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35475 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35477 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35478 OPENGL_LIBS="-framework OpenGL -framework AGL"
35479 elif test "$wxUSE_MSW" = 1; then
35480 OPENGL_LIBS="-lopengl32 -lglu32"
35482 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35483 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35486 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35488 if test -f "$ac_dir/GL/gl.h"; then
35489 ac_find_includes=$ac_dir
35494 if test "$ac_find_includes" != "" ; then
35495 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35496 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35498 if test "x$ac_find_includes" = "x/usr/include"; then
35499 ac_path_to_include=""
35501 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35503 if test $result = 0; then
35504 ac_path_to_include=""
35506 ac_path_to_include=" -I$ac_find_includes"
35510 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35512 { echo "$as_me:$LINENO: result: not found" >&5
35513 echo "${ECHO_T}not found" >&6; }
35516 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35517 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35518 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35519 echo $ECHO_N "(cached) $ECHO_C" >&6
35521 cat >conftest.$ac_ext <<_ACEOF
35524 cat confdefs.h >>conftest.$ac_ext
35525 cat >>conftest.$ac_ext <<_ACEOF
35526 /* end confdefs.h. */
35531 rm -f conftest.$ac_objext
35532 if { (ac_try="$ac_compile"
35533 case "(($ac_try" in
35534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35535 *) ac_try_echo
=$ac_try;;
35537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35538 (eval "$ac_compile") 2>conftest.er1
35540 grep -v '^ *+' conftest.er1
>conftest.err
35542 cat conftest.err
>&5
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); } && {
35545 test -z "$ac_c_werror_flag" ||
35546 test ! -s conftest.err
35547 } && test -s conftest.
$ac_objext; then
35548 ac_cv_header_GL_gl_h
=yes
35550 echo "$as_me: failed program was:" >&5
35551 sed 's/^/| /' conftest.
$ac_ext >&5
35553 ac_cv_header_GL_gl_h
=no
35556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35558 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35559 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35560 if test $ac_cv_header_GL_gl_h = yes; then
35562 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35563 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35564 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35567 cat >conftest.
$ac_ext <<_ACEOF
35570 cat confdefs.h
>>conftest.
$ac_ext
35571 cat >>conftest.
$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35575 #include <GL/glu.h>
35577 rm -f conftest.
$ac_objext
35578 if { (ac_try
="$ac_compile"
35579 case "(($ac_try" in
35580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35581 *) ac_try_echo=$ac_try;;
35583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35584 (eval "$ac_compile") 2>conftest.er1
35586 grep -v '^ *+' conftest.er1 >conftest.err
35588 cat conftest.err >&5
35589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35590 (exit $ac_status); } && {
35591 test -z "$ac_c_werror_flag" ||
35592 test ! -s conftest.err
35593 } && test -s conftest.$ac_objext; then
35594 ac_cv_header_GL_glu_h=yes
35596 echo "$as_me: failed program was:" >&5
35597 sed 's/^/| /' conftest.$ac_ext >&5
35599 ac_cv_header_GL_glu_h=no
35602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35604 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35605 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35606 if test $ac_cv_header_GL_glu_h = yes; then
35610 { echo "$as_me:$LINENO: checking for -lGL" >&5
35611 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35614 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35616 for ac_extension in a so sl dylib dll.a; do
35617 if test -f "$ac_dir/libGL.$ac_extension"; then
35618 ac_find_libraries=$ac_dir
35624 if test "$ac_find_libraries" != "" ; then
35625 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35626 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35629 if test "$ac_find_libraries" = "default location"; then
35632 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35634 if test $result = 0; then
35637 ac_path_to_link=" -L$ac_find_libraries"
35641 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35642 LDFLAGS_GL="$ac_path_to_link"
35645 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35646 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35649 for ac_dir in $SEARCH_LIB;
35651 for ac_extension in a so sl dylib dll.a; do
35652 if test -f "$ac_dir/libGLU.$ac_extension"; then
35653 ac_find_libraries=$ac_dir
35659 if test "$ac_find_libraries" != "" ; then
35661 if test "$ac_find_libraries" = "default location"; then
35664 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35666 if test $result = 0; then
35669 ac_path_to_link=" -L$ac_find_libraries"
35673 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35674 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35675 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35679 OPENGL_LIBS="-lGL -lGLU"
35680 { echo "$as_me:$LINENO: result: yes" >&5
35681 echo "${ECHO_T}yes" >&6; }
35683 { echo "$as_me:$LINENO: result: no" >&5
35684 echo "${ECHO_T}no" >&6; }
35687 { echo "$as_me:$LINENO: result: no" >&5
35688 echo "${ECHO_T}no" >&6; }
35691 if test "$found_gl" != 1; then
35692 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35693 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35696 for ac_dir in $SEARCH_LIB;
35698 for ac_extension in a so sl dylib dll.a; do
35699 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35700 ac_find_libraries=$ac_dir
35706 if test "$ac_find_libraries" != "" ; then
35708 if test "$ac_find_libraries" = "default location"; then
35711 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35713 if test $result = 0; then
35716 ac_path_to_link=" -L$ac_find_libraries"
35720 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35721 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35722 { echo "$as_me:$LINENO: result: yes" >&5
35723 echo "${ECHO_T}yes" >&6; }
35725 { echo "$as_me:$LINENO: result: no" >&5
35726 echo "${ECHO_T}no" >&6; }
35738 if test "x$OPENGL_LIBS" = "x"; then
35739 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35740 echo "$as_me: error: OpenGL libraries not available" >&2;}
35741 { (exit 1); exit 1; }; }
35745 if test "$wxUSE_OPENGL" = "yes"; then
35747 cat >>confdefs.h <<\_ACEOF
35748 #define wxUSE_OPENGL 1
35751 cat >>confdefs.h <<\_ACEOF
35752 #define wxUSE_GLCANVAS 1
35755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35760 if test -n "$TOOLKIT" ; then
35761 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35766 if test "$wxUSE_SHARED" = "yes"; then
35770 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35771 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35776 if test "$wxUSE_SHARED" = "yes"; then
35780 *-*-cygwin* | *-*-mingw* )
35781 wx_cv_version_script=no
35785 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35786 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35787 if test "${wx_cv_version_script+set}" = set; then
35788 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 echo "VER_1 { *; };" >conftest.sym
35792 echo "int main() { return 0; }" >conftest.cpp
35795 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35796 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; } ; then
35802 if test -s conftest.stderr ; then
35803 wx_cv_version_script=no
35805 wx_cv_version_script=yes
35808 wx_cv_version_script=no
35811 if test $wx_cv_version_script = yes
35813 echo "struct B { virtual ~B() { } }; \
35814 struct D : public B { }; \
35815 void F() { D d; }" > conftest.cpp
35818 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35819 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35821 (eval $ac_try) 2>&5
35823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35824 (exit $ac_status); }; } &&
35826 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35827 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35829 (eval $ac_try) 2>&5
35831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35832 (exit $ac_status); }; }
35835 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35836 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; }
35843 wx_cv_version_script=yes
35845 wx_cv_version_script=no
35850 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35851 rm -f conftest1.output conftest2.output conftest3.output
35854 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35855 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35857 if test $wx_cv_version_script = yes ; then
35858 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35864 if test "$wxUSE_VISIBILITY" != "no"; then
35867 if test -n "$GCC"; then
35868 CFLAGS_VISIBILITY="-fvisibility=hidden"
35869 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35870 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35871 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35872 if test "${wx_cv_cc_visibility+set}" = set; then
35873 echo $ECHO_N "(cached) $ECHO_C" >&6
35876 wx_save_CXXFLAGS="$CXXFLAGS"
35877 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35879 ac_cpp='$CXXCPP $CPPFLAGS'
35880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35884 cat >conftest.$ac_ext <<_ACEOF
35887 cat confdefs.h >>conftest.$ac_ext
35888 cat >>conftest.$ac_ext <<_ACEOF
35889 /* end confdefs.h. */
35891 /* we need gcc >= 4.0, older versions with visibility support
35892 didn't have class visibility: */
35893 #if defined(__GNUC__) && __GNUC__ < 4
35894 error this gcc is too old;
35897 /* visibility only makes sense for ELF shared libs: */
35898 #if !defined(__ELF__) && !defined(__APPLE__)
35899 error this platform has no visibility;
35902 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35903 extern __attribute__((__visibility__("default"))) int exportedvar;
35904 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35905 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35906 class __attribute__((__visibility__("default"))) Foo {
35918 rm -f conftest.$ac_objext
35919 if { (ac_try="$ac_compile"
35920 case "(($ac_try" in
35921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35922 *) ac_try_echo
=$ac_try;;
35924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35925 (eval "$ac_compile") 2>conftest.er1
35927 grep -v '^ *+' conftest.er1
>conftest.err
35929 cat conftest.err
>&5
35930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35931 (exit $ac_status); } && {
35932 test -z "$ac_cxx_werror_flag" ||
35933 test ! -s conftest.err
35934 } && test -s conftest.
$ac_objext; then
35935 wx_cv_cc_visibility
=yes
35937 echo "$as_me: failed program was:" >&5
35938 sed 's/^/| /' conftest.
$ac_ext >&5
35940 wx_cv_cc_visibility
=no
35943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35945 ac_cpp
='$CPP $CPPFLAGS'
35946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35950 CXXFLAGS
="$wx_save_CXXFLAGS"
35953 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35954 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35955 if test $wx_cv_cc_visibility = yes; then
35956 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35957 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35958 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35959 echo $ECHO_N "(cached) $ECHO_C" >&6
35962 wx_save_CXXFLAGS
="$CXXFLAGS"
35963 wx_save_LDFLAGS
="$LDFLAGS"
35964 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35965 LDFLAGS
="$LDFLAGS -shared -fPIC"
35967 ac_cpp
='$CXXCPP $CPPFLAGS'
35968 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35969 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35970 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35972 cat >conftest.
$ac_ext <<_ACEOF
35975 cat confdefs.h
>>conftest.
$ac_ext
35976 cat >>conftest.
$ac_ext <<_ACEOF
35977 /* end confdefs.h. */
35985 std::string s("hello");
35992 rm -f conftest.
$ac_objext conftest
$ac_exeext
35993 if { (ac_try
="$ac_link"
35994 case "(($ac_try" in
35995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35996 *) ac_try_echo=$ac_try;;
35998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35999 (eval "$ac_link") 2>conftest.er1
36001 grep -v '^ *+' conftest.er1 >conftest.err
36003 cat conftest.err >&5
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); } && {
36006 test -z "$ac_cxx_werror_flag" ||
36007 test ! -s conftest.err
36008 } && test -s conftest$ac_exeext &&
36009 $as_test_x conftest$ac_exeext; then
36010 wx_cv_cc_broken_libstdcxx_visibility=no
36012 echo "$as_me: failed program was:" >&5
36013 sed 's/^/| /' conftest.$ac_ext >&5
36015 wx_cv_cc_broken_libstdcxx_visibility=yes
36018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36019 conftest$ac_exeext conftest.$ac_ext
36021 ac_cpp='$CPP $CPPFLAGS'
36022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36026 CXXFLAGS="$wx_save_CXXFLAGS"
36027 LDFLAGS="$wx_save_LDFLAGS"
36030 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36031 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36033 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36034 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36035 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36036 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36037 echo $ECHO_N "(cached) $ECHO_C" >&6
36041 ac_cpp='$CXXCPP $CPPFLAGS'
36042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36046 cat >conftest.$ac_ext <<_ACEOF
36049 cat confdefs.h >>conftest.$ac_ext
36050 cat >>conftest.$ac_ext <<_ACEOF
36051 /* end confdefs.h. */
36053 #pragma GCC visibility push(default)
36055 #pragma GCC visibility pop
36061 std::string s("hello");
36068 rm -f conftest.$ac_objext conftest$ac_exeext
36069 if { (ac_try="$ac_link"
36070 case "(($ac_try" in
36071 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36072 *) ac_try_echo
=$ac_try;;
36074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36075 (eval "$ac_link") 2>conftest.er1
36077 grep -v '^ *+' conftest.er1
>conftest.err
36079 cat conftest.err
>&5
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); } && {
36082 test -z "$ac_cxx_werror_flag" ||
36083 test ! -s conftest.err
36084 } && test -s conftest
$ac_exeext &&
36085 $as_test_x conftest
$ac_exeext; then
36086 wx_cv_cc_visibility_workaround
=no
36088 echo "$as_me: failed program was:" >&5
36089 sed 's/^/| /' conftest.
$ac_ext >&5
36091 wx_cv_cc_visibility_workaround
=yes
36094 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36095 conftest
$ac_exeext conftest.
$ac_ext
36097 ac_cpp
='$CPP $CPPFLAGS'
36098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36105 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36106 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36108 if test $wx_cv_cc_visibility_workaround = no
; then
36109 wx_cv_cc_visibility
=no
36114 if test $wx_cv_cc_visibility = yes; then
36115 cat >>confdefs.h
<<\_ACEOF
36116 #define HAVE_VISIBILITY 1
36119 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36120 cat >>confdefs.h
<<\_ACEOF
36121 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36126 CFLAGS_VISIBILITY
=""
36127 CXXFLAGS_VISIBILITY
=""
36135 if test "x$SUNCXX" = xyes
; then
36136 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
36137 WXCONFIG_RPATH
="-R\$libdir"
36140 *-*-linux* | *-*-gnu* )
36141 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36142 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36147 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
36149 saveLdflags
="$LDFLAGS"
36150 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
36151 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36152 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36153 cat >conftest.
$ac_ext <<_ACEOF
36156 cat confdefs.h
>>conftest.
$ac_ext
36157 cat >>conftest.
$ac_ext <<_ACEOF
36158 /* end confdefs.h. */
36168 rm -f conftest.
$ac_objext conftest
$ac_exeext
36169 if { (ac_try
="$ac_link"
36170 case "(($ac_try" in
36171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36172 *) ac_try_echo=$ac_try;;
36174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36175 (eval "$ac_link") 2>conftest.er1
36177 grep -v '^ *+' conftest.er1 >conftest.err
36179 cat conftest.err >&5
36180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181 (exit $ac_status); } && {
36182 test -z "$ac_c_werror_flag" ||
36183 test ! -s conftest.err
36184 } && test -s conftest$ac_exeext &&
36185 $as_test_x conftest$ac_exeext; then
36187 { echo "$as_me:$LINENO: result: yes" >&5
36188 echo "${ECHO_T}yes" >&6; }
36189 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36190 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36193 echo "$as_me: failed program was:" >&5
36194 sed 's/^/| /' conftest.$ac_ext >&5
36197 { echo "$as_me:$LINENO: result: no" >&5
36198 echo "${ECHO_T}no" >&6; }
36199 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36200 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36201 LDFLAGS="$saveLdflags -Wl,-R,/"
36202 cat >conftest.$ac_ext <<_ACEOF
36205 cat confdefs.h >>conftest.$ac_ext
36206 cat >>conftest.$ac_ext <<_ACEOF
36207 /* end confdefs.h. */
36217 rm -f conftest.$ac_objext conftest$ac_exeext
36218 if { (ac_try="$ac_link"
36219 case "(($ac_try" in
36220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36221 *) ac_try_echo
=$ac_try;;
36223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36224 (eval "$ac_link") 2>conftest.er1
36226 grep -v '^ *+' conftest.er1
>conftest.err
36228 cat conftest.err
>&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); } && {
36231 test -z "$ac_c_werror_flag" ||
36232 test ! -s conftest.err
36233 } && test -s conftest
$ac_exeext &&
36234 $as_test_x conftest
$ac_exeext; then
36236 { echo "$as_me:$LINENO: result: yes" >&5
36237 echo "${ECHO_T}yes" >&6; }
36238 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
36239 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.
$ac_ext >&5
36246 { echo "$as_me:$LINENO: result: no" >&5
36247 echo "${ECHO_T}no" >&6; }
36251 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36252 conftest
$ac_exeext conftest.
$ac_ext
36256 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36257 conftest
$ac_exeext conftest.
$ac_ext
36258 LDFLAGS
="$saveLdflags"
36262 install_name_tool
=`which install_name_tool`
36263 if test "$install_name_tool" -a -x "$install_name_tool"; then
36264 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36265 cat <<EOF >change-install-names
36267 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36268 inst_cmd="install_name_tool "
36269 for i in \${libnames} ; do
36270 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36274 chmod +x change
-install-names
36278 *-*-cygwin* | *-*-mingw32* )
36282 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
36283 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
36289 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36291 if test $wxUSE_RPATH = "no"; then
36292 SAMPLES_RPATH_FLAG
=''
36293 SAMPLES_RPATH_POSTLINK
=''
36301 config_linkage_component
="-static"
36308 lib_unicode_suffix
=
36310 if test "$wxUSE_UNICODE" = "yes"; then
36311 lib_unicode_suffix
=u
36312 WX_CHARTYPE
="unicode"
36317 WX_DEBUGTYPE
="release"
36319 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36321 WX_DEBUGTYPE
="debug"
36325 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
36326 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
36329 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36333 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
36335 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36337 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36339 if test "$cross_compiling" = "yes"; then
36340 HOST_SUFFIX
="-$host_alias"
36341 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
36342 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
36345 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36346 if test "${TOOLKIT_DIR}" = "os2"; then
36347 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36349 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36354 if test "$wxUSE_COCOA" = 1; then
36357 ac_cpp
='$CPP $CPPFLAGS'
36358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36364 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36365 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36366 cat >conftest.
$ac_ext <<_ACEOF
36369 cat confdefs.h
>>conftest.
$ac_ext
36370 cat >>conftest.
$ac_ext <<_ACEOF
36371 /* end confdefs.h. */
36372 #include <AppKit/NSEvent.h>
36373 #include <CoreFoundation/CoreFoundation.h>
36383 rm -f conftest.
$ac_objext
36384 if { (ac_try
="$ac_compile"
36385 case "(($ac_try" in
36386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36387 *) ac_try_echo=$ac_try;;
36389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36390 (eval "$ac_compile") 2>conftest.er1
36392 grep -v '^ *+' conftest.er1 >conftest.err
36394 cat conftest.err >&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); } && {
36397 test -z "$ac_c_werror_flag" ||
36398 test ! -s conftest.err
36399 } && test -s conftest.$ac_objext; then
36400 { echo "$as_me:$LINENO: result: no" >&5
36401 echo "${ECHO_T}no" >&6; }
36403 echo "$as_me: failed program was:" >&5
36404 sed 's/^/| /' conftest.$ac_ext >&5
36406 { echo "$as_me:$LINENO: result: yes" >&5
36407 echo "${ECHO_T}yes" >&6; }
36408 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36409 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36410 cat >conftest.$ac_ext <<_ACEOF
36413 cat confdefs.h >>conftest.$ac_ext
36414 cat >>conftest.$ac_ext <<_ACEOF
36415 /* end confdefs.h. */
36416 #define __Point__ 1
36417 #include <AppKit/NSEvent.h>
36418 #include <CoreFoundation/CoreFoundation.h>
36428 rm -f conftest.$ac_objext
36429 if { (ac_try="$ac_compile"
36430 case "(($ac_try" in
36431 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36432 *) ac_try_echo
=$ac_try;;
36434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36435 (eval "$ac_compile") 2>conftest.er1
36437 grep -v '^ *+' conftest.er1
>conftest.err
36439 cat conftest.err
>&5
36440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36441 (exit $ac_status); } && {
36442 test -z "$ac_c_werror_flag" ||
36443 test ! -s conftest.err
36444 } && test -s conftest.
$ac_objext; then
36445 { echo "$as_me:$LINENO: result: yes" >&5
36446 echo "${ECHO_T}yes" >&6; }
36447 cat >>confdefs.h
<<\_ACEOF
36448 #define __Point__ 1
36453 echo "$as_me: failed program was:" >&5
36454 sed 's/^/| /' conftest.
$ac_ext >&5
36456 { { echo "$as_me:$LINENO: error: no
36457 See \`config.log' for more details." >&5
36458 echo "$as_me: error: no
36459 See \`config.log' for more details." >&2;}
36460 { (exit 1); exit 1; }; }
36464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36470 ac_cpp
='$CPP $CPPFLAGS'
36471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36478 { echo "$as_me:$LINENO: checking for mode_t" >&5
36479 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36480 if test "${ac_cv_type_mode_t+set}" = set; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36483 cat >conftest.
$ac_ext <<_ACEOF
36486 cat confdefs.h
>>conftest.
$ac_ext
36487 cat >>conftest.
$ac_ext <<_ACEOF
36488 /* end confdefs.h. */
36489 $ac_includes_default
36490 typedef mode_t ac__type_new_;
36494 if ((ac__type_new_ *) 0)
36496 if (sizeof (ac__type_new_))
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_type_mode_t=yes
36521 echo "$as_me: failed program was:" >&5
36522 sed 's/^/| /' conftest.$ac_ext >&5
36524 ac_cv_type_mode_t=no
36527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36529 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36530 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36531 if test $ac_cv_type_mode_t = yes; then
36535 cat >>confdefs.h <<_ACEOF
36541 { echo "$as_me:$LINENO: checking for off_t" >&5
36542 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36543 if test "${ac_cv_type_off_t+set}" = set; then
36544 echo $ECHO_N "(cached) $ECHO_C" >&6
36546 cat >conftest.$ac_ext <<_ACEOF
36549 cat confdefs.h >>conftest.$ac_ext
36550 cat >>conftest.$ac_ext <<_ACEOF
36551 /* end confdefs.h. */
36552 $ac_includes_default
36553 typedef off_t ac__type_new_;
36557 if ((ac__type_new_ *) 0)
36559 if (sizeof (ac__type_new_))
36565 rm -f conftest.$ac_objext
36566 if { (ac_try="$ac_compile"
36567 case "(($ac_try" in
36568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36569 *) ac_try_echo
=$ac_try;;
36571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36572 (eval "$ac_compile") 2>conftest.er1
36574 grep -v '^ *+' conftest.er1
>conftest.err
36576 cat conftest.err
>&5
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); } && {
36579 test -z "$ac_c_werror_flag" ||
36580 test ! -s conftest.err
36581 } && test -s conftest.
$ac_objext; then
36582 ac_cv_type_off_t
=yes
36584 echo "$as_me: failed program was:" >&5
36585 sed 's/^/| /' conftest.
$ac_ext >&5
36587 ac_cv_type_off_t
=no
36590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36592 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36593 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36594 if test $ac_cv_type_off_t = yes; then
36598 cat >>confdefs.h
<<_ACEOF
36599 #define off_t long int
36604 { echo "$as_me:$LINENO: checking for pid_t" >&5
36605 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36606 if test "${ac_cv_type_pid_t+set}" = set; then
36607 echo $ECHO_N "(cached) $ECHO_C" >&6
36609 cat >conftest.
$ac_ext <<_ACEOF
36612 cat confdefs.h
>>conftest.
$ac_ext
36613 cat >>conftest.
$ac_ext <<_ACEOF
36614 /* end confdefs.h. */
36615 $ac_includes_default
36616 typedef pid_t ac__type_new_;
36620 if ((ac__type_new_ *) 0)
36622 if (sizeof (ac__type_new_))
36628 rm -f conftest.
$ac_objext
36629 if { (ac_try
="$ac_compile"
36630 case "(($ac_try" in
36631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36632 *) ac_try_echo=$ac_try;;
36634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36635 (eval "$ac_compile") 2>conftest.er1
36637 grep -v '^ *+' conftest.er1 >conftest.err
36639 cat conftest.err >&5
36640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641 (exit $ac_status); } && {
36642 test -z "$ac_c_werror_flag" ||
36643 test ! -s conftest.err
36644 } && test -s conftest.$ac_objext; then
36645 ac_cv_type_pid_t=yes
36647 echo "$as_me: failed program was:" >&5
36648 sed 's/^/| /' conftest.$ac_ext >&5
36650 ac_cv_type_pid_t=no
36653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36655 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36656 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36657 if test $ac_cv_type_pid_t = yes; then
36661 cat >>confdefs.h <<_ACEOF
36667 { echo "$as_me:$LINENO: checking for size_t" >&5
36668 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36669 if test "${ac_cv_type_size_t+set}" = set; then
36670 echo $ECHO_N "(cached) $ECHO_C" >&6
36672 cat >conftest.$ac_ext <<_ACEOF
36675 cat confdefs.h >>conftest.$ac_ext
36676 cat >>conftest.$ac_ext <<_ACEOF
36677 /* end confdefs.h. */
36678 $ac_includes_default
36679 typedef size_t ac__type_new_;
36683 if ((ac__type_new_ *) 0)
36685 if (sizeof (ac__type_new_))
36691 rm -f conftest.$ac_objext
36692 if { (ac_try="$ac_compile"
36693 case "(($ac_try" in
36694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36695 *) ac_try_echo
=$ac_try;;
36697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36698 (eval "$ac_compile") 2>conftest.er1
36700 grep -v '^ *+' conftest.er1
>conftest.err
36702 cat conftest.err
>&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } && {
36705 test -z "$ac_c_werror_flag" ||
36706 test ! -s conftest.err
36707 } && test -s conftest.
$ac_objext; then
36708 ac_cv_type_size_t
=yes
36710 echo "$as_me: failed program was:" >&5
36711 sed 's/^/| /' conftest.
$ac_ext >&5
36713 ac_cv_type_size_t
=no
36716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36718 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36719 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36720 if test $ac_cv_type_size_t = yes; then
36724 cat >>confdefs.h
<<_ACEOF
36725 #define size_t unsigned int
36730 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36731 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36732 if test "${ac_cv_type_uid_t+set}" = set; then
36733 echo $ECHO_N "(cached) $ECHO_C" >&6
36735 cat >conftest.
$ac_ext <<_ACEOF
36738 cat confdefs.h
>>conftest.
$ac_ext
36739 cat >>conftest.
$ac_ext <<_ACEOF
36740 /* end confdefs.h. */
36741 #include <sys/types.h>
36744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36745 $EGREP "uid_t" >/dev
/null
2>&1; then
36746 ac_cv_type_uid_t
=yes
36748 ac_cv_type_uid_t
=no
36753 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36754 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36755 if test $ac_cv_type_uid_t = no
; then
36757 cat >>confdefs.h
<<\_ACEOF
36762 cat >>confdefs.h
<<\_ACEOF
36769 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36770 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36771 if test "${ac_cv_type_ssize_t+set}" = set; then
36772 echo $ECHO_N "(cached) $ECHO_C" >&6
36774 cat >conftest.
$ac_ext <<_ACEOF
36777 cat confdefs.h
>>conftest.
$ac_ext
36778 cat >>conftest.
$ac_ext <<_ACEOF
36779 /* end confdefs.h. */
36780 $ac_includes_default
36781 typedef ssize_t ac__type_new_;
36785 if ((ac__type_new_ *) 0)
36787 if (sizeof (ac__type_new_))
36793 rm -f conftest.
$ac_objext
36794 if { (ac_try
="$ac_compile"
36795 case "(($ac_try" in
36796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36797 *) ac_try_echo=$ac_try;;
36799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36800 (eval "$ac_compile") 2>conftest.er1
36802 grep -v '^ *+' conftest.er1 >conftest.err
36804 cat conftest.err >&5
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); } && {
36807 test -z "$ac_c_werror_flag" ||
36808 test ! -s conftest.err
36809 } && test -s conftest.$ac_objext; then
36810 ac_cv_type_ssize_t=yes
36812 echo "$as_me: failed program was:" >&5
36813 sed 's/^/| /' conftest.$ac_ext >&5
36815 ac_cv_type_ssize_t=no
36818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36820 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36821 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36822 if test $ac_cv_type_ssize_t = yes; then
36824 cat >>confdefs.h <<_ACEOF
36825 #define HAVE_SSIZE_T 1
36833 ac_cpp='$CXXCPP $CPPFLAGS'
36834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36837 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36838 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36839 if test "${wx_cv_size_t_is_uint+set}" = set; then
36840 echo $ECHO_N "(cached) $ECHO_C" >&6
36843 cat >conftest.$ac_ext <<_ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849 #include <stddef.h>
36856 struct Foo { void foo(size_t); void foo(unsigned int); };
36864 rm -f conftest.$ac_objext
36865 if { (ac_try="$ac_compile"
36866 case "(($ac_try" in
36867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36868 *) ac_try_echo
=$ac_try;;
36870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36871 (eval "$ac_compile") 2>conftest.er1
36873 grep -v '^ *+' conftest.er1
>conftest.err
36875 cat conftest.err
>&5
36876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36877 (exit $ac_status); } && {
36878 test -z "$ac_cxx_werror_flag" ||
36879 test ! -s conftest.err
36880 } && test -s conftest.
$ac_objext; then
36881 wx_cv_size_t_is_uint
=no
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.
$ac_ext >&5
36886 wx_cv_size_t_is_uint
=yes
36890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36894 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36895 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36897 if test "$wx_cv_size_t_is_uint" = "yes"; then
36898 cat >>confdefs.h
<<\_ACEOF
36899 #define wxSIZE_T_IS_UINT 1
36903 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36904 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36905 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36906 echo $ECHO_N "(cached) $ECHO_C" >&6
36908 cat >conftest.
$ac_ext <<_ACEOF
36911 cat confdefs.h
>>conftest.
$ac_ext
36912 cat >>conftest.
$ac_ext <<_ACEOF
36913 /* end confdefs.h. */
36914 #include <stddef.h>
36921 struct Foo { void foo(size_t); void foo(unsigned long); };
36929 rm -f conftest.
$ac_objext
36930 if { (ac_try
="$ac_compile"
36931 case "(($ac_try" in
36932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36933 *) ac_try_echo=$ac_try;;
36935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36936 (eval "$ac_compile") 2>conftest.er1
36938 grep -v '^ *+' conftest.er1 >conftest.err
36940 cat conftest.err >&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); } && {
36943 test -z "$ac_cxx_werror_flag" ||
36944 test ! -s conftest.err
36945 } && test -s conftest.$ac_objext; then
36946 wx_cv_size_t_is_ulong=no
36948 echo "$as_me: failed program was:" >&5
36949 sed 's/^/| /' conftest.$ac_ext >&5
36951 wx_cv_size_t_is_ulong=yes
36955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36958 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36959 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36961 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36962 cat >>confdefs.h <<\_ACEOF
36963 #define wxSIZE_T_IS_ULONG 1
36969 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36970 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36971 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36972 echo $ECHO_N "(cached) $ECHO_C" >&6
36974 cat >conftest.$ac_ext <<_ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36987 struct Foo { void foo(wchar_t);
36988 void foo(unsigned short);
36989 void foo(unsigned int);
36990 void foo(unsigned long); };
36998 rm -f conftest.$ac_objext
36999 if { (ac_try="$ac_compile"
37000 case "(($ac_try" in
37001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37002 *) ac_try_echo
=$ac_try;;
37004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_compile") 2>conftest.er1
37007 grep -v '^ *+' conftest.er1
>conftest.err
37009 cat conftest.err
>&5
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); } && {
37012 test -z "$ac_cxx_werror_flag" ||
37013 test ! -s conftest.err
37014 } && test -s conftest.
$ac_objext; then
37015 wx_cv_wchar_t_is_separate_type
=yes
37017 echo "$as_me: failed program was:" >&5
37018 sed 's/^/| /' conftest.
$ac_ext >&5
37020 wx_cv_wchar_t_is_separate_type
=no
37024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37027 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37028 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37030 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37031 cat >>confdefs.h
<<\_ACEOF
37032 #define wxWCHAR_T_IS_REAL_TYPE 1
37036 cat >>confdefs.h
<<\_ACEOF
37037 #define wxWCHAR_T_IS_REAL_TYPE 0
37043 ac_cpp
='$CPP $CPPFLAGS'
37044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37049 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37050 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37051 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37055 cat >conftest.
$ac_ext <<_ACEOF
37058 cat confdefs.h
>>conftest.
$ac_ext
37059 cat >>conftest.
$ac_ext <<_ACEOF
37060 /* end confdefs.h. */
37074 rm -f conftest.
$ac_objext
37075 if { (ac_try
="$ac_compile"
37076 case "(($ac_try" in
37077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37078 *) ac_try_echo=$ac_try;;
37080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37081 (eval "$ac_compile") 2>conftest.er1
37083 grep -v '^ *+' conftest.er1 >conftest.err
37085 cat conftest.err >&5
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); } && {
37088 test -z "$ac_c_werror_flag" ||
37089 test ! -s conftest.err
37090 } && test -s conftest.$ac_objext; then
37092 wx_cv_struct_pw_gecos=yes
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37099 wx_cv_struct_pw_gecos=no
37104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37108 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37109 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37111 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37112 cat >>confdefs.h <<\_ACEOF
37113 #define HAVE_PW_GECOS 1
37119 if test "$wxUSE_WCHAR_T" = "yes"; then
37120 cat >>confdefs.h <<\_ACEOF
37121 #define wxUSE_WCHAR_T 1
37128 for ac_func in wcslen
37130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37134 echo $ECHO_N "(cached) $ECHO_C" >&6
37136 cat >conftest.$ac_ext <<_ACEOF
37139 cat confdefs.h >>conftest.$ac_ext
37140 cat >>conftest.$ac_ext <<_ACEOF
37141 /* end confdefs.h. */
37142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37144 #define $ac_func innocuous_$ac_func
37146 /* System header to define __stub macros and hopefully few prototypes,
37147 which can conflict with char $ac_func (); below.
37148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37149 <limits.h> exists even on freestanding compilers. */
37152 # include <limits.h>
37154 # include <assert.h>
37159 /* Override any GCC internal prototype to avoid an error.
37160 Use char because int might match the return type of a GCC
37161 builtin and then its argument prototype would still apply. */
37166 /* The GNU C library defines this for functions which it implements
37167 to always fail with ENOSYS. Some functions are actually named
37168 something starting with __ and the normal name is an alias. */
37169 #if defined __stub_$ac_func || defined __stub___$ac_func
37176 return $ac_func ();
37181 rm -f conftest.$ac_objext conftest$ac_exeext
37182 if { (ac_try="$ac_link"
37183 case "(($ac_try" in
37184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37185 *) ac_try_echo
=$ac_try;;
37187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37188 (eval "$ac_link") 2>conftest.er1
37190 grep -v '^ *+' conftest.er1
>conftest.err
37192 cat conftest.err
>&5
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); } && {
37195 test -z "$ac_c_werror_flag" ||
37196 test ! -s conftest.err
37197 } && test -s conftest
$ac_exeext &&
37198 $as_test_x conftest
$ac_exeext; then
37199 eval "$as_ac_var=yes"
37201 echo "$as_me: failed program was:" >&5
37202 sed 's/^/| /' conftest.
$ac_ext >&5
37204 eval "$as_ac_var=no"
37207 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37208 conftest
$ac_exeext conftest.
$ac_ext
37210 ac_res
=`eval echo '${'$as_ac_var'}'`
37211 { echo "$as_me:$LINENO: result: $ac_res" >&5
37212 echo "${ECHO_T}$ac_res" >&6; }
37213 if test `eval echo '${'$as_ac_var'}'` = yes; then
37214 cat >>confdefs.h
<<_ACEOF
37215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37222 if test "$WCSLEN_FOUND" = 0; then
37223 if test "$TOOLKIT" = "MSW"; then
37224 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37225 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37226 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37229 ac_check_lib_save_LIBS
=$LIBS
37230 LIBS
="-lmsvcrt $LIBS"
37231 cat >conftest.
$ac_ext <<_ACEOF
37234 cat confdefs.h
>>conftest.
$ac_ext
37235 cat >>conftest.
$ac_ext <<_ACEOF
37236 /* end confdefs.h. */
37238 /* Override any GCC internal prototype to avoid an error.
37239 Use char because int might match the return type of a GCC
37240 builtin and then its argument prototype would still apply. */
37253 rm -f conftest.
$ac_objext conftest
$ac_exeext
37254 if { (ac_try
="$ac_link"
37255 case "(($ac_try" in
37256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37257 *) ac_try_echo=$ac_try;;
37259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37260 (eval "$ac_link") 2>conftest.er1
37262 grep -v '^ *+' conftest.er1 >conftest.err
37264 cat conftest.err >&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); } && {
37267 test -z "$ac_c_werror_flag" ||
37268 test ! -s conftest.err
37269 } && test -s conftest$ac_exeext &&
37270 $as_test_x conftest$ac_exeext; then
37271 ac_cv_lib_msvcrt_wcslen=yes
37273 echo "$as_me: failed program was:" >&5
37274 sed 's/^/| /' conftest.$ac_ext >&5
37276 ac_cv_lib_msvcrt_wcslen=no
37279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37280 conftest$ac_exeext conftest.$ac_ext
37281 LIBS=$ac_check_lib_save_LIBS
37283 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37284 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37285 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37290 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37291 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37292 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37293 echo $ECHO_N "(cached) $ECHO_C" >&6
37295 ac_check_lib_save_LIBS=$LIBS
37297 cat >conftest.$ac_ext <<_ACEOF
37300 cat confdefs.h >>conftest.$ac_ext
37301 cat >>conftest.$ac_ext <<_ACEOF
37302 /* end confdefs.h. */
37304 /* Override any GCC internal prototype to avoid an error.
37305 Use char because int might match the return type of a GCC
37306 builtin and then its argument prototype would still apply. */
37319 rm -f conftest.$ac_objext conftest$ac_exeext
37320 if { (ac_try="$ac_link"
37321 case "(($ac_try" in
37322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37323 *) ac_try_echo
=$ac_try;;
37325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37326 (eval "$ac_link") 2>conftest.er1
37328 grep -v '^ *+' conftest.er1
>conftest.err
37330 cat conftest.err
>&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); } && {
37333 test -z "$ac_c_werror_flag" ||
37334 test ! -s conftest.err
37335 } && test -s conftest
$ac_exeext &&
37336 $as_test_x conftest
$ac_exeext; then
37337 ac_cv_lib_w_wcslen
=yes
37339 echo "$as_me: failed program was:" >&5
37340 sed 's/^/| /' conftest.
$ac_ext >&5
37342 ac_cv_lib_w_wcslen
=no
37345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37346 conftest
$ac_exeext conftest.
$ac_ext
37347 LIBS
=$ac_check_lib_save_LIBS
37349 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37350 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37351 if test $ac_cv_lib_w_wcslen = yes; then
37361 if test "$WCSLEN_FOUND" = 1; then
37362 cat >>confdefs.h
<<\_ACEOF
37363 #define HAVE_WCSLEN 1
37369 for ac_func
in wcsdup
37371 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37374 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37375 echo $ECHO_N "(cached) $ECHO_C" >&6
37377 cat >conftest.
$ac_ext <<_ACEOF
37380 cat confdefs.h
>>conftest.
$ac_ext
37381 cat >>conftest.
$ac_ext <<_ACEOF
37382 /* end confdefs.h. */
37383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37385 #define $ac_func innocuous_$ac_func
37387 /* System header to define __stub macros and hopefully few prototypes,
37388 which can conflict with char $ac_func (); below.
37389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37390 <limits.h> exists even on freestanding compilers. */
37393 # include <limits.h>
37395 # include <assert.h>
37400 /* Override any GCC internal prototype to avoid an error.
37401 Use char because int might match the return type of a GCC
37402 builtin and then its argument prototype would still apply. */
37407 /* The GNU C library defines this for functions which it implements
37408 to always fail with ENOSYS. Some functions are actually named
37409 something starting with __ and the normal name is an alias. */
37410 #if defined __stub_$ac_func || defined __stub___$ac_func
37417 return $ac_func ();
37422 rm -f conftest.
$ac_objext conftest
$ac_exeext
37423 if { (ac_try
="$ac_link"
37424 case "(($ac_try" in
37425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37426 *) ac_try_echo=$ac_try;;
37428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37429 (eval "$ac_link") 2>conftest.er1
37431 grep -v '^ *+' conftest.er1 >conftest.err
37433 cat conftest.err >&5
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); } && {
37436 test -z "$ac_c_werror_flag" ||
37437 test ! -s conftest.err
37438 } && test -s conftest$ac_exeext &&
37439 $as_test_x conftest$ac_exeext; then
37440 eval "$as_ac_var=yes"
37442 echo "$as_me: failed program was:" >&5
37443 sed 's/^/| /' conftest.$ac_ext >&5
37445 eval "$as_ac_var=no"
37448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37449 conftest$ac_exeext conftest.$ac_ext
37451 ac_res=`eval echo '${'$as_ac_var'}'`
37452 { echo "$as_me:$LINENO: result: $ac_res" >&5
37453 echo "${ECHO_T}$ac_res" >&6; }
37454 if test `eval echo '${'$as_ac_var'}'` = yes; then
37455 cat >>confdefs.h <<_ACEOF
37456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37463 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37464 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37467 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37468 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37469 if test "${ac_cv_type_mbstate_t+set}" = set; then
37470 echo $ECHO_N "(cached) $ECHO_C" >&6
37472 cat >conftest.$ac_ext <<_ACEOF
37475 cat confdefs.h >>conftest.$ac_ext
37476 cat >>conftest.$ac_ext <<_ACEOF
37477 /* end confdefs.h. */
37480 typedef mbstate_t ac__type_new_;
37484 if ((ac__type_new_ *) 0)
37486 if (sizeof (ac__type_new_))
37492 rm -f conftest.$ac_objext
37493 if { (ac_try="$ac_compile"
37494 case "(($ac_try" in
37495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37496 *) ac_try_echo
=$ac_try;;
37498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37499 (eval "$ac_compile") 2>conftest.er1
37501 grep -v '^ *+' conftest.er1
>conftest.err
37503 cat conftest.err
>&5
37504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505 (exit $ac_status); } && {
37506 test -z "$ac_c_werror_flag" ||
37507 test ! -s conftest.err
37508 } && test -s conftest.
$ac_objext; then
37509 ac_cv_type_mbstate_t
=yes
37511 echo "$as_me: failed program was:" >&5
37512 sed 's/^/| /' conftest.
$ac_ext >&5
37514 ac_cv_type_mbstate_t
=no
37517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37519 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37520 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37521 if test $ac_cv_type_mbstate_t = yes; then
37523 cat >>confdefs.h
<<_ACEOF
37524 #define HAVE_MBSTATE_T 1
37528 for ac_func
in wcsrtombs
37530 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37531 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37533 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37534 echo $ECHO_N "(cached) $ECHO_C" >&6
37536 cat >conftest.
$ac_ext <<_ACEOF
37539 cat confdefs.h
>>conftest.
$ac_ext
37540 cat >>conftest.
$ac_ext <<_ACEOF
37541 /* end confdefs.h. */
37542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37544 #define $ac_func innocuous_$ac_func
37546 /* System header to define __stub macros and hopefully few prototypes,
37547 which can conflict with char $ac_func (); below.
37548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37549 <limits.h> exists even on freestanding compilers. */
37552 # include <limits.h>
37554 # include <assert.h>
37559 /* Override any GCC internal prototype to avoid an error.
37560 Use char because int might match the return type of a GCC
37561 builtin and then its argument prototype would still apply. */
37566 /* The GNU C library defines this for functions which it implements
37567 to always fail with ENOSYS. Some functions are actually named
37568 something starting with __ and the normal name is an alias. */
37569 #if defined __stub_$ac_func || defined __stub___$ac_func
37576 return $ac_func ();
37581 rm -f conftest.
$ac_objext conftest
$ac_exeext
37582 if { (ac_try
="$ac_link"
37583 case "(($ac_try" in
37584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37585 *) ac_try_echo=$ac_try;;
37587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37588 (eval "$ac_link") 2>conftest.er1
37590 grep -v '^ *+' conftest.er1 >conftest.err
37592 cat conftest.err >&5
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); } && {
37595 test -z "$ac_c_werror_flag" ||
37596 test ! -s conftest.err
37597 } && test -s conftest$ac_exeext &&
37598 $as_test_x conftest$ac_exeext; then
37599 eval "$as_ac_var=yes"
37601 echo "$as_me: failed program was:" >&5
37602 sed 's/^/| /' conftest.$ac_ext >&5
37604 eval "$as_ac_var=no"
37607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37608 conftest$ac_exeext conftest.$ac_ext
37610 ac_res=`eval echo '${'$as_ac_var'}'`
37611 { echo "$as_me:$LINENO: result: $ac_res" >&5
37612 echo "${ECHO_T}$ac_res" >&6; }
37613 if test `eval echo '${'$as_ac_var'}'` = yes; then
37614 cat >>confdefs.h <<_ACEOF
37615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37624 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37625 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37630 for ac_func in snprintf vsnprintf
37632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37636 echo $ECHO_N "(cached) $ECHO_C" >&6
37638 cat >conftest.$ac_ext <<_ACEOF
37641 cat confdefs.h >>conftest.$ac_ext
37642 cat >>conftest.$ac_ext <<_ACEOF
37643 /* end confdefs.h. */
37644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37646 #define $ac_func innocuous_$ac_func
37648 /* System header to define __stub macros and hopefully few prototypes,
37649 which can conflict with char $ac_func (); below.
37650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37651 <limits.h> exists even on freestanding compilers. */
37654 # include <limits.h>
37656 # include <assert.h>
37661 /* Override any GCC internal prototype to avoid an error.
37662 Use char because int might match the return type of a GCC
37663 builtin and then its argument prototype would still apply. */
37668 /* The GNU C library defines this for functions which it implements
37669 to always fail with ENOSYS. Some functions are actually named
37670 something starting with __ and the normal name is an alias. */
37671 #if defined __stub_$ac_func || defined __stub___$ac_func
37678 return $ac_func ();
37683 rm -f conftest.$ac_objext conftest$ac_exeext
37684 if { (ac_try="$ac_link"
37685 case "(($ac_try" in
37686 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37687 *) ac_try_echo
=$ac_try;;
37689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37690 (eval "$ac_link") 2>conftest.er1
37692 grep -v '^ *+' conftest.er1
>conftest.err
37694 cat conftest.err
>&5
37695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696 (exit $ac_status); } && {
37697 test -z "$ac_c_werror_flag" ||
37698 test ! -s conftest.err
37699 } && test -s conftest
$ac_exeext &&
37700 $as_test_x conftest
$ac_exeext; then
37701 eval "$as_ac_var=yes"
37703 echo "$as_me: failed program was:" >&5
37704 sed 's/^/| /' conftest.
$ac_ext >&5
37706 eval "$as_ac_var=no"
37709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37710 conftest
$ac_exeext conftest.
$ac_ext
37712 ac_res
=`eval echo '${'$as_ac_var'}'`
37713 { echo "$as_me:$LINENO: result: $ac_res" >&5
37714 echo "${ECHO_T}$ac_res" >&6; }
37715 if test `eval echo '${'$as_ac_var'}'` = yes; then
37716 cat >>confdefs.h
<<_ACEOF
37717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37724 if test "$ac_cv_func_vsnprintf" = "yes"; then
37725 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37726 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37727 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37728 echo $ECHO_N "(cached) $ECHO_C" >&6
37731 cat >conftest.
$ac_ext <<_ACEOF
37734 cat confdefs.h
>>conftest.
$ac_ext
37735 cat >>conftest.
$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37739 #include <stdarg.h>
37741 #if __MSL__ >= 0x6000
37743 using namespace std;
37753 vsnprintf(buf, 10u, "%s", ap);
37759 rm -f conftest.
$ac_objext
37760 if { (ac_try
="$ac_compile"
37761 case "(($ac_try" in
37762 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37763 *) ac_try_echo=$ac_try;;
37765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37766 (eval "$ac_compile") 2>conftest.er1
37768 grep -v '^ *+' conftest.er1 >conftest.err
37770 cat conftest.err >&5
37771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37772 (exit $ac_status); } && {
37773 test -z "$ac_c_werror_flag" ||
37774 test ! -s conftest.err
37775 } && test -s conftest.$ac_objext; then
37776 wx_cv_func_vsnprintf_decl=yes
37778 echo "$as_me: failed program was:" >&5
37779 sed 's/^/| /' conftest.$ac_ext >&5
37781 wx_cv_func_vsnprintf_decl=no
37785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37789 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37790 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37792 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37793 cat >>confdefs.h <<\_ACEOF
37794 #define HAVE_VSNPRINTF_DECL 1
37798 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37799 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37800 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37801 echo $ECHO_N "(cached) $ECHO_C" >&6
37804 cat >conftest.$ac_ext <<_ACEOF
37807 cat confdefs.h >>conftest.$ac_ext
37808 cat >>conftest.$ac_ext <<_ACEOF
37809 /* end confdefs.h. */
37812 #include <stdarg.h>
37814 #if __MSL__ >= 0x6000
37816 using namespace std;
37826 const char *fmt = "%s";
37827 vsnprintf(buf, 10u, fmt, ap);
37833 rm -f conftest.$ac_objext
37834 if { (ac_try="$ac_compile"
37835 case "(($ac_try" in
37836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37837 *) ac_try_echo
=$ac_try;;
37839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37840 (eval "$ac_compile") 2>conftest.er1
37842 grep -v '^ *+' conftest.er1
>conftest.err
37844 cat conftest.err
>&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); } && {
37847 test -z "$ac_c_werror_flag" ||
37848 test ! -s conftest.err
37849 } && test -s conftest.
$ac_objext; then
37850 wx_cv_func_broken_vsnprintf_decl
=no
37852 echo "$as_me: failed program was:" >&5
37853 sed 's/^/| /' conftest.
$ac_ext >&5
37855 wx_cv_func_broken_vsnprintf_decl
=yes
37859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37863 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37864 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37866 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37867 cat >>confdefs.h
<<\_ACEOF
37868 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37875 if test "$ac_cv_func_snprintf" = "yes"; then
37876 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37877 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37878 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37879 echo $ECHO_N "(cached) $ECHO_C" >&6
37882 cat >conftest.
$ac_ext <<_ACEOF
37885 cat confdefs.h
>>conftest.
$ac_ext
37886 cat >>conftest.
$ac_ext <<_ACEOF
37887 /* end confdefs.h. */
37890 #include <stdarg.h>
37892 #if __MSL__ >= 0x6000
37894 using namespace std;
37903 snprintf(buf, 10u, "%s", "wx");
37909 rm -f conftest.
$ac_objext
37910 if { (ac_try
="$ac_compile"
37911 case "(($ac_try" in
37912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37913 *) ac_try_echo=$ac_try;;
37915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37916 (eval "$ac_compile") 2>conftest.er1
37918 grep -v '^ *+' conftest.er1 >conftest.err
37920 cat conftest.err >&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); } && {
37923 test -z "$ac_c_werror_flag" ||
37924 test ! -s conftest.err
37925 } && test -s conftest.$ac_objext; then
37926 wx_cv_func_snprintf_decl=yes
37928 echo "$as_me: failed program was:" >&5
37929 sed 's/^/| /' conftest.$ac_ext >&5
37931 wx_cv_func_snprintf_decl=no
37935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37939 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37940 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37942 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37943 cat >>confdefs.h <<\_ACEOF
37944 #define HAVE_SNPRINTF_DECL 1
37949 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37951 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37952 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37953 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37954 echo $ECHO_N "(cached) $ECHO_C" >&6
37957 if test "$cross_compiling" = yes; then
37959 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37960 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37961 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37962 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37963 wx_cv_func_snprintf_pos_params=no
37967 cat >conftest.$ac_ext <<_ACEOF
37970 cat confdefs.h >>conftest.$ac_ext
37971 cat >>conftest.$ac_ext <<_ACEOF
37972 /* end confdefs.h. */
37979 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37980 if (strcmp ("2 3 1", buffer) == 0)
37986 rm -f conftest$ac_exeext
37987 if { (ac_try="$ac_link"
37988 case "(($ac_try" in
37989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37990 *) ac_try_echo
=$ac_try;;
37992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37993 (eval "$ac_link") 2>&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37997 { (case "(($ac_try" in
37998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37999 *) ac_try_echo=$ac_try;;
38001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38002 (eval "$ac_try") 2>&5
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); }; }; then
38006 wx_cv_func_snprintf_pos_params=no
38008 echo "$as_me: program exited with status $ac_status" >&5
38009 echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.$ac_ext >&5
38012 ( exit $ac_status )
38013 wx_cv_func_snprintf_pos_params=yes
38015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38022 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38023 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38025 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38026 cat >>confdefs.h <<\_ACEOF
38027 #define HAVE_UNIX98_PRINTF 1
38034 if test "$wxUSE_UNICODE" = yes; then
38036 wchar_headers="#include <stdio.h>
38037 #include <wchar.h>"
38041 for ac_header in widec.h
38043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38044 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38046 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38047 echo $ECHO_N "(cached) $ECHO_C" >&6
38049 cat >conftest.$ac_ext <<_ACEOF
38052 cat confdefs.h >>conftest.$ac_ext
38053 cat >>conftest.$ac_ext <<_ACEOF
38054 /* end confdefs.h. */
38055 $ac_includes_default
38057 #include <$ac_header>
38059 rm -f conftest.$ac_objext
38060 if { (ac_try="$ac_compile"
38061 case "(($ac_try" in
38062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38063 *) ac_try_echo
=$ac_try;;
38065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38066 (eval "$ac_compile") 2>conftest.er1
38068 grep -v '^ *+' conftest.er1
>conftest.err
38070 cat conftest.err
>&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } && {
38073 test -z "$ac_c_werror_flag" ||
38074 test ! -s conftest.err
38075 } && test -s conftest.
$ac_objext; then
38076 eval "$as_ac_Header=yes"
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.
$ac_ext >&5
38081 eval "$as_ac_Header=no"
38084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38086 ac_res
=`eval echo '${'$as_ac_Header'}'`
38087 { echo "$as_me:$LINENO: result: $ac_res" >&5
38088 echo "${ECHO_T}$ac_res" >&6; }
38089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38090 cat >>confdefs.h
<<_ACEOF
38091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38098 if test "$ac_cv_header_widec_h" = "yes"; then
38099 wchar_headers
="$wchar_headers
38100 #include <widec.h>"
38105 for wx_func
in putws fputws wprintf vswprintf
38107 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38108 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38109 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38110 echo $ECHO_N "(cached) $ECHO_C" >&6
38113 cat >conftest.
$ac_ext <<_ACEOF
38117 cat confdefs.h
>>conftest.
$ac_ext
38118 cat >>conftest.
$ac_ext <<_ACEOF
38119 /* end confdefs.h. */
38122 $ac_includes_default
38138 rm -f conftest.
$ac_objext conftest
$ac_exeext
38139 if { (ac_try
="$ac_link"
38140 case "(($ac_try" in
38141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38142 *) ac_try_echo=$ac_try;;
38144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38145 (eval "$ac_link") 2>conftest.er1
38147 grep -v '^ *+' conftest.er1 >conftest.err
38149 cat conftest.err >&5
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); } && {
38152 test -z "$ac_c_werror_flag" ||
38153 test ! -s conftest.err
38154 } && test -s conftest$ac_exeext &&
38155 $as_test_x conftest$ac_exeext; then
38156 eval wx_cv_func_$wx_func=yes
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38161 eval wx_cv_func_$wx_func=no
38164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38165 conftest$ac_exeext conftest.$ac_ext
38168 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38169 { echo "$as_me:$LINENO: result: $ac_res" >&5
38170 echo "${ECHO_T}$ac_res" >&6; }
38172 if eval test \$wx_cv_func_$wx_func = yes
38174 cat >>confdefs.h <<_ACEOF
38175 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38186 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38187 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38188 cat >conftest.$ac_ext <<_ACEOF
38191 cat confdefs.h >>conftest.$ac_ext
38192 cat >>conftest.$ac_ext <<_ACEOF
38193 /* end confdefs.h. */
38203 rm -f conftest.$ac_objext
38204 if { (ac_try="$ac_compile"
38205 case "(($ac_try" in
38206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38207 *) ac_try_echo
=$ac_try;;
38209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38210 (eval "$ac_compile") 2>conftest.er1
38212 grep -v '^ *+' conftest.er1
>conftest.err
38214 cat conftest.err
>&5
38215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216 (exit $ac_status); } && {
38217 test -z "$ac_c_werror_flag" ||
38218 test ! -s conftest.err
38219 } && test -s conftest.
$ac_objext; then
38220 { echo "$as_me:$LINENO: result: yes" >&5
38221 echo "${ECHO_T}yes" >&6; }
38222 cat >>confdefs.h
<<\_ACEOF
38223 #define HAVE__VSNWPRINTF 1
38227 echo "$as_me: failed program was:" >&5
38228 sed 's/^/| /' conftest.
$ac_ext >&5
38230 { echo "$as_me:$LINENO: result: no" >&5
38231 echo "${ECHO_T}no" >&6; }
38234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
38237 if test "$wxUSE_FILE" = "yes"; then
38239 for wx_func
in fsync
38241 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38242 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38243 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38247 cat >conftest.
$ac_ext <<_ACEOF
38251 cat confdefs.h
>>conftest.
$ac_ext
38252 cat >>conftest.
$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38256 $ac_includes_default
38272 rm -f conftest.
$ac_objext conftest
$ac_exeext
38273 if { (ac_try
="$ac_link"
38274 case "(($ac_try" in
38275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38276 *) ac_try_echo=$ac_try;;
38278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38279 (eval "$ac_link") 2>conftest.er1
38281 grep -v '^ *+' conftest.er1 >conftest.err
38283 cat conftest.err >&5
38284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38285 (exit $ac_status); } && {
38286 test -z "$ac_c_werror_flag" ||
38287 test ! -s conftest.err
38288 } && test -s conftest$ac_exeext &&
38289 $as_test_x conftest$ac_exeext; then
38290 eval wx_cv_func_$wx_func=yes
38292 echo "$as_me: failed program was:" >&5
38293 sed 's/^/| /' conftest.$ac_ext >&5
38295 eval wx_cv_func_$wx_func=no
38298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38299 conftest$ac_exeext conftest.$ac_ext
38302 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38303 { echo "$as_me:$LINENO: result: $ac_res" >&5
38304 echo "${ECHO_T}$ac_res" >&6; }
38306 if eval test \$wx_cv_func_$wx_func = yes
38308 cat >>confdefs.h <<_ACEOF
38309 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38322 ac_cpp='$CXXCPP $CPPFLAGS'
38323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38328 for wx_func in round
38330 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38331 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38332 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38333 echo $ECHO_N "(cached) $ECHO_C" >&6
38336 cat >conftest.$ac_ext <<_ACEOF
38340 cat confdefs.h >>conftest.$ac_ext
38341 cat >>conftest.$ac_ext <<_ACEOF
38342 /* end confdefs.h. */
38345 $ac_includes_default
38361 rm -f conftest.$ac_objext conftest$ac_exeext
38362 if { (ac_try="$ac_link"
38363 case "(($ac_try" in
38364 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38365 *) ac_try_echo
=$ac_try;;
38367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38368 (eval "$ac_link") 2>conftest.er1
38370 grep -v '^ *+' conftest.er1
>conftest.err
38372 cat conftest.err
>&5
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); } && {
38375 test -z "$ac_cxx_werror_flag" ||
38376 test ! -s conftest.err
38377 } && test -s conftest
$ac_exeext &&
38378 $as_test_x conftest
$ac_exeext; then
38379 eval wx_cv_func_
$wx_func=yes
38381 echo "$as_me: failed program was:" >&5
38382 sed 's/^/| /' conftest.
$ac_ext >&5
38384 eval wx_cv_func_
$wx_func=no
38387 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38388 conftest
$ac_exeext conftest.
$ac_ext
38391 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38392 { echo "$as_me:$LINENO: result: $ac_res" >&5
38393 echo "${ECHO_T}$ac_res" >&6; }
38395 if eval test \
$wx_cv_func_$wx_func = yes
38397 cat >>confdefs.h
<<_ACEOF
38398 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38409 ac_cpp
='$CPP $CPPFLAGS'
38410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38415 if test "$TOOLKIT" != "MSW"; then
38421 # Check whether --with-libiconv-prefix was given.
38422 if test "${with_libiconv_prefix+set}" = set; then
38423 withval
=$with_libiconv_prefix;
38424 for dir
in `echo "$withval" | tr : ' '`; do
38425 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38426 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38432 { echo "$as_me:$LINENO: checking for iconv" >&5
38433 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38434 if test "${am_cv_func_iconv+set}" = set; then
38435 echo $ECHO_N "(cached) $ECHO_C" >&6
38438 am_cv_func_iconv
="no, consider installing GNU libiconv"
38440 cat >conftest.
$ac_ext <<_ACEOF
38443 cat confdefs.h
>>conftest.
$ac_ext
38444 cat >>conftest.
$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38446 #include <stdlib.h>
38451 iconv_t cd = iconv_open("","");
38452 iconv(cd,NULL,NULL,NULL,NULL);
38458 rm -f conftest.
$ac_objext conftest
$ac_exeext
38459 if { (ac_try
="$ac_link"
38460 case "(($ac_try" in
38461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38462 *) ac_try_echo=$ac_try;;
38464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38465 (eval "$ac_link") 2>conftest.er1
38467 grep -v '^ *+' conftest.er1 >conftest.err
38469 cat conftest.err >&5
38470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38471 (exit $ac_status); } && {
38472 test -z "$ac_c_werror_flag" ||
38473 test ! -s conftest.err
38474 } && test -s conftest$ac_exeext &&
38475 $as_test_x conftest$ac_exeext; then
38476 am_cv_func_iconv=yes
38478 echo "$as_me: failed program was:" >&5
38479 sed 's/^/| /' conftest.$ac_ext >&5
38484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38485 conftest$ac_exeext conftest.$ac_ext
38486 if test "$am_cv_func_iconv" != yes; then
38487 am_save_LIBS="$LIBS"
38488 LIBS="$LIBS -liconv"
38489 cat >conftest.$ac_ext <<_ACEOF
38492 cat confdefs.h >>conftest.$ac_ext
38493 cat >>conftest.$ac_ext <<_ACEOF
38494 /* end confdefs.h. */
38495 #include <stdlib.h>
38500 iconv_t cd = iconv_open("","");
38501 iconv(cd,NULL,NULL,NULL,NULL);
38507 rm -f conftest.$ac_objext conftest$ac_exeext
38508 if { (ac_try="$ac_link"
38509 case "(($ac_try" in
38510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38511 *) ac_try_echo
=$ac_try;;
38513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38514 (eval "$ac_link") 2>conftest.er1
38516 grep -v '^ *+' conftest.er1
>conftest.err
38518 cat conftest.err
>&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); } && {
38521 test -z "$ac_c_werror_flag" ||
38522 test ! -s conftest.err
38523 } && test -s conftest
$ac_exeext &&
38524 $as_test_x conftest
$ac_exeext; then
38525 am_cv_lib_iconv
=yes
38526 am_cv_func_iconv
=yes
38528 echo "$as_me: failed program was:" >&5
38529 sed 's/^/| /' conftest.
$ac_ext >&5
38534 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38535 conftest
$ac_exeext conftest.
$ac_ext
38536 LIBS
="$am_save_LIBS"
38540 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38541 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38542 if test "$am_cv_func_iconv" = yes; then
38544 cat >>confdefs.h
<<\_ACEOF
38545 #define HAVE_ICONV 1
38548 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38549 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38550 if test "${wx_cv_func_iconv_const+set}" = set; then
38551 echo $ECHO_N "(cached) $ECHO_C" >&6
38553 cat >conftest.
$ac_ext <<_ACEOF
38556 cat confdefs.h
>>conftest.
$ac_ext
38557 cat >>conftest.
$ac_ext <<_ACEOF
38558 /* end confdefs.h. */
38560 #include <stdlib.h>
38566 #if defined(__STDC__) || defined(__cplusplus)
38567 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38580 rm -f conftest.
$ac_objext
38581 if { (ac_try
="$ac_compile"
38582 case "(($ac_try" in
38583 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38584 *) ac_try_echo=$ac_try;;
38586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38587 (eval "$ac_compile") 2>conftest.er1
38589 grep -v '^ *+' conftest.er1 >conftest.err
38591 cat conftest.err >&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } && {
38594 test -z "$ac_c_werror_flag" ||
38595 test ! -s conftest.err
38596 } && test -s conftest.$ac_objext; then
38597 wx_cv_func_iconv_const="no"
38599 echo "$as_me: failed program was:" >&5
38600 sed 's/^/| /' conftest.$ac_ext >&5
38602 wx_cv_func_iconv_const="yes"
38606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38610 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38613 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38614 iconv_const="const"
38618 cat >>confdefs.h <<_ACEOF
38619 #define ICONV_CONST $iconv_const
38624 if test "$am_cv_lib_iconv" = yes; then
38629 LIBS="$LIBICONV $LIBS"
38631 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38633 for ac_func in sigaction
38635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38636 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38638 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38639 echo $ECHO_N "(cached) $ECHO_C" >&6
38641 cat >conftest.$ac_ext <<_ACEOF
38644 cat confdefs.h >>conftest.$ac_ext
38645 cat >>conftest.$ac_ext <<_ACEOF
38646 /* end confdefs.h. */
38647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38649 #define $ac_func innocuous_$ac_func
38651 /* System header to define __stub macros and hopefully few prototypes,
38652 which can conflict with char $ac_func (); below.
38653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38654 <limits.h> exists even on freestanding compilers. */
38657 # include <limits.h>
38659 # include <assert.h>
38664 /* Override any GCC internal prototype to avoid an error.
38665 Use char because int might match the return type of a GCC
38666 builtin and then its argument prototype would still apply. */
38671 /* The GNU C library defines this for functions which it implements
38672 to always fail with ENOSYS. Some functions are actually named
38673 something starting with __ and the normal name is an alias. */
38674 #if defined __stub_$ac_func || defined __stub___$ac_func
38681 return $ac_func ();
38686 rm -f conftest.$ac_objext conftest$ac_exeext
38687 if { (ac_try="$ac_link"
38688 case "(($ac_try" in
38689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38690 *) ac_try_echo
=$ac_try;;
38692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38693 (eval "$ac_link") 2>conftest.er1
38695 grep -v '^ *+' conftest.er1
>conftest.err
38697 cat conftest.err
>&5
38698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38699 (exit $ac_status); } && {
38700 test -z "$ac_c_werror_flag" ||
38701 test ! -s conftest.err
38702 } && test -s conftest
$ac_exeext &&
38703 $as_test_x conftest
$ac_exeext; then
38704 eval "$as_ac_var=yes"
38706 echo "$as_me: failed program was:" >&5
38707 sed 's/^/| /' conftest.
$ac_ext >&5
38709 eval "$as_ac_var=no"
38712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38713 conftest
$ac_exeext conftest.
$ac_ext
38715 ac_res
=`eval echo '${'$as_ac_var'}'`
38716 { echo "$as_me:$LINENO: result: $ac_res" >&5
38717 echo "${ECHO_T}$ac_res" >&6; }
38718 if test `eval echo '${'$as_ac_var'}'` = yes; then
38719 cat >>confdefs.h
<<_ACEOF
38720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38727 if test "$ac_cv_func_sigaction" = "no"; then
38728 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38729 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38730 wxUSE_ON_FATAL_EXCEPTION
=no
38733 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38734 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38735 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38736 if test "${wx_cv_type_sa_handler+set}" = set; then
38737 echo $ECHO_N "(cached) $ECHO_C" >&6
38741 ac_cpp
='$CXXCPP $CPPFLAGS'
38742 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38743 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38744 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38746 cat >conftest.
$ac_ext <<_ACEOF
38749 cat confdefs.h
>>conftest.
$ac_ext
38750 cat >>conftest.
$ac_ext <<_ACEOF
38751 /* end confdefs.h. */
38752 #include <signal.h>
38757 extern void testSigHandler(int);
38759 struct sigaction sa;
38760 sa.sa_handler = testSigHandler;
38766 rm -f conftest.
$ac_objext
38767 if { (ac_try
="$ac_compile"
38768 case "(($ac_try" in
38769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38770 *) ac_try_echo=$ac_try;;
38772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38773 (eval "$ac_compile") 2>conftest.er1
38775 grep -v '^ *+' conftest.er1 >conftest.err
38777 cat conftest.err >&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); } && {
38780 test -z "$ac_cxx_werror_flag" ||
38781 test ! -s conftest.err
38782 } && test -s conftest.$ac_objext; then
38784 wx_cv_type_sa_handler=int
38787 echo "$as_me: failed program was:" >&5
38788 sed 's/^/| /' conftest.$ac_ext >&5
38791 wx_cv_type_sa_handler=void
38795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38797 ac_cpp='$CPP $CPPFLAGS'
38798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38804 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38805 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38807 cat >>confdefs.h <<_ACEOF
38808 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38814 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38815 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38816 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38817 if test "${wx_cv_func_backtrace+set}" = set; then
38818 echo $ECHO_N "(cached) $ECHO_C" >&6
38822 ac_cpp='$CXXCPP $CPPFLAGS'
38823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38827 cat >conftest.$ac_ext <<_ACEOF
38830 cat confdefs.h >>conftest.$ac_ext
38831 cat >>conftest.$ac_ext <<_ACEOF
38832 /* end confdefs.h. */
38833 #include <execinfo.h>
38841 backtrace(trace, 1);
38842 messages = backtrace_symbols(trace, 1);
38848 rm -f conftest.$ac_objext
38849 if { (ac_try="$ac_compile"
38850 case "(($ac_try" in
38851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38852 *) ac_try_echo
=$ac_try;;
38854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38855 (eval "$ac_compile") 2>conftest.er1
38857 grep -v '^ *+' conftest.er1
>conftest.err
38859 cat conftest.err
>&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); } && {
38862 test -z "$ac_cxx_werror_flag" ||
38863 test ! -s conftest.err
38864 } && test -s conftest.
$ac_objext; then
38865 wx_cv_func_backtrace
=yes
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.
$ac_ext >&5
38870 wx_cv_func_backtrace
=no
38874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38876 ac_cpp
='$CPP $CPPFLAGS'
38877 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38884 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38885 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38888 if test "$wx_cv_func_backtrace" = "no"; then
38889 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38890 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38891 wxUSE_STACKWALKER
=no
38893 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38894 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38895 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38896 echo $ECHO_N "(cached) $ECHO_C" >&6
38900 ac_cpp
='$CXXCPP $CPPFLAGS'
38901 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38902 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38903 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38905 cat >conftest.
$ac_ext <<_ACEOF
38908 cat confdefs.h
>>conftest.
$ac_ext
38909 cat >>conftest.
$ac_ext <<_ACEOF
38910 /* end confdefs.h. */
38911 #include <cxxabi.h>
38917 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38923 rm -f conftest.
$ac_objext conftest
$ac_exeext
38924 if { (ac_try
="$ac_link"
38925 case "(($ac_try" in
38926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38927 *) ac_try_echo=$ac_try;;
38929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38930 (eval "$ac_link") 2>conftest.er1
38932 grep -v '^ *+' conftest.er1 >conftest.err
38934 cat conftest.err >&5
38935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38936 (exit $ac_status); } && {
38937 test -z "$ac_cxx_werror_flag" ||
38938 test ! -s conftest.err
38939 } && test -s conftest$ac_exeext &&
38940 $as_test_x conftest$ac_exeext; then
38941 wx_cv_func_cxa_demangle=yes
38943 echo "$as_me: failed program was:" >&5
38944 sed 's/^/| /' conftest.$ac_ext >&5
38946 wx_cv_func_cxa_demangle=no
38950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38951 conftest$ac_exeext conftest.$ac_ext
38953 ac_cpp='$CPP $CPPFLAGS'
38954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38961 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38962 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38964 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38965 cat >>confdefs.h <<\_ACEOF
38966 #define HAVE_CXA_DEMANGLE 1
38973 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
38974 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38975 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38976 wxUSE_STACKWALKER=no
38982 for ac_func in mkstemp mktemp
38984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38985 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 cat >conftest.$ac_ext <<_ACEOF
38993 cat confdefs.h >>conftest.$ac_ext
38994 cat >>conftest.$ac_ext <<_ACEOF
38995 /* end confdefs.h. */
38996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38998 #define $ac_func innocuous_$ac_func
39000 /* System header to define __stub macros and hopefully few prototypes,
39001 which can conflict with char $ac_func (); below.
39002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39003 <limits.h> exists even on freestanding compilers. */
39006 # include <limits.h>
39008 # include <assert.h>
39013 /* Override any GCC internal prototype to avoid an error.
39014 Use char because int might match the return type of a GCC
39015 builtin and then its argument prototype would still apply. */
39020 /* The GNU C library defines this for functions which it implements
39021 to always fail with ENOSYS. Some functions are actually named
39022 something starting with __ and the normal name is an alias. */
39023 #if defined __stub_$ac_func || defined __stub___$ac_func
39030 return $ac_func ();
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (ac_try="$ac_link"
39037 case "(($ac_try" in
39038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39039 *) ac_try_echo
=$ac_try;;
39041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39042 (eval "$ac_link") 2>conftest.er1
39044 grep -v '^ *+' conftest.er1
>conftest.err
39046 cat conftest.err
>&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } && {
39049 test -z "$ac_c_werror_flag" ||
39050 test ! -s conftest.err
39051 } && test -s conftest
$ac_exeext &&
39052 $as_test_x conftest
$ac_exeext; then
39053 eval "$as_ac_var=yes"
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.
$ac_ext >&5
39058 eval "$as_ac_var=no"
39061 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39062 conftest
$ac_exeext conftest.
$ac_ext
39064 ac_res
=`eval echo '${'$as_ac_var'}'`
39065 { echo "$as_me:$LINENO: result: $ac_res" >&5
39066 echo "${ECHO_T}$ac_res" >&6; }
39067 if test `eval echo '${'$as_ac_var'}'` = yes; then
39068 cat >>confdefs.h
<<_ACEOF
39069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39076 { echo "$as_me:$LINENO: checking for statfs" >&5
39077 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39078 if test "${wx_cv_func_statfs+set}" = set; then
39079 echo $ECHO_N "(cached) $ECHO_C" >&6
39081 cat >conftest.
$ac_ext <<_ACEOF
39084 cat confdefs.h
>>conftest.
$ac_ext
39085 cat >>conftest.
$ac_ext <<_ACEOF
39086 /* end confdefs.h. */
39088 #if defined(__BSD__)
39089 #include <sys/param.h>
39090 #include <sys/mount.h>
39092 #include <sys/vfs.h>
39110 rm -f conftest.
$ac_objext
39111 if { (ac_try
="$ac_compile"
39112 case "(($ac_try" in
39113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39114 *) ac_try_echo=$ac_try;;
39116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39117 (eval "$ac_compile") 2>conftest.er1
39119 grep -v '^ *+' conftest.er1 >conftest.err
39121 cat conftest.err >&5
39122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123 (exit $ac_status); } && {
39124 test -z "$ac_c_werror_flag" ||
39125 test ! -s conftest.err
39126 } && test -s conftest.$ac_objext; then
39127 wx_cv_func_statfs=yes
39129 echo "$as_me: failed program was:" >&5
39130 sed 's/^/| /' conftest.$ac_ext >&5
39132 wx_cv_func_statfs=no
39136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39139 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39140 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39142 if test "$wx_cv_func_statfs" = "yes"; then
39143 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39144 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39145 if test "${wx_cv_func_statfs_decl+set}" = set; then
39146 echo $ECHO_N "(cached) $ECHO_C" >&6
39149 ac_cpp='$CXXCPP $CPPFLAGS'
39150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39154 cat >conftest.$ac_ext <<_ACEOF
39157 cat confdefs.h >>conftest.$ac_ext
39158 cat >>conftest.$ac_ext <<_ACEOF
39159 /* end confdefs.h. */
39161 #if defined(__BSD__)
39162 #include <sys/param.h>
39163 #include <sys/mount.h>
39165 #include <sys/vfs.h>
39179 rm -f conftest.$ac_objext
39180 if { (ac_try="$ac_compile"
39181 case "(($ac_try" in
39182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39183 *) ac_try_echo
=$ac_try;;
39185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39186 (eval "$ac_compile") 2>conftest.er1
39188 grep -v '^ *+' conftest.er1
>conftest.err
39190 cat conftest.err
>&5
39191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39192 (exit $ac_status); } && {
39193 test -z "$ac_cxx_werror_flag" ||
39194 test ! -s conftest.err
39195 } && test -s conftest.
$ac_objext; then
39196 wx_cv_func_statfs_decl
=yes
39198 echo "$as_me: failed program was:" >&5
39199 sed 's/^/| /' conftest.
$ac_ext >&5
39201 wx_cv_func_statfs_decl
=no
39205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39207 ac_cpp
='$CPP $CPPFLAGS'
39208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39214 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39215 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39217 if test "$wx_cv_func_statfs_decl" = "yes"; then
39218 cat >>confdefs.h
<<\_ACEOF
39219 #define HAVE_STATFS_DECL 1
39224 wx_cv_type_statvfs_t
="struct statfs"
39225 cat >>confdefs.h
<<\_ACEOF
39226 #define HAVE_STATFS 1
39230 { echo "$as_me:$LINENO: checking for statvfs" >&5
39231 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39232 if test "${wx_cv_func_statvfs+set}" = set; then
39233 echo $ECHO_N "(cached) $ECHO_C" >&6
39235 cat >conftest.
$ac_ext <<_ACEOF
39238 cat confdefs.h
>>conftest.
$ac_ext
39239 cat >>conftest.
$ac_ext <<_ACEOF
39240 /* end confdefs.h. */
39242 #include <stddef.h>
39243 #include <sys/statvfs.h>
39249 statvfs("/", NULL);
39255 rm -f conftest.
$ac_objext
39256 if { (ac_try
="$ac_compile"
39257 case "(($ac_try" in
39258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39259 *) ac_try_echo=$ac_try;;
39261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39262 (eval "$ac_compile") 2>conftest.er1
39264 grep -v '^ *+' conftest.er1 >conftest.err
39266 cat conftest.err >&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); } && {
39269 test -z "$ac_c_werror_flag" ||
39270 test ! -s conftest.err
39271 } && test -s conftest.$ac_objext; then
39272 wx_cv_func_statvfs=yes
39274 echo "$as_me: failed program was:" >&5
39275 sed 's/^/| /' conftest.$ac_ext >&5
39277 wx_cv_func_statvfs=no
39281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39284 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39285 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39287 if test "$wx_cv_func_statvfs" = "yes"; then
39288 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39289 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39290 if test "${wx_cv_type_statvfs_t+set}" = set; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39294 ac_cpp='$CXXCPP $CPPFLAGS'
39295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39299 cat >conftest.$ac_ext <<_ACEOF
39302 cat confdefs.h >>conftest.$ac_ext
39303 cat >>conftest.$ac_ext <<_ACEOF
39304 /* end confdefs.h. */
39306 #include <sys/statvfs.h>
39323 rm -f conftest.$ac_objext
39324 if { (ac_try="$ac_compile"
39325 case "(($ac_try" in
39326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39327 *) ac_try_echo
=$ac_try;;
39329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39330 (eval "$ac_compile") 2>conftest.er1
39332 grep -v '^ *+' conftest.er1
>conftest.err
39334 cat conftest.err
>&5
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); } && {
39337 test -z "$ac_cxx_werror_flag" ||
39338 test ! -s conftest.err
39339 } && test -s conftest.
$ac_objext; then
39340 wx_cv_type_statvfs_t
=statvfs_t
39342 echo "$as_me: failed program was:" >&5
39343 sed 's/^/| /' conftest.
$ac_ext >&5
39346 cat >conftest.
$ac_ext <<_ACEOF
39349 cat confdefs.h
>>conftest.
$ac_ext
39350 cat >>conftest.
$ac_ext <<_ACEOF
39351 /* end confdefs.h. */
39353 #include <sys/statvfs.h>
39370 rm -f conftest.
$ac_objext
39371 if { (ac_try
="$ac_compile"
39372 case "(($ac_try" in
39373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39374 *) ac_try_echo=$ac_try;;
39376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39377 (eval "$ac_compile") 2>conftest.er1
39379 grep -v '^ *+' conftest.er1 >conftest.err
39381 cat conftest.err >&5
39382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39383 (exit $ac_status); } && {
39384 test -z "$ac_cxx_werror_flag" ||
39385 test ! -s conftest.err
39386 } && test -s conftest.$ac_objext; then
39387 wx_cv_type_statvfs_t="struct statvfs"
39389 echo "$as_me: failed program was:" >&5
39390 sed 's/^/| /' conftest.$ac_ext >&5
39392 wx_cv_type_statvfs_t="unknown"
39396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39403 ac_cpp='$CPP $CPPFLAGS'
39404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39410 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39411 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39413 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39414 cat >>confdefs.h <<\_ACEOF
39415 #define HAVE_STATVFS 1
39420 wx_cv_type_statvfs_t="unknown"
39424 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39425 cat >>confdefs.h <<_ACEOF
39426 #define WX_STATFS_T $wx_cv_type_statvfs_t
39430 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39431 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39434 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39437 for ac_func in fcntl flock
39439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39443 echo $ECHO_N "(cached) $ECHO_C" >&6
39445 cat >conftest.$ac_ext <<_ACEOF
39448 cat confdefs.h >>conftest.$ac_ext
39449 cat >>conftest.$ac_ext <<_ACEOF
39450 /* end confdefs.h. */
39451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39453 #define $ac_func innocuous_$ac_func
39455 /* System header to define __stub macros and hopefully few prototypes,
39456 which can conflict with char $ac_func (); below.
39457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39458 <limits.h> exists even on freestanding compilers. */
39461 # include <limits.h>
39463 # include <assert.h>
39468 /* Override any GCC internal prototype to avoid an error.
39469 Use char because int might match the return type of a GCC
39470 builtin and then its argument prototype would still apply. */
39475 /* The GNU C library defines this for functions which it implements
39476 to always fail with ENOSYS. Some functions are actually named
39477 something starting with __ and the normal name is an alias. */
39478 #if defined __stub_$ac_func || defined __stub___$ac_func
39485 return $ac_func ();
39490 rm -f conftest.$ac_objext conftest$ac_exeext
39491 if { (ac_try="$ac_link"
39492 case "(($ac_try" in
39493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39494 *) ac_try_echo
=$ac_try;;
39496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39497 (eval "$ac_link") 2>conftest.er1
39499 grep -v '^ *+' conftest.er1
>conftest.err
39501 cat conftest.err
>&5
39502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39503 (exit $ac_status); } && {
39504 test -z "$ac_c_werror_flag" ||
39505 test ! -s conftest.err
39506 } && test -s conftest
$ac_exeext &&
39507 $as_test_x conftest
$ac_exeext; then
39508 eval "$as_ac_var=yes"
39510 echo "$as_me: failed program was:" >&5
39511 sed 's/^/| /' conftest.
$ac_ext >&5
39513 eval "$as_ac_var=no"
39516 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39517 conftest
$ac_exeext conftest.
$ac_ext
39519 ac_res
=`eval echo '${'$as_ac_var'}'`
39520 { echo "$as_me:$LINENO: result: $ac_res" >&5
39521 echo "${ECHO_T}$ac_res" >&6; }
39522 if test `eval echo '${'$as_ac_var'}'` = yes; then
39523 cat >>confdefs.h
<<_ACEOF
39524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39531 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39532 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39533 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39534 wxUSE_SNGLINST_CHECKER
=no
39540 for ac_func
in setenv putenv
39542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39543 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39545 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39546 echo $ECHO_N "(cached) $ECHO_C" >&6
39548 cat >conftest.
$ac_ext <<_ACEOF
39551 cat confdefs.h
>>conftest.
$ac_ext
39552 cat >>conftest.
$ac_ext <<_ACEOF
39553 /* end confdefs.h. */
39554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39556 #define $ac_func innocuous_$ac_func
39558 /* System header to define __stub macros and hopefully few prototypes,
39559 which can conflict with char $ac_func (); below.
39560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39561 <limits.h> exists even on freestanding compilers. */
39564 # include <limits.h>
39566 # include <assert.h>
39571 /* Override any GCC internal prototype to avoid an error.
39572 Use char because int might match the return type of a GCC
39573 builtin and then its argument prototype would still apply. */
39578 /* The GNU C library defines this for functions which it implements
39579 to always fail with ENOSYS. Some functions are actually named
39580 something starting with __ and the normal name is an alias. */
39581 #if defined __stub_$ac_func || defined __stub___$ac_func
39588 return $ac_func ();
39593 rm -f conftest.
$ac_objext conftest
$ac_exeext
39594 if { (ac_try
="$ac_link"
39595 case "(($ac_try" in
39596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39597 *) ac_try_echo=$ac_try;;
39599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39600 (eval "$ac_link") 2>conftest.er1
39602 grep -v '^ *+' conftest.er1 >conftest.err
39604 cat conftest.err >&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); } && {
39607 test -z "$ac_c_werror_flag" ||
39608 test ! -s conftest.err
39609 } && test -s conftest$ac_exeext &&
39610 $as_test_x conftest$ac_exeext; then
39611 eval "$as_ac_var=yes"
39613 echo "$as_me: failed program was:" >&5
39614 sed 's/^/| /' conftest.$ac_ext >&5
39616 eval "$as_ac_var=no"
39619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39620 conftest$ac_exeext conftest.$ac_ext
39622 ac_res=`eval echo '${'$as_ac_var'}'`
39623 { echo "$as_me:$LINENO: result: $ac_res" >&5
39624 echo "${ECHO_T}$ac_res" >&6; }
39625 if test `eval echo '${'$as_ac_var'}'` = yes; then
39626 cat >>confdefs.h <<_ACEOF
39627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39633 if test "$ac_cv_func_setenv" = "yes"; then
39635 for ac_func in unsetenv
39637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39641 echo $ECHO_N "(cached) $ECHO_C" >&6
39643 cat >conftest.$ac_ext <<_ACEOF
39646 cat confdefs.h >>conftest.$ac_ext
39647 cat >>conftest.$ac_ext <<_ACEOF
39648 /* end confdefs.h. */
39649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39651 #define $ac_func innocuous_$ac_func
39653 /* System header to define __stub macros and hopefully few prototypes,
39654 which can conflict with char $ac_func (); below.
39655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39656 <limits.h> exists even on freestanding compilers. */
39659 # include <limits.h>
39661 # include <assert.h>
39666 /* Override any GCC internal prototype to avoid an error.
39667 Use char because int might match the return type of a GCC
39668 builtin and then its argument prototype would still apply. */
39673 /* The GNU C library defines this for functions which it implements
39674 to always fail with ENOSYS. Some functions are actually named
39675 something starting with __ and the normal name is an alias. */
39676 #if defined __stub_$ac_func || defined __stub___$ac_func
39683 return $ac_func ();
39688 rm -f conftest.$ac_objext conftest$ac_exeext
39689 if { (ac_try="$ac_link"
39690 case "(($ac_try" in
39691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39692 *) ac_try_echo
=$ac_try;;
39694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39695 (eval "$ac_link") 2>conftest.er1
39697 grep -v '^ *+' conftest.er1
>conftest.err
39699 cat conftest.err
>&5
39700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39701 (exit $ac_status); } && {
39702 test -z "$ac_c_werror_flag" ||
39703 test ! -s conftest.err
39704 } && test -s conftest
$ac_exeext &&
39705 $as_test_x conftest
$ac_exeext; then
39706 eval "$as_ac_var=yes"
39708 echo "$as_me: failed program was:" >&5
39709 sed 's/^/| /' conftest.
$ac_ext >&5
39711 eval "$as_ac_var=no"
39714 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39715 conftest
$ac_exeext conftest.
$ac_ext
39717 ac_res
=`eval echo '${'$as_ac_var'}'`
39718 { echo "$as_me:$LINENO: result: $ac_res" >&5
39719 echo "${ECHO_T}$ac_res" >&6; }
39720 if test `eval echo '${'$as_ac_var'}'` = yes; then
39721 cat >>confdefs.h
<<_ACEOF
39722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39730 HAVE_SOME_SLEEP_FUNC
=0
39731 if test "$USE_BEOS" = 1; then
39732 cat >>confdefs.h
<<\_ACEOF
39733 #define HAVE_SLEEP 1
39736 HAVE_SOME_SLEEP_FUNC
=1
39739 if test "$USE_DARWIN" = 1; then
39740 cat >>confdefs.h
<<\_ACEOF
39741 #define HAVE_USLEEP 1
39744 HAVE_SOME_SLEEP_FUNC
=1
39747 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39750 for ac_func
in nanosleep
39752 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39753 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39755 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39756 echo $ECHO_N "(cached) $ECHO_C" >&6
39758 cat >conftest.
$ac_ext <<_ACEOF
39761 cat confdefs.h
>>conftest.
$ac_ext
39762 cat >>conftest.
$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39766 #define $ac_func innocuous_$ac_func
39768 /* System header to define __stub macros and hopefully few prototypes,
39769 which can conflict with char $ac_func (); below.
39770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39771 <limits.h> exists even on freestanding compilers. */
39774 # include <limits.h>
39776 # include <assert.h>
39781 /* Override any GCC internal prototype to avoid an error.
39782 Use char because int might match the return type of a GCC
39783 builtin and then its argument prototype would still apply. */
39788 /* The GNU C library defines this for functions which it implements
39789 to always fail with ENOSYS. Some functions are actually named
39790 something starting with __ and the normal name is an alias. */
39791 #if defined __stub_$ac_func || defined __stub___$ac_func
39798 return $ac_func ();
39803 rm -f conftest.
$ac_objext conftest
$ac_exeext
39804 if { (ac_try
="$ac_link"
39805 case "(($ac_try" in
39806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39807 *) ac_try_echo=$ac_try;;
39809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39810 (eval "$ac_link") 2>conftest.er1
39812 grep -v '^ *+' conftest.er1 >conftest.err
39814 cat conftest.err >&5
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); } && {
39817 test -z "$ac_c_werror_flag" ||
39818 test ! -s conftest.err
39819 } && test -s conftest$ac_exeext &&
39820 $as_test_x conftest$ac_exeext; then
39821 eval "$as_ac_var=yes"
39823 echo "$as_me: failed program was:" >&5
39824 sed 's/^/| /' conftest.$ac_ext >&5
39826 eval "$as_ac_var=no"
39829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39830 conftest$ac_exeext conftest.$ac_ext
39832 ac_res=`eval echo '${'$as_ac_var'}'`
39833 { echo "$as_me:$LINENO: result: $ac_res" >&5
39834 echo "${ECHO_T}$ac_res" >&6; }
39835 if test `eval echo '${'$as_ac_var'}'` = yes; then
39836 cat >>confdefs.h <<_ACEOF
39837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39839 cat >>confdefs.h <<\_ACEOF
39840 #define HAVE_NANOSLEEP 1
39845 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39846 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39847 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39848 echo $ECHO_N "(cached) $ECHO_C" >&6
39850 ac_check_lib_save_LIBS=$LIBS
39851 LIBS="-lposix4 $LIBS"
39852 cat >conftest.$ac_ext <<_ACEOF
39855 cat confdefs.h >>conftest.$ac_ext
39856 cat >>conftest.$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39859 /* Override any GCC internal prototype to avoid an error.
39860 Use char because int might match the return type of a GCC
39861 builtin and then its argument prototype would still apply. */
39869 return nanosleep ();
39874 rm -f conftest.$ac_objext conftest$ac_exeext
39875 if { (ac_try="$ac_link"
39876 case "(($ac_try" in
39877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39878 *) ac_try_echo
=$ac_try;;
39880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39881 (eval "$ac_link") 2>conftest.er1
39883 grep -v '^ *+' conftest.er1
>conftest.err
39885 cat conftest.err
>&5
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); } && {
39888 test -z "$ac_c_werror_flag" ||
39889 test ! -s conftest.err
39890 } && test -s conftest
$ac_exeext &&
39891 $as_test_x conftest
$ac_exeext; then
39892 ac_cv_lib_posix4_nanosleep
=yes
39894 echo "$as_me: failed program was:" >&5
39895 sed 's/^/| /' conftest.
$ac_ext >&5
39897 ac_cv_lib_posix4_nanosleep
=no
39900 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39901 conftest
$ac_exeext conftest.
$ac_ext
39902 LIBS
=$ac_check_lib_save_LIBS
39904 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39905 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39906 if test $ac_cv_lib_posix4_nanosleep = yes; then
39908 cat >>confdefs.h
<<\_ACEOF
39909 #define HAVE_NANOSLEEP 1
39912 POSIX4_LINK
=" -lposix4"
39917 for wx_func
in usleep
39919 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39920 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39921 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39922 echo $ECHO_N "(cached) $ECHO_C" >&6
39925 cat >conftest.
$ac_ext <<_ACEOF
39929 cat confdefs.h
>>conftest.
$ac_ext
39930 cat >>conftest.
$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39934 $ac_includes_default
39950 rm -f conftest.
$ac_objext conftest
$ac_exeext
39951 if { (ac_try
="$ac_link"
39952 case "(($ac_try" in
39953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39954 *) ac_try_echo=$ac_try;;
39956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39957 (eval "$ac_link") 2>conftest.er1
39959 grep -v '^ *+' conftest.er1 >conftest.err
39961 cat conftest.err >&5
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); } && {
39964 test -z "$ac_c_werror_flag" ||
39965 test ! -s conftest.err
39966 } && test -s conftest$ac_exeext &&
39967 $as_test_x conftest$ac_exeext; then
39968 eval wx_cv_func_$wx_func=yes
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39973 eval wx_cv_func_$wx_func=no
39976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39977 conftest$ac_exeext conftest.$ac_ext
39980 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39981 { echo "$as_me:$LINENO: result: $ac_res" >&5
39982 echo "${ECHO_T}$ac_res" >&6; }
39984 if eval test \$wx_cv_func_$wx_func = yes
39986 cat >>confdefs.h <<_ACEOF
39987 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39993 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39994 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40011 for wx_func in uname
40013 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40014 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40015 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40019 cat >conftest.$ac_ext <<_ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40027 #include <sys/utsname.h>
40028 $ac_includes_default
40044 rm -f conftest.$ac_objext conftest$ac_exeext
40045 if { (ac_try="$ac_link"
40046 case "(($ac_try" in
40047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40048 *) ac_try_echo
=$ac_try;;
40050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40051 (eval "$ac_link") 2>conftest.er1
40053 grep -v '^ *+' conftest.er1
>conftest.err
40055 cat conftest.err
>&5
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); } && {
40058 test -z "$ac_c_werror_flag" ||
40059 test ! -s conftest.err
40060 } && test -s conftest
$ac_exeext &&
40061 $as_test_x conftest
$ac_exeext; then
40062 eval wx_cv_func_
$wx_func=yes
40064 echo "$as_me: failed program was:" >&5
40065 sed 's/^/| /' conftest.
$ac_ext >&5
40067 eval wx_cv_func_
$wx_func=no
40070 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40071 conftest
$ac_exeext conftest.
$ac_ext
40074 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40075 { echo "$as_me:$LINENO: result: $ac_res" >&5
40076 echo "${ECHO_T}$ac_res" >&6; }
40078 if eval test \
$wx_cv_func_$wx_func = yes
40080 cat >>confdefs.h
<<_ACEOF
40081 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40091 if test "$wx_cv_func_uname" != yes; then
40093 for wx_func
in gethostname
40095 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40096 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40097 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40098 echo $ECHO_N "(cached) $ECHO_C" >&6
40101 cat >conftest.
$ac_ext <<_ACEOF
40105 cat confdefs.h
>>conftest.
$ac_ext
40106 cat >>conftest.
$ac_ext <<_ACEOF
40107 /* end confdefs.h. */
40110 $ac_includes_default
40126 rm -f conftest.
$ac_objext conftest
$ac_exeext
40127 if { (ac_try
="$ac_link"
40128 case "(($ac_try" in
40129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40130 *) ac_try_echo=$ac_try;;
40132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40133 (eval "$ac_link") 2>conftest.er1
40135 grep -v '^ *+' conftest.er1 >conftest.err
40137 cat conftest.err >&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); } && {
40140 test -z "$ac_c_werror_flag" ||
40141 test ! -s conftest.err
40142 } && test -s conftest$ac_exeext &&
40143 $as_test_x conftest$ac_exeext; then
40144 eval wx_cv_func_$wx_func=yes
40146 echo "$as_me: failed program was:" >&5
40147 sed 's/^/| /' conftest.$ac_ext >&5
40149 eval wx_cv_func_$wx_func=no
40152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40153 conftest$ac_exeext conftest.$ac_ext
40156 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40157 { echo "$as_me:$LINENO: result: $ac_res" >&5
40158 echo "${ECHO_T}$ac_res" >&6; }
40160 if eval test \$wx_cv_func_$wx_func = yes
40162 cat >>confdefs.h <<_ACEOF
40163 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40176 for wx_func in strtok_r
40178 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40179 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40180 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40181 echo $ECHO_N "(cached) $ECHO_C" >&6
40184 cat >conftest.$ac_ext <<_ACEOF
40188 cat confdefs.h >>conftest.$ac_ext
40189 cat >>conftest.$ac_ext <<_ACEOF
40190 /* end confdefs.h. */
40193 $ac_includes_default
40209 rm -f conftest.$ac_objext conftest$ac_exeext
40210 if { (ac_try="$ac_link"
40211 case "(($ac_try" in
40212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40213 *) ac_try_echo
=$ac_try;;
40215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40216 (eval "$ac_link") 2>conftest.er1
40218 grep -v '^ *+' conftest.er1
>conftest.err
40220 cat conftest.err
>&5
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); } && {
40223 test -z "$ac_c_werror_flag" ||
40224 test ! -s conftest.err
40225 } && test -s conftest
$ac_exeext &&
40226 $as_test_x conftest
$ac_exeext; then
40227 eval wx_cv_func_
$wx_func=yes
40229 echo "$as_me: failed program was:" >&5
40230 sed 's/^/| /' conftest.
$ac_ext >&5
40232 eval wx_cv_func_
$wx_func=no
40235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40236 conftest
$ac_exeext conftest.
$ac_ext
40239 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40240 { echo "$as_me:$LINENO: result: $ac_res" >&5
40241 echo "${ECHO_T}$ac_res" >&6; }
40243 if eval test \
$wx_cv_func_$wx_func = yes
40245 cat >>confdefs.h
<<_ACEOF
40246 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40259 for ac_func
in inet_addr
40261 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40262 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40264 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40265 echo $ECHO_N "(cached) $ECHO_C" >&6
40267 cat >conftest.
$ac_ext <<_ACEOF
40270 cat confdefs.h
>>conftest.
$ac_ext
40271 cat >>conftest.
$ac_ext <<_ACEOF
40272 /* end confdefs.h. */
40273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40275 #define $ac_func innocuous_$ac_func
40277 /* System header to define __stub macros and hopefully few prototypes,
40278 which can conflict with char $ac_func (); below.
40279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40280 <limits.h> exists even on freestanding compilers. */
40283 # include <limits.h>
40285 # include <assert.h>
40290 /* Override any GCC internal prototype to avoid an error.
40291 Use char because int might match the return type of a GCC
40292 builtin and then its argument prototype would still apply. */
40297 /* The GNU C library defines this for functions which it implements
40298 to always fail with ENOSYS. Some functions are actually named
40299 something starting with __ and the normal name is an alias. */
40300 #if defined __stub_$ac_func || defined __stub___$ac_func
40307 return $ac_func ();
40312 rm -f conftest.
$ac_objext conftest
$ac_exeext
40313 if { (ac_try
="$ac_link"
40314 case "(($ac_try" in
40315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40316 *) ac_try_echo=$ac_try;;
40318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40319 (eval "$ac_link") 2>conftest.er1
40321 grep -v '^ *+' conftest.er1 >conftest.err
40323 cat conftest.err >&5
40324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40325 (exit $ac_status); } && {
40326 test -z "$ac_c_werror_flag" ||
40327 test ! -s conftest.err
40328 } && test -s conftest$ac_exeext &&
40329 $as_test_x conftest$ac_exeext; then
40330 eval "$as_ac_var=yes"
40332 echo "$as_me: failed program was:" >&5
40333 sed 's/^/| /' conftest.$ac_ext >&5
40335 eval "$as_ac_var=no"
40338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40339 conftest$ac_exeext conftest.$ac_ext
40341 ac_res=`eval echo '${'$as_ac_var'}'`
40342 { echo "$as_me:$LINENO: result: $ac_res" >&5
40343 echo "${ECHO_T}$ac_res" >&6; }
40344 if test `eval echo '${'$as_ac_var'}'` = yes; then
40345 cat >>confdefs.h <<_ACEOF
40346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40348 cat >>confdefs.h <<\_ACEOF
40349 #define HAVE_INET_ADDR 1
40354 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40355 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40356 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40357 echo $ECHO_N "(cached) $ECHO_C" >&6
40359 ac_check_lib_save_LIBS=$LIBS
40361 cat >conftest.$ac_ext <<_ACEOF
40364 cat confdefs.h >>conftest.$ac_ext
40365 cat >>conftest.$ac_ext <<_ACEOF
40366 /* end confdefs.h. */
40368 /* Override any GCC internal prototype to avoid an error.
40369 Use char because int might match the return type of a GCC
40370 builtin and then its argument prototype would still apply. */
40378 return inet_addr ();
40383 rm -f conftest.$ac_objext conftest$ac_exeext
40384 if { (ac_try="$ac_link"
40385 case "(($ac_try" in
40386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40387 *) ac_try_echo
=$ac_try;;
40389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40390 (eval "$ac_link") 2>conftest.er1
40392 grep -v '^ *+' conftest.er1
>conftest.err
40394 cat conftest.err
>&5
40395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40396 (exit $ac_status); } && {
40397 test -z "$ac_c_werror_flag" ||
40398 test ! -s conftest.err
40399 } && test -s conftest
$ac_exeext &&
40400 $as_test_x conftest
$ac_exeext; then
40401 ac_cv_lib_nsl_inet_addr
=yes
40403 echo "$as_me: failed program was:" >&5
40404 sed 's/^/| /' conftest.
$ac_ext >&5
40406 ac_cv_lib_nsl_inet_addr
=no
40409 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40410 conftest
$ac_exeext conftest.
$ac_ext
40411 LIBS
=$ac_check_lib_save_LIBS
40413 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40414 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40415 if test $ac_cv_lib_nsl_inet_addr = yes; then
40419 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40420 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40421 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40422 echo $ECHO_N "(cached) $ECHO_C" >&6
40424 ac_check_lib_save_LIBS
=$LIBS
40425 LIBS
="-lresolv $LIBS"
40426 cat >conftest.
$ac_ext <<_ACEOF
40429 cat confdefs.h
>>conftest.
$ac_ext
40430 cat >>conftest.
$ac_ext <<_ACEOF
40431 /* end confdefs.h. */
40433 /* Override any GCC internal prototype to avoid an error.
40434 Use char because int might match the return type of a GCC
40435 builtin and then its argument prototype would still apply. */
40443 return inet_addr ();
40448 rm -f conftest.
$ac_objext conftest
$ac_exeext
40449 if { (ac_try
="$ac_link"
40450 case "(($ac_try" in
40451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40452 *) ac_try_echo=$ac_try;;
40454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40455 (eval "$ac_link") 2>conftest.er1
40457 grep -v '^ *+' conftest.er1 >conftest.err
40459 cat conftest.err >&5
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); } && {
40462 test -z "$ac_c_werror_flag" ||
40463 test ! -s conftest.err
40464 } && test -s conftest$ac_exeext &&
40465 $as_test_x conftest$ac_exeext; then
40466 ac_cv_lib_resolv_inet_addr=yes
40468 echo "$as_me: failed program was:" >&5
40469 sed 's/^/| /' conftest.$ac_ext >&5
40471 ac_cv_lib_resolv_inet_addr=no
40474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40475 conftest$ac_exeext conftest.$ac_ext
40476 LIBS=$ac_check_lib_save_LIBS
40478 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40479 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40480 if test $ac_cv_lib_resolv_inet_addr = yes; then
40484 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40485 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40486 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40487 echo $ECHO_N "(cached) $ECHO_C" >&6
40489 ac_check_lib_save_LIBS=$LIBS
40490 LIBS="-lsocket $LIBS"
40491 cat >conftest.$ac_ext <<_ACEOF
40494 cat confdefs.h >>conftest.$ac_ext
40495 cat >>conftest.$ac_ext <<_ACEOF
40496 /* end confdefs.h. */
40498 /* Override any GCC internal prototype to avoid an error.
40499 Use char because int might match the return type of a GCC
40500 builtin and then its argument prototype would still apply. */
40508 return inet_addr ();
40513 rm -f conftest.$ac_objext conftest$ac_exeext
40514 if { (ac_try="$ac_link"
40515 case "(($ac_try" in
40516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40517 *) ac_try_echo
=$ac_try;;
40519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40520 (eval "$ac_link") 2>conftest.er1
40522 grep -v '^ *+' conftest.er1
>conftest.err
40524 cat conftest.err
>&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); } && {
40527 test -z "$ac_c_werror_flag" ||
40528 test ! -s conftest.err
40529 } && test -s conftest
$ac_exeext &&
40530 $as_test_x conftest
$ac_exeext; then
40531 ac_cv_lib_socket_inet_addr
=yes
40533 echo "$as_me: failed program was:" >&5
40534 sed 's/^/| /' conftest.
$ac_ext >&5
40536 ac_cv_lib_socket_inet_addr
=no
40539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40540 conftest
$ac_exeext conftest.
$ac_ext
40541 LIBS
=$ac_check_lib_save_LIBS
40543 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40544 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40545 if test $ac_cv_lib_socket_inet_addr = yes; then
40565 for ac_func
in inet_aton
40567 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40568 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40570 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40571 echo $ECHO_N "(cached) $ECHO_C" >&6
40573 cat >conftest.
$ac_ext <<_ACEOF
40576 cat confdefs.h
>>conftest.
$ac_ext
40577 cat >>conftest.
$ac_ext <<_ACEOF
40578 /* end confdefs.h. */
40579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40581 #define $ac_func innocuous_$ac_func
40583 /* System header to define __stub macros and hopefully few prototypes,
40584 which can conflict with char $ac_func (); below.
40585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40586 <limits.h> exists even on freestanding compilers. */
40589 # include <limits.h>
40591 # include <assert.h>
40596 /* Override any GCC internal prototype to avoid an error.
40597 Use char because int might match the return type of a GCC
40598 builtin and then its argument prototype would still apply. */
40603 /* The GNU C library defines this for functions which it implements
40604 to always fail with ENOSYS. Some functions are actually named
40605 something starting with __ and the normal name is an alias. */
40606 #if defined __stub_$ac_func || defined __stub___$ac_func
40613 return $ac_func ();
40618 rm -f conftest.
$ac_objext conftest
$ac_exeext
40619 if { (ac_try
="$ac_link"
40620 case "(($ac_try" in
40621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40622 *) ac_try_echo=$ac_try;;
40624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40625 (eval "$ac_link") 2>conftest.er1
40627 grep -v '^ *+' conftest.er1 >conftest.err
40629 cat conftest.err >&5
40630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40631 (exit $ac_status); } && {
40632 test -z "$ac_c_werror_flag" ||
40633 test ! -s conftest.err
40634 } && test -s conftest$ac_exeext &&
40635 $as_test_x conftest$ac_exeext; then
40636 eval "$as_ac_var=yes"
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.$ac_ext >&5
40641 eval "$as_ac_var=no"
40644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40645 conftest$ac_exeext conftest.$ac_ext
40647 ac_res=`eval echo '${'$as_ac_var'}'`
40648 { echo "$as_me:$LINENO: result: $ac_res" >&5
40649 echo "${ECHO_T}$ac_res" >&6; }
40650 if test `eval echo '${'$as_ac_var'}'` = yes; then
40651 cat >>confdefs.h <<_ACEOF
40652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40654 cat >>confdefs.h <<\_ACEOF
40655 #define HAVE_INET_ATON 1
40660 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40661 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40662 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40663 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40664 echo $ECHO_N "(cached) $ECHO_C" >&6
40666 ac_check_lib_save_LIBS=$LIBS
40667 LIBS="-l$INET_LINK $LIBS"
40668 cat >conftest.$ac_ext <<_ACEOF
40671 cat confdefs.h >>conftest.$ac_ext
40672 cat >>conftest.$ac_ext <<_ACEOF
40673 /* end confdefs.h. */
40675 /* Override any GCC internal prototype to avoid an error.
40676 Use char because int might match the return type of a GCC
40677 builtin and then its argument prototype would still apply. */
40685 return inet_aton ();
40690 rm -f conftest.$ac_objext conftest$ac_exeext
40691 if { (ac_try="$ac_link"
40692 case "(($ac_try" in
40693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40694 *) ac_try_echo
=$ac_try;;
40696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40697 (eval "$ac_link") 2>conftest.er1
40699 grep -v '^ *+' conftest.er1
>conftest.err
40701 cat conftest.err
>&5
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); } && {
40704 test -z "$ac_c_werror_flag" ||
40705 test ! -s conftest.err
40706 } && test -s conftest
$ac_exeext &&
40707 $as_test_x conftest
$ac_exeext; then
40708 eval "$as_ac_Lib=yes"
40710 echo "$as_me: failed program was:" >&5
40711 sed 's/^/| /' conftest.
$ac_ext >&5
40713 eval "$as_ac_Lib=no"
40716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40717 conftest
$ac_exeext conftest.
$ac_ext
40718 LIBS
=$ac_check_lib_save_LIBS
40720 ac_res
=`eval echo '${'$as_ac_Lib'}'`
40721 { echo "$as_me:$LINENO: result: $ac_res" >&5
40722 echo "${ECHO_T}$ac_res" >&6; }
40723 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40724 cat >>confdefs.h
<<\_ACEOF
40725 #define HAVE_INET_ATON 1
40735 if test "x$INET_LINK" != "x"; then
40736 cat >>confdefs.h
<<\_ACEOF
40737 #define HAVE_INET_ADDR 1
40740 INET_LINK
=" -l$INET_LINK"
40744 for wx_func
in fdopen
40746 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40747 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40748 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40749 echo $ECHO_N "(cached) $ECHO_C" >&6
40752 cat >conftest.
$ac_ext <<_ACEOF
40756 cat confdefs.h
>>conftest.
$ac_ext
40757 cat >>conftest.
$ac_ext <<_ACEOF
40758 /* end confdefs.h. */
40761 $ac_includes_default
40777 rm -f conftest.
$ac_objext conftest
$ac_exeext
40778 if { (ac_try
="$ac_link"
40779 case "(($ac_try" in
40780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40781 *) ac_try_echo=$ac_try;;
40783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40784 (eval "$ac_link") 2>conftest.er1
40786 grep -v '^ *+' conftest.er1 >conftest.err
40788 cat conftest.err >&5
40789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40790 (exit $ac_status); } && {
40791 test -z "$ac_c_werror_flag" ||
40792 test ! -s conftest.err
40793 } && test -s conftest$ac_exeext &&
40794 $as_test_x conftest$ac_exeext; then
40795 eval wx_cv_func_$wx_func=yes
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40800 eval wx_cv_func_$wx_func=no
40803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40804 conftest$ac_exeext conftest.$ac_ext
40807 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40808 { echo "$as_me:$LINENO: result: $ac_res" >&5
40809 echo "${ECHO_T}$ac_res" >&6; }
40811 if eval test \$wx_cv_func_$wx_func = yes
40813 cat >>confdefs.h <<_ACEOF
40814 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40825 if test "$wxUSE_TARSTREAM" = "yes"; then
40827 for wx_func in sysconf
40829 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40830 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40831 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40832 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 cat >conftest.$ac_ext <<_ACEOF
40839 cat confdefs.h >>conftest.$ac_ext
40840 cat >>conftest.$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40844 $ac_includes_default
40860 rm -f conftest.$ac_objext conftest$ac_exeext
40861 if { (ac_try="$ac_link"
40862 case "(($ac_try" in
40863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40864 *) ac_try_echo
=$ac_try;;
40866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40867 (eval "$ac_link") 2>conftest.er1
40869 grep -v '^ *+' conftest.er1
>conftest.err
40871 cat conftest.err
>&5
40872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40873 (exit $ac_status); } && {
40874 test -z "$ac_c_werror_flag" ||
40875 test ! -s conftest.err
40876 } && test -s conftest
$ac_exeext &&
40877 $as_test_x conftest
$ac_exeext; then
40878 eval wx_cv_func_
$wx_func=yes
40880 echo "$as_me: failed program was:" >&5
40881 sed 's/^/| /' conftest.
$ac_ext >&5
40883 eval wx_cv_func_
$wx_func=no
40886 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40887 conftest
$ac_exeext conftest.
$ac_ext
40890 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40891 { echo "$as_me:$LINENO: result: $ac_res" >&5
40892 echo "${ECHO_T}$ac_res" >&6; }
40894 if eval test \
$wx_cv_func_$wx_func = yes
40896 cat >>confdefs.h
<<_ACEOF
40897 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40909 for wx_func
in getpwuid_r
40911 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40912 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40913 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40914 echo $ECHO_N "(cached) $ECHO_C" >&6
40917 cat >conftest.
$ac_ext <<_ACEOF
40921 cat confdefs.h
>>conftest.
$ac_ext
40922 cat >>conftest.
$ac_ext <<_ACEOF
40923 /* end confdefs.h. */
40929 $ac_includes_default
40939 struct passwd pw, *ppw;
40941 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40949 rm -f conftest.
$ac_objext conftest
$ac_exeext
40950 if { (ac_try
="$ac_link"
40951 case "(($ac_try" in
40952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40953 *) ac_try_echo=$ac_try;;
40955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40956 (eval "$ac_link") 2>conftest.er1
40958 grep -v '^ *+' conftest.er1 >conftest.err
40960 cat conftest.err >&5
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); } && {
40963 test -z "$ac_c_werror_flag" ||
40964 test ! -s conftest.err
40965 } && test -s conftest$ac_exeext &&
40966 $as_test_x conftest$ac_exeext; then
40967 eval wx_cv_func_$wx_func=yes
40969 echo "$as_me: failed program was:" >&5
40970 sed 's/^/| /' conftest.$ac_ext >&5
40972 eval wx_cv_func_$wx_func=no
40975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40976 conftest$ac_exeext conftest.$ac_ext
40979 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40980 { echo "$as_me:$LINENO: result: $ac_res" >&5
40981 echo "${ECHO_T}$ac_res" >&6; }
40983 if eval test \$wx_cv_func_$wx_func = yes
40985 cat >>confdefs.h <<_ACEOF
40986 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40998 for wx_func in getgrgid_r
41000 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41001 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41002 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41003 echo $ECHO_N "(cached) $ECHO_C" >&6
41006 cat >conftest.$ac_ext <<_ACEOF
41010 cat confdefs.h >>conftest.$ac_ext
41011 cat >>conftest.$ac_ext <<_ACEOF
41012 /* end confdefs.h. */
41018 $ac_includes_default
41028 struct group grp, *pgrp;
41030 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41038 rm -f conftest.$ac_objext conftest$ac_exeext
41039 if { (ac_try="$ac_link"
41040 case "(($ac_try" in
41041 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41042 *) ac_try_echo
=$ac_try;;
41044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41045 (eval "$ac_link") 2>conftest.er1
41047 grep -v '^ *+' conftest.er1
>conftest.err
41049 cat conftest.err
>&5
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); } && {
41052 test -z "$ac_c_werror_flag" ||
41053 test ! -s conftest.err
41054 } && test -s conftest
$ac_exeext &&
41055 $as_test_x conftest
$ac_exeext; then
41056 eval wx_cv_func_
$wx_func=yes
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.
$ac_ext >&5
41061 eval wx_cv_func_
$wx_func=no
41064 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41065 conftest
$ac_exeext conftest.
$ac_ext
41068 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41069 { echo "$as_me:$LINENO: result: $ac_res" >&5
41070 echo "${ECHO_T}$ac_res" >&6; }
41072 if eval test \
$wx_cv_func_$wx_func = yes
41074 cat >>confdefs.h
<<_ACEOF
41075 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41091 cat >confcache
<<\_ACEOF
41092 # This file is a shell script that caches the results of configure
41093 # tests run on this system so they can be shared between configure
41094 # scripts and configure runs, see configure's option --config-cache.
41095 # It is not useful on other systems. If it contains results you don't
41096 # want to keep, you may remove or edit it.
41098 # config.status only pays attention to the cache file if you give it
41099 # the --recheck option to rerun configure.
41101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41103 # following values.
41107 # The following way of writing the cache mishandles newlines in values,
41108 # but we know of no workaround that is simple, portable, and efficient.
41109 # So, we kill variables containing newlines.
41110 # Ultrix sh set writes to stderr and can't be redirected directly,
41111 # and sets the high bit in the cache file unless we assign to the vars.
41113 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41114 eval ac_val
=\$
$ac_var
41118 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41122 _
| IFS
| as_nl
) ;; #(
41123 *) $as_unset $ac_var ;;
41129 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41130 *${as_nl}ac_space
=\
*)
41131 # `set' does not quote correctly, so add quotes (double-quote
41132 # substitution turns \\\\ into \\, and sed turns \\ into \).
41135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41138 # `set' quotes correctly as required by POSIX, so do not add quotes.
41139 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41148 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41150 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41152 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41153 if test -w "$cache_file"; then
41154 test "x$cache_file" != "x/dev/null" &&
41155 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41156 echo "$as_me: updating cache $cache_file" >&6;}
41157 cat confcache
>$cache_file
41159 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41160 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41166 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41172 if test "$wxUSE_THREADS" = "yes" ; then
41173 if test "$USE_BEOS" = 1; then
41174 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41175 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41180 if test "$wxUSE_THREADS" = "yes" ; then
41183 THREAD_OPTS
="-pthread"
41184 if test "x$SUNCXX" = xyes
; then
41185 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41189 *-*-solaris2* | *-*-sunos4* )
41190 if test "x$GCC" = "xyes"; then
41191 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41195 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41197 *-*-darwin* | *-*-cygwin* )
41201 THREAD_OPTS
="pthreads"
41204 if test "x$GCC" = "xyes"; then
41205 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41213 if test "x$GCC" = "xyes"; then
41219 if test "x$GCC" != "xyes"; then
41220 THREAD_OPTS
="-Ethread"
41225 THREAD_OPTS
="$THREAD_OPTS pthread none"
41228 for flag
in $THREAD_OPTS; do
41231 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41232 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41236 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41237 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41238 THREADS_CFLAGS
="$flag"
41242 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41243 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41244 THREADS_LINK
="-l$flag"
41249 save_CFLAGS
="$CFLAGS"
41250 LIBS
="$THREADS_LINK $LIBS"
41251 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41253 cat >conftest.
$ac_ext <<_ACEOF
41256 cat confdefs.h
>>conftest.
$ac_ext
41257 cat >>conftest.
$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41259 #include <pthread.h>
41263 pthread_create(0,0,0,0);
41268 rm -f conftest.
$ac_objext conftest
$ac_exeext
41269 if { (ac_try
="$ac_link"
41270 case "(($ac_try" in
41271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41272 *) ac_try_echo=$ac_try;;
41274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41275 (eval "$ac_link") 2>conftest.er1
41277 grep -v '^ *+' conftest.er1 >conftest.err
41279 cat conftest.err >&5
41280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41281 (exit $ac_status); } && {
41282 test -z "$ac_c_werror_flag" ||
41283 test ! -s conftest.err
41284 } && test -s conftest$ac_exeext &&
41285 $as_test_x conftest$ac_exeext; then
41288 echo "$as_me: failed program was:" >&5
41289 sed 's/^/| /' conftest.$ac_ext >&5
41294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41295 conftest$ac_exeext conftest.$ac_ext
41298 CFLAGS="$save_CFLAGS"
41300 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41301 echo "${ECHO_T}$THREADS_OK" >&6; }
41302 if test "x$THREADS_OK" = "xyes"; then
41310 if test "x$THREADS_OK" != "xyes"; then
41312 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41313 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41315 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41316 LIBS="$THREADS_LINK $LIBS"
41318 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41319 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41323 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41324 flag="-D_THREAD_SAFE"
41327 flag="-D_THREAD_SAFE"
41330 flag="-D_REENTRANT"
41331 if test "x$GCC" != "xyes"; then
41332 flag="$flag -D_RWSTD_MULTI_THREAD"
41335 *solaris* | alpha*-osf*)
41336 flag="-D_REENTRANT"
41339 { echo "$as_me:$LINENO: result: ${flag}" >&5
41340 echo "${ECHO_T}${flag}" >&6; }
41341 if test "x$flag" != xno; then
41342 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41345 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41349 if test "$wxUSE_THREADS" = "yes" ; then
41351 for ac_func in thr_setconcurrency
41353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41354 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41356 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41357 echo $ECHO_N "(cached) $ECHO_C" >&6
41359 cat >conftest.$ac_ext <<_ACEOF
41362 cat confdefs.h >>conftest.$ac_ext
41363 cat >>conftest.$ac_ext <<_ACEOF
41364 /* end confdefs.h. */
41365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41367 #define $ac_func innocuous_$ac_func
41369 /* System header to define __stub macros and hopefully few prototypes,
41370 which can conflict with char $ac_func (); below.
41371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41372 <limits.h> exists even on freestanding compilers. */
41375 # include <limits.h>
41377 # include <assert.h>
41382 /* Override any GCC internal prototype to avoid an error.
41383 Use char because int might match the return type of a GCC
41384 builtin and then its argument prototype would still apply. */
41389 /* The GNU C library defines this for functions which it implements
41390 to always fail with ENOSYS. Some functions are actually named
41391 something starting with __ and the normal name is an alias. */
41392 #if defined __stub_$ac_func || defined __stub___$ac_func
41399 return $ac_func ();
41404 rm -f conftest.$ac_objext conftest$ac_exeext
41405 if { (ac_try="$ac_link"
41406 case "(($ac_try" in
41407 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41408 *) ac_try_echo
=$ac_try;;
41410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41411 (eval "$ac_link") 2>conftest.er1
41413 grep -v '^ *+' conftest.er1
>conftest.err
41415 cat conftest.err
>&5
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); } && {
41418 test -z "$ac_c_werror_flag" ||
41419 test ! -s conftest.err
41420 } && test -s conftest
$ac_exeext &&
41421 $as_test_x conftest
$ac_exeext; then
41422 eval "$as_ac_var=yes"
41424 echo "$as_me: failed program was:" >&5
41425 sed 's/^/| /' conftest.
$ac_ext >&5
41427 eval "$as_ac_var=no"
41430 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41431 conftest
$ac_exeext conftest.
$ac_ext
41433 ac_res
=`eval echo '${'$as_ac_var'}'`
41434 { echo "$as_me:$LINENO: result: $ac_res" >&5
41435 echo "${ECHO_T}$ac_res" >&6; }
41436 if test `eval echo '${'$as_ac_var'}'` = yes; then
41437 cat >>confdefs.h
<<_ACEOF
41438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41445 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41446 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41447 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41448 echo $ECHO_N "(cached) $ECHO_C" >&6
41452 ac_cpp
='$CXXCPP $CPPFLAGS'
41453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41457 cat >conftest.
$ac_ext <<_ACEOF
41460 cat confdefs.h
>>conftest.
$ac_ext
41461 cat >>conftest.
$ac_ext <<_ACEOF
41462 /* end confdefs.h. */
41463 #include <pthread.h>
41464 void ThreadCleanupFunc(void *p);
41471 pthread_cleanup_push(ThreadCleanupFunc, p);
41472 pthread_cleanup_pop(0);
41478 rm -f conftest.
$ac_objext
41479 if { (ac_try
="$ac_compile"
41480 case "(($ac_try" in
41481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41482 *) ac_try_echo=$ac_try;;
41484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41485 (eval "$ac_compile") 2>conftest.er1
41487 grep -v '^ *+' conftest.er1 >conftest.err
41489 cat conftest.err >&5
41490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41491 (exit $ac_status); } && {
41492 test -z "$ac_cxx_werror_flag" ||
41493 test ! -s conftest.err
41494 } && test -s conftest.$ac_objext; then
41496 wx_cv_func_pthread_cleanup=yes
41499 echo "$as_me: failed program was:" >&5
41500 sed 's/^/| /' conftest.$ac_ext >&5
41503 wx_cv_func_pthread_cleanup=no
41508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41510 ac_cpp='$CPP $CPPFLAGS'
41511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41517 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41518 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41519 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41520 cat >>confdefs.h <<\_ACEOF
41521 #define wxHAVE_PTHREAD_CLEANUP 1
41527 for ac_header in sched.h
41529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41530 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41532 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41533 echo $ECHO_N "(cached) $ECHO_C" >&6
41535 cat >conftest.$ac_ext <<_ACEOF
41538 cat confdefs.h >>conftest.$ac_ext
41539 cat >>conftest.$ac_ext <<_ACEOF
41540 /* end confdefs.h. */
41541 $ac_includes_default
41543 #include <$ac_header>
41545 rm -f conftest.$ac_objext
41546 if { (ac_try="$ac_compile"
41547 case "(($ac_try" in
41548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41549 *) ac_try_echo
=$ac_try;;
41551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41552 (eval "$ac_compile") 2>conftest.er1
41554 grep -v '^ *+' conftest.er1
>conftest.err
41556 cat conftest.err
>&5
41557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41558 (exit $ac_status); } && {
41559 test -z "$ac_c_werror_flag" ||
41560 test ! -s conftest.err
41561 } && test -s conftest.
$ac_objext; then
41562 eval "$as_ac_Header=yes"
41564 echo "$as_me: failed program was:" >&5
41565 sed 's/^/| /' conftest.
$ac_ext >&5
41567 eval "$as_ac_Header=no"
41570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41572 ac_res
=`eval echo '${'$as_ac_Header'}'`
41573 { echo "$as_me:$LINENO: result: $ac_res" >&5
41574 echo "${ECHO_T}$ac_res" >&6; }
41575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41576 cat >>confdefs.h
<<_ACEOF
41577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41584 if test "$ac_cv_header_sched_h" = "yes"; then
41585 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41586 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41587 if test "${ac_cv_func_sched_yield+set}" = set; then
41588 echo $ECHO_N "(cached) $ECHO_C" >&6
41590 cat >conftest.
$ac_ext <<_ACEOF
41593 cat confdefs.h
>>conftest.
$ac_ext
41594 cat >>conftest.
$ac_ext <<_ACEOF
41595 /* end confdefs.h. */
41596 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41598 #define sched_yield innocuous_sched_yield
41600 /* System header to define __stub macros and hopefully few prototypes,
41601 which can conflict with char sched_yield (); below.
41602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41603 <limits.h> exists even on freestanding compilers. */
41606 # include <limits.h>
41608 # include <assert.h>
41613 /* Override any GCC internal prototype to avoid an error.
41614 Use char because int might match the return type of a GCC
41615 builtin and then its argument prototype would still apply. */
41619 char sched_yield ();
41620 /* The GNU C library defines this for functions which it implements
41621 to always fail with ENOSYS. Some functions are actually named
41622 something starting with __ and the normal name is an alias. */
41623 #if defined __stub_sched_yield || defined __stub___sched_yield
41630 return sched_yield ();
41635 rm -f conftest.
$ac_objext conftest
$ac_exeext
41636 if { (ac_try
="$ac_link"
41637 case "(($ac_try" in
41638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41639 *) ac_try_echo=$ac_try;;
41641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41642 (eval "$ac_link") 2>conftest.er1
41644 grep -v '^ *+' conftest.er1 >conftest.err
41646 cat conftest.err >&5
41647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41648 (exit $ac_status); } && {
41649 test -z "$ac_c_werror_flag" ||
41650 test ! -s conftest.err
41651 } && test -s conftest$ac_exeext &&
41652 $as_test_x conftest$ac_exeext; then
41653 ac_cv_func_sched_yield=yes
41655 echo "$as_me: failed program was:" >&5
41656 sed 's/^/| /' conftest.$ac_ext >&5
41658 ac_cv_func_sched_yield=no
41661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41662 conftest$ac_exeext conftest.$ac_ext
41664 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41665 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41666 if test $ac_cv_func_sched_yield = yes; then
41667 cat >>confdefs.h <<\_ACEOF
41668 #define HAVE_SCHED_YIELD 1
41673 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41674 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41675 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41676 echo $ECHO_N "(cached) $ECHO_C" >&6
41678 ac_check_lib_save_LIBS=$LIBS
41679 LIBS="-lposix4 $LIBS"
41680 cat >conftest.$ac_ext <<_ACEOF
41683 cat confdefs.h >>conftest.$ac_ext
41684 cat >>conftest.$ac_ext <<_ACEOF
41685 /* end confdefs.h. */
41687 /* Override any GCC internal prototype to avoid an error.
41688 Use char because int might match the return type of a GCC
41689 builtin and then its argument prototype would still apply. */
41693 char sched_yield ();
41697 return sched_yield ();
41702 rm -f conftest.$ac_objext conftest$ac_exeext
41703 if { (ac_try="$ac_link"
41704 case "(($ac_try" in
41705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41706 *) ac_try_echo
=$ac_try;;
41708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41709 (eval "$ac_link") 2>conftest.er1
41711 grep -v '^ *+' conftest.er1
>conftest.err
41713 cat conftest.err
>&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); } && {
41716 test -z "$ac_c_werror_flag" ||
41717 test ! -s conftest.err
41718 } && test -s conftest
$ac_exeext &&
41719 $as_test_x conftest
$ac_exeext; then
41720 ac_cv_lib_posix4_sched_yield
=yes
41722 echo "$as_me: failed program was:" >&5
41723 sed 's/^/| /' conftest.
$ac_ext >&5
41725 ac_cv_lib_posix4_sched_yield
=no
41728 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41729 conftest
$ac_exeext conftest.
$ac_ext
41730 LIBS
=$ac_check_lib_save_LIBS
41732 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41733 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41734 if test $ac_cv_lib_posix4_sched_yield = yes; then
41735 cat >>confdefs.h
<<\_ACEOF
41736 #define HAVE_SCHED_YIELD 1
41738 POSIX4_LINK
=" -lposix4"
41740 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41741 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41752 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41753 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41754 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41755 echo $ECHO_N "(cached) $ECHO_C" >&6
41757 cat >conftest.
$ac_ext <<_ACEOF
41760 cat confdefs.h
>>conftest.
$ac_ext
41761 cat >>conftest.
$ac_ext <<_ACEOF
41762 /* end confdefs.h. */
41763 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41765 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41767 /* System header to define __stub macros and hopefully few prototypes,
41768 which can conflict with char pthread_attr_getschedpolicy (); below.
41769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41770 <limits.h> exists even on freestanding compilers. */
41773 # include <limits.h>
41775 # include <assert.h>
41778 #undef pthread_attr_getschedpolicy
41780 /* Override any GCC internal prototype to avoid an error.
41781 Use char because int might match the return type of a GCC
41782 builtin and then its argument prototype would still apply. */
41786 char pthread_attr_getschedpolicy ();
41787 /* The GNU C library defines this for functions which it implements
41788 to always fail with ENOSYS. Some functions are actually named
41789 something starting with __ and the normal name is an alias. */
41790 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41797 return pthread_attr_getschedpolicy ();
41802 rm -f conftest.
$ac_objext conftest
$ac_exeext
41803 if { (ac_try
="$ac_link"
41804 case "(($ac_try" in
41805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41806 *) ac_try_echo=$ac_try;;
41808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41809 (eval "$ac_link") 2>conftest.er1
41811 grep -v '^ *+' conftest.er1 >conftest.err
41813 cat conftest.err >&5
41814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815 (exit $ac_status); } && {
41816 test -z "$ac_c_werror_flag" ||
41817 test ! -s conftest.err
41818 } && test -s conftest$ac_exeext &&
41819 $as_test_x conftest$ac_exeext; then
41820 ac_cv_func_pthread_attr_getschedpolicy=yes
41822 echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.$ac_ext >&5
41825 ac_cv_func_pthread_attr_getschedpolicy=no
41828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41829 conftest$ac_exeext conftest.$ac_ext
41831 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41832 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41833 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41834 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41835 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41836 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41837 echo $ECHO_N "(cached) $ECHO_C" >&6
41839 cat >conftest.$ac_ext <<_ACEOF
41842 cat confdefs.h >>conftest.$ac_ext
41843 cat >>conftest.$ac_ext <<_ACEOF
41844 /* end confdefs.h. */
41845 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41847 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41849 /* System header to define __stub macros and hopefully few prototypes,
41850 which can conflict with char pthread_attr_setschedparam (); below.
41851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41852 <limits.h> exists even on freestanding compilers. */
41855 # include <limits.h>
41857 # include <assert.h>
41860 #undef pthread_attr_setschedparam
41862 /* Override any GCC internal prototype to avoid an error.
41863 Use char because int might match the return type of a GCC
41864 builtin and then its argument prototype would still apply. */
41868 char pthread_attr_setschedparam ();
41869 /* The GNU C library defines this for functions which it implements
41870 to always fail with ENOSYS. Some functions are actually named
41871 something starting with __ and the normal name is an alias. */
41872 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41879 return pthread_attr_setschedparam ();
41884 rm -f conftest.$ac_objext conftest$ac_exeext
41885 if { (ac_try="$ac_link"
41886 case "(($ac_try" in
41887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41888 *) ac_try_echo
=$ac_try;;
41890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41891 (eval "$ac_link") 2>conftest.er1
41893 grep -v '^ *+' conftest.er1
>conftest.err
41895 cat conftest.err
>&5
41896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41897 (exit $ac_status); } && {
41898 test -z "$ac_c_werror_flag" ||
41899 test ! -s conftest.err
41900 } && test -s conftest
$ac_exeext &&
41901 $as_test_x conftest
$ac_exeext; then
41902 ac_cv_func_pthread_attr_setschedparam
=yes
41904 echo "$as_me: failed program was:" >&5
41905 sed 's/^/| /' conftest.
$ac_ext >&5
41907 ac_cv_func_pthread_attr_setschedparam
=no
41910 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41911 conftest
$ac_exeext conftest.
$ac_ext
41913 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41914 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41915 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41916 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41917 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41918 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41919 echo $ECHO_N "(cached) $ECHO_C" >&6
41921 cat >conftest.
$ac_ext <<_ACEOF
41924 cat confdefs.h
>>conftest.
$ac_ext
41925 cat >>conftest.
$ac_ext <<_ACEOF
41926 /* end confdefs.h. */
41927 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41929 #define sched_get_priority_max innocuous_sched_get_priority_max
41931 /* System header to define __stub macros and hopefully few prototypes,
41932 which can conflict with char sched_get_priority_max (); below.
41933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41934 <limits.h> exists even on freestanding compilers. */
41937 # include <limits.h>
41939 # include <assert.h>
41942 #undef sched_get_priority_max
41944 /* Override any GCC internal prototype to avoid an error.
41945 Use char because int might match the return type of a GCC
41946 builtin and then its argument prototype would still apply. */
41950 char sched_get_priority_max ();
41951 /* The GNU C library defines this for functions which it implements
41952 to always fail with ENOSYS. Some functions are actually named
41953 something starting with __ and the normal name is an alias. */
41954 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41961 return sched_get_priority_max ();
41966 rm -f conftest.
$ac_objext conftest
$ac_exeext
41967 if { (ac_try
="$ac_link"
41968 case "(($ac_try" in
41969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41970 *) ac_try_echo=$ac_try;;
41972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41973 (eval "$ac_link") 2>conftest.er1
41975 grep -v '^ *+' conftest.er1 >conftest.err
41977 cat conftest.err >&5
41978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41979 (exit $ac_status); } && {
41980 test -z "$ac_c_werror_flag" ||
41981 test ! -s conftest.err
41982 } && test -s conftest$ac_exeext &&
41983 $as_test_x conftest$ac_exeext; then
41984 ac_cv_func_sched_get_priority_max=yes
41986 echo "$as_me: failed program was:" >&5
41987 sed 's/^/| /' conftest.$ac_ext >&5
41989 ac_cv_func_sched_get_priority_max=no
41992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41993 conftest$ac_exeext conftest.$ac_ext
41995 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41996 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41997 if test $ac_cv_func_sched_get_priority_max = yes; then
42000 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42001 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42002 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42003 echo $ECHO_N "(cached) $ECHO_C" >&6
42005 ac_check_lib_save_LIBS=$LIBS
42006 LIBS="-lposix4 $LIBS"
42007 cat >conftest.$ac_ext <<_ACEOF
42010 cat confdefs.h >>conftest.$ac_ext
42011 cat >>conftest.$ac_ext <<_ACEOF
42012 /* end confdefs.h. */
42014 /* Override any GCC internal prototype to avoid an error.
42015 Use char because int might match the return type of a GCC
42016 builtin and then its argument prototype would still apply. */
42020 char sched_get_priority_max ();
42024 return sched_get_priority_max ();
42029 rm -f conftest.$ac_objext conftest$ac_exeext
42030 if { (ac_try="$ac_link"
42031 case "(($ac_try" in
42032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42033 *) ac_try_echo
=$ac_try;;
42035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42036 (eval "$ac_link") 2>conftest.er1
42038 grep -v '^ *+' conftest.er1
>conftest.err
42040 cat conftest.err
>&5
42041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42042 (exit $ac_status); } && {
42043 test -z "$ac_c_werror_flag" ||
42044 test ! -s conftest.err
42045 } && test -s conftest
$ac_exeext &&
42046 $as_test_x conftest
$ac_exeext; then
42047 ac_cv_lib_posix4_sched_get_priority_max
=yes
42049 echo "$as_me: failed program was:" >&5
42050 sed 's/^/| /' conftest.
$ac_ext >&5
42052 ac_cv_lib_posix4_sched_get_priority_max
=no
42055 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42056 conftest
$ac_exeext conftest.
$ac_ext
42057 LIBS
=$ac_check_lib_save_LIBS
42059 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42060 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42061 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42064 POSIX4_LINK
=" -lposix4"
42078 if test "$HAVE_PRIOR_FUNCS" = 1; then
42079 cat >>confdefs.h
<<\_ACEOF
42080 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42084 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42085 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42088 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42089 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42090 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42091 echo $ECHO_N "(cached) $ECHO_C" >&6
42093 cat >conftest.
$ac_ext <<_ACEOF
42096 cat confdefs.h
>>conftest.
$ac_ext
42097 cat >>conftest.
$ac_ext <<_ACEOF
42098 /* end confdefs.h. */
42099 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42101 #define pthread_cancel innocuous_pthread_cancel
42103 /* System header to define __stub macros and hopefully few prototypes,
42104 which can conflict with char pthread_cancel (); below.
42105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42106 <limits.h> exists even on freestanding compilers. */
42109 # include <limits.h>
42111 # include <assert.h>
42114 #undef pthread_cancel
42116 /* Override any GCC internal prototype to avoid an error.
42117 Use char because int might match the return type of a GCC
42118 builtin and then its argument prototype would still apply. */
42122 char pthread_cancel ();
42123 /* The GNU C library defines this for functions which it implements
42124 to always fail with ENOSYS. Some functions are actually named
42125 something starting with __ and the normal name is an alias. */
42126 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42133 return pthread_cancel ();
42138 rm -f conftest.
$ac_objext conftest
$ac_exeext
42139 if { (ac_try
="$ac_link"
42140 case "(($ac_try" in
42141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42142 *) ac_try_echo=$ac_try;;
42144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42145 (eval "$ac_link") 2>conftest.er1
42147 grep -v '^ *+' conftest.er1 >conftest.err
42149 cat conftest.err >&5
42150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42151 (exit $ac_status); } && {
42152 test -z "$ac_c_werror_flag" ||
42153 test ! -s conftest.err
42154 } && test -s conftest$ac_exeext &&
42155 $as_test_x conftest$ac_exeext; then
42156 ac_cv_func_pthread_cancel=yes
42158 echo "$as_me: failed program was:" >&5
42159 sed 's/^/| /' conftest.$ac_ext >&5
42161 ac_cv_func_pthread_cancel=no
42164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42165 conftest$ac_exeext conftest.$ac_ext
42167 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42168 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42169 if test $ac_cv_func_pthread_cancel = yes; then
42170 cat >>confdefs.h <<\_ACEOF
42171 #define HAVE_PTHREAD_CANCEL 1
42175 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42176 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42180 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42181 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42182 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42183 echo $ECHO_N "(cached) $ECHO_C" >&6
42185 cat >conftest.$ac_ext <<_ACEOF
42188 cat confdefs.h >>conftest.$ac_ext
42189 cat >>conftest.$ac_ext <<_ACEOF
42190 /* end confdefs.h. */
42191 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42193 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42195 /* System header to define __stub macros and hopefully few prototypes,
42196 which can conflict with char pthread_mutex_timedlock (); below.
42197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42198 <limits.h> exists even on freestanding compilers. */
42201 # include <limits.h>
42203 # include <assert.h>
42206 #undef pthread_mutex_timedlock
42208 /* Override any GCC internal prototype to avoid an error.
42209 Use char because int might match the return type of a GCC
42210 builtin and then its argument prototype would still apply. */
42214 char pthread_mutex_timedlock ();
42215 /* The GNU C library defines this for functions which it implements
42216 to always fail with ENOSYS. Some functions are actually named
42217 something starting with __ and the normal name is an alias. */
42218 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42225 return pthread_mutex_timedlock ();
42230 rm -f conftest.$ac_objext conftest$ac_exeext
42231 if { (ac_try="$ac_link"
42232 case "(($ac_try" in
42233 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42234 *) ac_try_echo
=$ac_try;;
42236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42237 (eval "$ac_link") 2>conftest.er1
42239 grep -v '^ *+' conftest.er1
>conftest.err
42241 cat conftest.err
>&5
42242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42243 (exit $ac_status); } && {
42244 test -z "$ac_c_werror_flag" ||
42245 test ! -s conftest.err
42246 } && test -s conftest
$ac_exeext &&
42247 $as_test_x conftest
$ac_exeext; then
42248 ac_cv_func_pthread_mutex_timedlock
=yes
42250 echo "$as_me: failed program was:" >&5
42251 sed 's/^/| /' conftest.
$ac_ext >&5
42253 ac_cv_func_pthread_mutex_timedlock
=no
42256 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42257 conftest
$ac_exeext conftest.
$ac_ext
42259 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42260 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42261 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42262 cat >>confdefs.h
<<\_ACEOF
42263 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42267 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42268 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42272 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42273 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42274 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42275 echo $ECHO_N "(cached) $ECHO_C" >&6
42277 cat >conftest.
$ac_ext <<_ACEOF
42280 cat confdefs.h
>>conftest.
$ac_ext
42281 cat >>conftest.
$ac_ext <<_ACEOF
42282 /* end confdefs.h. */
42283 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42285 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42287 /* System header to define __stub macros and hopefully few prototypes,
42288 which can conflict with char pthread_attr_setstacksize (); below.
42289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42290 <limits.h> exists even on freestanding compilers. */
42293 # include <limits.h>
42295 # include <assert.h>
42298 #undef pthread_attr_setstacksize
42300 /* Override any GCC internal prototype to avoid an error.
42301 Use char because int might match the return type of a GCC
42302 builtin and then its argument prototype would still apply. */
42306 char pthread_attr_setstacksize ();
42307 /* The GNU C library defines this for functions which it implements
42308 to always fail with ENOSYS. Some functions are actually named
42309 something starting with __ and the normal name is an alias. */
42310 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42317 return pthread_attr_setstacksize ();
42322 rm -f conftest.
$ac_objext conftest
$ac_exeext
42323 if { (ac_try
="$ac_link"
42324 case "(($ac_try" in
42325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42326 *) ac_try_echo=$ac_try;;
42328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42329 (eval "$ac_link") 2>conftest.er1
42331 grep -v '^ *+' conftest.er1 >conftest.err
42333 cat conftest.err >&5
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); } && {
42336 test -z "$ac_c_werror_flag" ||
42337 test ! -s conftest.err
42338 } && test -s conftest$ac_exeext &&
42339 $as_test_x conftest$ac_exeext; then
42340 ac_cv_func_pthread_attr_setstacksize=yes
42342 echo "$as_me: failed program was:" >&5
42343 sed 's/^/| /' conftest.$ac_ext >&5
42345 ac_cv_func_pthread_attr_setstacksize=no
42348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42349 conftest$ac_exeext conftest.$ac_ext
42351 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42352 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42353 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42354 cat >>confdefs.h <<\_ACEOF
42355 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42362 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42363 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42364 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42365 echo $ECHO_N "(cached) $ECHO_C" >&6
42368 cat >conftest.$ac_ext <<_ACEOF
42371 cat confdefs.h >>conftest.$ac_ext
42372 cat >>conftest.$ac_ext <<_ACEOF
42373 /* end confdefs.h. */
42374 #include <pthread.h>
42379 pthread_mutexattr_t attr;
42380 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42386 rm -f conftest.$ac_objext
42387 if { (ac_try="$ac_compile"
42388 case "(($ac_try" in
42389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42390 *) ac_try_echo
=$ac_try;;
42392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42393 (eval "$ac_compile") 2>conftest.er1
42395 grep -v '^ *+' conftest.er1
>conftest.err
42397 cat conftest.err
>&5
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); } && {
42400 test -z "$ac_c_werror_flag" ||
42401 test ! -s conftest.err
42402 } && test -s conftest.
$ac_objext; then
42403 wx_cv_type_pthread_mutexattr_t
=yes
42405 echo "$as_me: failed program was:" >&5
42406 sed 's/^/| /' conftest.
$ac_ext >&5
42408 wx_cv_type_pthread_mutexattr_t
=no
42412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42415 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42416 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42418 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42419 cat >>confdefs.h
<<\_ACEOF
42420 #define HAVE_PTHREAD_MUTEXATTR_T 1
42424 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42425 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42426 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42427 echo $ECHO_N "(cached) $ECHO_C" >&6
42430 cat >conftest.
$ac_ext <<_ACEOF
42433 cat confdefs.h
>>conftest.
$ac_ext
42434 cat >>conftest.
$ac_ext <<_ACEOF
42435 /* end confdefs.h. */
42436 #include <pthread.h>
42441 pthread_mutexattr_t attr;
42442 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42448 rm -f conftest.
$ac_objext
42449 if { (ac_try
="$ac_compile"
42450 case "(($ac_try" in
42451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42452 *) ac_try_echo=$ac_try;;
42454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42455 (eval "$ac_compile") 2>conftest.er1
42457 grep -v '^ *+' conftest.er1 >conftest.err
42459 cat conftest.err >&5
42460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42461 (exit $ac_status); } && {
42462 test -z "$ac_c_werror_flag" ||
42463 test ! -s conftest.err
42464 } && test -s conftest.$ac_objext; then
42465 wx_cv_func_pthread_mutexattr_settype_decl=yes
42467 echo "$as_me: failed program was:" >&5
42468 sed 's/^/| /' conftest.$ac_ext >&5
42470 wx_cv_func_pthread_mutexattr_settype_decl=no
42474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42477 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42478 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42479 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42480 cat >>confdefs.h <<\_ACEOF
42481 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42486 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42487 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42488 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42489 echo $ECHO_N "(cached) $ECHO_C" >&6
42492 cat >conftest.$ac_ext <<_ACEOF
42495 cat confdefs.h >>conftest.$ac_ext
42496 cat >>conftest.$ac_ext <<_ACEOF
42497 /* end confdefs.h. */
42498 #include <pthread.h>
42503 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42509 rm -f conftest.$ac_objext
42510 if { (ac_try="$ac_compile"
42511 case "(($ac_try" in
42512 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42513 *) ac_try_echo
=$ac_try;;
42515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42516 (eval "$ac_compile") 2>conftest.er1
42518 grep -v '^ *+' conftest.er1
>conftest.err
42520 cat conftest.err
>&5
42521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42522 (exit $ac_status); } && {
42523 test -z "$ac_c_werror_flag" ||
42524 test ! -s conftest.err
42525 } && test -s conftest.
$ac_objext; then
42527 wx_cv_type_pthread_rec_mutex_init
=yes
42530 echo "$as_me: failed program was:" >&5
42531 sed 's/^/| /' conftest.
$ac_ext >&5
42534 wx_cv_type_pthread_rec_mutex_init
=no
42539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42542 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42543 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42544 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42545 cat >>confdefs.h
<<\_ACEOF
42546 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42550 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42551 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42557 if test "$wxUSE_THREADS" = "yes" ; then
42560 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42561 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42562 if test "${wx_cv_cflags_mthread+set}" = set; then
42563 echo $ECHO_N "(cached) $ECHO_C" >&6
42566 CFLAGS_OLD
="$CFLAGS"
42567 CFLAGS
="-mthreads $CFLAGS"
42568 cat >conftest.
$ac_ext <<_ACEOF
42571 cat confdefs.h
>>conftest.
$ac_ext
42572 cat >>conftest.
$ac_ext <<_ACEOF
42573 /* end confdefs.h. */
42583 rm -f conftest.
$ac_objext
42584 if { (ac_try
="$ac_compile"
42585 case "(($ac_try" in
42586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42587 *) ac_try_echo=$ac_try;;
42589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42590 (eval "$ac_compile") 2>conftest.er1
42592 grep -v '^ *+' conftest.er1 >conftest.err
42594 cat conftest.err >&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); } && {
42597 test -z "$ac_c_werror_flag" ||
42598 test ! -s conftest.err
42599 } && test -s conftest.$ac_objext; then
42600 wx_cv_cflags_mthread=yes
42602 echo "$as_me: failed program was:" >&5
42603 sed 's/^/| /' conftest.$ac_ext >&5
42605 wx_cv_cflags_mthread=no
42609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42613 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42614 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42616 if test "$wx_cv_cflags_mthread" = "yes"; then
42617 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42618 LDFLAGS="$LDFLAGS -mthreads"
42620 CFLAGS="$CFLAGS_OLD"
42624 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42625 LDFLAGS="$LDFLAGS -Zmt"
42631 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42632 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42633 if test "${ac_cv_func_localtime_r+set}" = set; then
42634 echo $ECHO_N "(cached) $ECHO_C" >&6
42636 cat >conftest.$ac_ext <<_ACEOF
42639 cat confdefs.h >>conftest.$ac_ext
42640 cat >>conftest.$ac_ext <<_ACEOF
42641 /* end confdefs.h. */
42642 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42644 #define localtime_r innocuous_localtime_r
42646 /* System header to define __stub macros and hopefully few prototypes,
42647 which can conflict with char localtime_r (); below.
42648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42649 <limits.h> exists even on freestanding compilers. */
42652 # include <limits.h>
42654 # include <assert.h>
42659 /* Override any GCC internal prototype to avoid an error.
42660 Use char because int might match the return type of a GCC
42661 builtin and then its argument prototype would still apply. */
42665 char localtime_r ();
42666 /* The GNU C library defines this for functions which it implements
42667 to always fail with ENOSYS. Some functions are actually named
42668 something starting with __ and the normal name is an alias. */
42669 #if defined __stub_localtime_r || defined __stub___localtime_r
42676 return localtime_r ();
42681 rm -f conftest.$ac_objext conftest$ac_exeext
42682 if { (ac_try="$ac_link"
42683 case "(($ac_try" in
42684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42685 *) ac_try_echo
=$ac_try;;
42687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42688 (eval "$ac_link") 2>conftest.er1
42690 grep -v '^ *+' conftest.er1
>conftest.err
42692 cat conftest.err
>&5
42693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42694 (exit $ac_status); } && {
42695 test -z "$ac_c_werror_flag" ||
42696 test ! -s conftest.err
42697 } && test -s conftest
$ac_exeext &&
42698 $as_test_x conftest
$ac_exeext; then
42699 ac_cv_func_localtime_r
=yes
42701 echo "$as_me: failed program was:" >&5
42702 sed 's/^/| /' conftest.
$ac_ext >&5
42704 ac_cv_func_localtime_r
=no
42707 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42708 conftest
$ac_exeext conftest.
$ac_ext
42710 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42711 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42712 if test $ac_cv_func_localtime_r = yes; then
42713 cat >>confdefs.h
<<\_ACEOF
42714 #define HAVE_LOCALTIME_R 1
42719 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42720 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42721 if test "${ac_cv_func_gmtime_r+set}" = set; then
42722 echo $ECHO_N "(cached) $ECHO_C" >&6
42724 cat >conftest.
$ac_ext <<_ACEOF
42727 cat confdefs.h
>>conftest.
$ac_ext
42728 cat >>conftest.
$ac_ext <<_ACEOF
42729 /* end confdefs.h. */
42730 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42732 #define gmtime_r innocuous_gmtime_r
42734 /* System header to define __stub macros and hopefully few prototypes,
42735 which can conflict with char gmtime_r (); below.
42736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42737 <limits.h> exists even on freestanding compilers. */
42740 # include <limits.h>
42742 # include <assert.h>
42747 /* Override any GCC internal prototype to avoid an error.
42748 Use char because int might match the return type of a GCC
42749 builtin and then its argument prototype would still apply. */
42754 /* The GNU C library defines this for functions which it implements
42755 to always fail with ENOSYS. Some functions are actually named
42756 something starting with __ and the normal name is an alias. */
42757 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42764 return gmtime_r ();
42769 rm -f conftest.
$ac_objext conftest
$ac_exeext
42770 if { (ac_try
="$ac_link"
42771 case "(($ac_try" in
42772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42773 *) ac_try_echo=$ac_try;;
42775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42776 (eval "$ac_link") 2>conftest.er1
42778 grep -v '^ *+' conftest.er1 >conftest.err
42780 cat conftest.err >&5
42781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782 (exit $ac_status); } && {
42783 test -z "$ac_c_werror_flag" ||
42784 test ! -s conftest.err
42785 } && test -s conftest$ac_exeext &&
42786 $as_test_x conftest$ac_exeext; then
42787 ac_cv_func_gmtime_r=yes
42789 echo "$as_me: failed program was:" >&5
42790 sed 's/^/| /' conftest.$ac_ext >&5
42792 ac_cv_func_gmtime_r=no
42795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42796 conftest$ac_exeext conftest.$ac_ext
42798 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42799 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42800 if test $ac_cv_func_gmtime_r = yes; then
42801 cat >>confdefs.h <<\_ACEOF
42802 #define HAVE_GMTIME_R 1
42811 ac_cpp='$CPP $CPPFLAGS'
42812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42816 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42817 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42819 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42820 echo $ECHO_N "(cached) $ECHO_C" >&6
42824 ################################################################
42826 ac_cv_func_which_gethostbyname_r=unknown
42829 # ONE ARGUMENT (sanity check)
42832 # This should fail, as there is no variant of gethostbyname_r() that takes
42833 # a single argument. If it actually compiles, then we can assume that
42834 # netdb.h is not declaring the function, and the compiler is thereby
42835 # assuming an implicit prototype. In which case, we're out of luck.
42837 cat >conftest.$ac_ext <<_ACEOF
42840 cat confdefs.h >>conftest.$ac_ext
42841 cat >>conftest.$ac_ext <<_ACEOF
42842 /* end confdefs.h. */
42848 char *name = "www.gnu.org";
42849 (void)gethostbyname_r(name) /* ; */
42855 rm -f conftest.$ac_objext
42856 if { (ac_try="$ac_compile"
42857 case "(($ac_try" in
42858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42859 *) ac_try_echo
=$ac_try;;
42861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42862 (eval "$ac_compile") 2>conftest.er1
42864 grep -v '^ *+' conftest.er1
>conftest.err
42866 cat conftest.err
>&5
42867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42868 (exit $ac_status); } && {
42869 test -z "$ac_c_werror_flag" ||
42870 test ! -s conftest.err
42871 } && test -s conftest.
$ac_objext; then
42872 ac_cv_func_which_gethostbyname_r
=no
42874 echo "$as_me: failed program was:" >&5
42875 sed 's/^/| /' conftest.
$ac_ext >&5
42880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42887 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42889 cat >conftest.
$ac_ext <<_ACEOF
42892 cat confdefs.h
>>conftest.
$ac_ext
42893 cat >>conftest.
$ac_ext <<_ACEOF
42894 /* end confdefs.h. */
42900 char *name = "www.gnu.org";
42901 struct hostent ret, *retp;
42905 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42911 rm -f conftest.
$ac_objext
42912 if { (ac_try
="$ac_compile"
42913 case "(($ac_try" in
42914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42915 *) ac_try_echo=$ac_try;;
42917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42918 (eval "$ac_compile") 2>conftest.er1
42920 grep -v '^ *+' conftest.er1 >conftest.err
42922 cat conftest.err >&5
42923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924 (exit $ac_status); } && {
42925 test -z "$ac_c_werror_flag" ||
42926 test ! -s conftest.err
42927 } && test -s conftest.$ac_objext; then
42928 ac_cv_func_which_gethostbyname_r=six
42930 echo "$as_me: failed program was:" >&5
42931 sed 's/^/| /' conftest.$ac_ext >&5
42936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42945 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42947 cat >conftest.$ac_ext <<_ACEOF
42950 cat confdefs.h >>conftest.$ac_ext
42951 cat >>conftest.$ac_ext <<_ACEOF
42952 /* end confdefs.h. */
42958 char *name = "www.gnu.org";
42959 struct hostent ret;
42963 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42969 rm -f conftest.$ac_objext
42970 if { (ac_try="$ac_compile"
42971 case "(($ac_try" in
42972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42973 *) ac_try_echo
=$ac_try;;
42975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42976 (eval "$ac_compile") 2>conftest.er1
42978 grep -v '^ *+' conftest.er1
>conftest.err
42980 cat conftest.err
>&5
42981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42982 (exit $ac_status); } && {
42983 test -z "$ac_c_werror_flag" ||
42984 test ! -s conftest.err
42985 } && test -s conftest.
$ac_objext; then
42986 ac_cv_func_which_gethostbyname_r
=five
42988 echo "$as_me: failed program was:" >&5
42989 sed 's/^/| /' conftest.
$ac_ext >&5
42994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43000 # (e.g. AIX, HP-UX, Tru64)
43003 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43005 cat >conftest.
$ac_ext <<_ACEOF
43008 cat confdefs.h
>>conftest.
$ac_ext
43009 cat >>conftest.
$ac_ext <<_ACEOF
43010 /* end confdefs.h. */
43016 char *name = "www.gnu.org";
43017 struct hostent ret;
43018 struct hostent_data data;
43019 (void)gethostbyname_r(name, &ret, &data) /* ; */
43025 rm -f conftest.
$ac_objext
43026 if { (ac_try
="$ac_compile"
43027 case "(($ac_try" in
43028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43029 *) ac_try_echo=$ac_try;;
43031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43032 (eval "$ac_compile") 2>conftest.er1
43034 grep -v '^ *+' conftest.er1 >conftest.err
43036 cat conftest.err >&5
43037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43038 (exit $ac_status); } && {
43039 test -z "$ac_c_werror_flag" ||
43040 test ! -s conftest.err
43041 } && test -s conftest.$ac_objext; then
43042 ac_cv_func_which_gethostbyname_r=three
43044 echo "$as_me: failed program was:" >&5
43045 sed 's/^/| /' conftest.$ac_ext >&5
43050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43054 ################################################################
43059 case "$ac_cv_func_which_gethostbyname_r" in
43061 { echo "$as_me:$LINENO: result: three" >&5
43062 echo "${ECHO_T}three" >&6; }
43063 cat >>confdefs.h <<\_ACEOF
43064 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43070 { echo "$as_me:$LINENO: result: five" >&5
43071 echo "${ECHO_T}five" >&6; }
43072 cat >>confdefs.h <<\_ACEOF
43073 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43079 { echo "$as_me:$LINENO: result: six" >&5
43080 echo "${ECHO_T}six" >&6; }
43081 cat >>confdefs.h <<\_ACEOF
43082 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43088 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43089 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43093 { echo "$as_me:$LINENO: result: can't tell" >&5
43094 echo "${ECHO_T}can't tell" >&6; }
43098 { { echo "$as_me:$LINENO: error: internal error" >&5
43099 echo "$as_me: error: internal error" >&2;}
43100 { (exit 1); exit 1; }; }
43105 ac_cpp='$CPP $CPPFLAGS'
43106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43112 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43113 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43114 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43115 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43116 if test "${ac_cv_func_gethostbyname+set}" = set; then
43117 echo $ECHO_N "(cached) $ECHO_C" >&6
43119 cat >conftest.$ac_ext <<_ACEOF
43122 cat confdefs.h >>conftest.$ac_ext
43123 cat >>conftest.$ac_ext <<_ACEOF
43124 /* end confdefs.h. */
43125 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43127 #define gethostbyname innocuous_gethostbyname
43129 /* System header to define __stub macros and hopefully few prototypes,
43130 which can conflict with char gethostbyname (); below.
43131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43132 <limits.h> exists even on freestanding compilers. */
43135 # include <limits.h>
43137 # include <assert.h>
43140 #undef gethostbyname
43142 /* Override any GCC internal prototype to avoid an error.
43143 Use char because int might match the return type of a GCC
43144 builtin and then its argument prototype would still apply. */
43148 char gethostbyname ();
43149 /* The GNU C library defines this for functions which it implements
43150 to always fail with ENOSYS. Some functions are actually named
43151 something starting with __ and the normal name is an alias. */
43152 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43159 return gethostbyname ();
43164 rm -f conftest.$ac_objext conftest$ac_exeext
43165 if { (ac_try="$ac_link"
43166 case "(($ac_try" in
43167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43168 *) ac_try_echo
=$ac_try;;
43170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43171 (eval "$ac_link") 2>conftest.er1
43173 grep -v '^ *+' conftest.er1
>conftest.err
43175 cat conftest.err
>&5
43176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43177 (exit $ac_status); } && {
43178 test -z "$ac_c_werror_flag" ||
43179 test ! -s conftest.err
43180 } && test -s conftest
$ac_exeext &&
43181 $as_test_x conftest
$ac_exeext; then
43182 ac_cv_func_gethostbyname
=yes
43184 echo "$as_me: failed program was:" >&5
43185 sed 's/^/| /' conftest.
$ac_ext >&5
43187 ac_cv_func_gethostbyname
=no
43190 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43191 conftest
$ac_exeext conftest.
$ac_ext
43193 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43194 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43195 if test $ac_cv_func_gethostbyname = yes; then
43196 cat >>confdefs.h
<<\_ACEOF
43197 #define HAVE_GETHOSTBYNAME 1
43204 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43205 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43206 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43207 echo $ECHO_N "(cached) $ECHO_C" >&6
43211 ac_cpp
='$CXXCPP $CPPFLAGS'
43212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43217 cat >conftest.
$ac_ext <<_ACEOF
43220 cat confdefs.h
>>conftest.
$ac_ext
43221 cat >>conftest.
$ac_ext <<_ACEOF
43222 /* end confdefs.h. */
43230 struct servent *se, *res;
43233 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43239 rm -f conftest.
$ac_objext
43240 if { (ac_try
="$ac_compile"
43241 case "(($ac_try" in
43242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43243 *) ac_try_echo=$ac_try;;
43245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43246 (eval "$ac_compile") 2>conftest.er1
43248 grep -v '^ *+' conftest.er1 >conftest.err
43250 cat conftest.err >&5
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); } && {
43253 test -z "$ac_cxx_werror_flag" ||
43254 test ! -s conftest.err
43255 } && test -s conftest.$ac_objext; then
43256 ac_cv_func_which_getservbyname_r=six
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.$ac_ext >&5
43262 cat >conftest.$ac_ext <<_ACEOF
43265 cat confdefs.h >>conftest.$ac_ext
43266 cat >>conftest.$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43275 struct servent *se;
43278 (void) getservbyname_r(name, proto, se, buffer, buflen)
43284 rm -f conftest.$ac_objext
43285 if { (ac_try="$ac_compile"
43286 case "(($ac_try" in
43287 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43288 *) ac_try_echo
=$ac_try;;
43290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43291 (eval "$ac_compile") 2>conftest.er1
43293 grep -v '^ *+' conftest.er1
>conftest.err
43295 cat conftest.err
>&5
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); } && {
43298 test -z "$ac_cxx_werror_flag" ||
43299 test ! -s conftest.err
43300 } && test -s conftest.
$ac_objext; then
43301 ac_cv_func_which_getservbyname_r
=five
43303 echo "$as_me: failed program was:" >&5
43304 sed 's/^/| /' conftest.
$ac_ext >&5
43307 cat >conftest.
$ac_ext <<_ACEOF
43310 cat confdefs.h
>>conftest.
$ac_ext
43311 cat >>conftest.
$ac_ext <<_ACEOF
43312 /* end confdefs.h. */
43320 struct servent *se;
43321 struct servent_data data;
43322 (void) getservbyname_r(name, proto, se, &data);
43328 rm -f conftest.
$ac_objext
43329 if { (ac_try
="$ac_compile"
43330 case "(($ac_try" in
43331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43332 *) ac_try_echo=$ac_try;;
43334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43335 (eval "$ac_compile") 2>conftest.er1
43337 grep -v '^ *+' conftest.er1 >conftest.err
43339 cat conftest.err >&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } && {
43342 test -z "$ac_cxx_werror_flag" ||
43343 test ! -s conftest.err
43344 } && test -s conftest.$ac_objext; then
43345 ac_cv_func_which_getservbyname_r=four
43347 echo "$as_me: failed program was:" >&5
43348 sed 's/^/| /' conftest.$ac_ext >&5
43350 ac_cv_func_which_getservbyname_r=no
43354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43366 ac_cpp='$CPP $CPPFLAGS'
43367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43374 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43375 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43377 if test $ac_cv_func_which_getservbyname_r = six; then
43378 cat >>confdefs.h <<\_ACEOF
43379 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43382 elif test $ac_cv_func_which_getservbyname_r = five; then
43383 cat >>confdefs.h <<\_ACEOF
43384 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43387 elif test $ac_cv_func_which_getservbyname_r = four; then
43388 cat >>confdefs.h <<\_ACEOF
43389 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43395 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43396 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43398 for ac_func in getservbyname
43400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43404 echo $ECHO_N "(cached) $ECHO_C" >&6
43406 cat >conftest.$ac_ext <<_ACEOF
43409 cat confdefs.h >>conftest.$ac_ext
43410 cat >>conftest.$ac_ext <<_ACEOF
43411 /* end confdefs.h. */
43412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43414 #define $ac_func innocuous_$ac_func
43416 /* System header to define __stub macros and hopefully few prototypes,
43417 which can conflict with char $ac_func (); below.
43418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43419 <limits.h> exists even on freestanding compilers. */
43422 # include <limits.h>
43424 # include <assert.h>
43429 /* Override any GCC internal prototype to avoid an error.
43430 Use char because int might match the return type of a GCC
43431 builtin and then its argument prototype would still apply. */
43436 /* The GNU C library defines this for functions which it implements
43437 to always fail with ENOSYS. Some functions are actually named
43438 something starting with __ and the normal name is an alias. */
43439 #if defined __stub_$ac_func || defined __stub___$ac_func
43446 return $ac_func ();
43451 rm -f conftest.$ac_objext conftest$ac_exeext
43452 if { (ac_try="$ac_link"
43453 case "(($ac_try" in
43454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43455 *) ac_try_echo
=$ac_try;;
43457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43458 (eval "$ac_link") 2>conftest.er1
43460 grep -v '^ *+' conftest.er1
>conftest.err
43462 cat conftest.err
>&5
43463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43464 (exit $ac_status); } && {
43465 test -z "$ac_c_werror_flag" ||
43466 test ! -s conftest.err
43467 } && test -s conftest
$ac_exeext &&
43468 $as_test_x conftest
$ac_exeext; then
43469 eval "$as_ac_var=yes"
43471 echo "$as_me: failed program was:" >&5
43472 sed 's/^/| /' conftest.
$ac_ext >&5
43474 eval "$as_ac_var=no"
43477 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43478 conftest
$ac_exeext conftest.
$ac_ext
43480 ac_res
=`eval echo '${'$as_ac_var'}'`
43481 { echo "$as_me:$LINENO: result: $ac_res" >&5
43482 echo "${ECHO_T}$ac_res" >&6; }
43483 if test `eval echo '${'$as_ac_var'}'` = yes; then
43484 cat >>confdefs.h
<<_ACEOF
43485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43487 cat >>confdefs.h
<<\_ACEOF
43488 #define HAVE_GETSERVBYNAME 1
43496 if test "$wxUSE_THREADS" = "yes"; then
43497 cat >>confdefs.h
<<\_ACEOF
43498 #define wxUSE_THREADS 1
43502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
43504 if test "$wx_cv_func_strtok_r" = "yes"; then
43505 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43506 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43507 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43508 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43509 { echo "$as_me:$LINENO: result: yes" >&5
43510 echo "${ECHO_T}yes" >&6; }
43512 { echo "$as_me:$LINENO: result: no" >&5
43513 echo "${ECHO_T}no" >&6; }
43518 if test "$WXGTK2" = 1 ; then
43519 cat >>confdefs.h
<<_ACEOF
43520 #define __WXGTK20__ $WXGTK2
43526 if test "$WXGTK12" = 1 ; then
43527 cat >>confdefs.h
<<_ACEOF
43528 #define __WXGTK12__ $WXGTK12
43533 if test "$WXGTK127" = 1 ; then
43534 cat >>confdefs.h
<<_ACEOF
43535 #define __WXGTK127__ $WXGTK127
43540 if test "$WXGPE" = 1 ; then
43541 cat >>confdefs.h
<<_ACEOF
43542 #define __WXGPE__ $WXGPE
43548 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43553 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43554 wxUSE_DEBUG_INFO
=yes
43555 if test "$GCC" = yes; then
43556 DEBUG_CFLAGS
="-ggdb"
43560 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43561 cat >>confdefs.h
<<\_ACEOF
43565 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43567 if test "$wxUSE_GTK" = 1 ; then
43568 if test "x$wxGTK_VERSION" = "x1" ; then
43569 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43574 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43575 cat >>confdefs.h
<<\_ACEOF
43576 #define wxUSE_MEMORY_TRACING 1
43579 cat >>confdefs.h
<<\_ACEOF
43580 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43583 cat >>confdefs.h
<<\_ACEOF
43584 #define wxUSE_DEBUG_NEW_ALWAYS 1
43587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
43590 if test "$wxUSE_DMALLOC" = "yes" ; then
43591 DMALLOC_LIBS
="-ldmallocthcxx"
43595 if test "$wxUSE_PROFILE" = "yes" ; then
43596 PROFILE_FLAGS
=" -pg"
43599 if test "$GCC" = "yes" ; then
43600 if test "$wxUSE_NO_RTTI" = "yes" ; then
43601 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
43603 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43604 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
43606 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43607 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
43612 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
43615 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
43621 if test "$wxUSE_OPTIMISE" = "no" ; then
43622 if test "$GCC" = yes ; then
43623 OPTIMISE_CFLAGS
="-O0"
43626 if test "$GCC" = yes ; then
43628 *-pc-os2_emx | *-pc-os2-emx )
43629 OPTIMISE_CFLAGS
="-O2"
43632 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
43636 OPTIMISE_CFLAGS
="-O"
43641 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43642 cat >>confdefs.h
<<\_ACEOF
43643 #define WXWIN_COMPATIBILITY_2_6 1
43647 WXWIN_COMPATIBILITY_2_8
="yes"
43650 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43651 cat >>confdefs.h
<<\_ACEOF
43652 #define WXWIN_COMPATIBILITY_2_8 1
43658 if test "$wxUSE_GUI" = "yes"; then
43659 cat >>confdefs.h
<<\_ACEOF
43660 #define wxUSE_GUI 1
43667 if test "$wxUSE_UNIX" = "yes"; then
43668 cat >>confdefs.h
<<\_ACEOF
43669 #define wxUSE_UNIX 1
43675 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43679 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43680 if test "$USE_DARWIN" = 1; then
43682 elif test "$USE_DOS" = 1; then
43686 for ac_func
in dlopen
43688 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43689 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43691 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43692 echo $ECHO_N "(cached) $ECHO_C" >&6
43694 cat >conftest.
$ac_ext <<_ACEOF
43697 cat confdefs.h
>>conftest.
$ac_ext
43698 cat >>conftest.
$ac_ext <<_ACEOF
43699 /* end confdefs.h. */
43700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43702 #define $ac_func innocuous_$ac_func
43704 /* System header to define __stub macros and hopefully few prototypes,
43705 which can conflict with char $ac_func (); below.
43706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43707 <limits.h> exists even on freestanding compilers. */
43710 # include <limits.h>
43712 # include <assert.h>
43717 /* Override any GCC internal prototype to avoid an error.
43718 Use char because int might match the return type of a GCC
43719 builtin and then its argument prototype would still apply. */
43724 /* The GNU C library defines this for functions which it implements
43725 to always fail with ENOSYS. Some functions are actually named
43726 something starting with __ and the normal name is an alias. */
43727 #if defined __stub_$ac_func || defined __stub___$ac_func
43734 return $ac_func ();
43739 rm -f conftest.
$ac_objext conftest
$ac_exeext
43740 if { (ac_try
="$ac_link"
43741 case "(($ac_try" in
43742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43743 *) ac_try_echo=$ac_try;;
43745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43746 (eval "$ac_link") 2>conftest.er1
43748 grep -v '^ *+' conftest.er1 >conftest.err
43750 cat conftest.err >&5
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); } && {
43753 test -z "$ac_c_werror_flag" ||
43754 test ! -s conftest.err
43755 } && test -s conftest$ac_exeext &&
43756 $as_test_x conftest$ac_exeext; then
43757 eval "$as_ac_var=yes"
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.$ac_ext >&5
43762 eval "$as_ac_var=no"
43765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43766 conftest$ac_exeext conftest.$ac_ext
43768 ac_res=`eval echo '${'$as_ac_var'}'`
43769 { echo "$as_me:$LINENO: result: $ac_res" >&5
43770 echo "${ECHO_T}$ac_res" >&6; }
43771 if test `eval echo '${'$as_ac_var'}'` = yes; then
43772 cat >>confdefs.h <<_ACEOF
43773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43776 cat >>confdefs.h <<\_ACEOF
43777 #define HAVE_DLOPEN 1
43784 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43785 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43786 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43787 echo $ECHO_N "(cached) $ECHO_C" >&6
43789 ac_check_lib_save_LIBS=$LIBS
43791 cat >conftest.$ac_ext <<_ACEOF
43794 cat confdefs.h >>conftest.$ac_ext
43795 cat >>conftest.$ac_ext <<_ACEOF
43796 /* end confdefs.h. */
43798 /* Override any GCC internal prototype to avoid an error.
43799 Use char because int might match the return type of a GCC
43800 builtin and then its argument prototype would still apply. */
43813 rm -f conftest.$ac_objext conftest$ac_exeext
43814 if { (ac_try="$ac_link"
43815 case "(($ac_try" in
43816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43817 *) ac_try_echo
=$ac_try;;
43819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43820 (eval "$ac_link") 2>conftest.er1
43822 grep -v '^ *+' conftest.er1
>conftest.err
43824 cat conftest.err
>&5
43825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43826 (exit $ac_status); } && {
43827 test -z "$ac_c_werror_flag" ||
43828 test ! -s conftest.err
43829 } && test -s conftest
$ac_exeext &&
43830 $as_test_x conftest
$ac_exeext; then
43831 ac_cv_lib_dl_dlopen
=yes
43833 echo "$as_me: failed program was:" >&5
43834 sed 's/^/| /' conftest.
$ac_ext >&5
43836 ac_cv_lib_dl_dlopen
=no
43839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43840 conftest
$ac_exeext conftest.
$ac_ext
43841 LIBS
=$ac_check_lib_save_LIBS
43843 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43844 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43845 if test $ac_cv_lib_dl_dlopen = yes; then
43847 cat >>confdefs.h
<<\_ACEOF
43848 #define HAVE_DLOPEN 1
43852 DL_LINK
=" -ldl$DL_LINK"
43857 for ac_func
in shl_load
43859 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43860 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43862 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43863 echo $ECHO_N "(cached) $ECHO_C" >&6
43865 cat >conftest.
$ac_ext <<_ACEOF
43868 cat confdefs.h
>>conftest.
$ac_ext
43869 cat >>conftest.
$ac_ext <<_ACEOF
43870 /* end confdefs.h. */
43871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43873 #define $ac_func innocuous_$ac_func
43875 /* System header to define __stub macros and hopefully few prototypes,
43876 which can conflict with char $ac_func (); below.
43877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43878 <limits.h> exists even on freestanding compilers. */
43881 # include <limits.h>
43883 # include <assert.h>
43888 /* Override any GCC internal prototype to avoid an error.
43889 Use char because int might match the return type of a GCC
43890 builtin and then its argument prototype would still apply. */
43895 /* The GNU C library defines this for functions which it implements
43896 to always fail with ENOSYS. Some functions are actually named
43897 something starting with __ and the normal name is an alias. */
43898 #if defined __stub_$ac_func || defined __stub___$ac_func
43905 return $ac_func ();
43910 rm -f conftest.
$ac_objext conftest
$ac_exeext
43911 if { (ac_try
="$ac_link"
43912 case "(($ac_try" in
43913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43914 *) ac_try_echo=$ac_try;;
43916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43917 (eval "$ac_link") 2>conftest.er1
43919 grep -v '^ *+' conftest.er1 >conftest.err
43921 cat conftest.err >&5
43922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); } && {
43924 test -z "$ac_c_werror_flag" ||
43925 test ! -s conftest.err
43926 } && test -s conftest$ac_exeext &&
43927 $as_test_x conftest$ac_exeext; then
43928 eval "$as_ac_var=yes"
43930 echo "$as_me: failed program was:" >&5
43931 sed 's/^/| /' conftest.$ac_ext >&5
43933 eval "$as_ac_var=no"
43936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43937 conftest$ac_exeext conftest.$ac_ext
43939 ac_res=`eval echo '${'$as_ac_var'}'`
43940 { echo "$as_me:$LINENO: result: $ac_res" >&5
43941 echo "${ECHO_T}$ac_res" >&6; }
43942 if test `eval echo '${'$as_ac_var'}'` = yes; then
43943 cat >>confdefs.h <<_ACEOF
43944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43947 cat >>confdefs.h <<\_ACEOF
43948 #define HAVE_SHL_LOAD 1
43955 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43956 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43957 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43958 echo $ECHO_N "(cached) $ECHO_C" >&6
43960 ac_check_lib_save_LIBS=$LIBS
43961 LIBS="-lshl_load $LIBS"
43962 cat >conftest.$ac_ext <<_ACEOF
43965 cat confdefs.h >>conftest.$ac_ext
43966 cat >>conftest.$ac_ext <<_ACEOF
43967 /* end confdefs.h. */
43969 /* Override any GCC internal prototype to avoid an error.
43970 Use char because int might match the return type of a GCC
43971 builtin and then its argument prototype would still apply. */
43984 rm -f conftest.$ac_objext conftest$ac_exeext
43985 if { (ac_try="$ac_link"
43986 case "(($ac_try" in
43987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43988 *) ac_try_echo
=$ac_try;;
43990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43991 (eval "$ac_link") 2>conftest.er1
43993 grep -v '^ *+' conftest.er1
>conftest.err
43995 cat conftest.err
>&5
43996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43997 (exit $ac_status); } && {
43998 test -z "$ac_c_werror_flag" ||
43999 test ! -s conftest.err
44000 } && test -s conftest
$ac_exeext &&
44001 $as_test_x conftest
$ac_exeext; then
44002 ac_cv_lib_shl_load_dld
=yes
44004 echo "$as_me: failed program was:" >&5
44005 sed 's/^/| /' conftest.
$ac_ext >&5
44007 ac_cv_lib_shl_load_dld
=no
44010 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44011 conftest
$ac_exeext conftest.
$ac_ext
44012 LIBS
=$ac_check_lib_save_LIBS
44014 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44015 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44016 if test $ac_cv_lib_shl_load_dld = yes; then
44019 DL_LINK
=" -ldld$DL_LINK"
44035 if test "$HAVE_DL_FUNCS" = 1; then
44037 for ac_func
in dlerror
44039 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44040 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44042 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44043 echo $ECHO_N "(cached) $ECHO_C" >&6
44045 cat >conftest.
$ac_ext <<_ACEOF
44048 cat confdefs.h
>>conftest.
$ac_ext
44049 cat >>conftest.
$ac_ext <<_ACEOF
44050 /* end confdefs.h. */
44051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44053 #define $ac_func innocuous_$ac_func
44055 /* System header to define __stub macros and hopefully few prototypes,
44056 which can conflict with char $ac_func (); below.
44057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44058 <limits.h> exists even on freestanding compilers. */
44061 # include <limits.h>
44063 # include <assert.h>
44068 /* Override any GCC internal prototype to avoid an error.
44069 Use char because int might match the return type of a GCC
44070 builtin and then its argument prototype would still apply. */
44075 /* The GNU C library defines this for functions which it implements
44076 to always fail with ENOSYS. Some functions are actually named
44077 something starting with __ and the normal name is an alias. */
44078 #if defined __stub_$ac_func || defined __stub___$ac_func
44085 return $ac_func ();
44090 rm -f conftest.
$ac_objext conftest
$ac_exeext
44091 if { (ac_try
="$ac_link"
44092 case "(($ac_try" in
44093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44094 *) ac_try_echo=$ac_try;;
44096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44097 (eval "$ac_link") 2>conftest.er1
44099 grep -v '^ *+' conftest.er1 >conftest.err
44101 cat conftest.err >&5
44102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44103 (exit $ac_status); } && {
44104 test -z "$ac_c_werror_flag" ||
44105 test ! -s conftest.err
44106 } && test -s conftest$ac_exeext &&
44107 $as_test_x conftest$ac_exeext; then
44108 eval "$as_ac_var=yes"
44110 echo "$as_me: failed program was:" >&5
44111 sed 's/^/| /' conftest.$ac_ext >&5
44113 eval "$as_ac_var=no"
44116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44117 conftest$ac_exeext conftest.$ac_ext
44119 ac_res=`eval echo '${'$as_ac_var'}'`
44120 { echo "$as_me:$LINENO: result: $ac_res" >&5
44121 echo "${ECHO_T}$ac_res" >&6; }
44122 if test `eval echo '${'$as_ac_var'}'` = yes; then
44123 cat >>confdefs.h <<_ACEOF
44124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44126 cat >>confdefs.h <<\_ACEOF
44127 #define HAVE_DLERROR 1
44132 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44133 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44134 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44135 echo $ECHO_N "(cached) $ECHO_C" >&6
44137 ac_check_lib_save_LIBS=$LIBS
44139 cat >conftest.$ac_ext <<_ACEOF
44142 cat confdefs.h >>conftest.$ac_ext
44143 cat >>conftest.$ac_ext <<_ACEOF
44144 /* end confdefs.h. */
44146 /* Override any GCC internal prototype to avoid an error.
44147 Use char because int might match the return type of a GCC
44148 builtin and then its argument prototype would still apply. */
44161 rm -f conftest.$ac_objext conftest$ac_exeext
44162 if { (ac_try="$ac_link"
44163 case "(($ac_try" in
44164 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44165 *) ac_try_echo
=$ac_try;;
44167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44168 (eval "$ac_link") 2>conftest.er1
44170 grep -v '^ *+' conftest.er1
>conftest.err
44172 cat conftest.err
>&5
44173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44174 (exit $ac_status); } && {
44175 test -z "$ac_c_werror_flag" ||
44176 test ! -s conftest.err
44177 } && test -s conftest
$ac_exeext &&
44178 $as_test_x conftest
$ac_exeext; then
44179 ac_cv_lib_dl_dlerror
=yes
44181 echo "$as_me: failed program was:" >&5
44182 sed 's/^/| /' conftest.
$ac_ext >&5
44184 ac_cv_lib_dl_dlerror
=no
44187 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44188 conftest
$ac_exeext conftest.
$ac_ext
44189 LIBS
=$ac_check_lib_save_LIBS
44191 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44192 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44193 if test $ac_cv_lib_dl_dlerror = yes; then
44194 cat >>confdefs.h
<<\_ACEOF
44195 #define HAVE_DLERROR 1
44208 if test "$HAVE_DL_FUNCS" = 0; then
44209 if test "$HAVE_SHL_FUNCS" = 0; then
44210 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44211 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44212 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44213 wxUSE_DYNAMIC_LOADER
=no
44214 wxUSE_DYNLIB_CLASS
=no
44216 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44217 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44224 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44225 cat >>confdefs.h
<<\_ACEOF
44226 #define wxUSE_DYNAMIC_LOADER 1
44230 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44231 cat >>confdefs.h
<<\_ACEOF
44232 #define wxUSE_DYNLIB_CLASS 1
44239 if test "$wxUSE_PLUGINS" = "yes" ; then
44240 if test "$wxUSE_SHARED" = "no" ; then
44241 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44242 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44245 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44246 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44247 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44250 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44251 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44252 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44255 if test "$wxUSE_PLUGINS" = "yes" ; then
44256 cat >>confdefs.h
<<\_ACEOF
44257 #define wxUSE_PLUGINS 1
44264 if test "$wxUSE_STL" = "yes"; then
44265 cat >>confdefs.h
<<\_ACEOF
44266 #define wxUSE_STL 1
44271 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44272 cat >>confdefs.h
<<\_ACEOF
44273 #define wxUSE_EXTENDED_RTTI 1
44278 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44279 cat >>confdefs.h
<<\_ACEOF
44280 #define wxUSE_APPLE_IEEE 1
44285 if test "$wxUSE_TIMER" = "yes"; then
44286 cat >>confdefs.h
<<\_ACEOF
44287 #define wxUSE_TIMER 1
44292 if test "$USE_UNIX" = "1" ; then
44293 if test "$wxUSE_MGL" != 1; then
44294 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44295 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44296 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44297 echo $ECHO_N "(cached) $ECHO_C" >&6
44300 cat >conftest.
$ac_ext <<_ACEOF
44303 cat confdefs.h
>>conftest.
$ac_ext
44304 cat >>conftest.
$ac_ext <<_ACEOF
44305 /* end confdefs.h. */
44307 #include <sys/ioctl.h>
44308 #include <sys/soundcard.h>
44314 ioctl(0, SNDCTL_DSP_SPEED, 0);
44320 rm -f conftest.
$ac_objext conftest
$ac_exeext
44321 if { (ac_try
="$ac_link"
44322 case "(($ac_try" in
44323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44324 *) ac_try_echo=$ac_try;;
44326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44327 (eval "$ac_link") 2>conftest.er1
44329 grep -v '^ *+' conftest.er1 >conftest.err
44331 cat conftest.err >&5
44332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44333 (exit $ac_status); } && {
44334 test -z "$ac_c_werror_flag" ||
44335 test ! -s conftest.err
44336 } && test -s conftest$ac_exeext &&
44337 $as_test_x conftest$ac_exeext; then
44338 ac_cv_header_sys_soundcard=yes
44340 echo "$as_me: failed program was:" >&5
44341 sed 's/^/| /' conftest.$ac_ext >&5
44345 LIBS="$saveLibs -lossaudio"
44346 cat >conftest.$ac_ext <<_ACEOF
44349 cat confdefs.h >>conftest.$ac_ext
44350 cat >>conftest.$ac_ext <<_ACEOF
44351 /* end confdefs.h. */
44353 #include <sys/ioctl.h>
44354 #include <sys/soundcard.h>
44360 ioctl(0, SNDCTL_DSP_SPEED, 0);
44366 rm -f conftest.$ac_objext conftest$ac_exeext
44367 if { (ac_try="$ac_link"
44368 case "(($ac_try" in
44369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44370 *) ac_try_echo
=$ac_try;;
44372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44373 (eval "$ac_link") 2>conftest.er1
44375 grep -v '^ *+' conftest.er1
>conftest.err
44377 cat conftest.err
>&5
44378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44379 (exit $ac_status); } && {
44380 test -z "$ac_c_werror_flag" ||
44381 test ! -s conftest.err
44382 } && test -s conftest
$ac_exeext &&
44383 $as_test_x conftest
$ac_exeext; then
44384 ac_cv_header_sys_soundcard
=yes
44386 echo "$as_me: failed program was:" >&5
44387 sed 's/^/| /' conftest.
$ac_ext >&5
44391 ac_cv_header_sys_soundcard
=no
44396 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44397 conftest
$ac_exeext conftest.
$ac_ext
44402 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44403 conftest
$ac_exeext conftest.
$ac_ext
44406 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44407 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44410 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44411 cat >>confdefs.h
<<\_ACEOF
44412 #define HAVE_SYS_SOUNDCARD_H 1
44419 if test "$wxUSE_SOUND" = "yes"; then
44420 if test "$USE_UNIX" = "1" ; then
44421 if test "$wxUSE_LIBSDL" != "no"; then
44423 # Check whether --with-sdl-prefix was given.
44424 if test "${with_sdl_prefix+set}" = set; then
44425 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
44431 # Check whether --with-sdl-exec-prefix was given.
44432 if test "${with_sdl_exec_prefix+set}" = set; then
44433 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
44438 # Check whether --enable-sdltest was given.
44439 if test "${enable_sdltest+set}" = set; then
44440 enableval
=$enable_sdltest;
44446 if test x
$sdl_exec_prefix != x
; then
44447 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
44448 if test x
${SDL_CONFIG+set} != xset
; then
44449 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
44452 if test x
$sdl_prefix != x
; then
44453 sdl_args
="$sdl_args --prefix=$sdl_prefix"
44454 if test x
${SDL_CONFIG+set} != xset
; then
44455 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
44459 if test "x$prefix" != xNONE
; then
44460 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
44462 # Extract the first word of "sdl-config", so it can be a program name with args.
44463 set dummy sdl
-config; ac_word
=$2
44464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44466 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44467 echo $ECHO_N "(cached) $ECHO_C" >&6
44469 case $SDL_CONFIG in
44471 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
44474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44475 for as_dir
in $PATH
44478 test -z "$as_dir" && as_dir
=.
44479 for ac_exec_ext
in '' $ac_executable_extensions; do
44480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44481 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44489 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
44493 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
44494 if test -n "$SDL_CONFIG"; then
44495 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44496 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44498 { echo "$as_me:$LINENO: result: no" >&5
44499 echo "${ECHO_T}no" >&6; }
44503 min_sdl_version
=1.2.0
44504 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44505 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44507 if test "$SDL_CONFIG" = "no" ; then
44510 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
44511 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
44513 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
44514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44515 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
44516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44517 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
44518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44519 if test "x$enable_sdltest" = "xyes" ; then
44520 ac_save_CFLAGS
="$CFLAGS"
44521 ac_save_CXXFLAGS
="$CXXFLAGS"
44522 ac_save_LIBS
="$LIBS"
44523 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44524 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44525 LIBS
="$LIBS $SDL_LIBS"
44527 if test "$cross_compiling" = yes; then
44528 echo $ac_n "cross compiling; assumed OK... $ac_c"
44530 cat >conftest.
$ac_ext <<_ACEOF
44533 cat confdefs.h
>>conftest.
$ac_ext
44534 cat >>conftest.
$ac_ext <<_ACEOF
44535 /* end confdefs.h. */
44538 #include <stdlib.h>
44539 #include <string.h>
44543 my_strdup (char *str)
44549 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44550 strcpy (new_str, str);
44558 int main (int argc, char *argv[])
44560 int major, minor, micro;
44563 /* This hangs on some systems (?)
44564 system ("touch conf.sdltest");
44566 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44568 /* HP/UX 9 (%@#!) writes to sscanf strings */
44569 tmp_version = my_strdup("$min_sdl_version");
44570 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44571 printf("%s, bad version string\n", "$min_sdl_version");
44575 if (($sdl_major_version > major) ||
44576 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44577 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44583 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44584 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44585 printf("*** best to upgrade to the required version.\n");
44586 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44587 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44588 printf("*** config.cache before re-running configure\n");
44595 rm -f conftest
$ac_exeext
44596 if { (ac_try
="$ac_link"
44597 case "(($ac_try" in
44598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44599 *) ac_try_echo=$ac_try;;
44601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44602 (eval "$ac_link") 2>&5
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44606 { (case "(($ac_try" in
44607 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44608 *) ac_try_echo
=$ac_try;;
44610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44611 (eval "$ac_try") 2>&5
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); }; }; then
44617 echo "$as_me: program exited with status $ac_status" >&5
44618 echo "$as_me: failed program was:" >&5
44619 sed 's/^/| /' conftest.
$ac_ext >&5
44621 ( exit $ac_status )
44624 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
44628 CFLAGS
="$ac_save_CFLAGS"
44629 CXXFLAGS
="$ac_save_CXXFLAGS"
44630 LIBS
="$ac_save_LIBS"
44633 if test "x$no_sdl" = x
; then
44634 { echo "$as_me:$LINENO: result: yes" >&5
44635 echo "${ECHO_T}yes" >&6; }
44637 EXTRALIBS_SDL
="$SDL_LIBS"
44638 CFLAGS
="$SDL_CFLAGS $CFLAGS"
44639 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
44640 cat >>confdefs.h
<<\_ACEOF
44641 #define wxUSE_LIBSDL 1
44646 { echo "$as_me:$LINENO: result: no" >&5
44647 echo "${ECHO_T}no" >&6; }
44648 if test "$SDL_CONFIG" = "no" ; then
44649 echo "*** The sdl-config script installed by SDL could not be found"
44650 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44651 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44652 echo "*** full path to sdl-config."
44654 if test -f conf.sdltest
; then
44657 echo "*** Could not run SDL test program, checking why..."
44658 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44659 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44660 LIBS
="$LIBS $SDL_LIBS"
44661 cat >conftest.
$ac_ext <<_ACEOF
44664 cat confdefs.h
>>conftest.
$ac_ext
44665 cat >>conftest.
$ac_ext <<_ACEOF
44666 /* end confdefs.h. */
44671 int main(int argc, char *argv[])
44674 #define main K_and_R_C_main
44684 rm -f conftest.
$ac_objext conftest
$ac_exeext
44685 if { (ac_try
="$ac_link"
44686 case "(($ac_try" in
44687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44688 *) ac_try_echo=$ac_try;;
44690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44691 (eval "$ac_link") 2>conftest.er1
44693 grep -v '^ *+' conftest.er1 >conftest.err
44695 cat conftest.err >&5
44696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44697 (exit $ac_status); } && {
44698 test -z "$ac_c_werror_flag" ||
44699 test ! -s conftest.err
44700 } && test -s conftest$ac_exeext &&
44701 $as_test_x conftest$ac_exeext; then
44702 echo "*** The test program compiled, but did not run. This usually means"
44703 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44704 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44705 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44706 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44707 echo "*** is required on your system"
44709 echo "*** If you have an old version installed, it is best to remove it, although"
44710 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44712 echo "$as_me: failed program was:" >&5
44713 sed 's/^/| /' conftest.$ac_ext >&5
44715 echo "*** The test program failed to compile or link. See the file config.log for the"
44716 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44717 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44718 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44722 conftest$ac_exeext conftest.$ac_ext
44723 CFLAGS="$ac_save_CFLAGS"
44724 CXXFLAGS="$ac_save_CXXFLAGS"
44725 LIBS="$ac_save_LIBS"
44736 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44741 if test "$wxUSE_MGL" = 1; then
44742 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44743 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44749 if test "$wxUSE_SOUND" = "yes"; then
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_SOUND 1
44754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44757 if test "$WXGTK2" = 1; then
44760 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44761 if test -n "$ac_tool_prefix"; then
44762 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44763 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44766 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44767 echo $ECHO_N "(cached) $ECHO_C" >&6
44769 case $PKG_CONFIG in
44771 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44775 for as_dir in $PATH
44778 test -z "$as_dir" && as_dir=.
44779 for ac_exec_ext in '' $ac_executable_extensions; do
44780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44781 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44792 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44793 if test -n "$PKG_CONFIG"; then
44794 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44795 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44797 { echo "$as_me:$LINENO: result: no" >&5
44798 echo "${ECHO_T}no" >&6; }
44803 if test -z "$ac_cv_path_PKG_CONFIG"; then
44804 ac_pt_PKG_CONFIG=$PKG_CONFIG
44805 # Extract the first word of "pkg-config", so it can be a program name with args.
44806 set dummy pkg-config; ac_word=$2
44807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44809 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44810 echo $ECHO_N "(cached) $ECHO_C" >&6
44812 case $ac_pt_PKG_CONFIG in
44814 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44818 for as_dir in $PATH
44821 test -z "$as_dir" && as_dir=.
44822 for ac_exec_ext in '' $ac_executable_extensions; do
44823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44824 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44835 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44836 if test -n "$ac_pt_PKG_CONFIG"; then
44837 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44838 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44840 { echo "$as_me:$LINENO: result: no" >&5
44841 echo "${ECHO_T}no" >&6; }
44844 if test "x$ac_pt_PKG_CONFIG" = x; then
44847 case $cross_compiling:$ac_tool_warned in
44849 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44850 whose name does not start with the host triplet. If you think this
44851 configuration is useful to you, please write to autoconf@gnu.org." >&5
44852 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44853 whose name does not start with the host triplet. If you think this
44854 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44855 ac_tool_warned=yes ;;
44857 PKG_CONFIG=$ac_pt_PKG_CONFIG
44860 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44864 if test -n "$PKG_CONFIG"; then
44865 _pkg_min_version=0.9.0
44866 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44867 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44868 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44869 { echo "$as_me:$LINENO: result: yes" >&5
44870 echo "${ECHO_T}yes" >&6; }
44872 { echo "$as_me:$LINENO: result: no" >&5
44873 echo "${ECHO_T}no" >&6; }
44879 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44881 if test "$wxUSE_GTKPRINT" = "yes" ; then
44885 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44886 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44888 if test -n "$PKG_CONFIG"; then
44889 if test -n "$GTKPRINT_CFLAGS"; then
44890 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44892 if test -n "$PKG_CONFIG" && \
44893 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44894 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44897 (exit $ac_status); }; then
44898 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44906 if test -n "$PKG_CONFIG"; then
44907 if test -n "$GTKPRINT_LIBS"; then
44908 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44910 if test -n "$PKG_CONFIG" && \
44911 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44912 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44915 (exit $ac_status); }; then
44916 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44927 if test $pkg_failed = yes; then
44929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44930 _pkg_short_errors_supported=yes
44932 _pkg_short_errors_supported=no
44934 if test $_pkg_short_errors_supported = yes; then
44935 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44937 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44939 # Put the nasty error message in config.log where it belongs
44940 echo "$GTKPRINT_PKG_ERRORS" >&5
44943 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44944 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44945 wxUSE_GTKPRINT="no"
44948 elif test $pkg_failed = untried; then
44950 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44951 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44952 wxUSE_GTKPRINT="no"
44956 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44957 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44958 { echo "$as_me:$LINENO: result: yes" >&5
44959 echo "${ECHO_T}yes" >&6; }
44961 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44962 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44963 cat >>confdefs.h <<\_ACEOF
44964 #define wxUSE_GTKPRINT 1
44971 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44975 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44976 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44978 if test -n "$PKG_CONFIG"; then
44979 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44980 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44982 if test -n "$PKG_CONFIG" && \
44983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44984 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987 (exit $ac_status); }; then
44988 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
44996 if test -n "$PKG_CONFIG"; then
44997 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44998 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45000 if test -n "$PKG_CONFIG" && \
45001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45002 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45005 (exit $ac_status); }; then
45006 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45017 if test $pkg_failed = yes; then
45019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45020 _pkg_short_errors_supported=yes
45022 _pkg_short_errors_supported=no
45024 if test $_pkg_short_errors_supported = yes; then
45025 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45027 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45029 # Put the nasty error message in config.log where it belongs
45030 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45033 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45034 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45035 wxUSE_LIBGNOMEPRINT="no"
45038 elif test $pkg_failed = untried; then
45040 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45041 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45042 wxUSE_LIBGNOMEPRINT="no"
45046 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45047 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45048 { echo "$as_me:$LINENO: result: yes" >&5
45049 echo "${ECHO_T}yes" >&6; }
45051 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45052 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_LIBGNOMEPRINT 1
45062 if test "$wxUSE_MIMETYPE" = "yes" ; then
45063 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45067 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45068 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45070 if test -n "$PKG_CONFIG"; then
45071 if test -n "$GNOMEVFS_CFLAGS"; then
45072 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45074 if test -n "$PKG_CONFIG" && \
45075 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45076 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; then
45080 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45088 if test -n "$PKG_CONFIG"; then
45089 if test -n "$GNOMEVFS_LIBS"; then
45090 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45092 if test -n "$PKG_CONFIG" && \
45093 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45094 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45097 (exit $ac_status); }; then
45098 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45109 if test $pkg_failed = yes; then
45111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45112 _pkg_short_errors_supported=yes
45114 _pkg_short_errors_supported=no
45116 if test $_pkg_short_errors_supported = yes; then
45117 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45119 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45121 # Put the nasty error message in config.log where it belongs
45122 echo "$GNOMEVFS_PKG_ERRORS" >&5
45125 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45126 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45127 wxUSE_LIBGNOMEVFS="no"
45130 elif test $pkg_failed = untried; then
45132 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45133 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45134 wxUSE_LIBGNOMEVFS="no"
45138 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45139 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45140 { echo "$as_me:$LINENO: result: yes" >&5
45141 echo "${ECHO_T}yes" >&6; }
45143 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45144 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_LIBGNOMEVFS 1
45154 if test "$wxUSE_LIBHILDON" = "yes" ; then
45157 { echo "$as_me:$LINENO: checking for HILDON" >&5
45158 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45160 if test -n "$PKG_CONFIG"; then
45161 if test -n "$HILDON_CFLAGS"; then
45162 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45164 if test -n "$PKG_CONFIG" && \
45165 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45166 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45169 (exit $ac_status); }; then
45170 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
45178 if test -n "$PKG_CONFIG"; then
45179 if test -n "$HILDON_LIBS"; then
45180 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45182 if test -n "$PKG_CONFIG" && \
45183 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45184 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187 (exit $ac_status); }; then
45188 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
45199 if test $pkg_failed = yes; then
45201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45202 _pkg_short_errors_supported=yes
45204 _pkg_short_errors_supported=no
45206 if test $_pkg_short_errors_supported = yes; then
45207 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45209 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45211 # Put the nasty error message in config.log where it belongs
45212 echo "$HILDON_PKG_ERRORS" >&5
45215 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45216 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45217 wxUSE_LIBHILDON="no"
45220 elif test $pkg_failed = untried; then
45222 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45223 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45224 wxUSE_LIBHILDON="no"
45228 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45229 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45230 { echo "$as_me:$LINENO: result: yes" >&5
45231 echo "${ECHO_T}yes" >&6; }
45233 EXTRALIBS_HILDON="$HILDON_LIBS"
45234 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45235 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45236 cat >>confdefs.h <<\_ACEOF
45237 #define wxUSE_LIBHILDON 1
45245 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45246 cat >>confdefs.h <<\_ACEOF
45247 #define wxUSE_CMDLINE_PARSER 1
45252 if test "$wxUSE_STOPWATCH" = "yes"; then
45253 cat >>confdefs.h <<\_ACEOF
45254 #define wxUSE_STOPWATCH 1
45259 if test "$wxUSE_DATETIME" = "yes"; then
45260 cat >>confdefs.h <<\_ACEOF
45261 #define wxUSE_DATETIME 1
45266 if test "$wxUSE_FILE" = "yes"; then
45267 cat >>confdefs.h <<\_ACEOF
45268 #define wxUSE_FILE 1
45273 if test "$wxUSE_FFILE" = "yes"; then
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_FFILE 1
45280 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45281 if test "$wxUSE_STREAMS" != yes; then
45282 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45283 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45284 wxUSE_ARCHIVE_STREAMS=no
45286 cat >>confdefs.h <<\_ACEOF
45287 #define wxUSE_ARCHIVE_STREAMS 1
45293 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45294 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45295 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45296 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45297 elif test "$wxUSE_ZLIB" = "no"; then
45298 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45299 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_ZIPSTREAM 1
45308 if test "$wxUSE_TARSTREAM" = "yes"; then
45309 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45310 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45311 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45313 cat >>confdefs.h <<\_ACEOF
45314 #define wxUSE_TARSTREAM 1
45320 if test "$wxUSE_FILESYSTEM" = "yes"; then
45321 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45322 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45323 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45324 wxUSE_FILESYSTEM=no
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_FILESYSTEM 1
45333 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45334 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45335 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45336 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_FS_ARCHIVE 1
45345 if test "$wxUSE_FS_ZIP" = "yes"; then
45346 if test "$wxUSE_FS_ARCHIVE" != yes; then
45347 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45348 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_FS_ZIP 1
45357 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45358 if test "$USE_UNIX" != 1; then
45359 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45360 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45361 wxUSE_ON_FATAL_EXCEPTION=no
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_ON_FATAL_EXCEPTION 1
45370 if test "$wxUSE_STACKWALKER" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_STACKWALKER 1
45377 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45378 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45379 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45380 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45381 wxUSE_DEBUGREPORT=no
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_DEBUGREPORT 1
45387 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45393 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_SNGLINST_CHECKER 1
45400 if test "$wxUSE_BUSYINFO" = "yes"; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_BUSYINFO 1
45407 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_STD_IOSTREAM 1
45414 if test "$wxUSE_STD_STRING" = "yes"; then
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_STD_STRING 1
45421 if test "$wxUSE_STDPATHS" = "yes"; then
45422 cat >>confdefs.h <<\_ACEOF
45423 #define wxUSE_STDPATHS 1
45428 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45429 cat >>confdefs.h <<\_ACEOF
45430 #define wxUSE_TEXTBUFFER 1
45435 if test "$wxUSE_TEXTFILE" = "yes"; then
45436 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45437 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45438 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_TEXTFILE 1
45447 if test "$wxUSE_CONFIG" = "yes" ; then
45448 if test "$wxUSE_TEXTFILE" != "yes"; then
45449 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45450 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45452 cat >>confdefs.h <<\_ACEOF
45453 #define wxUSE_CONFIG 1
45456 cat >>confdefs.h <<\_ACEOF
45457 #define wxUSE_CONFIG_NATIVE 1
45460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45464 if test "$wxUSE_INTL" = "yes" ; then
45465 if test "$wxUSE_FILE" != "yes"; then
45466 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45467 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45469 cat >>confdefs.h <<\_ACEOF
45470 #define wxUSE_INTL 1
45473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45474 GUIDIST="$GUIDIST INTL_DIST"
45478 if test "$wxUSE_LOG" = "yes"; then
45479 cat >>confdefs.h <<\_ACEOF
45480 #define wxUSE_LOG 1
45484 if test "$wxUSE_LOGGUI" = "yes"; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_LOGGUI 1
45491 if test "$wxUSE_LOGWINDOW" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_LOGWINDOW 1
45498 if test "$wxUSE_LOGDIALOG" = "yes"; then
45499 cat >>confdefs.h <<\_ACEOF
45500 #define wxUSE_LOG_DIALOG 1
45505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45508 if test "$wxUSE_LONGLONG" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_LONGLONG 1
45515 if test "$wxUSE_GEOMETRY" = "yes"; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_GEOMETRY 1
45522 if test "$wxUSE_BASE64" = "yes"; then
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_BASE64 1
45529 if test "$wxUSE_STREAMS" = "yes" ; then
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_STREAMS 1
45536 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_PRINTF_POS_PARAMS 1
45543 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_OBJC_UNIQUIFYING 1
45551 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_CONSOLE_EVENTLOOP 1
45557 if test "$wxUSE_UNIX" = "yes"; then
45558 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_SELECT_DISPATCHER 1
45565 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45567 for ac_header in sys/epoll.h
45569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45573 echo $ECHO_N "(cached) $ECHO_C" >&6
45575 cat >conftest.$ac_ext <<_ACEOF
45578 cat confdefs.h >>conftest.$ac_ext
45579 cat >>conftest.$ac_ext <<_ACEOF
45580 /* end confdefs.h. */
45581 $ac_includes_default
45583 #include <$ac_header>
45585 rm -f conftest.$ac_objext
45586 if { (ac_try="$ac_compile"
45587 case "(($ac_try" in
45588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45589 *) ac_try_echo
=$ac_try;;
45591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45592 (eval "$ac_compile") 2>conftest.er1
45594 grep -v '^ *+' conftest.er1
>conftest.err
45596 cat conftest.err
>&5
45597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45598 (exit $ac_status); } && {
45599 test -z "$ac_c_werror_flag" ||
45600 test ! -s conftest.err
45601 } && test -s conftest.
$ac_objext; then
45602 eval "$as_ac_Header=yes"
45604 echo "$as_me: failed program was:" >&5
45605 sed 's/^/| /' conftest.
$ac_ext >&5
45607 eval "$as_ac_Header=no"
45610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45612 ac_res
=`eval echo '${'$as_ac_Header'}'`
45613 { echo "$as_me:$LINENO: result: $ac_res" >&5
45614 echo "${ECHO_T}$ac_res" >&6; }
45615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45616 cat >>confdefs.h
<<_ACEOF
45617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45624 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45625 cat >>confdefs.h
<<\_ACEOF
45626 #define wxUSE_EPOLL_DISPATCHER 1
45630 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45631 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45640 for ac_func
in gettimeofday ftime
45642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45643 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45645 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45646 echo $ECHO_N "(cached) $ECHO_C" >&6
45648 cat >conftest.
$ac_ext <<_ACEOF
45651 cat confdefs.h
>>conftest.
$ac_ext
45652 cat >>conftest.
$ac_ext <<_ACEOF
45653 /* end confdefs.h. */
45654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45656 #define $ac_func innocuous_$ac_func
45658 /* System header to define __stub macros and hopefully few prototypes,
45659 which can conflict with char $ac_func (); below.
45660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45661 <limits.h> exists even on freestanding compilers. */
45664 # include <limits.h>
45666 # include <assert.h>
45671 /* Override any GCC internal prototype to avoid an error.
45672 Use char because int might match the return type of a GCC
45673 builtin and then its argument prototype would still apply. */
45678 /* The GNU C library defines this for functions which it implements
45679 to always fail with ENOSYS. Some functions are actually named
45680 something starting with __ and the normal name is an alias. */
45681 #if defined __stub_$ac_func || defined __stub___$ac_func
45688 return $ac_func ();
45693 rm -f conftest.
$ac_objext conftest
$ac_exeext
45694 if { (ac_try
="$ac_link"
45695 case "(($ac_try" in
45696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45697 *) ac_try_echo=$ac_try;;
45699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45700 (eval "$ac_link") 2>conftest.er1
45702 grep -v '^ *+' conftest.er1 >conftest.err
45704 cat conftest.err >&5
45705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45706 (exit $ac_status); } && {
45707 test -z "$ac_c_werror_flag" ||
45708 test ! -s conftest.err
45709 } && test -s conftest$ac_exeext &&
45710 $as_test_x conftest$ac_exeext; then
45711 eval "$as_ac_var=yes"
45713 echo "$as_me: failed program was:" >&5
45714 sed 's/^/| /' conftest.$ac_ext >&5
45716 eval "$as_ac_var=no"
45719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45720 conftest$ac_exeext conftest.$ac_ext
45722 ac_res=`eval echo '${'$as_ac_var'}'`
45723 { echo "$as_me:$LINENO: result: $ac_res" >&5
45724 echo "${ECHO_T}$ac_res" >&6; }
45725 if test `eval echo '${'$as_ac_var'}'` = yes; then
45726 cat >>confdefs.h <<_ACEOF
45727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45734 if test "$ac_cv_func_gettimeofday" = "yes"; then
45735 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45736 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45737 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45738 echo $ECHO_N "(cached) $ECHO_C" >&6
45741 cat >conftest.$ac_ext <<_ACEOF
45744 cat confdefs.h >>conftest.$ac_ext
45745 cat >>conftest.$ac_ext <<_ACEOF
45746 /* end confdefs.h. */
45748 #include <sys/time.h>
45749 #include <unistd.h>
45756 gettimeofday(&tv, NULL);
45762 rm -f conftest.$ac_objext
45763 if { (ac_try="$ac_compile"
45764 case "(($ac_try" in
45765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45766 *) ac_try_echo
=$ac_try;;
45768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45769 (eval "$ac_compile") 2>conftest.er1
45771 grep -v '^ *+' conftest.er1
>conftest.err
45773 cat conftest.err
>&5
45774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45775 (exit $ac_status); } && {
45776 test -z "$ac_c_werror_flag" ||
45777 test ! -s conftest.err
45778 } && test -s conftest.
$ac_objext; then
45779 wx_cv_func_gettimeofday_has_2_args
=yes
45781 echo "$as_me: failed program was:" >&5
45782 sed 's/^/| /' conftest.
$ac_ext >&5
45784 cat >conftest.
$ac_ext <<_ACEOF
45787 cat confdefs.h
>>conftest.
$ac_ext
45788 cat >>conftest.
$ac_ext <<_ACEOF
45789 /* end confdefs.h. */
45791 #include <sys/time.h>
45792 #include <unistd.h>
45805 rm -f conftest.
$ac_objext
45806 if { (ac_try
="$ac_compile"
45807 case "(($ac_try" in
45808 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45809 *) ac_try_echo=$ac_try;;
45811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45812 (eval "$ac_compile") 2>conftest.er1
45814 grep -v '^ *+' conftest.er1 >conftest.err
45816 cat conftest.err >&5
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); } && {
45819 test -z "$ac_c_werror_flag" ||
45820 test ! -s conftest.err
45821 } && test -s conftest.$ac_objext; then
45822 wx_cv_func_gettimeofday_has_2_args=no
45824 echo "$as_me: failed program was:" >&5
45825 sed 's/^/| /' conftest.$ac_ext >&5
45828 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45829 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45830 wx_cv_func_gettimeofday_has_2_args=unknown
45835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45842 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45843 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45845 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45846 cat >>confdefs.h <<\_ACEOF
45847 #define WX_GETTIMEOFDAY_NO_TZ 1
45853 if test "$wxUSE_DATETIME" = "yes"; then
45854 { echo "$as_me:$LINENO: checking for strptime" >&5
45855 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45856 if test "${ac_cv_func_strptime+set}" = set; then
45857 echo $ECHO_N "(cached) $ECHO_C" >&6
45859 cat >conftest.$ac_ext <<_ACEOF
45862 cat confdefs.h >>conftest.$ac_ext
45863 cat >>conftest.$ac_ext <<_ACEOF
45864 /* end confdefs.h. */
45865 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45867 #define strptime innocuous_strptime
45869 /* System header to define __stub macros and hopefully few prototypes,
45870 which can conflict with char strptime (); below.
45871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45872 <limits.h> exists even on freestanding compilers. */
45875 # include <limits.h>
45877 # include <assert.h>
45882 /* Override any GCC internal prototype to avoid an error.
45883 Use char because int might match the return type of a GCC
45884 builtin and then its argument prototype would still apply. */
45889 /* The GNU C library defines this for functions which it implements
45890 to always fail with ENOSYS. Some functions are actually named
45891 something starting with __ and the normal name is an alias. */
45892 #if defined __stub_strptime || defined __stub___strptime
45899 return strptime ();
45904 rm -f conftest.$ac_objext conftest$ac_exeext
45905 if { (ac_try="$ac_link"
45906 case "(($ac_try" in
45907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45908 *) ac_try_echo
=$ac_try;;
45910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45911 (eval "$ac_link") 2>conftest.er1
45913 grep -v '^ *+' conftest.er1
>conftest.err
45915 cat conftest.err
>&5
45916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45917 (exit $ac_status); } && {
45918 test -z "$ac_c_werror_flag" ||
45919 test ! -s conftest.err
45920 } && test -s conftest
$ac_exeext &&
45921 $as_test_x conftest
$ac_exeext; then
45922 ac_cv_func_strptime
=yes
45924 echo "$as_me: failed program was:" >&5
45925 sed 's/^/| /' conftest.
$ac_ext >&5
45927 ac_cv_func_strptime
=no
45930 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45931 conftest
$ac_exeext conftest.
$ac_ext
45933 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45934 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45936 if test "$ac_cv_func_strptime" = "yes"; then
45937 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45938 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45939 if test "${wx_cv_func_strptime_decl+set}" = set; then
45940 echo $ECHO_N "(cached) $ECHO_C" >&6
45944 ac_cpp
='$CXXCPP $CPPFLAGS'
45945 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45949 cat >conftest.
$ac_ext <<_ACEOF
45952 cat confdefs.h
>>conftest.
$ac_ext
45953 cat >>conftest.
$ac_ext <<_ACEOF
45954 /* end confdefs.h. */
45963 strptime("foo", "bar", &t);
45969 rm -f conftest.
$ac_objext
45970 if { (ac_try
="$ac_compile"
45971 case "(($ac_try" in
45972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45973 *) ac_try_echo=$ac_try;;
45975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45976 (eval "$ac_compile") 2>conftest.er1
45978 grep -v '^ *+' conftest.er1 >conftest.err
45980 cat conftest.err >&5
45981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45982 (exit $ac_status); } && {
45983 test -z "$ac_cxx_werror_flag" ||
45984 test ! -s conftest.err
45985 } && test -s conftest.$ac_objext; then
45986 wx_cv_func_strptime_decl=yes
45988 echo "$as_me: failed program was:" >&5
45989 sed 's/^/| /' conftest.$ac_ext >&5
45991 wx_cv_func_strptime_decl=no
45995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45997 ac_cpp='$CPP $CPPFLAGS'
45998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46005 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46006 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46008 if test "$wx_cv_func_strptime_decl" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define HAVE_STRPTIME_DECL 1
46014 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46016 if test "$ac_cv_func_strptime" = "yes"; then
46017 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46018 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46019 if test "${wx_cv_func_strptime_ok+set}" = set; then
46020 echo $ECHO_N "(cached) $ECHO_C" >&6
46022 if test "$cross_compiling" = yes; then
46023 wx_cv_func_strptime_ok=no
46026 cat >conftest.$ac_ext <<_ACEOF
46028 #include <stdlib.h>
46030 #include "confdefs.h"
46037 return !!strptime("", "%x", &t);
46041 rm -f conftest$ac_exeext
46042 if { (ac_try="$ac_link"
46043 case "(($ac_try" in
46044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46045 *) ac_try_echo
=$ac_try;;
46047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46048 (eval "$ac_link") 2>&5
46050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46051 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46052 { (case "(($ac_try" in
46053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46054 *) ac_try_echo=$ac_try;;
46056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46057 (eval "$ac_try") 2>&5
46059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46060 (exit $ac_status); }; }; then
46061 wx_cv_func_strptime_ok=yes
46063 echo "$as_me: program exited with status $ac_status" >&5
46064 echo "$as_me: failed program was:" >&5
46065 sed 's/^/| /' conftest.$ac_ext >&5
46067 ( exit $ac_status )
46068 wx_cv_func_strptime_ok=no
46070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46076 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46077 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46079 if test "$wx_cv_func_strptime_ok" = "yes"; then
46080 cat >>confdefs.h <<\_ACEOF
46081 #define HAVE_STRPTIME 1
46087 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46088 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46089 if test "${wx_cv_var_timezone+set}" = set; then
46090 echo $ECHO_N "(cached) $ECHO_C" >&6
46094 ac_cpp='$CXXCPP $CPPFLAGS'
46095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46099 cat >conftest.$ac_ext <<_ACEOF
46102 cat confdefs.h >>conftest.$ac_ext
46103 cat >>conftest.$ac_ext <<_ACEOF
46104 /* end confdefs.h. */
46119 rm -f conftest.$ac_objext
46120 if { (ac_try="$ac_compile"
46121 case "(($ac_try" in
46122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46123 *) ac_try_echo
=$ac_try;;
46125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46126 (eval "$ac_compile") 2>conftest.er1
46128 grep -v '^ *+' conftest.er1
>conftest.err
46130 cat conftest.err
>&5
46131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46132 (exit $ac_status); } && {
46133 test -z "$ac_cxx_werror_flag" ||
46134 test ! -s conftest.err
46135 } && test -s conftest.
$ac_objext; then
46137 wx_cv_var_timezone
=timezone
46140 echo "$as_me: failed program was:" >&5
46141 sed 's/^/| /' conftest.
$ac_ext >&5
46144 cat >conftest.
$ac_ext <<_ACEOF
46147 cat confdefs.h
>>conftest.
$ac_ext
46148 cat >>conftest.
$ac_ext <<_ACEOF
46149 /* end confdefs.h. */
46164 rm -f conftest.
$ac_objext
46165 if { (ac_try
="$ac_compile"
46166 case "(($ac_try" in
46167 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46168 *) ac_try_echo=$ac_try;;
46170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46171 (eval "$ac_compile") 2>conftest.er1
46173 grep -v '^ *+' conftest.er1 >conftest.err
46175 cat conftest.err >&5
46176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46177 (exit $ac_status); } && {
46178 test -z "$ac_cxx_werror_flag" ||
46179 test ! -s conftest.err
46180 } && test -s conftest.$ac_objext; then
46182 wx_cv_var_timezone=_timezone
46185 echo "$as_me: failed program was:" >&5
46186 sed 's/^/| /' conftest.$ac_ext >&5
46189 cat >conftest.$ac_ext <<_ACEOF
46192 cat confdefs.h >>conftest.$ac_ext
46193 cat >>conftest.$ac_ext <<_ACEOF
46194 /* end confdefs.h. */
46209 rm -f conftest.$ac_objext
46210 if { (ac_try="$ac_compile"
46211 case "(($ac_try" in
46212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46213 *) ac_try_echo
=$ac_try;;
46215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46216 (eval "$ac_compile") 2>conftest.er1
46218 grep -v '^ *+' conftest.er1
>conftest.err
46220 cat conftest.err
>&5
46221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222 (exit $ac_status); } && {
46223 test -z "$ac_cxx_werror_flag" ||
46224 test ! -s conftest.err
46225 } && test -s conftest.
$ac_objext; then
46227 wx_cv_var_timezone
=__timezone
46230 echo "$as_me: failed program was:" >&5
46231 sed 's/^/| /' conftest.
$ac_ext >&5
46234 if test "$USE_DOS" = 0 ; then
46235 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46236 echo "$as_me: WARNING: no timezone variable" >&2;}
46242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46254 ac_cpp
='$CPP $CPPFLAGS'
46255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46262 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46263 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46265 if test "x$wx_cv_var_timezone" != x
; then
46266 cat >>confdefs.h
<<_ACEOF
46267 #define WX_TIMEZONE $wx_cv_var_timezone
46273 for ac_func
in localtime
46275 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46276 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46278 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46279 echo $ECHO_N "(cached) $ECHO_C" >&6
46281 cat >conftest.
$ac_ext <<_ACEOF
46284 cat confdefs.h
>>conftest.
$ac_ext
46285 cat >>conftest.
$ac_ext <<_ACEOF
46286 /* end confdefs.h. */
46287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46289 #define $ac_func innocuous_$ac_func
46291 /* System header to define __stub macros and hopefully few prototypes,
46292 which can conflict with char $ac_func (); below.
46293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46294 <limits.h> exists even on freestanding compilers. */
46297 # include <limits.h>
46299 # include <assert.h>
46304 /* Override any GCC internal prototype to avoid an error.
46305 Use char because int might match the return type of a GCC
46306 builtin and then its argument prototype would still apply. */
46311 /* The GNU C library defines this for functions which it implements
46312 to always fail with ENOSYS. Some functions are actually named
46313 something starting with __ and the normal name is an alias. */
46314 #if defined __stub_$ac_func || defined __stub___$ac_func
46321 return $ac_func ();
46326 rm -f conftest.
$ac_objext conftest
$ac_exeext
46327 if { (ac_try
="$ac_link"
46328 case "(($ac_try" in
46329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46330 *) ac_try_echo=$ac_try;;
46332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46333 (eval "$ac_link") 2>conftest.er1
46335 grep -v '^ *+' conftest.er1 >conftest.err
46337 cat conftest.err >&5
46338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46339 (exit $ac_status); } && {
46340 test -z "$ac_c_werror_flag" ||
46341 test ! -s conftest.err
46342 } && test -s conftest$ac_exeext &&
46343 $as_test_x conftest$ac_exeext; then
46344 eval "$as_ac_var=yes"
46346 echo "$as_me: failed program was:" >&5
46347 sed 's/^/| /' conftest.$ac_ext >&5
46349 eval "$as_ac_var=no"
46352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46353 conftest$ac_exeext conftest.$ac_ext
46355 ac_res=`eval echo '${'$as_ac_var'}'`
46356 { echo "$as_me:$LINENO: result: $ac_res" >&5
46357 echo "${ECHO_T}$ac_res" >&6; }
46358 if test `eval echo '${'$as_ac_var'}'` = yes; then
46359 cat >>confdefs.h <<_ACEOF
46360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46367 if test "$ac_cv_func_localtime" = "yes"; then
46368 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46369 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46370 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46371 echo $ECHO_N "(cached) $ECHO_C" >&6
46374 cat >conftest.$ac_ext <<_ACEOF
46377 cat confdefs.h >>conftest.$ac_ext
46378 cat >>conftest.$ac_ext <<_ACEOF
46379 /* end confdefs.h. */
46394 rm -f conftest.$ac_objext
46395 if { (ac_try="$ac_compile"
46396 case "(($ac_try" in
46397 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46398 *) ac_try_echo
=$ac_try;;
46400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46401 (eval "$ac_compile") 2>conftest.er1
46403 grep -v '^ *+' conftest.er1
>conftest.err
46405 cat conftest.err
>&5
46406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46407 (exit $ac_status); } && {
46408 test -z "$ac_c_werror_flag" ||
46409 test ! -s conftest.err
46410 } && test -s conftest.
$ac_objext; then
46412 wx_cv_struct_tm_has_gmtoff
=yes
46415 echo "$as_me: failed program was:" >&5
46416 sed 's/^/| /' conftest.
$ac_ext >&5
46418 wx_cv_struct_tm_has_gmtoff
=no
46422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46425 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46426 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46429 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46430 cat >>confdefs.h
<<\_ACEOF
46431 #define WX_GMTOFF_IN_TM 1
46436 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46440 if test "$wxUSE_SOCKETS" = "yes"; then
46441 if test "$wxUSE_MGL" = "1"; then
46442 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46443 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46448 if test "$wxUSE_SOCKETS" = "yes"; then
46449 if test "$TOOLKIT" != "MSW"; then
46450 { echo "$as_me:$LINENO: checking for socket" >&5
46451 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46452 if test "${ac_cv_func_socket+set}" = set; then
46453 echo $ECHO_N "(cached) $ECHO_C" >&6
46455 cat >conftest.
$ac_ext <<_ACEOF
46458 cat confdefs.h
>>conftest.
$ac_ext
46459 cat >>conftest.
$ac_ext <<_ACEOF
46460 /* end confdefs.h. */
46461 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46463 #define socket innocuous_socket
46465 /* System header to define __stub macros and hopefully few prototypes,
46466 which can conflict with char socket (); below.
46467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46468 <limits.h> exists even on freestanding compilers. */
46471 # include <limits.h>
46473 # include <assert.h>
46478 /* Override any GCC internal prototype to avoid an error.
46479 Use char because int might match the return type of a GCC
46480 builtin and then its argument prototype would still apply. */
46485 /* The GNU C library defines this for functions which it implements
46486 to always fail with ENOSYS. Some functions are actually named
46487 something starting with __ and the normal name is an alias. */
46488 #if defined __stub_socket || defined __stub___socket
46500 rm -f conftest.
$ac_objext conftest
$ac_exeext
46501 if { (ac_try
="$ac_link"
46502 case "(($ac_try" in
46503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46504 *) ac_try_echo=$ac_try;;
46506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46507 (eval "$ac_link") 2>conftest.er1
46509 grep -v '^ *+' conftest.er1 >conftest.err
46511 cat conftest.err >&5
46512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46513 (exit $ac_status); } && {
46514 test -z "$ac_c_werror_flag" ||
46515 test ! -s conftest.err
46516 } && test -s conftest$ac_exeext &&
46517 $as_test_x conftest$ac_exeext; then
46518 ac_cv_func_socket=yes
46520 echo "$as_me: failed program was:" >&5
46521 sed 's/^/| /' conftest.$ac_ext >&5
46523 ac_cv_func_socket=no
46526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46527 conftest$ac_exeext conftest.$ac_ext
46529 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46530 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46531 if test $ac_cv_func_socket = yes; then
46535 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46536 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46537 if test "${ac_cv_lib_socket_socket+set}" = set; then
46538 echo $ECHO_N "(cached) $ECHO_C" >&6
46540 ac_check_lib_save_LIBS=$LIBS
46541 LIBS="-lsocket $LIBS"
46542 cat >conftest.$ac_ext <<_ACEOF
46545 cat confdefs.h >>conftest.$ac_ext
46546 cat >>conftest.$ac_ext <<_ACEOF
46547 /* end confdefs.h. */
46549 /* Override any GCC internal prototype to avoid an error.
46550 Use char because int might match the return type of a GCC
46551 builtin and then its argument prototype would still apply. */
46564 rm -f conftest.$ac_objext conftest$ac_exeext
46565 if { (ac_try="$ac_link"
46566 case "(($ac_try" in
46567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46568 *) ac_try_echo
=$ac_try;;
46570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46571 (eval "$ac_link") 2>conftest.er1
46573 grep -v '^ *+' conftest.er1
>conftest.err
46575 cat conftest.err
>&5
46576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46577 (exit $ac_status); } && {
46578 test -z "$ac_c_werror_flag" ||
46579 test ! -s conftest.err
46580 } && test -s conftest
$ac_exeext &&
46581 $as_test_x conftest
$ac_exeext; then
46582 ac_cv_lib_socket_socket
=yes
46584 echo "$as_me: failed program was:" >&5
46585 sed 's/^/| /' conftest.
$ac_ext >&5
46587 ac_cv_lib_socket_socket
=no
46590 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46591 conftest
$ac_exeext conftest.
$ac_ext
46592 LIBS
=$ac_check_lib_save_LIBS
46594 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46595 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46596 if test $ac_cv_lib_socket_socket = yes; then
46597 if test "$INET_LINK" != " -lsocket"; then
46598 INET_LINK
="$INET_LINK -lsocket"
46602 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46603 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46616 if test "$wxUSE_SOCKETS" = "yes" ; then
46617 if test "$TOOLKIT" != "MSW"; then
46618 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46619 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46620 if test "${wx_cv_type_getsockname3+set}" = set; then
46621 echo $ECHO_N "(cached) $ECHO_C" >&6
46625 ac_cpp
='$CXXCPP $CPPFLAGS'
46626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46630 cat >conftest.
$ac_ext <<_ACEOF
46633 cat confdefs.h
>>conftest.
$ac_ext
46634 cat >>conftest.
$ac_ext <<_ACEOF
46635 /* end confdefs.h. */
46637 #include <sys/types.h>
46638 #include <sys/socket.h>
46645 getsockname(0, 0, &len);
46651 rm -f conftest.
$ac_objext
46652 if { (ac_try
="$ac_compile"
46653 case "(($ac_try" in
46654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46655 *) ac_try_echo=$ac_try;;
46657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46658 (eval "$ac_compile") 2>conftest.er1
46660 grep -v '^ *+' conftest.er1 >conftest.err
46662 cat conftest.err >&5
46663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46664 (exit $ac_status); } && {
46665 test -z "$ac_cxx_werror_flag" ||
46666 test ! -s conftest.err
46667 } && test -s conftest.$ac_objext; then
46668 wx_cv_type_getsockname3=socklen_t
46670 echo "$as_me: failed program was:" >&5
46671 sed 's/^/| /' conftest.$ac_ext >&5
46674 CFLAGS_OLD="$CFLAGS"
46675 if test "$GCC" = yes ; then
46676 CFLAGS="-Werror $CFLAGS"
46679 cat >conftest.$ac_ext <<_ACEOF
46682 cat confdefs.h >>conftest.$ac_ext
46683 cat >>conftest.$ac_ext <<_ACEOF
46684 /* end confdefs.h. */
46686 #include <sys/types.h>
46687 #include <sys/socket.h>
46694 getsockname(0, 0, &len);
46700 rm -f conftest.$ac_objext
46701 if { (ac_try="$ac_compile"
46702 case "(($ac_try" in
46703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46704 *) ac_try_echo
=$ac_try;;
46706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46707 (eval "$ac_compile") 2>conftest.er1
46709 grep -v '^ *+' conftest.er1
>conftest.err
46711 cat conftest.err
>&5
46712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46713 (exit $ac_status); } && {
46714 test -z "$ac_cxx_werror_flag" ||
46715 test ! -s conftest.err
46716 } && test -s conftest.
$ac_objext; then
46717 wx_cv_type_getsockname3
=size_t
46719 echo "$as_me: failed program was:" >&5
46720 sed 's/^/| /' conftest.
$ac_ext >&5
46722 cat >conftest.
$ac_ext <<_ACEOF
46725 cat confdefs.h
>>conftest.
$ac_ext
46726 cat >>conftest.
$ac_ext <<_ACEOF
46727 /* end confdefs.h. */
46729 #include <sys/types.h>
46730 #include <sys/socket.h>
46737 getsockname(0, 0, &len);
46743 rm -f conftest.
$ac_objext
46744 if { (ac_try
="$ac_compile"
46745 case "(($ac_try" in
46746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46747 *) ac_try_echo=$ac_try;;
46749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46750 (eval "$ac_compile") 2>conftest.er1
46752 grep -v '^ *+' conftest.er1 >conftest.err
46754 cat conftest.err >&5
46755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46756 (exit $ac_status); } && {
46757 test -z "$ac_cxx_werror_flag" ||
46758 test ! -s conftest.err
46759 } && test -s conftest.$ac_objext; then
46760 wx_cv_type_getsockname3=int
46762 echo "$as_me: failed program was:" >&5
46763 sed 's/^/| /' conftest.$ac_ext >&5
46765 wx_cv_type_getsockname3=unknown
46769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46775 CFLAGS="$CFLAGS_OLD"
46780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46782 ac_cpp='$CPP $CPPFLAGS'
46783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46789 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46790 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46792 if test "$wx_cv_type_getsockname3" = "unknown"; then
46794 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46795 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46797 cat >>confdefs.h <<_ACEOF
46798 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46802 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46803 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46804 if test "${wx_cv_type_getsockopt5+set}" = set; then
46805 echo $ECHO_N "(cached) $ECHO_C" >&6
46809 ac_cpp='$CXXCPP $CPPFLAGS'
46810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46814 cat >conftest.$ac_ext <<_ACEOF
46817 cat confdefs.h >>conftest.$ac_ext
46818 cat >>conftest.$ac_ext <<_ACEOF
46819 /* end confdefs.h. */
46821 #include <sys/types.h>
46822 #include <sys/socket.h>
46829 getsockopt(0, 0, 0, 0, &len);
46835 rm -f conftest.$ac_objext
46836 if { (ac_try="$ac_compile"
46837 case "(($ac_try" in
46838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46839 *) ac_try_echo
=$ac_try;;
46841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46842 (eval "$ac_compile") 2>conftest.er1
46844 grep -v '^ *+' conftest.er1
>conftest.err
46846 cat conftest.err
>&5
46847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46848 (exit $ac_status); } && {
46849 test -z "$ac_cxx_werror_flag" ||
46850 test ! -s conftest.err
46851 } && test -s conftest.
$ac_objext; then
46852 wx_cv_type_getsockopt5
=socklen_t
46854 echo "$as_me: failed program was:" >&5
46855 sed 's/^/| /' conftest.
$ac_ext >&5
46858 cat >conftest.
$ac_ext <<_ACEOF
46861 cat confdefs.h
>>conftest.
$ac_ext
46862 cat >>conftest.
$ac_ext <<_ACEOF
46863 /* end confdefs.h. */
46865 #include <sys/types.h>
46866 #include <sys/socket.h>
46873 getsockopt(0, 0, 0, 0, &len);
46879 rm -f conftest.
$ac_objext
46880 if { (ac_try
="$ac_compile"
46881 case "(($ac_try" in
46882 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46883 *) ac_try_echo=$ac_try;;
46885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46886 (eval "$ac_compile") 2>conftest.er1
46888 grep -v '^ *+' conftest.er1 >conftest.err
46890 cat conftest.err >&5
46891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46892 (exit $ac_status); } && {
46893 test -z "$ac_cxx_werror_flag" ||
46894 test ! -s conftest.err
46895 } && test -s conftest.$ac_objext; then
46896 wx_cv_type_getsockopt5=size_t
46898 echo "$as_me: failed program was:" >&5
46899 sed 's/^/| /' conftest.$ac_ext >&5
46901 cat >conftest.$ac_ext <<_ACEOF
46904 cat confdefs.h >>conftest.$ac_ext
46905 cat >>conftest.$ac_ext <<_ACEOF
46906 /* end confdefs.h. */
46908 #include <sys/types.h>
46909 #include <sys/socket.h>
46916 getsockopt(0, 0, 0, 0, &len);
46922 rm -f conftest.$ac_objext
46923 if { (ac_try="$ac_compile"
46924 case "(($ac_try" in
46925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46926 *) ac_try_echo
=$ac_try;;
46928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46929 (eval "$ac_compile") 2>conftest.er1
46931 grep -v '^ *+' conftest.er1
>conftest.err
46933 cat conftest.err
>&5
46934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46935 (exit $ac_status); } && {
46936 test -z "$ac_cxx_werror_flag" ||
46937 test ! -s conftest.err
46938 } && test -s conftest.
$ac_objext; then
46939 wx_cv_type_getsockopt5
=int
46941 echo "$as_me: failed program was:" >&5
46942 sed 's/^/| /' conftest.
$ac_ext >&5
46944 wx_cv_type_getsockopt5
=unknown
46948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46959 ac_cpp
='$CPP $CPPFLAGS'
46960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46966 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46967 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46969 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46971 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46972 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46974 cat >>confdefs.h
<<_ACEOF
46975 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46982 if test "$wxUSE_SOCKETS" = "yes" ; then
46983 cat >>confdefs.h
<<\_ACEOF
46984 #define wxUSE_SOCKETS 1
46987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
46990 if test "$wxUSE_PROTOCOL" = "yes"; then
46991 if test "$wxUSE_SOCKETS" != "yes"; then
46992 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46993 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46998 if test "$wxUSE_PROTOCOL" = "yes"; then
46999 cat >>confdefs.h
<<\_ACEOF
47000 #define wxUSE_PROTOCOL 1
47004 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47005 cat >>confdefs.h
<<\_ACEOF
47006 #define wxUSE_PROTOCOL_HTTP 1
47010 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47011 cat >>confdefs.h
<<\_ACEOF
47012 #define wxUSE_PROTOCOL_FTP 1
47016 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47017 cat >>confdefs.h
<<\_ACEOF
47018 #define wxUSE_PROTOCOL_FILE 1
47023 if test "$wxUSE_FS_INET" = "yes"; then
47024 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47025 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47030 if test "$wxUSE_URL" = "yes"; then
47031 if test "$wxUSE_PROTOCOL" != "yes"; then
47032 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47033 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47036 if test "$wxUSE_URL" = "yes"; then
47037 cat >>confdefs.h
<<\_ACEOF
47038 #define wxUSE_URL 1
47044 if test "$wxUSE_VARIANT" = "yes"; then
47045 cat >>confdefs.h
<<\_ACEOF
47046 #define wxUSE_VARIANT 1
47051 if test "$wxUSE_FS_INET" = "yes"; then
47052 cat >>confdefs.h
<<\_ACEOF
47053 #define wxUSE_FS_INET 1
47059 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47062 if test "$TOOLKIT" = "MSW"; then
47065 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47066 if test "$USE_DARWIN" = 1; then
47067 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47068 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47070 ac_cpp
='$CXXCPP $CPPFLAGS'
47071 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47075 cat >conftest.
$ac_ext <<_ACEOF
47078 cat confdefs.h
>>conftest.
$ac_ext
47079 cat >>conftest.
$ac_ext <<_ACEOF
47080 /* end confdefs.h. */
47081 #include <IOKit/hid/IOHIDLib.h>
47085 IOHIDQueueInterface *qi = NULL;
47086 IOHIDCallbackFunction cb = NULL;
47087 qi->setEventCallout(NULL, cb, NULL, NULL);
47092 rm -f conftest.
$ac_objext
47093 if { (ac_try
="$ac_compile"
47094 case "(($ac_try" in
47095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47096 *) ac_try_echo=$ac_try;;
47098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47099 (eval "$ac_compile") 2>conftest.er1
47101 grep -v '^ *+' conftest.er1 >conftest.err
47103 cat conftest.err >&5
47104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47105 (exit $ac_status); } && {
47106 test -z "$ac_cxx_werror_flag" ||
47107 test ! -s conftest.err
47108 } && test -s conftest.$ac_objext; then
47112 echo "$as_me: failed program was:" >&5
47113 sed 's/^/| /' conftest.$ac_ext >&5
47118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47120 ac_cpp='$CPP $CPPFLAGS'
47121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47125 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47126 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47130 if test "$wxUSE_MGL" != "1"; then
47132 for ac_header in linux/joystick.h
47134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47138 echo $ECHO_N "(cached) $ECHO_C" >&6
47140 cat >conftest.$ac_ext <<_ACEOF
47143 cat confdefs.h >>conftest.$ac_ext
47144 cat >>conftest.$ac_ext <<_ACEOF
47145 /* end confdefs.h. */
47146 $ac_includes_default
47148 #include <$ac_header>
47150 rm -f conftest.$ac_objext
47151 if { (ac_try="$ac_compile"
47152 case "(($ac_try" in
47153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47154 *) ac_try_echo
=$ac_try;;
47156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47157 (eval "$ac_compile") 2>conftest.er1
47159 grep -v '^ *+' conftest.er1
>conftest.err
47161 cat conftest.err
>&5
47162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47163 (exit $ac_status); } && {
47164 test -z "$ac_c_werror_flag" ||
47165 test ! -s conftest.err
47166 } && test -s conftest.
$ac_objext; then
47167 eval "$as_ac_Header=yes"
47169 echo "$as_me: failed program was:" >&5
47170 sed 's/^/| /' conftest.
$ac_ext >&5
47172 eval "$as_ac_Header=no"
47175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47177 ac_res
=`eval echo '${'$as_ac_Header'}'`
47178 { echo "$as_me:$LINENO: result: $ac_res" >&5
47179 echo "${ECHO_T}$ac_res" >&6; }
47180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47181 cat >>confdefs.h
<<_ACEOF
47182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47192 if test "$wxUSE_JOYSTICK" = "yes"; then
47193 cat >>confdefs.h
<<\_ACEOF
47194 #define wxUSE_JOYSTICK 1
47197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47199 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47200 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47206 if test "$wxUSE_FONTENUM" = "yes" ; then
47207 cat >>confdefs.h
<<\_ACEOF
47208 #define wxUSE_FONTENUM 1
47213 if test "$wxUSE_FONTMAP" = "yes" ; then
47214 cat >>confdefs.h
<<\_ACEOF
47215 #define wxUSE_FONTMAP 1
47220 if test "$wxUSE_UNICODE" = "yes" ; then
47221 cat >>confdefs.h
<<\_ACEOF
47222 #define wxUSE_UNICODE 1
47226 if test "$USE_WIN32" != 1; then
47227 wxUSE_UNICODE_MSLU
=no
47230 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47231 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47232 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47233 if test "${ac_cv_lib_unicows_main+set}" = set; then
47234 echo $ECHO_N "(cached) $ECHO_C" >&6
47236 ac_check_lib_save_LIBS
=$LIBS
47237 LIBS
="-lunicows $LIBS"
47238 cat >conftest.
$ac_ext <<_ACEOF
47241 cat confdefs.h
>>conftest.
$ac_ext
47242 cat >>conftest.
$ac_ext <<_ACEOF
47243 /* end confdefs.h. */
47254 rm -f conftest.
$ac_objext conftest
$ac_exeext
47255 if { (ac_try
="$ac_link"
47256 case "(($ac_try" in
47257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47258 *) ac_try_echo=$ac_try;;
47260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47261 (eval "$ac_link") 2>conftest.er1
47263 grep -v '^ *+' conftest.er1 >conftest.err
47265 cat conftest.err >&5
47266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47267 (exit $ac_status); } && {
47268 test -z "$ac_c_werror_flag" ||
47269 test ! -s conftest.err
47270 } && test -s conftest$ac_exeext &&
47271 $as_test_x conftest$ac_exeext; then
47272 ac_cv_lib_unicows_main=yes
47274 echo "$as_me: failed program was:" >&5
47275 sed 's/^/| /' conftest.$ac_ext >&5
47277 ac_cv_lib_unicows_main=no
47280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47281 conftest$ac_exeext conftest.$ac_ext
47282 LIBS=$ac_check_lib_save_LIBS
47284 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47285 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47286 if test $ac_cv_lib_unicows_main = yes; then
47288 cat >>confdefs.h <<\_ACEOF
47289 #define wxUSE_UNICODE_MSLU 1
47295 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47296 Applications will only run on Windows NT/2000/XP!" >&5
47297 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47298 Applications will only run on Windows NT/2000/XP!" >&2;}
47299 wxUSE_UNICODE_MSLU=no
47306 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47307 cat >>confdefs.h <<\_ACEOF
47308 #define wxUSE_UNICODE_UTF8 1
47312 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_UTF8_LOCALE_ONLY 1
47321 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47322 cat >>confdefs.h <<\_ACEOF
47323 #define wxUSE_CONSTRAINTS 1
47326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47329 if test "$wxUSE_MDI" = "yes"; then
47330 cat >>confdefs.h <<\_ACEOF
47331 #define wxUSE_MDI 1
47335 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47336 cat >>confdefs.h <<\_ACEOF
47337 #define wxUSE_MDI_ARCHITECTURE 1
47340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47344 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47345 cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47350 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47355 if test "$wxUSE_HELP" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_HELP 1
47360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47362 if test "$wxUSE_MSW" = 1; then
47363 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47364 cat >>confdefs.h <<\_ACEOF
47365 #define wxUSE_MS_HTML_HELP 1
47371 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47372 if test "$wxUSE_HTML" = "yes"; then
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_WXHTML_HELP 1
47378 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47379 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47380 wxUSE_WXHTML_HELP=no
47385 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47386 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47387 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47388 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47390 cat >>confdefs.h <<\_ACEOF
47391 #define wxUSE_PRINTING_ARCHITECTURE 1
47395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47398 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47399 cat >>confdefs.h <<\_ACEOF
47400 #define wxUSE_POSTSCRIPT 1
47405 cat >>confdefs.h <<\_ACEOF
47406 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47410 if test "$wxUSE_SVG" = "yes"; then
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_SVG 1
47418 if test "$wxUSE_METAFILE" = "yes"; then
47419 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47420 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47421 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47427 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47428 -o "$wxUSE_CLIPBOARD" = "yes" \
47429 -o "$wxUSE_OLE" = "yes" \
47430 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47431 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47432 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47433 if test "${ac_cv_header_ole2_h+set}" = set; then
47434 echo $ECHO_N "(cached) $ECHO_C" >&6
47436 cat >conftest.$ac_ext <<_ACEOF
47439 cat confdefs.h >>conftest.$ac_ext
47440 cat >>conftest.$ac_ext <<_ACEOF
47441 /* end confdefs.h. */
47446 rm -f conftest.$ac_objext
47447 if { (ac_try="$ac_compile"
47448 case "(($ac_try" in
47449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47450 *) ac_try_echo
=$ac_try;;
47452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47453 (eval "$ac_compile") 2>conftest.er1
47455 grep -v '^ *+' conftest.er1
>conftest.err
47457 cat conftest.err
>&5
47458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47459 (exit $ac_status); } && {
47460 test -z "$ac_c_werror_flag" ||
47461 test ! -s conftest.err
47462 } && test -s conftest.
$ac_objext; then
47463 ac_cv_header_ole2_h
=yes
47465 echo "$as_me: failed program was:" >&5
47466 sed 's/^/| /' conftest.
$ac_ext >&5
47468 ac_cv_header_ole2_h
=no
47471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47473 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47474 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47478 if test "$ac_cv_header_ole2_h" = "yes" ; then
47479 if test "$GCC" = yes ; then
47480 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47481 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47482 cat >conftest.
$ac_ext <<_ACEOF
47485 cat confdefs.h
>>conftest.
$ac_ext
47486 cat >>conftest.
$ac_ext <<_ACEOF
47487 /* end confdefs.h. */
47488 #include <windows.h>
47498 rm -f conftest.
$ac_objext
47499 if { (ac_try
="$ac_compile"
47500 case "(($ac_try" in
47501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47502 *) ac_try_echo=$ac_try;;
47504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47505 (eval "$ac_compile") 2>conftest.er1
47507 grep -v '^ *+' conftest.er1 >conftest.err
47509 cat conftest.err >&5
47510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47511 (exit $ac_status); } && {
47512 test -z "$ac_c_werror_flag" ||
47513 test ! -s conftest.err
47514 } && test -s conftest.$ac_objext; then
47515 { echo "$as_me:$LINENO: result: no" >&5
47516 echo "${ECHO_T}no" >&6; }
47518 echo "$as_me: failed program was:" >&5
47519 sed 's/^/| /' conftest.$ac_ext >&5
47521 { echo "$as_me:$LINENO: result: yes" >&5
47522 echo "${ECHO_T}yes" >&6; }
47523 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47527 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47528 if test "$wxUSE_OLE" = "yes" ; then
47529 cat >>confdefs.h <<\_ACEOF
47530 #define wxUSE_OLE 1
47533 cat >>confdefs.h <<\_ACEOF
47534 #define wxUSE_OLE_AUTOMATION 1
47537 cat >>confdefs.h <<\_ACEOF
47538 #define wxUSE_ACTIVEX 1
47541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47545 if test "$wxUSE_DATAOBJ" = "yes" ; then
47546 cat >>confdefs.h <<\_ACEOF
47547 #define wxUSE_DATAOBJ 1
47552 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47553 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47556 wxUSE_DRAG_AND_DROP=no
47561 if test "$wxUSE_METAFILE" = "yes"; then
47562 cat >>confdefs.h <<\_ACEOF
47563 #define wxUSE_METAFILE 1
47567 cat >>confdefs.h <<\_ACEOF
47568 #define wxUSE_ENH_METAFILE 1
47574 if test "$wxUSE_IPC" = "yes"; then
47575 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47576 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47577 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47581 if test "$wxUSE_IPC" = "yes"; then
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_IPC 1
47586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47590 if test "$wxUSE_DATAOBJ" = "yes"; then
47591 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47592 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47593 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47596 cat >>confdefs.h <<\_ACEOF
47597 #define wxUSE_DATAOBJ 1
47602 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47603 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47605 wxUSE_DRAG_AND_DROP=no
47608 if test "$wxUSE_CLIPBOARD" = "yes"; then
47609 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47610 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47611 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47615 if test "$wxUSE_CLIPBOARD" = "yes"; then
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_CLIPBOARD 1
47623 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47624 if test "$wxUSE_GTK" = 1; then
47625 if test "$WXGTK12" != 1; then
47626 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47627 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47628 wxUSE_DRAG_AND_DROP=no
47632 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47633 "$wxUSE_DFB" = 1; then
47634 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47635 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47636 wxUSE_DRAG_AND_DROP=no
47639 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47640 cat >>confdefs.h <<\_ACEOF
47641 #define wxUSE_DRAG_AND_DROP 1
47648 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47652 if test "$wxUSE_SPLINES" = "yes" ; then
47653 cat >>confdefs.h <<\_ACEOF
47654 #define wxUSE_SPLINES 1
47659 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_MOUSEWHEEL 1
47668 if test "$wxUSE_CONTROLS" = "yes"; then
47672 if test "$wxUSE_ACCEL" = "yes"; then
47673 cat >>confdefs.h <<\_ACEOF
47674 #define wxUSE_ACCEL 1
47680 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47681 cat >>confdefs.h <<\_ACEOF
47682 #define wxUSE_ANIMATIONCTRL 1
47686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47689 if test "$wxUSE_BUTTON" = "yes"; then
47690 cat >>confdefs.h <<\_ACEOF
47691 #define wxUSE_BUTTON 1
47697 if test "$wxUSE_BMPBUTTON" = "yes"; then
47698 cat >>confdefs.h <<\_ACEOF
47699 #define wxUSE_BMPBUTTON 1
47705 if test "$wxUSE_CALCTRL" = "yes"; then
47706 cat >>confdefs.h <<\_ACEOF
47707 #define wxUSE_CALENDARCTRL 1
47711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47714 if test "$wxUSE_CARET" = "yes"; then
47715 cat >>confdefs.h <<\_ACEOF
47716 #define wxUSE_CARET 1
47720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47723 if test "$wxUSE_COLLPANE" = "yes"; then
47724 cat >>confdefs.h <<\_ACEOF
47725 #define wxUSE_COLLPANE 1
47729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47732 if test "$wxUSE_COMBOBOX" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_COMBOBOX 1
47740 if test "$wxUSE_COMBOCTRL" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_COMBOCTRL 1
47748 if test "$wxUSE_CHOICE" = "yes"; then
47749 cat >>confdefs.h <<\_ACEOF
47750 #define wxUSE_CHOICE 1
47756 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47757 cat >>confdefs.h <<\_ACEOF
47758 #define wxUSE_CHOICEBOOK 1
47764 if test "$wxUSE_CHECKBOX" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_CHECKBOX 1
47772 if test "$wxUSE_CHECKLST" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_CHECKLISTBOX 1
47780 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_COLOURPICKERCTRL 1
47788 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47789 cat >>confdefs.h <<\_ACEOF
47790 #define wxUSE_DATEPICKCTRL 1
47796 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_DIRPICKERCTRL 1
47804 if test "$wxUSE_FILECTRL" = "yes"; then
47805 cat >>confdefs.h <<\_ACEOF
47806 #define wxUSE_FILECTRL 1
47812 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_FILEPICKERCTRL 1
47820 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_FONTPICKERCTRL 1
47828 if test "$wxUSE_DISPLAY" = "yes"; then
47829 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47830 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47831 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47834 cat >>confdefs.h <<\_ACEOF
47835 #define wxUSE_DISPLAY 1
47838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47842 if test "$wxUSE_DETECT_SM" = "yes"; then
47843 cat >>confdefs.h <<\_ACEOF
47844 #define wxUSE_DETECT_SM 1
47849 if test "$wxUSE_GAUGE" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_GAUGE 1
47857 if test "$wxUSE_GRID" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_GRID 1
47863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47866 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_HYPERLINKCTRL 1
47874 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_BITMAPCOMBOBOX 1
47882 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_DATAVIEWCTRL 1
47888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47891 if test "$wxUSE_IMAGLIST" = "yes"; then
47892 cat >>confdefs.h <<\_ACEOF
47893 #define wxUSE_IMAGLIST 1
47898 if test "$wxUSE_LISTBOOK" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_LISTBOOK 1
47906 if test "$wxUSE_LISTBOX" = "yes"; then
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_LISTBOX 1
47914 if test "$wxUSE_LISTCTRL" = "yes"; then
47915 if test "$wxUSE_IMAGLIST" = "yes"; then
47916 cat >>confdefs.h <<\_ACEOF
47917 #define wxUSE_LISTCTRL 1
47921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47923 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47924 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47928 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_EDITABLELISTBOX 1
47934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47937 if test "$wxUSE_NOTEBOOK" = "yes"; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_NOTEBOOK 1
47943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47946 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_ODCOMBOBOX 1
47952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47955 if test "$wxUSE_RADIOBOX" = "yes"; then
47956 cat >>confdefs.h <<\_ACEOF
47957 #define wxUSE_RADIOBOX 1
47963 if test "$wxUSE_RADIOBTN" = "yes"; then
47964 cat >>confdefs.h <<\_ACEOF
47965 #define wxUSE_RADIOBTN 1
47971 if test "$wxUSE_SASH" = "yes"; then
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_SASH 1
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47979 if test "$wxUSE_SCROLLBAR" = "yes"; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_SCROLLBAR 1
47985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47988 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47989 cat >>confdefs.h <<\_ACEOF
47990 #define wxUSE_SEARCHCTRL 1
47996 if test "$wxUSE_SLIDER" = "yes"; then
47997 cat >>confdefs.h <<\_ACEOF
47998 #define wxUSE_SLIDER 1
48004 if test "$wxUSE_SPINBTN" = "yes"; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_SPINBTN 1
48012 if test "$wxUSE_SPINCTRL" = "yes"; then
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_SPINCTRL 1
48020 if test "$wxUSE_SPLITTER" = "yes"; then
48021 cat >>confdefs.h <<\_ACEOF
48022 #define wxUSE_SPLITTER 1
48025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48028 if test "$wxUSE_STATBMP" = "yes"; then
48029 cat >>confdefs.h <<\_ACEOF
48030 #define wxUSE_STATBMP 1
48036 if test "$wxUSE_STATBOX" = "yes"; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_STATBOX 1
48044 if test "$wxUSE_STATTEXT" = "yes"; then
48045 cat >>confdefs.h <<\_ACEOF
48046 #define wxUSE_STATTEXT 1
48052 if test "$wxUSE_STATLINE" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_STATLINE 1
48060 if test "$wxUSE_STATUSBAR" = "yes"; then
48061 cat >>confdefs.h <<\_ACEOF
48062 #define wxUSE_NATIVE_STATUSBAR 1
48065 cat >>confdefs.h <<\_ACEOF
48066 #define wxUSE_STATUSBAR 1
48071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48074 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48075 cat >>confdefs.h <<\_ACEOF
48076 #define wxUSE_TAB_DIALOG 1
48081 if test "$wxUSE_TEXTCTRL" = "yes"; then
48082 cat >>confdefs.h <<\_ACEOF
48083 #define wxUSE_TEXTCTRL 1
48087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48090 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48091 if test "$wxUSE_COCOA" = 1 ; then
48092 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48093 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48097 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48098 cat >>confdefs.h <<\_ACEOF
48099 #define wxUSE_TOGGLEBTN 1
48106 if test "$wxUSE_TOOLBAR" = "yes"; then
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_TOOLBAR 1
48113 if test "$wxUSE_UNIVERSAL" = "yes"; then
48114 wxUSE_TOOLBAR_NATIVE="no"
48116 wxUSE_TOOLBAR_NATIVE="yes"
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_TOOLBAR_NATIVE 1
48123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48126 if test "$wxUSE_TOOLTIPS" = "yes"; then
48127 if test "$wxUSE_MOTIF" = 1; then
48128 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48129 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48131 if test "$wxUSE_UNIVERSAL" = "yes"; then
48132 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48133 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48135 cat >>confdefs.h <<\_ACEOF
48136 #define wxUSE_TOOLTIPS 1
48143 if test "$wxUSE_TREEBOOK" = "yes"; then
48144 cat >>confdefs.h <<\_ACEOF
48145 #define wxUSE_TREEBOOK 1
48151 if test "$wxUSE_TOOLBOOK" = "yes"; then
48152 cat >>confdefs.h <<\_ACEOF
48153 #define wxUSE_TOOLBOOK 1
48159 if test "$wxUSE_TREECTRL" = "yes"; then
48160 if test "$wxUSE_IMAGLIST" = "yes"; then
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_TREECTRL 1
48166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48168 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48169 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48173 if test "$wxUSE_POPUPWIN" = "yes"; then
48174 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48175 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48176 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48178 if test "$wxUSE_PM" = 1; then
48179 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48180 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48182 cat >>confdefs.h <<\_ACEOF
48183 #define wxUSE_POPUPWIN 1
48186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48193 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48194 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48195 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48196 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48198 cat >>confdefs.h <<\_ACEOF
48199 #define wxUSE_DIALUP_MANAGER 1
48202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48206 if test "$wxUSE_TIPWINDOW" = "yes"; then
48207 if test "$wxUSE_PM" = 1; then
48208 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48209 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_TIPWINDOW 1
48218 if test "$USES_CONTROLS" = 1; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_CONTROLS 1
48226 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48227 cat >>confdefs.h <<\_ACEOF
48228 #define wxUSE_ACCESSIBILITY 1
48231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48234 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_DRAGIMAGE 1
48239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48242 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48243 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48244 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48245 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_EXCEPTIONS 1
48251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48256 if test "$wxUSE_HTML" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_HTML 1
48262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48263 if test "$wxUSE_MAC" = 1; then
48264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48267 if test "$wxUSE_WEBKIT" = "yes"; then
48268 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48269 old_CPPFLAGS="$CPPFLAGS"
48270 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48271 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48272 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48273 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48274 echo $ECHO_N "(cached) $ECHO_C" >&6
48276 cat >conftest.$ac_ext <<_ACEOF
48279 cat confdefs.h >>conftest.$ac_ext
48280 cat >>conftest.$ac_ext <<_ACEOF
48281 /* end confdefs.h. */
48283 #include <Carbon/Carbon.h>
48284 #include <WebKit/WebKit.h>
48287 #include <WebKit/HIWebView.h>
48289 rm -f conftest.$ac_objext
48290 if { (ac_try="$ac_compile"
48291 case "(($ac_try" in
48292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48293 *) ac_try_echo
=$ac_try;;
48295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48296 (eval "$ac_compile") 2>conftest.er1
48298 grep -v '^ *+' conftest.er1
>conftest.err
48300 cat conftest.err
>&5
48301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48302 (exit $ac_status); } && {
48303 test -z "$ac_c_werror_flag" ||
48304 test ! -s conftest.err
48305 } && test -s conftest.
$ac_objext; then
48306 ac_cv_header_WebKit_HIWebView_h
=yes
48308 echo "$as_me: failed program was:" >&5
48309 sed 's/^/| /' conftest.
$ac_ext >&5
48311 ac_cv_header_WebKit_HIWebView_h
=no
48314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48316 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48317 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48318 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48320 cat >>confdefs.h
<<\_ACEOF
48321 #define wxUSE_WEBKIT 1
48324 WEBKIT_LINK
="-framework WebKit"
48328 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48329 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48335 CPPFLAGS
="$old_CPPFLAGS"
48336 elif test "$wxUSE_COCOA" = 1; then
48337 cat >>confdefs.h
<<\_ACEOF
48338 #define wxUSE_WEBKIT 1
48347 if test "$wxUSE_XRC" = "yes"; then
48348 if test "$wxUSE_XML" != "yes"; then
48349 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48350 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48353 cat >>confdefs.h
<<\_ACEOF
48354 #define wxUSE_XRC 1
48358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48363 if test "$wxUSE_AUI" = "yes"; then
48364 cat >>confdefs.h
<<\_ACEOF
48365 #define wxUSE_AUI 1
48369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48373 if test "$wxUSE_STC" = "yes"; then
48374 cat >>confdefs.h
<<\_ACEOF
48375 #define wxUSE_STC 1
48379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48382 if test "$wxUSE_MENUS" = "yes"; then
48383 cat >>confdefs.h
<<\_ACEOF
48384 #define wxUSE_MENUS 1
48387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48390 if test "$wxUSE_METAFILE" = "yes"; then
48391 cat >>confdefs.h
<<\_ACEOF
48392 #define wxUSE_METAFILE 1
48397 if test "$wxUSE_MIMETYPE" = "yes"; then
48398 cat >>confdefs.h
<<\_ACEOF
48399 #define wxUSE_MIMETYPE 1
48404 if test "$wxUSE_MINIFRAME" = "yes"; then
48405 cat >>confdefs.h
<<\_ACEOF
48406 #define wxUSE_MINIFRAME 1
48411 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48412 cat >>confdefs.h
<<\_ACEOF
48413 #define wxUSE_SYSTEM_OPTIONS 1
48418 if test "$wxUSE_TASKBARICON" = "yes"; then
48419 cat >>confdefs.h
<<\_ACEOF
48420 #define wxUSE_TASKBARICON 1
48423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48427 if test "$wxUSE_VALIDATORS" = "yes"; then
48428 cat >>confdefs.h
<<\_ACEOF
48429 #define wxUSE_VALIDATORS 1
48432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48435 if test "$wxUSE_PALETTE" = "yes" ; then
48436 if test "$wxUSE_DFB" = 1; then
48437 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48438 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48441 cat >>confdefs.h
<<\_ACEOF
48442 #define wxUSE_PALETTE 1
48448 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48449 LIBS
=" -lunicows $LIBS"
48453 if test "$wxUSE_RICHTEXT" = "yes"; then
48454 cat >>confdefs.h
<<\_ACEOF
48455 #define wxUSE_RICHTEXT 1
48459 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48463 if test "$wxUSE_IMAGE" = "yes" ; then
48464 cat >>confdefs.h
<<\_ACEOF
48465 #define wxUSE_IMAGE 1
48469 if test "$wxUSE_GIF" = "yes" ; then
48470 cat >>confdefs.h
<<\_ACEOF
48471 #define wxUSE_GIF 1
48476 if test "$wxUSE_PCX" = "yes" ; then
48477 cat >>confdefs.h
<<\_ACEOF
48478 #define wxUSE_PCX 1
48483 if test "$wxUSE_TGA" = "yes" ; then
48484 cat >>confdefs.h
<<\_ACEOF
48485 #define wxUSE_TGA 1
48490 if test "$wxUSE_IFF" = "yes" ; then
48491 cat >>confdefs.h
<<\_ACEOF
48492 #define wxUSE_IFF 1
48497 if test "$wxUSE_PNM" = "yes" ; then
48498 cat >>confdefs.h
<<\_ACEOF
48499 #define wxUSE_PNM 1
48504 if test "$wxUSE_XPM" = "yes" ; then
48505 cat >>confdefs.h
<<\_ACEOF
48506 #define wxUSE_XPM 1
48511 if test "$wxUSE_ICO_CUR" = "yes" ; then
48512 cat >>confdefs.h
<<\_ACEOF
48513 #define wxUSE_ICO_CUR 1
48520 if test "$wxUSE_ABOUTDLG" = "yes"; then
48521 cat >>confdefs.h
<<\_ACEOF
48522 #define wxUSE_ABOUTDLG 1
48527 if test "$wxUSE_CHOICEDLG" = "yes"; then
48528 cat >>confdefs.h
<<\_ACEOF
48529 #define wxUSE_CHOICEDLG 1
48534 if test "$wxUSE_COLOURDLG" = "yes"; then
48535 cat >>confdefs.h
<<\_ACEOF
48536 #define wxUSE_COLOURDLG 1
48541 if test "$wxUSE_FILEDLG" = "yes"; then
48542 cat >>confdefs.h
<<\_ACEOF
48543 #define wxUSE_FILEDLG 1
48548 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48549 cat >>confdefs.h
<<\_ACEOF
48550 #define wxUSE_FINDREPLDLG 1
48555 if test "$wxUSE_FONTDLG" = "yes"; then
48556 cat >>confdefs.h
<<\_ACEOF
48557 #define wxUSE_FONTDLG 1
48562 if test "$wxUSE_DIRDLG" = "yes"; then
48563 if test "$wxUSE_TREECTRL" != "yes"; then
48564 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48565 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48567 cat >>confdefs.h
<<\_ACEOF
48568 #define wxUSE_DIRDLG 1
48574 if test "$wxUSE_MSGDLG" = "yes"; then
48575 cat >>confdefs.h
<<\_ACEOF
48576 #define wxUSE_MSGDLG 1
48581 if test "$wxUSE_NUMBERDLG" = "yes"; then
48582 cat >>confdefs.h
<<\_ACEOF
48583 #define wxUSE_NUMBERDLG 1
48588 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48589 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48590 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48591 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48593 cat >>confdefs.h
<<\_ACEOF
48594 #define wxUSE_PROGRESSDLG 1
48600 if test "$wxUSE_SPLASH" = "yes"; then
48601 cat >>confdefs.h
<<\_ACEOF
48602 #define wxUSE_SPLASH 1
48605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48608 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48609 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48610 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48611 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48613 cat >>confdefs.h
<<\_ACEOF
48614 #define wxUSE_STARTUP_TIPS 1
48620 if test "$wxUSE_TEXTDLG" = "yes"; then
48621 cat >>confdefs.h
<<\_ACEOF
48622 #define wxUSE_TEXTDLG 1
48627 if test "$wxUSE_WIZARDDLG" = "yes"; then
48628 cat >>confdefs.h
<<\_ACEOF
48629 #define wxUSE_WIZARDDLG 1
48632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48636 if test "$wxUSE_MSW" = 1 ; then
48638 if test "$wxUSE_DC_CACHEING" = "yes"; then
48639 cat >>confdefs.h
<<\_ACEOF
48640 #define wxUSE_DC_CACHEING 1
48645 if test "$wxUSE_DIB" = "yes"; then
48646 cat >>confdefs.h
<<\_ACEOF
48647 #define wxUSE_WXDIB 1
48652 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48653 cat >>confdefs.h
<<\_ACEOF
48654 #define wxUSE_OWNER_DRAWN 1
48659 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48660 cat >>confdefs.h
<<\_ACEOF
48661 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48666 if test "$wxUSE_UXTHEME" = "yes"; then
48667 cat >>confdefs.h
<<\_ACEOF
48668 #define wxUSE_UXTHEME 1
48676 if test "$USE_WIN32" = 1 ; then
48677 if test "$wxUSE_INICONF" = "yes"; then
48678 cat >>confdefs.h
<<\_ACEOF
48679 #define wxUSE_INICONF 1
48684 if test "$wxUSE_REGKEY" = "yes"; then
48685 cat >>confdefs.h
<<\_ACEOF
48686 #define wxUSE_REGKEY 1
48693 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48694 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48695 cat >>confdefs.h
<<\_ACEOF
48696 #define wxUSE_GRAPHICS_CONTEXT 1
48699 elif test "$wxUSE_GTK" != 1; then
48700 cat >>confdefs.h
<<\_ACEOF
48701 #define wxUSE_GRAPHICS_CONTEXT 1
48707 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48708 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48710 if test -n "$PKG_CONFIG"; then
48711 if test -n "$CAIRO_CFLAGS"; then
48712 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48714 if test -n "$PKG_CONFIG" && \
48715 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48716 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48719 (exit $ac_status); }; then
48720 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48728 if test -n "$PKG_CONFIG"; then
48729 if test -n "$CAIRO_LIBS"; then
48730 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48732 if test -n "$PKG_CONFIG" && \
48733 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48734 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48737 (exit $ac_status); }; then
48738 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48749 if test $pkg_failed = yes; then
48751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48752 _pkg_short_errors_supported
=yes
48754 _pkg_short_errors_supported
=no
48756 if test $_pkg_short_errors_supported = yes; then
48757 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48759 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48761 # Put the nasty error message in config.log where it belongs
48762 echo "$CAIRO_PKG_ERRORS" >&5
48764 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48765 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48767 elif test $pkg_failed = untried
; then
48768 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48769 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48772 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48773 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48774 { echo "$as_me:$LINENO: result: yes" >&5
48775 echo "${ECHO_T}yes" >&6; }
48776 cat >>confdefs.h
<<\_ACEOF
48777 #define wxUSE_GRAPHICS_CONTEXT 1
48787 if test "$wxUSE_MEDIACTRL" = "yes"; then
48790 if test "$wxUSE_GTK" = 1; then
48791 wxUSE_GSTREAMER
="no"
48793 GST_VERSION_MAJOR
=0
48794 GST_VERSION_MINOR
=10
48795 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48797 if test "$wxUSE_GSTREAMER8" = "no"; then
48800 { echo "$as_me:$LINENO: checking for GST" >&5
48801 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48803 if test -n "$PKG_CONFIG"; then
48804 if test -n "$GST_CFLAGS"; then
48805 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48807 if test -n "$PKG_CONFIG" && \
48808 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48809 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48812 (exit $ac_status); }; then
48813 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48821 if test -n "$PKG_CONFIG"; then
48822 if test -n "$GST_LIBS"; then
48823 pkg_cv_GST_LIBS
="$GST_LIBS"
48825 if test -n "$PKG_CONFIG" && \
48826 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48827 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48830 (exit $ac_status); }; then
48831 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48842 if test $pkg_failed = yes; then
48844 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48845 _pkg_short_errors_supported
=yes
48847 _pkg_short_errors_supported
=no
48849 if test $_pkg_short_errors_supported = yes; then
48850 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48852 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48854 # Put the nasty error message in config.log where it belongs
48855 echo "$GST_PKG_ERRORS" >&5
48858 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48859 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48860 GST_VERSION_MINOR
=8
48863 elif test $pkg_failed = untried
; then
48865 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48866 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48867 GST_VERSION_MINOR
=8
48871 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48872 GST_LIBS
=$pkg_cv_GST_LIBS
48873 { echo "$as_me:$LINENO: result: yes" >&5
48874 echo "${ECHO_T}yes" >&6; }
48876 wxUSE_GSTREAMER
="yes"
48877 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48881 GST_VERSION_MINOR
=8
48884 if test $GST_VERSION_MINOR = "8"; then
48885 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48888 { echo "$as_me:$LINENO: checking for GST" >&5
48889 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48891 if test -n "$PKG_CONFIG"; then
48892 if test -n "$GST_CFLAGS"; then
48893 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48895 if test -n "$PKG_CONFIG" && \
48896 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48897 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48900 (exit $ac_status); }; then
48901 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48909 if test -n "$PKG_CONFIG"; then
48910 if test -n "$GST_LIBS"; then
48911 pkg_cv_GST_LIBS
="$GST_LIBS"
48913 if test -n "$PKG_CONFIG" && \
48914 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48915 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48918 (exit $ac_status); }; then
48919 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48930 if test $pkg_failed = yes; then
48932 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48933 _pkg_short_errors_supported
=yes
48935 _pkg_short_errors_supported
=no
48937 if test $_pkg_short_errors_supported = yes; then
48938 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48940 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48942 # Put the nasty error message in config.log where it belongs
48943 echo "$GST_PKG_ERRORS" >&5
48946 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48947 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48949 elif test $pkg_failed = untried
; then
48951 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48952 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48955 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48956 GST_LIBS
=$pkg_cv_GST_LIBS
48957 { echo "$as_me:$LINENO: result: yes" >&5
48958 echo "${ECHO_T}yes" >&6; }
48959 wxUSE_GSTREAMER
="yes"
48964 if test "$wxUSE_GSTREAMER" = "yes"; then
48965 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
48966 LIBS
="$GST_LIBS $LIBS"
48968 cat >>confdefs.h
<<\_ACEOF
48969 #define wxUSE_GSTREAMER 1
48977 if test $USE_MEDIA = 1; then
48978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
48979 cat >>confdefs.h
<<\_ACEOF
48980 #define wxUSE_MEDIACTRL 1
48987 if test "$cross_compiling" = "yes"; then
48990 OSINFO
=`uname -s -r -m`
48991 OSINFO
="\"$OSINFO\""
48994 cat >>confdefs.h
<<_ACEOF
48995 #define WXWIN_OS_DESCRIPTION $OSINFO
49000 if test "x$prefix" != "xNONE"; then
49003 wxPREFIX
=$ac_default_prefix
49006 cat >>confdefs.h
<<_ACEOF
49007 #define wxINSTALL_PREFIX "$wxPREFIX"
49013 STD_BASE_LIBS
="base"
49015 BUILT_WX_LIBS
="base"
49016 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
49018 if test "$wxUSE_SOCKETS" = "yes" ; then
49019 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49020 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49022 if test "$wxUSE_XML" = "yes" ; then
49023 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49024 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49027 if test "$wxUSE_GUI" = "yes"; then
49028 STD_GUI_LIBS
="adv core"
49029 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49031 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49032 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49033 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49035 if test "$wxUSE_HTML" = "yes" ; then
49036 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49037 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49039 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49040 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49042 if test "$wxUSE_OPENGL" = "yes" ; then
49043 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49045 if test "$wxUSE_AUI" = "yes" ; then
49046 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49048 if test "$wxUSE_STC" = "yes" ; then
49049 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49051 if test "$wxUSE_XRC" = "yes" ; then
49052 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49053 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49064 if test "$wxUSE_MAC" = 1 ; then
49065 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49066 if test "$USE_DARWIN" = 1; then
49067 LDFLAGS
="$LDFLAGS -framework QuickTime"
49069 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49072 if test "$USE_DARWIN" = 1; then
49073 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49075 LDFLAGS
="$LDFLAGS -lCarbonLib"
49078 if test "$wxUSE_COCOA" = 1 ; then
49079 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49080 if test "$wxUSE_MEDIACTRL" = "yes"; then
49081 LDFLAGS
="$LDFLAGS -framework QuickTime"
49084 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49085 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49088 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49090 if test "$wxUSE_GUI" = "yes"; then
49093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49094 erase event exec font image minimal mobile \
49095 mobile/wxedit mobile/styles render \
49096 shaped svg taborder vscroll widgets"
49098 if test "$wxUSE_MONOLITHIC" != "yes"; then
49099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49101 if test "$TOOLKIT" = "MSW"; then
49102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49103 if test "$wxUSE_UNIVERSAL" != "yes"; then
49104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49107 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49111 SAMPLES_SUBDIRS
="console"
49115 if test "x$INTELCC" = "xyes" ; then
49116 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49117 elif test "$GCC" = yes ; then
49118 CWARNINGS
="-Wall -Wundef"
49121 if test "x$INTELCXX" = "xyes" ; then
49122 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49123 elif test "$GXX" = yes ; then
49124 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49128 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49129 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49132 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49133 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49134 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49137 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49138 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49139 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49141 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49144 if test "x$MWCC" = "xyes"; then
49146 CC
="$CC -cwd source -I-"
49147 CXX
="$CXX -cwd source -I-"
49152 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49153 EXTRALIBS_XML
="$EXPAT_LINK"
49154 EXTRALIBS_HTML
="$MSPACK_LINK"
49155 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49156 if test "$wxUSE_GUI" = "yes"; then
49157 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49159 if test "$wxUSE_OPENGL" = "yes"; then
49160 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49163 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49165 WXCONFIG_LIBS
="$LIBS"
49167 if test "$wxUSE_REGEX" = "builtin" ; then
49168 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49170 if test "$wxUSE_EXPAT" = "builtin" ; then
49171 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49173 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49174 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49176 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49177 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49179 if test "$wxUSE_LIBPNG" = "builtin" ; then
49180 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49182 if test "$wxUSE_ZLIB" = "builtin" ; then
49183 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49186 for i
in $wxconfig_3rdparty ; do
49187 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49191 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49194 case "$wxUNIV_THEMES" in
49196 cat >>confdefs.h
<<\_ACEOF
49197 #define wxUSE_ALL_THEMES 1
49203 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49204 cat >>confdefs.h
<<_ACEOF
49205 #define wxUSE_THEME_$t 1
49221 if test $wxUSE_MONOLITHIC = "yes" ; then
49227 if test $wxUSE_PLUGINS = "yes" ; then
49233 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49239 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49270 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr A-Z a-z`
49281 TOOLKIT_DESC
="GTK+"
49282 if test "$WXGTK2" = 1; then
49283 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49284 if test "$wxUSE_GTKPRINT" = "yes" ; then
49285 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49287 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49288 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49290 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49291 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49293 if test "$wxUSE_LIBHILDON" = "yes"; then
49294 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49297 if test "$TOOLKIT_EXTRA" != ""; then
49298 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49304 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49308 TOOLKIT_DESC
="base only"
49312 if test "$wxUSE_WINE" = "yes"; then
49313 BAKEFILE_FORCE_PLATFORM
=win32
49316 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49318 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49319 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49320 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49321 echo $ECHO_N "(cached) $ECHO_C" >&6
49324 echo '#include <stdio.h>
49325 const wchar_t test_var[] = L"awidetest";' > conftest.h
49327 echo '#include "conftest.h"
49330 printf("%ls", test_var);
49334 wx_cv_gcc_pch_bug
="pch not supported"
49336 if $CXX conftest.h
>/dev
/null
2>&1
49340 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49342 if tr -dc a
-z < conftest
$PROGRAM_EXT |
49343 grep awidetest
>/dev
/null
49345 wx_cv_gcc_pch_bug
=no
49347 wx_cv_gcc_pch_bug
=yes
49352 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49355 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49356 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49358 if test "$wx_cv_gcc_pch_bug" = yes; then
49366 if test "x$BAKEFILE_HOST" = "x"; then
49367 if test "x${host}" = "x" ; then
49368 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49369 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49370 { (exit 1); exit 1; }; }
49373 BAKEFILE_HOST
="${host}"
49376 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49378 if test -n "$ac_tool_prefix"; then
49379 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49380 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49383 if test "${ac_cv_prog_RANLIB+set}" = set; then
49384 echo $ECHO_N "(cached) $ECHO_C" >&6
49386 if test -n "$RANLIB"; then
49387 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49390 for as_dir
in $PATH
49393 test -z "$as_dir" && as_dir
=.
49394 for ac_exec_ext
in '' $ac_executable_extensions; do
49395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49396 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49406 RANLIB
=$ac_cv_prog_RANLIB
49407 if test -n "$RANLIB"; then
49408 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49409 echo "${ECHO_T}$RANLIB" >&6; }
49411 { echo "$as_me:$LINENO: result: no" >&5
49412 echo "${ECHO_T}no" >&6; }
49417 if test -z "$ac_cv_prog_RANLIB"; then
49418 ac_ct_RANLIB
=$RANLIB
49419 # Extract the first word of "ranlib", so it can be a program name with args.
49420 set dummy ranlib
; ac_word
=$2
49421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49423 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49424 echo $ECHO_N "(cached) $ECHO_C" >&6
49426 if test -n "$ac_ct_RANLIB"; then
49427 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49430 for as_dir
in $PATH
49433 test -z "$as_dir" && as_dir
=.
49434 for ac_exec_ext
in '' $ac_executable_extensions; do
49435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49436 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49446 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49447 if test -n "$ac_ct_RANLIB"; then
49448 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49449 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49451 { echo "$as_me:$LINENO: result: no" >&5
49452 echo "${ECHO_T}no" >&6; }
49455 if test "x$ac_ct_RANLIB" = x
; then
49458 case $cross_compiling:$ac_tool_warned in
49460 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49461 whose name does not start with the host triplet. If you think this
49462 configuration is useful to you, please write to autoconf@gnu.org." >&5
49463 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49464 whose name does not start with the host triplet. If you think this
49465 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49466 ac_tool_warned
=yes ;;
49468 RANLIB
=$ac_ct_RANLIB
49471 RANLIB
="$ac_cv_prog_RANLIB"
49474 # Find a good install program. We prefer a C program (faster),
49475 # so one script is as good as another. But avoid the broken or
49476 # incompatible versions:
49477 # SysV /etc/install, /usr/sbin/install
49478 # SunOS /usr/etc/install
49479 # IRIX /sbin/install
49481 # AmigaOS /C/install, which installs bootblocks on floppy discs
49482 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49483 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49484 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49485 # OS/2's system install, which has a completely different semantic
49486 # ./install, which can be erroneously created by make from ./install.sh.
49487 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49488 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49489 if test -z "$INSTALL"; then
49490 if test "${ac_cv_path_install+set}" = set; then
49491 echo $ECHO_N "(cached) $ECHO_C" >&6
49493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49494 for as_dir
in $PATH
49497 test -z "$as_dir" && as_dir
=.
49498 # Account for people who put trailing slashes in PATH elements.
49500 .
/ | .
// | /cC
/* | \
49501 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49502 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49505 # OSF1 and SCO ODT 3.0 have their own names for install.
49506 # Don't use installbsd from OSF since it installs stuff as root
49508 for ac_prog
in ginstall scoinst
install; do
49509 for ac_exec_ext
in '' $ac_executable_extensions; do
49510 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49511 if test $ac_prog = install &&
49512 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49513 # AIX install. It has an incompatible calling convention.
49515 elif test $ac_prog = install &&
49516 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49517 # program-specific install script used by HP pwplus--don't use.
49520 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49533 if test "${ac_cv_path_install+set}" = set; then
49534 INSTALL
=$ac_cv_path_install
49536 # As a last resort, use the slow shell script. Don't cache a
49537 # value for INSTALL within a source directory, because that will
49538 # break other packages using the cache if that directory is
49539 # removed, or if the value is a relative name.
49540 INSTALL
=$ac_install_sh
49543 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49544 echo "${ECHO_T}$INSTALL" >&6; }
49546 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49547 # It thinks the first close brace ends the variable substitution.
49548 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49550 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49552 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49554 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49555 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49557 if test "$LN_S" = "ln -s"; then
49558 { echo "$as_me:$LINENO: result: yes" >&5
49559 echo "${ECHO_T}yes" >&6; }
49561 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49562 echo "${ECHO_T}no, using $LN_S" >&6; }
49566 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49567 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49568 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49569 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49570 echo $ECHO_N "(cached) $ECHO_C" >&6
49572 cat >conftest.
make <<\_ACEOF
49575 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49577 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49578 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49579 *@@@
%%%=?
*=@@@
%%%*)
49580 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49582 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49584 rm -f conftest.
make
49586 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49587 { echo "$as_me:$LINENO: result: yes" >&5
49588 echo "${ECHO_T}yes" >&6; }
49591 { echo "$as_me:$LINENO: result: no" >&5
49592 echo "${ECHO_T}no" >&6; }
49593 SET_MAKE
="MAKE=${MAKE-make}"
49598 if test "x$SUNCXX" = "xyes"; then
49600 AROPTIONS
="-xar -o"
49602 elif test "x$SGICC" = "xyes"; then
49607 if test -n "$ac_tool_prefix"; then
49608 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49609 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49612 if test "${ac_cv_prog_AR+set}" = set; then
49613 echo $ECHO_N "(cached) $ECHO_C" >&6
49615 if test -n "$AR"; then
49616 ac_cv_prog_AR
="$AR" # Let the user override the test.
49618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49619 for as_dir
in $PATH
49622 test -z "$as_dir" && as_dir
=.
49623 for ac_exec_ext
in '' $ac_executable_extensions; do
49624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49625 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49636 if test -n "$AR"; then
49637 { echo "$as_me:$LINENO: result: $AR" >&5
49638 echo "${ECHO_T}$AR" >&6; }
49640 { echo "$as_me:$LINENO: result: no" >&5
49641 echo "${ECHO_T}no" >&6; }
49646 if test -z "$ac_cv_prog_AR"; then
49648 # Extract the first word of "ar", so it can be a program name with args.
49649 set dummy
ar; ac_word
=$2
49650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49652 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49653 echo $ECHO_N "(cached) $ECHO_C" >&6
49655 if test -n "$ac_ct_AR"; then
49656 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49659 for as_dir
in $PATH
49662 test -z "$as_dir" && as_dir
=.
49663 for ac_exec_ext
in '' $ac_executable_extensions; do
49664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49665 ac_cv_prog_ac_ct_AR
="ar"
49666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49675 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49676 if test -n "$ac_ct_AR"; then
49677 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49678 echo "${ECHO_T}$ac_ct_AR" >&6; }
49680 { echo "$as_me:$LINENO: result: no" >&5
49681 echo "${ECHO_T}no" >&6; }
49684 if test "x$ac_ct_AR" = x
; then
49687 case $cross_compiling:$ac_tool_warned in
49689 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49690 whose name does not start with the host triplet. If you think this
49691 configuration is useful to you, please write to autoconf@gnu.org." >&5
49692 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49693 whose name does not start with the host triplet. If you think this
49694 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49695 ac_tool_warned
=yes ;;
49700 AR
="$ac_cv_prog_AR"
49707 if test -n "$ac_tool_prefix"; then
49708 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49709 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49712 if test "${ac_cv_prog_STRIP+set}" = set; then
49713 echo $ECHO_N "(cached) $ECHO_C" >&6
49715 if test -n "$STRIP"; then
49716 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49719 for as_dir
in $PATH
49722 test -z "$as_dir" && as_dir
=.
49723 for ac_exec_ext
in '' $ac_executable_extensions; do
49724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49725 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49735 STRIP
=$ac_cv_prog_STRIP
49736 if test -n "$STRIP"; then
49737 { echo "$as_me:$LINENO: result: $STRIP" >&5
49738 echo "${ECHO_T}$STRIP" >&6; }
49740 { echo "$as_me:$LINENO: result: no" >&5
49741 echo "${ECHO_T}no" >&6; }
49746 if test -z "$ac_cv_prog_STRIP"; then
49748 # Extract the first word of "strip", so it can be a program name with args.
49749 set dummy strip
; ac_word
=$2
49750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49752 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49753 echo $ECHO_N "(cached) $ECHO_C" >&6
49755 if test -n "$ac_ct_STRIP"; then
49756 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49759 for as_dir
in $PATH
49762 test -z "$as_dir" && as_dir
=.
49763 for ac_exec_ext
in '' $ac_executable_extensions; do
49764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49765 ac_cv_prog_ac_ct_STRIP
="strip"
49766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49775 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49776 if test -n "$ac_ct_STRIP"; then
49777 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49778 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49780 { echo "$as_me:$LINENO: result: no" >&5
49781 echo "${ECHO_T}no" >&6; }
49784 if test "x$ac_ct_STRIP" = x
; then
49787 case $cross_compiling:$ac_tool_warned in
49789 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49790 whose name does not start with the host triplet. If you think this
49791 configuration is useful to you, please write to autoconf@gnu.org." >&5
49792 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49793 whose name does not start with the host triplet. If you think this
49794 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49795 ac_tool_warned
=yes ;;
49800 STRIP
="$ac_cv_prog_STRIP"
49803 if test -n "$ac_tool_prefix"; then
49804 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49805 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49808 if test "${ac_cv_prog_NM+set}" = set; then
49809 echo $ECHO_N "(cached) $ECHO_C" >&6
49811 if test -n "$NM"; then
49812 ac_cv_prog_NM
="$NM" # Let the user override the test.
49814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49815 for as_dir
in $PATH
49818 test -z "$as_dir" && as_dir
=.
49819 for ac_exec_ext
in '' $ac_executable_extensions; do
49820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49821 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49832 if test -n "$NM"; then
49833 { echo "$as_me:$LINENO: result: $NM" >&5
49834 echo "${ECHO_T}$NM" >&6; }
49836 { echo "$as_me:$LINENO: result: no" >&5
49837 echo "${ECHO_T}no" >&6; }
49842 if test -z "$ac_cv_prog_NM"; then
49844 # Extract the first word of "nm", so it can be a program name with args.
49845 set dummy nm
; ac_word
=$2
49846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49848 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49849 echo $ECHO_N "(cached) $ECHO_C" >&6
49851 if test -n "$ac_ct_NM"; then
49852 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49855 for as_dir
in $PATH
49858 test -z "$as_dir" && as_dir
=.
49859 for ac_exec_ext
in '' $ac_executable_extensions; do
49860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49861 ac_cv_prog_ac_ct_NM
="nm"
49862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49871 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49872 if test -n "$ac_ct_NM"; then
49873 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49874 echo "${ECHO_T}$ac_ct_NM" >&6; }
49876 { echo "$as_me:$LINENO: result: no" >&5
49877 echo "${ECHO_T}no" >&6; }
49880 if test "x$ac_ct_NM" = x
; then
49883 case $cross_compiling:$ac_tool_warned in
49885 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49886 whose name does not start with the host triplet. If you think this
49887 configuration is useful to you, please write to autoconf@gnu.org." >&5
49888 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49889 whose name does not start with the host triplet. If you think this
49890 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49891 ac_tool_warned
=yes ;;
49896 NM
="$ac_cv_prog_NM"
49900 case ${BAKEFILE_HOST} in
49902 INSTALL_DIR
="mkdir -p"
49905 INSTALL_DIR
='$(INSTALL) -d'
49911 case ${BAKEFILE_HOST} in
49912 *-*-cygwin* | *-*-mingw32* )
49913 LDFLAGS_GUI
="-mwindows"
49919 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49920 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49921 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49922 echo $ECHO_N "(cached) $ECHO_C" >&6
49925 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49926 egrep -s GNU
> /dev
/null
); then
49927 bakefile_cv_prog_makeisgnu
="yes"
49929 bakefile_cv_prog_makeisgnu
="no"
49933 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49934 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49936 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49953 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49954 case "${BAKEFILE_HOST}" in
49961 *-pc-os2_emx | *-pc-os2-emx )
49971 powerpc
-apple-macos* )
49980 case "$BAKEFILE_FORCE_PLATFORM" in
50015 # Check whether --enable-omf was given.
50016 if test "${enable_omf+set}" = set; then
50017 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50021 case "${BAKEFILE_HOST}" in
50023 if test "x$GCC" = "xyes"; then
50024 CFLAGS
="$CFLAGS -fno-common"
50025 CXXFLAGS
="$CXXFLAGS -fno-common"
50027 if test "x$XLCC" = "xyes"; then
50028 CFLAGS
="$CFLAGS -qnocommon"
50029 CXXFLAGS
="$CXXFLAGS -qnocommon"
50033 *-pc-os2_emx | *-pc-os2-emx )
50034 if test "x$bk_os2_use_omf" = "xyes" ; then
50037 LDFLAGS
="-Zomf $LDFLAGS"
50038 CFLAGS
="-Zomf $CFLAGS"
50039 CXXFLAGS
="-Zomf $CXXFLAGS"
50047 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50053 SO_SUFFIX_MODULE
="so"
50058 DLLPREFIX_MODULE
=""
50062 case "${BAKEFILE_HOST}" in
50065 SO_SUFFIX_MODULE
="sl"
50069 SO_SUFFIX_MODULE
="a"
50073 SO_SUFFIX_MODULE
="dll"
50074 DLLIMP_SUFFIX
="dll.a"
50081 SO_SUFFIX_MODULE
="dll"
50082 DLLIMP_SUFFIX
="dll.a"
50092 *-pc-os2_emx | *-pc-os2-emx )
50094 SO_SUFFIX_MODULE
="dll"
50095 DLLIMP_SUFFIX
=$OS2_LIBEXT
50099 LIBEXT
=".$OS2_LIBEXT"
50104 SO_SUFFIX_MODULE
="bundle"
50108 if test "x$DLLIMP_SUFFIX" = "x" ; then
50109 DLLIMP_SUFFIX
="$SO_SUFFIX"
50124 if test "x$GCC" = "xyes"; then
50128 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50129 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50132 case "${BAKEFILE_HOST}" in
50134 if test "x$GCC" != "xyes"; then
50135 LDFLAGS
="$LDFLAGS -L/usr/lib"
50137 SHARED_LD_CC
="${CC} -b -o"
50138 SHARED_LD_CXX
="${CXX} -b -o"
50144 if test "$INTELCC" = "yes"; then
50146 elif test "x$SUNCXX" = "xyes"; then
50147 SHARED_LD_CC
="${CC} -G -o"
50148 SHARED_LD_CXX
="${CXX} -G -o"
50154 if test "x$SUNCXX" = xyes
; then
50155 SHARED_LD_CC
="${CC} -G -o"
50156 SHARED_LD_CXX
="${CXX} -G -o"
50164 cat <<EOF >shared-ld-sh
50166 #-----------------------------------------------------------------------------
50167 #-- Name: distrib/mac/shared-ld-sh
50168 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50169 #-- Author: Gilles Depeyrot
50170 #-- Copyright: (c) 2002 Gilles Depeyrot
50171 #-- Licence: any use permitted
50172 #-----------------------------------------------------------------------------
50177 linking_flag="-dynamiclib"
50178 ldargs="-r -keep_private_externs -nostdlib"
50180 while test ${D}# -gt 0; do
50187 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50188 # collect these options and values
50189 args="${D}{args} ${D}1 ${D}2"
50194 # collect these load args
50195 ldargs="${D}{ldargs} ${D}1"
50198 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50199 # collect these options
50200 args="${D}{args} ${D}1"
50203 -dynamiclib|-bundle)
50204 linking_flag="${D}1"
50208 echo "shared-ld: unhandled option '${D}1'"
50212 *.o | *.a | *.dylib)
50213 # collect object files
50214 objects="${D}{objects} ${D}1"
50218 echo "shared-ld: unhandled argument '${D}1'"
50229 # Link one module containing all the others
50231 if test ${D}{verbose} = 1; then
50232 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50234 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50238 # Link the shared library from the single module created, but only if the
50239 # previous command didn't fail:
50241 if test ${D}{status} = 0; then
50242 if test ${D}{verbose} = 1; then
50243 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50245 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50250 # Remove intermediate module
50252 rm -f master.${D}${D}.o
50257 chmod +x shared
-ld-sh
50259 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50260 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50263 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50264 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50265 if test "${bakefile_cv_gcc31+set}" = set; then
50266 echo $ECHO_N "(cached) $ECHO_C" >&6
50269 cat >conftest.
$ac_ext <<_ACEOF
50272 cat confdefs.h
>>conftest.
$ac_ext
50273 cat >>conftest.
$ac_ext <<_ACEOF
50274 /* end confdefs.h. */
50280 #if (__GNUC__ < 3) || \
50281 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50289 rm -f conftest.
$ac_objext
50290 if { (ac_try
="$ac_compile"
50291 case "(($ac_try" in
50292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50293 *) ac_try_echo=$ac_try;;
50295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50296 (eval "$ac_compile") 2>conftest.er1
50298 grep -v '^ *+' conftest.er1 >conftest.err
50300 cat conftest.err >&5
50301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50302 (exit $ac_status); } && {
50303 test -z "$ac_c_werror_flag" ||
50304 test ! -s conftest.err
50305 } && test -s conftest.$ac_objext; then
50307 bakefile_cv_gcc31=yes
50310 echo "$as_me: failed program was:" >&5
50311 sed 's/^/| /' conftest.$ac_ext >&5
50314 bakefile_cv_gcc31=no
50319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50322 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50323 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50324 if test "$bakefile_cv_gcc31" = "no"; then
50325 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50326 SHARED_LD_CXX="$SHARED_LD_CC"
50328 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50329 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50332 if test "x$GCC" == "xyes"; then
50333 PIC_FLAG="-dynamic -fPIC"
50335 if test "x$XLCC" = "xyes"; then
50336 PIC_FLAG="-dynamic -DPIC"
50341 if test "x$GCC" = "xyes"; then
50344 case "${BAKEFILE_HOST}" in
50346 LD_EXPFULL="-Wl,-bexpfull"
50350 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50351 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50353 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50354 set dummy makeC++SharedLib; ac_word=$2
50355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50357 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50358 echo $ECHO_N "(cached) $ECHO_C" >&6
50360 if test -n "$AIX_CXX_LD"; then
50361 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50364 for as_dir in $PATH
50367 test -z "$as_dir" && as_dir=.
50368 for ac_exec_ext in '' $ac_executable_extensions; do
50369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50370 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50378 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50381 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50382 if test -n "$AIX_CXX_LD"; then
50383 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50384 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50386 { echo "$as_me:$LINENO: result: no" >&5
50387 echo "${ECHO_T}no" >&6; }
50391 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50392 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50397 SHARED_LD_CC="${LD} -nostart -o"
50398 SHARED_LD_CXX="${LD} -nostart -o"
50402 if test "x$GCC" != "xyes"; then
50407 *-*-cygwin* | *-*-mingw32* )
50409 SHARED_LD_CC="\$(CC) -shared -o"
50410 SHARED_LD_CXX="\$(CXX) -shared -o"
50414 *-pc-os2_emx | *-pc-os2-emx )
50415 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50416 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50420 cat <<EOF >dllar.sh
50423 # dllar - a tool to build both a .dll and an .a file
50424 # from a set of object (.o) files for EMX/OS2.
50426 # Written by Andrew Zabolotny, bit@freya.etu.ru
50427 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50429 # This script will accept a set of files on the command line.
50430 # All the public symbols from the .o files will be exported into
50431 # a .DEF file, then linker will be run (through gcc) against them to
50432 # build a shared library consisting of all given .o files. All libraries
50433 # (.a) will be first decompressed into component .o files then act as
50434 # described above. You can optionally give a description (-d "description")
50435 # which will be put into .DLL. To see the list of accepted options (as well
50436 # as command-line format) simply run this program without options. The .DLL
50437 # is built to be imported by name (there is no guarantee that new versions
50438 # of the library you build will have same ordinals for same symbols).
50440 # dllar is free software; you can redistribute it and/or modify
50441 # it under the terms of the GNU General Public License as published by
50442 # the Free Software Foundation; either version 2, or (at your option)
50443 # any later version.
50445 # dllar is distributed in the hope that it will be useful,
50446 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50447 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50448 # GNU General Public License for more details.
50450 # You should have received a copy of the GNU General Public License
50451 # along with dllar; see the file COPYING. If not, write to the Free
50452 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50455 # To successfuly run this program you will need:
50456 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50457 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50459 # (used to build the .dll)
50461 # (used to create .def file from .o files)
50463 # (used to create .a file from .def file)
50464 # - GNU text utilites (cat, sort, uniq)
50465 # used to process emxexp output
50466 # - GNU file utilities (mv, rm)
50468 # - lxlite (optional, see flag below)
50469 # (used for general .dll cleanup)
50476 # basnam, variant of basename, which does _not_ remove the path, _iff_
50477 # second argument (suffix to remove) is given
50481 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50484 echo ${D}1 | sed 's/'${D}2'${D}//'
50487 echo "error in basnam ${D}*"
50493 # Cleanup temporary files and output
50496 for i in ${D}inputFiles ; do
50499 rm -rf \`basnam
${D}i
!\
`
50506 # Kill result in case of failure as there is just to many stupid make/nmake
50507 # things out there which doesn't do this.
50508 if [ ${D}# -eq 0 ]; then
50509 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50513 # Print usage and exit script with rc=1.
50515 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50516 echo ' [-name-mangler-script script.sh]'
50517 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50518 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50519 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50520 echo ' [*.o] [*.a]'
50521 echo '*> "output_file" should have no extension.'
50522 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50523 echo ' The import library name is derived from this and is set to "name".a,'
50524 echo ' unless overridden by -import'
50525 echo '*> "importlib_name" should have no extension.'
50526 echo ' If it has the .o, or .a extension, it is automatically removed.'
50527 echo ' This name is used as the import library name and may be longer and'
50528 echo ' more descriptive than the DLL name which has to follow the old '
50529 echo ' 8.3 convention of FAT.'
50530 echo '*> "script.sh may be given to override the output_file name by a'
50531 echo ' different name. It is mainly useful if the regular make process'
50532 echo ' of some package does not take into account OS/2 restriction of'
50533 echo ' DLL name lengths. It takes the importlib name as input and is'
50534 echo ' supposed to procude a shorter name as output. The script should'
50535 echo ' expect to get importlib_name without extension and should produce'
50536 echo ' a (max.) 8 letter name without extension.'
50537 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50538 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50539 echo ' These flags will be put at the start of GCC command line.'
50540 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50541 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50542 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50543 echo ' If the last character of a symbol is "*", all symbols beginning'
50544 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50545 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50546 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50547 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50548 echo ' C runtime DLLs.'
50549 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50550 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50551 echo ' unchanged to GCC at the end of command line.'
50552 echo '*> If you create a DLL from a library and you do not specify -o,'
50553 echo ' the basename for DLL and import library will be set to library name,'
50554 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50555 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50556 echo ' library will be renamed into gcc_s.a.'
50559 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50560 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50565 # Execute a command.
50566 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50567 # @Uses Whatever CleanUp() uses.
50573 if [ ${D}rcCmd -ne 0 ]; then
50574 echo "command failed, exit code="${D}rcCmd
50589 CFLAGS="-s -Zcrtdll"
50591 EXPORT_BY_ORDINALS=0
50596 case ${D}curDirS in
50600 curDirS=${D}{curDirS}"/"
50603 # Parse commandline
50606 while [ ${D}1 ]; do
50609 EXPORT_BY_ORDINALS=1;
50619 -name-mangler-script)
50640 exclude_symbols=${D}{exclude_symbols}${D}1" "
50644 library_flags=${D}{library_flags}${D}1" "
50663 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50666 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50667 if [ ${D}omfLinking -eq 1 ]; then
50668 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50670 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50675 if [ ${D}libsToLink -ne 0 ]; then
50676 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50678 for file in ${D}1 ; do
50679 if [ -f ${D}file ]; then
50680 inputFiles="${D}{inputFiles} ${D}file"
50684 if [ ${D}found -eq 0 ]; then
50685 echo "ERROR: No file(s) found: "${D}1
50692 done # iterate cmdline words
50695 if [ -z "${D}inputFiles" ]; then
50696 echo "dllar: no input files"
50700 # Now extract all .o files from .a files
50702 for file in ${D}inputFiles ; do
50713 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50718 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50720 if [ ${D}? -ne 0 ]; then
50721 echo "Failed to create subdirectory ./${D}dirname"
50725 # Append '!' to indicate archive
50726 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50727 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50730 for subfile in ${D}dirname/*.o* ; do
50731 if [ -f ${D}subfile ]; then
50733 if [ -s ${D}subfile ]; then
50734 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50735 newInputFiles="${D}newInputFiles ${D}subfile"
50739 if [ ${D}found -eq 0 ]; then
50740 echo "WARNING: there are no files in archive \\'${D}file\\'"
50744 newInputFiles="${D}{newInputFiles} ${D}file"
50748 inputFiles="${D}newInputFiles"
50750 # Output filename(s).
50752 if [ -z ${D}outFile ]; then
50754 set outFile ${D}inputFiles; outFile=${D}2
50757 # If it is an archive, remove the '!' and the '_%' suffixes
50758 case ${D}outFile in
50760 outFile=\`basnam
${D}outFile _
%!\
`
50765 case ${D}outFile in
50767 outFile=\`basnam
${D}outFile .dll\
`
50770 outFile=\`basnam
${D}outFile .DLL\
`
50773 outFile=\`basnam
${D}outFile .o\
`
50776 outFile=\`basnam
${D}outFile .obj\
`
50779 outFile=\`basnam
${D}outFile .a\
`
50782 outFile=\`basnam
${D}outFile .lib\
`
50787 case ${D}outimpFile in
50789 outimpFile=\`basnam
${D}outimpFile .a\
`
50792 outimpFile=\`basnam
${D}outimpFile .lib\
`
50797 if [ -z ${D}outimpFile ]; then
50798 outimpFile=${D}outFile
50800 defFile="${D}{outFile}.def"
50801 arcFile="${D}{outimpFile}.a"
50802 arcFile2="${D}{outimpFile}.lib"
50804 #create ${D}dllFile as something matching 8.3 restrictions,
50805 if [ -z ${D}renameScript ] ; then
50806 dllFile="${D}outFile"
50808 dllFile=\`${D}renameScript
${D}outimpFile\
`
50811 if [ ${D}do_backup -ne 0 ] ; then
50812 if [ -f ${D}arcFile ] ; then
50813 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50815 if [ -f ${D}arcFile2 ] ; then
50816 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50820 # Extract public symbols from all the object files.
50821 tmpdefFile=${D}{defFile}_%
50822 rm -f ${D}tmpdefFile
50823 for file in ${D}inputFiles ; do
50828 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50833 # Create the def file.
50835 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50836 dllFile="${D}{dllFile}.dll"
50837 if [ ! -z ${D}description ]; then
50838 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50840 echo "EXPORTS" >> ${D}defFile
50842 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50843 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50845 # Checks if the export is ok or not.
50846 for word in ${D}exclude_symbols; do
50847 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50848 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50852 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50853 sed "=" < ${D}tmpdefFile | \\
50857 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50859 ' > ${D}{tmpdefFile}%
50860 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50862 rm -f ${D}{tmpdefFile}%
50864 cat ${D}tmpdefFile >> ${D}defFile
50865 rm -f ${D}tmpdefFile
50867 # Do linking, create implib, and apply lxlite.
50869 for file in ${D}inputFiles ; do
50874 gccCmdl="${D}gccCmdl ${D}file"
50878 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50879 touch "${D}{outFile}.dll"
50881 doCommand "emximp -o ${D}arcFile ${D}defFile"
50882 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50884 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50887 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50889 doCommand "emxomf -s -l ${D}arcFile"
50899 powerpc-apple-macos* | \
50900 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50910 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50911 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50912 { (exit 1); exit 1; }; }
50915 if test "x$PIC_FLAG" != "x" ; then
50916 PIC_FLAG="$PIC_FLAG -DPIC"
50919 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50920 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50922 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50923 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50942 case "${BAKEFILE_HOST}" in
50943 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50944 if test "x$SUNCXX" = "xyes"; then
50947 SONAME_FLAG="-Wl,-soname,"
50982 # Check whether --enable-dependency-tracking was given.
50983 if test "${enable_dependency_tracking+set}" = set; then
50984 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50988 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50989 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50992 if test "x$bk_use_trackdeps" = "xno" ; then
50994 { echo "$as_me:$LINENO: result: disabled" >&5
50995 echo "${ECHO_T}disabled" >&6; }
50999 if test "x$GCC" = "xyes"; then
51001 case "${BAKEFILE_HOST}" in
51003 DEPSFLAG="-no-cpp-precomp -MMD"
51009 { echo "$as_me:$LINENO: result: gcc" >&5
51010 echo "${ECHO_T}gcc" >&6; }
51011 elif test "x$MWCC" = "xyes"; then
51014 { echo "$as_me:$LINENO: result: mwcc" >&5
51015 echo "${ECHO_T}mwcc" >&6; }
51016 elif test "x$SUNCC" = "xyes"; then
51019 { echo "$as_me:$LINENO: result: Sun cc" >&5
51020 echo "${ECHO_T}Sun cc" >&6; }
51021 elif test "x$SGICC" = "xyes"; then
51024 { echo "$as_me:$LINENO: result: SGI cc" >&5
51025 echo "${ECHO_T}SGI cc" >&6; }
51026 elif test "x$HPCC" = "xyes"; then
51029 { echo "$as_me:$LINENO: result: HP cc" >&5
51030 echo "${ECHO_T}HP cc" >&6; }
51031 elif test "x$COMPAQCC" = "xyes"; then
51034 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51035 echo "${ECHO_T}Compaq cc" >&6; }
51038 { echo "$as_me:$LINENO: result: none" >&5
51039 echo "${ECHO_T}none" >&6; }
51042 if test $DEPS_TRACKING = 1 ; then
51048 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51049 # script. It is used to track C/C++ files dependencies in portable way.
51051 # Permission is given to use this file in any way.
51053 DEPSMODE=${DEPSMODE}
51055 DEPSFLAG="${DEPSFLAG}"
51057 mkdir -p ${D}DEPSDIR
51059 if test ${D}DEPSMODE = gcc ; then
51060 ${D}* ${D}{DEPSFLAG}
51062 if test ${D}{status} != 0 ; then
51065 # move created file to the location we want it in:
51066 while test ${D}# -gt 0; do
51080 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51081 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51082 if test -f ${D}depfile ; then
51083 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51086 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51087 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51088 if test ! -f ${D}depfile ; then
51089 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51090 depfile="${D}objfile.d"
51092 if test -f ${D}depfile ; then
51093 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51098 elif test ${D}DEPSMODE = mwcc ; then
51099 ${D}* || exit ${D}?
51100 # Run mwcc again with -MM and redirect into the dep file we want
51101 # NOTE: We can't use shift here because we need ${D}* to be valid
51103 for arg in ${D}* ; do
51104 if test "${D}prevarg" = "-o"; then
51117 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51119 elif test ${D}DEPSMODE = unixcc; then
51120 ${D}* || exit ${D}?
51121 # Run compiler again with deps flag and redirect into the dep file.
51122 # It doesn't work if the '-o FILE' option is used, but without it the
51123 # dependency file will contain the wrong name for the object. So it is
51124 # removed from the command line, and the dep file is fixed with sed.
51126 while test ${D}# -gt 0; do
51133 eval arg${D}#=\\${D}1
51134 cmd="${D}cmd \\${D}arg${D}#"
51139 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51148 BK_DEPS="`pwd`/bk-deps"
51156 case ${BAKEFILE_HOST} in
51157 *-*-cygwin* | *-*-mingw32* )
51158 if test -n "$ac_tool_prefix"; then
51159 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51160 set dummy ${ac_tool_prefix}windres; ac_word=$2
51161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51163 if test "${ac_cv_prog_WINDRES+set}" = set; then
51164 echo $ECHO_N "(cached) $ECHO_C" >&6
51166 if test -n "$WINDRES"; then
51167 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51170 for as_dir in $PATH
51173 test -z "$as_dir" && as_dir=.
51174 for ac_exec_ext in '' $ac_executable_extensions; do
51175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51176 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51186 WINDRES=$ac_cv_prog_WINDRES
51187 if test -n "$WINDRES"; then
51188 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51189 echo "${ECHO_T}$WINDRES" >&6; }
51191 { echo "$as_me:$LINENO: result: no" >&5
51192 echo "${ECHO_T}no" >&6; }
51197 if test -z "$ac_cv_prog_WINDRES"; then
51198 ac_ct_WINDRES=$WINDRES
51199 # Extract the first word of "windres", so it can be a program name with args.
51200 set dummy windres; ac_word=$2
51201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51203 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51204 echo $ECHO_N "(cached) $ECHO_C" >&6
51206 if test -n "$ac_ct_WINDRES"; then
51207 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51210 for as_dir in $PATH
51213 test -z "$as_dir" && as_dir=.
51214 for ac_exec_ext in '' $ac_executable_extensions; do
51215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51216 ac_cv_prog_ac_ct_WINDRES="windres"
51217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51226 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51227 if test -n "$ac_ct_WINDRES"; then
51228 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51229 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51231 { echo "$as_me:$LINENO: result: no" >&5
51232 echo "${ECHO_T}no" >&6; }
51235 if test "x$ac_ct_WINDRES" = x; then
51238 case $cross_compiling:$ac_tool_warned in
51240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51241 whose name does not start with the host triplet. If you think this
51242 configuration is useful to you, please write to autoconf@gnu.org." >&5
51243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51244 whose name does not start with the host triplet. If you think this
51245 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51246 ac_tool_warned=yes ;;
51248 WINDRES=$ac_ct_WINDRES
51251 WINDRES="$ac_cv_prog_WINDRES"
51256 *-*-darwin* | powerpc-apple-macos* )
51257 # Extract the first word of "Rez", so it can be a program name with args.
51258 set dummy Rez; ac_word=$2
51259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51261 if test "${ac_cv_prog_REZ+set}" = set; then
51262 echo $ECHO_N "(cached) $ECHO_C" >&6
51264 if test -n "$REZ"; then
51265 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51268 for as_dir in $PATH
51271 test -z "$as_dir" && as_dir=.
51272 for ac_exec_ext in '' $ac_executable_extensions; do
51273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51274 ac_cv_prog_REZ="Rez"
51275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51282 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51285 REZ=$ac_cv_prog_REZ
51286 if test -n "$REZ"; then
51287 { echo "$as_me:$LINENO: result: $REZ" >&5
51288 echo "${ECHO_T}$REZ" >&6; }
51290 { echo "$as_me:$LINENO: result: no" >&5
51291 echo "${ECHO_T}no" >&6; }
51295 # Extract the first word of "SetFile", so it can be a program name with args.
51296 set dummy SetFile; ac_word=$2
51297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51299 if test "${ac_cv_prog_SETFILE+set}" = set; then
51300 echo $ECHO_N "(cached) $ECHO_C" >&6
51302 if test -n "$SETFILE"; then
51303 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51306 for as_dir in $PATH
51309 test -z "$as_dir" && as_dir=.
51310 for ac_exec_ext in '' $ac_executable_extensions; do
51311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51312 ac_cv_prog_SETFILE="SetFile"
51313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51320 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51323 SETFILE=$ac_cv_prog_SETFILE
51324 if test -n "$SETFILE"; then
51325 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51326 echo "${ECHO_T}$SETFILE" >&6; }
51328 { echo "$as_me:$LINENO: result: no" >&5
51329 echo "${ECHO_T}no" >&6; }
51341 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51344 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51348 # Check whether --enable-precomp-headers was given.
51349 if test "${enable_precomp_headers+set}" = set; then
51350 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51359 case ${BAKEFILE_HOST} in
51365 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51366 if test "x$GCC" = "xyes"; then
51367 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51368 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51369 cat >conftest.$ac_ext <<_ACEOF
51372 cat confdefs.h >>conftest.$ac_ext
51373 cat >>conftest.$ac_ext <<_ACEOF
51374 /* end confdefs.h. */
51380 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51381 There is no PCH support
51384 There is no PCH support
51386 #if (__GNUC__ == 3) && \
51387 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51388 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51389 ( defined(__INTEL_COMPILER) )
51390 There is no PCH support
51397 rm -f conftest.$ac_objext
51398 if { (ac_try="$ac_compile"
51399 case "(($ac_try" in
51400 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51401 *) ac_try_echo
=$ac_try;;
51403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51404 (eval "$ac_compile") 2>conftest.er1
51406 grep -v '^ *+' conftest.er1
>conftest.err
51408 cat conftest.err
>&5
51409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51410 (exit $ac_status); } && {
51411 test -z "$ac_c_werror_flag" ||
51412 test ! -s conftest.err
51413 } && test -s conftest.
$ac_objext; then
51415 { echo "$as_me:$LINENO: result: yes" >&5
51416 echo "${ECHO_T}yes" >&6; }
51420 echo "$as_me: failed program was:" >&5
51421 sed 's/^/| /' conftest.
$ac_ext >&5
51424 cat >conftest.
$ac_ext <<_ACEOF
51427 cat confdefs.h
>>conftest.
$ac_ext
51428 cat >>conftest.
$ac_ext <<_ACEOF
51429 /* end confdefs.h. */
51435 #if !defined(__INTEL_COMPILER) || \
51436 (__INTEL_COMPILER < 800)
51437 There is no PCH support
51444 rm -f conftest.
$ac_objext
51445 if { (ac_try
="$ac_compile"
51446 case "(($ac_try" in
51447 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51448 *) ac_try_echo=$ac_try;;
51450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51451 (eval "$ac_compile") 2>conftest.er1
51453 grep -v '^ *+' conftest.er1 >conftest.err
51455 cat conftest.err >&5
51456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457 (exit $ac_status); } && {
51458 test -z "$ac_c_werror_flag" ||
51459 test ! -s conftest.err
51460 } && test -s conftest.$ac_objext; then
51462 { echo "$as_me:$LINENO: result: yes" >&5
51463 echo "${ECHO_T}yes" >&6; }
51467 echo "$as_me: failed program was:" >&5
51468 sed 's/^/| /' conftest.$ac_ext >&5
51471 { echo "$as_me:$LINENO: result: no" >&5
51472 echo "${ECHO_T}no" >&6; }
51476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51481 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51485 cat <<EOF >bk-make-pch
51488 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51489 # script. It is used to generated precompiled headers.
51491 # Permission is given to use this file in any way.
51501 while test ${D}{#} -gt 0; do
51505 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51506 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51507 headerfile="${D}{incdir}/${D}{header}"
51510 -use-pch|-use_pch )
51515 if test ${D}add_to_cmdline = 1 ; then
51516 compiler="${D}{compiler} ${D}{1}"
51521 if test "x${D}{headerfile}" = "x" ; then
51522 echo "error: can't find header ${D}{header} in include paths" >&2
51524 if test -f ${D}{outfile} ; then
51525 rm -f ${D}{outfile}
51527 mkdir -p \`dirname ${D}{outfile
}\
`
51529 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51531 if test "x${GCC_PCH}" = "x1" ; then
51532 # can do this because gcc is >= 3.4:
51533 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51534 elif test "x${ICC_PCH}" = "x1" ; then
51535 filename=pch_gen-${D}${D}
51536 file=${D}{filename}.c
51537 dfile=${D}{filename}.d
51538 cat > ${D}file <<EOT
51539 #include "${D}header"
51541 # using -MF icc complains about differing command lines in creation/use
51542 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51543 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51544 rm -f ${D}file ${D}dfile ${D}{filename}.o
51550 chmod +x bk-make-pch
51551 BK_MAKE_PCH="`pwd`/bk-make-pch"
51560 COND_BUILD_DEBUG="#"
51561 if test "x$BUILD" = "xdebug" ; then
51562 COND_BUILD_DEBUG=""
51565 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51566 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51567 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51570 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51571 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51572 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51575 COND_BUILD_DEBUG_UNICODE_0="#"
51576 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51577 COND_BUILD_DEBUG_UNICODE_0=""
51580 COND_BUILD_DEBUG_UNICODE_1="#"
51581 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51582 COND_BUILD_DEBUG_UNICODE_1=""
51585 COND_BUILD_RELEASE="#"
51586 if test "x$BUILD" = "xrelease" ; then
51587 COND_BUILD_RELEASE=""
51590 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51591 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51592 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51595 COND_BUILD_RELEASE_UNICODE_0="#"
51596 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51597 COND_BUILD_RELEASE_UNICODE_0=""
51600 COND_BUILD_RELEASE_UNICODE_1="#"
51601 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51602 COND_BUILD_RELEASE_UNICODE_1=""
51605 COND_DEBUG_FLAG_1="#"
51606 if test "x$DEBUG_FLAG" = "x1" ; then
51607 COND_DEBUG_FLAG_1=""
51610 COND_DEBUG_INFO_0="#"
51611 if test "x$DEBUG_INFO" = "x0" ; then
51612 COND_DEBUG_INFO_0=""
51615 COND_DEBUG_INFO_1="#"
51616 if test "x$DEBUG_INFO" = "x1" ; then
51617 COND_DEBUG_INFO_1=""
51620 COND_DEPS_TRACKING_0="#"
51621 if test "x$DEPS_TRACKING" = "x0" ; then
51622 COND_DEPS_TRACKING_0=""
51625 COND_DEPS_TRACKING_1="#"
51626 if test "x$DEPS_TRACKING" = "x1" ; then
51627 COND_DEPS_TRACKING_1=""
51631 if test "x$GCC_PCH" = "x1" ; then
51636 if test "x$ICC_PCH" = "x1" ; then
51640 COND_MONOLITHIC_0="#"
51641 if test "x$MONOLITHIC" = "x0" ; then
51642 COND_MONOLITHIC_0=""
51645 COND_MONOLITHIC_0_SHARED_0="#"
51646 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51647 COND_MONOLITHIC_0_SHARED_0=""
51650 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51652 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51655 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51657 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51660 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51675 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51677 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51680 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51682 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51685 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51687 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51690 COND_MONOLITHIC_0_SHARED_1="#"
51691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51692 COND_MONOLITHIC_0_SHARED_1=""
51695 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51697 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51700 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51702 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51705 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51710 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51715 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51720 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51722 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51725 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51727 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51730 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51735 COND_MONOLITHIC_0_USE_AUI_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51737 COND_MONOLITHIC_0_USE_AUI_1=""
51740 COND_MONOLITHIC_0_USE_GUI_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51742 COND_MONOLITHIC_0_USE_GUI_1=""
51745 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51747 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51750 COND_MONOLITHIC_0_USE_HTML_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51752 COND_MONOLITHIC_0_USE_HTML_1=""
51755 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51757 COND_MONOLITHIC_0_USE_MEDIA_1=""
51760 COND_MONOLITHIC_0_USE_QA_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51762 COND_MONOLITHIC_0_USE_QA_1=""
51765 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51767 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51770 COND_MONOLITHIC_0_USE_STC_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51772 COND_MONOLITHIC_0_USE_STC_1=""
51775 COND_MONOLITHIC_0_USE_XRC_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51777 COND_MONOLITHIC_0_USE_XRC_1=""
51780 COND_MONOLITHIC_1="#"
51781 if test "x$MONOLITHIC" = "x1" ; then
51782 COND_MONOLITHIC_1=""
51785 COND_MONOLITHIC_1_SHARED_0="#"
51786 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51787 COND_MONOLITHIC_1_SHARED_0=""
51790 COND_MONOLITHIC_1_SHARED_1="#"
51791 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51792 COND_MONOLITHIC_1_SHARED_1=""
51795 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51796 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51797 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51800 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51801 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51802 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51805 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51806 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51807 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51810 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51811 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51812 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51815 COND_PLATFORM_MACOSX_1="#"
51816 if test "x$PLATFORM_MACOSX" = "x1" ; then
51817 COND_PLATFORM_MACOSX_1=""
51820 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51821 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51822 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51825 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51826 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51827 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51830 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51831 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51832 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51835 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51836 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51837 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51840 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51841 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51842 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51845 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51846 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51847 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51850 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51851 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51852 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51855 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51856 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51857 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51860 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51861 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51862 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51865 COND_PLATFORM_MACOS_1="#"
51866 if test "x$PLATFORM_MACOS" = "x1" ; then
51867 COND_PLATFORM_MACOS_1=""
51870 COND_PLATFORM_MAC_1="#"
51871 if test "x$PLATFORM_MAC" = "x1" ; then
51872 COND_PLATFORM_MAC_1=""
51875 COND_PLATFORM_MSDOS_1="#"
51876 if test "x$PLATFORM_MSDOS" = "x1" ; then
51877 COND_PLATFORM_MSDOS_1=""
51880 COND_PLATFORM_OS2_1="#"
51881 if test "x$PLATFORM_OS2" = "x1" ; then
51882 COND_PLATFORM_OS2_1=""
51885 COND_PLATFORM_UNIX_0="#"
51886 if test "x$PLATFORM_UNIX" = "x0" ; then
51887 COND_PLATFORM_UNIX_0=""
51890 COND_PLATFORM_UNIX_1="#"
51891 if test "x$PLATFORM_UNIX" = "x1" ; then
51892 COND_PLATFORM_UNIX_1=""
51895 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51896 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51901 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51905 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51906 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51907 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51910 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51911 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51912 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51915 COND_PLATFORM_WIN32_0="#"
51916 if test "x$PLATFORM_WIN32" = "x0" ; then
51917 COND_PLATFORM_WIN32_0=""
51920 COND_PLATFORM_WIN32_1="#"
51921 if test "x$PLATFORM_WIN32" = "x1" ; then
51922 COND_PLATFORM_WIN32_1=""
51926 if test "x$SHARED" = "x0" ; then
51930 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51931 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51932 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51935 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51936 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51937 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51940 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51941 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51942 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51945 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51946 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51947 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51950 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51951 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51952 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51955 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51956 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51957 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51960 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51961 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51962 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51965 COND_SHARED_0_USE_STC_1="#"
51966 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51967 COND_SHARED_0_USE_STC_1=""
51970 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51971 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51972 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51975 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51976 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51977 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51980 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51981 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51982 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51986 if test "x$SHARED" = "x1" ; then
51990 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51991 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51992 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51996 if test "x$TOOLKIT" = "x" ; then
52000 COND_TOOLKIT_COCOA="#"
52001 if test "x$TOOLKIT" = "xCOCOA" ; then
52002 COND_TOOLKIT_COCOA=""
52005 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52006 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52007 COND_TOOLKIT_COCOA_USE_GUI_1=""
52010 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52011 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52012 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52015 COND_TOOLKIT_DFB="#"
52016 if test "x$TOOLKIT" = "xDFB" ; then
52017 COND_TOOLKIT_DFB=""
52020 COND_TOOLKIT_DFB_USE_GUI_1="#"
52021 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52022 COND_TOOLKIT_DFB_USE_GUI_1=""
52025 COND_TOOLKIT_GTK="#"
52026 if test "x$TOOLKIT" = "xGTK" ; then
52027 COND_TOOLKIT_GTK=""
52030 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52031 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52032 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52035 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52036 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52037 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52040 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52041 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52042 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52045 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52046 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52047 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52050 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52051 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52052 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52055 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52056 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52057 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52060 COND_TOOLKIT_GTK_USE_GUI_1="#"
52061 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52062 COND_TOOLKIT_GTK_USE_GUI_1=""
52065 COND_TOOLKIT_MAC="#"
52066 if test "x$TOOLKIT" = "xMAC" ; then
52067 COND_TOOLKIT_MAC=""
52070 COND_TOOLKIT_MAC_USE_GUI_1="#"
52071 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52072 COND_TOOLKIT_MAC_USE_GUI_1=""
52075 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52076 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52077 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52080 COND_TOOLKIT_MGL="#"
52081 if test "x$TOOLKIT" = "xMGL" ; then
52082 COND_TOOLKIT_MGL=""
52085 COND_TOOLKIT_MGL_USE_GUI_1="#"
52086 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52087 COND_TOOLKIT_MGL_USE_GUI_1=""
52090 COND_TOOLKIT_MOTIF="#"
52091 if test "x$TOOLKIT" = "xMOTIF" ; then
52092 COND_TOOLKIT_MOTIF=""
52095 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52096 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52097 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52100 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52101 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52102 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52105 COND_TOOLKIT_MSW="#"
52106 if test "x$TOOLKIT" = "xMSW" ; then
52107 COND_TOOLKIT_MSW=""
52110 COND_TOOLKIT_MSW_USE_GUI_1="#"
52111 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52112 COND_TOOLKIT_MSW_USE_GUI_1=""
52115 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52116 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52117 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52120 COND_TOOLKIT_MSW_WXUNIV_0="#"
52121 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52122 COND_TOOLKIT_MSW_WXUNIV_0=""
52125 COND_TOOLKIT_PM="#"
52126 if test "x$TOOLKIT" = "xPM" ; then
52130 COND_TOOLKIT_PM_USE_GUI_1="#"
52131 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52132 COND_TOOLKIT_PM_USE_GUI_1=""
52135 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52136 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52137 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52140 COND_TOOLKIT_WINCE="#"
52141 if test "x$TOOLKIT" = "xWINCE" ; then
52142 COND_TOOLKIT_WINCE=""
52145 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52146 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52147 COND_TOOLKIT_WINCE_USE_GUI_1=""
52150 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52151 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52152 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52155 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52156 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52157 COND_TOOLKIT_WINCE_WXUNIV_0=""
52160 COND_TOOLKIT_X11="#"
52161 if test "x$TOOLKIT" = "xX11" ; then
52162 COND_TOOLKIT_X11=""
52165 COND_TOOLKIT_X11_USE_GUI_1="#"
52166 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52167 COND_TOOLKIT_X11_USE_GUI_1=""
52171 if test "x$UNICODE" = "x1" ; then
52175 COND_USE_EXCEPTIONS_0="#"
52176 if test "x$USE_EXCEPTIONS" = "x0" ; then
52177 COND_USE_EXCEPTIONS_0=""
52180 COND_USE_EXCEPTIONS_1="#"
52181 if test "x$USE_EXCEPTIONS" = "x1" ; then
52182 COND_USE_EXCEPTIONS_1=""
52186 if test "x$USE_GUI" = "x0" ; then
52191 if test "x$USE_GUI" = "x1" ; then
52195 COND_USE_GUI_1_USE_OPENGL_1="#"
52196 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52197 COND_USE_GUI_1_USE_OPENGL_1=""
52200 COND_USE_GUI_1_WXUNIV_0="#"
52201 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52202 COND_USE_GUI_1_WXUNIV_0=""
52205 COND_USE_GUI_1_WXUNIV_1="#"
52206 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52207 COND_USE_GUI_1_WXUNIV_1=""
52210 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52211 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52212 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52215 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52216 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52217 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52220 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52221 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52222 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52226 if test "x$USE_PCH" = "x1" ; then
52230 COND_USE_PLUGINS_0="#"
52231 if test "x$USE_PLUGINS" = "x0" ; then
52232 COND_USE_PLUGINS_0=""
52235 COND_USE_RTTI_0="#"
52236 if test "x$USE_RTTI" = "x0" ; then
52240 COND_USE_RTTI_1="#"
52241 if test "x$USE_RTTI" = "x1" ; then
52245 COND_USE_SOSYMLINKS_1="#"
52246 if test "x$USE_SOSYMLINKS" = "x1" ; then
52247 COND_USE_SOSYMLINKS_1=""
52250 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52251 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52252 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52255 COND_USE_SOVERLINUX_1="#"
52256 if test "x$USE_SOVERLINUX" = "x1" ; then
52257 COND_USE_SOVERLINUX_1=""
52260 COND_USE_SOVERSION_0="#"
52261 if test "x$USE_SOVERSION" = "x0" ; then
52262 COND_USE_SOVERSION_0=""
52265 COND_USE_SOVERSOLARIS_1="#"
52266 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52267 COND_USE_SOVERSOLARIS_1=""
52271 if test "x$USE_STC" = "x1" ; then
52275 COND_USE_THREADS_0="#"
52276 if test "x$USE_THREADS" = "x0" ; then
52277 COND_USE_THREADS_0=""
52280 COND_USE_THREADS_1="#"
52281 if test "x$USE_THREADS" = "x1" ; then
52282 COND_USE_THREADS_1=""
52286 if test "x$USE_XRC" = "x1" ; then
52290 COND_WINDOWS_IMPLIB_1="#"
52291 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52292 COND_WINDOWS_IMPLIB_1=""
52295 COND_WITH_PLUGIN_SDL_1="#"
52296 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52297 COND_WITH_PLUGIN_SDL_1=""
52301 if test "x$WXUNIV" = "x0" ; then
52306 if test "x$WXUNIV" = "x1" ; then
52310 COND_WXUSE_EXPAT_BUILTIN="#"
52311 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52312 COND_WXUSE_EXPAT_BUILTIN=""
52315 COND_WXUSE_LIBJPEG_BUILTIN="#"
52316 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52317 COND_WXUSE_LIBJPEG_BUILTIN=""
52320 COND_WXUSE_LIBPNG_BUILTIN="#"
52321 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52322 COND_WXUSE_LIBPNG_BUILTIN=""
52325 COND_WXUSE_LIBTIFF_BUILTIN="#"
52326 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52327 COND_WXUSE_LIBTIFF_BUILTIN=""
52330 COND_WXUSE_REGEX_BUILTIN="#"
52331 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52332 COND_WXUSE_REGEX_BUILTIN=""
52335 COND_WXUSE_ZLIB_BUILTIN="#"
52336 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52337 COND_WXUSE_ZLIB_BUILTIN=""
52342 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52343 { { 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
52344 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;}
52345 { (exit 1); exit 1; }; }
52348 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52349 { { 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
52350 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;}
52351 { (exit 1); exit 1; }; }
52358 ?:* ) # Drive letter, considered as absolute.
52361 INSTALL=`pwd`/${INSTALL} ;;
52364 if test "$wxUSE_GUI" = "yes"; then
52366 if test "$wxUSE_MSW" = 1 ; then
52367 if test "x$WINDRES" = "x"; then
52368 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52369 echo "$as_me: error: Required windres program not found" >&2;}
52370 { (exit 1); exit 1; }; }
52376 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52377 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52378 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52380 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52382 # Extract the first word of "DeRez", so it can be a program name with args.
52383 set dummy DeRez; ac_word=$2
52384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52386 if test "${ac_cv_prog_DEREZ+set}" = set; then
52387 echo $ECHO_N "(cached) $ECHO_C" >&6
52389 if test -n "$DEREZ"; then
52390 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52393 for as_dir in $PATH
52396 test -z "$as_dir" && as_dir=.
52397 for ac_exec_ext in '' $ac_executable_extensions; do
52398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52399 ac_cv_prog_DEREZ="DeRez"
52400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52407 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52410 DEREZ=$ac_cv_prog_DEREZ
52411 if test -n "$DEREZ"; then
52412 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52413 echo "${ECHO_T}$DEREZ" >&6; }
52415 { echo "$as_me:$LINENO: result: no" >&5
52416 echo "${ECHO_T}no" >&6; }
52421 MACSETFILE="\$(SETFILE)"
52423 if test "$wxUSE_MAC" = 1; then
52424 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52426 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52428 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52429 RESCOMP="cat /dev/null \| $REZ"
52430 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52436 if test "$wxUSE_PM" = 1; then
52438 WXCONFIG_RESFLAGS="-ep"
52440 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52442 POSTLINK_COMMAND="@true"
52449 if test $GCC_PCH = 1
52451 if test "$wx_cv_gcc_pch_bug" = yes; then
52452 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52453 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52454 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52455 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52456 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52457 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52460 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52464 if test "$wxUSE_MAC" = 1 ; then
52465 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52466 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52472 if test "$wxUSE_SHARED" = "yes"; then
52474 *-pc-os2_emx | *-pc-os2-emx )
52475 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52476 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52477 cp -p ${srcdir}/src/os2/dllnames.sh .
52478 cp -p ${srcdir}/src/os2/dllar.sh .
52482 if test "$wxUSE_OMF" = "yes"; then
52484 *-pc-os2_emx | *-pc-os2-emx )
52485 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52486 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52487 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52492 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52497 if test "$GCC" = yes; then
52498 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52499 LIBS=`echo $LIBS | sed 's/-mt//'`
52500 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52505 if test "x$SUNCXX" = xyes; then
52506 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52507 LIBS=`echo $LIBS | sed 's/-pthread//'`
52508 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52513 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52514 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52516 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52577 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52578 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52579 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52580 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52581 echo $ECHO_N "(cached) $ECHO_C" >&6
52583 cat >conftest.make <<\_ACEOF
52586 @echo '@@@%%%=$(MAKE)=@@@%%%'
52588 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52589 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52590 *@@@%%%=?*=@@@%%%*)
52591 eval ac_cv_prog_make_${ac_make}_set=yes;;
52593 eval ac_cv_prog_make_${ac_make}_set=no;;
52595 rm -f conftest.make
52597 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52598 { echo "$as_me:$LINENO: result: yes" >&5
52599 echo "${ECHO_T}yes" >&6; }
52602 { echo "$as_me:$LINENO: result: no" >&5
52603 echo "${ECHO_T}no" >&6; }
52604 SET_MAKE="MAKE=${MAKE-make}"
52609 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52612 if test "$USE_WIN32" = 1; then
52613 ac_config_commands="$ac_config_commands
52619 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52622 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52625 if test "$wx_cv_version_script" = "yes"; then
52626 ac_config_files="$ac_config_files version-script"
52629 ac_config_files="$ac_config_files Makefile"
52632 ac_config_commands="$ac_config_commands wx-config"
52636 if test "$wxWITH_SUBDIRS" != "no"; then
52637 if test "$wxUSE_GUI" = "yes"; then
52638 SUBDIRS="samples demos utils"
52640 SUBDIRS="samples utils"
52645 # Check whether --with-cppunit-prefix was given.
52646 if test "${with_cppunit_prefix+set}" = set; then
52647 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52649 cppunit_config_prefix=""
52653 # Check whether --with-cppunit-exec-prefix was given.
52654 if test "${with_cppunit_exec_prefix+set}" = set; then
52655 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52657 cppunit_config_exec_prefix=""
52661 if test x$cppunit_config_exec_prefix != x ; then
52662 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52663 if test x${CPPUNIT_CONFIG+set} != xset ; then
52664 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52667 if test x$cppunit_config_prefix != x ; then
52668 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52669 if test x${CPPUNIT_CONFIG+set} != xset ; then
52670 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52674 # Extract the first word of "cppunit-config", so it can be a program name with args.
52675 set dummy cppunit-config; ac_word=$2
52676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52678 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52679 echo $ECHO_N "(cached) $ECHO_C" >&6
52681 case $CPPUNIT_CONFIG in
52683 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52687 for as_dir in $PATH
52690 test -z "$as_dir" && as_dir=.
52691 for ac_exec_ext in '' $ac_executable_extensions; do
52692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52693 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52701 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52705 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52706 if test -n "$CPPUNIT_CONFIG"; then
52707 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52708 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52710 { echo "$as_me:$LINENO: result: no" >&5
52711 echo "${ECHO_T}no" >&6; }
52715 cppunit_version_min=1.8.0
52717 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52718 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52720 if test "$CPPUNIT_CONFIG" = "no" ; then
52721 { echo "$as_me:$LINENO: result: no" >&5
52722 echo "${ECHO_T}no" >&6; }
52725 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52726 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52727 cppunit_version=`$CPPUNIT_CONFIG --version`
52729 cppunit_major_version=`echo $cppunit_version | \
52730 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52731 cppunit_minor_version=`echo $cppunit_version | \
52732 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52733 cppunit_micro_version=`echo $cppunit_version | \
52734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52736 cppunit_major_min=`echo $cppunit_version_min | \
52737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52738 cppunit_minor_min=`echo $cppunit_version_min | \
52739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52740 cppunit_micro_min=`echo $cppunit_version_min | \
52741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52743 cppunit_version_proper=`expr \
52744 $cppunit_major_version \
> $cppunit_major_min \
| \
52745 $cppunit_major_version \
= $cppunit_major_min \
& \
52746 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52747 $cppunit_major_version \
= $cppunit_major_min \
& \
52748 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52749 $cppunit_micro_version \
>= $cppunit_micro_min `
52751 if test "$cppunit_version_proper" = "1" ; then
52752 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52753 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52755 { echo "$as_me:$LINENO: result: no" >&5
52756 echo "${ECHO_T}no" >&6; }
52761 if test "x$no_cppunit" = x ; then
52762 SUBDIRS="$SUBDIRS tests"
52773 for subdir in $SUBDIRS; do
52774 if test -d ${srcdir}/${subdir} ; then
52775 if test "$wxUSE_GUI" = "yes"; then
52776 if test ${subdir} = "samples"; then
52777 makefiles="samples/Makefile.in $makefiles"
52778 for sample in $SAMPLES_SUBDIRS; do
52779 if test -d $srcdir/samples/$sample; then
52780 makefiles="samples/$sample/Makefile.in $makefiles"
52784 disabled_var=DISABLED_`echo $subdir | tr a
-z A
-Z`
52785 eval "disabled=\$$disabled_var"
52786 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52787 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52790 if test ${subdir} = "samples"; then
52791 makefiles="samples/Makefile.in samples/console/Makefile.in"
52792 elif test ${subdir} = "utils"; then
52794 for util in HelpGen tex2rtf ; do
52795 if test -d $srcdir/utils/$util ; then
52796 makefiles="utils/$util/Makefile.in \
52797 utils/$util/src/Makefile.in \
52802 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52806 for mkin in $makefiles ; do
52807 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52808 ac_config_files="$ac_config_files $mk"
52814 cat >confcache <<\_ACEOF
52815 # This file is a shell script that caches the results of configure
52816 # tests run on this system so they can be shared between configure
52817 # scripts and configure runs, see configure's option --config-cache.
52818 # It is not useful on other systems. If it contains results you don't
52819 # want to keep, you may remove or edit it.
52821 # config.status only pays attention to the cache file if you give it
52822 # the --recheck option to rerun configure.
52824 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52825 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52826 # following values.
52830 # The following way of writing the cache mishandles newlines in values,
52831 # but we know of no workaround that is simple, portable, and efficient.
52832 # So, we kill variables containing newlines.
52833 # Ultrix sh set writes to stderr and can't be redirected directly,
52834 # and sets the high bit in the cache file unless we assign to the vars.
52836 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52837 eval ac_val
=\$
$ac_var
52841 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52842 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52845 _
| IFS
| as_nl
) ;; #(
52846 *) $as_unset $ac_var ;;
52852 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52853 *${as_nl}ac_space
=\
*)
52854 # `set' does not quote correctly, so add quotes (double-quote
52855 # substitution turns \\\\ into \\, and sed turns \\ into \).
52858 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52861 # `set' quotes correctly as required by POSIX, so do not add quotes.
52862 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52871 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52873 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52875 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52876 if test -w "$cache_file"; then
52877 test "x$cache_file" != "x/dev/null" &&
52878 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52879 echo "$as_me: updating cache $cache_file" >&6;}
52880 cat confcache
>$cache_file
52882 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52883 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52888 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52889 # Let make expand exec_prefix.
52890 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52892 DEFS
=-DHAVE_CONFIG_H
52896 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52897 # 1. Remove the extension, and $U if already installed.
52898 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52899 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52900 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52901 # will be set to the directory where LIBOBJS objects are built.
52902 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52903 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52905 LIBOBJS
=$ac_libobjs
52907 LTLIBOBJS
=$ac_ltlibobjs
52911 : ${CONFIG_STATUS=./config.status}
52912 ac_clean_files_save
=$ac_clean_files
52913 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52914 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52915 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52916 cat >$CONFIG_STATUS <<_ACEOF
52918 # Generated by $as_me.
52919 # Run this file to recreate the current configuration.
52920 # Compiler output produced by configure, useful for debugging
52921 # configure, is in config.log if it exists.
52924 ac_cs_recheck=false
52926 SHELL=\${CONFIG_SHELL-$SHELL}
52929 cat >>$CONFIG_STATUS <<\_ACEOF
52930 ## --------------------- ##
52931 ## M4sh Initialization. ##
52932 ## --------------------- ##
52934 # Be more Bourne compatible
52935 DUALCASE
=1; export DUALCASE
# for MKS sh
52936 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52939 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52940 # is contrary to our usage. Disable this feature.
52941 alias -g '${1+"$@"}'='"$@"'
52942 setopt NO_GLOB_SUBST
52944 case `(set -o) 2>/dev/null` in
52945 *posix
*) set -o posix
;;
52954 # Avoid depending upon Character Ranges.
52955 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52956 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52957 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52958 as_cr_digits
='0123456789'
52959 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52961 # The user is always right.
52962 if test "${PATH_SEPARATOR+set}" != set; then
52963 echo "#! /bin/sh" >conf$$.sh
52964 echo "exit 0" >>conf$$.sh
52966 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52974 # Support unset when possible.
52975 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52983 # We need space, tab and new line, in precisely that order. Quoting is
52984 # there to prevent editors from complaining about space-tab.
52985 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52986 # splitting by setting IFS to empty value.)
52991 # Find who we are. Look in the path if we contain no directory separator.
52993 *[\\/]* ) as_myself
=$0 ;;
52994 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52995 for as_dir
in $PATH
52998 test -z "$as_dir" && as_dir
=.
52999 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53005 # We did not find ourselves, most probably we were run as `sh COMMAND'
53006 # in which case we are not to be found in the path.
53007 if test "x$as_myself" = x
; then
53010 if test ! -f "$as_myself"; then
53011 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53012 { (exit 1); exit 1; }
53015 # Work around bugs in pre-3.0 UWIN ksh.
53016 for as_var
in ENV MAIL MAILPATH
53017 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53025 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53026 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53027 LC_TELEPHONE LC_TIME
53029 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53030 eval $as_var=C
; export $as_var
53032 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53036 # Required to use basename.
53037 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53038 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53044 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53045 as_basename
=basename
53051 # Name of the executable.
53052 as_me
=`$as_basename -- "$0" ||
53053 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53054 X"$0" : 'X\(//\)$' \| \
53055 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53057 sed '/^.*\/\([^/][^/]*\)\/*$/{
53076 as_lineno_1
=$LINENO
53077 as_lineno_2
=$LINENO
53078 test "x$as_lineno_1" != "x$as_lineno_2" &&
53079 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53081 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53082 # uniformly replaced by the line number. The first 'sed' inserts a
53083 # line-number line after each line using $LINENO; the second 'sed'
53084 # does the real work. The second script uses 'N' to pair each
53085 # line-number line with the line containing $LINENO, and appends
53086 # trailing '-' during substitution so that $LINENO is not a special
53087 # case at line end.
53088 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53089 # scripts with optimization help from Paolo Bonzini. Blame Lee
53090 # E. McMahon (1931-1989) for sed's syntax. :-)
53102 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53105 ' >$as_me.lineno
&&
53106 chmod +x
"$as_me.lineno" ||
53107 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53108 { (exit 1); exit 1; }; }
53110 # Don't try to exec as it changes $[0], causing all sort of problems
53111 # (the dirname of $[0] is not the place where we might find the
53112 # original and so on. Autoconf is especially sensitive to this).
53113 .
"./$as_me.lineno"
53114 # Exit status is that of the last command.
53119 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53125 ECHO_C
= ECHO_N
= ECHO_T
=
53126 case `echo -n x` in
53128 case `echo 'x\c'` in
53129 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53136 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53137 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53143 rm -f conf$$ conf$$.exe conf$$.
file
53144 if test -d conf$$.dir
; then
53145 rm -f conf$$.dir
/conf$$.
file
53151 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53153 # ... but there are two gotchas:
53154 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53155 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53156 # In both cases, we have to default to `cp -p'.
53157 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53159 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53164 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53165 rmdir conf$$.dir
2>/dev
/null
53167 if mkdir -p .
2>/dev
/null
; then
53170 test -d .
/-p && rmdir .
/-p
53174 if test -x / >/dev
/null
2>&1; then
53175 as_test_x
='test -x'
53177 if ls -dL / >/dev
/null
2>&1; then
53184 if test -d "$1"; then
53190 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53191 ???[sx]*):;;*)false;;esac;fi
53195 as_executable_p
=$as_test_x
53197 # Sed expression to map a string onto a valid CPP name.
53198 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53200 # Sed expression to map a string onto a valid variable name.
53201 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53206 # Save the log message, to keep $[0] and so on meaningful, and to
53207 # report actual input values of CONFIG_FILES etc. instead of their
53208 # values after options handling.
53210 This file was extended by wxWidgets $as_me 2.9.0, which was
53211 generated by GNU Autoconf 2.61. Invocation command line was
53213 CONFIG_FILES = $CONFIG_FILES
53214 CONFIG_HEADERS = $CONFIG_HEADERS
53215 CONFIG_LINKS = $CONFIG_LINKS
53216 CONFIG_COMMANDS = $CONFIG_COMMANDS
53219 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53224 cat >>$CONFIG_STATUS <<_ACEOF
53225 # Files that config.status was made for.
53226 config_files="$ac_config_files"
53227 config_headers="$ac_config_headers"
53228 config_commands="$ac_config_commands"
53232 cat >>$CONFIG_STATUS <<\_ACEOF
53234 \`$as_me' instantiates files from templates according to the
53235 current configuration.
53237 Usage: $0 [OPTIONS] [FILE]...
53239 -h, --help print this help, then exit
53240 -V, --version print version number and configuration settings, then exit
53241 -q, --quiet do not print progress messages
53242 -d, --debug don't remove temporary files
53243 --recheck update $as_me by reconfiguring in the same conditions
53244 --file=FILE[:TEMPLATE]
53245 instantiate the configuration file FILE
53246 --header=FILE[:TEMPLATE]
53247 instantiate the configuration header FILE
53249 Configuration files:
53252 Configuration headers:
53255 Configuration commands:
53258 Report bugs to <bug-autoconf@gnu.org>."
53261 cat >>$CONFIG_STATUS <<_ACEOF
53263 wxWidgets config.status 2.9.0
53264 configured by $0, generated by GNU Autoconf 2.61,
53265 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53267 Copyright (C) 2006 Free Software Foundation, Inc.
53268 This config.status script is free software; the Free Software Foundation
53269 gives unlimited permission to copy, distribute and modify it."
53276 cat >>$CONFIG_STATUS <<\_ACEOF
53277 # If no file are specified by the user, then we need to provide default
53278 # value. By we need to know if files were specified by the user.
53284 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53285 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53296 # Handling of the options.
53297 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53299 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53300 echo "$ac_cs_version"; exit ;;
53301 --debug | --debu | --deb | --de | --d | -d )
53303 --file | --fil | --fi | --f )
53305 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53306 ac_need_defaults
=false
;;
53307 --header | --heade | --head | --hea )
53309 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53310 ac_need_defaults
=false
;;
53312 # Conflict between --help and --header
53313 { echo "$as_me: error: ambiguous option: $1
53314 Try \`$0 --help' for more information." >&2
53315 { (exit 1); exit 1; }; };;
53316 --help | --hel | -h )
53317 echo "$ac_cs_usage"; exit ;;
53318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53319 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53322 # This is an error.
53323 -*) { echo "$as_me: error: unrecognized option: $1
53324 Try \`$0 --help' for more information." >&2
53325 { (exit 1); exit 1; }; } ;;
53327 *) ac_config_targets
="$ac_config_targets $1"
53328 ac_need_defaults
=false
;;
53334 ac_configure_extra_args
=
53336 if $ac_cs_silent; then
53338 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53342 cat >>$CONFIG_STATUS <<_ACEOF
53343 if \$ac_cs_recheck; then
53344 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53345 CONFIG_SHELL=$SHELL
53346 export CONFIG_SHELL
53347 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53351 cat >>$CONFIG_STATUS <<\_ACEOF
53355 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53356 ## Running $as_me. ##
53362 cat >>$CONFIG_STATUS <<_ACEOF
53368 infile="$srcdir/include/wx/msw/genrcdefs.h"
53369 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53372 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53373 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53374 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53380 cat >>$CONFIG_STATUS <<\_ACEOF
53382 # Handling of arguments.
53383 for ac_config_target
in $ac_config_targets
53385 case $ac_config_target in
53386 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53387 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53388 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53389 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53390 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53391 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53392 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53393 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53395 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53396 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53397 { (exit 1); exit 1; }; };;
53402 # If the user did not use the arguments to specify the items to instantiate,
53403 # then the envvar interface is used. Set only those that are not.
53404 # We use the long form for the default assignment because of an extremely
53405 # bizarre bug on SunOS 4.1.3.
53406 if $ac_need_defaults; then
53407 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53408 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53409 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53412 # Have a temporary directory for convenience. Make it in the build tree
53413 # simply because there is no reason against having it here, and in addition,
53414 # creating and moving files from /tmp can sometimes cause problems.
53415 # Hook for its removal unless debugging.
53416 # Note that there is a small window in which the directory will not be cleaned:
53417 # after its creation but before its name has been assigned to `$tmp'.
53421 trap 'exit_status=$?
53422 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53424 trap '{ (exit 1); exit 1; }' 1 2 13 15
53426 # Create a (secure) tmp directory for tmp files.
53429 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53430 test -n "$tmp" && test -d "$tmp"
53433 tmp
=.
/conf$$
-$RANDOM
53434 (umask 077 && mkdir "$tmp")
53437 echo "$me: cannot create a temporary directory in ." >&2
53438 { (exit 1); exit 1; }
53442 # Set up the sed scripts for CONFIG_FILES section.
53445 # No need to generate the scripts if there are no CONFIG_FILES.
53446 # This happens for instance when ./config.status config.h
53447 if test -n "$CONFIG_FILES"; then
53454 for ac_last_try
in false false false false false
:; do
53455 cat >conf$
$subs.
sed <<_ACEOF
53456 SHELL!$SHELL$ac_delim
53457 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53458 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53459 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53460 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53461 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53462 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53463 exec_prefix!$exec_prefix$ac_delim
53464 prefix!$prefix$ac_delim
53465 program_transform_name!$program_transform_name$ac_delim
53466 bindir!$bindir$ac_delim
53467 sbindir!$sbindir$ac_delim
53468 libexecdir!$libexecdir$ac_delim
53469 datarootdir!$datarootdir$ac_delim
53470 datadir!$datadir$ac_delim
53471 sysconfdir!$sysconfdir$ac_delim
53472 sharedstatedir!$sharedstatedir$ac_delim
53473 localstatedir!$localstatedir$ac_delim
53474 includedir!$includedir$ac_delim
53475 oldincludedir!$oldincludedir$ac_delim
53476 docdir!$docdir$ac_delim
53477 infodir!$infodir$ac_delim
53478 htmldir!$htmldir$ac_delim
53479 dvidir!$dvidir$ac_delim
53480 pdfdir!$pdfdir$ac_delim
53481 psdir!$psdir$ac_delim
53482 libdir!$libdir$ac_delim
53483 localedir!$localedir$ac_delim
53484 mandir!$mandir$ac_delim
53485 DEFS!$DEFS$ac_delim
53486 ECHO_C!$ECHO_C$ac_delim
53487 ECHO_N!$ECHO_N$ac_delim
53488 ECHO_T!$ECHO_T$ac_delim
53489 LIBS!$LIBS$ac_delim
53490 build_alias!$build_alias$ac_delim
53491 host_alias!$host_alias$ac_delim
53492 target_alias!$target_alias$ac_delim
53493 build!$build$ac_delim
53494 build_cpu!$build_cpu$ac_delim
53495 build_vendor!$build_vendor$ac_delim
53496 build_os!$build_os$ac_delim
53497 host!$host$ac_delim
53498 host_cpu!$host_cpu$ac_delim
53499 host_vendor!$host_vendor$ac_delim
53500 host_os!$host_os$ac_delim
53501 target!$target$ac_delim
53502 target_cpu!$target_cpu$ac_delim
53503 target_vendor!$target_vendor$ac_delim
53504 target_os!$target_os$ac_delim
53505 wx_top_builddir!$wx_top_builddir$ac_delim
53507 CFLAGS!$CFLAGS$ac_delim
53508 LDFLAGS!$LDFLAGS$ac_delim
53509 CPPFLAGS!$CPPFLAGS$ac_delim
53510 ac_ct_CC!$ac_ct_CC$ac_delim
53511 EXEEXT!$EXEEXT$ac_delim
53512 OBJEXT!$OBJEXT$ac_delim
53514 GREP!$GREP$ac_delim
53515 EGREP!$EGREP$ac_delim
53517 CXXFLAGS!$CXXFLAGS$ac_delim
53518 ac_ct_CXX!$ac_ct_CXX$ac_delim
53520 subdirs!$subdirs$ac_delim
53521 PKG_CONFIG!$PKG_CONFIG$ac_delim
53522 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53523 GTK_LIBS!$GTK_LIBS$ac_delim
53524 GTK_CONFIG!$GTK_CONFIG$ac_delim
53525 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53526 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53527 XMKMF!$XMKMF$ac_delim
53528 X_CFLAGS!$X_CFLAGS$ac_delim
53529 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53530 X_LIBS!$X_LIBS$ac_delim
53531 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53532 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53533 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53534 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53535 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53536 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53537 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53538 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53539 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53540 LIBICONV!$LIBICONV$ac_delim
53541 SDL_CONFIG!$SDL_CONFIG$ac_delim
53542 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53543 SDL_LIBS!$SDL_LIBS$ac_delim
53544 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53545 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53546 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53547 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53548 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53549 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53550 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53551 HILDON_LIBS!$HILDON_LIBS$ac_delim
53552 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53555 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53557 elif $ac_last_try; then
53558 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53559 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53560 { (exit 1); exit 1; }; }
53562 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53566 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53567 if test -n "$ac_eof"; then
53568 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53569 ac_eof
=`expr $ac_eof + 1`
53572 cat >>$CONFIG_STATUS <<_ACEOF
53573 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53574 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53577 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53578 s/^/s,@/; s/!/@,|#_!!_#|/
53581 s/'"$ac_delim"'$/,g/; t
53583 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53584 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53585 rm -f conf$
$subs.
sed
53586 cat >>$CONFIG_STATUS <<_ACEOF
53592 for ac_last_try
in false false false false false
:; do
53593 cat >conf$
$subs.
sed <<_ACEOF
53594 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53595 GST_CFLAGS!$GST_CFLAGS$ac_delim
53596 GST_LIBS!$GST_LIBS$ac_delim
53597 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53598 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53599 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53600 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53601 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53602 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53603 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53604 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53605 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53606 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53607 VENDOR!$VENDOR$ac_delim
53608 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53609 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53610 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53611 WXUNIV!$WXUNIV$ac_delim
53612 MONOLITHIC!$MONOLITHIC$ac_delim
53613 USE_PLUGINS!$USE_PLUGINS$ac_delim
53614 CXXWARNINGS!$CXXWARNINGS$ac_delim
53615 EXTRALIBS!$EXTRALIBS$ac_delim
53616 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53617 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53618 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53619 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53620 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53621 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53622 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53623 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53624 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53625 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53626 UNICODE!$UNICODE$ac_delim
53627 BUILD!$BUILD$ac_delim
53628 DEBUG_INFO!$DEBUG_INFO$ac_delim
53629 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53630 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53631 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53632 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53633 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53634 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53635 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53636 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53637 RANLIB!$RANLIB$ac_delim
53638 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53639 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53640 INSTALL_DATA!$INSTALL_DATA$ac_delim
53641 LN_S!$LN_S$ac_delim
53642 SET_MAKE!$SET_MAKE$ac_delim
53643 MAKE_SET!$MAKE_SET$ac_delim
53644 AROPTIONS!$AROPTIONS$ac_delim
53645 STRIP!$STRIP$ac_delim
53647 INSTALL_DIR!$INSTALL_DIR$ac_delim
53648 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53649 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53650 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53651 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53652 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53653 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53654 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53655 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53656 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53657 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53658 SO_SUFFIX!$SO_SUFFIX$ac_delim
53659 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53660 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53661 LIBPREFIX!$LIBPREFIX$ac_delim
53662 LIBEXT!$LIBEXT$ac_delim
53663 DLLPREFIX!$DLLPREFIX$ac_delim
53664 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53665 dlldir!$dlldir$ac_delim
53666 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53667 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53668 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53669 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53670 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53671 PIC_FLAG!$PIC_FLAG$ac_delim
53672 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53673 USE_SOVERSION!$USE_SOVERSION$ac_delim
53674 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53675 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53676 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53677 USE_MACVERSION!$USE_MACVERSION$ac_delim
53678 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53679 SONAME_FLAG!$SONAME_FLAG$ac_delim
53680 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53681 BK_DEPS!$BK_DEPS$ac_delim
53682 WINDRES!$WINDRES$ac_delim
53684 SETFILE!$SETFILE$ac_delim
53685 GCC_PCH!$GCC_PCH$ac_delim
53686 ICC_PCH!$ICC_PCH$ac_delim
53687 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53688 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53689 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53690 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53693 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53695 elif $ac_last_try; then
53696 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53697 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53698 { (exit 1); exit 1; }; }
53700 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53704 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53705 if test -n "$ac_eof"; then
53706 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53707 ac_eof
=`expr $ac_eof + 1`
53710 cat >>$CONFIG_STATUS <<_ACEOF
53711 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53712 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53715 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53716 s/^/s,@/; s/!/@,|#_!!_#|/
53719 s/'"$ac_delim"'$/,g/; t
53721 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53722 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53723 rm -f conf$
$subs.
sed
53724 cat >>$CONFIG_STATUS <<_ACEOF
53730 for ac_last_try
in false false false false false
:; do
53731 cat >conf$
$subs.
sed <<_ACEOF
53732 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53733 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53734 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53735 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53736 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53737 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53738 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53739 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53740 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53741 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53742 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53743 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53744 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53745 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53746 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53747 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53748 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53749 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53750 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53751 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53752 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53753 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53754 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53755 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53756 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53757 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53758 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53759 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53760 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53761 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53762 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53763 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53764 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53765 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53766 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53767 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53768 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53769 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53770 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53771 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53772 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53773 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53774 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53775 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53776 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53777 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53778 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53779 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53780 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53781 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53782 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53783 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53784 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53785 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53786 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53787 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53788 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53789 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53790 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53791 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53792 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53793 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53794 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53795 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53796 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53797 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53798 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53799 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53800 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53801 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53802 COND_SHARED_0!$COND_SHARED_0$ac_delim
53803 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53804 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53805 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53806 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53807 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53808 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53809 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53810 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53811 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53812 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53813 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53814 COND_SHARED_1!$COND_SHARED_1$ac_delim
53815 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53816 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53817 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53818 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53819 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53820 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53821 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53822 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53823 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53824 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53825 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53826 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53827 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53828 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53831 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53833 elif $ac_last_try; then
53834 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53835 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53836 { (exit 1); exit 1; }; }
53838 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53842 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53843 if test -n "$ac_eof"; then
53844 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53845 ac_eof
=`expr $ac_eof + 1`
53848 cat >>$CONFIG_STATUS <<_ACEOF
53849 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53850 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53853 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53854 s/^/s,@/; s/!/@,|#_!!_#|/
53857 s/'"$ac_delim"'$/,g/; t
53859 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53860 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53861 rm -f conf$
$subs.
sed
53862 cat >>$CONFIG_STATUS <<_ACEOF
53868 for ac_last_try
in false false false false false
:; do
53869 cat >conf$
$subs.
sed <<_ACEOF
53870 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53871 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53872 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53873 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53874 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53875 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53876 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53877 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53878 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53879 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53880 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53881 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53882 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53883 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53884 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53885 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53886 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53887 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53888 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53889 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53890 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53891 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53892 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53893 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53894 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53895 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53896 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53897 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53898 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53899 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53900 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53901 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53902 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53903 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53904 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53905 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53906 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53907 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53908 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53909 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53910 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53911 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53912 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53913 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53914 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53915 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53916 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53917 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53918 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53919 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53920 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53921 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53922 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53923 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53924 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53925 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53926 DEREZ!$DEREZ$ac_delim
53927 SHARED!$SHARED$ac_delim
53928 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53929 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53930 USE_GUI!$USE_GUI$ac_delim
53931 AFMINSTALL!$AFMINSTALL$ac_delim
53932 WIN32INSTALL!$WIN32INSTALL$ac_delim
53933 TOOLKIT!$TOOLKIT$ac_delim
53934 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53935 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53936 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53937 cross_compiling!$cross_compiling$ac_delim
53938 WIDGET_SET!$WIDGET_SET$ac_delim
53939 WX_RELEASE!$WX_RELEASE$ac_delim
53940 WX_VERSION!$WX_VERSION$ac_delim
53941 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53942 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53943 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53944 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53945 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53946 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53947 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53948 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53949 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53950 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53951 GUIDIST!$GUIDIST$ac_delim
53952 DISTDIR!$DISTDIR$ac_delim
53953 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53954 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53955 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53956 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53957 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53958 RESCOMP!$RESCOMP$ac_delim
53959 RESFLAGS!$RESFLAGS$ac_delim
53960 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53961 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53962 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53963 LIBWXMACRES!$LIBWXMACRES$ac_delim
53964 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53965 MACSETFILE!$MACSETFILE$ac_delim
53969 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53971 elif $ac_last_try; then
53972 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53973 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53974 { (exit 1); exit 1; }; }
53976 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53980 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53981 if test -n "$ac_eof"; then
53982 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53983 ac_eof
=`expr $ac_eof + 1`
53986 cat >>$CONFIG_STATUS <<_ACEOF
53987 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53988 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53991 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53992 s/^/s,@/; s/!/@,|#_!!_#|/
53995 s/'"$ac_delim"'$/,g/; t
53997 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53998 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53999 rm -f conf$
$subs.
sed
54000 cat >>$CONFIG_STATUS <<_ACEOF
54006 for ac_last_try
in false false false false false
:; do
54007 cat >conf$
$subs.
sed <<_ACEOF
54008 DLLTOOL!$DLLTOOL$ac_delim
54009 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54010 LIBOBJS!$LIBOBJS$ac_delim
54011 LTLIBOBJS!$LTLIBOBJS$ac_delim
54014 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 4; then
54016 elif $ac_last_try; then
54017 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54018 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54019 { (exit 1); exit 1; }; }
54021 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54025 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54026 if test -n "$ac_eof"; then
54027 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54028 ac_eof
=`expr $ac_eof + 1`
54031 cat >>$CONFIG_STATUS <<_ACEOF
54032 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54033 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54036 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54037 s/^/s,@/; s/!/@,|#_!!_#|/
54040 s/'"$ac_delim"'$/,g/; t
54042 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54043 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54044 rm -f conf$
$subs.
sed
54045 cat >>$CONFIG_STATUS <<_ACEOF
54052 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54053 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54054 # trailing colons and then remove the whole line if VPATH becomes empty
54055 # (actually we leave an empty line to preserve line numbers).
54056 if test "x$srcdir" = x.
; then
54057 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54058 s/:*\$(srcdir):*/:/
54059 s/:*\${srcdir}:*/:/
54061 s/^\([^=]*=[ ]*\):*/\1/
54067 cat >>$CONFIG_STATUS <<\_ACEOF
54068 fi # test -n "$CONFIG_FILES"
54071 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54074 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54076 case $ac_mode$ac_tag in
54078 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54079 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54080 { (exit 1); exit 1; }; };;
54081 :[FH
]-) ac_tag
=-:-;;
54082 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54099 -) ac_f
="$tmp/stdin";;
54100 *) # Look for the file first in the build tree, then in the source tree
54101 # (if the path is not absolute). The absolute path cannot be DOS-style,
54102 # because $ac_f cannot contain `:'.
54106 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54108 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54109 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54110 { (exit 1); exit 1; }; };;
54112 ac_file_inputs
="$ac_file_inputs $ac_f"
54115 # Let's still pretend it is `configure' which instantiates (i.e., don't
54116 # use $as_me), people would be surprised to read:
54117 # /* config.h. Generated by config.status. */
54118 configure_input
="Generated from "`IFS=:
54119 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54120 if test x
"$ac_file" != x
-; then
54121 configure_input
="$ac_file. $configure_input"
54122 { echo "$as_me:$LINENO: creating $ac_file" >&5
54123 echo "$as_me: creating $ac_file" >&6;}
54127 *:-:* | *:-) cat >"$tmp/stdin";;
54132 ac_dir
=`$as_dirname -- "$ac_file" ||
54133 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54134 X"$ac_file" : 'X\(//\)[^/]' \| \
54135 X"$ac_file" : 'X\(//\)$' \| \
54136 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54142 /^X\(\/\/\)[^/].*/{
54157 -*) as_dir
=.
/$as_dir;;
54159 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54163 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54164 *) as_qdir
=$as_dir;;
54166 as_dirs
="'$as_qdir' $as_dirs"
54167 as_dir
=`$as_dirname -- "$as_dir" ||
54168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54169 X"$as_dir" : 'X\(//\)[^/]' \| \
54170 X"$as_dir" : 'X\(//\)$' \| \
54171 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54177 /^X\(\/\/\)[^/].*/{
54190 test -d "$as_dir" && break
54192 test -z "$as_dirs" || eval "mkdir $as_dirs"
54193 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54194 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54195 { (exit 1); exit 1; }; }; }
54199 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54201 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54202 # A ".." for each directory in $ac_dir_suffix.
54203 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54204 case $ac_top_builddir_sub in
54205 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54206 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54209 ac_abs_top_builddir
=$ac_pwd
54210 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54211 # for backward compatibility:
54212 ac_top_builddir
=$ac_top_build_prefix
54215 .
) # We are building in place.
54217 ac_top_srcdir
=$ac_top_builddir_sub
54218 ac_abs_top_srcdir
=$ac_pwd ;;
54219 [\\/]* | ?
:[\\/]* ) # Absolute name.
54220 ac_srcdir
=$srcdir$ac_dir_suffix;
54221 ac_top_srcdir
=$srcdir
54222 ac_abs_top_srcdir
=$srcdir ;;
54223 *) # Relative name.
54224 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54225 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54226 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54228 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54238 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54239 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54243 cat >>$CONFIG_STATUS <<\_ACEOF
54244 # If the template does not know about datarootdir, expand it.
54245 # FIXME: This hack should be removed a few years after 2.60.
54246 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54248 case `sed -n '/datarootdir/ {
54257 ' $ac_file_inputs` in
54258 *datarootdir
*) ac_datarootdir_seen
=yes;;
54259 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54260 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54261 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54263 cat >>$CONFIG_STATUS <<_ACEOF
54264 ac_datarootdir_hack='
54265 s&@datadir@&$datadir&g
54266 s&@docdir@&$docdir&g
54267 s&@infodir@&$infodir&g
54268 s&@localedir@&$localedir&g
54269 s&@mandir@&$mandir&g
54270 s&\\\${datarootdir}&$datarootdir&g' ;;
54274 # Neutralize VPATH when `$srcdir' = `.'.
54275 # Shell code in configure.ac might set extrasub.
54276 # FIXME: do we really want to maintain this feature?
54277 cat >>$CONFIG_STATUS <<_ACEOF
54281 cat >>$CONFIG_STATUS <<\_ACEOF
54283 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54284 s
&@configure_input@
&$configure_input&;t t
54285 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54286 s
&@srcdir@
&$ac_srcdir&;t t
54287 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54288 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54289 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54290 s
&@builddir@
&$ac_builddir&;t t
54291 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54292 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54293 s
&@INSTALL@
&$ac_INSTALL&;t t
54294 $ac_datarootdir_hack
54295 " $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
54297 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54298 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54299 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54300 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54301 which seems to be undefined. Please make sure it is defined." >&5
54302 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54303 which seems to be undefined. Please make sure it is defined." >&2;}
54307 -) cat "$tmp/out"; rm -f "$tmp/out";;
54308 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54317 # Transform confdefs.h into a sed script `conftest.defines', that
54318 # substitutes the proper values into config.h.in to produce config.h.
54319 rm -f conftest.defines conftest.
tail
54320 # First, append a space to every undef/define line, to ease matching.
54321 echo 's/$/ /' >conftest.defines
54322 # Then, protect against being on the right side of a sed subst, or in
54323 # an unquoted here document, in config.status. If some macros were
54324 # called several times there might be several #defines for the same
54325 # symbol, which is useless. But do not sort them, since the last
54326 # AC_DEFINE must be honored.
54327 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54328 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54329 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54330 # PARAMS is the parameter list in the macro definition--in most cases, it's
54331 # just an empty string.
54332 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54333 ac_dB
='\\)[ (].*,\\1define\\2'
54341 s/^[ ]*#[ ]*define[ ][ ]*//
54346 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54347 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54348 ' >>conftest.defines
54350 # Remove the space that was appended to ease matching.
54351 # Then replace #undef with comments. This is necessary, for
54352 # example, in the case of _POSIX_SOURCE, which is predefined and required
54353 # on some systems where configure will not decide to define it.
54354 # (The regexp can be short, since the line contains either #define or #undef.)
54356 s,^[ #]*u.*,/* & */,' >>conftest.defines
54358 # Break up conftest.defines:
54359 ac_max_sed_lines
=50
54361 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54362 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54363 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54365 ac_in
='$ac_file_inputs'
54366 ac_out
='"$tmp/out1"'
54367 ac_nxt
='"$tmp/out2"'
54371 # Write a here document:
54372 cat >>$CONFIG_STATUS <<_ACEOF
54373 # First, check the format of the line:
54374 cat >"\$tmp/defines.sed" <<\\CEOF
54375 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54376 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54380 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54382 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54383 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54384 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54385 grep . conftest.
tail >/dev
/null
|| break
54386 rm -f conftest.defines
54387 mv conftest.
tail conftest.defines
54389 rm -f conftest.defines conftest.
tail
54391 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54392 cat >>$CONFIG_STATUS <<\_ACEOF
54393 if test x
"$ac_file" != x
-; then
54394 echo "/* $configure_input */" >"$tmp/config.h"
54395 cat "$ac_result" >>"$tmp/config.h"
54396 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54397 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54398 echo "$as_me: $ac_file is unchanged" >&6;}
54401 mv "$tmp/config.h" $ac_file
54404 echo "/* $configure_input */"
54410 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54411 echo "$as_me: executing $ac_file commands" >&6;}
54416 case $ac_file$ac_mode in
54418 mkdir -p $outdir &&
54419 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54421 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54422 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54423 "wx-config":C
) rm -f wx
-config
54424 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54431 { (exit 0); exit 0; }
54433 chmod +x
$CONFIG_STATUS
54434 ac_clean_files
=$ac_clean_files_save
54437 # configure is writing to config.log, and then calls config.status.
54438 # config.status does its own redirection, appending to config.log.
54439 # Unfortunately, on DOS this fails, as config.log is still kept open
54440 # by configure, so config.status won't be able to write to it; its
54441 # output is simply discarded. So we exec the FD to /dev/null,
54442 # effectively closing config.log, so it can be properly (re)opened and
54443 # appended to by config.status. When coming back to configure, we
54444 # need to make the FD available again.
54445 if test "$no_create" != yes; then
54447 ac_config_status_args
=
54448 test "$silent" = yes &&
54449 ac_config_status_args
="$ac_config_status_args --quiet"
54451 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54453 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54454 # would make configure fail if this is the last instruction.
54455 $ac_cs_success || { (exit 1); exit 1; }
54459 # CONFIG_SUBDIRS section.
54461 if test "$no_recursion" != yes; then
54463 # Remove --cache-file and --srcdir arguments so they do not pile up.
54464 ac_sub_configure_args
=
54466 eval "set x $ac_configure_args"
54470 if test -n "$ac_prev"; then
54475 -cache-file | --cache-file | --cache-fil | --cache-fi \
54476 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54477 ac_prev
=cache_file
;;
54478 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54479 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54482 --config-cache | -C)
54484 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54486 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54488 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54490 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54494 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54496 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54500 # Always prepend --prefix to ensure using the same prefix
54501 # in subdir configurations.
54502 ac_arg
="--prefix=$prefix"
54504 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54506 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54509 if test "$silent" = yes; then
54510 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54514 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54516 # Do not complain, so a configure script can configure whichever
54517 # parts of a large source tree are present.
54518 test -d "$srcdir/$ac_dir" || continue
54520 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54521 echo "$as_me:$LINENO: $ac_msg" >&5
54525 -*) as_dir
=.
/$as_dir;;
54527 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54531 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54532 *) as_qdir
=$as_dir;;
54534 as_dirs
="'$as_qdir' $as_dirs"
54535 as_dir
=`$as_dirname -- "$as_dir" ||
54536 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54537 X"$as_dir" : 'X\(//\)[^/]' \| \
54538 X"$as_dir" : 'X\(//\)$' \| \
54539 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54545 /^X\(\/\/\)[^/].*/{
54558 test -d "$as_dir" && break
54560 test -z "$as_dirs" || eval "mkdir $as_dirs"
54561 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54562 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54563 { (exit 1); exit 1; }; }; }
54567 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54569 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54570 # A ".." for each directory in $ac_dir_suffix.
54571 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54572 case $ac_top_builddir_sub in
54573 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54574 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54577 ac_abs_top_builddir
=$ac_pwd
54578 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54579 # for backward compatibility:
54580 ac_top_builddir
=$ac_top_build_prefix
54583 .
) # We are building in place.
54585 ac_top_srcdir
=$ac_top_builddir_sub
54586 ac_abs_top_srcdir
=$ac_pwd ;;
54587 [\\/]* | ?
:[\\/]* ) # Absolute name.
54588 ac_srcdir
=$srcdir$ac_dir_suffix;
54589 ac_top_srcdir
=$srcdir
54590 ac_abs_top_srcdir
=$srcdir ;;
54591 *) # Relative name.
54592 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54593 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54594 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54596 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54601 # Check for guested configure; otherwise get Cygnus style configure.
54602 if test -f "$ac_srcdir/configure.gnu"; then
54603 ac_sub_configure
=$ac_srcdir/configure.gnu
54604 elif test -f "$ac_srcdir/configure"; then
54605 ac_sub_configure
=$ac_srcdir/configure
54606 elif test -f "$ac_srcdir/configure.in"; then
54607 # This should be Cygnus configure.
54608 ac_sub_configure
=$ac_aux_dir/configure
54610 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54611 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54615 # The recursion is here.
54616 if test -n "$ac_sub_configure"; then
54617 # Make the cache file name correct relative to the subdirectory.
54618 case $cache_file in
54619 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54620 *) # Relative name.
54621 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54624 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54625 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54626 # The eval makes quoting arguments work.
54627 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54628 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54629 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54630 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54631 { (exit 1); exit 1; }; }
54640 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54642 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54643 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54645 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54646 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54647 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54648 if test "$wxUSE_UNICODE" = "yes"; then
54649 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54650 echo " (using UTF-8)"
54652 echo " (using wchar_t)"
54658 echo " What level of wxWidgets compatibility should be enabled?"
54659 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54660 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54662 echo " Which libraries should wxWidgets use?"
54663 echo " STL ${wxUSE_STL}"
54664 echo " jpeg ${wxUSE_LIBJPEG-none}"
54665 echo " png ${wxUSE_LIBPNG-none}"
54666 echo " regex ${wxUSE_REGEX}"
54667 echo " tiff ${wxUSE_LIBTIFF-none}"
54668 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54669 echo " xpm ${wxUSE_LIBXPM-none}"
54671 echo " zlib ${wxUSE_ZLIB}"
54672 echo " expat ${wxUSE_EXPAT}"
54673 echo " libmspack ${wxUSE_LIBMSPACK}"
54674 echo " sdl ${wxUSE_LIBSDL}"