2 # From configure.in Id: configure.in 48824 2007-09-20 00:01:33Z 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
757 SAMPLES_RPATH_POSTLINK
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
836 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_1
841 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
847 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
848 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
850 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
851 COND_MONOLITHIC_0_USE_AUI_1
852 COND_MONOLITHIC_0_USE_GUI_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_HTML_1
856 COND_MONOLITHIC_0_USE_MEDIA_1
857 COND_MONOLITHIC_0_USE_ODBC_1
858 COND_MONOLITHIC_0_USE_QA_1
859 COND_MONOLITHIC_0_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_USE_STC_1
861 COND_MONOLITHIC_0_USE_XRC_1
863 COND_MONOLITHIC_1_SHARED_0
864 COND_MONOLITHIC_1_SHARED_1
865 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
866 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
869 COND_PLATFORM_MACOSX_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_
871 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
872 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
876 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
877 COND_PLATFORM_MACOSX_1_USE_GUI_1
878 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
879 COND_PLATFORM_MACOS_1
881 COND_PLATFORM_MSDOS_0
882 COND_PLATFORM_MSDOS_1
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
887 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_GUI_1
889 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
890 COND_PLATFORM_WIN32_0
891 COND_PLATFORM_WIN32_1
893 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
895 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
896 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
899 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
900 COND_SHARED_0_USE_STC_1
901 COND_SHARED_0_USE_XRC_1
902 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
903 COND_SHARED_0_WXUSE_ODBC_BUILTIN
904 COND_SHARED_0_WXUSE_REGEX_BUILTIN
905 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
907 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
908 COND_SHARED_1_USE_XRC_1
911 COND_TOOLKIT_COCOA_USE_GUI_1
912 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_DFB_USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_GTK_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1
925 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MGL_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1
930 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_MSW_USE_GUI_1
933 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_WXUNIV_0
936 COND_TOOLKIT_PM_USE_GUI_1
937 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_WINCE_USE_GUI_1
940 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_WINCE_WXUNIV_0
943 COND_TOOLKIT_X11_USE_GUI_1
945 COND_USE_EXCEPTIONS_0
946 COND_USE_EXCEPTIONS_1
949 COND_USE_GUI_1_USE_OPENGL_1
950 COND_USE_GUI_1_WXUNIV_0
951 COND_USE_GUI_1_WXUNIV_1
952 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
954 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
961 COND_USE_SOSYMLINKS_1
962 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
963 COND_USE_SOVERLINUX_1
965 COND_USE_SOVERSOLARIS_1
970 COND_WINDOWS_IMPLIB_1
971 COND_WITH_PLUGIN_SDL_1
974 COND_WXUSE_EXPAT_BUILTIN
975 COND_WXUSE_LIBJPEG_BUILTIN
976 COND_WXUSE_LIBPNG_BUILTIN
977 COND_WXUSE_LIBTIFF_BUILTIN
978 COND_WXUSE_ODBC_BUILTIN
979 COND_WXUSE_REGEX_BUILTIN
980 COND_WXUSE_ZLIB_BUILTIN
983 WX_LIBRARY_BASENAME_NOGUI
984 WX_LIBRARY_BASENAME_GUI
1004 WXCONFIG_LDFLAGS_GUI
1017 WX_RESOURCES_MACOSX_ASCII
1018 WX_RESOURCES_MACOSX_DATA
1028 ac_precious_vars
='build_alias
1052 LIBGNOMEPRINTUI_CFLAGS
1053 LIBGNOMEPRINTUI_LIBS
1062 ac_subdirs_all
='src/tiff
1065 # Initialize some variables set by options.
1067 ac_init_version
=false
1068 # The variables have the same names as the options, with
1069 # dashes changed to underlines.
1070 cache_file
=/dev
/null
1077 program_transform_name
=s
,x
,x
,
1085 # Installation directory options.
1086 # These are left unexpanded so users can "make install exec_prefix=/foo"
1087 # and all the variables that are supposed to be based on exec_prefix
1088 # by default will actually change.
1089 # Use braces instead of parens because sh, perl, etc. also accept them.
1090 # (The list follows the same order as the GNU Coding Standards.)
1091 bindir
='${exec_prefix}/bin'
1092 sbindir
='${exec_prefix}/sbin'
1093 libexecdir
='${exec_prefix}/libexec'
1094 datarootdir
='${prefix}/share'
1095 datadir
='${datarootdir}'
1096 sysconfdir
='${prefix}/etc'
1097 sharedstatedir
='${prefix}/com'
1098 localstatedir
='${prefix}/var'
1099 includedir
='${prefix}/include'
1100 oldincludedir
='/usr/include'
1101 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1102 infodir
='${datarootdir}/info'
1107 libdir
='${exec_prefix}/lib'
1108 localedir
='${datarootdir}/locale'
1109 mandir
='${datarootdir}/man'
1115 # If the previous option needs an argument, assign it.
1116 if test -n "$ac_prev"; then
1117 eval $ac_prev=\
$ac_option
1123 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1127 # Accept the important Cygnus configure options, so we can diagnose typos.
1129 case $ac_dashdash$ac_option in
1133 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1135 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1136 bindir
=$ac_optarg ;;
1138 -build | --build | --buil | --bui | --bu)
1139 ac_prev
=build_alias
;;
1140 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1141 build_alias
=$ac_optarg ;;
1143 -cache-file | --cache-file | --cache-fil | --cache-fi \
1144 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1145 ac_prev
=cache_file
;;
1146 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1147 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1148 cache_file
=$ac_optarg ;;
1150 --config-cache | -C)
1151 cache_file
=config.cache
;;
1153 -datadir | --datadir | --datadi | --datad)
1155 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1156 datadir
=$ac_optarg ;;
1158 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1159 | --dataroo | --dataro | --datar)
1160 ac_prev
=datarootdir
;;
1161 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1162 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1163 datarootdir
=$ac_optarg ;;
1165 -disable-* | --disable-*)
1166 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1169 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1170 { (exit 1); exit 1; }; }
1171 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1172 eval enable_
$ac_feature=no
;;
1174 -docdir | --docdir | --docdi | --doc | --do)
1176 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1177 docdir
=$ac_optarg ;;
1179 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1181 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1182 dvidir
=$ac_optarg ;;
1184 -enable-* | --enable-*)
1185 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1188 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1189 { (exit 1); exit 1; }; }
1190 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1191 eval enable_
$ac_feature=\
$ac_optarg ;;
1193 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1194 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1195 | --exec | --exe | --ex)
1196 ac_prev
=exec_prefix
;;
1197 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1198 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1199 | --exec=* | --exe=* | --ex=*)
1200 exec_prefix
=$ac_optarg ;;
1202 -gas | --gas | --ga | --g)
1203 # Obsolete; use --with-gas.
1206 -help | --help | --hel | --he | -h)
1207 ac_init_help
=long
;;
1208 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1209 ac_init_help
=recursive
;;
1210 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1211 ac_init_help
=short
;;
1213 -host | --host | --hos | --ho)
1214 ac_prev
=host_alias
;;
1215 -host=* | --host=* | --hos=* | --ho=*)
1216 host_alias
=$ac_optarg ;;
1218 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1220 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1222 htmldir
=$ac_optarg ;;
1224 -includedir | --includedir | --includedi | --included | --include \
1225 | --includ | --inclu | --incl | --inc)
1226 ac_prev
=includedir
;;
1227 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1228 | --includ=* | --inclu=* | --incl=* | --inc=*)
1229 includedir
=$ac_optarg ;;
1231 -infodir | --infodir | --infodi | --infod | --info | --inf)
1233 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1234 infodir
=$ac_optarg ;;
1236 -libdir | --libdir | --libdi | --libd)
1238 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1239 libdir
=$ac_optarg ;;
1241 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1242 | --libexe | --libex | --libe)
1243 ac_prev
=libexecdir
;;
1244 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1245 | --libexe=* | --libex=* | --libe=*)
1246 libexecdir
=$ac_optarg ;;
1248 -localedir | --localedir | --localedi | --localed | --locale)
1249 ac_prev
=localedir
;;
1250 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1251 localedir
=$ac_optarg ;;
1253 -localstatedir | --localstatedir | --localstatedi | --localstated \
1254 | --localstate | --localstat | --localsta | --localst | --locals)
1255 ac_prev
=localstatedir
;;
1256 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1257 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1258 localstatedir
=$ac_optarg ;;
1260 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1262 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1263 mandir
=$ac_optarg ;;
1265 -nfp | --nfp | --nf)
1266 # Obsolete; use --without-fp.
1269 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1270 | --no-cr | --no-c | -n)
1273 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1274 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1277 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1278 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1279 | --oldin | --oldi | --old | --ol | --o)
1280 ac_prev
=oldincludedir
;;
1281 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1282 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1283 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1284 oldincludedir
=$ac_optarg ;;
1286 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1288 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1289 prefix
=$ac_optarg ;;
1291 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1292 | --program-pre | --program-pr | --program-p)
1293 ac_prev
=program_prefix
;;
1294 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1295 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1296 program_prefix
=$ac_optarg ;;
1298 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1299 | --program-suf | --program-su | --program-s)
1300 ac_prev
=program_suffix
;;
1301 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1302 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1303 program_suffix
=$ac_optarg ;;
1305 -program-transform-name | --program-transform-name \
1306 | --program-transform-nam | --program-transform-na \
1307 | --program-transform-n | --program-transform- \
1308 | --program-transform | --program-transfor \
1309 | --program-transfo | --program-transf \
1310 | --program-trans | --program-tran \
1311 | --progr-tra | --program-tr | --program-t)
1312 ac_prev
=program_transform_name
;;
1313 -program-transform-name=* | --program-transform-name=* \
1314 | --program-transform-nam=* | --program-transform-na=* \
1315 | --program-transform-n=* | --program-transform-=* \
1316 | --program-transform=* | --program-transfor=* \
1317 | --program-transfo=* | --program-transf=* \
1318 | --program-trans=* | --program-tran=* \
1319 | --progr-tra=* | --program-tr=* | --program-t=*)
1320 program_transform_name
=$ac_optarg ;;
1322 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1324 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1325 pdfdir
=$ac_optarg ;;
1327 -psdir | --psdir | --psdi | --psd | --ps)
1329 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1332 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1333 | -silent | --silent | --silen | --sile | --sil)
1336 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1338 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1340 sbindir
=$ac_optarg ;;
1342 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1343 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1344 | --sharedst | --shareds | --shared | --share | --shar \
1346 ac_prev
=sharedstatedir
;;
1347 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1348 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1349 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1351 sharedstatedir
=$ac_optarg ;;
1353 -site | --site | --sit)
1355 -site=* | --site=* | --sit=*)
1358 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1360 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1361 srcdir
=$ac_optarg ;;
1363 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1364 | --syscon | --sysco | --sysc | --sys | --sy)
1365 ac_prev
=sysconfdir
;;
1366 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1367 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1368 sysconfdir
=$ac_optarg ;;
1370 -target | --target | --targe | --targ | --tar | --ta | --t)
1371 ac_prev
=target_alias
;;
1372 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1373 target_alias
=$ac_optarg ;;
1375 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1378 -version | --version | --versio | --versi | --vers | -V)
1379 ac_init_version
=: ;;
1382 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1383 # Reject names that are not valid shell variable names.
1384 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1385 { echo "$as_me: error: invalid package name: $ac_package" >&2
1386 { (exit 1); exit 1; }; }
1387 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1388 eval with_
$ac_package=\
$ac_optarg ;;
1390 -without-* | --without-*)
1391 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1392 # Reject names that are not valid shell variable names.
1393 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1394 { echo "$as_me: error: invalid package name: $ac_package" >&2
1395 { (exit 1); exit 1; }; }
1396 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1397 eval with_
$ac_package=no
;;
1400 # Obsolete; use --with-x.
1403 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1404 | --x-incl | --x-inc | --x-in | --x-i)
1405 ac_prev
=x_includes
;;
1406 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1407 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1408 x_includes
=$ac_optarg ;;
1410 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1411 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1412 ac_prev
=x_libraries
;;
1413 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1414 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1415 x_libraries
=$ac_optarg ;;
1417 -*) { echo "$as_me: error: unrecognized option: $ac_option
1418 Try \`$0 --help' for more information." >&2
1419 { (exit 1); exit 1; }; }
1423 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1424 # Reject names that are not valid shell variable names.
1425 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1426 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1427 { (exit 1); exit 1; }; }
1428 eval $ac_envvar=\
$ac_optarg
1429 export $ac_envvar ;;
1432 # FIXME: should be removed in autoconf 3.0.
1433 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1434 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1435 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1436 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1442 if test -n "$ac_prev"; then
1443 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1444 { echo "$as_me: error: missing argument to $ac_option" >&2
1445 { (exit 1); exit 1; }; }
1448 # Be sure to have absolute directory names.
1449 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1450 datadir sysconfdir sharedstatedir localstatedir includedir \
1451 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1452 libdir localedir mandir
1454 eval ac_val
=\$
$ac_var
1456 [\\/$
]* | ?
:[\\/]* ) continue;;
1457 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1459 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1460 { (exit 1); exit 1; }; }
1463 # There might be people who depend on the old broken behavior: `$host'
1464 # used to hold the argument of --host etc.
1465 # FIXME: To remove some day.
1468 target
=$target_alias
1470 # FIXME: To remove some day.
1471 if test "x$host_alias" != x
; then
1472 if test "x$build_alias" = x
; then
1473 cross_compiling
=maybe
1474 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1475 If a cross compiler is detected then cross compile mode will be used." >&2
1476 elif test "x$build_alias" != "x$host_alias"; then
1482 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1484 test "$silent" = yes && exec 6>/dev
/null
1487 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1488 ac_ls_di
=`ls -di .` &&
1489 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1490 { echo "$as_me: error: Working directory cannot be determined" >&2
1491 { (exit 1); exit 1; }; }
1492 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1493 { echo "$as_me: error: pwd does not report name of working directory" >&2
1494 { (exit 1); exit 1; }; }
1497 # Find the source files, if location was not specified.
1498 if test -z "$srcdir"; then
1499 ac_srcdir_defaulted
=yes
1500 # Try the directory containing this script, then the parent directory.
1501 ac_confdir
=`$as_dirname -- "$0" ||
1502 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1503 X"$0" : 'X\(//\)[^/]' \| \
1504 X"$0" : 'X\(//\)$' \| \
1505 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1529 ac_srcdir_defaulted
=no
1531 if test ! -r "$srcdir/$ac_unique_file"; then
1532 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1533 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1534 { (exit 1); exit 1; }; }
1536 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1538 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1539 { (exit 1); exit 1; }; }
1541 # When building in place, set srcdir=.
1542 if test "$ac_abs_confdir" = "$ac_pwd"; then
1545 # Remove unnecessary trailing slashes from srcdir.
1546 # Double slashes in file names in object file debugging info
1547 # mess up M-x gdb in Emacs.
1549 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1551 for ac_var
in $ac_precious_vars; do
1552 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1553 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1554 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1555 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1559 # Report the --help message.
1561 if test "$ac_init_help" = "long"; then
1562 # Omit some internal or obsolete options to make the list less imposing.
1563 # This message is too long to be a string in the A/UX 3.1 sh.
1565 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1567 Usage: $0 [OPTION]... [VAR=VALUE]...
1569 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1570 VAR=VALUE. See below for descriptions of some of the useful variables.
1572 Defaults for the options are specified in brackets.
1575 -h, --help display this help and exit
1576 --help=short display options specific to this package
1577 --help=recursive display the short help of all the included packages
1578 -V, --version display version information and exit
1579 -q, --quiet, --silent do not print \`checking...' messages
1580 --cache-file=FILE cache test results in FILE [disabled]
1581 -C, --config-cache alias for \`--cache-file=config.cache'
1582 -n, --no-create do not create output files
1583 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1585 Installation directories:
1586 --prefix=PREFIX install architecture-independent files in PREFIX
1587 [$ac_default_prefix]
1588 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1591 By default, \`make install' will install all the files in
1592 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1593 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1594 for instance \`--prefix=\$HOME'.
1596 For better control, use the options below.
1598 Fine tuning of the installation directories:
1599 --bindir=DIR user executables [EPREFIX/bin]
1600 --sbindir=DIR system admin executables [EPREFIX/sbin]
1601 --libexecdir=DIR program executables [EPREFIX/libexec]
1602 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1603 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1604 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1605 --libdir=DIR object code libraries [EPREFIX/lib]
1606 --includedir=DIR C header files [PREFIX/include]
1607 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1608 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1609 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1610 --infodir=DIR info documentation [DATAROOTDIR/info]
1611 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1612 --mandir=DIR man documentation [DATAROOTDIR/man]
1613 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1614 --htmldir=DIR html documentation [DOCDIR]
1615 --dvidir=DIR dvi documentation [DOCDIR]
1616 --pdfdir=DIR pdf documentation [DOCDIR]
1617 --psdir=DIR ps documentation [DOCDIR]
1623 --x-includes=DIR X include files are
in DIR
1624 --x-libraries=DIR X library files are
in DIR
1627 --build=BUILD configure
for building on BUILD
[guessed
]
1628 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1629 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1633 if test -n "$ac_init_help"; then
1634 case $ac_init_help in
1635 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1640 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1641 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1642 --disable-gui don
't build GUI parts of the library
1643 --enable-monolithic build wxWidgets as single library
1644 --enable-plugins build parts of wxWidgets as loadable components
1645 --enable-official_build official build of wxWidgets (win32 DLL only)
1646 --enable-vendor=VENDOR vendor name (win32 DLL only)
1647 --disable-all-features disable all optional features to build minimal library
1648 --enable-universal use wxWidgets GUI controls instead of native ones
1649 --enable-nanox use NanoX
1650 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1651 --enable-gpe use GNOME PDA Environment features if possible
1652 --disable-shared create static library instead of shared
1653 --disable-optimise create optimised code
1654 --enable-debug same as debug_flag and debug_info
1655 --enable-stl use STL for containers
1656 --enable-std_iostreams use standard C++ stream classes
1657 --enable-std_string use standard C++ string classes
1658 --disable-unicode compile without Unicode support
1659 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1660 --enable-utf8 use UTF-8 representation for strings (Unix only)
1661 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1662 --enable-extended_rtti use extended RTTI (XTI)
1663 --enable-omf use OMF object format
1664 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1665 --enable-debug_info create code with debugging information
1666 --enable-debug_gdb create code with extra GDB debugging information
1667 --enable-debug_cntxt use wxDebugContext
1668 --enable-mem_tracing create code with memory tracing
1669 --enable-profile create code with profiling information
1670 --enable-no_rtti create code without RTTI information
1671 --enable-no_exceptions create code without C++ exceptions handling
1672 --enable-permissive compile code disregarding strict ANSI
1673 --enable-no_deps create code without dependency information
1674 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1675 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1676 --enable-compat26 enable wxWidgets
2.6 compatibility
1677 --disable-compat28 disable wxWidgets
2.8 compatibility
1678 --disable-rpath disable use of rpath
for uninstalled builds
1679 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1680 --disable-visibility disable use of ELF symbols visibility even
if supported
1681 --enable-intl use internationalization system
1682 --enable-config use wxConfig
(and derived
) classes
1683 --enable-protocols use wxProtocol and derived classes
1684 --enable-ftp use wxFTP
(requires wxProtocol
1685 --enable-http use wxHTTP
(requires wxProtocol
1686 --enable-fileproto use wxFileProto class
(requires wxProtocol
1687 --enable-sockets use socket
/network classes
1688 --enable-ole use OLE classes
(Win32 only
)
1689 --enable-dataobj use data object classes
1690 --enable-ipc use interprocess communication
(wxSocket etc.
)
1691 --enable-baseevtloop use event loop
in console programs too
1692 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1693 --enable-selectloop use wxSelectDispatcher class
1694 --enable-apple_ieee use the Apple IEEE codec
1695 --enable-arcstream use wxArchive streams
1696 --enable-base64 use base64 encoding
/decoding functions
1697 --enable-backtrace use wxStackWalker class
for getting backtraces
1698 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1699 --enable-cmdline use wxCmdLineParser class
1700 --enable-datetime use wxDateTime class
1701 --enable-debugreport use wxDebugReport class
1702 --enable-dialupman use dialup network classes
1703 --enable-dynlib use wxLibrary class
for DLL loading
1704 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1705 --enable-exceptions build exception
-safe library
1706 --enable-ffile use wxFFile class
1707 --enable-file use wxFile class
1708 --enable-filesystem use virtual
file systems classes
1709 --enable-fontenum use wxFontEnumerator class
1710 --enable-fontmap use font encodings conversion classes
1711 --enable-fs_archive use virtual archive filesystems
1712 --enable-fs_inet use virtual HTTP
/FTP filesystems
1713 --enable-fs_zip now replaced by fs_archive
1714 --enable-geometry use geometry class
1715 --enable-log use logging system
1716 --enable-longlong use wxLongLong class
1717 --enable-mimetype use wxMimeTypesManager
1718 --enable-snglinst use wxSingleInstanceChecker class
1719 --enable-stdpaths use wxStandardPaths class
1720 --enable-stopwatch use wxStopWatch class
1721 --enable-streams use wxStream etc classes
1722 --enable-sysoptions use wxSystemOptions
1723 --enable-tarstream use wxTar streams
1724 --enable-textbuf use wxTextBuffer class
1725 --enable-textfile use wxTextFile class
1726 --enable-timer use wxTimer class
1727 --enable-sound use wxSound class
1728 --enable-mediactrl use wxMediaCtrl class
1729 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1730 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1731 --enable-zipstream use wxZip streams
1732 --enable-url use wxURL class
1733 --enable-variant use wxVariant class
1734 --enable-protocol use wxProtocol class
1735 --enable-protocol-http HTTP support
in wxProtocol
1736 --enable-protocol-ftp FTP support
in wxProtocol
1737 --enable-protocol-file FILE support
in wxProtocol
1738 --enable-threads use threads
1739 --enable-iniconf use wxIniConfig
(Win32 only
)
1740 --enable-regkey use wxRegKey class
(Win32 only
)
1741 --enable-docview use document view architecture
1742 --enable-help use
help subsystem
1743 --enable-mshtmlhelp use MS HTML Help
(win32
)
1744 --enable-html use wxHTML sub
-library
1745 --enable-htmlhelp use wxHTML
-based help
1746 --enable-xrc use XRC resources sub
-library
1747 --enable-aui use AUI docking library
1748 --enable-stc use wxStyledTextCtrl library
1749 --enable-constraints use layout
-constraints system
1750 --enable-printarch use printing architecture
1751 --enable-mdi use multiple document interface architecture
1752 --enable-mdidoc use docview architecture with MDI
1753 --enable-loggui use standard GUI logger
1754 --enable-logwin use wxLogWindow
1755 --enable-logdialog use wxLogDialog
1756 --enable-webkit use wxWebKitCtrl
(Mac
)
1757 --enable-richtext use wxRichTextCtrl
1758 --enable-graphics_ctx use graphics context
2D drawing API
1759 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1760 --enable-svg use wxSVGFileDC device context
1761 --enable-clipboard use wxClipboard class
1762 --enable-dnd use Drag
'n'Drop classes
1763 --enable-metafile use win32 metafiles
1764 --disable-controls disable compilation of all standard controls
1765 --enable-accel use accelerators
1766 --enable-animatectrl use wxAnimationCtrl class
1767 --enable-button use wxButton class
1768 --enable-bmpbutton use wxBitmapButton class
1769 --enable-bmpcombobox use wxBitmapComboBox class
1770 --enable-calendar use wxCalendarCtrl class
1771 --enable-caret use wxCaret class
1772 --enable-checkbox use wxCheckBox class
1773 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1774 --enable-choice use wxChoice class
1775 --enable-choicebook use wxChoicebook class
1776 --enable-collpane use wxCollapsiblePane class
1777 --enable-colourpicker use wxColourPickerCtrl class
1778 --enable-combobox use wxComboBox class
1779 --enable-comboctrl use wxComboCtrl class
1780 --enable-datepick use wxDatePickerCtrl class
1781 --enable-dirpicker use wxDirPickerCtrl class
1782 --enable-display use wxDisplay class
1783 --enable-detect_sm use code to detect X11 session manager
1784 --enable-editablebox use wxEditableListBox class
1785 --enable-filepicker use wxFilePickerCtrl class
1786 --enable-filectrl use wxFileCtrl class
1787 --enable-fontpicker use wxFontPickerCtrl class
1788 --enable-gauge use wxGauge class
1789 --enable-grid use wxGrid class
1790 --enable-dataviewctrl use wxDataViewCtrl class
1791 --enable-hyperlink use wxHyperlinkCtrl class
1792 --enable-imaglist use wxImageList class
1793 --enable-listbook use wxListbook class
1794 --enable-listbox use wxListBox class
1795 --enable-listctrl use wxListCtrl class
1796 --enable-notebook use wxNotebook class
1797 --enable-odcombobox use wxOwnerDrawnComboBox class
1798 --enable-radiobox use wxRadioBox class
1799 --enable-radiobtn use wxRadioButton class
1800 --enable-sash use wxSashWindow class
1801 --enable-scrollbar use wxScrollBar class and scrollable windows
1802 --enable-searchctrl use wxSearchCtrl class
1803 --enable-slider use wxSlider class
1804 --enable-spinbtn use wxSpinButton class
1805 --enable-spinctrl use wxSpinCtrl class
1806 --enable-splitter use wxSplitterWindow class
1807 --enable-statbmp use wxStaticBitmap class
1808 --enable-statbox use wxStaticBox class
1809 --enable-statline use wxStaticLine class
1810 --enable-stattext use wxStaticText class
1811 --enable-statusbar use wxStatusBar class
1812 --enable-tabdialog use wxTabControl class
1813 --enable-taskbaricon use wxTaskBarIcon class
1814 --enable-textctrl use wxTextCtrl class
1815 --enable-togglebtn use wxToggleButton class
1816 --enable-toolbar use wxToolBar class
1817 --enable-tbarnative use native wxToolBar class
1818 --enable-treebook use wxTreebook class
1819 --enable-toolbook use wxToolbook class
1820 --enable-treectrl use wxTreeCtrl class
1821 --enable-tipwindow use wxTipWindow class
1822 --enable-popupwin use wxPopUpWindow class
1823 --enable-commondlg use all common dialogs
1824 --enable-aboutdlg use wxAboutBox
1825 --enable-choicedlg use wxChoiceDialog
1826 --enable-coldlg use wxColourDialog
1827 --enable-filedlg use wxFileDialog
1828 --enable-finddlg use wxFindReplaceDialog
1829 --enable-fontdlg use wxFontDialog
1830 --enable-dirdlg use wxDirDialog
1831 --enable-msgdlg use wxMessageDialog
1832 --enable-numberdlg use wxNumberEntryDialog
1833 --enable-splash use wxSplashScreen
1834 --enable-textdlg use wxTextDialog
1835 --enable-tipdlg use startup tips
1836 --enable-progressdlg use wxProgressDialog
1837 --enable-wizarddlg use wxWizard
1838 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1839 --enable-miniframe use wxMiniFrame class
1840 --enable-tooltips use wxToolTip class
1841 --enable-splines use spline drawing code
1842 --enable-mousewheel use mousewheel
1843 --enable-validators use wxValidator and derived classes
1844 --enable-busyinfo use wxBusyInfo
1845 --enable-joystick use wxJoystick
1846 --enable-metafiles use wxMetaFile
(Win32 only
)
1847 --enable-dragimage use wxDragImage
1848 --enable-accessibility enable accessibility support
1849 --enable-palette use wxPalette class
1850 --enable-image use wxImage class
1851 --enable-gif use gif images
(GIF
file format
)
1852 --enable-pcx use pcx images
(PCX
file format
)
1853 --enable-tga use tga images
(TGA
file format
)
1854 --enable-iff use iff images
(IFF
file format
)
1855 --enable-pnm use pnm images
(PNM
file format
)
1856 --enable-xpm use xpm images
(XPM
file format
)
1857 --enable-icocur use Windows ICO and CUR formats
1858 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1859 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1860 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1861 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1862 --enable-wxdib use wxDIB class
(Win32 only
)
1863 --disable-largefile omit support
for large files
1864 --disable-gtktest do not try to compile and run a
test GTK
+ program
1865 --disable-gtktest Do not try to compile and run a
test GTK program
1866 --disable-sdltest Do not try to compile and run a
test SDL program
1867 --enable-omf use OMF object format
(OS
/2)
1868 --disable-dependency-tracking
1869 don
't use dependency tracking even if the compiler
1871 --disable-precomp-headers
1872 don't use precompiled headers even
if compiler can
1875 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1876 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1877 --without-subdirs don
't generate makefiles for samples/demos/...
1878 --with-flavour=NAME specify a name to identify this build
1879 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1880 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1881 --with-motif use Motif/Lesstif
1882 --with-mac use Mac OS X
1883 --with-cocoa use Cocoa
1884 --with-wine use Wine
1885 --with-msw use MS-Windows
1886 --with-pm use OS/2 Presentation Manager
1887 --with-mgl use SciTech MGL
1888 --with-directfb use DirectFB
1889 --with-microwin use MicroWindows
1891 --with-libpng use libpng (PNG image format)
1892 --with-libjpeg use libjpeg (JPEG file format)
1893 --with-libtiff use libtiff (TIFF file format)
1894 --with-libxpm use libxpm (XPM file format)
1895 --with-libmspack use libmspack (CHM help files loading)
1896 --without-gtkprint don't use GTK printing support
1897 --without-gnomeprint don
't use GNOME printing libraries
1898 --with-gnomevfs use GNOME VFS for associating MIME types
1899 --with-hildon use Hildon framework for Nokia 770
1900 --with-opengl use OpenGL (or Mesa)
1901 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1902 --with-sdl use SDL for audio on Unix
1903 --with-regex enable support for wxRegEx class
1904 --with-zlib use zlib for LZW compression
1905 --with-odbc use the IODBC and wxODBC classes
1906 --with-expat enable XML support using expat parser
1907 --with-macosx-sdk=PATH use an OS X SDK at PATH
1908 --with-macosx-version-min=VER build binaries which require at least this OS X version
1909 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1910 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1911 --with-x use the X Window System
1912 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1913 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1914 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1915 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1916 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1918 Some influential environment variables:
1919 CC C compiler command
1920 CFLAGS C compiler flags
1921 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1922 nonstandard directory <lib dir>
1923 LIBS libraries to pass to the linker, e.g. -l<library>
1924 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1925 you have headers in a nonstandard directory <include dir>
1927 CXX C++ compiler command
1928 CXXFLAGS C++ compiler flags
1929 PKG_CONFIG path to pkg-config utility
1931 C compiler flags for DIRECTFB, overriding pkg-config
1933 linker flags for DIRECTFB, overriding pkg-config
1934 XMKMF Path to xmkmf, Makefile generator for X Window System
1936 C compiler flags for PANGOX, overriding pkg-config
1937 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1939 C compiler flags for PANGOFT2, overriding pkg-config
1941 linker flags for PANGOFT2, overriding pkg-config
1943 C compiler flags for PANGOXFT, overriding pkg-config
1945 linker flags for PANGOXFT, overriding pkg-config
1947 C compiler flags for GTKPRINT, overriding pkg-config
1949 linker flags for GTKPRINT, overriding pkg-config
1950 LIBGNOMEPRINTUI_CFLAGS
1951 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1952 LIBGNOMEPRINTUI_LIBS
1953 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1955 C compiler flags for GNOMEVFS, overriding pkg-config
1957 linker flags for GNOMEVFS, overriding pkg-config
1959 C compiler flags for HILDON, overriding pkg-config
1960 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1962 C compiler flags for CAIRO, overriding pkg-config
1963 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1964 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1965 GST_LIBS linker flags for GST, overriding pkg-config
1967 Use these variables to override the choices made by `configure' or to
help
1968 it to
find libraries and programs with nonstandard names
/locations.
1970 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1975 if test "$ac_init_help" = "recursive"; then
1976 # If there are subdirs, report their specific --help.
1977 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1978 test -d "$ac_dir" || continue
1982 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1984 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1985 # A ".." for each directory in $ac_dir_suffix.
1986 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1987 case $ac_top_builddir_sub in
1988 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1989 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1992 ac_abs_top_builddir
=$ac_pwd
1993 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1994 # for backward compatibility:
1995 ac_top_builddir
=$ac_top_build_prefix
1998 .
) # We are building in place.
2000 ac_top_srcdir
=$ac_top_builddir_sub
2001 ac_abs_top_srcdir
=$ac_pwd ;;
2002 [\\/]* | ?
:[\\/]* ) # Absolute name.
2003 ac_srcdir
=$srcdir$ac_dir_suffix;
2004 ac_top_srcdir
=$srcdir
2005 ac_abs_top_srcdir
=$srcdir ;;
2007 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2008 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2009 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2011 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2013 cd "$ac_dir" || { ac_status
=$?
; continue; }
2014 # Check for guested configure.
2015 if test -f "$ac_srcdir/configure.gnu"; then
2017 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2018 elif test -f "$ac_srcdir/configure"; then
2020 $SHELL "$ac_srcdir/configure" --help=recursive
2022 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2024 cd "$ac_pwd" || { ac_status
=$?
; break; }
2028 test -n "$ac_init_help" && exit $ac_status
2029 if $ac_init_version; then
2031 wxWidgets configure
2.9.0
2032 generated by GNU Autoconf
2.61
2034 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2035 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2036 This configure
script is free software
; the Free Software Foundation
2037 gives unlimited permission to copy
, distribute and modify it.
2041 cat >config.log
<<_ACEOF
2042 This file contains any messages produced by compilers while
2043 running configure, to aid debugging if configure makes a mistake.
2045 It was created by wxWidgets $as_me 2.9.0, which was
2046 generated by GNU Autoconf 2.61. Invocation command line was
2058 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2059 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2060 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2061 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2062 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2064 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2065 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2067 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2068 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2069 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2070 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2071 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2072 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2073 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir
=.
2082 echo "PATH: $as_dir"
2098 # Keep a trace of the command line.
2099 # Strip out --no-create and --no-recursion so they do not pile up.
2100 # Strip out --silent because we don't want to record it for future runs.
2101 # Also quote any args containing shell meta-characters.
2102 # Make two passes to allow for proper duplicate-argument suppression.
2106 ac_must_keep_next
=false
2112 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2114 | -silent | --silent | --silen | --sile | --sil)
2117 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2120 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2122 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2123 if test $ac_must_keep_next = true
; then
2124 ac_must_keep_next
=false
# Got value, back to normal.
2127 *=* | --config-cache | -C | -disable-* | --disable-* \
2128 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2129 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2130 | -with-* | --with-* | -without-* | --without-* | --x)
2131 case "$ac_configure_args0 " in
2132 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2135 -* ) ac_must_keep_next
=true
;;
2138 ac_configure_args
="$ac_configure_args '$ac_arg'"
2143 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2144 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2146 # When interrupted or exit'd, cleanup temporary files, and complete
2147 # config.log. We remove comments because anyway the quotes in there
2148 # would cause problems or look ugly.
2149 # WARNING: Use '\'' to represent an apostrophe within the trap.
2150 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2151 trap 'exit_status=$?
2152 # Save into config.log some information that might help in debugging.
2157 ## ---------------- ##
2158 ## Cache variables. ##
2159 ## ---------------- ##
2162 # The following way of writing the cache mishandles newlines in values,
2164 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2165 eval ac_val=\$$ac_var
2169 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2170 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2173 _ | IFS | as_nl) ;; #(
2174 *) $as_unset $ac_var ;;
2179 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2180 *${as_nl}ac_space=\ *)
2182 "s/'\''/'\''\\\\'\'''\''/g;
2183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2194 ## ----------------- ##
2195 ## Output variables. ##
2196 ## ----------------- ##
2199 for ac_var in $ac_subst_vars
2201 eval ac_val=\$$ac_var
2203 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2205 echo "$ac_var='\''$ac_val'\''"
2209 if test -n "$ac_subst_files"; then
2211 ## ------------------- ##
2212 ## File substitutions. ##
2213 ## ------------------- ##
2216 for ac_var
in $ac_subst_files
2218 eval ac_val
=\$
$ac_var
2220 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2222 echo "$ac_var='\''$ac_val'\''"
2227 if test -s confdefs.h; then
2237 test "$ac_signal" != 0 &&
2238 echo "$as_me: caught signal $ac_signal"
2239 echo "$as_me: exit $exit_status"
2241 rm -f core *.core core.conftest.* &&
2242 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2245 for ac_signal
in 1 2 13 15; do
2246 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2250 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2251 rm -f -r conftest
* confdefs.h
2253 # Predefined preprocessor variables.
2255 cat >>confdefs.h
<<_ACEOF
2256 #define PACKAGE_NAME "$PACKAGE_NAME"
2260 cat >>confdefs.h
<<_ACEOF
2261 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2265 cat >>confdefs.h
<<_ACEOF
2266 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2270 cat >>confdefs.h
<<_ACEOF
2271 #define PACKAGE_STRING "$PACKAGE_STRING"
2275 cat >>confdefs.h
<<_ACEOF
2276 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2280 # Let the site file select an alternate cache file if it wants to.
2281 # Prefer explicitly selected file to automatically selected ones.
2282 if test -n "$CONFIG_SITE"; then
2283 set x
"$CONFIG_SITE"
2284 elif test "x$prefix" != xNONE
; then
2285 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2287 set x
"$ac_default_prefix/share/config.site" \
2288 "$ac_default_prefix/etc/config.site"
2293 if test -r "$ac_site_file"; then
2294 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2295 echo "$as_me: loading site script $ac_site_file" >&6;}
2296 sed 's/^/| /' "$ac_site_file" >&5
2301 if test -r "$cache_file"; then
2302 # Some versions of bash will fail to source /dev/null (special
2303 # files actually), so we avoid doing that.
2304 if test -f "$cache_file"; then
2305 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2306 echo "$as_me: loading cache $cache_file" >&6;}
2308 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2309 *) .
"./$cache_file";;
2313 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2314 echo "$as_me: creating cache $cache_file" >&6;}
2318 # Check that the precious variables saved in the cache have kept the same
2320 ac_cache_corrupted
=false
2321 for ac_var
in $ac_precious_vars; do
2322 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2323 eval ac_new_set
=\
$ac_env_${ac_var}_set
2324 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2325 eval ac_new_val
=\
$ac_env_${ac_var}_value
2326 case $ac_old_set,$ac_new_set in
2328 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2329 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2330 ac_cache_corrupted
=: ;;
2332 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2333 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2334 ac_cache_corrupted
=: ;;
2337 if test "x$ac_old_val" != "x$ac_new_val"; then
2338 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2339 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2340 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2341 echo "$as_me: former value: $ac_old_val" >&2;}
2342 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2343 echo "$as_me: current value: $ac_new_val" >&2;}
2344 ac_cache_corrupted
=:
2347 # Pass precious variables to config.status.
2348 if test "$ac_new_set" = set; then
2350 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2351 *) ac_arg
=$ac_var=$ac_new_val ;;
2353 case " $ac_configure_args " in
2354 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2355 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2359 if $ac_cache_corrupted; then
2360 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2361 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2362 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2363 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2364 { (exit 1); exit 1; }; }
2392 ac_cpp
='$CPP $CPPFLAGS'
2393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2402 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2403 if test -f "$ac_dir/install-sh"; then
2405 ac_install_sh
="$ac_aux_dir/install-sh -c"
2407 elif test -f "$ac_dir/install.sh"; then
2409 ac_install_sh
="$ac_aux_dir/install.sh -c"
2411 elif test -f "$ac_dir/shtool"; then
2413 ac_install_sh
="$ac_aux_dir/shtool install -c"
2417 if test -z "$ac_aux_dir"; then
2418 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2419 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2420 { (exit 1); exit 1; }; }
2423 # These three variables are undocumented and unsupported,
2424 # and are intended to be withdrawn in a future Autoconf release.
2425 # They can cause serious problems if a builder's source tree is in a directory
2426 # whose full name contains unusual characters.
2427 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2428 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2429 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2432 # Make sure we can run config.sub.
2433 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2434 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2435 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2436 { (exit 1); exit 1; }; }
2438 { echo "$as_me:$LINENO: checking build system type" >&5
2439 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2440 if test "${ac_cv_build+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 ac_build_alias
=$build_alias
2444 test "x$ac_build_alias" = x
&&
2445 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2446 test "x$ac_build_alias" = x
&&
2447 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2448 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2449 { (exit 1); exit 1; }; }
2450 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2451 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2452 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2453 { (exit 1); exit 1; }; }
2456 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2457 echo "${ECHO_T}$ac_cv_build" >&6; }
2458 case $ac_cv_build in
2460 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2461 echo "$as_me: error: invalid value of canonical build" >&2;}
2462 { (exit 1); exit 1; }; };;
2465 ac_save_IFS
=$IFS; IFS
='-'
2471 # Remember, the first character of IFS is used to create $*,
2472 # except with old shells:
2475 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2478 { echo "$as_me:$LINENO: checking host system type" >&5
2479 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2480 if test "${ac_cv_host+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 if test "x$host_alias" = x
; then
2484 ac_cv_host
=$ac_cv_build
2486 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2487 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2488 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2489 { (exit 1); exit 1; }; }
2493 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2494 echo "${ECHO_T}$ac_cv_host" >&6; }
2497 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2498 echo "$as_me: error: invalid value of canonical host" >&2;}
2499 { (exit 1); exit 1; }; };;
2502 ac_save_IFS
=$IFS; IFS
='-'
2508 # Remember, the first character of IFS is used to create $*,
2509 # except with old shells:
2512 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2515 { echo "$as_me:$LINENO: checking target system type" >&5
2516 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2517 if test "${ac_cv_target+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 if test "x$target_alias" = x
; then
2521 ac_cv_target
=$ac_cv_host
2523 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2524 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2525 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2526 { (exit 1); exit 1; }; }
2530 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2531 echo "${ECHO_T}$ac_cv_target" >&6; }
2532 case $ac_cv_target in
2534 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2535 echo "$as_me: error: invalid value of canonical target" >&2;}
2536 { (exit 1); exit 1; }; };;
2538 target
=$ac_cv_target
2539 ac_save_IFS
=$IFS; IFS
='-'
2545 # Remember, the first character of IFS is used to create $*,
2546 # except with old shells:
2549 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2552 # The aliases save the names the user supplied, while $host etc.
2553 # will get canonicalized.
2554 test -n "$target_alias" &&
2555 test "$program_prefix$program_suffix$program_transform_name" = \
2557 program_prefix
=${target_alias}-
2561 wx_major_version_number
=2
2562 wx_minor_version_number
=9
2564 wx_subrelease_number
=0
2566 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2567 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2568 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2570 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2573 wx_top_builddir
="`pwd`"
2586 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2592 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2598 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2600 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2602 DEFAULT_wxUSE_COCOA
=0
2606 DEFAULT_wxUSE_MICROWIN
=0
2607 DEFAULT_wxUSE_MOTIF
=0
2613 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2614 DEFAULT_DEFAULT_wxUSE_GTK
=0
2615 DEFAULT_DEFAULT_wxUSE_MAC
=0
2616 DEFAULT_DEFAULT_wxUSE_MGL
=0
2617 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2618 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2619 DEFAULT_DEFAULT_wxUSE_MSW
=0
2620 DEFAULT_DEFAULT_wxUSE_PM
=0
2621 DEFAULT_DEFAULT_wxUSE_X11
=0
2622 DEFAULT_DEFAULT_wxUSE_DFB
=0
2627 SAMPLES_RPATH_POSTLINK
=
2629 DEFAULT_STD_FLAG
=yes
2634 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2635 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2637 cat >>confdefs.h
<<\_ACEOF
2642 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2646 cat >>confdefs.h
<<\_ACEOF
2651 if test "x$TMP" = "xalpha"; then
2653 cat >>confdefs.h
<<\_ACEOF
2658 DEFAULT_DEFAULT_wxUSE_GTK
=1
2660 *-*-gnu* | *-*-k*bsd
*-gnu )
2663 if test "x$TMP" = "xalpha"; then
2665 cat >>confdefs.h
<<\_ACEOF
2670 DEFAULT_DEFAULT_wxUSE_GTK
=1
2672 *-*-irix5* | *-*-irix6* )
2675 cat >>confdefs.h
<<\_ACEOF
2679 cat >>confdefs.h
<<\_ACEOF
2683 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2689 cat >>confdefs.h
<<\_ACEOF
2693 cat >>confdefs.h
<<\_ACEOF
2694 #define __SOLARIS__ 1
2697 cat >>confdefs.h
<<\_ACEOF
2701 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2702 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2708 cat >>confdefs.h
<<\_ACEOF
2712 cat >>confdefs.h
<<\_ACEOF
2716 cat >>confdefs.h
<<\_ACEOF
2720 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2725 cat >>confdefs.h
<<\_ACEOF
2726 #define __FREEBSD__ 1
2729 cat >>confdefs.h
<<\_ACEOF
2733 DEFAULT_DEFAULT_wxUSE_GTK
=1
2735 *-*-openbsd*|*-*-mirbsd*)
2738 cat >>confdefs.h
<<\_ACEOF
2739 #define __OPENBSD__ 1
2742 cat >>confdefs.h
<<\_ACEOF
2746 DEFAULT_DEFAULT_wxUSE_GTK
=1
2751 cat >>confdefs.h
<<\_ACEOF
2752 #define __NETBSD__ 1
2755 cat >>confdefs.h
<<\_ACEOF
2759 DEFAULT_DEFAULT_wxUSE_GTK
=1
2760 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2762 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2767 cat >>confdefs.h
<<\_ACEOF
2771 cat >>confdefs.h
<<\_ACEOF
2775 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2776 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2781 cat >>confdefs.h
<<\_ACEOF
2785 cat >>confdefs.h
<<\_ACEOF
2789 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2794 cat >>confdefs.h
<<\_ACEOF
2798 cat >>confdefs.h
<<\_ACEOF
2802 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2809 cat >>confdefs.h
<<\_ACEOF
2813 cat >>confdefs.h
<<\_ACEOF
2817 cat >>confdefs.h
<<\_ACEOF
2821 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2828 cat >>confdefs.h
<<\_ACEOF
2829 #define __UNIXWARE__ 1
2834 *-*-cygwin* | *-*-mingw32* )
2837 DEFAULT_DEFAULT_wxUSE_MSW
=1
2843 cat >>confdefs.h
<<\_ACEOF
2848 DEFAULT_DEFAULT_wxUSE_MGL
=1
2851 *-pc-os2_emx | *-pc-os2-emx )
2852 cat >>confdefs.h
<<\_ACEOF
2857 cat >>confdefs.h
<<\_ACEOF
2862 DEFAULT_DEFAULT_wxUSE_PM
=1
2864 LDFLAGS
="$LDFLAGS -Zcrtdll"
2865 ac_executable_extensions
=".exe"
2866 export ac_executable_extensions
2870 for ac_dir
in $PATH; do
2872 if test -z "$ac_TEMP_PATH"; then
2873 ac_TEMP_PATH
="$ac_dir"
2875 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2878 export PATH
="$ac_TEMP_PATH"
2887 cat >>confdefs.h
<<\_ACEOF
2891 cat >>confdefs.h
<<\_ACEOF
2892 #define __DARWIN__ 1
2895 cat >>confdefs.h
<<\_ACEOF
2896 #define TARGET_CARBON 1
2899 DEFAULT_DEFAULT_wxUSE_MAC
=1
2902 powerpc
-apple-macos* )
2904 ac_cv_c_bigendian
=yes
2906 DEFAULT_DEFAULT_wxUSE_MAC
=1
2912 cat >>confdefs.h
<<\_ACEOF
2919 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2920 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2921 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2922 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2924 DEFAULT_DEFAULT_wxUSE_X11
=1
2925 DEFAULT_wxUSE_SHARED
=no
2931 wx_arg_cache_file
="configarg.cache"
2932 echo "loading argument cache $wx_arg_cache_file"
2933 rm -f ${wx_arg_cache_file}.tmp
2934 touch ${wx_arg_cache_file}.tmp
2935 touch ${wx_arg_cache_file}
2938 DEFAULT_wxUSE_ALL_FEATURES
=yes
2940 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2941 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2943 DEFAULT_wxUSE_DMALLOC
=no
2944 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2945 DEFAULT_wxUSE_LIBHILDON
=no
2946 DEFAULT_wxUSE_LIBMSPACK
=no
2947 DEFAULT_wxUSE_LIBSDL
=no
2948 DEFAULT_wxUSE_ODBC
=no
2949 DEFAULT_wxUSE_OPENGL
=no
2951 DEFAULT_wxUSE_ACCESSIBILITY
=no
2952 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2953 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2954 DEFAULT_wxUSE_MEDIACTRL
=no
2955 DEFAULT_wxUSE_TAB_DIALOG
=no
2957 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2958 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2960 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2962 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2964 DEFAULT_wxUSE_GTK2
=yes
2966 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2969 for toolkit
in `echo $ALL_TOOLKITS`; do
2970 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2971 if test "x$LINE" != "x" ; then
2972 has_toolkit_in_cache
=1
2973 eval "DEFAULT_$LINE"
2974 eval "CACHE_$toolkit=1"
2976 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2977 if test "x$LINE" != "x" ; then
2978 eval "DEFAULT_$LINE"
2987 enablestring
=disable
2989 if test -z "$defaultval"; then
2990 if test x
"$enablestring" = xdisable
; then
2997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2998 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2999 # Check whether --enable-gui was given.
3000 if test "${enable_gui+set}" = set; then
3001 enableval
=$enable_gui;
3002 if test "$enableval" = yes; then
3003 wx_cv_use_gui
='wxUSE_GUI=yes'
3005 wx_cv_use_gui
='wxUSE_GUI=no'
3011 LINE
=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3012 if test "x$LINE" != x
; then
3013 eval "DEFAULT_$LINE"
3019 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3024 eval "$wx_cv_use_gui"
3025 if test "x$cache" = xyes; then
3026 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3029 if test x"$enablestring" = xdisable; then
3030 if test $wxUSE_GUI = yes; then
3039 { echo "$as_me:$LINENO: result: $result" >&5
3040 echo "${ECHO_T}$result" >&6; }
3045 if test -z "$defaultval"; then
3046 if test x"$enablestring" = xdisable; then
3053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3054 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3055 # Check whether --enable-monolithic was given.
3056 if test "${enable_monolithic+set}" = set; then
3057 enableval=$enable_monolithic;
3058 if test "$enableval" = yes; then
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3061 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3067 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3068 if test "x$LINE" != x ; then
3069 eval "DEFAULT_$LINE"
3075 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3080 eval "$wx_cv_use_monolithic"
3081 if test "x
$cache" = xyes; then
3082 echo "wxUSE_MONOLITHIC
=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3085 if test x"$enablestring" = xdisable; then
3086 if test $wxUSE_MONOLITHIC = yes; then
3092 result=$wxUSE_MONOLITHIC
3095 { echo "$as_me:$LINENO: result
: $result" >&5
3096 echo "${ECHO_T}$result" >&6; }
3101 if test -z "$defaultval"; then
3102 if test x"$enablestring" = xdisable; then
3109 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3110 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3111 # Check whether --enable-plugins was given.
3112 if test "${enable_plugins+set}" = set; then
3113 enableval=$enable_plugins;
3114 if test "$enableval" = yes; then
3115 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3117 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3123 LINE=`grep "^wxUSE_PLUGINS
=" ${wx_arg_cache_file}`
3124 if test "x
$LINE" != x ; then
3125 eval "DEFAULT_
$LINE"
3131 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3136 eval "$wx_cv_use_plugins"
3137 if test "x$cache" = xyes
; then
3138 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3141 if test x
"$enablestring" = xdisable
; then
3142 if test $wxUSE_PLUGINS = yes; then
3148 result
=$wxUSE_PLUGINS
3151 { echo "$as_me:$LINENO: result: $result" >&5
3152 echo "${ECHO_T}$result" >&6; }
3156 defaultval
=$wxUSE_ALL_FEATURES
3157 if test -z "$defaultval"; then
3158 if test x
"$withstring" = xwithout
; then
3164 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3165 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3167 # Check whether --with-subdirs was given.
3168 if test "${with_subdirs+set}" = set; then
3169 withval
=$with_subdirs;
3170 if test "$withval" = yes; then
3171 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3173 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3179 LINE
=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x
; then
3181 eval "DEFAULT_$LINE"
3187 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3192 eval "$wx_cv_use_subdirs"
3193 if test "x$cache" = xyes; then
3194 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3197 if test x"$withstring" = xwithout; then
3198 if test $wxWITH_SUBDIRS = yes; then
3204 result=$wxWITH_SUBDIRS
3207 { echo "$as_me:$LINENO: result: $result" >&5
3208 echo "${ECHO_T}$result" >&6; }
3211 # Check whether --with-flavour was given.
3212 if test "${with_flavour+set}" = set; then
3213 withval=$with_flavour; WX_FLAVOUR="$withval"
3219 if test -z "$defaultval"; then
3220 if test x"$enablestring" = xdisable; then
3227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3228 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3229 # Check whether --enable-official_build was given.
3230 if test "${enable_official_build+set}" = set; then
3231 enableval=$enable_official_build;
3232 if test "$enableval" = yes; then
3233 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3235 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3241 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x ; then
3243 eval "DEFAULT_$LINE"
3249 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3254 eval "$wx_cv_use_official_build"
3255 if test "x
$cache" = xyes; then
3256 echo "wxUSE_OFFICIAL_BUILD
=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3259 if test x"$enablestring" = xdisable; then
3260 if test $wxUSE_OFFICIAL_BUILD = yes; then
3266 result=$wxUSE_OFFICIAL_BUILD
3269 { echo "$as_me:$LINENO: result
: $result" >&5
3270 echo "${ECHO_T}$result" >&6; }
3272 # Check whether --enable-vendor was given.
3273 if test "${enable_vendor+set}" = set; then
3274 enableval=$enable_vendor; VENDOR="$enableval"
3277 if test "x
$VENDOR" = "x
"; then
3282 enablestring=disable
3284 if test -z "$defaultval"; then
3285 if test x"$enablestring" = xdisable; then
3292 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3293 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3294 # Check whether --enable-all-features was given.
3295 if test "${enable_all_features+set}" = set; then
3296 enableval=$enable_all_features;
3297 if test "$enableval" = yes; then
3298 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3300 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3306 LINE=`grep "^wxUSE_ALL_FEATURES
=" ${wx_arg_cache_file}`
3307 if test "x
$LINE" != x ; then
3308 eval "DEFAULT_
$LINE"
3314 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3319 eval "$wx_cv_use_all_features"
3320 if test "x$cache" = xyes
; then
3321 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3324 if test x
"$enablestring" = xdisable
; then
3325 if test $wxUSE_ALL_FEATURES = yes; then
3331 result
=$wxUSE_ALL_FEATURES
3334 { echo "$as_me:$LINENO: result: $result" >&5
3335 echo "${ECHO_T}$result" >&6; }
3339 if test "$wxUSE_GUI" = "yes"; then
3344 if test -z "$defaultval"; then
3345 if test x
"$enablestring" = xdisable
; then
3352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3353 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3354 # Check whether --enable-universal was given.
3355 if test "${enable_universal+set}" = set; then
3356 enableval
=$enable_universal;
3357 if test "$enableval" = yes; then
3358 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3360 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3366 LINE
=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x
; then
3368 eval "DEFAULT_$LINE"
3374 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3379 eval "$wx_cv_use_universal"
3380 if test "x$cache" = xyes; then
3381 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_UNIVERSAL = yes; then
3391 result=$wxUSE_UNIVERSAL
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3397 if test "$wxUSE_UNIVERSAL" = "yes"; then
3399 # Check whether --with-themes was given.
3400 if test "${with_themes+set}" = set; then
3401 withval=$with_themes; wxUNIV_THEMES="$withval"
3407 # Check whether --with-gtk was given.
3408 if test "${with_gtk+set}" = set; then
3409 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-motif was given.
3414 if test "${with_motif+set}" = set; then
3415 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-mac was given.
3420 if test "${with_mac+set}" = set; then
3421 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3425 # Check whether --with-cocoa was given.
3426 if test "${with_cocoa+set}" = set; then
3427 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-wine was given.
3432 if test "${with_wine+set}" = set; then
3433 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3437 # Check whether --with-msw was given.
3438 if test "${with_msw+set}" = set; then
3439 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3443 # Check whether --with-pm was given.
3444 if test "${with_pm+set}" = set; then
3445 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3449 # Check whether --with-mgl was given.
3450 if test "${with_mgl+set}" = set; then
3451 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3455 # Check whether --with-directfb was given.
3456 if test "${with_directfb+set}" = set; then
3457 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3461 # Check whether --with-microwin was given.
3462 if test "${with_microwin+set}" = set; then
3463 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3467 # Check whether --with-x11 was given.
3468 if test "${with_x11+set}" = set; then
3469 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3475 if test -z "$defaultval"; then
3476 if test x"$enablestring" = xdisable; then
3483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3484 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3485 # Check whether --enable-nanox was given.
3486 if test "${enable_nanox+set}" = set; then
3487 enableval=$enable_nanox;
3488 if test "$enableval" = yes; then
3489 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3491 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3497 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x ; then
3499 eval "DEFAULT_$LINE"
3505 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3510 eval "$wx_cv_use_nanox"
3511 if test "x
$cache" = xyes; then
3512 echo "wxUSE_NANOX
=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3515 if test x"$enablestring" = xdisable; then
3516 if test $wxUSE_NANOX = yes; then
3525 { echo "$as_me:$LINENO: result
: $result" >&5
3526 echo "${ECHO_T}$result" >&6; }
3529 # Check whether --enable-gtk2 was given.
3530 if test "${enable_gtk2+set}" = set; then
3531 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3537 if test -z "$defaultval"; then
3538 if test x"$enablestring" = xdisable; then
3545 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3546 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3547 # Check whether --enable-gpe was given.
3548 if test "${enable_gpe+set}" = set; then
3549 enableval=$enable_gpe;
3550 if test "$enableval" = yes; then
3551 wx_cv_use_gpe='wxUSE_GPE=yes'
3553 wx_cv_use_gpe='wxUSE_GPE=no'
3559 LINE=`grep "^wxUSE_GPE
=" ${wx_arg_cache_file}`
3560 if test "x
$LINE" != x ; then
3561 eval "DEFAULT_
$LINE"
3567 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3572 eval "$wx_cv_use_gpe"
3573 if test "x$cache" = xyes
; then
3574 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3577 if test x
"$enablestring" = xdisable
; then
3578 if test $wxUSE_GPE = yes; then
3587 { echo "$as_me:$LINENO: result: $result" >&5
3588 echo "${ECHO_T}$result" >&6; }
3593 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3594 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3596 # Check whether --with-libpng was given.
3597 if test "${with_libpng+set}" = set; then
3598 withval
=$with_libpng;
3599 if test "$withval" = yes; then
3600 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3601 elif test "$withval" = no
; then
3602 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3603 elif test "$withval" = sys
; then
3604 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3605 elif test "$withval" = builtin; then
3606 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3608 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3609 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3610 { (exit 1); exit 1; }; }
3616 LINE
=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3617 if test "x$LINE" != x
; then
3618 eval "DEFAULT_$LINE"
3624 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3629 eval "$wx_cv_use_libpng"
3630 if test "x$cache" = xyes; then
3631 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3634 if test "$wxUSE_LIBPNG" = yes; then
3635 { echo "$as_me:$LINENO: result: yes" >&5
3636 echo "${ECHO_T}yes" >&6; }
3637 elif test "$wxUSE_LIBPNG" = no; then
3638 { echo "$as_me:$LINENO: result: no" >&5
3639 echo "${ECHO_T}no" >&6; }
3640 elif test "$wxUSE_LIBPNG" = sys; then
3641 { echo "$as_me:$LINENO: result: system version" >&5
3642 echo "${ECHO_T}system version" >&6; }
3643 elif test "$wxUSE_LIBPNG" = builtin; then
3644 { echo "$as_me:$LINENO: result: builtin version" >&5
3645 echo "${ECHO_T}builtin version" >&6; }
3647 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3648 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3649 { (exit 1); exit 1; }; }
3653 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3654 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3656 # Check whether --with-libjpeg was given.
3657 if test "${with_libjpeg+set}" = set; then
3658 withval=$with_libjpeg;
3659 if test "$withval" = yes; then
3660 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3661 elif test "$withval" = no; then
3662 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3663 elif test "$withval" = sys; then
3664 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3665 elif test "$withval" = builtin; then
3666 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3668 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3669 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3676 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3677 if test "x$LINE" != x ; then
3678 eval "DEFAULT_$LINE"
3684 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3689 eval "$wx_cv_use_libjpeg"
3690 if test "x
$cache" = xyes; then
3691 echo "wxUSE_LIBJPEG
=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3694 if test "$wxUSE_LIBJPEG" = yes; then
3695 { echo "$as_me:$LINENO: result
: yes" >&5
3696 echo "${ECHO_T}yes" >&6; }
3697 elif test "$wxUSE_LIBJPEG" = no; then
3698 { echo "$as_me:$LINENO: result
: no
" >&5
3699 echo "${ECHO_T}no
" >&6; }
3700 elif test "$wxUSE_LIBJPEG" = sys; then
3701 { echo "$as_me:$LINENO: result
: system version
" >&5
3702 echo "${ECHO_T}system version
" >&6; }
3703 elif test "$wxUSE_LIBJPEG" = builtin; then
3704 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3705 echo "${ECHO_T}builtin version
" >&6; }
3707 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3708 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3713 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3714 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3716 # Check whether --with-libtiff was given.
3717 if test "${with_libtiff+set}" = set; then
3718 withval=$with_libtiff;
3719 if test "$withval" = yes; then
3720 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3721 elif test "$withval" = no; then
3722 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3723 elif test "$withval" = sys; then
3724 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3725 elif test "$withval" = builtin; then
3726 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3728 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3729 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3730 { (exit 1); exit 1; }; }
3736 LINE=`grep "^wxUSE_LIBTIFF
=" ${wx_arg_cache_file}`
3737 if test "x
$LINE" != x ; then
3738 eval "DEFAULT_
$LINE"
3744 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3749 eval "$wx_cv_use_libtiff"
3750 if test "x$cache" = xyes
; then
3751 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3754 if test "$wxUSE_LIBTIFF" = yes; then
3755 { echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6; }
3757 elif test "$wxUSE_LIBTIFF" = no
; then
3758 { echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6; }
3760 elif test "$wxUSE_LIBTIFF" = sys
; then
3761 { echo "$as_me:$LINENO: result: system version" >&5
3762 echo "${ECHO_T}system version" >&6; }
3763 elif test "$wxUSE_LIBTIFF" = builtin; then
3764 { echo "$as_me:$LINENO: result: builtin version" >&5
3765 echo "${ECHO_T}builtin version" >&6; }
3767 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3768 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3769 { (exit 1); exit 1; }; }
3773 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3774 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3776 # Check whether --with-libxpm was given.
3777 if test "${with_libxpm+set}" = set; then
3778 withval
=$with_libxpm;
3779 if test "$withval" = yes; then
3780 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3781 elif test "$withval" = no
; then
3782 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3783 elif test "$withval" = sys
; then
3784 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3785 elif test "$withval" = builtin; then
3786 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3789 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3790 { (exit 1); exit 1; }; }
3796 LINE
=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3797 if test "x$LINE" != x
; then
3798 eval "DEFAULT_$LINE"
3804 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3809 eval "$wx_cv_use_libxpm"
3810 if test "x$cache" = xyes; then
3811 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_LIBXPM" = yes; then
3815 { echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6; }
3817 elif test "$wxUSE_LIBXPM" = no; then
3818 { echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6; }
3820 elif test "$wxUSE_LIBXPM" = sys; then
3821 { echo "$as_me:$LINENO: result: system version" >&5
3822 echo "${ECHO_T}system version" >&6; }
3823 elif test "$wxUSE_LIBXPM" = builtin; then
3824 { echo "$as_me:$LINENO: result: builtin version" >&5
3825 echo "${ECHO_T}builtin version" >&6; }
3827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3828 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3829 { (exit 1); exit 1; }; }
3834 defaultval=$wxUSE_ALL_FEATURES
3835 if test -z "$defaultval"; then
3836 if test x"$withstring" = xwithout; then
3842 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3843 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3845 # Check whether --with-libmspack was given.
3846 if test "${with_libmspack+set}" = set; then
3847 withval=$with_libmspack;
3848 if test "$withval" = yes; then
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3851 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3857 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x ; then
3859 eval "DEFAULT_$LINE"
3865 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3870 eval "$wx_cv_use_libmspack"
3871 if test "x
$cache" = xyes; then
3872 echo "wxUSE_LIBMSPACK
=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3875 if test x"$withstring" = xwithout; then
3876 if test $wxUSE_LIBMSPACK = yes; then
3882 result=$wxUSE_LIBMSPACK
3885 { echo "$as_me:$LINENO: result
: $result" >&5
3886 echo "${ECHO_T}$result" >&6; }
3890 defaultval=$wxUSE_ALL_FEATURES
3891 if test -z "$defaultval"; then
3892 if test x"$withstring" = xwithout; then
3898 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3899 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3901 # Check whether --with-gtkprint was given.
3902 if test "${with_gtkprint+set}" = set; then
3903 withval=$with_gtkprint;
3904 if test "$withval" = yes; then
3905 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3907 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3913 LINE=`grep "^wxUSE_GTKPRINT
=" ${wx_arg_cache_file}`
3914 if test "x
$LINE" != x ; then
3915 eval "DEFAULT_
$LINE"
3921 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3926 eval "$wx_cv_use_gtkprint"
3927 if test "x$cache" = xyes
; then
3928 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3931 if test x
"$withstring" = xwithout
; then
3932 if test $wxUSE_GTKPRINT = yes; then
3938 result
=$wxUSE_GTKPRINT
3941 { echo "$as_me:$LINENO: result: $result" >&5
3942 echo "${ECHO_T}$result" >&6; }
3946 defaultval
=$wxUSE_ALL_FEATURES
3947 if test -z "$defaultval"; then
3948 if test x
"$withstring" = xwithout
; then
3954 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3955 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3957 # Check whether --with-gnomeprint was given.
3958 if test "${with_gnomeprint+set}" = set; then
3959 withval
=$with_gnomeprint;
3960 if test "$withval" = yes; then
3961 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3963 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3969 LINE
=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3970 if test "x$LINE" != x
; then
3971 eval "DEFAULT_$LINE"
3977 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3982 eval "$wx_cv_use_gnomeprint"
3983 if test "x$cache" = xyes; then
3984 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3987 if test x"$withstring" = xwithout; then
3988 if test $wxUSE_LIBGNOMEPRINT = yes; then
3994 result=$wxUSE_LIBGNOMEPRINT
3997 { echo "$as_me:$LINENO: result: $result" >&5
3998 echo "${ECHO_T}$result" >&6; }
4002 defaultval=$wxUSE_ALL_FEATURES
4003 if test -z "$defaultval"; then
4004 if test x"$withstring" = xwithout; then
4010 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4011 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4013 # Check whether --with-gnomevfs was given.
4014 if test "${with_gnomevfs+set}" = set; then
4015 withval=$with_gnomevfs;
4016 if test "$withval" = yes; then
4017 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
4019 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
4025 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x ; then
4027 eval "DEFAULT_$LINE"
4033 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4038 eval "$wx_cv_use_gnomevfs"
4039 if test "x
$cache" = xyes; then
4040 echo "wxUSE_LIBGNOMEVFS
=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4043 if test x"$withstring" = xwithout; then
4044 if test $wxUSE_LIBGNOMEVFS = yes; then
4050 result=$wxUSE_LIBGNOMEVFS
4053 { echo "$as_me:$LINENO: result
: $result" >&5
4054 echo "${ECHO_T}$result" >&6; }
4058 defaultval=$wxUSE_ALL_FEATURES
4059 if test -z "$defaultval"; then
4060 if test x"$withstring" = xwithout; then
4066 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
4067 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
4069 # Check whether --with-hildon was given.
4070 if test "${with_hildon+set}" = set; then
4071 withval=$with_hildon;
4072 if test "$withval" = yes; then
4073 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4075 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4081 LINE=`grep "^wxUSE_LIBHILDON
=" ${wx_arg_cache_file}`
4082 if test "x
$LINE" != x ; then
4083 eval "DEFAULT_
$LINE"
4089 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4094 eval "$wx_cv_use_hildon"
4095 if test "x$cache" = xyes
; then
4096 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4099 if test x
"$withstring" = xwithout
; then
4100 if test $wxUSE_LIBHILDON = yes; then
4106 result
=$wxUSE_LIBHILDON
4109 { echo "$as_me:$LINENO: result: $result" >&5
4110 echo "${ECHO_T}$result" >&6; }
4114 defaultval
=$wxUSE_ALL_FEATURES
4115 if test -z "$defaultval"; then
4116 if test x
"$withstring" = xwithout
; then
4122 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4123 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4125 # Check whether --with-opengl was given.
4126 if test "${with_opengl+set}" = set; then
4127 withval
=$with_opengl;
4128 if test "$withval" = yes; then
4129 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
4131 wx_cv_use_opengl
='wxUSE_OPENGL=no'
4137 LINE
=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x
; then
4139 eval "DEFAULT_$LINE"
4145 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4150 eval "$wx_cv_use_opengl"
4151 if test "x$cache" = xyes; then
4152 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4155 if test x"$withstring" = xwithout; then
4156 if test $wxUSE_OPENGL = yes; then
4162 result=$wxUSE_OPENGL
4165 { echo "$as_me:$LINENO: result: $result" >&5
4166 echo "${ECHO_T}$result" >&6; }
4173 defaultval=$wxUSE_ALL_FEATURES
4174 if test -z "$defaultval"; then
4175 if test x"$withstring" = xwithout; then
4181 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4182 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4184 # Check whether --with-dmalloc was given.
4185 if test "${with_dmalloc+set}" = set; then
4186 withval=$with_dmalloc;
4187 if test "$withval" = yes; then
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
4190 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
4196 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x ; then
4198 eval "DEFAULT_$LINE"
4204 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4209 eval "$wx_cv_use_dmalloc"
4210 if test "x
$cache" = xyes; then
4211 echo "wxUSE_DMALLOC
=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4214 if test x"$withstring" = xwithout; then
4215 if test $wxUSE_DMALLOC = yes; then
4221 result=$wxUSE_DMALLOC
4224 { echo "$as_me:$LINENO: result
: $result" >&5
4225 echo "${ECHO_T}$result" >&6; }
4229 defaultval=$wxUSE_ALL_FEATURES
4230 if test -z "$defaultval"; then
4231 if test x"$withstring" = xwithout; then
4237 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
4238 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
4240 # Check whether --with-sdl was given.
4241 if test "${with_sdl+set}" = set; then
4243 if test "$withval" = yes; then
4244 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4246 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4252 LINE=`grep "^wxUSE_LIBSDL
=" ${wx_arg_cache_file}`
4253 if test "x
$LINE" != x ; then
4254 eval "DEFAULT_
$LINE"
4260 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4265 eval "$wx_cv_use_sdl"
4266 if test "x$cache" = xyes
; then
4267 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4270 if test x
"$withstring" = xwithout
; then
4271 if test $wxUSE_LIBSDL = yes; then
4277 result
=$wxUSE_LIBSDL
4280 { echo "$as_me:$LINENO: result: $result" >&5
4281 echo "${ECHO_T}$result" >&6; }
4284 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4285 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4287 # Check whether --with-regex was given.
4288 if test "${with_regex+set}" = set; then
4289 withval
=$with_regex;
4290 if test "$withval" = yes; then
4291 wx_cv_use_regex
='wxUSE_REGEX=yes'
4292 elif test "$withval" = no
; then
4293 wx_cv_use_regex
='wxUSE_REGEX=no'
4294 elif test "$withval" = sys
; then
4295 wx_cv_use_regex
='wxUSE_REGEX=sys'
4296 elif test "$withval" = builtin; then
4297 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4307 LINE
=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x
; then
4309 eval "DEFAULT_$LINE"
4315 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4320 eval "$wx_cv_use_regex"
4321 if test "x$cache" = xyes; then
4322 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4325 if test "$wxUSE_REGEX" = yes; then
4326 { echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6; }
4328 elif test "$wxUSE_REGEX" = no; then
4329 { echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6; }
4331 elif test "$wxUSE_REGEX" = sys; then
4332 { echo "$as_me:$LINENO: result: system version" >&5
4333 echo "${ECHO_T}system version" >&6; }
4334 elif test "$wxUSE_REGEX" = builtin; then
4335 { echo "$as_me:$LINENO: result: builtin version" >&5
4336 echo "${ECHO_T}builtin version" >&6; }
4338 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4339 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4340 { (exit 1); exit 1; }; }
4344 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4345 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4347 # Check whether --with-zlib was given.
4348 if test "${with_zlib+set}" = set; then
4350 if test "$withval" = yes; then
4351 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4352 elif test "$withval" = no; then
4353 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4354 elif test "$withval" = sys; then
4355 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4356 elif test "$withval" = builtin; then
4357 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4359 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4360 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4361 { (exit 1); exit 1; }; }
4367 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x ; then
4369 eval "DEFAULT_$LINE"
4375 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4380 eval "$wx_cv_use_zlib"
4381 if test "x
$cache" = xyes; then
4382 echo "wxUSE_ZLIB
=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4385 if test "$wxUSE_ZLIB" = yes; then
4386 { echo "$as_me:$LINENO: result
: yes" >&5
4387 echo "${ECHO_T}yes" >&6; }
4388 elif test "$wxUSE_ZLIB" = no; then
4389 { echo "$as_me:$LINENO: result
: no
" >&5
4390 echo "${ECHO_T}no
" >&6; }
4391 elif test "$wxUSE_ZLIB" = sys; then
4392 { echo "$as_me:$LINENO: result
: system version
" >&5
4393 echo "${ECHO_T}system version
" >&6; }
4394 elif test "$wxUSE_ZLIB" = builtin; then
4395 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4396 echo "${ECHO_T}builtin version
" >&6; }
4398 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4399 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4400 { (exit 1); exit 1; }; }
4404 { echo "$as_me:$LINENO: checking
for --with-odbc" >&5
4405 echo $ECHO_N "checking
for --with-odbc...
$ECHO_C" >&6; }
4407 # Check whether --with-odbc was given.
4408 if test "${with_odbc+set}" = set; then
4410 if test "$withval" = yes; then
4411 wx_cv_use_odbc='wxUSE_ODBC=yes'
4412 elif test "$withval" = no; then
4413 wx_cv_use_odbc='wxUSE_ODBC=no'
4414 elif test "$withval" = sys; then
4415 wx_cv_use_odbc='wxUSE_ODBC=sys'
4416 elif test "$withval" = builtin; then
4417 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4419 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-odbc: should be
yes, no
, sys
, or
builtin" >&5
4420 echo "$as_me: error
: Invalid value
for --with-odbc: should be
yes, no
, sys
, or
builtin" >&2;}
4421 { (exit 1); exit 1; }; }
4427 LINE=`grep "^wxUSE_ODBC
=" ${wx_arg_cache_file}`
4428 if test "x
$LINE" != x ; then
4429 eval "DEFAULT_
$LINE"
4435 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4440 eval "$wx_cv_use_odbc"
4441 if test "x$cache" = xyes
; then
4442 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4445 if test "$wxUSE_ODBC" = yes; then
4446 { echo "$as_me:$LINENO: result: yes" >&5
4447 echo "${ECHO_T}yes" >&6; }
4448 elif test "$wxUSE_ODBC" = no
; then
4449 { echo "$as_me:$LINENO: result: no" >&5
4450 echo "${ECHO_T}no" >&6; }
4451 elif test "$wxUSE_ODBC" = sys
; then
4452 { echo "$as_me:$LINENO: result: system version" >&5
4453 echo "${ECHO_T}system version" >&6; }
4454 elif test "$wxUSE_ODBC" = builtin; then
4455 { echo "$as_me:$LINENO: result: builtin version" >&5
4456 echo "${ECHO_T}builtin version" >&6; }
4458 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4459 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4460 { (exit 1); exit 1; }; }
4464 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4465 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4467 # Check whether --with-expat was given.
4468 if test "${with_expat+set}" = set; then
4469 withval
=$with_expat;
4470 if test "$withval" = yes; then
4471 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4472 elif test "$withval" = no
; then
4473 wx_cv_use_expat
='wxUSE_EXPAT=no'
4474 elif test "$withval" = sys
; then
4475 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4476 elif test "$withval" = builtin; then
4477 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4479 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4480 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4481 { (exit 1); exit 1; }; }
4487 LINE
=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x
; then
4489 eval "DEFAULT_$LINE"
4495 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4500 eval "$wx_cv_use_expat"
4501 if test "x$cache" = xyes; then
4502 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4505 if test "$wxUSE_EXPAT" = yes; then
4506 { echo "$as_me:$LINENO: result: yes" >&5
4507 echo "${ECHO_T}yes" >&6; }
4508 elif test "$wxUSE_EXPAT" = no; then
4509 { echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6; }
4511 elif test "$wxUSE_EXPAT" = sys; then
4512 { echo "$as_me:$LINENO: result: system version" >&5
4513 echo "${ECHO_T}system version" >&6; }
4514 elif test "$wxUSE_EXPAT" = builtin; then
4515 { echo "$as_me:$LINENO: result: builtin version" >&5
4516 echo "${ECHO_T}builtin version" >&6; }
4518 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4519 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4520 { (exit 1); exit 1; }; }
4524 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4525 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4527 # Check whether --with-macosx-sdk was given.
4528 if test "${with_macosx_sdk+set}" = set; then
4529 withval=$with_macosx_sdk;
4530 wxUSE_MACOSX_SDK=$withval
4531 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4532 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4536 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4537 # will override --enable-universal_binary's automatic SDK usage.
4539 LINE
=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x
; then
4542 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4547 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4548 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4550 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4551 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4553 # Check whether --with-macosx-version-min was given.
4554 if test "${with_macosx_version_min+set}" = set; then
4555 withval
=$with_macosx_version_min;
4556 wxUSE_MACOSX_VERSION_MIN
=$withval
4557 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4558 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4562 # default "yes" because when not using an SDK it means the same as no
4563 # but when using an SDK it means to use the SDK version
4564 wxUSE_MACOSX_VERSION_MIN
=yes
4565 # See if there is a value in the cache
4566 LINE
=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4567 if test "x$LINE" != x
; then
4569 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4574 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4575 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4579 enablestring
=disable
4581 if test -z "$defaultval"; then
4582 if test x
"$enablestring" = xdisable
; then
4589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4591 # Check whether --enable-shared was given.
4592 if test "${enable_shared+set}" = set; then
4593 enableval
=$enable_shared;
4594 if test "$enableval" = yes; then
4595 wx_cv_use_shared
='wxUSE_SHARED=yes'
4597 wx_cv_use_shared
='wxUSE_SHARED=no'
4603 LINE
=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x
; then
4605 eval "DEFAULT_$LINE"
4611 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4616 eval "$wx_cv_use_shared"
4617 if test "x$cache" = xyes; then
4618 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4621 if test x"$enablestring" = xdisable; then
4622 if test $wxUSE_SHARED = yes; then
4628 result=$wxUSE_SHARED
4631 { echo "$as_me:$LINENO: result: $result" >&5
4632 echo "${ECHO_T}$result" >&6; }
4635 enablestring=disable
4637 if test -z "$defaultval"; then
4638 if test x"$enablestring" = xdisable; then
4645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4646 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4647 # Check whether --enable-optimise was given.
4648 if test "${enable_optimise+set}" = set; then
4649 enableval=$enable_optimise;
4650 if test "$enableval" = yes; then
4651 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4653 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4659 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x ; then
4661 eval "DEFAULT_$LINE"
4667 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4672 eval "$wx_cv_use_optimise"
4673 if test "x
$cache" = xyes; then
4674 echo "wxUSE_OPTIMISE
=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4677 if test x"$enablestring" = xdisable; then
4678 if test $wxUSE_OPTIMISE = yes; then
4684 result=$wxUSE_OPTIMISE
4687 { echo "$as_me:$LINENO: result
: $result" >&5
4688 echo "${ECHO_T}$result" >&6; }
4693 if test -z "$defaultval"; then
4694 if test x"$enablestring" = xdisable; then
4701 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4702 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4703 # Check whether --enable-debug was given.
4704 if test "${enable_debug+set}" = set; then
4705 enableval=$enable_debug;
4706 if test "$enableval" = yes; then
4707 wx_cv_use_debug='wxUSE_DEBUG=yes'
4709 wx_cv_use_debug='wxUSE_DEBUG=no'
4715 LINE=`grep "^wxUSE_DEBUG
=" ${wx_arg_cache_file}`
4716 if test "x
$LINE" != x ; then
4717 eval "DEFAULT_
$LINE"
4723 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4728 eval "$wx_cv_use_debug"
4729 if test "x$cache" = xyes
; then
4730 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4733 if test x
"$enablestring" = xdisable
; then
4734 if test $wxUSE_DEBUG = yes; then
4743 { echo "$as_me:$LINENO: result: $result" >&5
4744 echo "${ECHO_T}$result" >&6; }
4749 if test -z "$defaultval"; then
4750 if test x
"$enablestring" = xdisable
; then
4757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4758 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4759 # Check whether --enable-stl was given.
4760 if test "${enable_stl+set}" = set; then
4761 enableval
=$enable_stl;
4762 if test "$enableval" = yes; then
4763 wx_cv_use_stl
='wxUSE_STL=yes'
4765 wx_cv_use_stl
='wxUSE_STL=no'
4771 LINE
=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4772 if test "x$LINE" != x
; then
4773 eval "DEFAULT_$LINE"
4779 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4784 eval "$wx_cv_use_stl"
4785 if test "x$cache" = xyes; then
4786 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4789 if test x"$enablestring" = xdisable; then
4790 if test $wxUSE_STL = yes; then
4799 { echo "$as_me:$LINENO: result: $result" >&5
4800 echo "${ECHO_T}$result" >&6; }
4805 if test -z "$defaultval"; then
4806 if test x"$enablestring" = xdisable; then
4813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4814 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4815 # Check whether --enable-std_iostreams was given.
4816 if test "${enable_std_iostreams+set}" = set; then
4817 enableval=$enable_std_iostreams;
4818 if test "$enableval" = yes; then
4819 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4821 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4827 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4828 if test "x$LINE" != x ; then
4829 eval "DEFAULT_$LINE"
4835 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4840 eval "$wx_cv_use_std_iostreams"
4841 if test "x
$cache" = xyes; then
4842 echo "wxUSE_STD_IOSTREAM
=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4845 if test x"$enablestring" = xdisable; then
4846 if test $wxUSE_STD_IOSTREAM = yes; then
4852 result=$wxUSE_STD_IOSTREAM
4855 { echo "$as_me:$LINENO: result
: $result" >&5
4856 echo "${ECHO_T}$result" >&6; }
4861 if test -z "$defaultval"; then
4862 if test x"$enablestring" = xdisable; then
4869 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4870 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4871 # Check whether --enable-std_string was given.
4872 if test "${enable_std_string+set}" = set; then
4873 enableval=$enable_std_string;
4874 if test "$enableval" = yes; then
4875 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4877 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4883 LINE=`grep "^wxUSE_STD_STRING
=" ${wx_arg_cache_file}`
4884 if test "x
$LINE" != x ; then
4885 eval "DEFAULT_
$LINE"
4891 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4896 eval "$wx_cv_use_std_string"
4897 if test "x$cache" = xyes
; then
4898 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4901 if test x
"$enablestring" = xdisable
; then
4902 if test $wxUSE_STD_STRING = yes; then
4908 result
=$wxUSE_STD_STRING
4911 { echo "$as_me:$LINENO: result: $result" >&5
4912 echo "${ECHO_T}$result" >&6; }
4915 enablestring
=disable
4917 if test -z "$defaultval"; then
4918 if test x
"$enablestring" = xdisable
; then
4925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4927 # Check whether --enable-unicode was given.
4928 if test "${enable_unicode+set}" = set; then
4929 enableval
=$enable_unicode;
4930 if test "$enableval" = yes; then
4931 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4933 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4939 LINE
=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x
; then
4941 eval "DEFAULT_$LINE"
4947 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4952 eval "$wx_cv_use_unicode"
4953 if test "x$cache" = xyes; then
4954 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4957 if test x"$enablestring" = xdisable; then
4958 if test $wxUSE_UNICODE = yes; then
4964 result=$wxUSE_UNICODE
4967 { echo "$as_me:$LINENO: result: $result" >&5
4968 echo "${ECHO_T}$result" >&6; }
4973 if test -z "$defaultval"; then
4974 if test x"$enablestring" = xdisable; then
4981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4983 # Check whether --enable-mslu was given.
4984 if test "${enable_mslu+set}" = set; then
4985 enableval=$enable_mslu;
4986 if test "$enableval" = yes; then
4987 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4989 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4995 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x ; then
4997 eval "DEFAULT_$LINE"
5003 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5008 eval "$wx_cv_use_mslu"
5009 if test "x
$cache" = xyes; then
5010 echo "wxUSE_UNICODE_MSLU
=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
5013 if test x"$enablestring" = xdisable; then
5014 if test $wxUSE_UNICODE_MSLU = yes; then
5020 result=$wxUSE_UNICODE_MSLU
5023 { echo "$as_me:$LINENO: result
: $result" >&5
5024 echo "${ECHO_T}$result" >&6; }
5028 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5029 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5030 # Check whether --enable-utf8 was given.
5031 if test "${enable_utf8+set}" = set; then
5032 enableval=$enable_utf8;
5033 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5038 LINE=`grep "^wxUSE_UNICODE_UTF8
=" ${wx_arg_cache_file}`
5039 if test "x
$LINE" != x ; then
5040 eval "DEFAULT_
$LINE"
5046 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5051 eval "$wx_cv_use_utf8"
5052 if test "x
$cache" = xyes; then
5053 echo "wxUSE_UNICODE_UTF8
=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
5056 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5057 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5070 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5071 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5072 # Check whether --enable-utf8only was given.
5073 if test "${enable_utf8only+set}" = set; then
5074 enableval=$enable_utf8only;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5078 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5084 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE
=" ${wx_arg_cache_file}`
5085 if test "x
$LINE" != x ; then
5086 eval "DEFAULT_
$LINE"
5092 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5097 eval "$wx_cv_use_utf8only"
5098 if test "x$cache" = xyes
; then
5099 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5102 if test x
"$enablestring" = xdisable
; then
5103 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5109 result
=$wxUSE_UNICODE_UTF8_LOCALE
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5118 if test -z "$defaultval"; then
5119 if test x
"$enablestring" = xdisable
; then
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-extended_rtti was given.
5129 if test "${enable_extended_rtti+set}" = set; then
5130 enableval
=$enable_extended_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5134 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5140 LINE
=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5141 if test "x$LINE" != x
; then
5142 eval "DEFAULT_$LINE"
5148 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5153 eval "$wx_cv_use_extended_rtti"
5154 if test "x$cache" = xyes; then
5155 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5158 if test x"$enablestring" = xdisable; then
5159 if test $wxUSE_EXTENDED_RTTI = yes; then
5165 result=$wxUSE_EXTENDED_RTTI
5168 { echo "$as_me:$LINENO: result: $result" >&5
5169 echo "${ECHO_T}$result" >&6; }
5171 if test "$USE_OS2" = "1"; then
5172 DEFAULT_wxUSE_OMF=no
5176 if test -z "$defaultval"; then
5177 if test x"$enablestring" = xdisable; then
5184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5186 # Check whether --enable-omf was given.
5187 if test "${enable_omf+set}" = set; then
5188 enableval=$enable_omf;
5189 if test "$enableval" = yes; then
5190 wx_cv_use_omf='wxUSE_OMF
=yes'
5192 wx_cv_use_omf='wxUSE_OMF
=no
'
5198 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5206 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5211 eval "$wx_cv_use_omf"
5212 if test "x
$cache" = xyes; then
5213 echo "wxUSE_OMF
=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5216 if test x"$enablestring" = xdisable; then
5217 if test $wxUSE_OMF = yes; then
5226 { echo "$as_me:$LINENO: result
: $result" >&5
5227 echo "${ECHO_T}$result" >&6; }
5231 if test "$wxUSE_DEBUG" = "yes"; then
5232 DEFAULT_wxUSE_DEBUG_FLAG=yes
5233 DEFAULT_wxUSE_DEBUG_INFO=yes
5235 elif test "$wxUSE_DEBUG" = "no
"; then
5236 DEFAULT_wxUSE_DEBUG_FLAG=no
5237 DEFAULT_wxUSE_DEBUG_INFO=no
5244 if test -z "$defaultval"; then
5245 if test x"$enablestring" = xdisable; then
5252 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
5253 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
5254 # Check whether --enable-debug_flag was given.
5255 if test "${enable_debug_flag+set}" = set; then
5256 enableval=$enable_debug_flag;
5257 if test "$enableval" = yes; then
5258 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5260 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5266 LINE=`grep "^wxUSE_DEBUG_FLAG
=" ${wx_arg_cache_file}`
5267 if test "x
$LINE" != x ; then
5268 eval "DEFAULT_
$LINE"
5274 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5279 eval "$wx_cv_use_debug_flag"
5280 if test "x$cache" = xyes
; then
5281 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5284 if test x
"$enablestring" = xdisable
; then
5285 if test $wxUSE_DEBUG_FLAG = yes; then
5291 result
=$wxUSE_DEBUG_FLAG
5294 { echo "$as_me:$LINENO: result: $result" >&5
5295 echo "${ECHO_T}$result" >&6; }
5300 if test -z "$defaultval"; then
5301 if test x
"$enablestring" = xdisable
; then
5308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5309 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5310 # Check whether --enable-debug_info was given.
5311 if test "${enable_debug_info+set}" = set; then
5312 enableval
=$enable_debug_info;
5313 if test "$enableval" = yes; then
5314 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5316 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5322 LINE
=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x
; then
5324 eval "DEFAULT_$LINE"
5330 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5335 eval "$wx_cv_use_debug_info"
5336 if test "x$cache" = xyes; then
5337 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5340 if test x"$enablestring" = xdisable; then
5341 if test $wxUSE_DEBUG_INFO = yes; then
5347 result=$wxUSE_DEBUG_INFO
5350 { echo "$as_me:$LINENO: result: $result" >&5
5351 echo "${ECHO_T}$result" >&6; }
5356 if test -z "$defaultval"; then
5357 if test x"$enablestring" = xdisable; then
5364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5366 # Check whether --enable-debug_gdb was given.
5367 if test "${enable_debug_gdb+set}" = set; then
5368 enableval=$enable_debug_gdb;
5369 if test "$enableval" = yes; then
5370 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5372 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5378 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5379 if test "x$LINE" != x ; then
5380 eval "DEFAULT_$LINE"
5386 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5391 eval "$wx_cv_use_debug_gdb"
5392 if test "x
$cache" = xyes; then
5393 echo "wxUSE_DEBUG_GDB
=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5396 if test x"$enablestring" = xdisable; then
5397 if test $wxUSE_DEBUG_GDB = yes; then
5403 result=$wxUSE_DEBUG_GDB
5406 { echo "$as_me:$LINENO: result
: $result" >&5
5407 echo "${ECHO_T}$result" >&6; }
5412 if test -z "$defaultval"; then
5413 if test x"$enablestring" = xdisable; then
5420 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5421 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
5422 # Check whether --enable-debug_cntxt was given.
5423 if test "${enable_debug_cntxt+set}" = set; then
5424 enableval=$enable_debug_cntxt;
5425 if test "$enableval" = yes; then
5426 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5428 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5434 LINE=`grep "^wxUSE_DEBUG_CONTEXT
=" ${wx_arg_cache_file}`
5435 if test "x
$LINE" != x ; then
5436 eval "DEFAULT_
$LINE"
5442 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5447 eval "$wx_cv_use_debug_cntxt"
5448 if test "x$cache" = xyes
; then
5449 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5452 if test x
"$enablestring" = xdisable
; then
5453 if test $wxUSE_DEBUG_CONTEXT = yes; then
5459 result
=$wxUSE_DEBUG_CONTEXT
5462 { echo "$as_me:$LINENO: result: $result" >&5
5463 echo "${ECHO_T}$result" >&6; }
5468 if test -z "$defaultval"; then
5469 if test x
"$enablestring" = xdisable
; then
5476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5478 # Check whether --enable-mem_tracing was given.
5479 if test "${enable_mem_tracing+set}" = set; then
5480 enableval
=$enable_mem_tracing;
5481 if test "$enableval" = yes; then
5482 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5484 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5490 LINE
=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5498 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5503 eval "$wx_cv_use_mem_tracing"
5504 if test "x$cache" = xyes; then
5505 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5508 if test x"$enablestring" = xdisable; then
5509 if test $wxUSE_MEM_TRACING = yes; then
5515 result=$wxUSE_MEM_TRACING
5518 { echo "$as_me:$LINENO: result: $result" >&5
5519 echo "${ECHO_T}$result" >&6; }
5524 if test -z "$defaultval"; then
5525 if test x"$enablestring" = xdisable; then
5532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5534 # Check whether --enable-profile was given.
5535 if test "${enable_profile+set}" = set; then
5536 enableval=$enable_profile;
5537 if test "$enableval" = yes; then
5538 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5540 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5546 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5554 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5559 eval "$wx_cv_use_profile"
5560 if test "x
$cache" = xyes; then
5561 echo "wxUSE_PROFILE
=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5564 if test x"$enablestring" = xdisable; then
5565 if test $wxUSE_PROFILE = yes; then
5571 result=$wxUSE_PROFILE
5574 { echo "$as_me:$LINENO: result
: $result" >&5
5575 echo "${ECHO_T}$result" >&6; }
5580 if test -z "$defaultval"; then
5581 if test x"$enablestring" = xdisable; then
5588 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5589 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5590 # Check whether --enable-no_rtti was given.
5591 if test "${enable_no_rtti+set}" = set; then
5592 enableval=$enable_no_rtti;
5593 if test "$enableval" = yes; then
5594 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5596 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5602 LINE=`grep "^wxUSE_NO_RTTI
=" ${wx_arg_cache_file}`
5603 if test "x
$LINE" != x ; then
5604 eval "DEFAULT_
$LINE"
5610 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5615 eval "$wx_cv_use_no_rtti"
5616 if test "x$cache" = xyes
; then
5617 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5620 if test x
"$enablestring" = xdisable
; then
5621 if test $wxUSE_NO_RTTI = yes; then
5627 result
=$wxUSE_NO_RTTI
5630 { echo "$as_me:$LINENO: result: $result" >&5
5631 echo "${ECHO_T}$result" >&6; }
5636 if test -z "$defaultval"; then
5637 if test x
"$enablestring" = xdisable
; then
5644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5645 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5646 # Check whether --enable-no_exceptions was given.
5647 if test "${enable_no_exceptions+set}" = set; then
5648 enableval
=$enable_no_exceptions;
5649 if test "$enableval" = yes; then
5650 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5652 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5658 LINE
=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x
; then
5660 eval "DEFAULT_$LINE"
5666 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5671 eval "$wx_cv_use_no_exceptions"
5672 if test "x$cache" = xyes; then
5673 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5676 if test x"$enablestring" = xdisable; then
5677 if test $wxUSE_NO_EXCEPTIONS = yes; then
5683 result=$wxUSE_NO_EXCEPTIONS
5686 { echo "$as_me:$LINENO: result: $result" >&5
5687 echo "${ECHO_T}$result" >&6; }
5692 if test -z "$defaultval"; then
5693 if test x"$enablestring" = xdisable; then
5700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5702 # Check whether --enable-permissive was given.
5703 if test "${enable_permissive+set}" = set; then
5704 enableval=$enable_permissive;
5705 if test "$enableval" = yes; then
5706 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5708 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5714 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5715 if test "x$LINE" != x ; then
5716 eval "DEFAULT_$LINE"
5722 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5727 eval "$wx_cv_use_permissive"
5728 if test "x
$cache" = xyes; then
5729 echo "wxUSE_PERMISSIVE
=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5732 if test x"$enablestring" = xdisable; then
5733 if test $wxUSE_PERMISSIVE = yes; then
5739 result=$wxUSE_PERMISSIVE
5742 { echo "$as_me:$LINENO: result
: $result" >&5
5743 echo "${ECHO_T}$result" >&6; }
5748 if test -z "$defaultval"; then
5749 if test x"$enablestring" = xdisable; then
5756 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5757 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5758 # Check whether --enable-no_deps was given.
5759 if test "${enable_no_deps+set}" = set; then
5760 enableval=$enable_no_deps;
5761 if test "$enableval" = yes; then
5762 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5764 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5770 LINE=`grep "^wxUSE_NO_DEPS
=" ${wx_arg_cache_file}`
5771 if test "x
$LINE" != x ; then
5772 eval "DEFAULT_
$LINE"
5778 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5783 eval "$wx_cv_use_no_deps"
5784 if test "x$cache" = xyes
; then
5785 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5788 if test x
"$enablestring" = xdisable
; then
5789 if test $wxUSE_NO_DEPS = yes; then
5795 result
=$wxUSE_NO_DEPS
5798 { echo "$as_me:$LINENO: result: $result" >&5
5799 echo "${ECHO_T}$result" >&6; }
5802 enablestring
=disable
5804 if test -z "$defaultval"; then
5805 if test x
"$enablestring" = xdisable
; then
5812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5814 # Check whether --enable-vararg_macros was given.
5815 if test "${enable_vararg_macros+set}" = set; then
5816 enableval
=$enable_vararg_macros;
5817 if test "$enableval" = yes; then
5818 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5820 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5826 LINE
=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5827 if test "x$LINE" != x
; then
5828 eval "DEFAULT_$LINE"
5834 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5839 eval "$wx_cv_use_vararg_macros"
5840 if test "x$cache" = xyes; then
5841 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5844 if test x"$enablestring" = xdisable; then
5845 if test $wxUSE_VARARG_MACROS = yes; then
5851 result=$wxUSE_VARARG_MACROS
5854 { echo "$as_me:$LINENO: result: $result" >&5
5855 echo "${ECHO_T}$result" >&6; }
5859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5861 # Check whether --enable-universal_binary was given.
5862 if test "${enable_universal_binary+set}" = set; then
5863 enableval=$enable_universal_binary;
5864 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5869 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5870 if test "x$LINE" != x ; then
5871 eval "DEFAULT_$LINE"
5877 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5882 eval "$wx_cv_use_universal_binary"
5883 if test "x$cache" = xyes; then
5884 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5887 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5888 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5904 # Check whether --enable-compat26 was given.
5905 if test "${enable_compat26+set}" = set; then
5906 enableval=$enable_compat26;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5910 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5916 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x ; then
5918 eval "DEFAULT_$LINE"
5924 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5929 eval "$wx_cv_use_compat26"
5930 if test "x
$cache" = xyes; then
5931 echo "WXWIN_COMPATIBILITY_2_6
=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5934 if test x"$enablestring" = xdisable; then
5935 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5941 result=$WXWIN_COMPATIBILITY_2_6
5944 { echo "$as_me:$LINENO: result
: $result" >&5
5945 echo "${ECHO_T}$result" >&6; }
5948 enablestring=disable
5950 if test -z "$defaultval"; then
5951 if test x"$enablestring" = xdisable; then
5958 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5959 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5960 # Check whether --enable-compat28 was given.
5961 if test "${enable_compat28+set}" = set; then
5962 enableval=$enable_compat28;
5963 if test "$enableval" = yes; then
5964 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5966 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5972 LINE=`grep "^WXWIN_COMPATIBILITY_2_8
=" ${wx_arg_cache_file}`
5973 if test "x
$LINE" != x ; then
5974 eval "DEFAULT_
$LINE"
5980 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5985 eval "$wx_cv_use_compat28"
5986 if test "x$cache" = xyes
; then
5987 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5990 if test x
"$enablestring" = xdisable
; then
5991 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5997 result
=$WXWIN_COMPATIBILITY_2_8
6000 { echo "$as_me:$LINENO: result: $result" >&5
6001 echo "${ECHO_T}$result" >&6; }
6005 enablestring
=disable
6007 if test -z "$defaultval"; then
6008 if test x
"$enablestring" = xdisable
; then
6015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
6017 # Check whether --enable-rpath was given.
6018 if test "${enable_rpath+set}" = set; then
6019 enableval
=$enable_rpath;
6020 if test "$enableval" = yes; then
6021 wx_cv_use_rpath
='wxUSE_RPATH=yes'
6023 wx_cv_use_rpath
='wxUSE_RPATH=no'
6029 LINE
=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
6030 if test "x$LINE" != x
; then
6031 eval "DEFAULT_$LINE"
6037 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6042 eval "$wx_cv_use_rpath"
6043 if test "x$cache" = xyes; then
6044 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
6047 if test x"$enablestring" = xdisable; then
6048 if test $wxUSE_RPATH = yes; then
6057 { echo "$as_me:$LINENO: result: $result" >&5
6058 echo "${ECHO_T}$result" >&6; }
6064 if test -z "$defaultval"; then
6065 if test x"$enablestring" = xdisable; then
6072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6074 # Check whether --enable-objc_uniquifying was given.
6075 if test "${enable_objc_uniquifying+set}" = set; then
6076 enableval=$enable_objc_uniquifying;
6077 if test "$enableval" = yes; then
6078 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6080 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6086 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x ; then
6088 eval "DEFAULT_$LINE"
6094 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6099 eval "$wx_cv_use_objc_uniquifying"
6100 if test "x
$cache" = xyes; then
6101 echo "wxUSE_OBJC_UNIQUIFYING
=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6104 if test x"$enablestring" = xdisable; then
6105 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6111 result=$wxUSE_OBJC_UNIQUIFYING
6114 { echo "$as_me:$LINENO: result
: $result" >&5
6115 echo "${ECHO_T}$result" >&6; }
6119 enablestring=disable
6121 if test -z "$defaultval"; then
6122 if test x"$enablestring" = xdisable; then
6129 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
6130 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
6131 # Check whether --enable-visibility was given.
6132 if test "${enable_visibility+set}" = set; then
6133 enableval=$enable_visibility;
6134 if test "$enableval" = yes; then
6135 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6137 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6143 LINE=`grep "^wxUSE_VISIBILITY
=" ${wx_arg_cache_file}`
6144 if test "x
$LINE" != x ; then
6145 eval "DEFAULT_
$LINE"
6151 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6156 eval "$wx_cv_use_visibility"
6157 if test "x$cache" = xyes
; then
6158 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6161 if test x
"$enablestring" = xdisable
; then
6162 if test $wxUSE_VISIBILITY = yes; then
6168 result
=$wxUSE_VISIBILITY
6171 { echo "$as_me:$LINENO: result: $result" >&5
6172 echo "${ECHO_T}$result" >&6; }
6178 defaultval
=$wxUSE_ALL_FEATURES
6179 if test -z "$defaultval"; then
6180 if test x
"$enablestring" = xdisable
; then
6187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6189 # Check whether --enable-intl was given.
6190 if test "${enable_intl+set}" = set; then
6191 enableval
=$enable_intl;
6192 if test "$enableval" = yes; then
6193 wx_cv_use_intl
='wxUSE_INTL=yes'
6195 wx_cv_use_intl
='wxUSE_INTL=no'
6201 LINE
=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x
; then
6203 eval "DEFAULT_$LINE"
6209 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6214 eval "$wx_cv_use_intl"
6215 if test "x$cache" = xyes; then
6216 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6219 if test x"$enablestring" = xdisable; then
6220 if test $wxUSE_INTL = yes; then
6229 { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6234 defaultval=$wxUSE_ALL_FEATURES
6235 if test -z "$defaultval"; then
6236 if test x"$enablestring" = xdisable; then
6243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6245 # Check whether --enable-config was given.
6246 if test "${enable_config+set}" = set; then
6247 enableval=$enable_config;
6248 if test "$enableval" = yes; then
6249 wx_cv_use_config='wxUSE_CONFIG
=yes'
6251 wx_cv_use_config='wxUSE_CONFIG
=no
'
6257 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6258 if test "x$LINE" != x ; then
6259 eval "DEFAULT_$LINE"
6265 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6270 eval "$wx_cv_use_config"
6271 if test "x
$cache" = xyes; then
6272 echo "wxUSE_CONFIG
=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6275 if test x"$enablestring" = xdisable; then
6276 if test $wxUSE_CONFIG = yes; then
6282 result=$wxUSE_CONFIG
6285 { echo "$as_me:$LINENO: result
: $result" >&5
6286 echo "${ECHO_T}$result" >&6; }
6291 defaultval=$wxUSE_ALL_FEATURES
6292 if test -z "$defaultval"; then
6293 if test x"$enablestring" = xdisable; then
6300 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
6301 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
6302 # Check whether --enable-protocols was given.
6303 if test "${enable_protocols+set}" = set; then
6304 enableval=$enable_protocols;
6305 if test "$enableval" = yes; then
6306 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6308 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6314 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
6315 if test "x
$LINE" != x ; then
6316 eval "DEFAULT_
$LINE"
6322 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6327 eval "$wx_cv_use_protocols"
6328 if test "x$cache" = xyes
; then
6329 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6332 if test x
"$enablestring" = xdisable
; then
6333 if test $wxUSE_PROTOCOL = yes; then
6339 result
=$wxUSE_PROTOCOL
6342 { echo "$as_me:$LINENO: result: $result" >&5
6343 echo "${ECHO_T}$result" >&6; }
6347 defaultval
=$wxUSE_ALL_FEATURES
6348 if test -z "$defaultval"; then
6349 if test x
"$enablestring" = xdisable
; then
6356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6357 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6358 # Check whether --enable-ftp was given.
6359 if test "${enable_ftp+set}" = set; then
6360 enableval
=$enable_ftp;
6361 if test "$enableval" = yes; then
6362 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
6364 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
6370 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6371 if test "x$LINE" != x
; then
6372 eval "DEFAULT_$LINE"
6378 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6383 eval "$wx_cv_use_ftp"
6384 if test "x$cache" = xyes; then
6385 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6388 if test x"$enablestring" = xdisable; then
6389 if test $wxUSE_PROTOCOL_FTP = yes; then
6395 result=$wxUSE_PROTOCOL_FTP
6398 { echo "$as_me:$LINENO: result: $result" >&5
6399 echo "${ECHO_T}$result" >&6; }
6403 defaultval=$wxUSE_ALL_FEATURES
6404 if test -z "$defaultval"; then
6405 if test x"$enablestring" = xdisable; then
6412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6414 # Check whether --enable-http was given.
6415 if test "${enable_http+set}" = set; then
6416 enableval=$enable_http;
6417 if test "$enableval" = yes; then
6418 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
6420 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
6426 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6427 if test "x$LINE" != x ; then
6428 eval "DEFAULT_$LINE"
6434 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6439 eval "$wx_cv_use_http"
6440 if test "x
$cache" = xyes; then
6441 echo "wxUSE_PROTOCOL_HTTP
=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6444 if test x"$enablestring" = xdisable; then
6445 if test $wxUSE_PROTOCOL_HTTP = yes; then
6451 result=$wxUSE_PROTOCOL_HTTP
6454 { echo "$as_me:$LINENO: result
: $result" >&5
6455 echo "${ECHO_T}$result" >&6; }
6459 defaultval=$wxUSE_ALL_FEATURES
6460 if test -z "$defaultval"; then
6461 if test x"$enablestring" = xdisable; then
6468 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
6469 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
6470 # Check whether --enable-fileproto was given.
6471 if test "${enable_fileproto+set}" = set; then
6472 enableval=$enable_fileproto;
6473 if test "$enableval" = yes; then
6474 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6476 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6482 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
6483 if test "x
$LINE" != x ; then
6484 eval "DEFAULT_
$LINE"
6490 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6495 eval "$wx_cv_use_fileproto"
6496 if test "x$cache" = xyes
; then
6497 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6500 if test x
"$enablestring" = xdisable
; then
6501 if test $wxUSE_PROTOCOL_FILE = yes; then
6507 result
=$wxUSE_PROTOCOL_FILE
6510 { echo "$as_me:$LINENO: result: $result" >&5
6511 echo "${ECHO_T}$result" >&6; }
6515 defaultval
=$wxUSE_ALL_FEATURES
6516 if test -z "$defaultval"; then
6517 if test x
"$enablestring" = xdisable
; then
6524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6525 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6526 # Check whether --enable-sockets was given.
6527 if test "${enable_sockets+set}" = set; then
6528 enableval
=$enable_sockets;
6529 if test "$enableval" = yes; then
6530 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
6532 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
6538 LINE
=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x
; then
6540 eval "DEFAULT_$LINE"
6546 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6551 eval "$wx_cv_use_sockets"
6552 if test "x$cache" = xyes; then
6553 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6556 if test x"$enablestring" = xdisable; then
6557 if test $wxUSE_SOCKETS = yes; then
6563 result=$wxUSE_SOCKETS
6566 { echo "$as_me:$LINENO: result: $result" >&5
6567 echo "${ECHO_T}$result" >&6; }
6571 defaultval=$wxUSE_ALL_FEATURES
6572 if test -z "$defaultval"; then
6573 if test x"$enablestring" = xdisable; then
6580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6581 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6582 # Check whether --enable-ole was given.
6583 if test "${enable_ole+set}" = set; then
6584 enableval=$enable_ole;
6585 if test "$enableval" = yes; then
6586 wx_cv_use_ole='wxUSE_OLE
=yes'
6588 wx_cv_use_ole='wxUSE_OLE
=no
'
6594 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6595 if test "x$LINE" != x ; then
6596 eval "DEFAULT_$LINE"
6602 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6607 eval "$wx_cv_use_ole"
6608 if test "x
$cache" = xyes; then
6609 echo "wxUSE_OLE
=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6612 if test x"$enablestring" = xdisable; then
6613 if test $wxUSE_OLE = yes; then
6622 { echo "$as_me:$LINENO: result
: $result" >&5
6623 echo "${ECHO_T}$result" >&6; }
6627 defaultval=$wxUSE_ALL_FEATURES
6628 if test -z "$defaultval"; then
6629 if test x"$enablestring" = xdisable; then
6636 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6637 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6638 # Check whether --enable-dataobj was given.
6639 if test "${enable_dataobj+set}" = set; then
6640 enableval=$enable_dataobj;
6641 if test "$enableval" = yes; then
6642 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6644 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6650 LINE=`grep "^wxUSE_DATAOBJ
=" ${wx_arg_cache_file}`
6651 if test "x
$LINE" != x ; then
6652 eval "DEFAULT_
$LINE"
6658 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6663 eval "$wx_cv_use_dataobj"
6664 if test "x$cache" = xyes
; then
6665 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6668 if test x
"$enablestring" = xdisable
; then
6669 if test $wxUSE_DATAOBJ = yes; then
6675 result
=$wxUSE_DATAOBJ
6678 { echo "$as_me:$LINENO: result: $result" >&5
6679 echo "${ECHO_T}$result" >&6; }
6684 defaultval
=$wxUSE_ALL_FEATURES
6685 if test -z "$defaultval"; then
6686 if test x
"$enablestring" = xdisable
; then
6693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6695 # Check whether --enable-ipc was given.
6696 if test "${enable_ipc+set}" = set; then
6697 enableval
=$enable_ipc;
6698 if test "$enableval" = yes; then
6699 wx_cv_use_ipc
='wxUSE_IPC=yes'
6701 wx_cv_use_ipc
='wxUSE_IPC=no'
6707 LINE
=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x
; then
6709 eval "DEFAULT_$LINE"
6715 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6720 eval "$wx_cv_use_ipc"
6721 if test "x$cache" = xyes; then
6722 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6725 if test x"$enablestring" = xdisable; then
6726 if test $wxUSE_IPC = yes; then
6735 { echo "$as_me:$LINENO: result: $result" >&5
6736 echo "${ECHO_T}$result" >&6; }
6741 defaultval=$wxUSE_ALL_FEATURES
6742 if test -z "$defaultval"; then
6743 if test x"$enablestring" = xdisable; then
6750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6751 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6752 # Check whether --enable-baseevtloop was given.
6753 if test "${enable_baseevtloop+set}" = set; then
6754 enableval=$enable_baseevtloop;
6755 if test "$enableval" = yes; then
6756 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6758 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6764 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x ; then
6766 eval "DEFAULT_$LINE"
6772 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6777 eval "$wx_cv_use_baseevtloop"
6778 if test "x
$cache" = xyes; then
6779 echo "wxUSE_CONSOLE_EVENTLOOP
=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6782 if test x"$enablestring" = xdisable; then
6783 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6789 result=$wxUSE_CONSOLE_EVENTLOOP
6792 { echo "$as_me:$LINENO: result
: $result" >&5
6793 echo "${ECHO_T}$result" >&6; }
6797 defaultval=$wxUSE_ALL_FEATURES
6798 if test -z "$defaultval"; then
6799 if test x"$enablestring" = xdisable; then
6806 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6807 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6808 # Check whether --enable-epollloop was given.
6809 if test "${enable_epollloop+set}" = set; then
6810 enableval=$enable_epollloop;
6811 if test "$enableval" = yes; then
6812 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6814 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6820 LINE=`grep "^wxUSE_EPOLL_DISPATCHER
=" ${wx_arg_cache_file}`
6821 if test "x
$LINE" != x ; then
6822 eval "DEFAULT_
$LINE"
6828 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6833 eval "$wx_cv_use_epollloop"
6834 if test "x$cache" = xyes
; then
6835 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6838 if test x
"$enablestring" = xdisable
; then
6839 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6845 result
=$wxUSE_EPOLL_DISPATCHER
6848 { echo "$as_me:$LINENO: result: $result" >&5
6849 echo "${ECHO_T}$result" >&6; }
6853 defaultval
=$wxUSE_ALL_FEATURES
6854 if test -z "$defaultval"; then
6855 if test x
"$enablestring" = xdisable
; then
6862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6864 # Check whether --enable-selectloop was given.
6865 if test "${enable_selectloop+set}" = set; then
6866 enableval
=$enable_selectloop;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6870 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6876 LINE
=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6877 if test "x$LINE" != x
; then
6878 eval "DEFAULT_$LINE"
6884 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6889 eval "$wx_cv_use_selectloop"
6890 if test "x$cache" = xyes; then
6891 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6894 if test x"$enablestring" = xdisable; then
6895 if test $wxUSE_SELECT_DISPATCHER = yes; then
6901 result=$wxUSE_SELECT_DISPATCHER
6904 { echo "$as_me:$LINENO: result: $result" >&5
6905 echo "${ECHO_T}$result" >&6; }
6910 defaultval=$wxUSE_ALL_FEATURES
6911 if test -z "$defaultval"; then
6912 if test x"$enablestring" = xdisable; then
6919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6921 # Check whether --enable-apple_ieee was given.
6922 if test "${enable_apple_ieee+set}" = set; then
6923 enableval=$enable_apple_ieee;
6924 if test "$enableval" = yes; then
6925 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6927 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6933 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x ; then
6935 eval "DEFAULT_$LINE"
6941 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6946 eval "$wx_cv_use_apple_ieee"
6947 if test "x
$cache" = xyes; then
6948 echo "wxUSE_APPLE_IEEE
=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6951 if test x"$enablestring" = xdisable; then
6952 if test $wxUSE_APPLE_IEEE = yes; then
6958 result=$wxUSE_APPLE_IEEE
6961 { echo "$as_me:$LINENO: result
: $result" >&5
6962 echo "${ECHO_T}$result" >&6; }
6966 defaultval=$wxUSE_ALL_FEATURES
6967 if test -z "$defaultval"; then
6968 if test x"$enablestring" = xdisable; then
6975 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6976 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6977 # Check whether --enable-arcstream was given.
6978 if test "${enable_arcstream+set}" = set; then
6979 enableval=$enable_arcstream;
6980 if test "$enableval" = yes; then
6981 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6983 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6989 LINE=`grep "^wxUSE_ARCHIVE_STREAMS
=" ${wx_arg_cache_file}`
6990 if test "x
$LINE" != x ; then
6991 eval "DEFAULT_
$LINE"
6997 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7002 eval "$wx_cv_use_arcstream"
7003 if test "x$cache" = xyes
; then
7004 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
7007 if test x
"$enablestring" = xdisable
; then
7008 if test $wxUSE_ARCHIVE_STREAMS = yes; then
7014 result
=$wxUSE_ARCHIVE_STREAMS
7017 { echo "$as_me:$LINENO: result: $result" >&5
7018 echo "${ECHO_T}$result" >&6; }
7022 defaultval
=$wxUSE_ALL_FEATURES
7023 if test -z "$defaultval"; then
7024 if test x
"$enablestring" = xdisable
; then
7031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7032 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7033 # Check whether --enable-base64 was given.
7034 if test "${enable_base64+set}" = set; then
7035 enableval
=$enable_base64;
7036 if test "$enableval" = yes; then
7037 wx_cv_use_base64
='wxUSE_BASE64=yes'
7039 wx_cv_use_base64
='wxUSE_BASE64=no'
7045 LINE
=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7046 if test "x$LINE" != x
; then
7047 eval "DEFAULT_$LINE"
7053 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7058 eval "$wx_cv_use_base64"
7059 if test "x$cache" = xyes; then
7060 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7063 if test x"$enablestring" = xdisable; then
7064 if test $wxUSE_BASE64 = yes; then
7070 result=$wxUSE_BASE64
7073 { echo "$as_me:$LINENO: result: $result" >&5
7074 echo "${ECHO_T}$result" >&6; }
7078 defaultval=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x"$enablestring" = xdisable; then
7087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7089 # Check whether --enable-backtrace was given.
7090 if test "${enable_backtrace+set}" = set; then
7091 enableval=$enable_backtrace;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7095 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7101 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x ; then
7103 eval "DEFAULT_$LINE"
7109 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7114 eval "$wx_cv_use_backtrace"
7115 if test "x
$cache" = xyes; then
7116 echo "wxUSE_STACKWALKER
=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7119 if test x"$enablestring" = xdisable; then
7120 if test $wxUSE_STACKWALKER = yes; then
7126 result=$wxUSE_STACKWALKER
7129 { echo "$as_me:$LINENO: result
: $result" >&5
7130 echo "${ECHO_T}$result" >&6; }
7134 defaultval=$wxUSE_ALL_FEATURES
7135 if test -z "$defaultval"; then
7136 if test x"$enablestring" = xdisable; then
7143 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
7144 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
7145 # Check whether --enable-catch_segvs was given.
7146 if test "${enable_catch_segvs+set}" = set; then
7147 enableval=$enable_catch_segvs;
7148 if test "$enableval" = yes; then
7149 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7151 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7157 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION
=" ${wx_arg_cache_file}`
7158 if test "x
$LINE" != x ; then
7159 eval "DEFAULT_
$LINE"
7165 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7170 eval "$wx_cv_use_catch_segvs"
7171 if test "x$cache" = xyes
; then
7172 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7175 if test x
"$enablestring" = xdisable
; then
7176 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7182 result
=$wxUSE_ON_FATAL_EXCEPTION
7185 { echo "$as_me:$LINENO: result: $result" >&5
7186 echo "${ECHO_T}$result" >&6; }
7190 defaultval
=$wxUSE_ALL_FEATURES
7191 if test -z "$defaultval"; then
7192 if test x
"$enablestring" = xdisable
; then
7199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7200 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7201 # Check whether --enable-cmdline was given.
7202 if test "${enable_cmdline+set}" = set; then
7203 enableval
=$enable_cmdline;
7204 if test "$enableval" = yes; then
7205 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7207 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7213 LINE
=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7214 if test "x$LINE" != x
; then
7215 eval "DEFAULT_$LINE"
7221 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7226 eval "$wx_cv_use_cmdline"
7227 if test "x$cache" = xyes; then
7228 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7231 if test x"$enablestring" = xdisable; then
7232 if test $wxUSE_CMDLINE_PARSER = yes; then
7238 result=$wxUSE_CMDLINE_PARSER
7241 { echo "$as_me:$LINENO: result: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7246 defaultval=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x"$enablestring" = xdisable; then
7255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7257 # Check whether --enable-datetime was given.
7258 if test "${enable_datetime+set}" = set; then
7259 enableval=$enable_datetime;
7260 if test "$enableval" = yes; then
7261 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7263 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7269 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7270 if test "x$LINE" != x ; then
7271 eval "DEFAULT_$LINE"
7277 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7282 eval "$wx_cv_use_datetime"
7283 if test "x
$cache" = xyes; then
7284 echo "wxUSE_DATETIME
=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7287 if test x"$enablestring" = xdisable; then
7288 if test $wxUSE_DATETIME = yes; then
7294 result=$wxUSE_DATETIME
7297 { echo "$as_me:$LINENO: result
: $result" >&5
7298 echo "${ECHO_T}$result" >&6; }
7302 defaultval=$wxUSE_ALL_FEATURES
7303 if test -z "$defaultval"; then
7304 if test x"$enablestring" = xdisable; then
7311 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
7312 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
7313 # Check whether --enable-debugreport was given.
7314 if test "${enable_debugreport+set}" = set; then
7315 enableval=$enable_debugreport;
7316 if test "$enableval" = yes; then
7317 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7319 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7325 LINE=`grep "^wxUSE_DEBUGREPORT
=" ${wx_arg_cache_file}`
7326 if test "x
$LINE" != x ; then
7327 eval "DEFAULT_
$LINE"
7333 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7338 eval "$wx_cv_use_debugreport"
7339 if test "x$cache" = xyes
; then
7340 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7343 if test x
"$enablestring" = xdisable
; then
7344 if test $wxUSE_DEBUGREPORT = yes; then
7350 result
=$wxUSE_DEBUGREPORT
7353 { echo "$as_me:$LINENO: result: $result" >&5
7354 echo "${ECHO_T}$result" >&6; }
7358 defaultval
=$wxUSE_ALL_FEATURES
7359 if test -z "$defaultval"; then
7360 if test x
"$enablestring" = xdisable
; then
7367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7368 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7369 # Check whether --enable-dialupman was given.
7370 if test "${enable_dialupman+set}" = set; then
7371 enableval
=$enable_dialupman;
7372 if test "$enableval" = yes; then
7373 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
7375 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
7381 LINE
=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x
; then
7383 eval "DEFAULT_$LINE"
7389 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7394 eval "$wx_cv_use_dialupman"
7395 if test "x$cache" = xyes; then
7396 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7399 if test x"$enablestring" = xdisable; then
7400 if test $wxUSE_DIALUP_MANAGER = yes; then
7406 result=$wxUSE_DIALUP_MANAGER
7409 { echo "$as_me:$LINENO: result: $result" >&5
7410 echo "${ECHO_T}$result" >&6; }
7414 defaultval=$wxUSE_ALL_FEATURES
7415 if test -z "$defaultval"; then
7416 if test x"$enablestring" = xdisable; then
7423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7425 # Check whether --enable-dynlib was given.
7426 if test "${enable_dynlib+set}" = set; then
7427 enableval=$enable_dynlib;
7428 if test "$enableval" = yes; then
7429 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7431 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7437 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7445 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7450 eval "$wx_cv_use_dynlib"
7451 if test "x
$cache" = xyes; then
7452 echo "wxUSE_DYNLIB_CLASS
=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7455 if test x"$enablestring" = xdisable; then
7456 if test $wxUSE_DYNLIB_CLASS = yes; then
7462 result=$wxUSE_DYNLIB_CLASS
7465 { echo "$as_me:$LINENO: result
: $result" >&5
7466 echo "${ECHO_T}$result" >&6; }
7470 defaultval=$wxUSE_ALL_FEATURES
7471 if test -z "$defaultval"; then
7472 if test x"$enablestring" = xdisable; then
7479 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7480 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7481 # Check whether --enable-dynamicloader was given.
7482 if test "${enable_dynamicloader+set}" = set; then
7483 enableval=$enable_dynamicloader;
7484 if test "$enableval" = yes; then
7485 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7487 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7493 LINE=`grep "^wxUSE_DYNAMIC_LOADER
=" ${wx_arg_cache_file}`
7494 if test "x
$LINE" != x ; then
7495 eval "DEFAULT_
$LINE"
7501 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7506 eval "$wx_cv_use_dynamicloader"
7507 if test "x$cache" = xyes
; then
7508 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7511 if test x
"$enablestring" = xdisable
; then
7512 if test $wxUSE_DYNAMIC_LOADER = yes; then
7518 result
=$wxUSE_DYNAMIC_LOADER
7521 { echo "$as_me:$LINENO: result: $result" >&5
7522 echo "${ECHO_T}$result" >&6; }
7526 defaultval
=$wxUSE_ALL_FEATURES
7527 if test -z "$defaultval"; then
7528 if test x
"$enablestring" = xdisable
; then
7535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7536 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7537 # Check whether --enable-exceptions was given.
7538 if test "${enable_exceptions+set}" = set; then
7539 enableval
=$enable_exceptions;
7540 if test "$enableval" = yes; then
7541 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7543 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7549 LINE
=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7550 if test "x$LINE" != x
; then
7551 eval "DEFAULT_$LINE"
7557 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7562 eval "$wx_cv_use_exceptions"
7563 if test "x$cache" = xyes; then
7564 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7567 if test x"$enablestring" = xdisable; then
7568 if test $wxUSE_EXCEPTIONS = yes; then
7574 result=$wxUSE_EXCEPTIONS
7577 { echo "$as_me:$LINENO: result: $result" >&5
7578 echo "${ECHO_T}$result" >&6; }
7582 defaultval=$wxUSE_ALL_FEATURES
7583 if test -z "$defaultval"; then
7584 if test x"$enablestring" = xdisable; then
7591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7593 # Check whether --enable-ffile was given.
7594 if test "${enable_ffile+set}" = set; then
7595 enableval=$enable_ffile;
7596 if test "$enableval" = yes; then
7597 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7599 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7605 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7606 if test "x$LINE" != x ; then
7607 eval "DEFAULT_$LINE"
7613 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7618 eval "$wx_cv_use_ffile"
7619 if test "x
$cache" = xyes; then
7620 echo "wxUSE_FFILE
=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7623 if test x"$enablestring" = xdisable; then
7624 if test $wxUSE_FFILE = yes; then
7633 { echo "$as_me:$LINENO: result
: $result" >&5
7634 echo "${ECHO_T}$result" >&6; }
7638 defaultval=$wxUSE_ALL_FEATURES
7639 if test -z "$defaultval"; then
7640 if test x"$enablestring" = xdisable; then
7647 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7648 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7649 # Check whether --enable-file was given.
7650 if test "${enable_file+set}" = set; then
7651 enableval=$enable_file;
7652 if test "$enableval" = yes; then
7653 wx_cv_use_file='wxUSE_FILE=yes'
7655 wx_cv_use_file='wxUSE_FILE=no'
7661 LINE=`grep "^wxUSE_FILE
=" ${wx_arg_cache_file}`
7662 if test "x
$LINE" != x ; then
7663 eval "DEFAULT_
$LINE"
7669 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7674 eval "$wx_cv_use_file"
7675 if test "x$cache" = xyes
; then
7676 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7679 if test x
"$enablestring" = xdisable
; then
7680 if test $wxUSE_FILE = yes; then
7689 { echo "$as_me:$LINENO: result: $result" >&5
7690 echo "${ECHO_T}$result" >&6; }
7694 defaultval
=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x
"$enablestring" = xdisable
; then
7703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7705 # Check whether --enable-filesystem was given.
7706 if test "${enable_filesystem+set}" = set; then
7707 enableval
=$enable_filesystem;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
7711 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
7717 LINE
=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7718 if test "x$LINE" != x
; then
7719 eval "DEFAULT_$LINE"
7725 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7730 eval "$wx_cv_use_filesystem"
7731 if test "x$cache" = xyes; then
7732 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7735 if test x"$enablestring" = xdisable; then
7736 if test $wxUSE_FILESYSTEM = yes; then
7742 result=$wxUSE_FILESYSTEM
7745 { echo "$as_me:$LINENO: result: $result" >&5
7746 echo "${ECHO_T}$result" >&6; }
7750 defaultval=$wxUSE_ALL_FEATURES
7751 if test -z "$defaultval"; then
7752 if test x"$enablestring" = xdisable; then
7759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7761 # Check whether --enable-fontenum was given.
7762 if test "${enable_fontenum+set}" = set; then
7763 enableval=$enable_fontenum;
7764 if test "$enableval" = yes; then
7765 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
7767 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
7773 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x ; then
7775 eval "DEFAULT_$LINE"
7781 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7786 eval "$wx_cv_use_fontenum"
7787 if test "x
$cache" = xyes; then
7788 echo "wxUSE_FONTENUM
=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7791 if test x"$enablestring" = xdisable; then
7792 if test $wxUSE_FONTENUM = yes; then
7798 result=$wxUSE_FONTENUM
7801 { echo "$as_me:$LINENO: result
: $result" >&5
7802 echo "${ECHO_T}$result" >&6; }
7806 defaultval=$wxUSE_ALL_FEATURES
7807 if test -z "$defaultval"; then
7808 if test x"$enablestring" = xdisable; then
7815 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7816 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7817 # Check whether --enable-fontmap was given.
7818 if test "${enable_fontmap+set}" = set; then
7819 enableval=$enable_fontmap;
7820 if test "$enableval" = yes; then
7821 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7823 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7829 LINE=`grep "^wxUSE_FONTMAP
=" ${wx_arg_cache_file}`
7830 if test "x
$LINE" != x ; then
7831 eval "DEFAULT_
$LINE"
7837 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7842 eval "$wx_cv_use_fontmap"
7843 if test "x$cache" = xyes
; then
7844 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7847 if test x
"$enablestring" = xdisable
; then
7848 if test $wxUSE_FONTMAP = yes; then
7854 result
=$wxUSE_FONTMAP
7857 { echo "$as_me:$LINENO: result: $result" >&5
7858 echo "${ECHO_T}$result" >&6; }
7862 defaultval
=$wxUSE_ALL_FEATURES
7863 if test -z "$defaultval"; then
7864 if test x
"$enablestring" = xdisable
; then
7871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7873 # Check whether --enable-fs_archive was given.
7874 if test "${enable_fs_archive+set}" = set; then
7875 enableval
=$enable_fs_archive;
7876 if test "$enableval" = yes; then
7877 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7879 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7885 LINE
=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x
; then
7887 eval "DEFAULT_$LINE"
7893 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7898 eval "$wx_cv_use_fs_archive"
7899 if test "x$cache" = xyes; then
7900 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7903 if test x"$enablestring" = xdisable; then
7904 if test $wxUSE_FS_ARCHIVE = yes; then
7910 result=$wxUSE_FS_ARCHIVE
7913 { echo "$as_me:$LINENO: result: $result" >&5
7914 echo "${ECHO_T}$result" >&6; }
7918 defaultval=$wxUSE_ALL_FEATURES
7919 if test -z "$defaultval"; then
7920 if test x"$enablestring" = xdisable; then
7927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7928 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7929 # Check whether --enable-fs_inet was given.
7930 if test "${enable_fs_inet+set}" = set; then
7931 enableval=$enable_fs_inet;
7932 if test "$enableval" = yes; then
7933 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7935 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7941 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7942 if test "x$LINE" != x ; then
7943 eval "DEFAULT_$LINE"
7949 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7954 eval "$wx_cv_use_fs_inet"
7955 if test "x
$cache" = xyes; then
7956 echo "wxUSE_FS_INET
=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7959 if test x"$enablestring" = xdisable; then
7960 if test $wxUSE_FS_INET = yes; then
7966 result=$wxUSE_FS_INET
7969 { echo "$as_me:$LINENO: result
: $result" >&5
7970 echo "${ECHO_T}$result" >&6; }
7974 defaultval=$wxUSE_ALL_FEATURES
7975 if test -z "$defaultval"; then
7976 if test x"$enablestring" = xdisable; then
7983 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7984 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7985 # Check whether --enable-fs_zip was given.
7986 if test "${enable_fs_zip+set}" = set; then
7987 enableval=$enable_fs_zip;
7988 if test "$enableval" = yes; then
7989 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7991 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7997 LINE=`grep "^wxUSE_FS_ZIP
=" ${wx_arg_cache_file}`
7998 if test "x
$LINE" != x ; then
7999 eval "DEFAULT_
$LINE"
8005 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8010 eval "$wx_cv_use_fs_zip"
8011 if test "x$cache" = xyes
; then
8012 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
8015 if test x
"$enablestring" = xdisable
; then
8016 if test $wxUSE_FS_ZIP = yes; then
8022 result
=$wxUSE_FS_ZIP
8025 { echo "$as_me:$LINENO: result: $result" >&5
8026 echo "${ECHO_T}$result" >&6; }
8030 defaultval
=$wxUSE_ALL_FEATURES
8031 if test -z "$defaultval"; then
8032 if test x
"$enablestring" = xdisable
; then
8039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8040 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8041 # Check whether --enable-geometry was given.
8042 if test "${enable_geometry+set}" = set; then
8043 enableval
=$enable_geometry;
8044 if test "$enableval" = yes; then
8045 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
8047 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
8053 LINE
=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x
; then
8055 eval "DEFAULT_$LINE"
8061 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8066 eval "$wx_cv_use_geometry"
8067 if test "x$cache" = xyes; then
8068 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8071 if test x"$enablestring" = xdisable; then
8072 if test $wxUSE_GEOMETRY = yes; then
8078 result=$wxUSE_GEOMETRY
8081 { echo "$as_me:$LINENO: result: $result" >&5
8082 echo "${ECHO_T}$result" >&6; }
8086 defaultval=$wxUSE_ALL_FEATURES
8087 if test -z "$defaultval"; then
8088 if test x"$enablestring" = xdisable; then
8095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8097 # Check whether --enable-log was given.
8098 if test "${enable_log+set}" = set; then
8099 enableval=$enable_log;
8100 if test "$enableval" = yes; then
8101 wx_cv_use_log='wxUSE_LOG
=yes'
8103 wx_cv_use_log='wxUSE_LOG
=no
'
8109 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x ; then
8111 eval "DEFAULT_$LINE"
8117 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8122 eval "$wx_cv_use_log"
8123 if test "x
$cache" = xyes; then
8124 echo "wxUSE_LOG
=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8127 if test x"$enablestring" = xdisable; then
8128 if test $wxUSE_LOG = yes; then
8137 { echo "$as_me:$LINENO: result
: $result" >&5
8138 echo "${ECHO_T}$result" >&6; }
8142 defaultval=$wxUSE_ALL_FEATURES
8143 if test -z "$defaultval"; then
8144 if test x"$enablestring" = xdisable; then
8151 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
8152 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
8153 # Check whether --enable-longlong was given.
8154 if test "${enable_longlong+set}" = set; then
8155 enableval=$enable_longlong;
8156 if test "$enableval" = yes; then
8157 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8159 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8165 LINE=`grep "^wxUSE_LONGLONG
=" ${wx_arg_cache_file}`
8166 if test "x
$LINE" != x ; then
8167 eval "DEFAULT_
$LINE"
8173 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8178 eval "$wx_cv_use_longlong"
8179 if test "x$cache" = xyes
; then
8180 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8183 if test x
"$enablestring" = xdisable
; then
8184 if test $wxUSE_LONGLONG = yes; then
8190 result
=$wxUSE_LONGLONG
8193 { echo "$as_me:$LINENO: result: $result" >&5
8194 echo "${ECHO_T}$result" >&6; }
8198 defaultval
=$wxUSE_ALL_FEATURES
8199 if test -z "$defaultval"; then
8200 if test x
"$enablestring" = xdisable
; then
8207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8208 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8209 # Check whether --enable-mimetype was given.
8210 if test "${enable_mimetype+set}" = set; then
8211 enableval
=$enable_mimetype;
8212 if test "$enableval" = yes; then
8213 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8215 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8221 LINE
=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x
; then
8223 eval "DEFAULT_$LINE"
8229 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8234 eval "$wx_cv_use_mimetype"
8235 if test "x$cache" = xyes; then
8236 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8239 if test x"$enablestring" = xdisable; then
8240 if test $wxUSE_MIMETYPE = yes; then
8246 result=$wxUSE_MIMETYPE
8249 { echo "$as_me:$LINENO: result: $result" >&5
8250 echo "${ECHO_T}$result" >&6; }
8254 defaultval=$wxUSE_ALL_FEATURES
8255 if test -z "$defaultval"; then
8256 if test x"$enablestring" = xdisable; then
8263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8265 # Check whether --enable-snglinst was given.
8266 if test "${enable_snglinst+set}" = set; then
8267 enableval=$enable_snglinst;
8268 if test "$enableval" = yes; then
8269 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8271 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8277 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8278 if test "x$LINE" != x ; then
8279 eval "DEFAULT_$LINE"
8285 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8290 eval "$wx_cv_use_snglinst"
8291 if test "x
$cache" = xyes; then
8292 echo "wxUSE_SNGLINST_CHECKER
=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8295 if test x"$enablestring" = xdisable; then
8296 if test $wxUSE_SNGLINST_CHECKER = yes; then
8302 result=$wxUSE_SNGLINST_CHECKER
8305 { echo "$as_me:$LINENO: result
: $result" >&5
8306 echo "${ECHO_T}$result" >&6; }
8310 defaultval=$wxUSE_ALL_FEATURES
8311 if test -z "$defaultval"; then
8312 if test x"$enablestring" = xdisable; then
8319 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
8320 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
8321 # Check whether --enable-stdpaths was given.
8322 if test "${enable_stdpaths+set}" = set; then
8323 enableval=$enable_stdpaths;
8324 if test "$enableval" = yes; then
8325 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8327 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8333 LINE=`grep "^wxUSE_STDPATHS
=" ${wx_arg_cache_file}`
8334 if test "x
$LINE" != x ; then
8335 eval "DEFAULT_
$LINE"
8341 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8346 eval "$wx_cv_use_stdpaths"
8347 if test "x$cache" = xyes
; then
8348 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8351 if test x
"$enablestring" = xdisable
; then
8352 if test $wxUSE_STDPATHS = yes; then
8358 result
=$wxUSE_STDPATHS
8361 { echo "$as_me:$LINENO: result: $result" >&5
8362 echo "${ECHO_T}$result" >&6; }
8366 defaultval
=$wxUSE_ALL_FEATURES
8367 if test -z "$defaultval"; then
8368 if test x
"$enablestring" = xdisable
; then
8375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8376 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8377 # Check whether --enable-stopwatch was given.
8378 if test "${enable_stopwatch+set}" = set; then
8379 enableval
=$enable_stopwatch;
8380 if test "$enableval" = yes; then
8381 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
8383 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
8389 LINE
=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8390 if test "x$LINE" != x
; then
8391 eval "DEFAULT_$LINE"
8397 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8402 eval "$wx_cv_use_stopwatch"
8403 if test "x$cache" = xyes; then
8404 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8407 if test x"$enablestring" = xdisable; then
8408 if test $wxUSE_STOPWATCH = yes; then
8414 result=$wxUSE_STOPWATCH
8417 { echo "$as_me:$LINENO: result: $result" >&5
8418 echo "${ECHO_T}$result" >&6; }
8422 defaultval=$wxUSE_ALL_FEATURES
8423 if test -z "$defaultval"; then
8424 if test x"$enablestring" = xdisable; then
8431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8432 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8433 # Check whether --enable-streams was given.
8434 if test "${enable_streams+set}" = set; then
8435 enableval=$enable_streams;
8436 if test "$enableval" = yes; then
8437 wx_cv_use_streams='wxUSE_STREAMS
=yes'
8439 wx_cv_use_streams='wxUSE_STREAMS
=no
'
8445 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x ; then
8447 eval "DEFAULT_$LINE"
8453 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8458 eval "$wx_cv_use_streams"
8459 if test "x
$cache" = xyes; then
8460 echo "wxUSE_STREAMS
=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8463 if test x"$enablestring" = xdisable; then
8464 if test $wxUSE_STREAMS = yes; then
8470 result=$wxUSE_STREAMS
8473 { echo "$as_me:$LINENO: result
: $result" >&5
8474 echo "${ECHO_T}$result" >&6; }
8478 defaultval=$wxUSE_ALL_FEATURES
8479 if test -z "$defaultval"; then
8480 if test x"$enablestring" = xdisable; then
8487 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
8488 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
8489 # Check whether --enable-system_options was given.
8490 if test "${enable_system_options+set}" = set; then
8491 enableval=$enable_system_options;
8492 if test "$enableval" = yes; then
8493 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8495 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8501 LINE=`grep "^wxUSE_SYSTEM_OPTIONS
=" ${wx_arg_cache_file}`
8502 if test "x
$LINE" != x ; then
8503 eval "DEFAULT_
$LINE"
8509 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8514 eval "$wx_cv_use_system_options"
8515 if test "x$cache" = xyes
; then
8516 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8519 if test x
"$enablestring" = xdisable
; then
8520 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8526 result
=$wxUSE_SYSTEM_OPTIONS
8529 { echo "$as_me:$LINENO: result: $result" >&5
8530 echo "${ECHO_T}$result" >&6; }
8534 defaultval
=$wxUSE_ALL_FEATURES
8535 if test -z "$defaultval"; then
8536 if test x
"$enablestring" = xdisable
; then
8543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8544 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8545 # Check whether --enable-tarstream was given.
8546 if test "${enable_tarstream+set}" = set; then
8547 enableval
=$enable_tarstream;
8548 if test "$enableval" = yes; then
8549 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
8551 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
8557 LINE
=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8558 if test "x$LINE" != x
; then
8559 eval "DEFAULT_$LINE"
8565 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8570 eval "$wx_cv_use_tarstream"
8571 if test "x$cache" = xyes; then
8572 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8575 if test x"$enablestring" = xdisable; then
8576 if test $wxUSE_TARSTREAM = yes; then
8582 result=$wxUSE_TARSTREAM
8585 { echo "$as_me:$LINENO: result: $result" >&5
8586 echo "${ECHO_T}$result" >&6; }
8590 defaultval=$wxUSE_ALL_FEATURES
8591 if test -z "$defaultval"; then
8592 if test x"$enablestring" = xdisable; then
8599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8600 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8601 # Check whether --enable-textbuf was given.
8602 if test "${enable_textbuf+set}" = set; then
8603 enableval=$enable_textbuf;
8604 if test "$enableval" = yes; then
8605 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
8607 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
8613 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8614 if test "x$LINE" != x ; then
8615 eval "DEFAULT_$LINE"
8621 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8626 eval "$wx_cv_use_textbuf"
8627 if test "x
$cache" = xyes; then
8628 echo "wxUSE_TEXTBUFFER
=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8631 if test x"$enablestring" = xdisable; then
8632 if test $wxUSE_TEXTBUFFER = yes; then
8638 result=$wxUSE_TEXTBUFFER
8641 { echo "$as_me:$LINENO: result
: $result" >&5
8642 echo "${ECHO_T}$result" >&6; }
8646 defaultval=$wxUSE_ALL_FEATURES
8647 if test -z "$defaultval"; then
8648 if test x"$enablestring" = xdisable; then
8655 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
8656 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
8657 # Check whether --enable-textfile was given.
8658 if test "${enable_textfile+set}" = set; then
8659 enableval=$enable_textfile;
8660 if test "$enableval" = yes; then
8661 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8663 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8669 LINE=`grep "^wxUSE_TEXTFILE
=" ${wx_arg_cache_file}`
8670 if test "x
$LINE" != x ; then
8671 eval "DEFAULT_
$LINE"
8677 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8682 eval "$wx_cv_use_textfile"
8683 if test "x$cache" = xyes
; then
8684 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8687 if test x
"$enablestring" = xdisable
; then
8688 if test $wxUSE_TEXTFILE = yes; then
8694 result
=$wxUSE_TEXTFILE
8697 { echo "$as_me:$LINENO: result: $result" >&5
8698 echo "${ECHO_T}$result" >&6; }
8702 defaultval
=$wxUSE_ALL_FEATURES
8703 if test -z "$defaultval"; then
8704 if test x
"$enablestring" = xdisable
; then
8711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8712 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8713 # Check whether --enable-timer was given.
8714 if test "${enable_timer+set}" = set; then
8715 enableval
=$enable_timer;
8716 if test "$enableval" = yes; then
8717 wx_cv_use_timer
='wxUSE_TIMER=yes'
8719 wx_cv_use_timer
='wxUSE_TIMER=no'
8725 LINE
=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8726 if test "x$LINE" != x
; then
8727 eval "DEFAULT_$LINE"
8733 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8738 eval "$wx_cv_use_timer"
8739 if test "x$cache" = xyes; then
8740 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8743 if test x"$enablestring" = xdisable; then
8744 if test $wxUSE_TIMER = yes; then
8753 { echo "$as_me:$LINENO: result: $result" >&5
8754 echo "${ECHO_T}$result" >&6; }
8758 defaultval=$wxUSE_ALL_FEATURES
8759 if test -z "$defaultval"; then
8760 if test x"$enablestring" = xdisable; then
8767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8769 # Check whether --enable-sound was given.
8770 if test "${enable_sound+set}" = set; then
8771 enableval=$enable_sound;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_sound='wxUSE_SOUND
=yes'
8775 wx_cv_use_sound='wxUSE_SOUND
=no
'
8781 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8782 if test "x$LINE" != x ; then
8783 eval "DEFAULT_$LINE"
8789 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8794 eval "$wx_cv_use_sound"
8795 if test "x
$cache" = xyes; then
8796 echo "wxUSE_SOUND
=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8799 if test x"$enablestring" = xdisable; then
8800 if test $wxUSE_SOUND = yes; then
8809 { echo "$as_me:$LINENO: result
: $result" >&5
8810 echo "${ECHO_T}$result" >&6; }
8814 defaultval=$wxUSE_ALL_FEATURES
8815 if test -z "$defaultval"; then
8816 if test x"$enablestring" = xdisable; then
8823 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8824 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8825 # Check whether --enable-mediactrl was given.
8826 if test "${enable_mediactrl+set}" = set; then
8827 enableval=$enable_mediactrl;
8828 if test "$enableval" = yes; then
8829 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8831 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8837 LINE=`grep "^wxUSE_MEDIACTRL
=" ${wx_arg_cache_file}`
8838 if test "x
$LINE" != x ; then
8839 eval "DEFAULT_
$LINE"
8845 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8850 eval "$wx_cv_use_mediactrl"
8851 if test "x$cache" = xyes
; then
8852 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8855 if test x
"$enablestring" = xdisable
; then
8856 if test $wxUSE_MEDIACTRL = yes; then
8862 result
=$wxUSE_MEDIACTRL
8865 { echo "$as_me:$LINENO: result: $result" >&5
8866 echo "${ECHO_T}$result" >&6; }
8870 defaultval
=$wxUSE_ALL_FEATURES
8871 if test -z "$defaultval"; then
8872 if test x
"$enablestring" = xdisable
; then
8879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8880 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8881 # Check whether --enable-gstreamer8 was given.
8882 if test "${enable_gstreamer8+set}" = set; then
8883 enableval
=$enable_gstreamer8;
8884 if test "$enableval" = yes; then
8885 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
8887 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
8893 LINE
=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x
; then
8895 eval "DEFAULT_$LINE"
8901 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8906 eval "$wx_cv_use_gstreamer8"
8907 if test "x$cache" = xyes; then
8908 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_GSTREAMER8 = yes; then
8918 result=$wxUSE_GSTREAMER8
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8937 # Check whether --enable-printfposparam was given.
8938 if test "${enable_printfposparam+set}" = set; then
8939 enableval=$enable_printfposparam;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8943 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8949 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x ; then
8951 eval "DEFAULT_$LINE"
8957 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8962 eval "$wx_cv_use_printfposparam"
8963 if test "x
$cache" = xyes; then
8964 echo "wxUSE_PRINTF_POS_PARAMS
=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8967 if test x"$enablestring" = xdisable; then
8968 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8974 result=$wxUSE_PRINTF_POS_PARAMS
8977 { echo "$as_me:$LINENO: result
: $result" >&5
8978 echo "${ECHO_T}$result" >&6; }
8982 defaultval=$wxUSE_ALL_FEATURES
8983 if test -z "$defaultval"; then
8984 if test x"$enablestring" = xdisable; then
8991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
8992 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
8993 # Check whether --enable-zipstream was given.
8994 if test "${enable_zipstream+set}" = set; then
8995 enableval=$enable_zipstream;
8996 if test "$enableval" = yes; then
8997 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8999 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9005 LINE=`grep "^wxUSE_ZIPSTREAM
=" ${wx_arg_cache_file}`
9006 if test "x
$LINE" != x ; then
9007 eval "DEFAULT_
$LINE"
9013 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9018 eval "$wx_cv_use_zipstream"
9019 if test "x$cache" = xyes
; then
9020 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9023 if test x
"$enablestring" = xdisable
; then
9024 if test $wxUSE_ZIPSTREAM = yes; then
9030 result
=$wxUSE_ZIPSTREAM
9033 { echo "$as_me:$LINENO: result: $result" >&5
9034 echo "${ECHO_T}$result" >&6; }
9039 defaultval
=$wxUSE_ALL_FEATURES
9040 if test -z "$defaultval"; then
9041 if test x
"$enablestring" = xdisable
; then
9048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9049 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9050 # Check whether --enable-url was given.
9051 if test "${enable_url+set}" = set; then
9052 enableval
=$enable_url;
9053 if test "$enableval" = yes; then
9054 wx_cv_use_url
='wxUSE_URL=yes'
9056 wx_cv_use_url
='wxUSE_URL=no'
9062 LINE
=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9063 if test "x$LINE" != x
; then
9064 eval "DEFAULT_$LINE"
9070 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9075 eval "$wx_cv_use_url"
9076 if test "x$cache" = xyes; then
9077 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9080 if test x"$enablestring" = xdisable; then
9081 if test $wxUSE_URL = yes; then
9090 { echo "$as_me:$LINENO: result: $result" >&5
9091 echo "${ECHO_T}$result" >&6; }
9095 defaultval=$wxUSE_ALL_FEATURES
9096 if test -z "$defaultval"; then
9097 if test x"$enablestring" = xdisable; then
9104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9106 # Check whether --enable-variant was given.
9107 if test "${enable_variant+set}" = set; then
9108 enableval=$enable_variant;
9109 if test "$enableval" = yes; then
9110 wx_cv_use_variant='wxUSE_VARIANT
=yes'
9112 wx_cv_use_variant='wxUSE_VARIANT
=no
'
9118 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x ; then
9120 eval "DEFAULT_$LINE"
9126 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9131 eval "$wx_cv_use_variant"
9132 if test "x
$cache" = xyes; then
9133 echo "wxUSE_VARIANT
=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9136 if test x"$enablestring" = xdisable; then
9137 if test $wxUSE_VARIANT = yes; then
9143 result=$wxUSE_VARIANT
9146 { echo "$as_me:$LINENO: result
: $result" >&5
9147 echo "${ECHO_T}$result" >&6; }
9151 defaultval=$wxUSE_ALL_FEATURES
9152 if test -z "$defaultval"; then
9153 if test x"$enablestring" = xdisable; then
9160 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
9161 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
9162 # Check whether --enable-protocol was given.
9163 if test "${enable_protocol+set}" = set; then
9164 enableval=$enable_protocol;
9165 if test "$enableval" = yes; then
9166 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9168 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9174 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
9175 if test "x
$LINE" != x ; then
9176 eval "DEFAULT_
$LINE"
9182 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9187 eval "$wx_cv_use_protocol"
9188 if test "x$cache" = xyes
; then
9189 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9192 if test x
"$enablestring" = xdisable
; then
9193 if test $wxUSE_PROTOCOL = yes; then
9199 result
=$wxUSE_PROTOCOL
9202 { echo "$as_me:$LINENO: result: $result" >&5
9203 echo "${ECHO_T}$result" >&6; }
9207 defaultval
=$wxUSE_ALL_FEATURES
9208 if test -z "$defaultval"; then
9209 if test x
"$enablestring" = xdisable
; then
9216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9217 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9218 # Check whether --enable-protocol_http was given.
9219 if test "${enable_protocol_http+set}" = set; then
9220 enableval
=$enable_protocol_http;
9221 if test "$enableval" = yes; then
9222 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9224 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9230 LINE
=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9231 if test "x$LINE" != x
; then
9232 eval "DEFAULT_$LINE"
9238 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9243 eval "$wx_cv_use_protocol_http"
9244 if test "x$cache" = xyes; then
9245 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9248 if test x"$enablestring" = xdisable; then
9249 if test $wxUSE_PROTOCOL_HTTP = yes; then
9255 result=$wxUSE_PROTOCOL_HTTP
9258 { echo "$as_me:$LINENO: result: $result" >&5
9259 echo "${ECHO_T}$result" >&6; }
9263 defaultval=$wxUSE_ALL_FEATURES
9264 if test -z "$defaultval"; then
9265 if test x"$enablestring" = xdisable; then
9272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9273 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9274 # Check whether --enable-protocol_ftp was given.
9275 if test "${enable_protocol_ftp+set}" = set; then
9276 enableval=$enable_protocol_ftp;
9277 if test "$enableval" = yes; then
9278 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9280 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9286 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x ; then
9288 eval "DEFAULT_$LINE"
9294 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9299 eval "$wx_cv_use_protocol_ftp"
9300 if test "x
$cache" = xyes; then
9301 echo "wxUSE_PROTOCOL_FTP
=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9304 if test x"$enablestring" = xdisable; then
9305 if test $wxUSE_PROTOCOL_FTP = yes; then
9311 result=$wxUSE_PROTOCOL_FTP
9314 { echo "$as_me:$LINENO: result
: $result" >&5
9315 echo "${ECHO_T}$result" >&6; }
9319 defaultval=$wxUSE_ALL_FEATURES
9320 if test -z "$defaultval"; then
9321 if test x"$enablestring" = xdisable; then
9328 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
9329 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
9330 # Check whether --enable-protocol_file was given.
9331 if test "${enable_protocol_file+set}" = set; then
9332 enableval=$enable_protocol_file;
9333 if test "$enableval" = yes; then
9334 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9336 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9342 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
9343 if test "x
$LINE" != x ; then
9344 eval "DEFAULT_
$LINE"
9350 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9355 eval "$wx_cv_use_protocol_file"
9356 if test "x$cache" = xyes
; then
9357 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9360 if test x
"$enablestring" = xdisable
; then
9361 if test $wxUSE_PROTOCOL_FILE = yes; then
9367 result
=$wxUSE_PROTOCOL_FILE
9370 { echo "$as_me:$LINENO: result: $result" >&5
9371 echo "${ECHO_T}$result" >&6; }
9376 defaultval
=$wxUSE_ALL_FEATURES
9377 if test -z "$defaultval"; then
9378 if test x
"$enablestring" = xdisable
; then
9385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9387 # Check whether --enable-threads was given.
9388 if test "${enable_threads+set}" = set; then
9389 enableval
=$enable_threads;
9390 if test "$enableval" = yes; then
9391 wx_cv_use_threads
='wxUSE_THREADS=yes'
9393 wx_cv_use_threads
='wxUSE_THREADS=no'
9399 LINE
=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9400 if test "x$LINE" != x
; then
9401 eval "DEFAULT_$LINE"
9407 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9412 eval "$wx_cv_use_threads"
9413 if test "x$cache" = xyes; then
9414 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9417 if test x"$enablestring" = xdisable; then
9418 if test $wxUSE_THREADS = yes; then
9424 result=$wxUSE_THREADS
9427 { echo "$as_me:$LINENO: result: $result" >&5
9428 echo "${ECHO_T}$result" >&6; }
9434 if test -z "$defaultval"; then
9435 if test x"$enablestring" = xdisable; then
9442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9443 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9444 # Check whether --enable-iniconf was given.
9445 if test "${enable_iniconf+set}" = set; then
9446 enableval=$enable_iniconf;
9447 if test "$enableval" = yes; then
9448 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9450 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9456 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9457 if test "x$LINE" != x ; then
9458 eval "DEFAULT_$LINE"
9464 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9469 eval "$wx_cv_use_iniconf"
9470 if test "x
$cache" = xyes; then
9471 echo "wxUSE_INICONF
=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9474 if test x"$enablestring" = xdisable; then
9475 if test $wxUSE_INICONF = yes; then
9481 result=$wxUSE_INICONF
9484 { echo "$as_me:$LINENO: result
: $result" >&5
9485 echo "${ECHO_T}$result" >&6; }
9489 defaultval=$wxUSE_ALL_FEATURES
9490 if test -z "$defaultval"; then
9491 if test x"$enablestring" = xdisable; then
9498 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
9499 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
9500 # Check whether --enable-regkey was given.
9501 if test "${enable_regkey+set}" = set; then
9502 enableval=$enable_regkey;
9503 if test "$enableval" = yes; then
9504 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9506 wx_cv_use_regkey='wxUSE_REGKEY=no'
9512 LINE=`grep "^wxUSE_REGKEY
=" ${wx_arg_cache_file}`
9513 if test "x
$LINE" != x ; then
9514 eval "DEFAULT_
$LINE"
9520 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9525 eval "$wx_cv_use_regkey"
9526 if test "x$cache" = xyes
; then
9527 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9530 if test x
"$enablestring" = xdisable
; then
9531 if test $wxUSE_REGKEY = yes; then
9537 result
=$wxUSE_REGKEY
9540 { echo "$as_me:$LINENO: result: $result" >&5
9541 echo "${ECHO_T}$result" >&6; }
9544 if test "$wxUSE_GUI" = "yes"; then
9549 defaultval
=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x
"$enablestring" = xdisable
; then
9558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9560 # Check whether --enable-docview was given.
9561 if test "${enable_docview+set}" = set; then
9562 enableval
=$enable_docview;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9566 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9572 LINE
=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x
; then
9574 eval "DEFAULT_$LINE"
9580 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9585 eval "$wx_cv_use_docview"
9586 if test "x$cache" = xyes; then
9587 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9590 if test x"$enablestring" = xdisable; then
9591 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9597 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9600 { echo "$as_me:$LINENO: result: $result" >&5
9601 echo "${ECHO_T}$result" >&6; }
9605 defaultval=$wxUSE_ALL_FEATURES
9606 if test -z "$defaultval"; then
9607 if test x"$enablestring" = xdisable; then
9614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9616 # Check whether --enable-help was given.
9617 if test "${enable_help+set}" = set; then
9618 enableval=$enable_help;
9619 if test "$enableval" = yes; then
9620 wx_cv_use_help='wxUSE_HELP
=yes'
9622 wx_cv_use_help='wxUSE_HELP
=no
'
9628 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9629 if test "x$LINE" != x ; then
9630 eval "DEFAULT_$LINE"
9636 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9641 eval "$wx_cv_use_help"
9642 if test "x
$cache" = xyes; then
9643 echo "wxUSE_HELP
=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9646 if test x"$enablestring" = xdisable; then
9647 if test $wxUSE_HELP = yes; then
9656 { echo "$as_me:$LINENO: result
: $result" >&5
9657 echo "${ECHO_T}$result" >&6; }
9661 defaultval=$wxUSE_ALL_FEATURES
9662 if test -z "$defaultval"; then
9663 if test x"$enablestring" = xdisable; then
9670 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9671 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
9672 # Check whether --enable-mshtmlhelp was given.
9673 if test "${enable_mshtmlhelp+set}" = set; then
9674 enableval=$enable_mshtmlhelp;
9675 if test "$enableval" = yes; then
9676 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9678 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9684 LINE=`grep "^wxUSE_MS_HTML_HELP
=" ${wx_arg_cache_file}`
9685 if test "x
$LINE" != x ; then
9686 eval "DEFAULT_
$LINE"
9692 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9697 eval "$wx_cv_use_mshtmlhelp"
9698 if test "x$cache" = xyes
; then
9699 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9702 if test x
"$enablestring" = xdisable
; then
9703 if test $wxUSE_MS_HTML_HELP = yes; then
9709 result
=$wxUSE_MS_HTML_HELP
9712 { echo "$as_me:$LINENO: result: $result" >&5
9713 echo "${ECHO_T}$result" >&6; }
9717 defaultval
=$wxUSE_ALL_FEATURES
9718 if test -z "$defaultval"; then
9719 if test x
"$enablestring" = xdisable
; then
9726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9727 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9728 # Check whether --enable-html was given.
9729 if test "${enable_html+set}" = set; then
9730 enableval
=$enable_html;
9731 if test "$enableval" = yes; then
9732 wx_cv_use_html
='wxUSE_HTML=yes'
9734 wx_cv_use_html
='wxUSE_HTML=no'
9740 LINE
=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9741 if test "x$LINE" != x
; then
9742 eval "DEFAULT_$LINE"
9748 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9753 eval "$wx_cv_use_html"
9754 if test "x$cache" = xyes; then
9755 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9758 if test x"$enablestring" = xdisable; then
9759 if test $wxUSE_HTML = yes; then
9768 { echo "$as_me:$LINENO: result: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9773 defaultval=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x"$enablestring" = xdisable; then
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9784 # Check whether --enable-htmlhelp was given.
9785 if test "${enable_htmlhelp+set}" = set; then
9786 enableval=$enable_htmlhelp;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9790 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9796 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x ; then
9798 eval "DEFAULT_$LINE"
9804 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9809 eval "$wx_cv_use_htmlhelp"
9810 if test "x
$cache" = xyes; then
9811 echo "wxUSE_WXHTML_HELP
=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9814 if test x"$enablestring" = xdisable; then
9815 if test $wxUSE_WXHTML_HELP = yes; then
9821 result=$wxUSE_WXHTML_HELP
9824 { echo "$as_me:$LINENO: result
: $result" >&5
9825 echo "${ECHO_T}$result" >&6; }
9829 defaultval=$wxUSE_ALL_FEATURES
9830 if test -z "$defaultval"; then
9831 if test x"$enablestring" = xdisable; then
9838 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
9839 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
9840 # Check whether --enable-xrc was given.
9841 if test "${enable_xrc+set}" = set; then
9842 enableval=$enable_xrc;
9843 if test "$enableval" = yes; then
9844 wx_cv_use_xrc='wxUSE_XRC=yes'
9846 wx_cv_use_xrc='wxUSE_XRC=no'
9852 LINE=`grep "^wxUSE_XRC
=" ${wx_arg_cache_file}`
9853 if test "x
$LINE" != x ; then
9854 eval "DEFAULT_
$LINE"
9860 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9865 eval "$wx_cv_use_xrc"
9866 if test "x$cache" = xyes
; then
9867 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9870 if test x
"$enablestring" = xdisable
; then
9871 if test $wxUSE_XRC = yes; then
9880 { echo "$as_me:$LINENO: result: $result" >&5
9881 echo "${ECHO_T}$result" >&6; }
9885 defaultval
=$wxUSE_ALL_FEATURES
9886 if test -z "$defaultval"; then
9887 if test x
"$enablestring" = xdisable
; then
9894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9896 # Check whether --enable-aui was given.
9897 if test "${enable_aui+set}" = set; then
9898 enableval
=$enable_aui;
9899 if test "$enableval" = yes; then
9900 wx_cv_use_aui
='wxUSE_AUI=yes'
9902 wx_cv_use_aui
='wxUSE_AUI=no'
9908 LINE
=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9909 if test "x$LINE" != x
; then
9910 eval "DEFAULT_$LINE"
9916 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9921 eval "$wx_cv_use_aui"
9922 if test "x$cache" = xyes; then
9923 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9926 if test x"$enablestring" = xdisable; then
9927 if test $wxUSE_AUI = yes; then
9936 { echo "$as_me:$LINENO: result: $result" >&5
9937 echo "${ECHO_T}$result" >&6; }
9941 defaultval=$wxUSE_ALL_FEATURES
9942 if test -z "$defaultval"; then
9943 if test x"$enablestring" = xdisable; then
9950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9951 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9952 # Check whether --enable-stc was given.
9953 if test "${enable_stc+set}" = set; then
9954 enableval=$enable_stc;
9955 if test "$enableval" = yes; then
9956 wx_cv_use_stc='wxUSE_STC
=yes'
9958 wx_cv_use_stc='wxUSE_STC
=no
'
9964 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9965 if test "x$LINE" != x ; then
9966 eval "DEFAULT_$LINE"
9972 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
9977 eval "$wx_cv_use_stc"
9978 if test "x
$cache" = xyes; then
9979 echo "wxUSE_STC
=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9982 if test x"$enablestring" = xdisable; then
9983 if test $wxUSE_STC = yes; then
9992 { echo "$as_me:$LINENO: result
: $result" >&5
9993 echo "${ECHO_T}$result" >&6; }
9997 defaultval=$wxUSE_ALL_FEATURES
9998 if test -z "$defaultval"; then
9999 if test x"$enablestring" = xdisable; then
10006 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
10007 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
10008 # Check whether --enable-constraints was given.
10009 if test "${enable_constraints+set}" = set; then
10010 enableval=$enable_constraints;
10011 if test "$enableval" = yes; then
10012 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10014 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10020 LINE=`grep "^wxUSE_CONSTRAINTS
=" ${wx_arg_cache_file}`
10021 if test "x
$LINE" != x ; then
10022 eval "DEFAULT_
$LINE"
10028 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10033 eval "$wx_cv_use_constraints"
10034 if test "x$cache" = xyes
; then
10035 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10038 if test x
"$enablestring" = xdisable
; then
10039 if test $wxUSE_CONSTRAINTS = yes; then
10045 result
=$wxUSE_CONSTRAINTS
10048 { echo "$as_me:$LINENO: result: $result" >&5
10049 echo "${ECHO_T}$result" >&6; }
10053 defaultval
=$wxUSE_ALL_FEATURES
10054 if test -z "$defaultval"; then
10055 if test x
"$enablestring" = xdisable
; then
10062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10064 # Check whether --enable-printarch was given.
10065 if test "${enable_printarch+set}" = set; then
10066 enableval
=$enable_printarch;
10067 if test "$enableval" = yes; then
10068 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10070 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10076 LINE
=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10077 if test "x$LINE" != x
; then
10078 eval "DEFAULT_$LINE"
10084 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10089 eval "$wx_cv_use_printarch"
10090 if test "x$cache" = xyes; then
10091 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10094 if test x"$enablestring" = xdisable; then
10095 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10101 result=$wxUSE_PRINTING_ARCHITECTURE
10104 { echo "$as_me:$LINENO: result: $result" >&5
10105 echo "${ECHO_T}$result" >&6; }
10109 defaultval=$wxUSE_ALL_FEATURES
10110 if test -z "$defaultval"; then
10111 if test x"$enablestring" = xdisable; then
10118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10119 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10120 # Check whether --enable-mdi was given.
10121 if test "${enable_mdi+set}" = set; then
10122 enableval=$enable_mdi;
10123 if test "$enableval" = yes; then
10124 wx_cv_use_mdi='wxUSE_MDI
=yes'
10126 wx_cv_use_mdi='wxUSE_MDI
=no
'
10132 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10133 if test "x$LINE" != x ; then
10134 eval "DEFAULT_$LINE"
10140 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10145 eval "$wx_cv_use_mdi"
10146 if test "x
$cache" = xyes; then
10147 echo "wxUSE_MDI
=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10150 if test x"$enablestring" = xdisable; then
10151 if test $wxUSE_MDI = yes; then
10160 { echo "$as_me:$LINENO: result
: $result" >&5
10161 echo "${ECHO_T}$result" >&6; }
10165 defaultval=$wxUSE_ALL_FEATURES
10166 if test -z "$defaultval"; then
10167 if test x"$enablestring" = xdisable; then
10174 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
10175 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
10176 # Check whether --enable-mdidoc was given.
10177 if test "${enable_mdidoc+set}" = set; then
10178 enableval=$enable_mdidoc;
10179 if test "$enableval" = yes; then
10180 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10182 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10188 LINE=`grep "^wxUSE_MDI_ARCHITECTURE
=" ${wx_arg_cache_file}`
10189 if test "x
$LINE" != x ; then
10190 eval "DEFAULT_
$LINE"
10196 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10201 eval "$wx_cv_use_mdidoc"
10202 if test "x$cache" = xyes
; then
10203 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10206 if test x
"$enablestring" = xdisable
; then
10207 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10213 result
=$wxUSE_MDI_ARCHITECTURE
10216 { echo "$as_me:$LINENO: result: $result" >&5
10217 echo "${ECHO_T}$result" >&6; }
10221 defaultval
=$wxUSE_ALL_FEATURES
10222 if test -z "$defaultval"; then
10223 if test x
"$enablestring" = xdisable
; then
10230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10231 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10232 # Check whether --enable-loggui was given.
10233 if test "${enable_loggui+set}" = set; then
10234 enableval
=$enable_loggui;
10235 if test "$enableval" = yes; then
10236 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10238 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10244 LINE
=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10245 if test "x$LINE" != x
; then
10246 eval "DEFAULT_$LINE"
10252 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10257 eval "$wx_cv_use_loggui"
10258 if test "x$cache" = xyes; then
10259 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10262 if test x"$enablestring" = xdisable; then
10263 if test $wxUSE_LOGGUI = yes; then
10269 result=$wxUSE_LOGGUI
10272 { echo "$as_me:$LINENO: result: $result" >&5
10273 echo "${ECHO_T}$result" >&6; }
10277 defaultval=$wxUSE_ALL_FEATURES
10278 if test -z "$defaultval"; then
10279 if test x"$enablestring" = xdisable; then
10286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10287 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10288 # Check whether --enable-logwin was given.
10289 if test "${enable_logwin+set}" = set; then
10290 enableval=$enable_logwin;
10291 if test "$enableval" = yes; then
10292 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10294 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10300 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10301 if test "x$LINE" != x ; then
10302 eval "DEFAULT_$LINE"
10308 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10313 eval "$wx_cv_use_logwin"
10314 if test "x
$cache" = xyes; then
10315 echo "wxUSE_LOGWINDOW
=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10318 if test x"$enablestring" = xdisable; then
10319 if test $wxUSE_LOGWINDOW = yes; then
10325 result=$wxUSE_LOGWINDOW
10328 { echo "$as_me:$LINENO: result
: $result" >&5
10329 echo "${ECHO_T}$result" >&6; }
10333 defaultval=$wxUSE_ALL_FEATURES
10334 if test -z "$defaultval"; then
10335 if test x"$enablestring" = xdisable; then
10342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
10343 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
10344 # Check whether --enable-logdialog was given.
10345 if test "${enable_logdialog+set}" = set; then
10346 enableval=$enable_logdialog;
10347 if test "$enableval" = yes; then
10348 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10350 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10356 LINE=`grep "^wxUSE_LOGDIALOG
=" ${wx_arg_cache_file}`
10357 if test "x
$LINE" != x ; then
10358 eval "DEFAULT_
$LINE"
10364 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10369 eval "$wx_cv_use_logdialog"
10370 if test "x$cache" = xyes
; then
10371 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10374 if test x
"$enablestring" = xdisable
; then
10375 if test $wxUSE_LOGDIALOG = yes; then
10381 result
=$wxUSE_LOGDIALOG
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10389 defaultval
=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x
"$enablestring" = xdisable
; then
10398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10400 # Check whether --enable-webkit was given.
10401 if test "${enable_webkit+set}" = set; then
10402 enableval
=$enable_webkit;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
10406 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
10412 LINE
=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10413 if test "x$LINE" != x
; then
10414 eval "DEFAULT_$LINE"
10420 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10425 eval "$wx_cv_use_webkit"
10426 if test "x$cache" = xyes; then
10427 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10430 if test x"$enablestring" = xdisable; then
10431 if test $wxUSE_WEBKIT = yes; then
10437 result=$wxUSE_WEBKIT
10440 { echo "$as_me:$LINENO: result: $result" >&5
10441 echo "${ECHO_T}$result" >&6; }
10445 defaultval=$wxUSE_ALL_FEATURES
10446 if test -z "$defaultval"; then
10447 if test x"$enablestring" = xdisable; then
10454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10456 # Check whether --enable-richtext was given.
10457 if test "${enable_richtext+set}" = set; then
10458 enableval=$enable_richtext;
10459 if test "$enableval" = yes; then
10460 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10462 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10468 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10469 if test "x$LINE" != x ; then
10470 eval "DEFAULT_$LINE"
10476 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10481 eval "$wx_cv_use_richtext"
10482 if test "x
$cache" = xyes; then
10483 echo "wxUSE_RICHTEXT
=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10486 if test x"$enablestring" = xdisable; then
10487 if test $wxUSE_RICHTEXT = yes; then
10493 result=$wxUSE_RICHTEXT
10496 { echo "$as_me:$LINENO: result
: $result" >&5
10497 echo "${ECHO_T}$result" >&6; }
10501 defaultval=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x"$enablestring" = xdisable; then
10510 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
10511 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
10512 # Check whether --enable-graphics_ctx was given.
10513 if test "${enable_graphics_ctx+set}" = set; then
10514 enableval=$enable_graphics_ctx;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10518 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10524 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT
=" ${wx_arg_cache_file}`
10525 if test "x
$LINE" != x ; then
10526 eval "DEFAULT_
$LINE"
10532 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10537 eval "$wx_cv_use_graphics_ctx"
10538 if test "x$cache" = xyes
; then
10539 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10542 if test x
"$enablestring" = xdisable
; then
10543 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10549 result
=$wxUSE_GRAPHICS_CONTEXT
10552 { echo "$as_me:$LINENO: result: $result" >&5
10553 echo "${ECHO_T}$result" >&6; }
10557 defaultval
=$wxUSE_ALL_FEATURES
10558 if test -z "$defaultval"; then
10559 if test x
"$enablestring" = xdisable
; then
10566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10567 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10568 # Check whether --enable-postscript was given.
10569 if test "${enable_postscript+set}" = set; then
10570 enableval
=$enable_postscript;
10571 if test "$enableval" = yes; then
10572 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
10574 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
10580 LINE
=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10581 if test "x$LINE" != x
; then
10582 eval "DEFAULT_$LINE"
10588 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10593 eval "$wx_cv_use_postscript"
10594 if test "x$cache" = xyes; then
10595 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10598 if test x"$enablestring" = xdisable; then
10599 if test $wxUSE_POSTSCRIPT = yes; then
10605 result=$wxUSE_POSTSCRIPT
10608 { echo "$as_me:$LINENO: result: $result" >&5
10609 echo "${ECHO_T}$result" >&6; }
10613 defaultval=$wxUSE_ALL_FEATURES
10614 if test -z "$defaultval"; then
10615 if test x"$enablestring" = xdisable; then
10622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10624 # Check whether --enable-svg was given.
10625 if test "${enable_svg+set}" = set; then
10626 enableval=$enable_svg;
10627 if test "$enableval" = yes; then
10628 wx_cv_use_svg='wxUSE_SVG
=yes'
10630 wx_cv_use_svg='wxUSE_SVG
=no
'
10636 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10637 if test "x$LINE" != x ; then
10638 eval "DEFAULT_$LINE"
10644 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10649 eval "$wx_cv_use_svg"
10650 if test "x
$cache" = xyes; then
10651 echo "wxUSE_SVG
=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10654 if test x"$enablestring" = xdisable; then
10655 if test $wxUSE_SVG = yes; then
10664 { echo "$as_me:$LINENO: result
: $result" >&5
10665 echo "${ECHO_T}$result" >&6; }
10671 defaultval=$wxUSE_ALL_FEATURES
10672 if test -z "$defaultval"; then
10673 if test x"$enablestring" = xdisable; then
10680 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
10681 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
10682 # Check whether --enable-clipboard was given.
10683 if test "${enable_clipboard+set}" = set; then
10684 enableval=$enable_clipboard;
10685 if test "$enableval" = yes; then
10686 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10688 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10694 LINE=`grep "^wxUSE_CLIPBOARD
=" ${wx_arg_cache_file}`
10695 if test "x
$LINE" != x ; then
10696 eval "DEFAULT_
$LINE"
10702 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10707 eval "$wx_cv_use_clipboard"
10708 if test "x$cache" = xyes
; then
10709 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10712 if test x
"$enablestring" = xdisable
; then
10713 if test $wxUSE_CLIPBOARD = yes; then
10719 result
=$wxUSE_CLIPBOARD
10722 { echo "$as_me:$LINENO: result: $result" >&5
10723 echo "${ECHO_T}$result" >&6; }
10727 defaultval
=$wxUSE_ALL_FEATURES
10728 if test -z "$defaultval"; then
10729 if test x
"$enablestring" = xdisable
; then
10736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10737 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10738 # Check whether --enable-dnd was given.
10739 if test "${enable_dnd+set}" = set; then
10740 enableval
=$enable_dnd;
10741 if test "$enableval" = yes; then
10742 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
10744 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
10750 LINE
=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10751 if test "x$LINE" != x
; then
10752 eval "DEFAULT_$LINE"
10758 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10763 eval "$wx_cv_use_dnd"
10764 if test "x$cache" = xyes; then
10765 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10768 if test x"$enablestring" = xdisable; then
10769 if test $wxUSE_DRAG_AND_DROP = yes; then
10775 result=$wxUSE_DRAG_AND_DROP
10778 { echo "$as_me:$LINENO: result: $result" >&5
10779 echo "${ECHO_T}$result" >&6; }
10783 defaultval=$wxUSE_ALL_FEATURES
10784 if test -z "$defaultval"; then
10785 if test x"$enablestring" = xdisable; then
10792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10793 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10794 # Check whether --enable-metafile was given.
10795 if test "${enable_metafile+set}" = set; then
10796 enableval=$enable_metafile;
10797 if test "$enableval" = yes; then
10798 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
10800 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
10806 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10807 if test "x$LINE" != x ; then
10808 eval "DEFAULT_$LINE"
10814 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10819 eval "$wx_cv_use_metafile"
10820 if test "x
$cache" = xyes; then
10821 echo "wxUSE_METAFILE
=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10824 if test x"$enablestring" = xdisable; then
10825 if test $wxUSE_METAFILE = yes; then
10831 result=$wxUSE_METAFILE
10834 { echo "$as_me:$LINENO: result
: $result" >&5
10835 echo "${ECHO_T}$result" >&6; }
10839 DEFAULT_wxUSE_CONTROLS=none
10841 enablestring=disable
10843 if test -z "$defaultval"; then
10844 if test x"$enablestring" = xdisable; then
10851 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
10852 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
10853 # Check whether --enable-controls was given.
10854 if test "${enable_controls+set}" = set; then
10855 enableval=$enable_controls;
10856 if test "$enableval" = yes; then
10857 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10859 wx_cv_use_controls='wxUSE_CONTROLS=no'
10865 LINE=`grep "^wxUSE_CONTROLS
=" ${wx_arg_cache_file}`
10866 if test "x
$LINE" != x ; then
10867 eval "DEFAULT_
$LINE"
10873 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10878 eval "$wx_cv_use_controls"
10879 if test "x$cache" = xyes
; then
10880 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10883 if test x
"$enablestring" = xdisable
; then
10884 if test $wxUSE_CONTROLS = yes; then
10890 result
=$wxUSE_CONTROLS
10893 { echo "$as_me:$LINENO: result: $result" >&5
10894 echo "${ECHO_T}$result" >&6; }
10897 if test "$wxUSE_CONTROLS" = "yes"; then
10898 DEFAULT_wxUSE_ACCEL
=yes
10899 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
10900 DEFAULT_wxUSE_BMPBUTTON
=yes
10901 DEFAULT_wxUSE_BUTTON
=yes
10902 DEFAULT_wxUSE_CALCTRL
=yes
10903 DEFAULT_wxUSE_CARET
=yes
10904 DEFAULT_wxUSE_COMBOBOX
=yes
10905 DEFAULT_wxUSE_CHECKBOX
=yes
10906 DEFAULT_wxUSE_CHECKLISTBOX
=yes
10907 DEFAULT_wxUSE_CHOICE
=yes
10908 DEFAULT_wxUSE_CHOICEBOOK
=yes
10909 DEFAULT_wxUSE_COLLPANE
=yes
10910 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
10911 DEFAULT_wxUSE_COMBOBOX
=yes
10912 DEFAULT_wxUSE_DATEPICKCTRL
=yes
10913 DEFAULT_wxUSE_DISPLAY
=yes
10914 DEFAULT_wxUSE_DETECT_SM
=yes
10915 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
10916 DEFAULT_wxUSE_FILECTRL
=yes
10917 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
10918 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
10919 DEFAULT_wxUSE_GAUGE
=yes
10920 DEFAULT_wxUSE_GRID
=yes
10921 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
10922 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10923 DEFAULT_wxUSE_IMAGLIST
=yes
10924 DEFAULT_wxUSE_LISTBOOK
=yes
10925 DEFAULT_wxUSE_LISTBOX
=yes
10926 DEFAULT_wxUSE_LISTCTRL
=yes
10927 DEFAULT_wxUSE_NOTEBOOK
=yes
10928 DEFAULT_wxUSE_RADIOBOX
=yes
10929 DEFAULT_wxUSE_RADIOBTN
=yes
10930 DEFAULT_wxUSE_SASH
=yes
10931 DEFAULT_wxUSE_SCROLLBAR
=yes
10932 DEFAULT_wxUSE_SEARCHCTRL
=yes
10933 DEFAULT_wxUSE_SLIDER
=yes
10934 DEFAULT_wxUSE_SPINBTN
=yes
10935 DEFAULT_wxUSE_SPINCTRL
=yes
10936 DEFAULT_wxUSE_SPLITTER
=yes
10937 DEFAULT_wxUSE_STATBMP
=yes
10938 DEFAULT_wxUSE_STATBOX
=yes
10939 DEFAULT_wxUSE_STATLINE
=yes
10940 DEFAULT_wxUSE_STATUSBAR
=yes
10941 DEFAULT_wxUSE_TAB_DIALOG
=yes
10942 DEFAULT_wxUSE_TOGGLEBTN
=yes
10943 DEFAULT_wxUSE_TOOLBAR
=yes
10944 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
10945 DEFAULT_wxUSE_TOOLTIPS
=yes
10946 DEFAULT_wxUSE_TREEBOOK
=yes
10947 DEFAULT_wxUSE_TOOLBOOK
=yes
10948 DEFAULT_wxUSE_TREECTRL
=yes
10949 DEFAULT_wxUSE_POPUPWIN
=yes
10950 DEFAULT_wxUSE_TIPWINDOW
=yes
10951 elif test "$wxUSE_CONTROLS" = "no"; then
10952 DEFAULT_wxUSE_ACCEL
=no
10953 DEFAULT_wxUSE_ANIMATIONCTRL
=no
10954 DEFAULT_wxUSE_BMPBUTTON
=no
10955 DEFAULT_wxUSE_BUTTON
=no
10956 DEFAULT_wxUSE_CALCTRL
=no
10957 DEFAULT_wxUSE_CARET
=no
10958 DEFAULT_wxUSE_COLLPANE
=no
10959 DEFAULT_wxUSE_COMBOBOX
=no
10960 DEFAULT_wxUSE_CHECKBOX
=no
10961 DEFAULT_wxUSE_CHECKLISTBOX
=no
10962 DEFAULT_wxUSE_CHOICE
=no
10963 DEFAULT_wxUSE_CHOICEBOOK
=no
10964 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
10965 DEFAULT_wxUSE_COMBOBOX
=no
10966 DEFAULT_wxUSE_DATEPICKCTRL
=no
10967 DEFAULT_wxUSE_DISPLAY
=no
10968 DEFAULT_wxUSE_DETECT_SM
=no
10969 DEFAULT_wxUSE_DIRPICKERCTRL
=no
10970 DEFAULT_wxUSE_FILECTRL
=no
10971 DEFAULT_wxUSE_FILEPICKERCTRL
=no
10972 DEFAULT_wxUSE_FONTPICKERCTRL
=no
10973 DEFAULT_wxUSE_GAUGE
=no
10974 DEFAULT_wxUSE_GRID
=no
10975 DEFAULT_wxUSE_HYPERLINKCTRL
=no
10976 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10977 DEFAULT_wxUSE_IMAGLIST
=no
10978 DEFAULT_wxUSE_LISTBOOK
=no
10979 DEFAULT_wxUSE_LISTBOX
=no
10980 DEFAULT_wxUSE_LISTCTRL
=no
10981 DEFAULT_wxUSE_NOTEBOOK
=no
10982 DEFAULT_wxUSE_RADIOBOX
=no
10983 DEFAULT_wxUSE_RADIOBTN
=no
10984 DEFAULT_wxUSE_SASH
=no
10985 DEFAULT_wxUSE_SCROLLBAR
=no
10986 DEFAULT_wxUSE_SEARCHCTRL
=no
10987 DEFAULT_wxUSE_SLIDER
=no
10988 DEFAULT_wxUSE_SPINBTN
=no
10989 DEFAULT_wxUSE_SPINCTRL
=no
10990 DEFAULT_wxUSE_SPLITTER
=no
10991 DEFAULT_wxUSE_STATBMP
=no
10992 DEFAULT_wxUSE_STATBOX
=no
10993 DEFAULT_wxUSE_STATLINE
=no
10994 DEFAULT_wxUSE_STATUSBAR
=no
10995 DEFAULT_wxUSE_TAB_DIALOG
=no
10996 DEFAULT_wxUSE_TOGGLEBTN
=no
10997 DEFAULT_wxUSE_TOOLBAR
=no
10998 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
10999 DEFAULT_wxUSE_TOOLTIPS
=no
11000 DEFAULT_wxUSE_TREEBOOK
=no
11001 DEFAULT_wxUSE_TOOLBOOK
=no
11002 DEFAULT_wxUSE_TREECTRL
=no
11003 DEFAULT_wxUSE_POPUPWIN
=no
11004 DEFAULT_wxUSE_TIPWINDOW
=no
11009 defaultval
=$wxUSE_ALL_FEATURES
11010 if test -z "$defaultval"; then
11011 if test x
"$enablestring" = xdisable
; then
11018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
11019 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11020 # Check whether --enable-accel was given.
11021 if test "${enable_accel+set}" = set; then
11022 enableval
=$enable_accel;
11023 if test "$enableval" = yes; then
11024 wx_cv_use_accel
='wxUSE_ACCEL=yes'
11026 wx_cv_use_accel
='wxUSE_ACCEL=no'
11032 LINE
=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11033 if test "x$LINE" != x
; then
11034 eval "DEFAULT_$LINE"
11040 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11045 eval "$wx_cv_use_accel"
11046 if test "x$cache" = xyes; then
11047 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11050 if test x"$enablestring" = xdisable; then
11051 if test $wxUSE_ACCEL = yes; then
11057 result=$wxUSE_ACCEL
11060 { echo "$as_me:$LINENO: result: $result" >&5
11061 echo "${ECHO_T}$result" >&6; }
11065 defaultval=$wxUSE_ALL_FEATURES
11066 if test -z "$defaultval"; then
11067 if test x"$enablestring" = xdisable; then
11074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11075 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11076 # Check whether --enable-animatectrl was given.
11077 if test "${enable_animatectrl+set}" = set; then
11078 enableval=$enable_animatectrl;
11079 if test "$enableval" = yes; then
11080 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11082 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11088 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11089 if test "x$LINE" != x ; then
11090 eval "DEFAULT_$LINE"
11096 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11101 eval "$wx_cv_use_animatectrl"
11102 if test "x
$cache" = xyes; then
11103 echo "wxUSE_ANIMATIONCTRL
=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11106 if test x"$enablestring" = xdisable; then
11107 if test $wxUSE_ANIMATIONCTRL = yes; then
11113 result=$wxUSE_ANIMATIONCTRL
11116 { echo "$as_me:$LINENO: result
: $result" >&5
11117 echo "${ECHO_T}$result" >&6; }
11121 defaultval=$wxUSE_ALL_FEATURES
11122 if test -z "$defaultval"; then
11123 if test x"$enablestring" = xdisable; then
11130 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
11131 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
11132 # Check whether --enable-button was given.
11133 if test "${enable_button+set}" = set; then
11134 enableval=$enable_button;
11135 if test "$enableval" = yes; then
11136 wx_cv_use_button='wxUSE_BUTTON=yes'
11138 wx_cv_use_button='wxUSE_BUTTON=no'
11144 LINE=`grep "^wxUSE_BUTTON
=" ${wx_arg_cache_file}`
11145 if test "x
$LINE" != x ; then
11146 eval "DEFAULT_
$LINE"
11152 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11157 eval "$wx_cv_use_button"
11158 if test "x$cache" = xyes
; then
11159 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11162 if test x
"$enablestring" = xdisable
; then
11163 if test $wxUSE_BUTTON = yes; then
11169 result
=$wxUSE_BUTTON
11172 { echo "$as_me:$LINENO: result: $result" >&5
11173 echo "${ECHO_T}$result" >&6; }
11177 defaultval
=$wxUSE_ALL_FEATURES
11178 if test -z "$defaultval"; then
11179 if test x
"$enablestring" = xdisable
; then
11186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11187 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11188 # Check whether --enable-bmpbutton was given.
11189 if test "${enable_bmpbutton+set}" = set; then
11190 enableval
=$enable_bmpbutton;
11191 if test "$enableval" = yes; then
11192 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
11194 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
11200 LINE
=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11201 if test "x$LINE" != x
; then
11202 eval "DEFAULT_$LINE"
11208 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11213 eval "$wx_cv_use_bmpbutton"
11214 if test "x$cache" = xyes; then
11215 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11218 if test x"$enablestring" = xdisable; then
11219 if test $wxUSE_BMPBUTTON = yes; then
11225 result=$wxUSE_BMPBUTTON
11228 { echo "$as_me:$LINENO: result: $result" >&5
11229 echo "${ECHO_T}$result" >&6; }
11233 defaultval=$wxUSE_ALL_FEATURES
11234 if test -z "$defaultval"; then
11235 if test x"$enablestring" = xdisable; then
11242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11244 # Check whether --enable-bmpcombobox was given.
11245 if test "${enable_bmpcombobox+set}" = set; then
11246 enableval=$enable_bmpcombobox;
11247 if test "$enableval" = yes; then
11248 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
11250 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
11256 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11257 if test "x$LINE" != x ; then
11258 eval "DEFAULT_$LINE"
11264 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11269 eval "$wx_cv_use_bmpcombobox"
11270 if test "x
$cache" = xyes; then
11271 echo "wxUSE_BITMAPCOMBOBOX
=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11274 if test x"$enablestring" = xdisable; then
11275 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11281 result=$wxUSE_BITMAPCOMBOBOX
11284 { echo "$as_me:$LINENO: result
: $result" >&5
11285 echo "${ECHO_T}$result" >&6; }
11289 defaultval=$wxUSE_ALL_FEATURES
11290 if test -z "$defaultval"; then
11291 if test x"$enablestring" = xdisable; then
11298 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
11299 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
11300 # Check whether --enable-calendar was given.
11301 if test "${enable_calendar+set}" = set; then
11302 enableval=$enable_calendar;
11303 if test "$enableval" = yes; then
11304 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11306 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11312 LINE=`grep "^wxUSE_CALCTRL
=" ${wx_arg_cache_file}`
11313 if test "x
$LINE" != x ; then
11314 eval "DEFAULT_
$LINE"
11320 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11325 eval "$wx_cv_use_calendar"
11326 if test "x$cache" = xyes
; then
11327 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11330 if test x
"$enablestring" = xdisable
; then
11331 if test $wxUSE_CALCTRL = yes; then
11337 result
=$wxUSE_CALCTRL
11340 { echo "$as_me:$LINENO: result: $result" >&5
11341 echo "${ECHO_T}$result" >&6; }
11345 defaultval
=$wxUSE_ALL_FEATURES
11346 if test -z "$defaultval"; then
11347 if test x
"$enablestring" = xdisable
; then
11354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11355 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11356 # Check whether --enable-caret was given.
11357 if test "${enable_caret+set}" = set; then
11358 enableval
=$enable_caret;
11359 if test "$enableval" = yes; then
11360 wx_cv_use_caret
='wxUSE_CARET=yes'
11362 wx_cv_use_caret
='wxUSE_CARET=no'
11368 LINE
=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11369 if test "x$LINE" != x
; then
11370 eval "DEFAULT_$LINE"
11376 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11381 eval "$wx_cv_use_caret"
11382 if test "x$cache" = xyes; then
11383 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11386 if test x"$enablestring" = xdisable; then
11387 if test $wxUSE_CARET = yes; then
11393 result=$wxUSE_CARET
11396 { echo "$as_me:$LINENO: result: $result" >&5
11397 echo "${ECHO_T}$result" >&6; }
11401 defaultval=$wxUSE_ALL_FEATURES
11402 if test -z "$defaultval"; then
11403 if test x"$enablestring" = xdisable; then
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11412 # Check whether --enable-checkbox was given.
11413 if test "${enable_checkbox+set}" = set; then
11414 enableval=$enable_checkbox;
11415 if test "$enableval" = yes; then
11416 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11418 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11424 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11425 if test "x$LINE" != x ; then
11426 eval "DEFAULT_$LINE"
11432 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11437 eval "$wx_cv_use_checkbox"
11438 if test "x
$cache" = xyes; then
11439 echo "wxUSE_CHECKBOX
=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_CHECKBOX = yes; then
11449 result=$wxUSE_CHECKBOX
11452 { echo "$as_me:$LINENO: result
: $result" >&5
11453 echo "${ECHO_T}$result" >&6; }
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11466 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
11467 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
11468 # Check whether --enable-checklst was given.
11469 if test "${enable_checklst+set}" = set; then
11470 enableval=$enable_checklst;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11474 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11480 LINE=`grep "^wxUSE_CHECKLST
=" ${wx_arg_cache_file}`
11481 if test "x
$LINE" != x ; then
11482 eval "DEFAULT_
$LINE"
11488 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11493 eval "$wx_cv_use_checklst"
11494 if test "x$cache" = xyes
; then
11495 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11498 if test x
"$enablestring" = xdisable
; then
11499 if test $wxUSE_CHECKLST = yes; then
11505 result
=$wxUSE_CHECKLST
11508 { echo "$as_me:$LINENO: result: $result" >&5
11509 echo "${ECHO_T}$result" >&6; }
11513 defaultval
=$wxUSE_ALL_FEATURES
11514 if test -z "$defaultval"; then
11515 if test x
"$enablestring" = xdisable
; then
11522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11523 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11524 # Check whether --enable-choice was given.
11525 if test "${enable_choice+set}" = set; then
11526 enableval
=$enable_choice;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11530 wx_cv_use_choice
='wxUSE_CHOICE=no'
11536 LINE
=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11537 if test "x$LINE" != x
; then
11538 eval "DEFAULT_$LINE"
11544 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11549 eval "$wx_cv_use_choice"
11550 if test "x$cache" = xyes; then
11551 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11554 if test x"$enablestring" = xdisable; then
11555 if test $wxUSE_CHOICE = yes; then
11561 result=$wxUSE_CHOICE
11564 { echo "$as_me:$LINENO: result: $result" >&5
11565 echo "${ECHO_T}$result" >&6; }
11569 defaultval=$wxUSE_ALL_FEATURES
11570 if test -z "$defaultval"; then
11571 if test x"$enablestring" = xdisable; then
11578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11579 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11580 # Check whether --enable-choicebook was given.
11581 if test "${enable_choicebook+set}" = set; then
11582 enableval=$enable_choicebook;
11583 if test "$enableval" = yes; then
11584 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11586 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11592 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11593 if test "x$LINE" != x ; then
11594 eval "DEFAULT_$LINE"
11600 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11605 eval "$wx_cv_use_choicebook"
11606 if test "x
$cache" = xyes; then
11607 echo "wxUSE_CHOICEBOOK
=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11610 if test x"$enablestring" = xdisable; then
11611 if test $wxUSE_CHOICEBOOK = yes; then
11617 result=$wxUSE_CHOICEBOOK
11620 { echo "$as_me:$LINENO: result
: $result" >&5
11621 echo "${ECHO_T}$result" >&6; }
11625 defaultval=$wxUSE_ALL_FEATURES
11626 if test -z "$defaultval"; then
11627 if test x"$enablestring" = xdisable; then
11634 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
11635 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
11636 # Check whether --enable-collpane was given.
11637 if test "${enable_collpane+set}" = set; then
11638 enableval=$enable_collpane;
11639 if test "$enableval" = yes; then
11640 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11642 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11648 LINE=`grep "^wxUSE_COLLPANE
=" ${wx_arg_cache_file}`
11649 if test "x
$LINE" != x ; then
11650 eval "DEFAULT_
$LINE"
11656 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11661 eval "$wx_cv_use_collpane"
11662 if test "x$cache" = xyes
; then
11663 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11666 if test x
"$enablestring" = xdisable
; then
11667 if test $wxUSE_COLLPANE = yes; then
11673 result
=$wxUSE_COLLPANE
11676 { echo "$as_me:$LINENO: result: $result" >&5
11677 echo "${ECHO_T}$result" >&6; }
11681 defaultval
=$wxUSE_ALL_FEATURES
11682 if test -z "$defaultval"; then
11683 if test x
"$enablestring" = xdisable
; then
11690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11691 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11692 # Check whether --enable-colourpicker was given.
11693 if test "${enable_colourpicker+set}" = set; then
11694 enableval
=$enable_colourpicker;
11695 if test "$enableval" = yes; then
11696 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11698 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11704 LINE
=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11705 if test "x$LINE" != x
; then
11706 eval "DEFAULT_$LINE"
11712 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11717 eval "$wx_cv_use_colourpicker"
11718 if test "x$cache" = xyes; then
11719 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11722 if test x"$enablestring" = xdisable; then
11723 if test $wxUSE_COLOURPICKERCTRL = yes; then
11729 result=$wxUSE_COLOURPICKERCTRL
11732 { echo "$as_me:$LINENO: result: $result" >&5
11733 echo "${ECHO_T}$result" >&6; }
11737 defaultval=$wxUSE_ALL_FEATURES
11738 if test -z "$defaultval"; then
11739 if test x"$enablestring" = xdisable; then
11746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11747 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11748 # Check whether --enable-combobox was given.
11749 if test "${enable_combobox+set}" = set; then
11750 enableval=$enable_combobox;
11751 if test "$enableval" = yes; then
11752 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11754 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11760 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11761 if test "x$LINE" != x ; then
11762 eval "DEFAULT_$LINE"
11768 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11773 eval "$wx_cv_use_combobox"
11774 if test "x
$cache" = xyes; then
11775 echo "wxUSE_COMBOBOX
=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11778 if test x"$enablestring" = xdisable; then
11779 if test $wxUSE_COMBOBOX = yes; then
11785 result=$wxUSE_COMBOBOX
11788 { echo "$as_me:$LINENO: result
: $result" >&5
11789 echo "${ECHO_T}$result" >&6; }
11793 defaultval=$wxUSE_ALL_FEATURES
11794 if test -z "$defaultval"; then
11795 if test x"$enablestring" = xdisable; then
11802 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
11803 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
11804 # Check whether --enable-comboctrl was given.
11805 if test "${enable_comboctrl+set}" = set; then
11806 enableval=$enable_comboctrl;
11807 if test "$enableval" = yes; then
11808 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11810 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11816 LINE=`grep "^wxUSE_COMBOCTRL
=" ${wx_arg_cache_file}`
11817 if test "x
$LINE" != x ; then
11818 eval "DEFAULT_
$LINE"
11824 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11829 eval "$wx_cv_use_comboctrl"
11830 if test "x$cache" = xyes
; then
11831 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11834 if test x
"$enablestring" = xdisable
; then
11835 if test $wxUSE_COMBOCTRL = yes; then
11841 result
=$wxUSE_COMBOCTRL
11844 { echo "$as_me:$LINENO: result: $result" >&5
11845 echo "${ECHO_T}$result" >&6; }
11849 defaultval
=$wxUSE_ALL_FEATURES
11850 if test -z "$defaultval"; then
11851 if test x
"$enablestring" = xdisable
; then
11858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11859 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11860 # Check whether --enable-datepick was given.
11861 if test "${enable_datepick+set}" = set; then
11862 enableval
=$enable_datepick;
11863 if test "$enableval" = yes; then
11864 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
11866 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
11872 LINE
=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11873 if test "x$LINE" != x
; then
11874 eval "DEFAULT_$LINE"
11880 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11885 eval "$wx_cv_use_datepick"
11886 if test "x$cache" = xyes; then
11887 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11890 if test x"$enablestring" = xdisable; then
11891 if test $wxUSE_DATEPICKCTRL = yes; then
11897 result=$wxUSE_DATEPICKCTRL
11900 { echo "$as_me:$LINENO: result: $result" >&5
11901 echo "${ECHO_T}$result" >&6; }
11905 defaultval=$wxUSE_ALL_FEATURES
11906 if test -z "$defaultval"; then
11907 if test x"$enablestring" = xdisable; then
11914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11916 # Check whether --enable-dirpicker was given.
11917 if test "${enable_dirpicker+set}" = set; then
11918 enableval=$enable_dirpicker;
11919 if test "$enableval" = yes; then
11920 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
11922 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
11928 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11929 if test "x$LINE" != x ; then
11930 eval "DEFAULT_$LINE"
11936 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11941 eval "$wx_cv_use_dirpicker"
11942 if test "x
$cache" = xyes; then
11943 echo "wxUSE_DIRPICKERCTRL
=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11946 if test x"$enablestring" = xdisable; then
11947 if test $wxUSE_DIRPICKERCTRL = yes; then
11953 result=$wxUSE_DIRPICKERCTRL
11956 { echo "$as_me:$LINENO: result
: $result" >&5
11957 echo "${ECHO_T}$result" >&6; }
11961 defaultval=$wxUSE_ALL_FEATURES
11962 if test -z "$defaultval"; then
11963 if test x"$enablestring" = xdisable; then
11970 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
11971 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
11972 # Check whether --enable-display was given.
11973 if test "${enable_display+set}" = set; then
11974 enableval=$enable_display;
11975 if test "$enableval" = yes; then
11976 wx_cv_use_display='wxUSE_DISPLAY=yes'
11978 wx_cv_use_display='wxUSE_DISPLAY=no'
11984 LINE=`grep "^wxUSE_DISPLAY
=" ${wx_arg_cache_file}`
11985 if test "x
$LINE" != x ; then
11986 eval "DEFAULT_
$LINE"
11992 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11997 eval "$wx_cv_use_display"
11998 if test "x$cache" = xyes
; then
11999 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
12002 if test x
"$enablestring" = xdisable
; then
12003 if test $wxUSE_DISPLAY = yes; then
12009 result
=$wxUSE_DISPLAY
12012 { echo "$as_me:$LINENO: result: $result" >&5
12013 echo "${ECHO_T}$result" >&6; }
12017 defaultval
=$wxUSE_ALL_FEATURES
12018 if test -z "$defaultval"; then
12019 if test x
"$enablestring" = xdisable
; then
12026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12027 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12028 # Check whether --enable-detect_sm was given.
12029 if test "${enable_detect_sm+set}" = set; then
12030 enableval
=$enable_detect_sm;
12031 if test "$enableval" = yes; then
12032 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
12034 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
12040 LINE
=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12041 if test "x$LINE" != x
; then
12042 eval "DEFAULT_$LINE"
12048 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12053 eval "$wx_cv_use_detect_sm"
12054 if test "x$cache" = xyes; then
12055 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12058 if test x"$enablestring" = xdisable; then
12059 if test $wxUSE_DETECT_SM = yes; then
12065 result=$wxUSE_DETECT_SM
12068 { echo "$as_me:$LINENO: result: $result" >&5
12069 echo "${ECHO_T}$result" >&6; }
12073 defaultval=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x"$enablestring" = xdisable; then
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12084 # Check whether --enable-editablebox was given.
12085 if test "${enable_editablebox+set}" = set; then
12086 enableval=$enable_editablebox;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
12090 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
12096 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12097 if test "x$LINE" != x ; then
12098 eval "DEFAULT_$LINE"
12104 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12109 eval "$wx_cv_use_editablebox"
12110 if test "x
$cache" = xyes; then
12111 echo "wxUSE_EDITABLELISTBOX
=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12114 if test x"$enablestring" = xdisable; then
12115 if test $wxUSE_EDITABLELISTBOX = yes; then
12121 result=$wxUSE_EDITABLELISTBOX
12124 { echo "$as_me:$LINENO: result
: $result" >&5
12125 echo "${ECHO_T}$result" >&6; }
12129 defaultval=$wxUSE_ALL_FEATURES
12130 if test -z "$defaultval"; then
12131 if test x"$enablestring" = xdisable; then
12138 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
12139 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
12140 # Check whether --enable-filepicker was given.
12141 if test "${enable_filepicker+set}" = set; then
12142 enableval=$enable_filepicker;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12146 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12152 LINE=`grep "^wxUSE_FILEPICKERCTRL
=" ${wx_arg_cache_file}`
12153 if test "x
$LINE" != x ; then
12154 eval "DEFAULT_
$LINE"
12160 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12165 eval "$wx_cv_use_filepicker"
12166 if test "x$cache" = xyes
; then
12167 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12170 if test x
"$enablestring" = xdisable
; then
12171 if test $wxUSE_FILEPICKERCTRL = yes; then
12177 result
=$wxUSE_FILEPICKERCTRL
12180 { echo "$as_me:$LINENO: result: $result" >&5
12181 echo "${ECHO_T}$result" >&6; }
12185 defaultval
=$wxUSE_ALL_FEATURES
12186 if test -z "$defaultval"; then
12187 if test x
"$enablestring" = xdisable
; then
12194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12195 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12196 # Check whether --enable-filectrl was given.
12197 if test "${enable_filectrl+set}" = set; then
12198 enableval
=$enable_filectrl;
12199 if test "$enableval" = yes; then
12200 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12202 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12208 LINE
=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12209 if test "x$LINE" != x
; then
12210 eval "DEFAULT_$LINE"
12216 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12221 eval "$wx_cv_use_filectrl"
12222 if test "x$cache" = xyes; then
12223 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12226 if test x"$enablestring" = xdisable; then
12227 if test $wxUSE_FILECTRL = yes; then
12233 result=$wxUSE_FILECTRL
12236 { echo "$as_me:$LINENO: result: $result" >&5
12237 echo "${ECHO_T}$result" >&6; }
12241 defaultval=$wxUSE_ALL_FEATURES
12242 if test -z "$defaultval"; then
12243 if test x"$enablestring" = xdisable; then
12250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12251 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12252 # Check whether --enable-fontpicker was given.
12253 if test "${enable_fontpicker+set}" = set; then
12254 enableval=$enable_fontpicker;
12255 if test "$enableval" = yes; then
12256 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
12258 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
12264 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12265 if test "x$LINE" != x ; then
12266 eval "DEFAULT_$LINE"
12272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12277 eval "$wx_cv_use_fontpicker"
12278 if test "x
$cache" = xyes; then
12279 echo "wxUSE_FONTPICKERCTRL
=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12282 if test x"$enablestring" = xdisable; then
12283 if test $wxUSE_FONTPICKERCTRL = yes; then
12289 result=$wxUSE_FONTPICKERCTRL
12292 { echo "$as_me:$LINENO: result
: $result" >&5
12293 echo "${ECHO_T}$result" >&6; }
12297 defaultval=$wxUSE_ALL_FEATURES
12298 if test -z "$defaultval"; then
12299 if test x"$enablestring" = xdisable; then
12306 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
12307 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
12308 # Check whether --enable-gauge was given.
12309 if test "${enable_gauge+set}" = set; then
12310 enableval=$enable_gauge;
12311 if test "$enableval" = yes; then
12312 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12314 wx_cv_use_gauge='wxUSE_GAUGE=no'
12320 LINE=`grep "^wxUSE_GAUGE
=" ${wx_arg_cache_file}`
12321 if test "x
$LINE" != x ; then
12322 eval "DEFAULT_
$LINE"
12328 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12333 eval "$wx_cv_use_gauge"
12334 if test "x$cache" = xyes
; then
12335 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12338 if test x
"$enablestring" = xdisable
; then
12339 if test $wxUSE_GAUGE = yes; then
12345 result
=$wxUSE_GAUGE
12348 { echo "$as_me:$LINENO: result: $result" >&5
12349 echo "${ECHO_T}$result" >&6; }
12353 defaultval
=$wxUSE_ALL_FEATURES
12354 if test -z "$defaultval"; then
12355 if test x
"$enablestring" = xdisable
; then
12362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12363 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12364 # Check whether --enable-grid was given.
12365 if test "${enable_grid+set}" = set; then
12366 enableval
=$enable_grid;
12367 if test "$enableval" = yes; then
12368 wx_cv_use_grid
='wxUSE_GRID=yes'
12370 wx_cv_use_grid
='wxUSE_GRID=no'
12376 LINE
=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12377 if test "x$LINE" != x
; then
12378 eval "DEFAULT_$LINE"
12384 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12389 eval "$wx_cv_use_grid"
12390 if test "x$cache" = xyes; then
12391 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12394 if test x"$enablestring" = xdisable; then
12395 if test $wxUSE_GRID = yes; then
12404 { echo "$as_me:$LINENO: result: $result" >&5
12405 echo "${ECHO_T}$result" >&6; }
12409 defaultval=$wxUSE_ALL_FEATURES
12410 if test -z "$defaultval"; then
12411 if test x"$enablestring" = xdisable; then
12418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12419 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12420 # Check whether --enable-dataviewctrl was given.
12421 if test "${enable_dataviewctrl+set}" = set; then
12422 enableval=$enable_dataviewctrl;
12423 if test "$enableval" = yes; then
12424 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12426 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12432 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12433 if test "x$LINE" != x ; then
12434 eval "DEFAULT_$LINE"
12440 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12445 eval "$wx_cv_use_dataviewctrl"
12446 if test "x
$cache" = xyes; then
12447 echo "wxUSE_DATAVIEWCTRL
=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12450 if test x"$enablestring" = xdisable; then
12451 if test $wxUSE_DATAVIEWCTRL = yes; then
12457 result=$wxUSE_DATAVIEWCTRL
12460 { echo "$as_me:$LINENO: result
: $result" >&5
12461 echo "${ECHO_T}$result" >&6; }
12465 defaultval=$wxUSE_ALL_FEATURES
12466 if test -z "$defaultval"; then
12467 if test x"$enablestring" = xdisable; then
12474 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
12475 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
12476 # Check whether --enable-hyperlink was given.
12477 if test "${enable_hyperlink+set}" = set; then
12478 enableval=$enable_hyperlink;
12479 if test "$enableval" = yes; then
12480 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12482 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12488 LINE=`grep "^wxUSE_HYPERLINKCTRL
=" ${wx_arg_cache_file}`
12489 if test "x
$LINE" != x ; then
12490 eval "DEFAULT_
$LINE"
12496 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12501 eval "$wx_cv_use_hyperlink"
12502 if test "x$cache" = xyes
; then
12503 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12506 if test x
"$enablestring" = xdisable
; then
12507 if test $wxUSE_HYPERLINKCTRL = yes; then
12513 result
=$wxUSE_HYPERLINKCTRL
12516 { echo "$as_me:$LINENO: result: $result" >&5
12517 echo "${ECHO_T}$result" >&6; }
12521 defaultval
=$wxUSE_ALL_FEATURES
12522 if test -z "$defaultval"; then
12523 if test x
"$enablestring" = xdisable
; then
12530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12531 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12532 # Check whether --enable-imaglist was given.
12533 if test "${enable_imaglist+set}" = set; then
12534 enableval
=$enable_imaglist;
12535 if test "$enableval" = yes; then
12536 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
12538 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
12544 LINE
=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12545 if test "x$LINE" != x
; then
12546 eval "DEFAULT_$LINE"
12552 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12557 eval "$wx_cv_use_imaglist"
12558 if test "x$cache" = xyes; then
12559 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12562 if test x"$enablestring" = xdisable; then
12563 if test $wxUSE_IMAGLIST = yes; then
12569 result=$wxUSE_IMAGLIST
12572 { echo "$as_me:$LINENO: result: $result" >&5
12573 echo "${ECHO_T}$result" >&6; }
12577 defaultval=$wxUSE_ALL_FEATURES
12578 if test -z "$defaultval"; then
12579 if test x"$enablestring" = xdisable; then
12586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12587 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12588 # Check whether --enable-listbook was given.
12589 if test "${enable_listbook+set}" = set; then
12590 enableval=$enable_listbook;
12591 if test "$enableval" = yes; then
12592 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12594 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12600 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12601 if test "x$LINE" != x ; then
12602 eval "DEFAULT_$LINE"
12608 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12613 eval "$wx_cv_use_listbook"
12614 if test "x
$cache" = xyes; then
12615 echo "wxUSE_LISTBOOK
=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12618 if test x"$enablestring" = xdisable; then
12619 if test $wxUSE_LISTBOOK = yes; then
12625 result=$wxUSE_LISTBOOK
12628 { echo "$as_me:$LINENO: result
: $result" >&5
12629 echo "${ECHO_T}$result" >&6; }
12633 defaultval=$wxUSE_ALL_FEATURES
12634 if test -z "$defaultval"; then
12635 if test x"$enablestring" = xdisable; then
12642 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
12643 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
12644 # Check whether --enable-listbox was given.
12645 if test "${enable_listbox+set}" = set; then
12646 enableval=$enable_listbox;
12647 if test "$enableval" = yes; then
12648 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12650 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12656 LINE=`grep "^wxUSE_LISTBOX
=" ${wx_arg_cache_file}`
12657 if test "x
$LINE" != x ; then
12658 eval "DEFAULT_
$LINE"
12664 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12669 eval "$wx_cv_use_listbox"
12670 if test "x$cache" = xyes
; then
12671 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12674 if test x
"$enablestring" = xdisable
; then
12675 if test $wxUSE_LISTBOX = yes; then
12681 result
=$wxUSE_LISTBOX
12684 { echo "$as_me:$LINENO: result: $result" >&5
12685 echo "${ECHO_T}$result" >&6; }
12689 defaultval
=$wxUSE_ALL_FEATURES
12690 if test -z "$defaultval"; then
12691 if test x
"$enablestring" = xdisable
; then
12698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12699 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12700 # Check whether --enable-listctrl was given.
12701 if test "${enable_listctrl+set}" = set; then
12702 enableval
=$enable_listctrl;
12703 if test "$enableval" = yes; then
12704 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12706 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12712 LINE
=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12713 if test "x$LINE" != x
; then
12714 eval "DEFAULT_$LINE"
12720 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12725 eval "$wx_cv_use_listctrl"
12726 if test "x$cache" = xyes; then
12727 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_LISTCTRL = yes; then
12737 result=$wxUSE_LISTCTRL
12740 { echo "$as_me:$LINENO: result: $result" >&5
12741 echo "${ECHO_T}$result" >&6; }
12745 defaultval=$wxUSE_ALL_FEATURES
12746 if test -z "$defaultval"; then
12747 if test x"$enablestring" = xdisable; then
12754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12756 # Check whether --enable-notebook was given.
12757 if test "${enable_notebook+set}" = set; then
12758 enableval=$enable_notebook;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12762 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12768 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12769 if test "x$LINE" != x ; then
12770 eval "DEFAULT_$LINE"
12776 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12781 eval "$wx_cv_use_notebook"
12782 if test "x
$cache" = xyes; then
12783 echo "wxUSE_NOTEBOOK
=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12786 if test x"$enablestring" = xdisable; then
12787 if test $wxUSE_NOTEBOOK = yes; then
12793 result=$wxUSE_NOTEBOOK
12796 { echo "$as_me:$LINENO: result
: $result" >&5
12797 echo "${ECHO_T}$result" >&6; }
12801 defaultval=$wxUSE_ALL_FEATURES
12802 if test -z "$defaultval"; then
12803 if test x"$enablestring" = xdisable; then
12810 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
12811 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
12812 # Check whether --enable-odcombobox was given.
12813 if test "${enable_odcombobox+set}" = set; then
12814 enableval=$enable_odcombobox;
12815 if test "$enableval" = yes; then
12816 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12818 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12824 LINE=`grep "^wxUSE_ODCOMBOBOX
=" ${wx_arg_cache_file}`
12825 if test "x
$LINE" != x ; then
12826 eval "DEFAULT_
$LINE"
12832 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12837 eval "$wx_cv_use_odcombobox"
12838 if test "x$cache" = xyes
; then
12839 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12842 if test x
"$enablestring" = xdisable
; then
12843 if test $wxUSE_ODCOMBOBOX = yes; then
12849 result
=$wxUSE_ODCOMBOBOX
12852 { echo "$as_me:$LINENO: result: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12857 defaultval
=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x
"$enablestring" = xdisable
; then
12866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12868 # Check whether --enable-radiobox was given.
12869 if test "${enable_radiobox+set}" = set; then
12870 enableval
=$enable_radiobox;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
12874 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
12880 LINE
=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12881 if test "x$LINE" != x
; then
12882 eval "DEFAULT_$LINE"
12888 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12893 eval "$wx_cv_use_radiobox"
12894 if test "x$cache" = xyes; then
12895 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12898 if test x"$enablestring" = xdisable; then
12899 if test $wxUSE_RADIOBOX = yes; then
12905 result=$wxUSE_RADIOBOX
12908 { echo "$as_me:$LINENO: result: $result" >&5
12909 echo "${ECHO_T}$result" >&6; }
12913 defaultval=$wxUSE_ALL_FEATURES
12914 if test -z "$defaultval"; then
12915 if test x"$enablestring" = xdisable; then
12922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12923 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12924 # Check whether --enable-radiobtn was given.
12925 if test "${enable_radiobtn+set}" = set; then
12926 enableval=$enable_radiobtn;
12927 if test "$enableval" = yes; then
12928 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
12930 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
12936 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12937 if test "x$LINE" != x ; then
12938 eval "DEFAULT_$LINE"
12944 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12949 eval "$wx_cv_use_radiobtn"
12950 if test "x
$cache" = xyes; then
12951 echo "wxUSE_RADIOBTN
=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12954 if test x"$enablestring" = xdisable; then
12955 if test $wxUSE_RADIOBTN = yes; then
12961 result=$wxUSE_RADIOBTN
12964 { echo "$as_me:$LINENO: result
: $result" >&5
12965 echo "${ECHO_T}$result" >&6; }
12969 defaultval=$wxUSE_ALL_FEATURES
12970 if test -z "$defaultval"; then
12971 if test x"$enablestring" = xdisable; then
12978 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
12979 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
12980 # Check whether --enable-sash was given.
12981 if test "${enable_sash+set}" = set; then
12982 enableval=$enable_sash;
12983 if test "$enableval" = yes; then
12984 wx_cv_use_sash='wxUSE_SASH=yes'
12986 wx_cv_use_sash='wxUSE_SASH=no'
12992 LINE=`grep "^wxUSE_SASH
=" ${wx_arg_cache_file}`
12993 if test "x
$LINE" != x ; then
12994 eval "DEFAULT_
$LINE"
13000 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13005 eval "$wx_cv_use_sash"
13006 if test "x$cache" = xyes
; then
13007 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
13010 if test x
"$enablestring" = xdisable
; then
13011 if test $wxUSE_SASH = yes; then
13020 { echo "$as_me:$LINENO: result: $result" >&5
13021 echo "${ECHO_T}$result" >&6; }
13025 defaultval
=$wxUSE_ALL_FEATURES
13026 if test -z "$defaultval"; then
13027 if test x
"$enablestring" = xdisable
; then
13034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
13035 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
13036 # Check whether --enable-scrollbar was given.
13037 if test "${enable_scrollbar+set}" = set; then
13038 enableval
=$enable_scrollbar;
13039 if test "$enableval" = yes; then
13040 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
13042 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
13048 LINE
=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
13049 if test "x$LINE" != x
; then
13050 eval "DEFAULT_$LINE"
13056 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13061 eval "$wx_cv_use_scrollbar"
13062 if test "x$cache" = xyes; then
13063 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13066 if test x"$enablestring" = xdisable; then
13067 if test $wxUSE_SCROLLBAR = yes; then
13073 result=$wxUSE_SCROLLBAR
13076 { echo "$as_me:$LINENO: result: $result" >&5
13077 echo "${ECHO_T}$result" >&6; }
13081 defaultval=$wxUSE_ALL_FEATURES
13082 if test -z "$defaultval"; then
13083 if test x"$enablestring" = xdisable; then
13090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13091 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13092 # Check whether --enable-searchctrl was given.
13093 if test "${enable_searchctrl+set}" = set; then
13094 enableval=$enable_searchctrl;
13095 if test "$enableval" = yes; then
13096 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
13098 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
13104 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13105 if test "x$LINE" != x ; then
13106 eval "DEFAULT_$LINE"
13112 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13117 eval "$wx_cv_use_searchctrl"
13118 if test "x
$cache" = xyes; then
13119 echo "wxUSE_SEARCHCTRL
=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13122 if test x"$enablestring" = xdisable; then
13123 if test $wxUSE_SEARCHCTRL = yes; then
13129 result=$wxUSE_SEARCHCTRL
13132 { echo "$as_me:$LINENO: result
: $result" >&5
13133 echo "${ECHO_T}$result" >&6; }
13137 defaultval=$wxUSE_ALL_FEATURES
13138 if test -z "$defaultval"; then
13139 if test x"$enablestring" = xdisable; then
13146 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
13147 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
13148 # Check whether --enable-slider was given.
13149 if test "${enable_slider+set}" = set; then
13150 enableval=$enable_slider;
13151 if test "$enableval" = yes; then
13152 wx_cv_use_slider='wxUSE_SLIDER=yes'
13154 wx_cv_use_slider='wxUSE_SLIDER=no'
13160 LINE=`grep "^wxUSE_SLIDER
=" ${wx_arg_cache_file}`
13161 if test "x
$LINE" != x ; then
13162 eval "DEFAULT_
$LINE"
13168 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13173 eval "$wx_cv_use_slider"
13174 if test "x$cache" = xyes
; then
13175 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13178 if test x
"$enablestring" = xdisable
; then
13179 if test $wxUSE_SLIDER = yes; then
13185 result
=$wxUSE_SLIDER
13188 { echo "$as_me:$LINENO: result: $result" >&5
13189 echo "${ECHO_T}$result" >&6; }
13193 defaultval
=$wxUSE_ALL_FEATURES
13194 if test -z "$defaultval"; then
13195 if test x
"$enablestring" = xdisable
; then
13202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13203 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13204 # Check whether --enable-spinbtn was given.
13205 if test "${enable_spinbtn+set}" = set; then
13206 enableval
=$enable_spinbtn;
13207 if test "$enableval" = yes; then
13208 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
13210 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
13216 LINE
=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13217 if test "x$LINE" != x
; then
13218 eval "DEFAULT_$LINE"
13224 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13229 eval "$wx_cv_use_spinbtn"
13230 if test "x$cache" = xyes; then
13231 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13234 if test x"$enablestring" = xdisable; then
13235 if test $wxUSE_SPINBTN = yes; then
13241 result=$wxUSE_SPINBTN
13244 { echo "$as_me:$LINENO: result: $result" >&5
13245 echo "${ECHO_T}$result" >&6; }
13249 defaultval=$wxUSE_ALL_FEATURES
13250 if test -z "$defaultval"; then
13251 if test x"$enablestring" = xdisable; then
13258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13259 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13260 # Check whether --enable-spinctrl was given.
13261 if test "${enable_spinctrl+set}" = set; then
13262 enableval=$enable_spinctrl;
13263 if test "$enableval" = yes; then
13264 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
13266 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
13272 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13273 if test "x$LINE" != x ; then
13274 eval "DEFAULT_$LINE"
13280 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13285 eval "$wx_cv_use_spinctrl"
13286 if test "x
$cache" = xyes; then
13287 echo "wxUSE_SPINCTRL
=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13290 if test x"$enablestring" = xdisable; then
13291 if test $wxUSE_SPINCTRL = yes; then
13297 result=$wxUSE_SPINCTRL
13300 { echo "$as_me:$LINENO: result
: $result" >&5
13301 echo "${ECHO_T}$result" >&6; }
13305 defaultval=$wxUSE_ALL_FEATURES
13306 if test -z "$defaultval"; then
13307 if test x"$enablestring" = xdisable; then
13314 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
13315 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
13316 # Check whether --enable-splitter was given.
13317 if test "${enable_splitter+set}" = set; then
13318 enableval=$enable_splitter;
13319 if test "$enableval" = yes; then
13320 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13322 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13328 LINE=`grep "^wxUSE_SPLITTER
=" ${wx_arg_cache_file}`
13329 if test "x
$LINE" != x ; then
13330 eval "DEFAULT_
$LINE"
13336 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13341 eval "$wx_cv_use_splitter"
13342 if test "x$cache" = xyes
; then
13343 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13346 if test x
"$enablestring" = xdisable
; then
13347 if test $wxUSE_SPLITTER = yes; then
13353 result
=$wxUSE_SPLITTER
13356 { echo "$as_me:$LINENO: result: $result" >&5
13357 echo "${ECHO_T}$result" >&6; }
13361 defaultval
=$wxUSE_ALL_FEATURES
13362 if test -z "$defaultval"; then
13363 if test x
"$enablestring" = xdisable
; then
13370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13371 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13372 # Check whether --enable-statbmp was given.
13373 if test "${enable_statbmp+set}" = set; then
13374 enableval
=$enable_statbmp;
13375 if test "$enableval" = yes; then
13376 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
13378 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
13384 LINE
=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13385 if test "x$LINE" != x
; then
13386 eval "DEFAULT_$LINE"
13392 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13397 eval "$wx_cv_use_statbmp"
13398 if test "x$cache" = xyes; then
13399 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13402 if test x"$enablestring" = xdisable; then
13403 if test $wxUSE_STATBMP = yes; then
13409 result=$wxUSE_STATBMP
13412 { echo "$as_me:$LINENO: result: $result" >&5
13413 echo "${ECHO_T}$result" >&6; }
13417 defaultval=$wxUSE_ALL_FEATURES
13418 if test -z "$defaultval"; then
13419 if test x"$enablestring" = xdisable; then
13426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13427 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13428 # Check whether --enable-statbox was given.
13429 if test "${enable_statbox+set}" = set; then
13430 enableval=$enable_statbox;
13431 if test "$enableval" = yes; then
13432 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
13434 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
13440 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13441 if test "x$LINE" != x ; then
13442 eval "DEFAULT_$LINE"
13448 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13453 eval "$wx_cv_use_statbox"
13454 if test "x
$cache" = xyes; then
13455 echo "wxUSE_STATBOX
=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13458 if test x"$enablestring" = xdisable; then
13459 if test $wxUSE_STATBOX = yes; then
13465 result=$wxUSE_STATBOX
13468 { echo "$as_me:$LINENO: result
: $result" >&5
13469 echo "${ECHO_T}$result" >&6; }
13473 defaultval=$wxUSE_ALL_FEATURES
13474 if test -z "$defaultval"; then
13475 if test x"$enablestring" = xdisable; then
13482 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
13483 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
13484 # Check whether --enable-statline was given.
13485 if test "${enable_statline+set}" = set; then
13486 enableval=$enable_statline;
13487 if test "$enableval" = yes; then
13488 wx_cv_use_statline='wxUSE_STATLINE=yes'
13490 wx_cv_use_statline='wxUSE_STATLINE=no'
13496 LINE=`grep "^wxUSE_STATLINE
=" ${wx_arg_cache_file}`
13497 if test "x
$LINE" != x ; then
13498 eval "DEFAULT_
$LINE"
13504 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13509 eval "$wx_cv_use_statline"
13510 if test "x$cache" = xyes
; then
13511 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13514 if test x
"$enablestring" = xdisable
; then
13515 if test $wxUSE_STATLINE = yes; then
13521 result
=$wxUSE_STATLINE
13524 { echo "$as_me:$LINENO: result: $result" >&5
13525 echo "${ECHO_T}$result" >&6; }
13529 defaultval
=$wxUSE_ALL_FEATURES
13530 if test -z "$defaultval"; then
13531 if test x
"$enablestring" = xdisable
; then
13538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13539 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13540 # Check whether --enable-stattext was given.
13541 if test "${enable_stattext+set}" = set; then
13542 enableval
=$enable_stattext;
13543 if test "$enableval" = yes; then
13544 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
13546 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
13552 LINE
=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13553 if test "x$LINE" != x
; then
13554 eval "DEFAULT_$LINE"
13560 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13565 eval "$wx_cv_use_stattext"
13566 if test "x$cache" = xyes; then
13567 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_STATTEXT = yes; then
13577 result=$wxUSE_STATTEXT
13580 { echo "$as_me:$LINENO: result: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13595 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13596 # Check whether --enable-statusbar was given.
13597 if test "${enable_statusbar+set}" = set; then
13598 enableval=$enable_statusbar;
13599 if test "$enableval" = yes; then
13600 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
13602 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
13608 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13609 if test "x$LINE" != x ; then
13610 eval "DEFAULT_$LINE"
13616 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13621 eval "$wx_cv_use_statusbar"
13622 if test "x
$cache" = xyes; then
13623 echo "wxUSE_STATUSBAR
=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13626 if test x"$enablestring" = xdisable; then
13627 if test $wxUSE_STATUSBAR = yes; then
13633 result=$wxUSE_STATUSBAR
13636 { echo "$as_me:$LINENO: result
: $result" >&5
13637 echo "${ECHO_T}$result" >&6; }
13641 defaultval=$wxUSE_ALL_FEATURES
13642 if test -z "$defaultval"; then
13643 if test x"$enablestring" = xdisable; then
13650 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tabdialog" >&5
13651 echo $ECHO_N "checking
for --${enablestring:-enable}-tabdialog...
$ECHO_C" >&6; }
13652 # Check whether --enable-tabdialog was given.
13653 if test "${enable_tabdialog+set}" = set; then
13654 enableval=$enable_tabdialog;
13655 if test "$enableval" = yes; then
13656 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13658 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13664 LINE=`grep "^wxUSE_TAB_DIALOG
=" ${wx_arg_cache_file}`
13665 if test "x
$LINE" != x ; then
13666 eval "DEFAULT_
$LINE"
13672 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13677 eval "$wx_cv_use_tabdialog"
13678 if test "x$cache" = xyes
; then
13679 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13682 if test x
"$enablestring" = xdisable
; then
13683 if test $wxUSE_TAB_DIALOG = yes; then
13689 result
=$wxUSE_TAB_DIALOG
13692 { echo "$as_me:$LINENO: result: $result" >&5
13693 echo "${ECHO_T}$result" >&6; }
13697 defaultval
=$wxUSE_ALL_FEATURES
13698 if test -z "$defaultval"; then
13699 if test x
"$enablestring" = xdisable
; then
13706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13707 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13708 # Check whether --enable-taskbaricon was given.
13709 if test "${enable_taskbaricon+set}" = set; then
13710 enableval
=$enable_taskbaricon;
13711 if test "$enableval" = yes; then
13712 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13714 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13720 LINE
=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13721 if test "x$LINE" != x
; then
13722 eval "DEFAULT_$LINE"
13728 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13733 eval "$wx_cv_use_taskbaricon"
13734 if test "x$cache" = xyes; then
13735 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13738 if test x"$enablestring" = xdisable; then
13739 if test $wxUSE_TASKBARICON = yes; then
13745 result=$wxUSE_TASKBARICON
13748 { echo "$as_me:$LINENO: result: $result" >&5
13749 echo "${ECHO_T}$result" >&6; }
13753 defaultval=$wxUSE_ALL_FEATURES
13754 if test -z "$defaultval"; then
13755 if test x"$enablestring" = xdisable; then
13762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13763 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13764 # Check whether --enable-textctrl was given.
13765 if test "${enable_textctrl+set}" = set; then
13766 enableval=$enable_textctrl;
13767 if test "$enableval" = yes; then
13768 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
13770 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
13776 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13777 if test "x$LINE" != x ; then
13778 eval "DEFAULT_$LINE"
13784 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13789 eval "$wx_cv_use_textctrl"
13790 if test "x
$cache" = xyes; then
13791 echo "wxUSE_TEXTCTRL
=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_TEXTCTRL = yes; then
13801 result=$wxUSE_TEXTCTRL
13804 { echo "$as_me:$LINENO: result
: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13818 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
13819 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
13820 # Check whether --enable-togglebtn was given.
13821 if test "${enable_togglebtn+set}" = set; then
13822 enableval=$enable_togglebtn;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13826 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13832 LINE=`grep "^wxUSE_TOGGLEBTN
=" ${wx_arg_cache_file}`
13833 if test "x
$LINE" != x ; then
13834 eval "DEFAULT_
$LINE"
13840 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13845 eval "$wx_cv_use_togglebtn"
13846 if test "x$cache" = xyes
; then
13847 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13850 if test x
"$enablestring" = xdisable
; then
13851 if test $wxUSE_TOGGLEBTN = yes; then
13857 result
=$wxUSE_TOGGLEBTN
13860 { echo "$as_me:$LINENO: result: $result" >&5
13861 echo "${ECHO_T}$result" >&6; }
13865 defaultval
=$wxUSE_ALL_FEATURES
13866 if test -z "$defaultval"; then
13867 if test x
"$enablestring" = xdisable
; then
13874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13875 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13876 # Check whether --enable-toolbar was given.
13877 if test "${enable_toolbar+set}" = set; then
13878 enableval
=$enable_toolbar;
13879 if test "$enableval" = yes; then
13880 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13882 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13888 LINE
=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13889 if test "x$LINE" != x
; then
13890 eval "DEFAULT_$LINE"
13896 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13901 eval "$wx_cv_use_toolbar"
13902 if test "x$cache" = xyes; then
13903 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13906 if test x"$enablestring" = xdisable; then
13907 if test $wxUSE_TOOLBAR = yes; then
13913 result=$wxUSE_TOOLBAR
13916 { echo "$as_me:$LINENO: result: $result" >&5
13917 echo "${ECHO_T}$result" >&6; }
13921 defaultval=$wxUSE_ALL_FEATURES
13922 if test -z "$defaultval"; then
13923 if test x"$enablestring" = xdisable; then
13930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13931 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13932 # Check whether --enable-tbarnative was given.
13933 if test "${enable_tbarnative+set}" = set; then
13934 enableval=$enable_tbarnative;
13935 if test "$enableval" = yes; then
13936 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13938 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13944 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13945 if test "x$LINE" != x ; then
13946 eval "DEFAULT_$LINE"
13952 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13957 eval "$wx_cv_use_tbarnative"
13958 if test "x
$cache" = xyes; then
13959 echo "wxUSE_TOOLBAR_NATIVE
=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13962 if test x"$enablestring" = xdisable; then
13963 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13969 result=$wxUSE_TOOLBAR_NATIVE
13972 { echo "$as_me:$LINENO: result
: $result" >&5
13973 echo "${ECHO_T}$result" >&6; }
13977 defaultval=$wxUSE_ALL_FEATURES
13978 if test -z "$defaultval"; then
13979 if test x"$enablestring" = xdisable; then
13986 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
13987 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
13988 # Check whether --enable-treebook was given.
13989 if test "${enable_treebook+set}" = set; then
13990 enableval=$enable_treebook;
13991 if test "$enableval" = yes; then
13992 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13994 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14000 LINE=`grep "^wxUSE_TREEBOOK
=" ${wx_arg_cache_file}`
14001 if test "x
$LINE" != x ; then
14002 eval "DEFAULT_
$LINE"
14008 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14013 eval "$wx_cv_use_treebook"
14014 if test "x$cache" = xyes
; then
14015 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
14018 if test x
"$enablestring" = xdisable
; then
14019 if test $wxUSE_TREEBOOK = yes; then
14025 result
=$wxUSE_TREEBOOK
14028 { echo "$as_me:$LINENO: result: $result" >&5
14029 echo "${ECHO_T}$result" >&6; }
14033 defaultval
=$wxUSE_ALL_FEATURES
14034 if test -z "$defaultval"; then
14035 if test x
"$enablestring" = xdisable
; then
14042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
14043 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
14044 # Check whether --enable-toolbook was given.
14045 if test "${enable_toolbook+set}" = set; then
14046 enableval
=$enable_toolbook;
14047 if test "$enableval" = yes; then
14048 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
14050 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
14056 LINE
=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
14057 if test "x$LINE" != x
; then
14058 eval "DEFAULT_$LINE"
14064 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14069 eval "$wx_cv_use_toolbook"
14070 if test "x$cache" = xyes; then
14071 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14074 if test x"$enablestring" = xdisable; then
14075 if test $wxUSE_TOOLBOOK = yes; then
14081 result=$wxUSE_TOOLBOOK
14084 { echo "$as_me:$LINENO: result: $result" >&5
14085 echo "${ECHO_T}$result" >&6; }
14089 defaultval=$wxUSE_ALL_FEATURES
14090 if test -z "$defaultval"; then
14091 if test x"$enablestring" = xdisable; then
14098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14099 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14100 # Check whether --enable-treectrl was given.
14101 if test "${enable_treectrl+set}" = set; then
14102 enableval=$enable_treectrl;
14103 if test "$enableval" = yes; then
14104 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14106 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14112 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14113 if test "x$LINE" != x ; then
14114 eval "DEFAULT_$LINE"
14120 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14125 eval "$wx_cv_use_treectrl"
14126 if test "x
$cache" = xyes; then
14127 echo "wxUSE_TREECTRL
=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14130 if test x"$enablestring" = xdisable; then
14131 if test $wxUSE_TREECTRL = yes; then
14137 result=$wxUSE_TREECTRL
14140 { echo "$as_me:$LINENO: result
: $result" >&5
14141 echo "${ECHO_T}$result" >&6; }
14145 defaultval=$wxUSE_ALL_FEATURES
14146 if test -z "$defaultval"; then
14147 if test x"$enablestring" = xdisable; then
14154 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
14155 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
14156 # Check whether --enable-tipwindow was given.
14157 if test "${enable_tipwindow+set}" = set; then
14158 enableval=$enable_tipwindow;
14159 if test "$enableval" = yes; then
14160 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14162 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14168 LINE=`grep "^wxUSE_TIPWINDOW
=" ${wx_arg_cache_file}`
14169 if test "x
$LINE" != x ; then
14170 eval "DEFAULT_
$LINE"
14176 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14181 eval "$wx_cv_use_tipwindow"
14182 if test "x$cache" = xyes
; then
14183 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14186 if test x
"$enablestring" = xdisable
; then
14187 if test $wxUSE_TIPWINDOW = yes; then
14193 result
=$wxUSE_TIPWINDOW
14196 { echo "$as_me:$LINENO: result: $result" >&5
14197 echo "${ECHO_T}$result" >&6; }
14201 defaultval
=$wxUSE_ALL_FEATURES
14202 if test -z "$defaultval"; then
14203 if test x
"$enablestring" = xdisable
; then
14210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14211 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14212 # Check whether --enable-popupwin was given.
14213 if test "${enable_popupwin+set}" = set; then
14214 enableval
=$enable_popupwin;
14215 if test "$enableval" = yes; then
14216 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
14218 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
14224 LINE
=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14225 if test "x$LINE" != x
; then
14226 eval "DEFAULT_$LINE"
14232 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14237 eval "$wx_cv_use_popupwin"
14238 if test "x$cache" = xyes; then
14239 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14242 if test x"$enablestring" = xdisable; then
14243 if test $wxUSE_POPUPWIN = yes; then
14249 result=$wxUSE_POPUPWIN
14252 { echo "$as_me:$LINENO: result: $result" >&5
14253 echo "${ECHO_T}$result" >&6; }
14259 defaultval=$wxUSE_ALL_FEATURES
14260 if test -z "$defaultval"; then
14261 if test x"$enablestring" = xdisable; then
14268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14269 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14270 # Check whether --enable-commondlg was given.
14271 if test "${enable_commondlg+set}" = set; then
14272 enableval=$enable_commondlg;
14273 if test "$enableval" = yes; then
14274 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
14276 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
14282 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14283 if test "x$LINE" != x ; then
14284 eval "DEFAULT_$LINE"
14290 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14295 eval "$wx_cv_use_commondlg"
14296 if test "x
$cache" = xyes; then
14297 echo "wxUSE_COMMONDLGS
=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14300 if test x"$enablestring" = xdisable; then
14301 if test $wxUSE_COMMONDLGS = yes; then
14307 result=$wxUSE_COMMONDLGS
14310 { echo "$as_me:$LINENO: result
: $result" >&5
14311 echo "${ECHO_T}$result" >&6; }
14315 defaultval=$wxUSE_ALL_FEATURES
14316 if test -z "$defaultval"; then
14317 if test x"$enablestring" = xdisable; then
14324 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
14325 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
14326 # Check whether --enable-aboutdlg was given.
14327 if test "${enable_aboutdlg+set}" = set; then
14328 enableval=$enable_aboutdlg;
14329 if test "$enableval" = yes; then
14330 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14332 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14338 LINE=`grep "^wxUSE_ABOUTDLG
=" ${wx_arg_cache_file}`
14339 if test "x
$LINE" != x ; then
14340 eval "DEFAULT_
$LINE"
14346 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14351 eval "$wx_cv_use_aboutdlg"
14352 if test "x$cache" = xyes
; then
14353 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14356 if test x
"$enablestring" = xdisable
; then
14357 if test $wxUSE_ABOUTDLG = yes; then
14363 result
=$wxUSE_ABOUTDLG
14366 { echo "$as_me:$LINENO: result: $result" >&5
14367 echo "${ECHO_T}$result" >&6; }
14371 defaultval
=$wxUSE_ALL_FEATURES
14372 if test -z "$defaultval"; then
14373 if test x
"$enablestring" = xdisable
; then
14380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14381 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14382 # Check whether --enable-choicedlg was given.
14383 if test "${enable_choicedlg+set}" = set; then
14384 enableval
=$enable_choicedlg;
14385 if test "$enableval" = yes; then
14386 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
14388 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
14394 LINE
=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14395 if test "x$LINE" != x
; then
14396 eval "DEFAULT_$LINE"
14402 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14407 eval "$wx_cv_use_choicedlg"
14408 if test "x$cache" = xyes; then
14409 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14412 if test x"$enablestring" = xdisable; then
14413 if test $wxUSE_CHOICEDLG = yes; then
14419 result=$wxUSE_CHOICEDLG
14422 { echo "$as_me:$LINENO: result: $result" >&5
14423 echo "${ECHO_T}$result" >&6; }
14427 defaultval=$wxUSE_ALL_FEATURES
14428 if test -z "$defaultval"; then
14429 if test x"$enablestring" = xdisable; then
14436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14437 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14438 # Check whether --enable-coldlg was given.
14439 if test "${enable_coldlg+set}" = set; then
14440 enableval=$enable_coldlg;
14441 if test "$enableval" = yes; then
14442 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
14444 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
14450 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14451 if test "x$LINE" != x ; then
14452 eval "DEFAULT_$LINE"
14458 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14463 eval "$wx_cv_use_coldlg"
14464 if test "x
$cache" = xyes; then
14465 echo "wxUSE_COLOURDLG
=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14468 if test x"$enablestring" = xdisable; then
14469 if test $wxUSE_COLOURDLG = yes; then
14475 result=$wxUSE_COLOURDLG
14478 { echo "$as_me:$LINENO: result
: $result" >&5
14479 echo "${ECHO_T}$result" >&6; }
14483 defaultval=$wxUSE_ALL_FEATURES
14484 if test -z "$defaultval"; then
14485 if test x"$enablestring" = xdisable; then
14492 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
14493 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
14494 # Check whether --enable-filedlg was given.
14495 if test "${enable_filedlg+set}" = set; then
14496 enableval=$enable_filedlg;
14497 if test "$enableval" = yes; then
14498 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14500 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14506 LINE=`grep "^wxUSE_FILEDLG
=" ${wx_arg_cache_file}`
14507 if test "x
$LINE" != x ; then
14508 eval "DEFAULT_
$LINE"
14514 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14519 eval "$wx_cv_use_filedlg"
14520 if test "x$cache" = xyes
; then
14521 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14524 if test x
"$enablestring" = xdisable
; then
14525 if test $wxUSE_FILEDLG = yes; then
14531 result
=$wxUSE_FILEDLG
14534 { echo "$as_me:$LINENO: result: $result" >&5
14535 echo "${ECHO_T}$result" >&6; }
14539 defaultval
=$wxUSE_ALL_FEATURES
14540 if test -z "$defaultval"; then
14541 if test x
"$enablestring" = xdisable
; then
14548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14549 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14550 # Check whether --enable-finddlg was given.
14551 if test "${enable_finddlg+set}" = set; then
14552 enableval
=$enable_finddlg;
14553 if test "$enableval" = yes; then
14554 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
14556 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
14562 LINE
=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14563 if test "x$LINE" != x
; then
14564 eval "DEFAULT_$LINE"
14570 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14575 eval "$wx_cv_use_finddlg"
14576 if test "x$cache" = xyes; then
14577 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14580 if test x"$enablestring" = xdisable; then
14581 if test $wxUSE_FINDREPLDLG = yes; then
14587 result=$wxUSE_FINDREPLDLG
14590 { echo "$as_me:$LINENO: result: $result" >&5
14591 echo "${ECHO_T}$result" >&6; }
14595 defaultval=$wxUSE_ALL_FEATURES
14596 if test -z "$defaultval"; then
14597 if test x"$enablestring" = xdisable; then
14604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14605 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14606 # Check whether --enable-fontdlg was given.
14607 if test "${enable_fontdlg+set}" = set; then
14608 enableval=$enable_fontdlg;
14609 if test "$enableval" = yes; then
14610 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
14612 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
14618 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14619 if test "x$LINE" != x ; then
14620 eval "DEFAULT_$LINE"
14626 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14631 eval "$wx_cv_use_fontdlg"
14632 if test "x
$cache" = xyes; then
14633 echo "wxUSE_FONTDLG
=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14636 if test x"$enablestring" = xdisable; then
14637 if test $wxUSE_FONTDLG = yes; then
14643 result=$wxUSE_FONTDLG
14646 { echo "$as_me:$LINENO: result
: $result" >&5
14647 echo "${ECHO_T}$result" >&6; }
14651 defaultval=$wxUSE_ALL_FEATURES
14652 if test -z "$defaultval"; then
14653 if test x"$enablestring" = xdisable; then
14660 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
14661 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
14662 # Check whether --enable-dirdlg was given.
14663 if test "${enable_dirdlg+set}" = set; then
14664 enableval=$enable_dirdlg;
14665 if test "$enableval" = yes; then
14666 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14668 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14674 LINE=`grep "^wxUSE_DIRDLG
=" ${wx_arg_cache_file}`
14675 if test "x
$LINE" != x ; then
14676 eval "DEFAULT_
$LINE"
14682 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14687 eval "$wx_cv_use_dirdlg"
14688 if test "x$cache" = xyes
; then
14689 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14692 if test x
"$enablestring" = xdisable
; then
14693 if test $wxUSE_DIRDLG = yes; then
14699 result
=$wxUSE_DIRDLG
14702 { echo "$as_me:$LINENO: result: $result" >&5
14703 echo "${ECHO_T}$result" >&6; }
14707 defaultval
=$wxUSE_ALL_FEATURES
14708 if test -z "$defaultval"; then
14709 if test x
"$enablestring" = xdisable
; then
14716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14717 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14718 # Check whether --enable-msgdlg was given.
14719 if test "${enable_msgdlg+set}" = set; then
14720 enableval
=$enable_msgdlg;
14721 if test "$enableval" = yes; then
14722 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
14724 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
14730 LINE
=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14731 if test "x$LINE" != x
; then
14732 eval "DEFAULT_$LINE"
14738 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14743 eval "$wx_cv_use_msgdlg"
14744 if test "x$cache" = xyes; then
14745 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14748 if test x"$enablestring" = xdisable; then
14749 if test $wxUSE_MSGDLG = yes; then
14755 result=$wxUSE_MSGDLG
14758 { echo "$as_me:$LINENO: result: $result" >&5
14759 echo "${ECHO_T}$result" >&6; }
14763 defaultval=$wxUSE_ALL_FEATURES
14764 if test -z "$defaultval"; then
14765 if test x"$enablestring" = xdisable; then
14772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14773 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14774 # Check whether --enable-numberdlg was given.
14775 if test "${enable_numberdlg+set}" = set; then
14776 enableval=$enable_numberdlg;
14777 if test "$enableval" = yes; then
14778 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
14780 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
14786 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14787 if test "x$LINE" != x ; then
14788 eval "DEFAULT_$LINE"
14794 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14799 eval "$wx_cv_use_numberdlg"
14800 if test "x
$cache" = xyes; then
14801 echo "wxUSE_NUMBERDLG
=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14804 if test x"$enablestring" = xdisable; then
14805 if test $wxUSE_NUMBERDLG = yes; then
14811 result=$wxUSE_NUMBERDLG
14814 { echo "$as_me:$LINENO: result
: $result" >&5
14815 echo "${ECHO_T}$result" >&6; }
14819 defaultval=$wxUSE_ALL_FEATURES
14820 if test -z "$defaultval"; then
14821 if test x"$enablestring" = xdisable; then
14828 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
14829 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
14830 # Check whether --enable-splash was given.
14831 if test "${enable_splash+set}" = set; then
14832 enableval=$enable_splash;
14833 if test "$enableval" = yes; then
14834 wx_cv_use_splash='wxUSE_SPLASH=yes'
14836 wx_cv_use_splash='wxUSE_SPLASH=no'
14842 LINE=`grep "^wxUSE_SPLASH
=" ${wx_arg_cache_file}`
14843 if test "x
$LINE" != x ; then
14844 eval "DEFAULT_
$LINE"
14850 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14855 eval "$wx_cv_use_splash"
14856 if test "x$cache" = xyes
; then
14857 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14860 if test x
"$enablestring" = xdisable
; then
14861 if test $wxUSE_SPLASH = yes; then
14867 result
=$wxUSE_SPLASH
14870 { echo "$as_me:$LINENO: result: $result" >&5
14871 echo "${ECHO_T}$result" >&6; }
14875 defaultval
=$wxUSE_ALL_FEATURES
14876 if test -z "$defaultval"; then
14877 if test x
"$enablestring" = xdisable
; then
14884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14885 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14886 # Check whether --enable-textdlg was given.
14887 if test "${enable_textdlg+set}" = set; then
14888 enableval
=$enable_textdlg;
14889 if test "$enableval" = yes; then
14890 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
14892 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
14898 LINE
=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14899 if test "x$LINE" != x
; then
14900 eval "DEFAULT_$LINE"
14906 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14911 eval "$wx_cv_use_textdlg"
14912 if test "x$cache" = xyes; then
14913 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14916 if test x"$enablestring" = xdisable; then
14917 if test $wxUSE_TEXTDLG = yes; then
14923 result=$wxUSE_TEXTDLG
14926 { echo "$as_me:$LINENO: result: $result" >&5
14927 echo "${ECHO_T}$result" >&6; }
14931 defaultval=$wxUSE_ALL_FEATURES
14932 if test -z "$defaultval"; then
14933 if test x"$enablestring" = xdisable; then
14940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14941 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14942 # Check whether --enable-tipdlg was given.
14943 if test "${enable_tipdlg+set}" = set; then
14944 enableval=$enable_tipdlg;
14945 if test "$enableval" = yes; then
14946 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
14948 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
14954 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14955 if test "x$LINE" != x ; then
14956 eval "DEFAULT_$LINE"
14962 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14967 eval "$wx_cv_use_tipdlg"
14968 if test "x
$cache" = xyes; then
14969 echo "wxUSE_STARTUP_TIPS
=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14972 if test x"$enablestring" = xdisable; then
14973 if test $wxUSE_STARTUP_TIPS = yes; then
14979 result=$wxUSE_STARTUP_TIPS
14982 { echo "$as_me:$LINENO: result
: $result" >&5
14983 echo "${ECHO_T}$result" >&6; }
14987 defaultval=$wxUSE_ALL_FEATURES
14988 if test -z "$defaultval"; then
14989 if test x"$enablestring" = xdisable; then
14996 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
14997 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
14998 # Check whether --enable-progressdlg was given.
14999 if test "${enable_progressdlg+set}" = set; then
15000 enableval=$enable_progressdlg;
15001 if test "$enableval" = yes; then
15002 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
15004 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
15010 LINE=`grep "^wxUSE_PROGRESSDLG
=" ${wx_arg_cache_file}`
15011 if test "x
$LINE" != x ; then
15012 eval "DEFAULT_
$LINE"
15018 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
15023 eval "$wx_cv_use_progressdlg"
15024 if test "x$cache" = xyes
; then
15025 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
15028 if test x
"$enablestring" = xdisable
; then
15029 if test $wxUSE_PROGRESSDLG = yes; then
15035 result
=$wxUSE_PROGRESSDLG
15038 { echo "$as_me:$LINENO: result: $result" >&5
15039 echo "${ECHO_T}$result" >&6; }
15043 defaultval
=$wxUSE_ALL_FEATURES
15044 if test -z "$defaultval"; then
15045 if test x
"$enablestring" = xdisable
; then
15052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
15053 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
15054 # Check whether --enable-wizarddlg was given.
15055 if test "${enable_wizarddlg+set}" = set; then
15056 enableval
=$enable_wizarddlg;
15057 if test "$enableval" = yes; then
15058 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
15060 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
15066 LINE
=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15067 if test "x$LINE" != x
; then
15068 eval "DEFAULT_$LINE"
15074 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15079 eval "$wx_cv_use_wizarddlg"
15080 if test "x$cache" = xyes; then
15081 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15084 if test x"$enablestring" = xdisable; then
15085 if test $wxUSE_WIZARDDLG = yes; then
15091 result=$wxUSE_WIZARDDLG
15094 { echo "$as_me:$LINENO: result: $result" >&5
15095 echo "${ECHO_T}$result" >&6; }
15101 defaultval=$wxUSE_ALL_FEATURES
15102 if test -z "$defaultval"; then
15103 if test x"$enablestring" = xdisable; then
15110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15111 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15112 # Check whether --enable-menus was given.
15113 if test "${enable_menus+set}" = set; then
15114 enableval=$enable_menus;
15115 if test "$enableval" = yes; then
15116 wx_cv_use_menus='wxUSE_MENUS
=yes'
15118 wx_cv_use_menus='wxUSE_MENUS
=no
'
15124 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15125 if test "x$LINE" != x ; then
15126 eval "DEFAULT_$LINE"
15132 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15137 eval "$wx_cv_use_menus"
15138 if test "x
$cache" = xyes; then
15139 echo "wxUSE_MENUS
=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15142 if test x"$enablestring" = xdisable; then
15143 if test $wxUSE_MENUS = yes; then
15149 result=$wxUSE_MENUS
15152 { echo "$as_me:$LINENO: result
: $result" >&5
15153 echo "${ECHO_T}$result" >&6; }
15157 defaultval=$wxUSE_ALL_FEATURES
15158 if test -z "$defaultval"; then
15159 if test x"$enablestring" = xdisable; then
15166 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
15167 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
15168 # Check whether --enable-miniframe was given.
15169 if test "${enable_miniframe+set}" = set; then
15170 enableval=$enable_miniframe;
15171 if test "$enableval" = yes; then
15172 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15174 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15180 LINE=`grep "^wxUSE_MINIFRAME
=" ${wx_arg_cache_file}`
15181 if test "x
$LINE" != x ; then
15182 eval "DEFAULT_
$LINE"
15188 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15193 eval "$wx_cv_use_miniframe"
15194 if test "x$cache" = xyes
; then
15195 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15198 if test x
"$enablestring" = xdisable
; then
15199 if test $wxUSE_MINIFRAME = yes; then
15205 result
=$wxUSE_MINIFRAME
15208 { echo "$as_me:$LINENO: result: $result" >&5
15209 echo "${ECHO_T}$result" >&6; }
15213 defaultval
=$wxUSE_ALL_FEATURES
15214 if test -z "$defaultval"; then
15215 if test x
"$enablestring" = xdisable
; then
15222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15223 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15224 # Check whether --enable-tooltips was given.
15225 if test "${enable_tooltips+set}" = set; then
15226 enableval
=$enable_tooltips;
15227 if test "$enableval" = yes; then
15228 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
15230 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
15236 LINE
=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15237 if test "x$LINE" != x
; then
15238 eval "DEFAULT_$LINE"
15244 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15249 eval "$wx_cv_use_tooltips"
15250 if test "x$cache" = xyes; then
15251 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15254 if test x"$enablestring" = xdisable; then
15255 if test $wxUSE_TOOLTIPS = yes; then
15261 result=$wxUSE_TOOLTIPS
15264 { echo "$as_me:$LINENO: result: $result" >&5
15265 echo "${ECHO_T}$result" >&6; }
15269 defaultval=$wxUSE_ALL_FEATURES
15270 if test -z "$defaultval"; then
15271 if test x"$enablestring" = xdisable; then
15278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15279 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15280 # Check whether --enable-splines was given.
15281 if test "${enable_splines+set}" = set; then
15282 enableval=$enable_splines;
15283 if test "$enableval" = yes; then
15284 wx_cv_use_splines='wxUSE_SPLINES
=yes'
15286 wx_cv_use_splines='wxUSE_SPLINES
=no
'
15292 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15293 if test "x$LINE" != x ; then
15294 eval "DEFAULT_$LINE"
15300 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15305 eval "$wx_cv_use_splines"
15306 if test "x
$cache" = xyes; then
15307 echo "wxUSE_SPLINES
=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15310 if test x"$enablestring" = xdisable; then
15311 if test $wxUSE_SPLINES = yes; then
15317 result=$wxUSE_SPLINES
15320 { echo "$as_me:$LINENO: result
: $result" >&5
15321 echo "${ECHO_T}$result" >&6; }
15325 defaultval=$wxUSE_ALL_FEATURES
15326 if test -z "$defaultval"; then
15327 if test x"$enablestring" = xdisable; then
15334 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
15335 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
15336 # Check whether --enable-mousewheel was given.
15337 if test "${enable_mousewheel+set}" = set; then
15338 enableval=$enable_mousewheel;
15339 if test "$enableval" = yes; then
15340 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15342 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15348 LINE=`grep "^wxUSE_MOUSEWHEEL
=" ${wx_arg_cache_file}`
15349 if test "x
$LINE" != x ; then
15350 eval "DEFAULT_
$LINE"
15356 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15361 eval "$wx_cv_use_mousewheel"
15362 if test "x$cache" = xyes
; then
15363 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15366 if test x
"$enablestring" = xdisable
; then
15367 if test $wxUSE_MOUSEWHEEL = yes; then
15373 result
=$wxUSE_MOUSEWHEEL
15376 { echo "$as_me:$LINENO: result: $result" >&5
15377 echo "${ECHO_T}$result" >&6; }
15381 defaultval
=$wxUSE_ALL_FEATURES
15382 if test -z "$defaultval"; then
15383 if test x
"$enablestring" = xdisable
; then
15390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15391 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15392 # Check whether --enable-validators was given.
15393 if test "${enable_validators+set}" = set; then
15394 enableval
=$enable_validators;
15395 if test "$enableval" = yes; then
15396 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
15398 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
15404 LINE
=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15405 if test "x$LINE" != x
; then
15406 eval "DEFAULT_$LINE"
15412 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15417 eval "$wx_cv_use_validators"
15418 if test "x$cache" = xyes; then
15419 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15422 if test x"$enablestring" = xdisable; then
15423 if test $wxUSE_VALIDATORS = yes; then
15429 result=$wxUSE_VALIDATORS
15432 { echo "$as_me:$LINENO: result: $result" >&5
15433 echo "${ECHO_T}$result" >&6; }
15437 defaultval=$wxUSE_ALL_FEATURES
15438 if test -z "$defaultval"; then
15439 if test x"$enablestring" = xdisable; then
15446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15447 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15448 # Check whether --enable-busyinfo was given.
15449 if test "${enable_busyinfo+set}" = set; then
15450 enableval=$enable_busyinfo;
15451 if test "$enableval" = yes; then
15452 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
15454 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
15460 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15461 if test "x$LINE" != x ; then
15462 eval "DEFAULT_$LINE"
15468 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15473 eval "$wx_cv_use_busyinfo"
15474 if test "x
$cache" = xyes; then
15475 echo "wxUSE_BUSYINFO
=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15478 if test x"$enablestring" = xdisable; then
15479 if test $wxUSE_BUSYINFO = yes; then
15485 result=$wxUSE_BUSYINFO
15488 { echo "$as_me:$LINENO: result
: $result" >&5
15489 echo "${ECHO_T}$result" >&6; }
15493 defaultval=$wxUSE_ALL_FEATURES
15494 if test -z "$defaultval"; then
15495 if test x"$enablestring" = xdisable; then
15502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
15503 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
15504 # Check whether --enable-joystick was given.
15505 if test "${enable_joystick+set}" = set; then
15506 enableval=$enable_joystick;
15507 if test "$enableval" = yes; then
15508 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15510 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15516 LINE=`grep "^wxUSE_JOYSTICK
=" ${wx_arg_cache_file}`
15517 if test "x
$LINE" != x ; then
15518 eval "DEFAULT_
$LINE"
15524 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15529 eval "$wx_cv_use_joystick"
15530 if test "x$cache" = xyes
; then
15531 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15534 if test x
"$enablestring" = xdisable
; then
15535 if test $wxUSE_JOYSTICK = yes; then
15541 result
=$wxUSE_JOYSTICK
15544 { echo "$as_me:$LINENO: result: $result" >&5
15545 echo "${ECHO_T}$result" >&6; }
15549 defaultval
=$wxUSE_ALL_FEATURES
15550 if test -z "$defaultval"; then
15551 if test x
"$enablestring" = xdisable
; then
15558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15559 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15560 # Check whether --enable-metafile was given.
15561 if test "${enable_metafile+set}" = set; then
15562 enableval
=$enable_metafile;
15563 if test "$enableval" = yes; then
15564 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15566 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15572 LINE
=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15573 if test "x$LINE" != x
; then
15574 eval "DEFAULT_$LINE"
15580 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15585 eval "$wx_cv_use_metafile"
15586 if test "x$cache" = xyes; then
15587 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15590 if test x"$enablestring" = xdisable; then
15591 if test $wxUSE_METAFILE = yes; then
15597 result=$wxUSE_METAFILE
15600 { echo "$as_me:$LINENO: result: $result" >&5
15601 echo "${ECHO_T}$result" >&6; }
15605 defaultval=$wxUSE_ALL_FEATURES
15606 if test -z "$defaultval"; then
15607 if test x"$enablestring" = xdisable; then
15614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15615 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15616 # Check whether --enable-dragimage was given.
15617 if test "${enable_dragimage+set}" = set; then
15618 enableval=$enable_dragimage;
15619 if test "$enableval" = yes; then
15620 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15622 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15628 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15629 if test "x$LINE" != x ; then
15630 eval "DEFAULT_$LINE"
15636 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15641 eval "$wx_cv_use_dragimage"
15642 if test "x
$cache" = xyes; then
15643 echo "wxUSE_DRAGIMAGE
=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15646 if test x"$enablestring" = xdisable; then
15647 if test $wxUSE_DRAGIMAGE = yes; then
15653 result=$wxUSE_DRAGIMAGE
15656 { echo "$as_me:$LINENO: result
: $result" >&5
15657 echo "${ECHO_T}$result" >&6; }
15661 defaultval=$wxUSE_ALL_FEATURES
15662 if test -z "$defaultval"; then
15663 if test x"$enablestring" = xdisable; then
15670 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
15671 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
15672 # Check whether --enable-accessibility was given.
15673 if test "${enable_accessibility+set}" = set; then
15674 enableval=$enable_accessibility;
15675 if test "$enableval" = yes; then
15676 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15678 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15684 LINE=`grep "^wxUSE_ACCESSIBILITY
=" ${wx_arg_cache_file}`
15685 if test "x
$LINE" != x ; then
15686 eval "DEFAULT_
$LINE"
15692 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15697 eval "$wx_cv_use_accessibility"
15698 if test "x$cache" = xyes
; then
15699 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15702 if test x
"$enablestring" = xdisable
; then
15703 if test $wxUSE_ACCESSIBILITY = yes; then
15709 result
=$wxUSE_ACCESSIBILITY
15712 { echo "$as_me:$LINENO: result: $result" >&5
15713 echo "${ECHO_T}$result" >&6; }
15719 defaultval
=$wxUSE_ALL_FEATURES
15720 if test -z "$defaultval"; then
15721 if test x
"$enablestring" = xdisable
; then
15728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15729 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15730 # Check whether --enable-palette was given.
15731 if test "${enable_palette+set}" = set; then
15732 enableval
=$enable_palette;
15733 if test "$enableval" = yes; then
15734 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15736 wx_cv_use_palette
='wxUSE_PALETTE=no'
15742 LINE
=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15743 if test "x$LINE" != x
; then
15744 eval "DEFAULT_$LINE"
15750 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15755 eval "$wx_cv_use_palette"
15756 if test "x$cache" = xyes; then
15757 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15760 if test x"$enablestring" = xdisable; then
15761 if test $wxUSE_PALETTE = yes; then
15767 result=$wxUSE_PALETTE
15770 { echo "$as_me:$LINENO: result: $result" >&5
15771 echo "${ECHO_T}$result" >&6; }
15775 defaultval=$wxUSE_ALL_FEATURES
15776 if test -z "$defaultval"; then
15777 if test x"$enablestring" = xdisable; then
15784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15785 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15786 # Check whether --enable-image was given.
15787 if test "${enable_image+set}" = set; then
15788 enableval=$enable_image;
15789 if test "$enableval" = yes; then
15790 wx_cv_use_image='wxUSE_IMAGE
=yes'
15792 wx_cv_use_image='wxUSE_IMAGE
=no
'
15798 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15799 if test "x$LINE" != x ; then
15800 eval "DEFAULT_$LINE"
15806 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15811 eval "$wx_cv_use_image"
15812 if test "x
$cache" = xyes; then
15813 echo "wxUSE_IMAGE
=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15816 if test x"$enablestring" = xdisable; then
15817 if test $wxUSE_IMAGE = yes; then
15823 result=$wxUSE_IMAGE
15826 { echo "$as_me:$LINENO: result
: $result" >&5
15827 echo "${ECHO_T}$result" >&6; }
15831 defaultval=$wxUSE_ALL_FEATURES
15832 if test -z "$defaultval"; then
15833 if test x"$enablestring" = xdisable; then
15840 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
15841 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
15842 # Check whether --enable-gif was given.
15843 if test "${enable_gif+set}" = set; then
15844 enableval=$enable_gif;
15845 if test "$enableval" = yes; then
15846 wx_cv_use_gif='wxUSE_GIF=yes'
15848 wx_cv_use_gif='wxUSE_GIF=no'
15854 LINE=`grep "^wxUSE_GIF
=" ${wx_arg_cache_file}`
15855 if test "x
$LINE" != x ; then
15856 eval "DEFAULT_
$LINE"
15862 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15867 eval "$wx_cv_use_gif"
15868 if test "x$cache" = xyes
; then
15869 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15872 if test x
"$enablestring" = xdisable
; then
15873 if test $wxUSE_GIF = yes; then
15882 { echo "$as_me:$LINENO: result: $result" >&5
15883 echo "${ECHO_T}$result" >&6; }
15887 defaultval
=$wxUSE_ALL_FEATURES
15888 if test -z "$defaultval"; then
15889 if test x
"$enablestring" = xdisable
; then
15896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15897 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15898 # Check whether --enable-pcx was given.
15899 if test "${enable_pcx+set}" = set; then
15900 enableval
=$enable_pcx;
15901 if test "$enableval" = yes; then
15902 wx_cv_use_pcx
='wxUSE_PCX=yes'
15904 wx_cv_use_pcx
='wxUSE_PCX=no'
15910 LINE
=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15911 if test "x$LINE" != x
; then
15912 eval "DEFAULT_$LINE"
15918 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15923 eval "$wx_cv_use_pcx"
15924 if test "x$cache" = xyes; then
15925 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15928 if test x"$enablestring" = xdisable; then
15929 if test $wxUSE_PCX = yes; then
15938 { echo "$as_me:$LINENO: result: $result" >&5
15939 echo "${ECHO_T}$result" >&6; }
15943 defaultval=$wxUSE_ALL_FEATURES
15944 if test -z "$defaultval"; then
15945 if test x"$enablestring" = xdisable; then
15952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15953 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15954 # Check whether --enable-tga was given.
15955 if test "${enable_tga+set}" = set; then
15956 enableval=$enable_tga;
15957 if test "$enableval" = yes; then
15958 wx_cv_use_tga='wxUSE_TGA
=yes'
15960 wx_cv_use_tga='wxUSE_TGA
=no
'
15966 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15967 if test "x$LINE" != x ; then
15968 eval "DEFAULT_$LINE"
15974 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15979 eval "$wx_cv_use_tga"
15980 if test "x
$cache" = xyes; then
15981 echo "wxUSE_TGA
=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15984 if test x"$enablestring" = xdisable; then
15985 if test $wxUSE_TGA = yes; then
15994 { echo "$as_me:$LINENO: result
: $result" >&5
15995 echo "${ECHO_T}$result" >&6; }
15999 defaultval=$wxUSE_ALL_FEATURES
16000 if test -z "$defaultval"; then
16001 if test x"$enablestring" = xdisable; then
16008 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
16009 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
16010 # Check whether --enable-iff was given.
16011 if test "${enable_iff+set}" = set; then
16012 enableval=$enable_iff;
16013 if test "$enableval" = yes; then
16014 wx_cv_use_iff='wxUSE_IFF=yes'
16016 wx_cv_use_iff='wxUSE_IFF=no'
16022 LINE=`grep "^wxUSE_IFF
=" ${wx_arg_cache_file}`
16023 if test "x
$LINE" != x ; then
16024 eval "DEFAULT_
$LINE"
16030 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
16035 eval "$wx_cv_use_iff"
16036 if test "x$cache" = xyes
; then
16037 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
16040 if test x
"$enablestring" = xdisable
; then
16041 if test $wxUSE_IFF = yes; then
16050 { echo "$as_me:$LINENO: result: $result" >&5
16051 echo "${ECHO_T}$result" >&6; }
16055 defaultval
=$wxUSE_ALL_FEATURES
16056 if test -z "$defaultval"; then
16057 if test x
"$enablestring" = xdisable
; then
16064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16065 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16066 # Check whether --enable-pnm was given.
16067 if test "${enable_pnm+set}" = set; then
16068 enableval
=$enable_pnm;
16069 if test "$enableval" = yes; then
16070 wx_cv_use_pnm
='wxUSE_PNM=yes'
16072 wx_cv_use_pnm
='wxUSE_PNM=no'
16078 LINE
=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16079 if test "x$LINE" != x
; then
16080 eval "DEFAULT_$LINE"
16086 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16091 eval "$wx_cv_use_pnm"
16092 if test "x$cache" = xyes; then
16093 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16096 if test x"$enablestring" = xdisable; then
16097 if test $wxUSE_PNM = yes; then
16106 { echo "$as_me:$LINENO: result: $result" >&5
16107 echo "${ECHO_T}$result" >&6; }
16111 defaultval=$wxUSE_ALL_FEATURES
16112 if test -z "$defaultval"; then
16113 if test x"$enablestring" = xdisable; then
16120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16121 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16122 # Check whether --enable-xpm was given.
16123 if test "${enable_xpm+set}" = set; then
16124 enableval=$enable_xpm;
16125 if test "$enableval" = yes; then
16126 wx_cv_use_xpm='wxUSE_XPM
=yes'
16128 wx_cv_use_xpm='wxUSE_XPM
=no
'
16134 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16135 if test "x$LINE" != x ; then
16136 eval "DEFAULT_$LINE"
16142 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16147 eval "$wx_cv_use_xpm"
16148 if test "x
$cache" = xyes; then
16149 echo "wxUSE_XPM
=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16152 if test x"$enablestring" = xdisable; then
16153 if test $wxUSE_XPM = yes; then
16162 { echo "$as_me:$LINENO: result
: $result" >&5
16163 echo "${ECHO_T}$result" >&6; }
16167 defaultval=$wxUSE_ALL_FEATURES
16168 if test -z "$defaultval"; then
16169 if test x"$enablestring" = xdisable; then
16176 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
16177 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
16178 # Check whether --enable-ico_cur was given.
16179 if test "${enable_ico_cur+set}" = set; then
16180 enableval=$enable_ico_cur;
16181 if test "$enableval" = yes; then
16182 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16184 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16190 LINE=`grep "^wxUSE_ICO_CUR
=" ${wx_arg_cache_file}`
16191 if test "x
$LINE" != x ; then
16192 eval "DEFAULT_
$LINE"
16198 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16203 eval "$wx_cv_use_ico_cur"
16204 if test "x$cache" = xyes
; then
16205 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16208 if test x
"$enablestring" = xdisable
; then
16209 if test $wxUSE_ICO_CUR = yes; then
16215 result
=$wxUSE_ICO_CUR
16218 { echo "$as_me:$LINENO: result: $result" >&5
16219 echo "${ECHO_T}$result" >&6; }
16225 defaultval
=$wxUSE_ALL_FEATURES
16226 if test -z "$defaultval"; then
16227 if test x
"$enablestring" = xdisable
; then
16234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16235 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16236 # Check whether --enable-dccache was given.
16237 if test "${enable_dccache+set}" = set; then
16238 enableval
=$enable_dccache;
16239 if test "$enableval" = yes; then
16240 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
16242 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
16248 LINE
=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16249 if test "x$LINE" != x
; then
16250 eval "DEFAULT_$LINE"
16256 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16261 eval "$wx_cv_use_dccache"
16262 if test "x$cache" = xyes; then
16263 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16266 if test x"$enablestring" = xdisable; then
16267 if test $wxUSE_DC_CACHEING = yes; then
16273 result=$wxUSE_DC_CACHEING
16276 { echo "$as_me:$LINENO: result: $result" >&5
16277 echo "${ECHO_T}$result" >&6; }
16281 defaultval=$wxUSE_ALL_FEATURES
16282 if test -z "$defaultval"; then
16283 if test x"$enablestring" = xdisable; then
16290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16291 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16292 # Check whether --enable-ps-in-msw was given.
16293 if test "${enable_ps_in_msw+set}" = set; then
16294 enableval=$enable_ps_in_msw;
16295 if test "$enableval" = yes; then
16296 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
16298 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
16304 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16305 if test "x$LINE" != x ; then
16306 eval "DEFAULT_$LINE"
16312 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16317 eval "$wx_cv_use_ps_in_msw"
16318 if test "x
$cache" = xyes; then
16319 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16322 if test x"$enablestring" = xdisable; then
16323 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16329 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16332 { echo "$as_me:$LINENO: result
: $result" >&5
16333 echo "${ECHO_T}$result" >&6; }
16337 defaultval=$wxUSE_ALL_FEATURES
16338 if test -z "$defaultval"; then
16339 if test x"$enablestring" = xdisable; then
16346 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
16347 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
16348 # Check whether --enable-ownerdrawn was given.
16349 if test "${enable_ownerdrawn+set}" = set; then
16350 enableval=$enable_ownerdrawn;
16351 if test "$enableval" = yes; then
16352 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16354 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16360 LINE=`grep "^wxUSE_OWNER_DRAWN
=" ${wx_arg_cache_file}`
16361 if test "x
$LINE" != x ; then
16362 eval "DEFAULT_
$LINE"
16368 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16373 eval "$wx_cv_use_ownerdrawn"
16374 if test "x$cache" = xyes
; then
16375 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16378 if test x
"$enablestring" = xdisable
; then
16379 if test $wxUSE_OWNER_DRAWN = yes; then
16385 result
=$wxUSE_OWNER_DRAWN
16388 { echo "$as_me:$LINENO: result: $result" >&5
16389 echo "${ECHO_T}$result" >&6; }
16393 defaultval
=$wxUSE_ALL_FEATURES
16394 if test -z "$defaultval"; then
16395 if test x
"$enablestring" = xdisable
; then
16402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16403 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16404 # Check whether --enable-uxtheme was given.
16405 if test "${enable_uxtheme+set}" = set; then
16406 enableval
=$enable_uxtheme;
16407 if test "$enableval" = yes; then
16408 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16410 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16416 LINE
=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16417 if test "x$LINE" != x
; then
16418 eval "DEFAULT_$LINE"
16424 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16429 eval "$wx_cv_use_uxtheme"
16430 if test "x$cache" = xyes; then
16431 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16434 if test x"$enablestring" = xdisable; then
16435 if test $wxUSE_UXTHEME = yes; then
16441 result=$wxUSE_UXTHEME
16444 { echo "$as_me:$LINENO: result: $result" >&5
16445 echo "${ECHO_T}$result" >&6; }
16449 defaultval=$wxUSE_ALL_FEATURES
16450 if test -z "$defaultval"; then
16451 if test x"$enablestring" = xdisable; then
16458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16459 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16460 # Check whether --enable-wxdib was given.
16461 if test "${enable_wxdib+set}" = set; then
16462 enableval=$enable_wxdib;
16463 if test "$enableval" = yes; then
16464 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16466 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16472 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16473 if test "x$LINE" != x ; then
16474 eval "DEFAULT_$LINE"
16480 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16485 eval "$wx_cv_use_wxdib"
16486 if test "x
$cache" = xyes; then
16487 echo "wxUSE_DIB
=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16490 if test x"$enablestring" = xdisable; then
16491 if test $wxUSE_DIB = yes; then
16500 { echo "$as_me:$LINENO: result
: $result" >&5
16501 echo "${ECHO_T}$result" >&6; }
16507 echo "saving argument cache
$wx_arg_cache_file"
16508 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16512 { echo "$as_me:$LINENO: checking
for toolkit
" >&5
16513 echo $ECHO_N "checking
for toolkit...
$ECHO_C" >&6; }
16515 # In Wine, we need to default to MSW, not GTK or MOTIF
16516 if test "$wxUSE_WINE" = "yes"; then
16517 DEFAULT_DEFAULT_wxUSE_GTK=0
16518 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16519 DEFAULT_DEFAULT_wxUSE_MSW=1
16522 CXX=${CXX:-wineg++}
16526 if test "$wxUSE_GUI" = "yes"; then
16528 if test "$USE_BEOS" = 1; then
16529 { { echo "$as_me:$LINENO: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&5
16530 echo "$as_me: error
: BeOS GUI is not supported yet
, use
--disable-gui" >&2;}
16531 { (exit 1); exit 1; }; }
16534 if test "$TOOLKIT_GIVEN" = 1; then
16535 for toolkit in `echo $ALL_TOOLKITS`; do
16537 eval "value
=\$
${var}"
16538 if test "x
$value" = "xno
"; then
16540 elif test "x
$value" != "x
"; then
16544 if test "x
$value" != "x
" -a "x
$value" != "xyes
" -a "x
$value" != "xno
"; then
16545 eval "wx
${toolkit}_VERSION
=$value"
16549 for toolkit in `echo $ALL_TOOLKITS`; do
16550 if test "$has_toolkit_in_cache" != 1; then
16551 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16553 var=DEFAULT_wxUSE_$toolkit
16555 eval "version
=\
$DEFAULT_wx${toolkit}_VERSION
"
16556 if test "x
$version" != "x
"; then
16557 eval "wx
${toolkit}_VERSION
=$version"
16560 eval "wxUSE_
$toolkit=\$
${var}"
16564 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16565 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16566 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16569 *-pc-os2_emx | *-pc-os2-emx )
16570 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16573 case "$NUM_TOOLKITS" in
16577 { { echo "$as_me:$LINENO: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&5
16578 echo "$as_me: error
: Please specify a toolkit
-- cannot determine the default
for ${host}" >&2;}
16579 { (exit 1); exit 1; }; }
16582 { { echo "$as_me:$LINENO: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&5
16583 echo "$as_me: error
: Please specify
at most one toolkit
(maybe some are cached
in configarg.cache?
)" >&2;}
16584 { (exit 1); exit 1; }; }
16587 # to be removed when --disable-gtk2 isn't needed
16588 if test "x
$wxUSE_GTK2" = "xyes
"; then
16590 elif test "x
$wxUSE_GTK2" = "xno
"; then
16594 for toolkit in `echo $ALL_TOOLKITS`; do
16596 eval "value
=\$
${var}"
16597 if test "x
$value" != x; then
16598 cache_var=CACHE_$toolkit
16599 eval "cache
=\$
${cache_var}"
16600 if test "$cache" = 1; then
16601 echo "$var=$value" >> ${wx_arg_cache_file}
16602 eval "version
=\
$wx${toolkit}_VERSION
"
16603 if test "x
$version" != "x
"; then
16604 echo "wx
${toolkit}_VERSION
=$version" >> ${wx_arg_cache_file}
16607 if test "$value" = 1; then
16608 toolkit_echo=`echo $toolkit | tr "[A
-Z]" "[a
-z]"`
16609 { echo "$as_me:$LINENO: result
: $toolkit_echo" >&5
16610 echo "${ECHO_T}$toolkit_echo" >&6; }
16615 if test "x
$host_alias" != "x
"; then
16616 { echo "$as_me:$LINENO: result
: base
($host_alias hosted
) only
" >&5
16617 echo "${ECHO_T}base
($host_alias hosted
) only
" >&6; }
16619 { echo "$as_me:$LINENO: result
: base only
" >&5
16620 echo "${ECHO_T}base only
" >&6; }
16625 cat >confcache <<\_ACEOF
16626 # This file is a shell script that caches the results of configure
16627 # tests run on this system so they can be shared between configure
16628 # scripts and configure runs, see configure's option --config-cache.
16629 # It is not useful on other systems. If it contains results you don't
16630 # want to keep, you may remove or edit it.
16632 # config.status only pays attention to the cache file if you give it
16633 # the --recheck option to rerun configure.
16635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16637 # following values.
16641 # The following way of writing the cache mishandles newlines in values,
16642 # but we know of no workaround that is simple, portable, and efficient.
16643 # So, we kill variables containing newlines.
16644 # Ultrix sh set writes to stderr and can't be redirected directly,
16645 # and sets the high bit in the cache file unless we assign to the vars.
16647 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16648 eval ac_val=\$$ac_var
16652 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
16653 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
16656 _ | IFS | as_nl) ;; #(
16657 *) $as_unset $ac_var ;;
16663 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16664 *${as_nl}ac_space=\ *)
16665 # `set' does not quote correctly, so add quotes (double-quote
16666 # substitution turns \\\\ into \\, and sed turns \\ into \).
16669 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16672 # `set' quotes correctly as required by POSIX, so do not add quotes.
16673 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16682 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16684 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16686 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16687 if test -w "$cache_file"; then
16688 test "x
$cache_file" != "x
/dev
/null
" &&
16689 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
16690 echo "$as_me: updating cache
$cache_file" >&6;}
16691 cat confcache >$cache_file
16693 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
16694 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16704 ac_cpp='$CPP $CPPFLAGS'
16705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16708 if test -n "$ac_tool_prefix"; then
16709 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
16710 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16711 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16712 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16713 if test "${ac_cv_prog_CC+set}" = set; then
16714 echo $ECHO_N "(cached
) $ECHO_C" >&6
16716 if test -n "$CC"; then
16717 ac_cv_prog_CC="$CC" # Let the user override the test.
16719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16720 for as_dir in $PATH
16723 test -z "$as_dir" && as_dir=.
16724 for ac_exec_ext in '' $ac_executable_extensions; do
16725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16726 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
16727 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16737 if test -n "$CC"; then
16738 { echo "$as_me:$LINENO: result
: $CC" >&5
16739 echo "${ECHO_T}$CC" >&6; }
16741 { echo "$as_me:$LINENO: result
: no
" >&5
16742 echo "${ECHO_T}no
" >&6; }
16747 if test -z "$ac_cv_prog_CC"; then
16749 # Extract the first word of "gcc
", so it can be a program name with args.
16750 set dummy gcc; ac_word=$2
16751 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16752 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16754 echo $ECHO_N "(cached
) $ECHO_C" >&6
16756 if test -n "$ac_ct_CC"; then
16757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16760 for as_dir in $PATH
16763 test -z "$as_dir" && as_dir=.
16764 for ac_exec_ext in '' $ac_executable_extensions; do
16765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16766 ac_cv_prog_ac_ct_CC="gcc
"
16767 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16776 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16777 if test -n "$ac_ct_CC"; then
16778 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16779 echo "${ECHO_T}$ac_ct_CC" >&6; }
16781 { echo "$as_me:$LINENO: result
: no
" >&5
16782 echo "${ECHO_T}no
" >&6; }
16785 if test "x
$ac_ct_CC" = x; then
16788 case $cross_compiling:$ac_tool_warned in
16790 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16791 whose name does not start with the
host triplet. If you think this
16792 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16793 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16794 whose name does not start with the
host triplet. If you think this
16795 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
16796 ac_tool_warned=yes ;;
16801 CC="$ac_cv_prog_CC"
16804 if test -z "$CC"; then
16805 if test -n "$ac_tool_prefix"; then
16806 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
16807 set dummy ${ac_tool_prefix}cc; ac_word=$2
16808 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16809 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16810 if test "${ac_cv_prog_CC+set}" = set; then
16811 echo $ECHO_N "(cached
) $ECHO_C" >&6
16813 if test -n "$CC"; then
16814 ac_cv_prog_CC="$CC" # Let the user override the test.
16816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16817 for as_dir in $PATH
16820 test -z "$as_dir" && as_dir=.
16821 for ac_exec_ext in '' $ac_executable_extensions; do
16822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16823 ac_cv_prog_CC="${ac_tool_prefix}cc
"
16824 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16834 if test -n "$CC"; then
16835 { echo "$as_me:$LINENO: result
: $CC" >&5
16836 echo "${ECHO_T}$CC" >&6; }
16838 { echo "$as_me:$LINENO: result
: no
" >&5
16839 echo "${ECHO_T}no
" >&6; }
16845 if test -z "$CC"; then
16846 # Extract the first word of "cc
", so it can be a program name with args.
16847 set dummy cc; ac_word=$2
16848 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16849 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16850 if test "${ac_cv_prog_CC+set}" = set; then
16851 echo $ECHO_N "(cached
) $ECHO_C" >&6
16853 if test -n "$CC"; then
16854 ac_cv_prog_CC="$CC" # Let the user override the test.
16856 ac_prog_rejected=no
16857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16858 for as_dir in $PATH
16861 test -z "$as_dir" && as_dir=.
16862 for ac_exec_ext in '' $ac_executable_extensions; do
16863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16864 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
16865 ac_prog_rejected=yes
16869 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16876 if test $ac_prog_rejected = yes; then
16877 # We found a bogon in the path, so make sure we never use it.
16878 set dummy $ac_cv_prog_CC
16880 if test $# != 0; then
16881 # We chose a different compiler from the bogus one.
16882 # However, it has the same basename, so the bogon will be chosen
16883 # first if we set CC to just the basename; use the full file name.
16885 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
16891 if test -n "$CC"; then
16892 { echo "$as_me:$LINENO: result
: $CC" >&5
16893 echo "${ECHO_T}$CC" >&6; }
16895 { echo "$as_me:$LINENO: result
: no
" >&5
16896 echo "${ECHO_T}no
" >&6; }
16901 if test -z "$CC"; then
16902 if test -n "$ac_tool_prefix"; then
16903 for ac_prog in cl.exe
16905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16907 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16908 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16909 if test "${ac_cv_prog_CC+set}" = set; then
16910 echo $ECHO_N "(cached
) $ECHO_C" >&6
16912 if test -n "$CC"; then
16913 ac_cv_prog_CC="$CC" # Let the user override the test.
16915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16916 for as_dir in $PATH
16919 test -z "$as_dir" && as_dir=.
16920 for ac_exec_ext in '' $ac_executable_extensions; do
16921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16922 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16923 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16933 if test -n "$CC"; then
16934 { echo "$as_me:$LINENO: result
: $CC" >&5
16935 echo "${ECHO_T}$CC" >&6; }
16937 { echo "$as_me:$LINENO: result
: no
" >&5
16938 echo "${ECHO_T}no
" >&6; }
16942 test -n "$CC" && break
16945 if test -z "$CC"; then
16947 for ac_prog in cl.exe
16949 # Extract the first word of "$ac_prog", so it can be a program name with args.
16950 set dummy $ac_prog; ac_word=$2
16951 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
16952 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
16953 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16954 echo $ECHO_N "(cached
) $ECHO_C" >&6
16956 if test -n "$ac_ct_CC"; then
16957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16960 for as_dir in $PATH
16963 test -z "$as_dir" && as_dir=.
16964 for ac_exec_ext in '' $ac_executable_extensions; do
16965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16966 ac_cv_prog_ac_ct_CC="$ac_prog"
16967 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
16976 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16977 if test -n "$ac_ct_CC"; then
16978 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
16979 echo "${ECHO_T}$ac_ct_CC" >&6; }
16981 { echo "$as_me:$LINENO: result
: no
" >&5
16982 echo "${ECHO_T}no
" >&6; }
16986 test -n "$ac_ct_CC" && break
16989 if test "x
$ac_ct_CC" = x; then
16992 case $cross_compiling:$ac_tool_warned in
16994 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
16995 whose name does not start with the
host triplet. If you think this
16996 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
16997 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
16998 whose name does not start with the
host triplet. If you think this
16999 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
17000 ac_tool_warned=yes ;;
17009 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
17010 See \
`config.log' for more details." >&5
17011 echo "$as_me: error: no acceptable C compiler found in \$PATH
17012 See \`config.log
' for more details." >&2;}
17013 { (exit 1); exit 1; }; }
17015 # Provide some information about the compiler.
17016 echo "$as_me:$LINENO: checking for C compiler version" >&5
17017 ac_compiler=`set X $ac_compile; echo $2`
17018 { (ac_try="$ac_compiler --version >&5"
17019 case "(($ac_try" in
17020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17021 *) ac_try_echo=$ac_try;;
17023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17024 (eval "$ac_compiler --version >&5") 2>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }
17028 { (ac_try="$ac_compiler -v >&5"
17029 case "(($ac_try" in
17030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17031 *) ac_try_echo=$ac_try;;
17033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17034 (eval "$ac_compiler -v >&5") 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }
17038 { (ac_try="$ac_compiler -V >&5"
17039 case "(($ac_try" in
17040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17041 *) ac_try_echo=$ac_try;;
17043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17044 (eval "$ac_compiler -V >&5") 2>&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }
17049 cat >conftest.$ac_ext <<_ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17064 ac_clean_files_save=$ac_clean_files
17065 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17066 # Try to create an executable without -o first, disregard a.out.
17067 # It will help us diagnose broken compilers, and finding out an intuition
17069 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17070 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17071 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
17073 # List of possible output files, starting from the most likely.
17074 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
17075 # only as a last resort. b.out is created by i960 compilers.
17076 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17078 # The IRIX 6 linker writes into existing files which may not be
17079 # executable, retaining their permissions. Remove them first so a
17080 # subsequent execution test works.
17082 for ac_file
in $ac_files
17085 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17086 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
17091 if { (ac_try
="$ac_link_default"
17092 case "(($ac_try" in
17093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17094 *) ac_try_echo=$ac_try;;
17096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17097 (eval "$ac_link_default") 2>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; then
17101 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
17102 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
17103 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17104 # so that the user can short-circuit this test for compilers unknown to
17106 for ac_file in $ac_files ''
17108 test -f "$ac_file" || continue
17110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17113 # We found the default executable, but exeext='' is most
17117 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17119 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17121 # We set ac_cv_exeext here because the later test for it is not
17122 # safe: cross compilers may not add the suffix if given an `-o'
17123 # argument, so we may need to know it at that point already.
17124 # Even if this section looks crufty: it has the advantage of
17125 # actually working.
17131 test "$ac_cv_exeext" = no && ac_cv_exeext=
17137 { echo "$as_me:$LINENO: result: $ac_file" >&5
17138 echo "${ECHO_T}$ac_file" >&6; }
17139 if test -z "$ac_file"; then
17140 echo "$as_me: failed program was:" >&5
17141 sed 's
/^
/| /' conftest.$ac_ext >&5
17143 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17144 See \`config.log' for more details.
" >&5
17145 echo "$as_me: error
: C compiler cannot create executables
17146 See \
`config.log' for more details." >&2;}
17147 { (exit 77); exit 77; }; }
17150 ac_exeext=$ac_cv_exeext
17152 # Check that the compiler produces executables we can run. If not, either
17153 # the compiler is broken, or we cross compile.
17154 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17155 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17156 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17157 # If not cross compiling, check that we can run a simple program.
17158 if test "$cross_compiling" != yes; then
17159 if { ac_try='./$ac_file'
17160 { (case "(($ac_try" in
17161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17162 *) ac_try_echo
=$ac_try;;
17164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17165 (eval "$ac_try") 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; }; then
17171 if test "$cross_compiling" = maybe
; then
17172 cross_compiling
=yes
17174 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17175 If you meant to cross compile, use \`--host'.
17176 See \`config.log' for more details." >&5
17177 echo "$as_me: error: cannot run C compiled programs.
17178 If you meant to cross compile, use \`--host'.
17179 See \`config.log' for more details." >&2;}
17180 { (exit 1); exit 1; }; }
17184 { echo "$as_me:$LINENO: result: yes" >&5
17185 echo "${ECHO_T}yes" >&6; }
17187 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
17188 ac_clean_files
=$ac_clean_files_save
17189 # Check that the compiler produces executables we can run. If not, either
17190 # the compiler is broken, or we cross compile.
17191 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17192 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17193 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17194 echo "${ECHO_T}$cross_compiling" >&6; }
17196 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17197 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17198 if { (ac_try
="$ac_link"
17199 case "(($ac_try" in
17200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17201 *) ac_try_echo=$ac_try;;
17203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17204 (eval "$ac_link") 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; then
17208 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
17209 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
17210 # work properly (i.e., refer to `conftest.exe'), while it won't with
17212 for ac_file
in conftest.exe conftest conftest.
*; do
17213 test -f "$ac_file" || continue
17215 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17216 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17222 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17223 See \`config.log' for more details." >&5
17224 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17225 See \`config.log' for more details." >&2;}
17226 { (exit 1); exit 1; }; }
17229 rm -f conftest
$ac_cv_exeext
17230 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17231 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17233 rm -f conftest.
$ac_ext
17234 EXEEXT
=$ac_cv_exeext
17236 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17237 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17238 if test "${ac_cv_objext+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17241 cat >conftest.
$ac_ext <<_ACEOF
17244 cat confdefs.h
>>conftest.
$ac_ext
17245 cat >>conftest.
$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17256 rm -f conftest.o conftest.obj
17257 if { (ac_try
="$ac_compile"
17258 case "(($ac_try" in
17259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17260 *) ac_try_echo=$ac_try;;
17262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17263 (eval "$ac_compile") 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; then
17267 for ac_file in conftest.o conftest.obj conftest.*; do
17268 test -f "$ac_file" || continue;
17270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17271 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17279 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17280 See \`config.log
' for more details." >&5
17281 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17282 See \`config.log' for more details.
" >&2;}
17283 { (exit 1); exit 1; }; }
17286 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17288 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17289 echo "${ECHO_T}$ac_cv_objext" >&6; }
17290 OBJEXT=$ac_cv_objext
17292 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17293 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17294 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17295 echo $ECHO_N "(cached
) $ECHO_C" >&6
17297 cat >conftest.$ac_ext <<_ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17315 rm -f conftest.$ac_objext
17316 if { (ac_try="$ac_compile"
17317 case "(($ac_try" in
17318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17319 *) ac_try_echo=$ac_try;;
17321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17322 (eval "$ac_compile") 2>conftest.er1
17324 grep -v '^ *+' conftest.er1 >conftest.err
17326 cat conftest.err >&5
17327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17328 (exit $ac_status); } && {
17329 test -z "$ac_c_werror_flag" ||
17330 test ! -s conftest.err
17331 } && test -s conftest.$ac_objext; then
17332 ac_compiler_gnu=yes
17334 echo "$as_me: failed program was
:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17344 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17345 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17346 GCC=`test $ac_compiler_gnu = yes && echo yes`
17347 ac_test_CFLAGS=${CFLAGS+set}
17348 ac_save_CFLAGS=$CFLAGS
17349 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17350 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17351 if test "${ac_cv_prog_cc_g+set}" = set; then
17352 echo $ECHO_N "(cached
) $ECHO_C" >&6
17354 ac_save_c_werror_flag=$ac_c_werror_flag
17355 ac_c_werror_flag=yes
17358 cat >conftest.$ac_ext <<_ACEOF
17361 cat confdefs.h >>conftest.$ac_ext
17362 cat >>conftest.$ac_ext <<_ACEOF
17363 /* end confdefs.h. */
17373 rm -f conftest.$ac_objext
17374 if { (ac_try="$ac_compile"
17375 case "(($ac_try" in
17376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17377 *) ac_try_echo=$ac_try;;
17379 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17380 (eval "$ac_compile") 2>conftest.er1
17382 grep -v '^ *+' conftest.er1 >conftest.err
17384 cat conftest.err >&5
17385 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17386 (exit $ac_status); } && {
17387 test -z "$ac_c_werror_flag" ||
17388 test ! -s conftest.err
17389 } && test -s conftest.$ac_objext; then
17390 ac_cv_prog_cc_g=yes
17392 echo "$as_me: failed program was
:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17396 cat >conftest.$ac_ext <<_ACEOF
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17411 rm -f conftest.$ac_objext
17412 if { (ac_try="$ac_compile"
17413 case "(($ac_try" in
17414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17415 *) ac_try_echo=$ac_try;;
17417 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17418 (eval "$ac_compile") 2>conftest.er1
17420 grep -v '^ *+' conftest.er1 >conftest.err
17422 cat conftest.err >&5
17423 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17424 (exit $ac_status); } && {
17425 test -z "$ac_c_werror_flag" ||
17426 test ! -s conftest.err
17427 } && test -s conftest.$ac_objext; then
17430 echo "$as_me: failed program was
:" >&5
17431 sed 's/^/| /' conftest.$ac_ext >&5
17433 ac_c_werror_flag=$ac_save_c_werror_flag
17435 cat >conftest.$ac_ext <<_ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17450 rm -f conftest.$ac_objext
17451 if { (ac_try="$ac_compile"
17452 case "(($ac_try" in
17453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17454 *) ac_try_echo=$ac_try;;
17456 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17457 (eval "$ac_compile") 2>conftest.er1
17459 grep -v '^ *+' conftest.er1 >conftest.err
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17463 (exit $ac_status); } && {
17464 test -z "$ac_c_werror_flag" ||
17465 test ! -s conftest.err
17466 } && test -s conftest.$ac_objext; then
17467 ac_cv_prog_cc_g=yes
17469 echo "$as_me: failed program was
:" >&5
17470 sed 's/^/| /' conftest.$ac_ext >&5
17475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17482 ac_c_werror_flag=$ac_save_c_werror_flag
17484 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17485 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17486 if test "$ac_test_CFLAGS" = set; then
17487 CFLAGS=$ac_save_CFLAGS
17488 elif test $ac_cv_prog_cc_g = yes; then
17489 if test "$GCC" = yes; then
17495 if test "$GCC" = yes; then
17501 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17502 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17503 if test "${ac_cv_prog_cc_c89+set}" = set; then
17504 echo $ECHO_N "(cached
) $ECHO_C" >&6
17506 ac_cv_prog_cc_c89=no
17508 cat >conftest.$ac_ext <<_ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 #include <stdarg.h>
17516 #include <sys/types.h>
17517 #include <sys/stat.h>
17518 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17519 struct buf { int x; };
17520 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17521 static char *e (p, i)
17527 static char *f (char * (*g) (char **, int), char **p, ...)
17532 s = g (p, va_arg (v,int));
17537 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17538 function prototypes and stuff, but not '\xHH' hex character constants.
17539 These don't provoke an error unfortunately, instead are silently treated
17540 as 'x'. The following induces an error, until -std is added to get
17541 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17542 array size at least. It's necessary to write '\x00'==0 to get something
17543 that's true only with -std. */
17544 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17546 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17547 inside strings and character constants. */
17549 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17551 int test (int i, double x);
17552 struct s1 {int (*f) (int a);};
17553 struct s2 {int (*f) (double a);};
17554 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17560 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17565 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17566 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17568 CC="$ac_save_CC $ac_arg"
17569 rm -f conftest.$ac_objext
17570 if { (ac_try="$ac_compile"
17571 case "(($ac_try" in
17572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17573 *) ac_try_echo=$ac_try;;
17575 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17576 (eval "$ac_compile") 2>conftest.er1
17578 grep -v '^ *+' conftest.er1 >conftest.err
17580 cat conftest.err >&5
17581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17582 (exit $ac_status); } && {
17583 test -z "$ac_c_werror_flag" ||
17584 test ! -s conftest.err
17585 } && test -s conftest.$ac_objext; then
17586 ac_cv_prog_cc_c89=$ac_arg
17588 echo "$as_me: failed program was
:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17594 rm -f core conftest.err conftest.$ac_objext
17595 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17597 rm -f conftest.$ac_ext
17602 case "x
$ac_cv_prog_cc_c89" in
17604 { echo "$as_me:$LINENO: result
: none needed
" >&5
17605 echo "${ECHO_T}none needed
" >&6; } ;;
17607 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17608 echo "${ECHO_T}unsupported
" >&6; } ;;
17610 CC="$CC $ac_cv_prog_cc_c89"
17611 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17612 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17617 ac_cpp='$CPP $CPPFLAGS'
17618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17626 ac_cpp='$CPP $CPPFLAGS'
17627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17631 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17632 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17633 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17634 echo $ECHO_N "(cached
) $ECHO_C" >&6
17636 cat >conftest.$ac_ext <<_ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17647 #ifndef __INTEL_COMPILER
17655 rm -f conftest.$ac_objext
17656 if { (ac_try="$ac_compile"
17657 case "(($ac_try" in
17658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17659 *) ac_try_echo=$ac_try;;
17661 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17662 (eval "$ac_compile") 2>conftest.er1
17664 grep -v '^ *+' conftest.er1 >conftest.err
17666 cat conftest.err >&5
17667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17668 (exit $ac_status); } && {
17669 test -z "$ac_c_werror_flag" ||
17670 test ! -s conftest.err
17671 } && test -s conftest.$ac_objext; then
17672 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17674 echo "$as_me: failed program was
:" >&5
17675 sed 's/^/| /' conftest.$ac_ext >&5
17677 bakefile_cv_c_compiler___INTEL_COMPILER=no
17681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17685 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17686 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17687 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17693 ac_cpp='$CPP $CPPFLAGS'
17694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17701 if test "x
$GCC" != "xyes
"; then
17702 if test "xCC
" = "xC
"; then
17703 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17704 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17705 if test "${bakefile_cv_c_exto+set}" = set; then
17706 echo $ECHO_N "(cached
) $ECHO_C" >&6
17708 cat >conftest.$ac_ext <<_ACEOF
17711 cat confdefs.h >>conftest.$ac_ext
17712 cat >>conftest.$ac_ext <<_ACEOF
17713 /* end confdefs.h. */
17723 rm -f conftest.$ac_objext conftest.$ac_ext.o
17724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17725 (eval $ac_compile) 2>&5
17727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17728 (exit $ac_status); }; then
17729 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17731 conftest.$ac_ext.o)
17732 bakefile_cv_c_exto="-ext o
"
17739 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17740 See \
`config.log' for more details." >&5
17741 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17742 See \`config.log
' for more details." >&2;}
17743 { (exit 1); exit 1; }; }
17747 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17750 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17751 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17752 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17753 if test "c" = "c"; then
17754 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17756 if test "c" = "cxx"; then
17757 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17761 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17762 unset ac_cv_prog_cc_g
17763 ac_test_CFLAGS=${CFLAGS+set}
17764 ac_save_CFLAGS=$CFLAGS
17765 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17766 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17767 if test "${ac_cv_prog_cc_g+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17770 ac_save_c_werror_flag=$ac_c_werror_flag
17771 ac_c_werror_flag=yes
17774 cat >conftest.$ac_ext <<_ACEOF
17777 cat confdefs.h >>conftest.$ac_ext
17778 cat >>conftest.$ac_ext <<_ACEOF
17779 /* end confdefs.h. */
17789 rm -f conftest.$ac_objext
17790 if { (ac_try="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17798 grep -v '^
*+' conftest.er1 >conftest.err
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_c_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 ac_cv_prog_cc_g=yes
17808 echo "$as_me: failed program was:" >&5
17809 sed 's
/^
/| /' conftest.$ac_ext >&5
17812 cat >conftest.$ac_ext <<_ACEOF
17815 cat confdefs.h >>conftest.$ac_ext
17816 cat >>conftest.$ac_ext <<_ACEOF
17817 /* end confdefs.h. */
17827 rm -f conftest.$ac_objext
17828 if { (ac_try="$ac_compile"
17829 case "(($ac_try" in
17830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17831 *) ac_try_echo=$ac_try;;
17833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17834 (eval "$ac_compile") 2>conftest.er1
17836 grep -v '^
*+' conftest.er1 >conftest.err
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } && {
17841 test -z "$ac_c_werror_flag" ||
17842 test ! -s conftest.err
17843 } && test -s conftest.$ac_objext; then
17846 echo "$as_me: failed program was:" >&5
17847 sed 's
/^
/| /' conftest.$ac_ext >&5
17849 ac_c_werror_flag=$ac_save_c_werror_flag
17851 cat >conftest.$ac_ext <<_ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17866 rm -f conftest.$ac_objext
17867 if { (ac_try="$ac_compile"
17868 case "(($ac_try" in
17869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17870 *) ac_try_echo=$ac_try;;
17872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17873 (eval "$ac_compile") 2>conftest.er1
17875 grep -v '^
*+' conftest.er1 >conftest.err
17877 cat conftest.err >&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } && {
17880 test -z "$ac_c_werror_flag" ||
17881 test ! -s conftest.err
17882 } && test -s conftest.$ac_objext; then
17883 ac_cv_prog_cc_g=yes
17885 echo "$as_me: failed program was:" >&5
17886 sed 's
/^
/| /' conftest.$ac_ext >&5
17891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17898 ac_c_werror_flag=$ac_save_c_werror_flag
17900 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17901 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17902 if test "$ac_test_CFLAGS" = set; then
17903 CFLAGS=$ac_save_CFLAGS
17904 elif test $ac_cv_prog_cc_g = yes; then
17905 if test "$GCC" = yes; then
17911 if test "$GCC" = yes; then
17925 ac_cpp='$CPP $CPPFLAGS'
17926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17927 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17930 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17931 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17932 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17933 echo $ECHO_N "(cached) $ECHO_C" >&6
17935 cat >conftest.$ac_ext <<_ACEOF
17938 cat confdefs.h >>conftest.$ac_ext
17939 cat >>conftest.$ac_ext <<_ACEOF
17940 /* end confdefs.h. */
17954 rm -f conftest.$ac_objext
17955 if { (ac_try="$ac_compile"
17956 case "(($ac_try" in
17957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17958 *) ac_try_echo=$ac_try;;
17960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17961 (eval "$ac_compile") 2>conftest.er1
17963 grep -v '^
*+' conftest.er1 >conftest.err
17965 cat conftest.err >&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); } && {
17968 test -z "$ac_c_werror_flag" ||
17969 test ! -s conftest.err
17970 } && test -s conftest.$ac_objext; then
17971 bakefile_cv_c_compiler___xlC__=yes
17973 echo "$as_me: failed program was:" >&5
17974 sed 's
/^
/| /' conftest.$ac_ext >&5
17976 bakefile_cv_c_compiler___xlC__=no
17980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17984 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17985 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17986 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17992 ac_cpp='$CPP $CPPFLAGS'
17993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17994 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18005 ac_cpp='$CPP $CPPFLAGS'
18006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18007 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18010 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
18011 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
18012 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 cat >conftest.$ac_ext <<_ACEOF
18018 cat confdefs.h >>conftest.$ac_ext
18019 cat >>conftest.$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18034 rm -f conftest.$ac_objext
18035 if { (ac_try="$ac_compile"
18036 case "(($ac_try" in
18037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18038 *) ac_try_echo=$ac_try;;
18040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18041 (eval "$ac_compile") 2>conftest.er1
18043 grep -v '^
*+' conftest.er1 >conftest.err
18045 cat conftest.err >&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); } && {
18048 test -z "$ac_c_werror_flag" ||
18049 test ! -s conftest.err
18050 } && test -s conftest.$ac_objext; then
18051 bakefile_cv_c_compiler___MWERKS__=yes
18053 echo "$as_me: failed program was:" >&5
18054 sed 's
/^
/| /' conftest.$ac_ext >&5
18056 bakefile_cv_c_compiler___MWERKS__=no
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18064 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18065 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18066 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18072 ac_cpp='$CPP $CPPFLAGS'
18073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18074 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18082 ac_cpp='$CPP $CPPFLAGS'
18083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18084 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18087 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18088 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18089 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 cat >conftest.$ac_ext <<_ACEOF
18095 cat confdefs.h >>conftest.$ac_ext
18096 cat >>conftest.$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18111 rm -f conftest.$ac_objext
18112 if { (ac_try="$ac_compile"
18113 case "(($ac_try" in
18114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18115 *) ac_try_echo=$ac_try;;
18117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18118 (eval "$ac_compile") 2>conftest.er1
18120 grep -v '^
*+' conftest.er1 >conftest.err
18122 cat conftest.err >&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); } && {
18125 test -z "$ac_c_werror_flag" ||
18126 test ! -s conftest.err
18127 } && test -s conftest.$ac_objext; then
18128 bakefile_cv_c_compiler___xlC__=yes
18130 echo "$as_me: failed program was:" >&5
18131 sed 's
/^
/| /' conftest.$ac_ext >&5
18133 bakefile_cv_c_compiler___xlC__=no
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18142 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18143 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18149 ac_cpp='$CPP $CPPFLAGS'
18150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18151 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18162 ac_cpp='$CPP $CPPFLAGS'
18163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18164 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18167 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18168 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18169 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 cat >conftest.$ac_ext <<_ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18183 #ifndef _SGI_COMPILER_VERSION
18191 rm -f conftest.$ac_objext
18192 if { (ac_try="$ac_compile"
18193 case "(($ac_try" in
18194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18195 *) ac_try_echo=$ac_try;;
18197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18198 (eval "$ac_compile") 2>conftest.er1
18200 grep -v '^
*+' conftest.er1 >conftest.err
18202 cat conftest.err >&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); } && {
18205 test -z "$ac_c_werror_flag" ||
18206 test ! -s conftest.err
18207 } && test -s conftest.$ac_objext; then
18208 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18210 echo "$as_me: failed program was:" >&5
18211 sed 's
/^
/| /' conftest.$ac_ext >&5
18213 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18221 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18222 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18223 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18229 ac_cpp='$CPP $CPPFLAGS'
18230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18231 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18242 ac_cpp='$CPP $CPPFLAGS'
18243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18244 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18247 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18248 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18249 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18250 echo $ECHO_N "(cached) $ECHO_C" >&6
18252 cat >conftest.$ac_ext <<_ACEOF
18255 cat confdefs.h >>conftest.$ac_ext
18256 cat >>conftest.$ac_ext <<_ACEOF
18257 /* end confdefs.h. */
18271 rm -f conftest.$ac_objext
18272 if { (ac_try="$ac_compile"
18273 case "(($ac_try" in
18274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18275 *) ac_try_echo=$ac_try;;
18277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18278 (eval "$ac_compile") 2>conftest.er1
18280 grep -v '^
*+' conftest.er1 >conftest.err
18282 cat conftest.err >&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); } && {
18285 test -z "$ac_c_werror_flag" ||
18286 test ! -s conftest.err
18287 } && test -s conftest.$ac_objext; then
18288 bakefile_cv_c_compiler___SUNPRO_C=yes
18290 echo "$as_me: failed program was:" >&5
18291 sed 's
/^
/| /' conftest.$ac_ext >&5
18293 bakefile_cv_c_compiler___SUNPRO_C=no
18297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18302 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18303 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18309 ac_cpp='$CPP $CPPFLAGS'
18310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18311 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18322 ac_cpp='$CPP $CPPFLAGS'
18323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18324 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18327 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18328 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18329 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18330 echo $ECHO_N "(cached) $ECHO_C" >&6
18332 cat >conftest.$ac_ext <<_ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18351 rm -f conftest.$ac_objext
18352 if { (ac_try="$ac_compile"
18353 case "(($ac_try" in
18354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18355 *) ac_try_echo=$ac_try;;
18357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18358 (eval "$ac_compile") 2>conftest.er1
18360 grep -v '^
*+' conftest.er1 >conftest.err
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } && {
18365 test -z "$ac_c_werror_flag" ||
18366 test ! -s conftest.err
18367 } && test -s conftest.$ac_objext; then
18368 bakefile_cv_c_compiler___HP_cc=yes
18370 echo "$as_me: failed program was:" >&5
18371 sed 's
/^
/| /' conftest.$ac_ext >&5
18373 bakefile_cv_c_compiler___HP_cc=no
18377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18381 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18382 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18383 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18389 ac_cpp='$CPP $CPPFLAGS'
18390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18391 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18402 ac_cpp='$CPP $CPPFLAGS'
18403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18404 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18407 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18408 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18409 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18412 cat >conftest.$ac_ext <<_ACEOF
18415 cat confdefs.h >>conftest.$ac_ext
18416 cat >>conftest.$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18431 rm -f conftest.$ac_objext
18432 if { (ac_try="$ac_compile"
18433 case "(($ac_try" in
18434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18435 *) ac_try_echo=$ac_try;;
18437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18438 (eval "$ac_compile") 2>conftest.er1
18440 grep -v '^
*+' conftest.er1 >conftest.err
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } && {
18445 test -z "$ac_c_werror_flag" ||
18446 test ! -s conftest.err
18447 } && test -s conftest.$ac_objext; then
18448 bakefile_cv_c_compiler___DECC=yes
18450 echo "$as_me: failed program was:" >&5
18451 sed 's
/^
/| /' conftest.$ac_ext >&5
18453 bakefile_cv_c_compiler___DECC=no
18457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18461 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18462 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18463 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18469 ac_cpp='$CPP $CPPFLAGS'
18470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18471 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18482 ac_cpp='$CPP $CPPFLAGS'
18483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18484 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18487 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18488 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18489 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18490 echo $ECHO_N "(cached) $ECHO_C" >&6
18492 cat >conftest.$ac_ext <<_ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18511 rm -f conftest.$ac_objext
18512 if { (ac_try="$ac_compile"
18513 case "(($ac_try" in
18514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18515 *) ac_try_echo=$ac_try;;
18517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18518 (eval "$ac_compile") 2>conftest.er1
18520 grep -v '^
*+' conftest.er1 >conftest.err
18522 cat conftest.err >&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } && {
18525 test -z "$ac_c_werror_flag" ||
18526 test ! -s conftest.err
18527 } && test -s conftest.$ac_objext; then
18528 bakefile_cv_c_compiler___SUNPRO_C=yes
18530 echo "$as_me: failed program was:" >&5
18531 sed 's
/^
/| /' conftest.$ac_ext >&5
18533 bakefile_cv_c_compiler___SUNPRO_C=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18541 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18542 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18543 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18549 ac_cpp='$CPP $CPPFLAGS'
18550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18551 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18563 ac_cpp='$CPP $CPPFLAGS'
18564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18565 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18567 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18568 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18569 # On Suns, sometimes $CPP names a directory.
18570 if test -n "$CPP" && test -d "$CPP"; then
18573 if test -z "$CPP"; then
18574 if test "${ac_cv_prog_CPP+set}" = set; then
18575 echo $ECHO_N "(cached) $ECHO_C" >&6
18577 # Double quotes because CPP needs to be expanded
18578 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18580 ac_preproc_ok=false
18581 for ac_c_preproc_warn_flag in '' yes
18583 # Use a header file that comes with gcc, so configuring glibc
18584 # with a fresh cross-compiler works.
18585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18586 # <limits.h> exists even on freestanding compilers.
18587 # On the NeXT, cc -E runs the code through the compiler's parser
,
18588 # not just through cpp. "Syntax error" is here to catch this case.
18589 cat >conftest.
$ac_ext <<_ACEOF
18592 cat confdefs.h
>>conftest.
$ac_ext
18593 cat >>conftest.
$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18596 # include <limits.h>
18598 # include <assert.h>
18602 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18603 case "(($ac_try" in
18604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18605 *) ac_try_echo=$ac_try;;
18607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18610 grep -v '^ *+' conftest.er1 >conftest.err
18612 cat conftest.err >&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } >/dev/null && {
18615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18616 test ! -s conftest.err
18620 echo "$as_me: failed program was:" >&5
18621 sed 's/^/| /' conftest.$ac_ext >&5
18623 # Broken: fails on valid input.
18627 rm -f conftest.err conftest.$ac_ext
18629 # OK, works on sane cases. Now check whether nonexistent headers
18630 # can be detected and how.
18631 cat >conftest.$ac_ext <<_ACEOF
18634 cat confdefs.h >>conftest.$ac_ext
18635 cat >>conftest.$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 #include <ac_nonexistent.h>
18639 if { (ac_try="$ac_cpp conftest.$ac_ext"
18640 case "(($ac_try" in
18641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18642 *) ac_try_echo
=$ac_try;;
18644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18647 grep -v '^ *+' conftest.er1
>conftest.err
18649 cat conftest.err
>&5
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); } >/dev
/null
&& {
18652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18653 test ! -s conftest.err
18655 # Broken: success on invalid input.
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.
$ac_ext >&5
18661 # Passes both tests.
18666 rm -f conftest.err conftest.
$ac_ext
18669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18670 rm -f conftest.err conftest.
$ac_ext
18671 if $ac_preproc_ok; then
18676 ac_cv_prog_CPP
=$CPP
18679 CPP
=$ac_cv_prog_CPP
18681 ac_cv_prog_CPP
=$CPP
18683 { echo "$as_me:$LINENO: result: $CPP" >&5
18684 echo "${ECHO_T}$CPP" >&6; }
18685 ac_preproc_ok
=false
18686 for ac_c_preproc_warn_flag
in '' yes
18688 # Use a header file that comes with gcc, so configuring glibc
18689 # with a fresh cross-compiler works.
18690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18691 # <limits.h> exists even on freestanding compilers.
18692 # On the NeXT, cc -E runs the code through the compiler's parser,
18693 # not just through cpp. "Syntax error" is here to catch this case.
18694 cat >conftest.
$ac_ext <<_ACEOF
18697 cat confdefs.h
>>conftest.
$ac_ext
18698 cat >>conftest.
$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18701 # include <limits.h>
18703 # include <assert.h>
18707 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18708 case "(($ac_try" in
18709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18710 *) ac_try_echo=$ac_try;;
18712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18715 grep -v '^ *+' conftest.er1 >conftest.err
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } >/dev/null && {
18720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18721 test ! -s conftest.err
18725 echo "$as_me: failed program was:" >&5
18726 sed 's/^/| /' conftest.$ac_ext >&5
18728 # Broken: fails on valid input.
18732 rm -f conftest.err conftest.$ac_ext
18734 # OK, works on sane cases. Now check whether nonexistent headers
18735 # can be detected and how.
18736 cat >conftest.$ac_ext <<_ACEOF
18739 cat confdefs.h >>conftest.$ac_ext
18740 cat >>conftest.$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 #include <ac_nonexistent.h>
18744 if { (ac_try="$ac_cpp conftest.$ac_ext"
18745 case "(($ac_try" in
18746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18747 *) ac_try_echo
=$ac_try;;
18749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18752 grep -v '^ *+' conftest.er1
>conftest.err
18754 cat conftest.err
>&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } >/dev
/null
&& {
18757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18758 test ! -s conftest.err
18760 # Broken: success on invalid input.
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.
$ac_ext >&5
18766 # Passes both tests.
18771 rm -f conftest.err conftest.
$ac_ext
18774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18775 rm -f conftest.err conftest.
$ac_ext
18776 if $ac_preproc_ok; then
18779 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18780 See \`config.log' for more details." >&5
18781 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18782 See \`config.log' for more details." >&2;}
18783 { (exit 1); exit 1; }; }
18787 ac_cpp
='$CPP $CPPFLAGS'
18788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18793 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18794 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18795 if test "${ac_cv_path_GREP+set}" = set; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18798 # Extract the first word of "grep ggrep" to use in msg output
18799 if test -z "$GREP"; then
18800 set dummy
grep ggrep
; ac_prog_name
=$2
18801 if test "${ac_cv_path_GREP+set}" = set; then
18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 ac_path_GREP_found
=false
18805 # Loop through the user's path and test for each of PROGNAME-LIST
18806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18807 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18810 test -z "$as_dir" && as_dir
=.
18811 for ac_prog
in grep ggrep
; do
18812 for ac_exec_ext
in '' $ac_executable_extensions; do
18813 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18814 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18815 # Check for GNU ac_path_GREP and select it if it is found.
18816 # Check for GNU $ac_path_GREP
18817 case `"$ac_path_GREP" --version 2>&1` in
18819 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18822 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18825 cat "conftest.in" "conftest.in" >"conftest.tmp"
18826 mv "conftest.tmp" "conftest.in"
18827 cp "conftest.in" "conftest.nl"
18828 echo 'GREP' >> "conftest.nl"
18829 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18830 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18831 ac_count
=`expr $ac_count + 1`
18832 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18833 # Best one so far, save it but keep looking for a better one
18834 ac_cv_path_GREP
="$ac_path_GREP"
18835 ac_path_GREP_max
=$ac_count
18837 # 10*(2^10) chars as input seems more than enough
18838 test $ac_count -gt 10 && break
18840 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18844 $ac_path_GREP_found && break 3
18854 GREP
="$ac_cv_path_GREP"
18855 if test -z "$GREP"; then
18856 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18857 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18858 { (exit 1); exit 1; }; }
18862 ac_cv_path_GREP
=$GREP
18867 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18868 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18869 GREP
="$ac_cv_path_GREP"
18872 { echo "$as_me:$LINENO: checking for egrep" >&5
18873 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18874 if test "${ac_cv_path_EGREP+set}" = set; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18877 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18878 then ac_cv_path_EGREP
="$GREP -E"
18880 # Extract the first word of "egrep" to use in msg output
18881 if test -z "$EGREP"; then
18882 set dummy
egrep; ac_prog_name
=$2
18883 if test "${ac_cv_path_EGREP+set}" = set; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18886 ac_path_EGREP_found
=false
18887 # Loop through the user's path and test for each of PROGNAME-LIST
18888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18889 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18892 test -z "$as_dir" && as_dir
=.
18893 for ac_prog
in egrep; do
18894 for ac_exec_ext
in '' $ac_executable_extensions; do
18895 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18896 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18897 # Check for GNU ac_path_EGREP and select it if it is found.
18898 # Check for GNU $ac_path_EGREP
18899 case `"$ac_path_EGREP" --version 2>&1` in
18901 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18904 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18907 cat "conftest.in" "conftest.in" >"conftest.tmp"
18908 mv "conftest.tmp" "conftest.in"
18909 cp "conftest.in" "conftest.nl"
18910 echo 'EGREP' >> "conftest.nl"
18911 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18912 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18913 ac_count
=`expr $ac_count + 1`
18914 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18915 # Best one so far, save it but keep looking for a better one
18916 ac_cv_path_EGREP
="$ac_path_EGREP"
18917 ac_path_EGREP_max
=$ac_count
18919 # 10*(2^10) chars as input seems more than enough
18920 test $ac_count -gt 10 && break
18922 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18926 $ac_path_EGREP_found && break 3
18936 EGREP
="$ac_cv_path_EGREP"
18937 if test -z "$EGREP"; then
18938 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18939 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18940 { (exit 1); exit 1; }; }
18944 ac_cv_path_EGREP
=$EGREP
18950 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18951 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18952 EGREP
="$ac_cv_path_EGREP"
18955 if test $ac_cv_c_compiler_gnu = yes; then
18956 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18957 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18958 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18959 echo $ECHO_N "(cached) $ECHO_C" >&6
18961 ac_pattern
="Autoconf.*'x'"
18962 cat >conftest.
$ac_ext <<_ACEOF
18965 cat confdefs.h
>>conftest.
$ac_ext
18966 cat >>conftest.
$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18972 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18973 ac_cv_prog_gcc_traditional
=yes
18975 ac_cv_prog_gcc_traditional
=no
18980 if test $ac_cv_prog_gcc_traditional = no
; then
18981 cat >conftest.
$ac_ext <<_ACEOF
18984 cat confdefs.h
>>conftest.
$ac_ext
18985 cat >>conftest.
$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 #include <termio.h>
18990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18991 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18992 ac_cv_prog_gcc_traditional
=yes
18998 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18999 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
19000 if test $ac_cv_prog_gcc_traditional = yes; then
19001 CC
="$CC -traditional"
19006 CXXFLAGS
=${CXXFLAGS:=}
19011 ac_cpp
='$CXXCPP $CPPFLAGS'
19012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19015 if test -z "$CXX"; then
19016 if test -n "$CCC"; then
19019 if test -n "$ac_tool_prefix"; then
19020 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
19022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19023 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
19024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19026 if test "${ac_cv_prog_CXX+set}" = set; then
19027 echo $ECHO_N "(cached) $ECHO_C" >&6
19029 if test -n "$CXX"; then
19030 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
19032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19033 for as_dir
in $PATH
19036 test -z "$as_dir" && as_dir
=.
19037 for ac_exec_ext
in '' $ac_executable_extensions; do
19038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19039 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
19040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19049 CXX
=$ac_cv_prog_CXX
19050 if test -n "$CXX"; then
19051 { echo "$as_me:$LINENO: result: $CXX" >&5
19052 echo "${ECHO_T}$CXX" >&6; }
19054 { echo "$as_me:$LINENO: result: no" >&5
19055 echo "${ECHO_T}no" >&6; }
19059 test -n "$CXX" && break
19062 if test -z "$CXX"; then
19064 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
19066 # Extract the first word of "$ac_prog", so it can be a program name with args.
19067 set dummy
$ac_prog; ac_word
=$2
19068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19070 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19073 if test -n "$ac_ct_CXX"; then
19074 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
19076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19077 for as_dir
in $PATH
19080 test -z "$as_dir" && as_dir
=.
19081 for ac_exec_ext
in '' $ac_executable_extensions; do
19082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19083 ac_cv_prog_ac_ct_CXX
="$ac_prog"
19084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19093 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
19094 if test -n "$ac_ct_CXX"; then
19095 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19096 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19098 { echo "$as_me:$LINENO: result: no" >&5
19099 echo "${ECHO_T}no" >&6; }
19103 test -n "$ac_ct_CXX" && break
19106 if test "x$ac_ct_CXX" = x
; then
19109 case $cross_compiling:$ac_tool_warned in
19111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19112 whose name does not start with the host triplet. If you think this
19113 configuration is useful to you, please write to autoconf@gnu.org." >&5
19114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19115 whose name does not start with the host triplet. If you think this
19116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19117 ac_tool_warned
=yes ;;
19125 # Provide some information about the compiler.
19126 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19127 ac_compiler
=`set X $ac_compile; echo $2`
19128 { (ac_try
="$ac_compiler --version >&5"
19129 case "(($ac_try" in
19130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_compiler --version >&5") 2>&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }
19138 { (ac_try="$ac_compiler -v >&5"
19139 case "(($ac_try" in
19140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19141 *) ac_try_echo
=$ac_try;;
19143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19144 (eval "$ac_compiler -v >&5") 2>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }
19148 { (ac_try
="$ac_compiler -V >&5"
19149 case "(($ac_try" in
19150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19151 *) ac_try_echo=$ac_try;;
19153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19154 (eval "$ac_compiler -V >&5") 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }
19159 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19160 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19161 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19164 cat >conftest.$ac_ext <<_ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19182 rm -f conftest.$ac_objext
19183 if { (ac_try="$ac_compile"
19184 case "(($ac_try" in
19185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19186 *) ac_try_echo
=$ac_try;;
19188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19189 (eval "$ac_compile") 2>conftest.er1
19191 grep -v '^ *+' conftest.er1
>conftest.err
19193 cat conftest.err
>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } && {
19196 test -z "$ac_cxx_werror_flag" ||
19197 test ! -s conftest.err
19198 } && test -s conftest.
$ac_objext; then
19199 ac_compiler_gnu
=yes
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.
$ac_ext >&5
19207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19208 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19211 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19212 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19213 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19214 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19215 ac_save_CXXFLAGS
=$CXXFLAGS
19216 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19217 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19218 if test "${ac_cv_prog_cxx_g+set}" = set; then
19219 echo $ECHO_N "(cached) $ECHO_C" >&6
19221 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19222 ac_cxx_werror_flag
=yes
19223 ac_cv_prog_cxx_g
=no
19225 cat >conftest.
$ac_ext <<_ACEOF
19228 cat confdefs.h
>>conftest.
$ac_ext
19229 cat >>conftest.
$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19240 rm -f conftest.
$ac_objext
19241 if { (ac_try
="$ac_compile"
19242 case "(($ac_try" in
19243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_compile") 2>conftest.er1
19249 grep -v '^ *+' conftest.er1 >conftest.err
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_cxx_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest.$ac_objext; then
19257 ac_cv_prog_cxx_g=yes
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19263 cat >conftest.$ac_ext <<_ACEOF
19266 cat confdefs.h >>conftest.$ac_ext
19267 cat >>conftest.$ac_ext <<_ACEOF
19268 /* end confdefs.h. */
19278 rm -f conftest.$ac_objext
19279 if { (ac_try="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19282 *) ac_try_echo
=$ac_try;;
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19287 grep -v '^ *+' conftest.er1
>conftest.err
19289 cat conftest.err
>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } && {
19292 test -z "$ac_cxx_werror_flag" ||
19293 test ! -s conftest.err
19294 } && test -s conftest.
$ac_objext; then
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.
$ac_ext >&5
19300 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19302 cat >conftest.
$ac_ext <<_ACEOF
19305 cat confdefs.h
>>conftest.
$ac_ext
19306 cat >>conftest.
$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19317 rm -f conftest.
$ac_objext
19318 if { (ac_try
="$ac_compile"
19319 case "(($ac_try" in
19320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_compile") 2>conftest.er1
19326 grep -v '^ *+' conftest.er1 >conftest.err
19328 cat conftest.err >&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } && {
19331 test -z "$ac_cxx_werror_flag" ||
19332 test ! -s conftest.err
19333 } && test -s conftest.$ac_objext; then
19334 ac_cv_prog_cxx_g=yes
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19349 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19351 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19352 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19353 if test "$ac_test_CXXFLAGS" = set; then
19354 CXXFLAGS=$ac_save_CXXFLAGS
19355 elif test $ac_cv_prog_cxx_g = yes; then
19356 if test "$GXX" = yes; then
19362 if test "$GXX" = yes; then
19369 ac_cpp='$CPP $CPPFLAGS'
19370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19378 ac_cpp='$CXXCPP $CPPFLAGS'
19379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19383 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19384 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19385 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19386 echo $ECHO_N "(cached) $ECHO_C" >&6
19388 cat >conftest.$ac_ext <<_ACEOF
19391 cat confdefs.h >>conftest.$ac_ext
19392 cat >>conftest.$ac_ext <<_ACEOF
19393 /* end confdefs.h. */
19399 #ifndef __INTEL_COMPILER
19407 rm -f conftest.$ac_objext
19408 if { (ac_try="$ac_compile"
19409 case "(($ac_try" in
19410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19411 *) ac_try_echo
=$ac_try;;
19413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19414 (eval "$ac_compile") 2>conftest.er1
19416 grep -v '^ *+' conftest.er1
>conftest.err
19418 cat conftest.err
>&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); } && {
19421 test -z "$ac_cxx_werror_flag" ||
19422 test ! -s conftest.err
19423 } && test -s conftest.
$ac_objext; then
19424 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19426 echo "$as_me: failed program was:" >&5
19427 sed 's/^/| /' conftest.
$ac_ext >&5
19429 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19437 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19438 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19439 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19445 ac_cpp
='$CPP $CPPFLAGS'
19446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19453 if test "x$GCXX" != "xyes"; then
19454 if test "xCXX" = "xC"; then
19455 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19456 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19457 if test "${bakefile_cv_c_exto+set}" = set; then
19458 echo $ECHO_N "(cached) $ECHO_C" >&6
19460 cat >conftest.
$ac_ext <<_ACEOF
19463 cat confdefs.h
>>conftest.
$ac_ext
19464 cat >>conftest.
$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19475 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19477 (eval $ac_compile) 2>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); }; then
19481 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19483 conftest.
$ac_ext.o
)
19484 bakefile_cv_c_exto
="-ext o"
19491 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19492 See \`config.log' for more details." >&5
19493 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19494 See \`config.log' for more details." >&2;}
19495 { (exit 1); exit 1; }; }
19499 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19502 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19503 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19504 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19505 if test "c" = "c"; then
19506 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19508 if test "c" = "cxx"; then
19509 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19513 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19514 unset ac_cv_prog_cc_g
19515 ac_test_CFLAGS
=${CFLAGS+set}
19516 ac_save_CFLAGS
=$CFLAGS
19517 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19518 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19519 if test "${ac_cv_prog_cc_g+set}" = set; then
19520 echo $ECHO_N "(cached) $ECHO_C" >&6
19522 ac_save_c_werror_flag
=$ac_c_werror_flag
19523 ac_c_werror_flag
=yes
19526 cat >conftest.
$ac_ext <<_ACEOF
19529 cat confdefs.h
>>conftest.
$ac_ext
19530 cat >>conftest.
$ac_ext <<_ACEOF
19531 /* end confdefs.h. */
19541 rm -f conftest.
$ac_objext
19542 if { (ac_try
="$ac_compile"
19543 case "(($ac_try" in
19544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19545 *) ac_try_echo=$ac_try;;
19547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19548 (eval "$ac_compile") 2>conftest.er1
19550 grep -v '^ *+' conftest.er1 >conftest.err
19552 cat conftest.err >&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } && {
19555 test -z "$ac_c_werror_flag" ||
19556 test ! -s conftest.err
19557 } && test -s conftest.$ac_objext; then
19558 ac_cv_prog_cc_g=yes
19560 echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19564 cat >conftest.$ac_ext <<_ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19579 rm -f conftest.$ac_objext
19580 if { (ac_try="$ac_compile"
19581 case "(($ac_try" in
19582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19583 *) ac_try_echo
=$ac_try;;
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_compile") 2>conftest.er1
19588 grep -v '^ *+' conftest.er1
>conftest.err
19590 cat conftest.err
>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } && {
19593 test -z "$ac_c_werror_flag" ||
19594 test ! -s conftest.err
19595 } && test -s conftest.
$ac_objext; then
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.
$ac_ext >&5
19601 ac_c_werror_flag
=$ac_save_c_werror_flag
19603 cat >conftest.
$ac_ext <<_ACEOF
19606 cat confdefs.h
>>conftest.
$ac_ext
19607 cat >>conftest.
$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19618 rm -f conftest.
$ac_objext
19619 if { (ac_try
="$ac_compile"
19620 case "(($ac_try" in
19621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19622 *) ac_try_echo=$ac_try;;
19624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19625 (eval "$ac_compile") 2>conftest.er1
19627 grep -v '^ *+' conftest.er1 >conftest.err
19629 cat conftest.err >&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } && {
19632 test -z "$ac_c_werror_flag" ||
19633 test ! -s conftest.err
19634 } && test -s conftest.$ac_objext; then
19635 ac_cv_prog_cc_g=yes
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19650 ac_c_werror_flag=$ac_save_c_werror_flag
19652 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19653 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19654 if test "$ac_test_CFLAGS" = set; then
19655 CFLAGS=$ac_save_CFLAGS
19656 elif test $ac_cv_prog_cc_g = yes; then
19657 if test "$GCC" = yes; then
19663 if test "$GCC" = yes; then
19677 ac_cpp='$CXXCPP $CPPFLAGS'
19678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19682 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19683 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19684 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 cat >conftest.$ac_ext <<_ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19706 rm -f conftest.$ac_objext
19707 if { (ac_try="$ac_compile"
19708 case "(($ac_try" in
19709 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19710 *) ac_try_echo
=$ac_try;;
19712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19713 (eval "$ac_compile") 2>conftest.er1
19715 grep -v '^ *+' conftest.er1
>conftest.err
19717 cat conftest.err
>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } && {
19720 test -z "$ac_cxx_werror_flag" ||
19721 test ! -s conftest.err
19722 } && test -s conftest.
$ac_objext; then
19723 bakefile_cv_cxx_compiler___xlC__
=yes
19725 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.
$ac_ext >&5
19728 bakefile_cv_cxx_compiler___xlC__
=no
19732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19736 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19737 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19738 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19744 ac_cpp
='$CPP $CPPFLAGS'
19745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19757 ac_cpp
='$CXXCPP $CPPFLAGS'
19758 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19759 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19760 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19762 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19763 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19764 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 cat >conftest.
$ac_ext <<_ACEOF
19770 cat confdefs.h
>>conftest.
$ac_ext
19771 cat >>conftest.
$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19786 rm -f conftest.
$ac_objext
19787 if { (ac_try
="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19790 *) ac_try_echo=$ac_try;;
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19795 grep -v '^ *+' conftest.er1 >conftest.err
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_cxx_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.$ac_objext; then
19803 bakefile_cv_cxx_compiler___MWERKS__=yes
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.$ac_ext >&5
19808 bakefile_cv_cxx_compiler___MWERKS__=no
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19816 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19817 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19818 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19824 ac_cpp='$CPP $CPPFLAGS'
19825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19834 ac_cpp='$CXXCPP $CPPFLAGS'
19835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19839 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19840 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19841 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 cat >conftest.$ac_ext <<_ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19863 rm -f conftest.$ac_objext
19864 if { (ac_try="$ac_compile"
19865 case "(($ac_try" in
19866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19867 *) ac_try_echo
=$ac_try;;
19869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_compile") 2>conftest.er1
19872 grep -v '^ *+' conftest.er1
>conftest.err
19874 cat conftest.err
>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } && {
19877 test -z "$ac_cxx_werror_flag" ||
19878 test ! -s conftest.err
19879 } && test -s conftest.
$ac_objext; then
19880 bakefile_cv_cxx_compiler___xlC__
=yes
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.
$ac_ext >&5
19885 bakefile_cv_cxx_compiler___xlC__
=no
19889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19893 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19894 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19895 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19901 ac_cpp
='$CPP $CPPFLAGS'
19902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19914 ac_cpp
='$CXXCPP $CPPFLAGS'
19915 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19916 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19917 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19919 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19920 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19921 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 cat >conftest.
$ac_ext <<_ACEOF
19927 cat confdefs.h
>>conftest.
$ac_ext
19928 cat >>conftest.
$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19935 #ifndef _SGI_COMPILER_VERSION
19943 rm -f conftest.
$ac_objext
19944 if { (ac_try
="$ac_compile"
19945 case "(($ac_try" in
19946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_compile") 2>conftest.er1
19952 grep -v '^ *+' conftest.er1 >conftest.err
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_cxx_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest.$ac_objext; then
19960 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19965 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19973 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19974 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19975 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19981 ac_cpp='$CPP $CPPFLAGS'
19982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19994 ac_cpp='$CXXCPP $CPPFLAGS'
19995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19999 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20000 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20001 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 cat >conftest.$ac_ext <<_ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20015 #ifndef __SUNPRO_CC
20023 rm -f conftest.$ac_objext
20024 if { (ac_try="$ac_compile"
20025 case "(($ac_try" in
20026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20027 *) ac_try_echo
=$ac_try;;
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_compile") 2>conftest.er1
20032 grep -v '^ *+' conftest.er1
>conftest.err
20034 cat conftest.err
>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } && {
20037 test -z "$ac_cxx_werror_flag" ||
20038 test ! -s conftest.err
20039 } && test -s conftest.
$ac_objext; then
20040 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.
$ac_ext >&5
20045 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
20049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20053 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20054 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20055 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20061 ac_cpp
='$CPP $CPPFLAGS'
20062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20074 ac_cpp
='$CXXCPP $CPPFLAGS'
20075 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20076 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20077 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20079 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20080 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20081 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20084 cat >conftest.
$ac_ext <<_ACEOF
20087 cat confdefs.h
>>conftest.
$ac_ext
20088 cat >>conftest.
$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20103 rm -f conftest.
$ac_objext
20104 if { (ac_try
="$ac_compile"
20105 case "(($ac_try" in
20106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20107 *) ac_try_echo=$ac_try;;
20109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20110 (eval "$ac_compile") 2>conftest.er1
20112 grep -v '^ *+' conftest.er1 >conftest.err
20114 cat conftest.err >&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } && {
20117 test -z "$ac_cxx_werror_flag" ||
20118 test ! -s conftest.err
20119 } && test -s conftest.$ac_objext; then
20120 bakefile_cv_cxx_compiler___HP_aCC=yes
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.$ac_ext >&5
20125 bakefile_cv_cxx_compiler___HP_aCC=no
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20134 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20135 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20141 ac_cpp='$CPP $CPPFLAGS'
20142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20154 ac_cpp='$CXXCPP $CPPFLAGS'
20155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20159 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20160 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20161 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20164 cat >conftest.$ac_ext <<_ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20183 rm -f conftest.$ac_objext
20184 if { (ac_try="$ac_compile"
20185 case "(($ac_try" in
20186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20187 *) ac_try_echo
=$ac_try;;
20189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20190 (eval "$ac_compile") 2>conftest.er1
20192 grep -v '^ *+' conftest.er1
>conftest.err
20194 cat conftest.err
>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } && {
20197 test -z "$ac_cxx_werror_flag" ||
20198 test ! -s conftest.err
20199 } && test -s conftest.
$ac_objext; then
20200 bakefile_cv_cxx_compiler___DECCXX
=yes
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.
$ac_ext >&5
20205 bakefile_cv_cxx_compiler___DECCXX
=no
20209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20213 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20214 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20215 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20221 ac_cpp
='$CPP $CPPFLAGS'
20222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20234 ac_cpp
='$CXXCPP $CPPFLAGS'
20235 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20236 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20237 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20239 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20240 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20241 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20242 echo $ECHO_N "(cached) $ECHO_C" >&6
20244 cat >conftest.
$ac_ext <<_ACEOF
20247 cat confdefs.h
>>conftest.
$ac_ext
20248 cat >>conftest.
$ac_ext <<_ACEOF
20249 /* end confdefs.h. */
20255 #ifndef __SUNPRO_CC
20263 rm -f conftest.
$ac_objext
20264 if { (ac_try
="$ac_compile"
20265 case "(($ac_try" in
20266 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20267 *) ac_try_echo=$ac_try;;
20269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20270 (eval "$ac_compile") 2>conftest.er1
20272 grep -v '^ *+' conftest.er1 >conftest.err
20274 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } && {
20277 test -z "$ac_cxx_werror_flag" ||
20278 test ! -s conftest.err
20279 } && test -s conftest.$ac_objext; then
20280 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.$ac_ext >&5
20285 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20293 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20294 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20295 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20301 ac_cpp='$CPP $CPPFLAGS'
20302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20314 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20315 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20316 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20317 { (exit 1); exit 1; }; }
20320 if test "x$SUNCXX" != xyes; then
20321 if test -n "$ac_tool_prefix"; then
20322 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20323 set dummy ${ac_tool_prefix}ar; ac_word=$2
20324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20326 if test "${ac_cv_prog_AR+set}" = set; then
20327 echo $ECHO_N "(cached) $ECHO_C" >&6
20329 if test -n "$AR"; then
20330 ac_cv_prog_AR="$AR" # Let the user override the test.
20332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20333 for as_dir in $PATH
20336 test -z "$as_dir" && as_dir=.
20337 for ac_exec_ext in '' $ac_executable_extensions; do
20338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20339 ac_cv_prog_AR="${ac_tool_prefix}ar"
20340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20350 if test -n "$AR"; then
20351 { echo "$as_me:$LINENO: result: $AR" >&5
20352 echo "${ECHO_T}$AR" >&6; }
20354 { echo "$as_me:$LINENO: result: no" >&5
20355 echo "${ECHO_T}no" >&6; }
20360 if test -z "$ac_cv_prog_AR"; then
20362 # Extract the first word of "ar", so it can be a program name with args.
20363 set dummy ar; ac_word=$2
20364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20366 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20367 echo $ECHO_N "(cached) $ECHO_C" >&6
20369 if test -n "$ac_ct_AR"; then
20370 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20373 for as_dir in $PATH
20376 test -z "$as_dir" && as_dir=.
20377 for ac_exec_ext in '' $ac_executable_extensions; do
20378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20379 ac_cv_prog_ac_ct_AR="ar"
20380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20389 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20390 if test -n "$ac_ct_AR"; then
20391 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20392 echo "${ECHO_T}$ac_ct_AR" >&6; }
20394 { echo "$as_me:$LINENO: result: no" >&5
20395 echo "${ECHO_T}no" >&6; }
20398 if test "x$ac_ct_AR" = x; then
20401 case $cross_compiling:$ac_tool_warned in
20403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20404 whose name does not start with the host triplet. If you think this
20405 configuration is useful to you, please write to autoconf@gnu.org." >&5
20406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20407 whose name does not start with the host triplet. If you think this
20408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20409 ac_tool_warned=yes ;;
20414 AR="$ac_cv_prog_AR"
20417 if test "x$AR" = "x" ; then
20418 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20419 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20420 { (exit 1); exit 1; }; }
20424 retest_macosx_linking=no
20426 #if test "$wxUSE_MAC" = 1; then
20427 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20428 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20429 # Implicitly turn on the new --with-macosx-sdk using the default
20430 # SDK which provides the behavior this option has always had.
20431 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20432 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20433 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20434 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20435 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20436 wxUSE_MACOSX_SDK=yes
20439 # Complain to user if he specified an argument to --enable-universal_binary
20440 # and also 1) specified --with-macosx-sdk using the default (yes) or
20441 # 2) specified --with-macosx-sdk using a path or 3) specified
20442 # --without-macosx-sdk (no).
20443 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20444 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20445 See \`config.log
' for more details." >&5
20446 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20447 See \`config.log' for more details.
" >&2;}
20448 { (exit 1); exit 1; }; }
20450 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20451 # special-case the empty string because the below test simply
20452 # converts "no
" to the empty string anyway.
20453 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20454 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20455 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20458 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20459 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20460 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20461 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20462 retest_macosx_linking=yes
20464 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20465 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20470 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20472 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20473 # TODO: Search for most recent SDK and use it.
20474 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20478 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20479 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20480 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20481 if ! test -d "$wxUSE_MACOSX_SDK"; then
20482 { { echo "$as_me:$LINENO: error
: not found
20483 See \
`config.log' for more details." >&5
20484 echo "$as_me: error: not found
20485 See \`config.log
' for more details." >&2;}
20486 { (exit 1); exit 1; }; }
20488 { echo "$as_me:$LINENO: result: exists" >&5
20489 echo "${ECHO_T}exists" >&6; }
20491 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20492 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20493 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20494 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20495 retest_macosx_linking=yes
20498 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20499 wxUSE_MACOSX_VERSION_MIN=
20500 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20501 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20502 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20503 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20505 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/'`
20507 # If that failed, try again with the new key
20508 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20510 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/'`
20514 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20515 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20516 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20517 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20519 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20520 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20521 wxUSE_MACOSX_VERSION_MIN=
20524 wxUSE_MACOSX_VERSION_MIN=
20528 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20529 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20530 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20531 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20532 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20533 retest_macosx_linking=yes
20536 if test "x$retest_macosx_linking" = "xyes"; then
20538 ac_cpp='$CPP $CPPFLAGS'
20539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20540 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20543 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20544 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20545 cat >conftest.$ac_ext <<_ACEOF
20548 cat confdefs.h >>conftest.$ac_ext
20549 cat >>conftest.$ac_ext <<_ACEOF
20550 /* end confdefs.h. */
20560 rm -f conftest.$ac_objext conftest$ac_exeext
20561 if { (ac_try="$ac_link"
20562 case "(($ac_try" in
20563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_link") 2>conftest.er1
20569 grep -v '^
*+' conftest.er1 >conftest.err
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } && {
20574 test -z "$ac_c_werror_flag" ||
20575 test ! -s conftest.err
20576 } && test -s conftest$ac_exeext &&
20577 $as_test_x conftest$ac_exeext; then
20578 { echo "$as_me:$LINENO: result: yes" >&5
20579 echo "${ECHO_T}yes" >&6; }
20581 echo "$as_me: failed program was:" >&5
20582 sed 's
/^
/| /' conftest.$ac_ext >&5
20584 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20585 See \`config.log' for more details.
" >&5
20586 echo "$as_me: error
: no. Try a different SDK
20587 See \
`config.log' for more details." >&2;}
20588 { (exit 1); exit 1; }; }; exit 1
20591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20592 conftest$ac_exeext conftest.$ac_ext
20594 ac_cpp='$CPP $CPPFLAGS'
20595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20601 ac_cpp='$CXXCPP $CPPFLAGS'
20602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20606 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20607 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20608 cat >conftest.$ac_ext <<_ACEOF
20611 cat confdefs.h >>conftest.$ac_ext
20612 cat >>conftest.$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20623 rm -f conftest.$ac_objext conftest$ac_exeext
20624 if { (ac_try="$ac_link"
20625 case "(($ac_try" in
20626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20627 *) ac_try_echo
=$ac_try;;
20629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20630 (eval "$ac_link") 2>conftest.er1
20632 grep -v '^ *+' conftest.er1
>conftest.err
20634 cat conftest.err
>&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } && {
20637 test -z "$ac_cxx_werror_flag" ||
20638 test ! -s conftest.err
20639 } && test -s conftest
$ac_exeext &&
20640 $as_test_x conftest
$ac_exeext; 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: error: no. Try a different SDK
20648 See \`config.log' for more details." >&5
20649 echo "$as_me: error: no. Try a different SDK
20650 See \`config.log' for more details." >&2;}
20651 { (exit 1); exit 1; }; }; exit 1
20654 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20655 conftest
$ac_exeext conftest.
$ac_ext
20657 ac_cpp
='$CPP $CPPFLAGS'
20658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20668 INSTALL_PROGRAM
="cp -fp"
20669 INSTALL_DATA
="cp -fp"
20676 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20677 CXXFLAGS
="-qunique $CXXFLAGS"
20681 powerpc
-*-darwin* )
20682 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20683 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20684 cat >conftest.
$ac_ext <<_ACEOF
20687 cat confdefs.h
>>conftest.
$ac_ext
20688 cat >>conftest.
$ac_ext <<_ACEOF
20689 /* end confdefs.h. */
20694 #ifndef __POWERPC__
20695 choke me for lack of PowerPC
20702 rm -f conftest.
$ac_objext
20703 if { (ac_try
="$ac_compile"
20704 case "(($ac_try" in
20705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20706 *) ac_try_echo=$ac_try;;
20708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_compile") 2>conftest.er1
20711 grep -v '^ *+' conftest.er1 >conftest.err
20713 cat conftest.err >&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } && {
20716 test -z "$ac_c_werror_flag" ||
20717 test ! -s conftest.err
20718 } && test -s conftest.$ac_objext; then
20719 { echo "$as_me:$LINENO: result: yes" >&5
20720 echo "${ECHO_T}yes" >&6; }
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20725 { echo "$as_me:$LINENO: result: no" >&5
20726 echo "${ECHO_T}no" >&6; }
20727 cat >>confdefs.h <<\_ACEOF
20728 #define __POWERPC__ 1
20734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20740 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20741 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20742 cat >conftest.$ac_ext <<_ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748 #include <CoreFoundation/CFBase.h>
20758 rm -f conftest.$ac_objext
20759 if { (ac_try="$ac_compile"
20760 case "(($ac_try" in
20761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20762 *) ac_try_echo
=$ac_try;;
20764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20765 (eval "$ac_compile") 2>conftest.er1
20767 grep -v '^ *+' conftest.er1
>conftest.err
20769 cat conftest.err
>&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } && {
20772 test -z "$ac_c_werror_flag" ||
20773 test ! -s conftest.err
20774 } && test -s conftest.
$ac_objext; then
20775 { echo "$as_me:$LINENO: result: yes" >&5
20776 echo "${ECHO_T}yes" >&6; }
20778 echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.
$ac_ext >&5
20781 { echo "$as_me:$LINENO: result: no" >&5
20782 echo "${ECHO_T}no" >&6; }
20783 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20784 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20785 cat >conftest.
$ac_ext <<_ACEOF
20788 cat confdefs.h
>>conftest.
$ac_ext
20789 cat >>conftest.
$ac_ext <<_ACEOF
20790 /* end confdefs.h. */
20791 #define __CF_USE_FRAMEWORK_INCLUDES__
20792 #include <CoreFoundation/CFBase.h>
20802 rm -f conftest.
$ac_objext
20803 if { (ac_try
="$ac_compile"
20804 case "(($ac_try" in
20805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20806 *) ac_try_echo=$ac_try;;
20808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20809 (eval "$ac_compile") 2>conftest.er1
20811 grep -v '^ *+' conftest.er1 >conftest.err
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } && {
20816 test -z "$ac_c_werror_flag" ||
20817 test ! -s conftest.err
20818 } && test -s conftest.$ac_objext; then
20819 { echo "$as_me:$LINENO: result: yes" >&5
20820 echo "${ECHO_T}yes" >&6; }
20821 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20823 echo "$as_me: failed program was:" >&5
20824 sed 's/^/| /' conftest.$ac_ext >&5
20826 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20827 See \`config.log
' for more details." >&5
20828 echo "$as_me: error: no. CoreFoundation not available.
20829 See \`config.log' for more details.
" >&2;}
20830 { (exit 1); exit 1; }; }
20834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20844 doesnt_want_win32=0
20847 if test "$wxUSE_MSW" = 1 ; then
20850 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
20851 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
20852 if test "${wx_cv_nocygwin+set}" = set; then
20853 echo $ECHO_N "(cached
) $ECHO_C" >&6
20856 cat >conftest.$ac_ext <<_ACEOF
20859 cat confdefs.h >>conftest.$ac_ext
20860 cat >>conftest.$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20875 rm -f conftest.$ac_objext
20876 if { (ac_try="$ac_compile"
20877 case "(($ac_try" in
20878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20882 (eval "$ac_compile") 2>conftest.er1
20884 grep -v '^ *+' conftest.er1 >conftest.err
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20888 (exit $ac_status); } && {
20889 test -z "$ac_c_werror_flag" ||
20890 test ! -s conftest.err
20891 } && test -s conftest.$ac_objext; then
20894 echo "$as_me: failed program was
:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20905 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
20906 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20908 if test "$wx_cv_nocygwin" = "yes"; then
20911 doesnt_want_win32=1
20914 if test "$wants_win32" = 1 ; then
20915 BAKEFILE_FORCE_PLATFORM=win32
20923 if test "$wxUSE_WINE" = "yes"; then
20925 LDFLAGS_GUI="-mwindows"
20928 if test "$wants_win32" = 1 ; then
20931 cat >>confdefs.h <<\_ACEOF
20932 #define __WIN32__ 1
20935 cat >>confdefs.h <<\_ACEOF
20936 #define __WIN95__ 1
20939 cat >>confdefs.h <<\_ACEOF
20940 #define __WINDOWS__ 1
20943 cat >>confdefs.h <<\_ACEOF
20944 #define __GNUWIN32__ 1
20947 cat >>confdefs.h <<\_ACEOF
20952 if test "$doesnt_want_win32" = 1 ; then
20957 if test "$USE_UNIX" = 1 ; then
20959 cat >>confdefs.h <<\_ACEOF
20966 *-pc-os2_emx | *-pc-os2-emx )
20967 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20968 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
20969 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
20970 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20971 echo $ECHO_N "(cached
) $ECHO_C" >&6
20973 ac_check_lib_save_LIBS=$LIBS
20974 LIBS="-lcExt $LIBS"
20975 cat >conftest.$ac_ext <<_ACEOF
20978 cat confdefs.h >>conftest.$ac_ext
20979 cat >>conftest.$ac_ext <<_ACEOF
20980 /* end confdefs.h. */
20982 /* Override any GCC internal prototype to avoid an error.
20983 Use char because int might match the return type of a GCC
20984 builtin and then its argument prototype would still apply. */
20997 rm -f conftest.$ac_objext conftest$ac_exeext
20998 if { (ac_try="$ac_link"
20999 case "(($ac_try" in
21000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21001 *) ac_try_echo=$ac_try;;
21003 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21004 (eval "$ac_link") 2>conftest.er1
21006 grep -v '^ *+' conftest.er1 >conftest.err
21008 cat conftest.err >&5
21009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21010 (exit $ac_status); } && {
21011 test -z "$ac_c_werror_flag" ||
21012 test ! -s conftest.err
21013 } && test -s conftest$ac_exeext &&
21014 $as_test_x conftest$ac_exeext; then
21015 ac_cv_lib_cExt_drand48=yes
21017 echo "$as_me: failed program was
:" >&5
21018 sed 's/^/| /' conftest.$ac_ext >&5
21020 ac_cv_lib_cExt_drand48=no
21023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21024 conftest$ac_exeext conftest.$ac_ext
21025 LIBS=$ac_check_lib_save_LIBS
21027 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
21028 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21029 if test $ac_cv_lib_cExt_drand48 = yes; then
21030 LIBS="$LIBS -lcExt"
21034 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
21036 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
21037 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
21038 if test "${wx_cv_gccversion+set}" = set; then
21039 echo $ECHO_N "(cached
) $ECHO_C" >&6
21042 if test "$cross_compiling" = yes; then
21043 wx_cv_gccversion="EMX2
"
21046 cat >conftest.$ac_ext <<_ACEOF
21049 cat confdefs.h >>conftest.$ac_ext
21050 cat >>conftest.$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21057 FILE *f=fopen("conftestval
", "w
");
21062 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21064 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21074 rm -f conftest$ac_exeext
21075 if { (ac_try="$ac_link"
21076 case "(($ac_try" in
21077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21078 *) ac_try_echo=$ac_try;;
21080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21081 (eval "$ac_link") 2>&5
21083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21085 { (case "(($ac_try" in
21086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21087 *) ac_try_echo=$ac_try;;
21089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21090 (eval "$ac_try") 2>&5
21092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21093 (exit $ac_status); }; }; then
21094 wx_cv_gccversion=`cat conftestval`
21096 echo "$as_me: program exited with status
$ac_status" >&5
21097 echo "$as_me: failed program was
:" >&5
21098 sed 's/^/| /' conftest.$ac_ext >&5
21100 ( exit $ac_status )
21101 wx_cv_gccversion="EMX2
"
21103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21109 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
21110 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21111 if test "$wx_cv_gccversion" = "EMX2
"; then
21112 LIBS="$LIBS -lstdcpp"
21113 LDFLAGS="$LDFLAGS -Zsysv-signals"
21115 if test "$wx_cv_gccversion" = "EMX3
"; then
21116 LIBS="$LIBS -lstdcxx -lgcc"
21117 LDFLAGS="$LDFLAGS -Zsysv-signals"
21119 LIBS="$LIBS -lstdc++"
21122 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
21123 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
21124 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
21131 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
21132 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
21133 if test "${ac_cv_string_strcasecmp+set}" = set; then
21134 echo $ECHO_N "(cached
) $ECHO_C" >&6
21137 cat >conftest.$ac_ext <<_ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21144 #include <string.h>
21150 strcasecmp("foo
", "bar
");
21156 rm -f conftest.$ac_objext conftest$ac_exeext
21157 if { (ac_try="$ac_link"
21158 case "(($ac_try" in
21159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21160 *) ac_try_echo=$ac_try;;
21162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_link") 2>conftest.er1
21165 grep -v '^ *+' conftest.er1 >conftest.err
21167 cat conftest.err >&5
21168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21169 (exit $ac_status); } && {
21170 test -z "$ac_c_werror_flag" ||
21171 test ! -s conftest.err
21172 } && test -s conftest$ac_exeext &&
21173 $as_test_x conftest$ac_exeext; then
21174 ac_cv_string_strcasecmp=yes
21176 echo "$as_me: failed program was
:" >&5
21177 sed 's/^/| /' conftest.$ac_ext >&5
21179 ac_cv_string_strcasecmp=no
21183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21184 conftest$ac_exeext conftest.$ac_ext
21187 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21188 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21190 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21191 cat >>confdefs.h <<\_ACEOF
21192 #define HAVE_STRCASECMP_IN_STRING_H 1
21196 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21197 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21198 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21199 echo $ECHO_N "(cached
) $ECHO_C" >&6
21202 cat >conftest.$ac_ext <<_ACEOF
21205 cat confdefs.h >>conftest.$ac_ext
21206 cat >>conftest.$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21209 #include <strings.h>
21215 strcasecmp("foo
", "bar
");
21221 rm -f conftest.$ac_objext conftest$ac_exeext
21222 if { (ac_try="$ac_link"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21228 (eval "$ac_link") 2>conftest.er1
21230 grep -v '^ *+' conftest.er1 >conftest.err
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21234 (exit $ac_status); } && {
21235 test -z "$ac_c_werror_flag" ||
21236 test ! -s conftest.err
21237 } && test -s conftest$ac_exeext &&
21238 $as_test_x conftest$ac_exeext; then
21239 ac_cv_strings_strcasecmp=yes
21241 echo "$as_me: failed program was
:" >&5
21242 sed 's/^/| /' conftest.$ac_ext >&5
21244 ac_cv_strings_strcasecmp=no
21248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21249 conftest$ac_exeext conftest.$ac_ext
21252 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21253 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21255 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21256 cat >>confdefs.h <<\_ACEOF
21257 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21261 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21262 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21263 { (exit 1); exit 1; }; }
21271 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21272 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21273 if test "${ac_cv_header_stdc+set}" = set; then
21274 echo $ECHO_N "(cached
) $ECHO_C" >&6
21276 cat >conftest.$ac_ext <<_ACEOF
21279 cat confdefs.h >>conftest.$ac_ext
21280 cat >>conftest.$ac_ext <<_ACEOF
21281 /* end confdefs.h. */
21282 #include <stdlib.h>
21283 #include <stdarg.h>
21284 #include <string.h>
21295 rm -f conftest.$ac_objext
21296 if { (ac_try="$ac_compile"
21297 case "(($ac_try" in
21298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21299 *) ac_try_echo=$ac_try;;
21301 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21302 (eval "$ac_compile") 2>conftest.er1
21304 grep -v '^ *+' conftest.er1 >conftest.err
21306 cat conftest.err >&5
21307 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21308 (exit $ac_status); } && {
21309 test -z "$ac_c_werror_flag" ||
21310 test ! -s conftest.err
21311 } && test -s conftest.$ac_objext; then
21312 ac_cv_header_stdc=yes
21314 echo "$as_me: failed program was
:" >&5
21315 sed 's/^/| /' conftest.$ac_ext >&5
21317 ac_cv_header_stdc=no
21320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21322 if test $ac_cv_header_stdc = yes; then
21323 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21324 cat >conftest.$ac_ext <<_ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21330 #include <string.h>
21333 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21334 $EGREP "memchr
" >/dev/null 2>&1; then
21337 ac_cv_header_stdc=no
21343 if test $ac_cv_header_stdc = yes; then
21344 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21345 cat >conftest.$ac_ext <<_ACEOF
21348 cat confdefs.h >>conftest.$ac_ext
21349 cat >>conftest.$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21351 #include <stdlib.h>
21354 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21355 $EGREP "free
" >/dev/null 2>&1; then
21358 ac_cv_header_stdc=no
21364 if test $ac_cv_header_stdc = yes; then
21365 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21366 if test "$cross_compiling" = yes; then
21369 cat >conftest.$ac_ext <<_ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21376 #include <stdlib.h>
21377 #if ((' ' & 0x0FF) == 0x020)
21378 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21379 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21381 # define ISLOWER(c) \
21382 (('a' <= (c) && (c) <= 'i') \
21383 || ('j' <= (c) && (c) <= 'r') \
21384 || ('s' <= (c) && (c) <= 'z'))
21385 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21388 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21393 for (i = 0; i < 256; i++)
21394 if (XOR (islower (i), ISLOWER (i))
21395 || toupper (i) != TOUPPER (i))
21400 rm -f conftest$ac_exeext
21401 if { (ac_try="$ac_link"
21402 case "(($ac_try" in
21403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21404 *) ac_try_echo=$ac_try;;
21406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21407 (eval "$ac_link") 2>&5
21409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21411 { (case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21413 *) ac_try_echo=$ac_try;;
21415 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_try") 2>&5
21418 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21419 (exit $ac_status); }; }; then
21422 echo "$as_me: program exited with status
$ac_status" >&5
21423 echo "$as_me: failed program was
:" >&5
21424 sed 's/^/| /' conftest.$ac_ext >&5
21426 ( exit $ac_status )
21427 ac_cv_header_stdc=no
21429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21435 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21436 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21437 if test $ac_cv_header_stdc = yes; then
21439 cat >>confdefs.h <<\_ACEOF
21440 #define STDC_HEADERS 1
21445 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21455 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21456 inttypes.h stdint.h unistd.h
21458 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21459 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21460 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21461 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21462 echo $ECHO_N "(cached
) $ECHO_C" >&6
21464 cat >conftest.$ac_ext <<_ACEOF
21467 cat confdefs.h >>conftest.$ac_ext
21468 cat >>conftest.$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21470 $ac_includes_default
21472 #include <$ac_header>
21474 rm -f conftest.$ac_objext
21475 if { (ac_try="$ac_compile"
21476 case "(($ac_try" in
21477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21478 *) ac_try_echo=$ac_try;;
21480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21481 (eval "$ac_compile") 2>conftest.er1
21483 grep -v '^ *+' conftest.er1 >conftest.err
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21487 (exit $ac_status); } && {
21488 test -z "$ac_c_werror_flag" ||
21489 test ! -s conftest.err
21490 } && test -s conftest.$ac_objext; then
21491 eval "$as_ac_Header=yes"
21493 echo "$as_me: failed program was
:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21496 eval "$as_ac_Header=no
"
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21501 ac_res=`eval echo '${'$as_ac_Header'}'`
21502 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21503 echo "${ECHO_T}$ac_res" >&6; }
21504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21505 cat >>confdefs.h <<_ACEOF
21506 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21516 for ac_header in langinfo.h wchar.h
21518 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21519 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21520 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21521 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21522 echo $ECHO_N "(cached
) $ECHO_C" >&6
21524 cat >conftest.$ac_ext <<_ACEOF
21527 cat confdefs.h >>conftest.$ac_ext
21528 cat >>conftest.$ac_ext <<_ACEOF
21529 /* end confdefs.h. */
21530 $ac_includes_default
21532 #include <$ac_header>
21534 rm -f conftest.$ac_objext
21535 if { (ac_try="$ac_compile"
21536 case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_compile") 2>conftest.er1
21543 grep -v '^ *+' conftest.er1 >conftest.err
21545 cat conftest.err >&5
21546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21547 (exit $ac_status); } && {
21548 test -z "$ac_c_werror_flag" ||
21549 test ! -s conftest.err
21550 } && test -s conftest.$ac_objext; then
21551 eval "$as_ac_Header=yes"
21553 echo "$as_me: failed program was
:" >&5
21554 sed 's/^/| /' conftest.$ac_ext >&5
21556 eval "$as_ac_Header=no
"
21559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21561 ac_res=`eval echo '${'$as_ac_Header'}'`
21562 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21563 echo "${ECHO_T}$ac_res" >&6; }
21564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21565 cat >>confdefs.h <<_ACEOF
21566 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21574 if test "$ac_cv_header_wchar_h" != "yes"; then
21576 for ac_header in wcstr.h
21578 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21579 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21580 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21581 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21582 echo $ECHO_N "(cached
) $ECHO_C" >&6
21584 cat >conftest.$ac_ext <<_ACEOF
21587 cat confdefs.h >>conftest.$ac_ext
21588 cat >>conftest.$ac_ext <<_ACEOF
21589 /* end confdefs.h. */
21590 $ac_includes_default
21592 #include <$ac_header>
21594 rm -f conftest.$ac_objext
21595 if { (ac_try="$ac_compile"
21596 case "(($ac_try" in
21597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21598 *) ac_try_echo=$ac_try;;
21600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21601 (eval "$ac_compile") 2>conftest.er1
21603 grep -v '^ *+' conftest.er1 >conftest.err
21605 cat conftest.err >&5
21606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21607 (exit $ac_status); } && {
21608 test -z "$ac_c_werror_flag" ||
21609 test ! -s conftest.err
21610 } && test -s conftest.$ac_objext; then
21611 eval "$as_ac_Header=yes"
21613 echo "$as_me: failed program was
:" >&5
21614 sed 's/^/| /' conftest.$ac_ext >&5
21616 eval "$as_ac_Header=no
"
21619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21621 ac_res=`eval echo '${'$as_ac_Header'}'`
21622 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21623 echo "${ECHO_T}$ac_res" >&6; }
21624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21625 cat >>confdefs.h <<_ACEOF
21626 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21636 *-pc-os2_emx | *-pc-os2-emx )
21637 if test $ac_cv_header_langinfo_h = "yes" \
21638 -a \( "$wx_cv_gccversion" = "EMX2
" \
21639 -o "$wx_cv_gccversion" = "EMX3
" \
21640 -o "$wx_cv_gccversion" = "Innotek5
" \); then
21641 LIBS="$LIBS -lintl"
21646 if test "$USE_UNIX" = 1 ; then
21648 for ac_header in sys/select.h
21650 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21651 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21652 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21653 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21654 echo $ECHO_N "(cached
) $ECHO_C" >&6
21656 cat >conftest.$ac_ext <<_ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 $ac_includes_default
21664 #include <$ac_header>
21666 rm -f conftest.$ac_objext
21667 if { (ac_try="$ac_compile"
21668 case "(($ac_try" in
21669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21670 *) ac_try_echo=$ac_try;;
21672 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21673 (eval "$ac_compile") 2>conftest.er1
21675 grep -v '^ *+' conftest.er1 >conftest.err
21677 cat conftest.err >&5
21678 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21679 (exit $ac_status); } && {
21680 test -z "$ac_c_werror_flag" ||
21681 test ! -s conftest.err
21682 } && test -s conftest.$ac_objext; then
21683 eval "$as_ac_Header=yes"
21685 echo "$as_me: failed program was
:" >&5
21686 sed 's/^/| /' conftest.$ac_ext >&5
21688 eval "$as_ac_Header=no
"
21691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693 ac_res=`eval echo '${'$as_ac_Header'}'`
21694 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21695 echo "${ECHO_T}$ac_res" >&6; }
21696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21697 cat >>confdefs.h <<_ACEOF
21698 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21708 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
21709 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
21710 if test "${ac_cv_c_const+set}" = set; then
21711 echo $ECHO_N "(cached
) $ECHO_C" >&6
21713 cat >conftest.$ac_ext <<_ACEOF
21716 cat confdefs.h >>conftest.$ac_ext
21717 cat >>conftest.$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21723 /* FIXME: Include the comments suggested by Paul. */
21724 #ifndef __cplusplus
21725 /* Ultrix mips cc rejects this. */
21726 typedef int charset[2];
21728 /* SunOS 4.1.1 cc rejects this. */
21729 char const *const *pcpcc;
21731 /* NEC SVR4.0.2 mips cc rejects this. */
21732 struct point {int x, y;};
21733 static struct point const zero = {0,0};
21734 /* AIX XL C 1.02.0.0 rejects this.
21735 It does not let you subtract one const X* pointer from another in
21736 an arm of an if-expression whose if-part is not a constant
21738 const char *g = "string
";
21739 pcpcc = &g + (g ? g-g : 0);
21740 /* HPUX 7.0 cc rejects these. */
21742 ppc = (char**) pcpcc;
21743 pcpcc = (char const *const *) ppc;
21744 { /* SCO 3.2v4 cc rejects this. */
21746 char const *s = 0 ? (char *) 0 : (char const *) 0;
21751 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21752 int x[] = {25, 17};
21753 const int *foo = &x[0];
21756 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21757 typedef const int *iptr;
21761 { /* AIX XL C 1.02.0.0 rejects this saying
21762 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21763 struct s { int j; const int *ap[3]; };
21764 struct s *b; b->j = 5;
21766 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21767 const int foo = 10;
21768 if (!foo) return 0;
21770 return !cs[0] && !zero.x;
21777 rm -f conftest.$ac_objext
21778 if { (ac_try="$ac_compile"
21779 case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;;
21783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_compile") 2>conftest.er1
21786 grep -v '^ *+' conftest.er1 >conftest.err
21788 cat conftest.err >&5
21789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21790 (exit $ac_status); } && {
21791 test -z "$ac_c_werror_flag" ||
21792 test ! -s conftest.err
21793 } && test -s conftest.$ac_objext; then
21796 echo "$as_me: failed program was
:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21804 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21805 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21806 if test $ac_cv_c_const = no; then
21808 cat >>confdefs.h <<\_ACEOF
21814 { echo "$as_me:$LINENO: checking
for inline
" >&5
21815 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
21816 if test "${ac_cv_c_inline+set}" = set; then
21817 echo $ECHO_N "(cached
) $ECHO_C" >&6
21820 for ac_kw in inline __inline__ __inline; do
21821 cat >conftest.$ac_ext <<_ACEOF
21824 cat confdefs.h >>conftest.$ac_ext
21825 cat >>conftest.$ac_ext <<_ACEOF
21826 /* end confdefs.h. */
21827 #ifndef __cplusplus
21829 static $ac_kw foo_t static_foo () {return 0; }
21830 $ac_kw foo_t foo () {return 0; }
21834 rm -f conftest.$ac_objext
21835 if { (ac_try="$ac_compile"
21836 case "(($ac_try" in
21837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21838 *) ac_try_echo=$ac_try;;
21840 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21841 (eval "$ac_compile") 2>conftest.er1
21843 grep -v '^ *+' conftest.er1 >conftest.err
21845 cat conftest.err >&5
21846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21847 (exit $ac_status); } && {
21848 test -z "$ac_c_werror_flag" ||
21849 test ! -s conftest.err
21850 } && test -s conftest.$ac_objext; then
21851 ac_cv_c_inline=$ac_kw
21853 echo "$as_me: failed program was
:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21860 test "$ac_cv_c_inline" != no && break
21864 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21865 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21868 case $ac_cv_c_inline in
21871 case $ac_cv_c_inline in
21873 *) ac_val=$ac_cv_c_inline;;
21875 cat >>confdefs.h <<_ACEOF
21876 #ifndef __cplusplus
21877 #define inline $ac_val
21884 { echo "$as_me:$LINENO: checking
for short
" >&5
21885 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
21886 if test "${ac_cv_type_short+set}" = set; then
21887 echo $ECHO_N "(cached
) $ECHO_C" >&6
21889 cat >conftest.$ac_ext <<_ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895 $ac_includes_default
21896 typedef short ac__type_new_;
21900 if ((ac__type_new_ *) 0)
21902 if (sizeof (ac__type_new_))
21908 rm -f conftest.$ac_objext
21909 if { (ac_try="$ac_compile"
21910 case "(($ac_try" in
21911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21912 *) ac_try_echo=$ac_try;;
21914 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21915 (eval "$ac_compile") 2>conftest.er1
21917 grep -v '^ *+' conftest.er1 >conftest.err
21919 cat conftest.err >&5
21920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21921 (exit $ac_status); } && {
21922 test -z "$ac_c_werror_flag" ||
21923 test ! -s conftest.err
21924 } && test -s conftest.$ac_objext; then
21925 ac_cv_type_short=yes
21927 echo "$as_me: failed program was
:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21930 ac_cv_type_short=no
21933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21935 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
21936 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21938 # The cast to long int works around a bug in the HP C Compiler
21939 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21940 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21941 # This bug is HP SR number 8606223364.
21942 { echo "$as_me:$LINENO: checking size of short
" >&5
21943 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
21944 if test "${ac_cv_sizeof_short+set}" = set; then
21945 echo $ECHO_N "(cached
) $ECHO_C" >&6
21947 if test "$cross_compiling" = yes; then
21948 # Depending upon the size, compute the lo and hi bounds.
21949 cat >conftest.$ac_ext <<_ACEOF
21952 cat confdefs.h >>conftest.$ac_ext
21953 cat >>conftest.$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21955 $ac_includes_default
21956 typedef short ac__type_sizeof_;
21960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21967 rm -f conftest.$ac_objext
21968 if { (ac_try="$ac_compile"
21969 case "(($ac_try" in
21970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21971 *) ac_try_echo=$ac_try;;
21973 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21974 (eval "$ac_compile") 2>conftest.er1
21976 grep -v '^ *+' conftest.er1 >conftest.err
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21980 (exit $ac_status); } && {
21981 test -z "$ac_c_werror_flag" ||
21982 test ! -s conftest.err
21983 } && test -s conftest.$ac_objext; then
21986 cat >conftest.$ac_ext <<_ACEOF
21989 cat confdefs.h >>conftest.$ac_ext
21990 cat >>conftest.$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 $ac_includes_default
21993 typedef short ac__type_sizeof_;
21997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22004 rm -f conftest.$ac_objext
22005 if { (ac_try="$ac_compile"
22006 case "(($ac_try" in
22007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22008 *) ac_try_echo=$ac_try;;
22010 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22011 (eval "$ac_compile") 2>conftest.er1
22013 grep -v '^ *+' conftest.er1 >conftest.err
22015 cat conftest.err >&5
22016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22017 (exit $ac_status); } && {
22018 test -z "$ac_c_werror_flag" ||
22019 test ! -s conftest.err
22020 } && test -s conftest.$ac_objext; then
22021 ac_hi=$ac_mid; break
22023 echo "$as_me: failed program was
:" >&5
22024 sed 's/^/| /' conftest.$ac_ext >&5
22026 ac_lo=`expr $ac_mid + 1`
22027 if test $ac_lo -le $ac_mid; then
22031 ac_mid=`expr 2 '*' $ac_mid + 1`
22034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22037 echo "$as_me: failed program was
:" >&5
22038 sed 's/^/| /' conftest.$ac_ext >&5
22040 cat >conftest.$ac_ext <<_ACEOF
22043 cat confdefs.h >>conftest.$ac_ext
22044 cat >>conftest.$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 $ac_includes_default
22047 typedef short ac__type_sizeof_;
22051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22058 rm -f conftest.$ac_objext
22059 if { (ac_try="$ac_compile"
22060 case "(($ac_try" in
22061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22062 *) ac_try_echo=$ac_try;;
22064 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22065 (eval "$ac_compile") 2>conftest.er1
22067 grep -v '^ *+' conftest.er1 >conftest.err
22069 cat conftest.err >&5
22070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22071 (exit $ac_status); } && {
22072 test -z "$ac_c_werror_flag" ||
22073 test ! -s conftest.err
22074 } && test -s conftest.$ac_objext; then
22077 cat >conftest.$ac_ext <<_ACEOF
22080 cat confdefs.h >>conftest.$ac_ext
22081 cat >>conftest.$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef short ac__type_sizeof_;
22088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22095 rm -f conftest.$ac_objext
22096 if { (ac_try="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22104 grep -v '^ *+' conftest.er1 >conftest.err
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22108 (exit $ac_status); } && {
22109 test -z "$ac_c_werror_flag" ||
22110 test ! -s conftest.err
22111 } && test -s conftest.$ac_objext; then
22112 ac_lo=$ac_mid; break
22114 echo "$as_me: failed program was
:" >&5
22115 sed 's/^/| /' conftest.$ac_ext >&5
22117 ac_hi=`expr '(' $ac_mid ')' - 1`
22118 if test $ac_mid -le $ac_hi; then
22122 ac_mid=`expr 2 '*' $ac_mid`
22125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22128 echo "$as_me: failed program was
:" >&5
22129 sed 's/^/| /' conftest.$ac_ext >&5
22134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22138 # Binary search between lo and hi bounds.
22139 while test "x
$ac_lo" != "x
$ac_hi"; do
22140 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22141 cat >conftest.$ac_ext <<_ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 typedef short ac__type_sizeof_;
22152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22159 rm -f conftest.$ac_objext
22160 if { (ac_try="$ac_compile"
22161 case "(($ac_try" in
22162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22163 *) ac_try_echo=$ac_try;;
22165 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22166 (eval "$ac_compile") 2>conftest.er1
22168 grep -v '^ *+' conftest.er1 >conftest.err
22170 cat conftest.err >&5
22171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22172 (exit $ac_status); } && {
22173 test -z "$ac_c_werror_flag" ||
22174 test ! -s conftest.err
22175 } && test -s conftest.$ac_objext; then
22178 echo "$as_me: failed program was
:" >&5
22179 sed 's/^/| /' conftest.$ac_ext >&5
22181 ac_lo=`expr '(' $ac_mid ')' + 1`
22184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22187 ?*) ac_cv_sizeof_short=$ac_lo;;
22188 '') if test "$ac_cv_type_short" = yes; then
22189 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22190 See \
`config.log' for more details." >&5
22191 echo "$as_me: error: cannot compute sizeof (short)
22192 See \`config.log
' for more details." >&2;}
22193 { (exit 77); exit 77; }; }
22195 ac_cv_sizeof_short=0
22199 cat >conftest.$ac_ext <<_ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 $ac_includes_default
22206 typedef short ac__type_sizeof_;
22207 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22208 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22210 #include <stdlib.h>
22215 FILE *f = fopen ("conftest.val", "w");
22218 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22220 long int i = longval ();
22221 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22223 fprintf (f, "%ld\n", i);
22227 unsigned long int i = ulongval ();
22228 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22230 fprintf (f, "%lu\n", i);
22232 return ferror (f) || fclose (f) != 0;
22238 rm -f conftest$ac_exeext
22239 if { (ac_try="$ac_link"
22240 case "(($ac_try" in
22241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22242 *) ac_try_echo=$ac_try;;
22244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22245 (eval "$ac_link") 2>&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22249 { (case "(($ac_try" in
22250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22251 *) ac_try_echo=$ac_try;;
22253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22254 (eval "$ac_try") 2>&5
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); }; }; then
22258 ac_cv_sizeof_short=`cat conftest.val`
22260 echo "$as_me: program exited with status $ac_status" >&5
22261 echo "$as_me: failed program was:" >&5
22262 sed 's
/^
/| /' conftest.$ac_ext >&5
22264 ( exit $ac_status )
22265 if test "$ac_cv_type_short" = yes; then
22266 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22267 See \`config.log' for more details.
" >&5
22268 echo "$as_me: error
: cannot compute sizeof
(short
)
22269 See \
`config.log' for more details." >&2;}
22270 { (exit 77); exit 77; }; }
22272 ac_cv_sizeof_short=0
22275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22279 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22280 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22284 cat >>confdefs.h <<_ACEOF
22285 #define SIZEOF_SHORT $ac_cv_sizeof_short
22289 { echo "$as_me:$LINENO: checking for void *" >&5
22290 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22291 if test "${ac_cv_type_void_p+set}" = set; then
22292 echo $ECHO_N "(cached) $ECHO_C" >&6
22294 cat >conftest.$ac_ext <<_ACEOF
22297 cat confdefs.h >>conftest.$ac_ext
22298 cat >>conftest.$ac_ext <<_ACEOF
22299 /* end confdefs.h. */
22300 $ac_includes_default
22301 typedef void * ac__type_new_;
22305 if ((ac__type_new_ *) 0)
22307 if (sizeof (ac__type_new_))
22313 rm -f conftest.$ac_objext
22314 if { (ac_try="$ac_compile"
22315 case "(($ac_try" in
22316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22317 *) ac_try_echo
=$ac_try;;
22319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22320 (eval "$ac_compile") 2>conftest.er1
22322 grep -v '^ *+' conftest.er1
>conftest.err
22324 cat conftest.err
>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } && {
22327 test -z "$ac_c_werror_flag" ||
22328 test ! -s conftest.err
22329 } && test -s conftest.
$ac_objext; then
22330 ac_cv_type_void_p
=yes
22332 echo "$as_me: failed program was:" >&5
22333 sed 's/^/| /' conftest.
$ac_ext >&5
22335 ac_cv_type_void_p
=no
22338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22340 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22341 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22343 # The cast to long int works around a bug in the HP C Compiler
22344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22346 # This bug is HP SR number 8606223364.
22347 { echo "$as_me:$LINENO: checking size of void *" >&5
22348 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22349 if test "${ac_cv_sizeof_void_p+set}" = set; then
22350 echo $ECHO_N "(cached) $ECHO_C" >&6
22352 if test "$cross_compiling" = yes; then
22353 # Depending upon the size, compute the lo and hi bounds.
22354 cat >conftest.
$ac_ext <<_ACEOF
22357 cat confdefs.h
>>conftest.
$ac_ext
22358 cat >>conftest.
$ac_ext <<_ACEOF
22359 /* end confdefs.h. */
22360 $ac_includes_default
22361 typedef void * ac__type_sizeof_;
22365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22372 rm -f conftest.
$ac_objext
22373 if { (ac_try
="$ac_compile"
22374 case "(($ac_try" in
22375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22376 *) ac_try_echo=$ac_try;;
22378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22379 (eval "$ac_compile") 2>conftest.er1
22381 grep -v '^ *+' conftest.er1 >conftest.err
22383 cat conftest.err >&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } && {
22386 test -z "$ac_c_werror_flag" ||
22387 test ! -s conftest.err
22388 } && test -s conftest.$ac_objext; then
22391 cat >conftest.$ac_ext <<_ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22397 $ac_includes_default
22398 typedef void * ac__type_sizeof_;
22402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22409 rm -f conftest.$ac_objext
22410 if { (ac_try="$ac_compile"
22411 case "(($ac_try" in
22412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22413 *) ac_try_echo
=$ac_try;;
22415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_compile") 2>conftest.er1
22418 grep -v '^ *+' conftest.er1
>conftest.err
22420 cat conftest.err
>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } && {
22423 test -z "$ac_c_werror_flag" ||
22424 test ! -s conftest.err
22425 } && test -s conftest.
$ac_objext; then
22426 ac_hi
=$ac_mid; break
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.
$ac_ext >&5
22431 ac_lo
=`expr $ac_mid + 1`
22432 if test $ac_lo -le $ac_mid; then
22436 ac_mid
=`expr 2 '*' $ac_mid + 1`
22439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22442 echo "$as_me: failed program was:" >&5
22443 sed 's/^/| /' conftest.
$ac_ext >&5
22445 cat >conftest.
$ac_ext <<_ACEOF
22448 cat confdefs.h
>>conftest.
$ac_ext
22449 cat >>conftest.
$ac_ext <<_ACEOF
22450 /* end confdefs.h. */
22451 $ac_includes_default
22452 typedef void * ac__type_sizeof_;
22456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22463 rm -f conftest.
$ac_objext
22464 if { (ac_try
="$ac_compile"
22465 case "(($ac_try" in
22466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_compile") 2>conftest.er1
22472 grep -v '^ *+' conftest.er1 >conftest.err
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } && {
22477 test -z "$ac_c_werror_flag" ||
22478 test ! -s conftest.err
22479 } && test -s conftest.$ac_objext; then
22482 cat >conftest.$ac_ext <<_ACEOF
22485 cat confdefs.h >>conftest.$ac_ext
22486 cat >>conftest.$ac_ext <<_ACEOF
22487 /* end confdefs.h. */
22488 $ac_includes_default
22489 typedef void * ac__type_sizeof_;
22493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22500 rm -f conftest.$ac_objext
22501 if { (ac_try="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22504 *) ac_try_echo
=$ac_try;;
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22509 grep -v '^ *+' conftest.er1
>conftest.err
22511 cat conftest.err
>&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } && {
22514 test -z "$ac_c_werror_flag" ||
22515 test ! -s conftest.err
22516 } && test -s conftest.
$ac_objext; then
22517 ac_lo
=$ac_mid; break
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.
$ac_ext >&5
22522 ac_hi
=`expr '(' $ac_mid ')' - 1`
22523 if test $ac_mid -le $ac_hi; then
22527 ac_mid
=`expr 2 '*' $ac_mid`
22530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22533 echo "$as_me: failed program was:" >&5
22534 sed 's/^/| /' conftest.
$ac_ext >&5
22539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22543 # Binary search between lo and hi bounds.
22544 while test "x$ac_lo" != "x$ac_hi"; do
22545 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22546 cat >conftest.
$ac_ext <<_ACEOF
22549 cat confdefs.h
>>conftest.
$ac_ext
22550 cat >>conftest.
$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 $ac_includes_default
22553 typedef void * ac__type_sizeof_;
22557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22564 rm -f conftest.
$ac_objext
22565 if { (ac_try
="$ac_compile"
22566 case "(($ac_try" in
22567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22568 *) ac_try_echo=$ac_try;;
22570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22571 (eval "$ac_compile") 2>conftest.er1
22573 grep -v '^ *+' conftest.er1 >conftest.err
22575 cat conftest.err >&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } && {
22578 test -z "$ac_c_werror_flag" ||
22579 test ! -s conftest.err
22580 } && test -s conftest.$ac_objext; then
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.$ac_ext >&5
22586 ac_lo=`expr '(' $ac_mid ')' + 1`
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22592 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22593 '') if test "$ac_cv_type_void_p" = yes; then
22594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22595 See \`config.log
' for more details." >&5
22596 echo "$as_me: error: cannot compute sizeof (void *)
22597 See \`config.log' for more details.
" >&2;}
22598 { (exit 77); exit 77; }; }
22600 ac_cv_sizeof_void_p=0
22604 cat >conftest.$ac_ext <<_ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610 $ac_includes_default
22611 typedef void * ac__type_sizeof_;
22612 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22613 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22615 #include <stdlib.h>
22620 FILE *f = fopen ("conftest.val
", "w
");
22623 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22625 long int i = longval ();
22626 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22628 fprintf (f, "%ld
\n", i);
22632 unsigned long int i = ulongval ();
22633 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22635 fprintf (f, "%lu
\n", i);
22637 return ferror (f) || fclose (f) != 0;
22643 rm -f conftest$ac_exeext
22644 if { (ac_try="$ac_link"
22645 case "(($ac_try" in
22646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22647 *) ac_try_echo=$ac_try;;
22649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22650 (eval "$ac_link") 2>&5
22652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22654 { (case "(($ac_try" in
22655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22656 *) ac_try_echo=$ac_try;;
22658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22659 (eval "$ac_try") 2>&5
22661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22662 (exit $ac_status); }; }; then
22663 ac_cv_sizeof_void_p=`cat conftest.val`
22665 echo "$as_me: program exited with status
$ac_status" >&5
22666 echo "$as_me: failed program was
:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22669 ( exit $ac_status )
22670 if test "$ac_cv_type_void_p" = yes; then
22671 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22672 See \
`config.log' for more details." >&5
22673 echo "$as_me: error: cannot compute sizeof (void *)
22674 See \`config.log
' for more details." >&2;}
22675 { (exit 77); exit 77; }; }
22677 ac_cv_sizeof_void_p=0
22680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22684 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22685 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22689 cat >>confdefs.h <<_ACEOF
22690 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22694 { echo "$as_me:$LINENO: checking for int" >&5
22695 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22696 if test "${ac_cv_type_int+set}" = set; then
22697 echo $ECHO_N "(cached) $ECHO_C" >&6
22699 cat >conftest.$ac_ext <<_ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22706 typedef int ac__type_new_;
22710 if ((ac__type_new_ *) 0)
22712 if (sizeof (ac__type_new_))
22718 rm -f conftest.$ac_objext
22719 if { (ac_try="$ac_compile"
22720 case "(($ac_try" in
22721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22722 *) ac_try_echo=$ac_try;;
22724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22725 (eval "$ac_compile") 2>conftest.er1
22727 grep -v '^
*+' conftest.er1 >conftest.err
22729 cat conftest.err >&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && {
22732 test -z "$ac_c_werror_flag" ||
22733 test ! -s conftest.err
22734 } && test -s conftest.$ac_objext; then
22737 echo "$as_me: failed program was:" >&5
22738 sed 's
/^
/| /' conftest.$ac_ext >&5
22743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22745 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22746 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22748 # The cast to long int works around a bug in the HP C Compiler
22749 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22750 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22751 # This bug is HP SR number 8606223364.
22752 { echo "$as_me:$LINENO: checking size of int" >&5
22753 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22754 if test "${ac_cv_sizeof_int+set}" = set; then
22755 echo $ECHO_N "(cached) $ECHO_C" >&6
22757 if test "$cross_compiling" = yes; then
22758 # Depending upon the size, compute the lo and hi bounds.
22759 cat >conftest.
$ac_ext <<_ACEOF
22762 cat confdefs.h
>>conftest.
$ac_ext
22763 cat >>conftest.
$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22765 $ac_includes_default
22766 typedef int ac__type_sizeof_;
22770 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22777 rm -f conftest.
$ac_objext
22778 if { (ac_try
="$ac_compile"
22779 case "(($ac_try" in
22780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22781 *) ac_try_echo=$ac_try;;
22783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22784 (eval "$ac_compile") 2>conftest.er1
22786 grep -v '^ *+' conftest.er1 >conftest.err
22788 cat conftest.err >&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } && {
22791 test -z "$ac_c_werror_flag" ||
22792 test ! -s conftest.err
22793 } && test -s conftest.$ac_objext; then
22796 cat >conftest.$ac_ext <<_ACEOF
22799 cat confdefs.h >>conftest.$ac_ext
22800 cat >>conftest.$ac_ext <<_ACEOF
22801 /* end confdefs.h. */
22802 $ac_includes_default
22803 typedef int ac__type_sizeof_;
22807 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22814 rm -f conftest.$ac_objext
22815 if { (ac_try="$ac_compile"
22816 case "(($ac_try" in
22817 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22818 *) ac_try_echo
=$ac_try;;
22820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22821 (eval "$ac_compile") 2>conftest.er1
22823 grep -v '^ *+' conftest.er1
>conftest.err
22825 cat conftest.err
>&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); } && {
22828 test -z "$ac_c_werror_flag" ||
22829 test ! -s conftest.err
22830 } && test -s conftest.
$ac_objext; then
22831 ac_hi
=$ac_mid; break
22833 echo "$as_me: failed program was:" >&5
22834 sed 's/^/| /' conftest.
$ac_ext >&5
22836 ac_lo
=`expr $ac_mid + 1`
22837 if test $ac_lo -le $ac_mid; then
22841 ac_mid
=`expr 2 '*' $ac_mid + 1`
22844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22847 echo "$as_me: failed program was:" >&5
22848 sed 's/^/| /' conftest.
$ac_ext >&5
22850 cat >conftest.
$ac_ext <<_ACEOF
22853 cat confdefs.h
>>conftest.
$ac_ext
22854 cat >>conftest.
$ac_ext <<_ACEOF
22855 /* end confdefs.h. */
22856 $ac_includes_default
22857 typedef int ac__type_sizeof_;
22861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22868 rm -f conftest.
$ac_objext
22869 if { (ac_try
="$ac_compile"
22870 case "(($ac_try" in
22871 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22872 *) ac_try_echo=$ac_try;;
22874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875 (eval "$ac_compile") 2>conftest.er1
22877 grep -v '^ *+' conftest.er1 >conftest.err
22879 cat conftest.err >&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); } && {
22882 test -z "$ac_c_werror_flag" ||
22883 test ! -s conftest.err
22884 } && test -s conftest.$ac_objext; then
22887 cat >conftest.$ac_ext <<_ACEOF
22890 cat confdefs.h >>conftest.$ac_ext
22891 cat >>conftest.$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22893 $ac_includes_default
22894 typedef int ac__type_sizeof_;
22898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22905 rm -f conftest.$ac_objext
22906 if { (ac_try="$ac_compile"
22907 case "(($ac_try" in
22908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22909 *) ac_try_echo
=$ac_try;;
22911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_compile") 2>conftest.er1
22914 grep -v '^ *+' conftest.er1
>conftest.err
22916 cat conftest.err
>&5
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); } && {
22919 test -z "$ac_c_werror_flag" ||
22920 test ! -s conftest.err
22921 } && test -s conftest.
$ac_objext; then
22922 ac_lo
=$ac_mid; break
22924 echo "$as_me: failed program was:" >&5
22925 sed 's/^/| /' conftest.
$ac_ext >&5
22927 ac_hi
=`expr '(' $ac_mid ')' - 1`
22928 if test $ac_mid -le $ac_hi; then
22932 ac_mid
=`expr 2 '*' $ac_mid`
22935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22938 echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.
$ac_ext >&5
22944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22948 # Binary search between lo and hi bounds.
22949 while test "x$ac_lo" != "x$ac_hi"; do
22950 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22951 cat >conftest.
$ac_ext <<_ACEOF
22954 cat confdefs.h
>>conftest.
$ac_ext
22955 cat >>conftest.
$ac_ext <<_ACEOF
22956 /* end confdefs.h. */
22957 $ac_includes_default
22958 typedef int ac__type_sizeof_;
22962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22969 rm -f conftest.
$ac_objext
22970 if { (ac_try
="$ac_compile"
22971 case "(($ac_try" in
22972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22973 *) ac_try_echo=$ac_try;;
22975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22976 (eval "$ac_compile") 2>conftest.er1
22978 grep -v '^ *+' conftest.er1 >conftest.err
22980 cat conftest.err >&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } && {
22983 test -z "$ac_c_werror_flag" ||
22984 test ! -s conftest.err
22985 } && test -s conftest.$ac_objext; then
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.$ac_ext >&5
22991 ac_lo=`expr '(' $ac_mid ')' + 1`
22994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22997 ?*) ac_cv_sizeof_int=$ac_lo;;
22998 '') if test "$ac_cv_type_int" = yes; then
22999 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23000 See \`config.log
' for more details." >&5
23001 echo "$as_me: error: cannot compute sizeof (int)
23002 See \`config.log' for more details.
" >&2;}
23003 { (exit 77); exit 77; }; }
23009 cat >conftest.$ac_ext <<_ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 $ac_includes_default
23016 typedef int ac__type_sizeof_;
23017 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23018 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23020 #include <stdlib.h>
23025 FILE *f = fopen ("conftest.val
", "w
");
23028 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23030 long int i = longval ();
23031 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23033 fprintf (f, "%ld
\n", i);
23037 unsigned long int i = ulongval ();
23038 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23040 fprintf (f, "%lu
\n", i);
23042 return ferror (f) || fclose (f) != 0;
23048 rm -f conftest$ac_exeext
23049 if { (ac_try="$ac_link"
23050 case "(($ac_try" in
23051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23052 *) ac_try_echo=$ac_try;;
23054 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23055 (eval "$ac_link") 2>&5
23057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23059 { (case "(($ac_try" in
23060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23061 *) ac_try_echo=$ac_try;;
23063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23064 (eval "$ac_try") 2>&5
23066 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23067 (exit $ac_status); }; }; then
23068 ac_cv_sizeof_int=`cat conftest.val`
23070 echo "$as_me: program exited with status
$ac_status" >&5
23071 echo "$as_me: failed program was
:" >&5
23072 sed 's/^/| /' conftest.$ac_ext >&5
23074 ( exit $ac_status )
23075 if test "$ac_cv_type_int" = yes; then
23076 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
23077 See \
`config.log' for more details." >&5
23078 echo "$as_me: error: cannot compute sizeof (int)
23079 See \`config.log
' for more details." >&2;}
23080 { (exit 77); exit 77; }; }
23085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23089 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23090 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23094 cat >>confdefs.h <<_ACEOF
23095 #define SIZEOF_INT $ac_cv_sizeof_int
23099 { echo "$as_me:$LINENO: checking for long" >&5
23100 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23101 if test "${ac_cv_type_long+set}" = set; then
23102 echo $ECHO_N "(cached) $ECHO_C" >&6
23104 cat >conftest.$ac_ext <<_ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 typedef long ac__type_new_;
23115 if ((ac__type_new_ *) 0)
23117 if (sizeof (ac__type_new_))
23123 rm -f conftest.$ac_objext
23124 if { (ac_try="$ac_compile"
23125 case "(($ac_try" in
23126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127 *) ac_try_echo=$ac_try;;
23129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23130 (eval "$ac_compile") 2>conftest.er1
23132 grep -v '^
*+' conftest.er1 >conftest.err
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && {
23137 test -z "$ac_c_werror_flag" ||
23138 test ! -s conftest.err
23139 } && test -s conftest.$ac_objext; then
23140 ac_cv_type_long=yes
23142 echo "$as_me: failed program was:" >&5
23143 sed 's
/^
/| /' conftest.$ac_ext >&5
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23150 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23151 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23153 # The cast to long int works around a bug in the HP C Compiler
23154 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23155 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23156 # This bug is HP SR number 8606223364.
23157 { echo "$as_me:$LINENO: checking size of long" >&5
23158 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23159 if test "${ac_cv_sizeof_long+set}" = set; then
23160 echo $ECHO_N "(cached) $ECHO_C" >&6
23162 if test "$cross_compiling" = yes; then
23163 # Depending upon the size, compute the lo and hi bounds.
23164 cat >conftest.
$ac_ext <<_ACEOF
23167 cat confdefs.h
>>conftest.
$ac_ext
23168 cat >>conftest.
$ac_ext <<_ACEOF
23169 /* end confdefs.h. */
23170 $ac_includes_default
23171 typedef long ac__type_sizeof_;
23175 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23182 rm -f conftest.
$ac_objext
23183 if { (ac_try
="$ac_compile"
23184 case "(($ac_try" in
23185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23186 *) ac_try_echo=$ac_try;;
23188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23189 (eval "$ac_compile") 2>conftest.er1
23191 grep -v '^ *+' conftest.er1 >conftest.err
23193 cat conftest.err >&5
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); } && {
23196 test -z "$ac_c_werror_flag" ||
23197 test ! -s conftest.err
23198 } && test -s conftest.$ac_objext; then
23201 cat >conftest.$ac_ext <<_ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 $ac_includes_default
23208 typedef long ac__type_sizeof_;
23212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23219 rm -f conftest.$ac_objext
23220 if { (ac_try="$ac_compile"
23221 case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23223 *) ac_try_echo
=$ac_try;;
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_compile") 2>conftest.er1
23228 grep -v '^ *+' conftest.er1
>conftest.err
23230 cat conftest.err
>&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } && {
23233 test -z "$ac_c_werror_flag" ||
23234 test ! -s conftest.err
23235 } && test -s conftest.
$ac_objext; then
23236 ac_hi
=$ac_mid; break
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.
$ac_ext >&5
23241 ac_lo
=`expr $ac_mid + 1`
23242 if test $ac_lo -le $ac_mid; then
23246 ac_mid
=`expr 2 '*' $ac_mid + 1`
23249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23252 echo "$as_me: failed program was:" >&5
23253 sed 's/^/| /' conftest.
$ac_ext >&5
23255 cat >conftest.
$ac_ext <<_ACEOF
23258 cat confdefs.h
>>conftest.
$ac_ext
23259 cat >>conftest.
$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 $ac_includes_default
23262 typedef long ac__type_sizeof_;
23266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23273 rm -f conftest.
$ac_objext
23274 if { (ac_try
="$ac_compile"
23275 case "(($ac_try" in
23276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23277 *) ac_try_echo=$ac_try;;
23279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 (eval "$ac_compile") 2>conftest.er1
23282 grep -v '^ *+' conftest.er1 >conftest.err
23284 cat conftest.err >&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } && {
23287 test -z "$ac_c_werror_flag" ||
23288 test ! -s conftest.err
23289 } && test -s conftest.$ac_objext; then
23292 cat >conftest.$ac_ext <<_ACEOF
23295 cat confdefs.h >>conftest.$ac_ext
23296 cat >>conftest.$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23298 $ac_includes_default
23299 typedef long ac__type_sizeof_;
23303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23310 rm -f conftest.$ac_objext
23311 if { (ac_try="$ac_compile"
23312 case "(($ac_try" in
23313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23314 *) ac_try_echo
=$ac_try;;
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_compile") 2>conftest.er1
23319 grep -v '^ *+' conftest.er1
>conftest.err
23321 cat conftest.err
>&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } && {
23324 test -z "$ac_c_werror_flag" ||
23325 test ! -s conftest.err
23326 } && test -s conftest.
$ac_objext; then
23327 ac_lo
=$ac_mid; break
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.
$ac_ext >&5
23332 ac_hi
=`expr '(' $ac_mid ')' - 1`
23333 if test $ac_mid -le $ac_hi; then
23337 ac_mid
=`expr 2 '*' $ac_mid`
23340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.
$ac_ext >&5
23349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23353 # Binary search between lo and hi bounds.
23354 while test "x$ac_lo" != "x$ac_hi"; do
23355 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23356 cat >conftest.
$ac_ext <<_ACEOF
23359 cat confdefs.h
>>conftest.
$ac_ext
23360 cat >>conftest.
$ac_ext <<_ACEOF
23361 /* end confdefs.h. */
23362 $ac_includes_default
23363 typedef long ac__type_sizeof_;
23367 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23374 rm -f conftest.
$ac_objext
23375 if { (ac_try
="$ac_compile"
23376 case "(($ac_try" in
23377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23378 *) ac_try_echo=$ac_try;;
23380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23381 (eval "$ac_compile") 2>conftest.er1
23383 grep -v '^ *+' conftest.er1 >conftest.err
23385 cat conftest.err >&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } && {
23388 test -z "$ac_c_werror_flag" ||
23389 test ! -s conftest.err
23390 } && test -s conftest.$ac_objext; then
23393 echo "$as_me: failed program was:" >&5
23394 sed 's/^/| /' conftest.$ac_ext >&5
23396 ac_lo=`expr '(' $ac_mid ')' + 1`
23399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23402 ?*) ac_cv_sizeof_long=$ac_lo;;
23403 '') if test "$ac_cv_type_long" = yes; then
23404 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23405 See \`config.log
' for more details." >&5
23406 echo "$as_me: error: cannot compute sizeof (long)
23407 See \`config.log' for more details.
" >&2;}
23408 { (exit 77); exit 77; }; }
23410 ac_cv_sizeof_long=0
23414 cat >conftest.$ac_ext <<_ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420 $ac_includes_default
23421 typedef long ac__type_sizeof_;
23422 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23423 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23425 #include <stdlib.h>
23430 FILE *f = fopen ("conftest.val
", "w
");
23433 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23435 long int i = longval ();
23436 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23438 fprintf (f, "%ld
\n", i);
23442 unsigned long int i = ulongval ();
23443 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23445 fprintf (f, "%lu
\n", i);
23447 return ferror (f) || fclose (f) != 0;
23453 rm -f conftest$ac_exeext
23454 if { (ac_try="$ac_link"
23455 case "(($ac_try" in
23456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23457 *) ac_try_echo=$ac_try;;
23459 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23460 (eval "$ac_link") 2>&5
23462 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23464 { (case "(($ac_try" in
23465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23466 *) ac_try_echo=$ac_try;;
23468 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23469 (eval "$ac_try") 2>&5
23471 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 ac_cv_sizeof_long=`cat conftest.val`
23475 echo "$as_me: program exited with status
$ac_status" >&5
23476 echo "$as_me: failed program was
:" >&5
23477 sed 's/^/| /' conftest.$ac_ext >&5
23479 ( exit $ac_status )
23480 if test "$ac_cv_type_long" = yes; then
23481 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23482 See \
`config.log' for more details." >&5
23483 echo "$as_me: error: cannot compute sizeof (long)
23484 See \`config.log
' for more details." >&2;}
23485 { (exit 77); exit 77; }; }
23487 ac_cv_sizeof_long=0
23490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23494 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23495 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23499 cat >>confdefs.h <<_ACEOF
23500 #define SIZEOF_LONG $ac_cv_sizeof_long
23504 { echo "$as_me:$LINENO: checking for size_t" >&5
23505 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23506 if test "${ac_cv_type_size_t+set}" = set; then
23507 echo $ECHO_N "(cached) $ECHO_C" >&6
23509 cat >conftest.$ac_ext <<_ACEOF
23512 cat confdefs.h >>conftest.$ac_ext
23513 cat >>conftest.$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 $ac_includes_default
23516 typedef size_t ac__type_new_;
23520 if ((ac__type_new_ *) 0)
23522 if (sizeof (ac__type_new_))
23528 rm -f conftest.$ac_objext
23529 if { (ac_try="$ac_compile"
23530 case "(($ac_try" in
23531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23532 *) ac_try_echo=$ac_try;;
23534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23535 (eval "$ac_compile") 2>conftest.er1
23537 grep -v '^
*+' conftest.er1 >conftest.err
23539 cat conftest.err >&5
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); } && {
23542 test -z "$ac_c_werror_flag" ||
23543 test ! -s conftest.err
23544 } && test -s conftest.$ac_objext; then
23545 ac_cv_type_size_t=yes
23547 echo "$as_me: failed program was:" >&5
23548 sed 's
/^
/| /' conftest.$ac_ext >&5
23550 ac_cv_type_size_t=no
23553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23555 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23556 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23558 # The cast to long int works around a bug in the HP C Compiler
23559 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23560 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23561 # This bug is HP SR number 8606223364.
23562 { echo "$as_me:$LINENO: checking size of size_t" >&5
23563 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23564 if test "${ac_cv_sizeof_size_t+set}" = set; then
23565 echo $ECHO_N "(cached) $ECHO_C" >&6
23567 if test "$cross_compiling" = yes; then
23568 # Depending upon the size, compute the lo and hi bounds.
23569 cat >conftest.
$ac_ext <<_ACEOF
23572 cat confdefs.h
>>conftest.
$ac_ext
23573 cat >>conftest.
$ac_ext <<_ACEOF
23574 /* end confdefs.h. */
23575 $ac_includes_default
23576 typedef size_t ac__type_sizeof_;
23580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23587 rm -f conftest.
$ac_objext
23588 if { (ac_try
="$ac_compile"
23589 case "(($ac_try" in
23590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23591 *) ac_try_echo=$ac_try;;
23593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23594 (eval "$ac_compile") 2>conftest.er1
23596 grep -v '^ *+' conftest.er1 >conftest.err
23598 cat conftest.err >&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } && {
23601 test -z "$ac_c_werror_flag" ||
23602 test ! -s conftest.err
23603 } && test -s conftest.$ac_objext; then
23606 cat >conftest.$ac_ext <<_ACEOF
23609 cat confdefs.h >>conftest.$ac_ext
23610 cat >>conftest.$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23612 $ac_includes_default
23613 typedef size_t ac__type_sizeof_;
23617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23624 rm -f conftest.$ac_objext
23625 if { (ac_try="$ac_compile"
23626 case "(($ac_try" in
23627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23628 *) ac_try_echo
=$ac_try;;
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_compile") 2>conftest.er1
23633 grep -v '^ *+' conftest.er1
>conftest.err
23635 cat conftest.err
>&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); } && {
23638 test -z "$ac_c_werror_flag" ||
23639 test ! -s conftest.err
23640 } && test -s conftest.
$ac_objext; then
23641 ac_hi
=$ac_mid; break
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.
$ac_ext >&5
23646 ac_lo
=`expr $ac_mid + 1`
23647 if test $ac_lo -le $ac_mid; then
23651 ac_mid
=`expr 2 '*' $ac_mid + 1`
23654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.
$ac_ext >&5
23660 cat >conftest.
$ac_ext <<_ACEOF
23663 cat confdefs.h
>>conftest.
$ac_ext
23664 cat >>conftest.
$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23666 $ac_includes_default
23667 typedef size_t ac__type_sizeof_;
23671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23678 rm -f conftest.
$ac_objext
23679 if { (ac_try
="$ac_compile"
23680 case "(($ac_try" in
23681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23682 *) ac_try_echo=$ac_try;;
23684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23685 (eval "$ac_compile") 2>conftest.er1
23687 grep -v '^ *+' conftest.er1 >conftest.err
23689 cat conftest.err >&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); } && {
23692 test -z "$ac_c_werror_flag" ||
23693 test ! -s conftest.err
23694 } && test -s conftest.$ac_objext; then
23697 cat >conftest.$ac_ext <<_ACEOF
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703 $ac_includes_default
23704 typedef size_t ac__type_sizeof_;
23708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23715 rm -f conftest.$ac_objext
23716 if { (ac_try="$ac_compile"
23717 case "(($ac_try" in
23718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23719 *) ac_try_echo
=$ac_try;;
23721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23722 (eval "$ac_compile") 2>conftest.er1
23724 grep -v '^ *+' conftest.er1
>conftest.err
23726 cat conftest.err
>&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } && {
23729 test -z "$ac_c_werror_flag" ||
23730 test ! -s conftest.err
23731 } && test -s conftest.
$ac_objext; then
23732 ac_lo
=$ac_mid; break
23734 echo "$as_me: failed program was:" >&5
23735 sed 's/^/| /' conftest.
$ac_ext >&5
23737 ac_hi
=`expr '(' $ac_mid ')' - 1`
23738 if test $ac_mid -le $ac_hi; then
23742 ac_mid
=`expr 2 '*' $ac_mid`
23745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23748 echo "$as_me: failed program was:" >&5
23749 sed 's/^/| /' conftest.
$ac_ext >&5
23754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23758 # Binary search between lo and hi bounds.
23759 while test "x$ac_lo" != "x$ac_hi"; do
23760 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23761 cat >conftest.
$ac_ext <<_ACEOF
23764 cat confdefs.h
>>conftest.
$ac_ext
23765 cat >>conftest.
$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23767 $ac_includes_default
23768 typedef size_t ac__type_sizeof_;
23772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23779 rm -f conftest.
$ac_objext
23780 if { (ac_try
="$ac_compile"
23781 case "(($ac_try" in
23782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23783 *) ac_try_echo=$ac_try;;
23785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23786 (eval "$ac_compile") 2>conftest.er1
23788 grep -v '^ *+' conftest.er1 >conftest.err
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } && {
23793 test -z "$ac_c_werror_flag" ||
23794 test ! -s conftest.err
23795 } && test -s conftest.$ac_objext; then
23798 echo "$as_me: failed program was:" >&5
23799 sed 's/^/| /' conftest.$ac_ext >&5
23801 ac_lo=`expr '(' $ac_mid ')' + 1`
23804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23807 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23808 '') if test "$ac_cv_type_size_t" = yes; then
23809 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23810 See \`config.log
' for more details." >&5
23811 echo "$as_me: error: cannot compute sizeof (size_t)
23812 See \`config.log' for more details.
" >&2;}
23813 { (exit 77); exit 77; }; }
23815 ac_cv_sizeof_size_t=0
23819 cat >conftest.$ac_ext <<_ACEOF
23822 cat confdefs.h >>conftest.$ac_ext
23823 cat >>conftest.$ac_ext <<_ACEOF
23824 /* end confdefs.h. */
23825 $ac_includes_default
23826 typedef size_t ac__type_sizeof_;
23827 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23828 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23830 #include <stdlib.h>
23835 FILE *f = fopen ("conftest.val
", "w
");
23838 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23840 long int i = longval ();
23841 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23843 fprintf (f, "%ld
\n", i);
23847 unsigned long int i = ulongval ();
23848 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23850 fprintf (f, "%lu
\n", i);
23852 return ferror (f) || fclose (f) != 0;
23858 rm -f conftest$ac_exeext
23859 if { (ac_try="$ac_link"
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_link") 2>&5
23867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23869 { (case "(($ac_try" in
23870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23871 *) ac_try_echo=$ac_try;;
23873 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23874 (eval "$ac_try") 2>&5
23876 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23877 (exit $ac_status); }; }; then
23878 ac_cv_sizeof_size_t=`cat conftest.val`
23880 echo "$as_me: program exited with status
$ac_status" >&5
23881 echo "$as_me: failed program was
:" >&5
23882 sed 's/^/| /' conftest.$ac_ext >&5
23884 ( exit $ac_status )
23885 if test "$ac_cv_type_size_t" = yes; then
23886 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23887 See \
`config.log' for more details." >&5
23888 echo "$as_me: error: cannot compute sizeof (size_t)
23889 See \`config.log
' for more details." >&2;}
23890 { (exit 77); exit 77; }; }
23892 ac_cv_sizeof_size_t=0
23895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23899 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23900 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23904 cat >>confdefs.h <<_ACEOF
23905 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23912 { echo "$as_me:$LINENO: checking for long long" >&5
23913 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23914 if test "${ac_cv_type_long_long+set}" = set; then
23915 echo $ECHO_N "(cached) $ECHO_C" >&6
23917 cat >conftest.$ac_ext <<_ACEOF
23920 cat confdefs.h >>conftest.$ac_ext
23921 cat >>conftest.$ac_ext <<_ACEOF
23922 /* end confdefs.h. */
23923 $ac_includes_default
23924 typedef long long ac__type_new_;
23928 if ((ac__type_new_ *) 0)
23930 if (sizeof (ac__type_new_))
23936 rm -f conftest.$ac_objext
23937 if { (ac_try="$ac_compile"
23938 case "(($ac_try" in
23939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940 *) ac_try_echo=$ac_try;;
23942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23943 (eval "$ac_compile") 2>conftest.er1
23945 grep -v '^
*+' conftest.er1 >conftest.err
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } && {
23950 test -z "$ac_c_werror_flag" ||
23951 test ! -s conftest.err
23952 } && test -s conftest.$ac_objext; then
23953 ac_cv_type_long_long=yes
23955 echo "$as_me: failed program was:" >&5
23956 sed 's
/^
/| /' conftest.$ac_ext >&5
23958 ac_cv_type_long_long=no
23961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23963 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23964 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23966 # The cast to long int works around a bug in the HP C Compiler
23967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23969 # This bug is HP SR number 8606223364.
23970 { echo "$as_me:$LINENO: checking size of long long" >&5
23971 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23972 if test "${ac_cv_sizeof_long_long+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23975 if test "$cross_compiling" = yes; then
23976 # Depending upon the size, compute the lo and hi bounds.
23977 cat >conftest.
$ac_ext <<_ACEOF
23980 cat confdefs.h
>>conftest.
$ac_ext
23981 cat >>conftest.
$ac_ext <<_ACEOF
23982 /* end confdefs.h. */
23983 $ac_includes_default
23984 typedef long long ac__type_sizeof_;
23988 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23995 rm -f conftest.
$ac_objext
23996 if { (ac_try
="$ac_compile"
23997 case "(($ac_try" in
23998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_compile") 2>conftest.er1
24004 grep -v '^ *+' conftest.er1 >conftest.err
24006 cat conftest.err >&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } && {
24009 test -z "$ac_c_werror_flag" ||
24010 test ! -s conftest.err
24011 } && test -s conftest.$ac_objext; then
24014 cat >conftest.$ac_ext <<_ACEOF
24017 cat confdefs.h >>conftest.$ac_ext
24018 cat >>conftest.$ac_ext <<_ACEOF
24019 /* end confdefs.h. */
24020 $ac_includes_default
24021 typedef long long ac__type_sizeof_;
24025 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24032 rm -f conftest.$ac_objext
24033 if { (ac_try="$ac_compile"
24034 case "(($ac_try" in
24035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24036 *) ac_try_echo
=$ac_try;;
24038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24039 (eval "$ac_compile") 2>conftest.er1
24041 grep -v '^ *+' conftest.er1
>conftest.err
24043 cat conftest.err
>&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); } && {
24046 test -z "$ac_c_werror_flag" ||
24047 test ! -s conftest.err
24048 } && test -s conftest.
$ac_objext; then
24049 ac_hi
=$ac_mid; break
24051 echo "$as_me: failed program was:" >&5
24052 sed 's/^/| /' conftest.
$ac_ext >&5
24054 ac_lo
=`expr $ac_mid + 1`
24055 if test $ac_lo -le $ac_mid; then
24059 ac_mid
=`expr 2 '*' $ac_mid + 1`
24062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.
$ac_ext >&5
24068 cat >conftest.
$ac_ext <<_ACEOF
24071 cat confdefs.h
>>conftest.
$ac_ext
24072 cat >>conftest.
$ac_ext <<_ACEOF
24073 /* end confdefs.h. */
24074 $ac_includes_default
24075 typedef long long ac__type_sizeof_;
24079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24086 rm -f conftest.
$ac_objext
24087 if { (ac_try
="$ac_compile"
24088 case "(($ac_try" in
24089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24090 *) ac_try_echo=$ac_try;;
24092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24093 (eval "$ac_compile") 2>conftest.er1
24095 grep -v '^ *+' conftest.er1 >conftest.err
24097 cat conftest.err >&5
24098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099 (exit $ac_status); } && {
24100 test -z "$ac_c_werror_flag" ||
24101 test ! -s conftest.err
24102 } && test -s conftest.$ac_objext; then
24105 cat >conftest.$ac_ext <<_ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111 $ac_includes_default
24112 typedef long long ac__type_sizeof_;
24116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24123 rm -f conftest.$ac_objext
24124 if { (ac_try="$ac_compile"
24125 case "(($ac_try" in
24126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24127 *) ac_try_echo
=$ac_try;;
24129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24130 (eval "$ac_compile") 2>conftest.er1
24132 grep -v '^ *+' conftest.er1
>conftest.err
24134 cat conftest.err
>&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); } && {
24137 test -z "$ac_c_werror_flag" ||
24138 test ! -s conftest.err
24139 } && test -s conftest.
$ac_objext; then
24140 ac_lo
=$ac_mid; break
24142 echo "$as_me: failed program was:" >&5
24143 sed 's/^/| /' conftest.
$ac_ext >&5
24145 ac_hi
=`expr '(' $ac_mid ')' - 1`
24146 if test $ac_mid -le $ac_hi; then
24150 ac_mid
=`expr 2 '*' $ac_mid`
24153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.
$ac_ext >&5
24162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24166 # Binary search between lo and hi bounds.
24167 while test "x$ac_lo" != "x$ac_hi"; do
24168 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24169 cat >conftest.
$ac_ext <<_ACEOF
24172 cat confdefs.h
>>conftest.
$ac_ext
24173 cat >>conftest.
$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24175 $ac_includes_default
24176 typedef long long ac__type_sizeof_;
24180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24187 rm -f conftest.
$ac_objext
24188 if { (ac_try
="$ac_compile"
24189 case "(($ac_try" in
24190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24191 *) ac_try_echo=$ac_try;;
24193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24194 (eval "$ac_compile") 2>conftest.er1
24196 grep -v '^ *+' conftest.er1 >conftest.err
24198 cat conftest.err >&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } && {
24201 test -z "$ac_c_werror_flag" ||
24202 test ! -s conftest.err
24203 } && test -s conftest.$ac_objext; then
24206 echo "$as_me: failed program was:" >&5
24207 sed 's/^/| /' conftest.$ac_ext >&5
24209 ac_lo=`expr '(' $ac_mid ')' + 1`
24212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24215 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24216 '') if test "$ac_cv_type_long_long" = yes; then
24217 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24218 See \`config.log
' for more details." >&5
24219 echo "$as_me: error: cannot compute sizeof (long long)
24220 See \`config.log' for more details.
" >&2;}
24221 { (exit 77); exit 77; }; }
24223 ac_cv_sizeof_long_long=0
24227 cat >conftest.$ac_ext <<_ACEOF
24230 cat confdefs.h >>conftest.$ac_ext
24231 cat >>conftest.$ac_ext <<_ACEOF
24232 /* end confdefs.h. */
24233 $ac_includes_default
24234 typedef long long ac__type_sizeof_;
24235 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24236 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24238 #include <stdlib.h>
24243 FILE *f = fopen ("conftest.val
", "w
");
24246 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24248 long int i = longval ();
24249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24251 fprintf (f, "%ld
\n", i);
24255 unsigned long int i = ulongval ();
24256 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24258 fprintf (f, "%lu
\n", i);
24260 return ferror (f) || fclose (f) != 0;
24266 rm -f conftest$ac_exeext
24267 if { (ac_try="$ac_link"
24268 case "(($ac_try" in
24269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24270 *) ac_try_echo=$ac_try;;
24272 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24273 (eval "$ac_link") 2>&5
24275 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24277 { (case "(($ac_try" in
24278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24279 *) ac_try_echo=$ac_try;;
24281 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24282 (eval "$ac_try") 2>&5
24284 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24285 (exit $ac_status); }; }; then
24286 ac_cv_sizeof_long_long=`cat conftest.val`
24288 echo "$as_me: program exited with status
$ac_status" >&5
24289 echo "$as_me: failed program was
:" >&5
24290 sed 's/^/| /' conftest.$ac_ext >&5
24292 ( exit $ac_status )
24293 if test "$ac_cv_type_long_long" = yes; then
24294 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24295 See \
`config.log' for more details." >&5
24296 echo "$as_me: error: cannot compute sizeof (long long)
24297 See \`config.log
' for more details." >&2;}
24298 { (exit 77); exit 77; }; }
24300 ac_cv_sizeof_long_long=0
24303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24307 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24308 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24312 cat >>confdefs.h <<_ACEOF
24313 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24319 { echo "$as_me:$LINENO: checking for long long" >&5
24320 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24321 if test "${ac_cv_type_long_long+set}" = set; then
24322 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 cat >conftest.$ac_ext <<_ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 $ac_includes_default
24331 typedef long long ac__type_new_;
24335 if ((ac__type_new_ *) 0)
24337 if (sizeof (ac__type_new_))
24343 rm -f conftest.$ac_objext
24344 if { (ac_try="$ac_compile"
24345 case "(($ac_try" in
24346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24347 *) ac_try_echo=$ac_try;;
24349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24350 (eval "$ac_compile") 2>conftest.er1
24352 grep -v '^
*+' conftest.er1 >conftest.err
24354 cat conftest.err >&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } && {
24357 test -z "$ac_c_werror_flag" ||
24358 test ! -s conftest.err
24359 } && test -s conftest.$ac_objext; then
24360 ac_cv_type_long_long=yes
24362 echo "$as_me: failed program was:" >&5
24363 sed 's
/^
/| /' conftest.$ac_ext >&5
24365 ac_cv_type_long_long=no
24368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24370 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24371 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24373 # The cast to long int works around a bug in the HP C Compiler
24374 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24376 # This bug is HP SR number 8606223364.
24377 { echo "$as_me:$LINENO: checking size of long long" >&5
24378 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24379 if test "${ac_cv_sizeof_long_long+set}" = set; then
24380 echo $ECHO_N "(cached) $ECHO_C" >&6
24382 if test "$cross_compiling" = yes; then
24383 # Depending upon the size, compute the lo and hi bounds.
24384 cat >conftest.
$ac_ext <<_ACEOF
24387 cat confdefs.h
>>conftest.
$ac_ext
24388 cat >>conftest.
$ac_ext <<_ACEOF
24389 /* end confdefs.h. */
24390 $ac_includes_default
24391 typedef long long ac__type_sizeof_;
24395 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24402 rm -f conftest.
$ac_objext
24403 if { (ac_try
="$ac_compile"
24404 case "(($ac_try" in
24405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24406 *) ac_try_echo=$ac_try;;
24408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24409 (eval "$ac_compile") 2>conftest.er1
24411 grep -v '^ *+' conftest.er1 >conftest.err
24413 cat conftest.err >&5
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); } && {
24416 test -z "$ac_c_werror_flag" ||
24417 test ! -s conftest.err
24418 } && test -s conftest.$ac_objext; then
24421 cat >conftest.$ac_ext <<_ACEOF
24424 cat confdefs.h >>conftest.$ac_ext
24425 cat >>conftest.$ac_ext <<_ACEOF
24426 /* end confdefs.h. */
24427 $ac_includes_default
24428 typedef long long ac__type_sizeof_;
24432 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24439 rm -f conftest.$ac_objext
24440 if { (ac_try="$ac_compile"
24441 case "(($ac_try" in
24442 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24443 *) ac_try_echo
=$ac_try;;
24445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24446 (eval "$ac_compile") 2>conftest.er1
24448 grep -v '^ *+' conftest.er1
>conftest.err
24450 cat conftest.err
>&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); } && {
24453 test -z "$ac_c_werror_flag" ||
24454 test ! -s conftest.err
24455 } && test -s conftest.
$ac_objext; then
24456 ac_hi
=$ac_mid; break
24458 echo "$as_me: failed program was:" >&5
24459 sed 's/^/| /' conftest.
$ac_ext >&5
24461 ac_lo
=`expr $ac_mid + 1`
24462 if test $ac_lo -le $ac_mid; then
24466 ac_mid
=`expr 2 '*' $ac_mid + 1`
24469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.
$ac_ext >&5
24475 cat >conftest.
$ac_ext <<_ACEOF
24478 cat confdefs.h
>>conftest.
$ac_ext
24479 cat >>conftest.
$ac_ext <<_ACEOF
24480 /* end confdefs.h. */
24481 $ac_includes_default
24482 typedef long long ac__type_sizeof_;
24486 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24493 rm -f conftest.
$ac_objext
24494 if { (ac_try
="$ac_compile"
24495 case "(($ac_try" in
24496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24497 *) ac_try_echo=$ac_try;;
24499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24500 (eval "$ac_compile") 2>conftest.er1
24502 grep -v '^ *+' conftest.er1 >conftest.err
24504 cat conftest.err >&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } && {
24507 test -z "$ac_c_werror_flag" ||
24508 test ! -s conftest.err
24509 } && test -s conftest.$ac_objext; then
24512 cat >conftest.$ac_ext <<_ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518 $ac_includes_default
24519 typedef long long ac__type_sizeof_;
24523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24530 rm -f conftest.$ac_objext
24531 if { (ac_try="$ac_compile"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24534 *) ac_try_echo
=$ac_try;;
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_compile") 2>conftest.er1
24539 grep -v '^ *+' conftest.er1
>conftest.err
24541 cat conftest.err
>&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_c_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest.
$ac_objext; then
24547 ac_lo
=$ac_mid; break
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.
$ac_ext >&5
24552 ac_hi
=`expr '(' $ac_mid ')' - 1`
24553 if test $ac_mid -le $ac_hi; then
24557 ac_mid
=`expr 2 '*' $ac_mid`
24560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24563 echo "$as_me: failed program was:" >&5
24564 sed 's/^/| /' conftest.
$ac_ext >&5
24569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24573 # Binary search between lo and hi bounds.
24574 while test "x$ac_lo" != "x$ac_hi"; do
24575 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24576 cat >conftest.
$ac_ext <<_ACEOF
24579 cat confdefs.h
>>conftest.
$ac_ext
24580 cat >>conftest.
$ac_ext <<_ACEOF
24581 /* end confdefs.h. */
24582 $ac_includes_default
24583 typedef long long ac__type_sizeof_;
24587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24594 rm -f conftest.
$ac_objext
24595 if { (ac_try
="$ac_compile"
24596 case "(($ac_try" in
24597 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24598 *) ac_try_echo=$ac_try;;
24600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24601 (eval "$ac_compile") 2>conftest.er1
24603 grep -v '^ *+' conftest.er1 >conftest.err
24605 cat conftest.err >&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); } && {
24608 test -z "$ac_c_werror_flag" ||
24609 test ! -s conftest.err
24610 } && test -s conftest.$ac_objext; then
24613 echo "$as_me: failed program was:" >&5
24614 sed 's/^/| /' conftest.$ac_ext >&5
24616 ac_lo=`expr '(' $ac_mid ')' + 1`
24619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24622 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24623 '') if test "$ac_cv_type_long_long" = yes; then
24624 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24625 See \`config.log
' for more details." >&5
24626 echo "$as_me: error: cannot compute sizeof (long long)
24627 See \`config.log' for more details.
" >&2;}
24628 { (exit 77); exit 77; }; }
24630 ac_cv_sizeof_long_long=0
24634 cat >conftest.$ac_ext <<_ACEOF
24637 cat confdefs.h >>conftest.$ac_ext
24638 cat >>conftest.$ac_ext <<_ACEOF
24639 /* end confdefs.h. */
24640 $ac_includes_default
24641 typedef long long ac__type_sizeof_;
24642 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24643 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24645 #include <stdlib.h>
24650 FILE *f = fopen ("conftest.val
", "w
");
24653 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24655 long int i = longval ();
24656 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24658 fprintf (f, "%ld
\n", i);
24662 unsigned long int i = ulongval ();
24663 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24665 fprintf (f, "%lu
\n", i);
24667 return ferror (f) || fclose (f) != 0;
24673 rm -f conftest$ac_exeext
24674 if { (ac_try="$ac_link"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24679 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_link") 2>&5
24682 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24684 { (case "(($ac_try" in
24685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24686 *) ac_try_echo=$ac_try;;
24688 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24689 (eval "$ac_try") 2>&5
24691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24692 (exit $ac_status); }; }; then
24693 ac_cv_sizeof_long_long=`cat conftest.val`
24695 echo "$as_me: program exited with status
$ac_status" >&5
24696 echo "$as_me: failed program was
:" >&5
24697 sed 's/^/| /' conftest.$ac_ext >&5
24699 ( exit $ac_status )
24700 if test "$ac_cv_type_long_long" = yes; then
24701 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24702 See \
`config.log' for more details." >&5
24703 echo "$as_me: error: cannot compute sizeof (long long)
24704 See \`config.log
' for more details." >&2;}
24705 { (exit 77); exit 77; }; }
24707 ac_cv_sizeof_long_long=0
24710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24714 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24715 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24719 cat >>confdefs.h <<_ACEOF
24720 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24724 if test "$ac_cv_sizeof_long_long" != "0"; then
24725 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24729 { echo "$as_me:$LINENO: checking for long long" >&5
24730 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24731 if test "${ac_cv_type_long_long+set}" = set; then
24732 echo $ECHO_N "(cached) $ECHO_C" >&6
24734 cat >conftest.$ac_ext <<_ACEOF
24737 cat confdefs.h >>conftest.$ac_ext
24738 cat >>conftest.$ac_ext <<_ACEOF
24739 /* end confdefs.h. */
24740 $ac_includes_default
24741 typedef long long ac__type_new_;
24745 if ((ac__type_new_ *) 0)
24747 if (sizeof (ac__type_new_))
24753 rm -f conftest.$ac_objext
24754 if { (ac_try="$ac_compile"
24755 case "(($ac_try" in
24756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24757 *) ac_try_echo=$ac_try;;
24759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24760 (eval "$ac_compile") 2>conftest.er1
24762 grep -v '^
*+' conftest.er1 >conftest.err
24764 cat conftest.err >&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); } && {
24767 test -z "$ac_c_werror_flag" ||
24768 test ! -s conftest.err
24769 } && test -s conftest.$ac_objext; then
24770 ac_cv_type_long_long=yes
24772 echo "$as_me: failed program was:" >&5
24773 sed 's
/^
/| /' conftest.$ac_ext >&5
24775 ac_cv_type_long_long=no
24778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24780 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24781 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24783 # The cast to long int works around a bug in the HP C Compiler
24784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24786 # This bug is HP SR number 8606223364.
24787 { echo "$as_me:$LINENO: checking size of long long" >&5
24788 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24789 if test "${ac_cv_sizeof_long_long+set}" = set; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24792 if test "$cross_compiling" = yes; then
24793 # Depending upon the size, compute the lo and hi bounds.
24794 cat >conftest.
$ac_ext <<_ACEOF
24797 cat confdefs.h
>>conftest.
$ac_ext
24798 cat >>conftest.
$ac_ext <<_ACEOF
24799 /* end confdefs.h. */
24800 $ac_includes_default
24801 typedef long long ac__type_sizeof_;
24805 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24812 rm -f conftest.
$ac_objext
24813 if { (ac_try
="$ac_compile"
24814 case "(($ac_try" in
24815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24816 *) ac_try_echo=$ac_try;;
24818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24819 (eval "$ac_compile") 2>conftest.er1
24821 grep -v '^ *+' conftest.er1 >conftest.err
24823 cat conftest.err >&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); } && {
24826 test -z "$ac_c_werror_flag" ||
24827 test ! -s conftest.err
24828 } && test -s conftest.$ac_objext; then
24831 cat >conftest.$ac_ext <<_ACEOF
24834 cat confdefs.h >>conftest.$ac_ext
24835 cat >>conftest.$ac_ext <<_ACEOF
24836 /* end confdefs.h. */
24837 $ac_includes_default
24838 typedef long long ac__type_sizeof_;
24842 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24849 rm -f conftest.$ac_objext
24850 if { (ac_try="$ac_compile"
24851 case "(($ac_try" in
24852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24853 *) ac_try_echo
=$ac_try;;
24855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24856 (eval "$ac_compile") 2>conftest.er1
24858 grep -v '^ *+' conftest.er1
>conftest.err
24860 cat conftest.err
>&5
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); } && {
24863 test -z "$ac_c_werror_flag" ||
24864 test ! -s conftest.err
24865 } && test -s conftest.
$ac_objext; then
24866 ac_hi
=$ac_mid; break
24868 echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.
$ac_ext >&5
24871 ac_lo
=`expr $ac_mid + 1`
24872 if test $ac_lo -le $ac_mid; then
24876 ac_mid
=`expr 2 '*' $ac_mid + 1`
24879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24882 echo "$as_me: failed program was:" >&5
24883 sed 's/^/| /' conftest.
$ac_ext >&5
24885 cat >conftest.
$ac_ext <<_ACEOF
24888 cat confdefs.h
>>conftest.
$ac_ext
24889 cat >>conftest.
$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 $ac_includes_default
24892 typedef long long ac__type_sizeof_;
24896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24903 rm -f conftest.
$ac_objext
24904 if { (ac_try
="$ac_compile"
24905 case "(($ac_try" in
24906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24907 *) ac_try_echo=$ac_try;;
24909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24910 (eval "$ac_compile") 2>conftest.er1
24912 grep -v '^ *+' conftest.er1 >conftest.err
24914 cat conftest.err >&5
24915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916 (exit $ac_status); } && {
24917 test -z "$ac_c_werror_flag" ||
24918 test ! -s conftest.err
24919 } && test -s conftest.$ac_objext; then
24922 cat >conftest.$ac_ext <<_ACEOF
24925 cat confdefs.h >>conftest.$ac_ext
24926 cat >>conftest.$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24928 $ac_includes_default
24929 typedef long long ac__type_sizeof_;
24933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24940 rm -f conftest.$ac_objext
24941 if { (ac_try="$ac_compile"
24942 case "(($ac_try" in
24943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24944 *) ac_try_echo
=$ac_try;;
24946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24947 (eval "$ac_compile") 2>conftest.er1
24949 grep -v '^ *+' conftest.er1
>conftest.err
24951 cat conftest.err
>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); } && {
24954 test -z "$ac_c_werror_flag" ||
24955 test ! -s conftest.err
24956 } && test -s conftest.
$ac_objext; then
24957 ac_lo
=$ac_mid; break
24959 echo "$as_me: failed program was:" >&5
24960 sed 's/^/| /' conftest.
$ac_ext >&5
24962 ac_hi
=`expr '(' $ac_mid ')' - 1`
24963 if test $ac_mid -le $ac_hi; then
24967 ac_mid
=`expr 2 '*' $ac_mid`
24970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24973 echo "$as_me: failed program was:" >&5
24974 sed 's/^/| /' conftest.
$ac_ext >&5
24979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24983 # Binary search between lo and hi bounds.
24984 while test "x$ac_lo" != "x$ac_hi"; do
24985 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24986 cat >conftest.
$ac_ext <<_ACEOF
24989 cat confdefs.h
>>conftest.
$ac_ext
24990 cat >>conftest.
$ac_ext <<_ACEOF
24991 /* end confdefs.h. */
24992 $ac_includes_default
24993 typedef long long ac__type_sizeof_;
24997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25004 rm -f conftest.
$ac_objext
25005 if { (ac_try
="$ac_compile"
25006 case "(($ac_try" in
25007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25008 *) ac_try_echo=$ac_try;;
25010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25011 (eval "$ac_compile") 2>conftest.er1
25013 grep -v '^ *+' conftest.er1 >conftest.err
25015 cat conftest.err >&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } && {
25018 test -z "$ac_c_werror_flag" ||
25019 test ! -s conftest.err
25020 } && test -s conftest.$ac_objext; then
25023 echo "$as_me: failed program was:" >&5
25024 sed 's/^/| /' conftest.$ac_ext >&5
25026 ac_lo=`expr '(' $ac_mid ')' + 1`
25029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25032 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25033 '') if test "$ac_cv_type_long_long" = yes; then
25034 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25035 See \`config.log
' for more details." >&5
25036 echo "$as_me: error: cannot compute sizeof (long long)
25037 See \`config.log' for more details.
" >&2;}
25038 { (exit 77); exit 77; }; }
25040 ac_cv_sizeof_long_long=0
25044 cat >conftest.$ac_ext <<_ACEOF
25047 cat confdefs.h >>conftest.$ac_ext
25048 cat >>conftest.$ac_ext <<_ACEOF
25049 /* end confdefs.h. */
25050 $ac_includes_default
25051 typedef long long ac__type_sizeof_;
25052 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25053 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25055 #include <stdlib.h>
25060 FILE *f = fopen ("conftest.val
", "w
");
25063 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25065 long int i = longval ();
25066 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25068 fprintf (f, "%ld
\n", i);
25072 unsigned long int i = ulongval ();
25073 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25075 fprintf (f, "%lu
\n", i);
25077 return ferror (f) || fclose (f) != 0;
25083 rm -f conftest$ac_exeext
25084 if { (ac_try="$ac_link"
25085 case "(($ac_try" in
25086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25087 *) ac_try_echo=$ac_try;;
25089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25090 (eval "$ac_link") 2>&5
25092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25094 { (case "(($ac_try" in
25095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25096 *) ac_try_echo=$ac_try;;
25098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25099 (eval "$ac_try") 2>&5
25101 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25102 (exit $ac_status); }; }; then
25103 ac_cv_sizeof_long_long=`cat conftest.val`
25105 echo "$as_me: program exited with status
$ac_status" >&5
25106 echo "$as_me: failed program was
:" >&5
25107 sed 's/^/| /' conftest.$ac_ext >&5
25109 ( exit $ac_status )
25110 if test "$ac_cv_type_long_long" = yes; then
25111 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
25112 See \
`config.log' for more details." >&5
25113 echo "$as_me: error: cannot compute sizeof (long long)
25114 See \`config.log
' for more details." >&2;}
25115 { (exit 77); exit 77; }; }
25117 ac_cv_sizeof_long_long=0
25120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25124 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25125 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25129 cat >>confdefs.h <<_ACEOF
25130 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25136 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25137 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25138 if test "${ac_cv_type_wchar_t+set}" = set; then
25139 echo $ECHO_N "(cached) $ECHO_C" >&6
25141 cat >conftest.$ac_ext <<_ACEOF
25144 cat confdefs.h >>conftest.$ac_ext
25145 cat >>conftest.$ac_ext <<_ACEOF
25146 /* end confdefs.h. */
25148 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25149 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25150 # error "fake wchar_t"
25152 #ifdef HAVE_WCHAR_H
25154 # include <stddef.h>
25156 # include <wchar.h>
25158 #ifdef HAVE_STDLIB_H
25159 # include <stdlib.h>
25165 typedef wchar_t ac__type_new_
;
25169 if ((ac__type_new_
*) 0)
25171 if (sizeof
(ac__type_new_
))
25177 rm -f conftest.
$ac_objext
25178 if { (ac_try
="$ac_compile"
25179 case "(($ac_try" in
25180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25181 *) ac_try_echo=$ac_try;;
25183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25184 (eval "$ac_compile") 2>conftest.er1
25186 grep -v '^ *+' conftest.er1 >conftest.err
25188 cat conftest.err >&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); } && {
25191 test -z "$ac_c_werror_flag" ||
25192 test ! -s conftest.err
25193 } && test -s conftest.$ac_objext; then
25194 ac_cv_type_wchar_t=yes
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.$ac_ext >&5
25199 ac_cv_type_wchar_t=no
25202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25204 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25205 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25207 # The cast to long int works around a bug in the HP C Compiler
25208 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25209 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25210 # This bug is HP SR number 8606223364.
25211 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25212 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25213 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25214 echo $ECHO_N "(cached) $ECHO_C" >&6
25216 if test "$cross_compiling" = yes; then
25217 # Depending upon the size, compute the lo and hi bounds.
25218 cat >conftest.$ac_ext <<_ACEOF
25221 cat confdefs.h >>conftest.$ac_ext
25222 cat >>conftest.$ac_ext <<_ACEOF
25223 /* end confdefs.h. */
25225 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25226 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25227 # error "fake wchar_t"
25229 #ifdef HAVE_WCHAR_H
25231 # include <stddef.h>
25233 # include <wchar.h>
25235 #ifdef HAVE_STDLIB_H
25236 # include <stdlib.h>
25242 typedef wchar_t ac__type_sizeof_
;
25246 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25253 rm -f conftest.
$ac_objext
25254 if { (ac_try
="$ac_compile"
25255 case "(($ac_try" in
25256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25257 *) ac_try_echo=$ac_try;;
25259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25260 (eval "$ac_compile") 2>conftest.er1
25262 grep -v '^ *+' conftest.er1 >conftest.err
25264 cat conftest.err >&5
25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266 (exit $ac_status); } && {
25267 test -z "$ac_c_werror_flag" ||
25268 test ! -s conftest.err
25269 } && test -s conftest.$ac_objext; then
25272 cat >conftest.$ac_ext <<_ACEOF
25275 cat confdefs.h >>conftest.$ac_ext
25276 cat >>conftest.$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25279 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25280 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25281 # error "fake wchar_t"
25283 #ifdef HAVE_WCHAR_H
25285 # include <stddef.h>
25287 # include <wchar.h>
25289 #ifdef HAVE_STDLIB_H
25290 # include <stdlib.h>
25296 typedef wchar_t ac__type_sizeof_;
25300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25307 rm -f conftest.$ac_objext
25308 if { (ac_try="$ac_compile"
25309 case "(($ac_try" in
25310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25311 *) ac_try_echo
=$ac_try;;
25313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25314 (eval "$ac_compile") 2>conftest.er1
25316 grep -v '^ *+' conftest.er1
>conftest.err
25318 cat conftest.err
>&5
25319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25320 (exit $ac_status); } && {
25321 test -z "$ac_c_werror_flag" ||
25322 test ! -s conftest.err
25323 } && test -s conftest.
$ac_objext; then
25324 ac_hi
=$ac_mid; break
25326 echo "$as_me: failed program was:" >&5
25327 sed 's/^/| /' conftest.
$ac_ext >&5
25329 ac_lo
=`expr $ac_mid + 1`
25330 if test $ac_lo -le $ac_mid; then
25334 ac_mid
=`expr 2 '*' $ac_mid + 1`
25337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25340 echo "$as_me: failed program was:" >&5
25341 sed 's/^/| /' conftest.
$ac_ext >&5
25343 cat >conftest.
$ac_ext <<_ACEOF
25346 cat confdefs.h
>>conftest.
$ac_ext
25347 cat >>conftest.
$ac_ext <<_ACEOF
25348 /* end confdefs.h. */
25350 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25351 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25352 # error "fake wchar_t"
25354 #ifdef HAVE_WCHAR_H
25356 # include <stddef.h>
25358 # include <wchar.h>
25360 #ifdef HAVE_STDLIB_H
25361 # include <stdlib.h>
25367 typedef wchar_t ac__type_sizeof_;
25371 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25378 rm -f conftest.
$ac_objext
25379 if { (ac_try
="$ac_compile"
25380 case "(($ac_try" in
25381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25382 *) ac_try_echo=$ac_try;;
25384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385 (eval "$ac_compile") 2>conftest.er1
25387 grep -v '^ *+' conftest.er1 >conftest.err
25389 cat conftest.err >&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } && {
25392 test -z "$ac_c_werror_flag" ||
25393 test ! -s conftest.err
25394 } && test -s conftest.$ac_objext; then
25397 cat >conftest.$ac_ext <<_ACEOF
25400 cat confdefs.h >>conftest.$ac_ext
25401 cat >>conftest.$ac_ext <<_ACEOF
25402 /* end confdefs.h. */
25404 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25405 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25406 # error "fake wchar_t"
25408 #ifdef HAVE_WCHAR_H
25410 # include <stddef.h>
25412 # include <wchar.h>
25414 #ifdef HAVE_STDLIB_H
25415 # include <stdlib.h>
25421 typedef wchar_t ac__type_sizeof_;
25425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25432 rm -f conftest.$ac_objext
25433 if { (ac_try="$ac_compile"
25434 case "(($ac_try" in
25435 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25436 *) ac_try_echo
=$ac_try;;
25438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25439 (eval "$ac_compile") 2>conftest.er1
25441 grep -v '^ *+' conftest.er1
>conftest.err
25443 cat conftest.err
>&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } && {
25446 test -z "$ac_c_werror_flag" ||
25447 test ! -s conftest.err
25448 } && test -s conftest.
$ac_objext; then
25449 ac_lo
=$ac_mid; break
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.
$ac_ext >&5
25454 ac_hi
=`expr '(' $ac_mid ')' - 1`
25455 if test $ac_mid -le $ac_hi; then
25459 ac_mid
=`expr 2 '*' $ac_mid`
25462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.
$ac_ext >&5
25471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25475 # Binary search between lo and hi bounds.
25476 while test "x$ac_lo" != "x$ac_hi"; do
25477 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25478 cat >conftest.
$ac_ext <<_ACEOF
25481 cat confdefs.h
>>conftest.
$ac_ext
25482 cat >>conftest.
$ac_ext <<_ACEOF
25483 /* end confdefs.h. */
25485 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25486 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25487 # error "fake wchar_t"
25489 #ifdef HAVE_WCHAR_H
25491 # include <stddef.h>
25493 # include <wchar.h>
25495 #ifdef HAVE_STDLIB_H
25496 # include <stdlib.h>
25502 typedef wchar_t ac__type_sizeof_;
25506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25513 rm -f conftest.
$ac_objext
25514 if { (ac_try
="$ac_compile"
25515 case "(($ac_try" in
25516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_compile") 2>conftest.er1
25522 grep -v '^ *+' conftest.er1 >conftest.err
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } && {
25527 test -z "$ac_c_werror_flag" ||
25528 test ! -s conftest.err
25529 } && test -s conftest.$ac_objext; then
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.$ac_ext >&5
25535 ac_lo=`expr '(' $ac_mid ')' + 1`
25538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25541 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25542 '') if test "$ac_cv_type_wchar_t" = yes; then
25543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25544 See \`config.log
' for more details." >&5
25545 echo "$as_me: error: cannot compute sizeof (wchar_t)
25546 See \`config.log' for more details.
" >&2;}
25547 { (exit 77); exit 77; }; }
25549 ac_cv_sizeof_wchar_t=0
25553 cat >conftest.$ac_ext <<_ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25560 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25561 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25562 # error "fake wchar_t
"
25564 #ifdef HAVE_WCHAR_H
25566 # include <stddef.h>
25568 # include <wchar.h>
25570 #ifdef HAVE_STDLIB_H
25571 # include <stdlib.h>
25577 typedef wchar_t ac__type_sizeof_;
25578 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25579 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25581 #include <stdlib.h>
25586 FILE *f = fopen ("conftest.val
", "w
");
25589 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25591 long int i = longval ();
25592 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25594 fprintf (f, "%ld
\n", i);
25598 unsigned long int i = ulongval ();
25599 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25601 fprintf (f, "%lu
\n", i);
25603 return ferror (f) || fclose (f) != 0;
25609 rm -f conftest$ac_exeext
25610 if { (ac_try="$ac_link"
25611 case "(($ac_try" in
25612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25613 *) ac_try_echo=$ac_try;;
25615 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25616 (eval "$ac_link") 2>&5
25618 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25619 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25620 { (case "(($ac_try" in
25621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25622 *) ac_try_echo=$ac_try;;
25624 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25625 (eval "$ac_try") 2>&5
25627 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25628 (exit $ac_status); }; }; then
25629 ac_cv_sizeof_wchar_t=`cat conftest.val`
25631 echo "$as_me: program exited with status
$ac_status" >&5
25632 echo "$as_me: failed program was
:" >&5
25633 sed 's/^/| /' conftest.$ac_ext >&5
25635 ( exit $ac_status )
25636 if test "$ac_cv_type_wchar_t" = yes; then
25637 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25638 See \
`config.log' for more details." >&5
25639 echo "$as_me: error: cannot compute sizeof (wchar_t)
25640 See \`config.log
' for more details." >&2;}
25641 { (exit 77); exit 77; }; }
25643 ac_cv_sizeof_wchar_t=0
25646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25650 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25651 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25655 cat >>confdefs.h <<_ACEOF
25656 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25660 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25666 { echo "$as_me:$LINENO: checking for va_copy" >&5
25667 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25668 if test "${wx_cv_func_va_copy+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 ac_cpp='$CXXCPP $CPPFLAGS'
25674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25675 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25678 cat >conftest.$ac_ext <<_ACEOF
25680 #include <stdarg.h>
25681 void foo(char *f, ...)
25695 rm -f conftest.$ac_objext conftest$ac_exeext
25696 if { (ac_try="$ac_link"
25697 case "(($ac_try" in
25698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25699 *) ac_try_echo=$ac_try;;
25701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25702 (eval "$ac_link") 2>conftest.er1
25704 grep -v '^
*+' conftest.er1 >conftest.err
25706 cat conftest.err >&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); } && {
25709 test -z "$ac_cxx_werror_flag" ||
25710 test ! -s conftest.err
25711 } && test -s conftest$ac_exeext &&
25712 $as_test_x conftest$ac_exeext; then
25713 wx_cv_func_va_copy=yes
25715 echo "$as_me: failed program was:" >&5
25716 sed 's
/^
/| /' conftest.$ac_ext >&5
25718 wx_cv_func_va_copy=no
25722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25723 conftest$ac_exeext conftest.$ac_ext
25725 ac_cpp='$CPP $CPPFLAGS'
25726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25727 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25733 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25734 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25736 if test $wx_cv_func_va_copy = "yes"; then
25737 cat >>confdefs.h <<\_ACEOF
25738 #define HAVE_VA_COPY 1
25742 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25743 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25744 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25748 if test "$cross_compiling" = yes; then
25749 wx_cv_type_va_list_lvalue=yes
25752 cat >conftest.$ac_ext <<_ACEOF
25754 #include <stdarg.h>
25755 int foo(char *f, ...)
25760 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25768 return foo("hi", 17);
25771 rm -f conftest$ac_exeext
25772 if { (ac_try="$ac_link"
25773 case "(($ac_try" in
25774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25775 *) ac_try_echo=$ac_try;;
25777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25778 (eval "$ac_link") 2>&5
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25782 { (case "(($ac_try" in
25783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25784 *) ac_try_echo=$ac_try;;
25786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25787 (eval "$ac_try") 2>&5
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; }; then
25791 wx_cv_type_va_list_lvalue=yes
25793 echo "$as_me: program exited with status $ac_status" >&5
25794 echo "$as_me: failed program was:" >&5
25795 sed 's
/^
/| /' conftest.$ac_ext >&5
25797 ( exit $ac_status )
25798 wx_cv_type_va_list_lvalue=no
25800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25807 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25808 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25810 if test $wx_cv_type_va_list_lvalue != "yes"; then
25811 cat >>confdefs.h <<\_ACEOF
25812 #define VA_LIST_IS_ARRAY 1
25818 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25820 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25821 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25822 if test "${wx_cv_have_variadic_macros+set}" = set; then
25823 echo $ECHO_N "(cached) $ECHO_C" >&6
25827 ac_cpp='$CXXCPP $CPPFLAGS'
25828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25829 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25832 cat >conftest.$ac_ext <<_ACEOF
25835 cat confdefs.h >>conftest.$ac_ext
25836 cat >>conftest.$ac_ext <<_ACEOF
25837 /* end confdefs.h. */
25840 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25846 test("%s %d %p", "test", 1, 0);
25853 rm -f conftest.$ac_objext
25854 if { (ac_try="$ac_compile"
25855 case "(($ac_try" in
25856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25857 *) ac_try_echo=$ac_try;;
25859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25860 (eval "$ac_compile") 2>conftest.er1
25862 grep -v '^
*+' conftest.er1 >conftest.err
25864 cat conftest.err >&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } && {
25867 test -z "$ac_cxx_werror_flag" ||
25868 test ! -s conftest.err
25869 } && test -s conftest.$ac_objext; then
25870 wx_cv_have_variadic_macros=yes
25872 echo "$as_me: failed program was:" >&5
25873 sed 's
/^
/| /' conftest.$ac_ext >&5
25875 wx_cv_have_variadic_macros=no
25879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25881 ac_cpp='$CPP $CPPFLAGS'
25882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25883 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25889 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25890 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25892 if test $wx_cv_have_variadic_macros = "yes"; then
25893 cat >>confdefs.h <<\_ACEOF
25894 #define HAVE_VARIADIC_MACROS 1
25900 # Check whether --enable-largefile was given.
25901 if test "${enable_largefile+set}" = set; then
25902 enableval=$enable_largefile;
25905 if test "$enable_largefile" != no; then
25908 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25909 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25910 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25911 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 cat >conftest.$ac_ext <<_ACEOF
25917 cat confdefs.h >>conftest.$ac_ext
25918 cat >>conftest.$ac_ext <<_ACEOF
25919 /* end confdefs.h. */
25920 #define _FILE_OFFSET_BITS 64
25921 #include <sys/types.h>
25926 unsigned int field: sizeof(off_t) == 8;
25933 rm -f conftest.$ac_objext
25934 if { (ac_try="$ac_compile"
25935 case "(($ac_try" in
25936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25937 *) ac_try_echo=$ac_try;;
25939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25940 (eval "$ac_compile") 2>conftest.er1
25942 grep -v '^
*+' conftest.er1 >conftest.err
25944 cat conftest.err >&5
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); } && {
25947 test -z "$ac_c_werror_flag" ||
25948 test ! -s conftest.err
25949 } && test -s conftest.$ac_objext; then
25950 ac_cv_sys_file_offset_bits=64
25952 echo "$as_me: failed program was:" >&5
25953 sed 's
/^
/| /' conftest.$ac_ext >&5
25955 ac_cv_sys_file_offset_bits=no
25958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25962 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25963 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25965 if test "$ac_cv_sys_file_offset_bits" != no; then
25967 cat >>confdefs.h <<_ACEOF
25968 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25973 if test "x$wx_largefile" != "xyes"; then
25975 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25976 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25977 if test "${ac_cv_sys_large_files+set}" = set; then
25978 echo $ECHO_N "(cached) $ECHO_C" >&6
25981 cat >conftest.$ac_ext <<_ACEOF
25984 cat confdefs.h >>conftest.$ac_ext
25985 cat >>conftest.$ac_ext <<_ACEOF
25986 /* end confdefs.h. */
25987 #define _LARGE_FILES 1
25988 #include <sys/types.h>
25993 unsigned int field: sizeof(off_t) == 8;
26000 rm -f conftest.$ac_objext
26001 if { (ac_try="$ac_compile"
26002 case "(($ac_try" in
26003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26004 *) ac_try_echo=$ac_try;;
26006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26007 (eval "$ac_compile") 2>conftest.er1
26009 grep -v '^
*+' conftest.er1 >conftest.err
26011 cat conftest.err >&5
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); } && {
26014 test -z "$ac_c_werror_flag" ||
26015 test ! -s conftest.err
26016 } && test -s conftest.$ac_objext; then
26017 ac_cv_sys_large_files=1
26019 echo "$as_me: failed program was:" >&5
26020 sed 's
/^
/| /' conftest.$ac_ext >&5
26022 ac_cv_sys_large_files=no
26025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26029 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26030 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26032 if test "$ac_cv_sys_large_files" != no; then
26034 cat >>confdefs.h <<_ACEOF
26035 #define _LARGE_FILES $ac_cv_sys_large_files
26042 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26043 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26044 if test "x$wx_largefile" = "xyes"; then
26045 cat >>confdefs.h <<\_ACEOF
26046 #define HAVE_LARGEFILE_SUPPORT 1
26050 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26051 echo "${ECHO_T}$wx_largefile" >&6; }
26055 if test "x$wx_largefile" = "xyes"; then
26056 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26057 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26059 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26060 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26061 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26062 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26067 ac_cpp='$CXXCPP $CPPFLAGS'
26068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26069 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072 cat >conftest.$ac_ext <<_ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26083 #ifndef __STDC_EXT__
26091 rm -f conftest.$ac_objext
26092 if { (ac_try="$ac_compile"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26095 *) ac_try_echo=$ac_try;;
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_compile") 2>conftest.er1
26100 grep -v '^
*+' conftest.er1 >conftest.err
26102 cat conftest.err >&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); } && {
26105 test -z "$ac_cxx_werror_flag" ||
26106 test ! -s conftest.err
26107 } && test -s conftest.$ac_objext; then
26108 wx_cv_STDC_EXT_required=no
26110 echo "$as_me: failed program was:" >&5
26111 sed 's
/^
/| /' conftest.$ac_ext >&5
26113 wx_cv_STDC_EXT_required=yes
26117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26119 ac_cpp='$CPP $CPPFLAGS'
26120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26121 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26127 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26128 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26129 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26130 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26134 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26136 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26137 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26138 if test "${ac_cv_sys_largefile_source+set}" = set; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6
26142 cat >conftest.$ac_ext <<_ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h. */
26148 #include <sys/types.h> /* for off_t */
26153 int (*fp) (FILE *, off_t, int) = fseeko;
26154 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26159 rm -f conftest.$ac_objext conftest$ac_exeext
26160 if { (ac_try="$ac_link"
26161 case "(($ac_try" in
26162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26163 *) ac_try_echo=$ac_try;;
26165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26166 (eval "$ac_link") 2>conftest.er1
26168 grep -v '^
*+' conftest.er1 >conftest.err
26170 cat conftest.err >&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); } && {
26173 test -z "$ac_c_werror_flag" ||
26174 test ! -s conftest.err
26175 } && test -s conftest$ac_exeext &&
26176 $as_test_x conftest$ac_exeext; then
26177 ac_cv_sys_largefile_source=no; break
26179 echo "$as_me: failed program was:" >&5
26180 sed 's
/^
/| /' conftest.$ac_ext >&5
26185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26186 conftest$ac_exeext conftest.$ac_ext
26187 cat >conftest.$ac_ext <<_ACEOF
26190 cat confdefs.h >>conftest.$ac_ext
26191 cat >>conftest.$ac_ext <<_ACEOF
26192 /* end confdefs.h. */
26193 #define _LARGEFILE_SOURCE 1
26194 #include <sys/types.h> /* for off_t */
26199 int (*fp) (FILE *, off_t, int) = fseeko;
26200 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26205 rm -f conftest.$ac_objext conftest$ac_exeext
26206 if { (ac_try="$ac_link"
26207 case "(($ac_try" in
26208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26209 *) ac_try_echo=$ac_try;;
26211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26212 (eval "$ac_link") 2>conftest.er1
26214 grep -v '^
*+' conftest.er1 >conftest.err
26216 cat conftest.err >&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } && {
26219 test -z "$ac_c_werror_flag" ||
26220 test ! -s conftest.err
26221 } && test -s conftest$ac_exeext &&
26222 $as_test_x conftest$ac_exeext; then
26223 ac_cv_sys_largefile_source=1; break
26225 echo "$as_me: failed program was:" >&5
26226 sed 's
/^
/| /' conftest.$ac_ext >&5
26231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26232 conftest$ac_exeext conftest.$ac_ext
26233 ac_cv_sys_largefile_source=unknown
26237 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26238 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26239 case $ac_cv_sys_largefile_source in #(
26242 cat >>confdefs.h <<_ACEOF
26243 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26249 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26250 # in glibc 2.1.3, but that breaks too many other things.
26251 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26252 if test $ac_cv_sys_largefile_source != unknown; then
26254 cat >>confdefs.h <<\_ACEOF
26255 #define HAVE_FSEEKO 1
26260 if test "$ac_cv_sys_largefile_source" != no; then
26261 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26265 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26266 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26267 if test "${ac_cv_c_bigendian+set}" = set; then
26268 echo $ECHO_N "(cached) $ECHO_C" >&6
26270 ac_cv_c_bigendian=unknown
26271 # See if sys/param.h defines the BYTE_ORDER macro.
26272 cat >conftest.$ac_ext <<_ACEOF
26275 cat confdefs.h >>conftest.$ac_ext
26276 cat >>conftest.$ac_ext <<_ACEOF
26277 /* end confdefs.h. */
26278 #include <sys/types.h>
26279 #include <sys/param.h>
26284 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26285 bogus endian macros
26291 rm -f conftest.$ac_objext
26292 if { (ac_try="$ac_compile"
26293 case "(($ac_try" in
26294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26295 *) ac_try_echo=$ac_try;;
26297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26298 (eval "$ac_compile") 2>conftest.er1
26300 grep -v '^
*+' conftest.er1 >conftest.err
26302 cat conftest.err >&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); } && {
26305 test -z "$ac_c_werror_flag" ||
26306 test ! -s conftest.err
26307 } && test -s conftest.$ac_objext; then
26308 # It does; now see whether it defined to BIG_ENDIAN or not.
26309 cat >conftest.$ac_ext <<_ACEOF
26312 cat confdefs.h >>conftest.$ac_ext
26313 cat >>conftest.$ac_ext <<_ACEOF
26314 /* end confdefs.h. */
26315 #include <sys/types.h>
26316 #include <sys/param.h>
26321 #if BYTE_ORDER != BIG_ENDIAN
26328 rm -f conftest.$ac_objext
26329 if { (ac_try="$ac_compile"
26330 case "(($ac_try" in
26331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26332 *) ac_try_echo=$ac_try;;
26334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26335 (eval "$ac_compile") 2>conftest.er1
26337 grep -v '^
*+' conftest.er1 >conftest.err
26339 cat conftest.err >&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); } && {
26342 test -z "$ac_c_werror_flag" ||
26343 test ! -s conftest.err
26344 } && test -s conftest.$ac_objext; then
26345 ac_cv_c_bigendian=yes
26347 echo "$as_me: failed program was:" >&5
26348 sed 's
/^
/| /' conftest.$ac_ext >&5
26350 ac_cv_c_bigendian=no
26353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26355 echo "$as_me: failed program was:" >&5
26356 sed 's
/^
/| /' conftest.$ac_ext >&5
26361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26362 if test $ac_cv_c_bigendian = unknown; then
26363 if test "$cross_compiling" = yes; then
26364 ac_cv_c_bigendian=unknown
26366 cat >conftest.$ac_ext <<_ACEOF
26369 cat confdefs.h >>conftest.$ac_ext
26370 cat >>conftest.$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26373 /* Are we little or big endian? From Harbison&Steele. */
26377 char c[sizeof (long)];
26380 exit (u.c[sizeof (long) - 1] == 1);
26383 rm -f conftest$ac_exeext
26384 if { (ac_try="$ac_link"
26385 case "(($ac_try" in
26386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26387 *) ac_try_echo=$ac_try;;
26389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26390 (eval "$ac_link") 2>&5
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26394 { (case "(($ac_try" in
26395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26396 *) ac_try_echo=$ac_try;;
26398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26399 (eval "$ac_try") 2>&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; }; then
26403 ac_cv_c_bigendian=no
26405 echo "$as_me: program exited with status $ac_status" >&5
26406 echo "$as_me: failed program was:" >&5
26407 sed 's
/^
/| /' conftest.$ac_ext >&5
26409 ( exit $ac_status )
26410 ac_cv_c_bigendian=yes
26412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26418 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26419 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26420 if test $ac_cv_c_bigendian = unknown; then
26421 { 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
26422 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;}
26424 if test $ac_cv_c_bigendian = yes; then
26425 cat >>confdefs.h <<\_ACEOF
26426 #define WORDS_BIGENDIAN 1
26435 ac_cpp='$CXXCPP $CPPFLAGS'
26436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26437 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26442 for ac_header in iostream
26444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26445 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26447 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 cat >conftest.$ac_ext <<_ACEOF
26453 cat confdefs.h >>conftest.$ac_ext
26454 cat >>conftest.$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26458 #include <$ac_header>
26460 rm -f conftest.$ac_objext
26461 if { (ac_try="$ac_compile"
26462 case "(($ac_try" in
26463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26464 *) ac_try_echo=$ac_try;;
26466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26467 (eval "$ac_compile") 2>conftest.er1
26469 grep -v '^
*+' conftest.er1 >conftest.err
26471 cat conftest.err >&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); } && {
26474 test -z "$ac_cxx_werror_flag" ||
26475 test ! -s conftest.err
26476 } && test -s conftest.$ac_objext; then
26477 eval "$as_ac_Header=yes"
26479 echo "$as_me: failed program was:" >&5
26480 sed 's
/^
/| /' conftest.$ac_ext >&5
26482 eval "$as_ac_Header=no"
26485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26487 ac_res=`eval echo '${'$as_ac_Header'}'`
26488 { echo "$as_me:$LINENO: result: $ac_res" >&5
26489 echo "${ECHO_T}$ac_res" >&6; }
26490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26491 cat >>confdefs.h <<_ACEOF
26492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26500 if test "$ac_cv_header_iostream" = "yes" ; then
26503 cat >>confdefs.h <<\_ACEOF
26504 #define wxUSE_IOSTREAMH 1
26510 ac_cpp='$CPP $CPPFLAGS'
26511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26512 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26518 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26519 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26520 if test "${wx_cv_cpp_bool+set}" = set; then
26521 echo $ECHO_N "(cached) $ECHO_C" >&6
26526 ac_cpp='$CXXCPP $CPPFLAGS'
26527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26528 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26532 cat >conftest.$ac_ext <<_ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26552 rm -f conftest.$ac_objext
26553 if { (ac_try="$ac_compile"
26554 case "(($ac_try" in
26555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26556 *) ac_try_echo=$ac_try;;
26558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26559 (eval "$ac_compile") 2>conftest.er1
26561 grep -v '^
*+' conftest.er1 >conftest.err
26563 cat conftest.err >&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); } && {
26566 test -z "$ac_cxx_werror_flag" ||
26567 test ! -s conftest.err
26568 } && test -s conftest.$ac_objext; then
26573 echo "$as_me: failed program was:" >&5
26574 sed 's
/^
/| /' conftest.$ac_ext >&5
26582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26585 ac_cpp='$CPP $CPPFLAGS'
26586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26587 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26592 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26593 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26595 if test "$wx_cv_cpp_bool" = "yes"; then
26596 cat >>confdefs.h <<\_ACEOF
26597 #define HAVE_BOOL 1
26604 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26605 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26606 if test "${wx_cv_explicit+set}" = set; then
26607 echo $ECHO_N "(cached) $ECHO_C" >&6
26612 ac_cpp='$CXXCPP $CPPFLAGS'
26613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26614 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26618 cat >conftest.$ac_ext <<_ACEOF
26621 cat confdefs.h >>conftest.$ac_ext
26622 cat >>conftest.$ac_ext <<_ACEOF
26623 /* end confdefs.h. */
26625 class Foo { public: explicit Foo(int) {} };
26637 rm -f conftest.$ac_objext
26638 if { (ac_try="$ac_compile"
26639 case "(($ac_try" in
26640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26641 *) ac_try_echo=$ac_try;;
26643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26644 (eval "$ac_compile") 2>conftest.er1
26646 grep -v '^
*+' conftest.er1 >conftest.err
26648 cat conftest.err >&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } && {
26651 test -z "$ac_cxx_werror_flag" ||
26652 test ! -s conftest.err
26653 } && test -s conftest.$ac_objext; then
26655 cat >conftest.$ac_ext <<_ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26662 class Foo { public: explicit Foo(int) {} };
26663 static void TakeFoo(const Foo& foo) { }
26676 rm -f conftest.$ac_objext
26677 if { (ac_try="$ac_compile"
26678 case "(($ac_try" in
26679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26680 *) ac_try_echo=$ac_try;;
26682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26683 (eval "$ac_compile") 2>conftest.er1
26685 grep -v '^
*+' conftest.er1 >conftest.err
26687 cat conftest.err >&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); } && {
26690 test -z "$ac_cxx_werror_flag" ||
26691 test ! -s conftest.err
26692 } && test -s conftest.$ac_objext; then
26695 echo "$as_me: failed program was:" >&5
26696 sed 's
/^
/| /' conftest.$ac_ext >&5
26702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26705 echo "$as_me: failed program was:" >&5
26706 sed 's
/^
/| /' conftest.$ac_ext >&5
26712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26715 ac_cpp='$CPP $CPPFLAGS'
26716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26717 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26722 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26723 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26725 if test "$wx_cv_explicit" = "yes"; then
26726 cat >>confdefs.h <<\_ACEOF
26727 #define HAVE_EXPLICIT 1
26733 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26734 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26735 if test "${ac_cv_cxx_const_cast+set}" = set; then
26736 echo $ECHO_N "(cached) $ECHO_C" >&6
26740 ac_cpp='$CXXCPP $CPPFLAGS'
26741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26742 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26745 cat >conftest.$ac_ext <<_ACEOF
26748 cat confdefs.h >>conftest.$ac_ext
26749 cat >>conftest.$ac_ext <<_ACEOF
26750 /* end confdefs.h. */
26755 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26760 rm -f conftest.$ac_objext
26761 if { (ac_try="$ac_compile"
26762 case "(($ac_try" in
26763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26764 *) ac_try_echo=$ac_try;;
26766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26767 (eval "$ac_compile") 2>conftest.er1
26769 grep -v '^
*+' conftest.er1 >conftest.err
26771 cat conftest.err >&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } && {
26774 test -z "$ac_cxx_werror_flag" ||
26775 test ! -s conftest.err
26776 } && test -s conftest.$ac_objext; then
26777 ac_cv_cxx_const_cast=yes
26779 echo "$as_me: failed program was:" >&5
26780 sed 's
/^
/| /' conftest.$ac_ext >&5
26782 ac_cv_cxx_const_cast=no
26785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26787 ac_cpp='$CPP $CPPFLAGS'
26788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26789 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26794 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26795 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26796 if test "$ac_cv_cxx_const_cast" = yes; then
26798 cat >>confdefs.h <<\_ACEOF
26799 #define HAVE_CONST_CAST
26804 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26805 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26806 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26811 ac_cpp='$CXXCPP $CPPFLAGS'
26812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26813 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26816 cat >conftest.$ac_ext <<_ACEOF
26819 cat confdefs.h >>conftest.$ac_ext
26820 cat >>conftest.$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26822 #include <typeinfo>
26823 class Base { public : Base () {} virtual void f () = 0;};
26824 class Derived : public Base { public : Derived () {} virtual void f () {} };
26825 class Unrelated { public : Unrelated () {} };
26826 int g (Unrelated&) { return 0; }
26831 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26836 rm -f conftest.$ac_objext
26837 if { (ac_try="$ac_compile"
26838 case "(($ac_try" in
26839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26840 *) ac_try_echo=$ac_try;;
26842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26843 (eval "$ac_compile") 2>conftest.er1
26845 grep -v '^
*+' conftest.er1 >conftest.err
26847 cat conftest.err >&5
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); } && {
26850 test -z "$ac_cxx_werror_flag" ||
26851 test ! -s conftest.err
26852 } && test -s conftest.$ac_objext; then
26853 ac_cv_cxx_reinterpret_cast=yes
26855 echo "$as_me: failed program was:" >&5
26856 sed 's
/^
/| /' conftest.$ac_ext >&5
26858 ac_cv_cxx_reinterpret_cast=no
26861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26863 ac_cpp='$CPP $CPPFLAGS'
26864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26865 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26870 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26871 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26872 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26874 cat >>confdefs.h <<\_ACEOF
26875 #define HAVE_REINTERPRET_CAST
26880 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26881 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26882 if test "${ac_cv_cxx_static_cast+set}" = set; then
26883 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 ac_cpp='$CXXCPP $CPPFLAGS'
26888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26889 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26892 cat >conftest.$ac_ext <<_ACEOF
26895 cat confdefs.h >>conftest.$ac_ext
26896 cat >>conftest.$ac_ext <<_ACEOF
26897 /* end confdefs.h. */
26898 #include <typeinfo>
26899 class Base { public : Base () {} virtual void f () = 0; };
26900 class Derived : public Base { public : Derived () {} virtual void f () {} };
26901 int g (Derived&) { return 0; }
26906 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26911 rm -f conftest.$ac_objext
26912 if { (ac_try="$ac_compile"
26913 case "(($ac_try" in
26914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26915 *) ac_try_echo=$ac_try;;
26917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26918 (eval "$ac_compile") 2>conftest.er1
26920 grep -v '^
*+' conftest.er1 >conftest.err
26922 cat conftest.err >&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); } && {
26925 test -z "$ac_cxx_werror_flag" ||
26926 test ! -s conftest.err
26927 } && test -s conftest.$ac_objext; then
26928 ac_cv_cxx_static_cast=yes
26930 echo "$as_me: failed program was:" >&5
26931 sed 's
/^
/| /' conftest.$ac_ext >&5
26933 ac_cv_cxx_static_cast=no
26936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26938 ac_cpp='$CPP $CPPFLAGS'
26939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26940 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26945 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26946 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26947 if test "$ac_cv_cxx_static_cast" = yes; then
26949 cat >>confdefs.h <<\_ACEOF
26950 #define HAVE_STATIC_CAST
26956 if test "x$SUNCXX" = xyes; then
26957 CXXFLAGS="-features=tmplife $CXXFLAGS"
26960 if test "x$SUNCC" = xyes; then
26961 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26964 if test "x$SGICC" = "xyes"; then
26965 CFLAGS="-woff 3970 $CFLAGS"
26967 if test "x$SGICXX" = "xyes"; then
26968 CXXFLAGS="-woff 3970 $CXXFLAGS"
26971 if test "x$HPCC" = "xyes"; then
26972 CFLAGS="+W 2011,2450 $CFLAGS"
26974 if test "x$HPCXX" = "xyes"; then
26975 CXXFLAGS="+W 2340 $CXXFLAGS"
26978 if test "x$COMPAQCXX" = "xyes"; then
26979 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26983 ac_cpp='$CXXCPP $CPPFLAGS'
26984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26985 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26989 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26990 if test "$wxUSE_UNICODE" = "yes"; then
26991 std_string="std::wstring"
26992 char_type="wchar_t"
26994 std_string="std::string"
26998 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26999 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
27000 if test "${wx_cv_class_stdstring+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 cat >conftest.$ac_ext <<_ACEOF
27007 cat confdefs.h >>conftest.$ac_ext
27008 cat >>conftest.$ac_ext <<_ACEOF
27009 /* end confdefs.h. */
27019 rm -f conftest.$ac_objext
27020 if { (ac_try="$ac_compile"
27021 case "(($ac_try" in
27022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27023 *) ac_try_echo=$ac_try;;
27025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27026 (eval "$ac_compile") 2>conftest.er1
27028 grep -v '^
*+' conftest.er1 >conftest.err
27030 cat conftest.err >&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } && {
27033 test -z "$ac_cxx_werror_flag" ||
27034 test ! -s conftest.err
27035 } && test -s conftest.$ac_objext; then
27036 wx_cv_class_stdstring=yes
27038 echo "$as_me: failed program was:" >&5
27039 sed 's
/^
/| /' conftest.$ac_ext >&5
27041 wx_cv_class_stdstring=no
27045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27049 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27050 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27052 if test "$wx_cv_class_stdstring" = yes; then
27053 if test "$wxUSE_UNICODE" = "yes"; then
27054 cat >>confdefs.h <<\_ACEOF
27055 #define HAVE_STD_WSTRING 1
27060 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27061 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27062 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27063 echo $ECHO_N "(cached) $ECHO_C" >&6
27066 cat >conftest.$ac_ext <<_ACEOF
27069 cat confdefs.h >>conftest.$ac_ext
27070 cat >>conftest.$ac_ext <<_ACEOF
27071 /* end confdefs.h. */
27073 #ifdef HAVE_WCHAR_H
27075 # include <stddef.h>
27077 # include <wchar.h>
27079 #ifdef HAVE_STDLIB_H
27080 # include <stdlib.h>
27088 std::basic_string<$char_type> foo;
27089 const $char_type* dummy = foo.c_str();
27094 rm -f conftest.$ac_objext
27095 if { (ac_try="$ac_compile"
27096 case "(($ac_try" in
27097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27098 *) ac_try_echo=$ac_try;;
27100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27101 (eval "$ac_compile") 2>conftest.er1
27103 grep -v '^
*+' conftest.er1 >conftest.err
27105 cat conftest.err >&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); } && {
27108 test -z "$ac_cxx_werror_flag" ||
27109 test ! -s conftest.err
27110 } && test -s conftest.$ac_objext; then
27111 wx_cv_class_stdbasicstring=yes
27113 echo "$as_me: failed program was:" >&5
27114 sed 's
/^
/| /' conftest.$ac_ext >&5
27116 wx_cv_class_stdbasicstring=no
27120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27124 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27125 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27127 if test "$wx_cv_class_stdbasicstring" != yes; then
27128 if test "$wxUSE_STL" = "yes"; then
27129 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27130 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27131 { (exit 1); exit 1; }; }
27132 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27133 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27134 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27135 { (exit 1); exit 1; }; }
27137 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27138 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27139 wxUSE_STD_STRING=no
27145 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27146 { echo "$as_me:$LINENO: checking for std::istream" >&5
27147 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27148 if test "${ac_cv_type_std__istream+set}" = set; then
27149 echo $ECHO_N "(cached) $ECHO_C" >&6
27151 cat >conftest.$ac_ext <<_ACEOF
27154 cat confdefs.h >>conftest.$ac_ext
27155 cat >>conftest.$ac_ext <<_ACEOF
27156 /* end confdefs.h. */
27157 #include <iostream>
27159 typedef std::istream ac__type_new_;
27163 if ((ac__type_new_ *) 0)
27165 if (sizeof (ac__type_new_))
27171 rm -f conftest.$ac_objext
27172 if { (ac_try="$ac_compile"
27173 case "(($ac_try" in
27174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27175 *) ac_try_echo=$ac_try;;
27177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27178 (eval "$ac_compile") 2>conftest.er1
27180 grep -v '^
*+' conftest.er1 >conftest.err
27182 cat conftest.err >&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); } && {
27185 test -z "$ac_cxx_werror_flag" ||
27186 test ! -s conftest.err
27187 } && test -s conftest.$ac_objext; then
27188 ac_cv_type_std__istream=yes
27190 echo "$as_me: failed program was:" >&5
27191 sed 's
/^
/| /' conftest.$ac_ext >&5
27193 ac_cv_type_std__istream=no
27196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27198 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27199 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27200 if test $ac_cv_type_std__istream = yes; then
27202 cat >>confdefs.h <<_ACEOF
27203 #define HAVE_STD__ISTREAM 1
27208 wxUSE_STD_IOSTREAM=no
27210 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27211 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27212 if test "${ac_cv_type_std__ostream+set}" = set; then
27213 echo $ECHO_N "(cached) $ECHO_C" >&6
27215 cat >conftest.$ac_ext <<_ACEOF
27218 cat confdefs.h >>conftest.$ac_ext
27219 cat >>conftest.$ac_ext <<_ACEOF
27220 /* end confdefs.h. */
27221 #include <iostream>
27223 typedef std::ostream ac__type_new_;
27227 if ((ac__type_new_ *) 0)
27229 if (sizeof (ac__type_new_))
27235 rm -f conftest.$ac_objext
27236 if { (ac_try="$ac_compile"
27237 case "(($ac_try" in
27238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27239 *) ac_try_echo=$ac_try;;
27241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27242 (eval "$ac_compile") 2>conftest.er1
27244 grep -v '^
*+' conftest.er1 >conftest.err
27246 cat conftest.err >&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } && {
27249 test -z "$ac_cxx_werror_flag" ||
27250 test ! -s conftest.err
27251 } && test -s conftest.$ac_objext; then
27252 ac_cv_type_std__ostream=yes
27254 echo "$as_me: failed program was:" >&5
27255 sed 's
/^
/| /' conftest.$ac_ext >&5
27257 ac_cv_type_std__ostream=no
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27262 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27263 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27264 if test $ac_cv_type_std__ostream = yes; then
27266 cat >>confdefs.h <<_ACEOF
27267 #define HAVE_STD__OSTREAM 1
27272 wxUSE_STD_IOSTREAM=no
27276 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27277 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27278 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27279 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27280 { (exit 1); exit 1; }; }
27282 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27283 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27288 if test "$wxUSE_STL" = "yes"; then
27289 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27290 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27291 if test "${wx_cv_lib_stl+set}" = set; then
27292 echo $ECHO_N "(cached) $ECHO_C" >&6
27294 cat >conftest.$ac_ext <<_ACEOF
27297 cat confdefs.h >>conftest.$ac_ext
27298 cat >>conftest.$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27301 #include <functional>
27302 #include <algorithm>
27308 std::vector<int> moo;
27309 std::list<int> foo;
27310 std::vector<int>::iterator it =
27311 std::find_if(moo.begin(), moo.end(),
27312 std::bind2nd(std::less<int>(), 3));
27317 rm -f conftest.$ac_objext
27318 if { (ac_try="$ac_compile"
27319 case "(($ac_try" in
27320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27321 *) ac_try_echo=$ac_try;;
27323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27324 (eval "$ac_compile") 2>conftest.er1
27326 grep -v '^
*+' conftest.er1 >conftest.err
27328 cat conftest.err >&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } && {
27331 test -z "$ac_cxx_werror_flag" ||
27332 test ! -s conftest.err
27333 } && test -s conftest.$ac_objext; then
27336 echo "$as_me: failed program was:" >&5
27337 sed 's
/^
/| /' conftest.$ac_ext >&5
27343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27346 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27347 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27349 if test "$wx_cv_lib_stl" != yes; then
27350 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27351 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27352 { (exit 1); exit 1; }; }
27355 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27356 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27357 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27358 echo $ECHO_N "(cached) $ECHO_C" >&6
27360 cat >conftest.$ac_ext <<_ACEOF
27363 cat confdefs.h >>conftest.$ac_ext
27364 cat >>conftest.$ac_ext <<_ACEOF
27365 /* end confdefs.h. */
27370 std::string foo, bar;
27372 foo.compare(1, 1, bar);
27373 foo.compare(1, 1, bar, 1, 1);
27375 foo.compare(1, 1, "");
27376 foo.compare(1, 1, "", 2);
27381 rm -f conftest.$ac_objext
27382 if { (ac_try="$ac_compile"
27383 case "(($ac_try" in
27384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27385 *) ac_try_echo=$ac_try;;
27387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27388 (eval "$ac_compile") 2>conftest.er1
27390 grep -v '^
*+' conftest.er1 >conftest.err
27392 cat conftest.err >&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } && {
27395 test -z "$ac_cxx_werror_flag" ||
27396 test ! -s conftest.err
27397 } && test -s conftest.$ac_objext; then
27398 wx_cv_func_stdstring_compare=yes
27400 echo "$as_me: failed program was:" >&5
27401 sed 's
/^
/| /' conftest.$ac_ext >&5
27403 wx_cv_func_stdstring_compare=no
27407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27410 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27411 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27413 if test "$wx_cv_func_stdstring_compare" = yes; then
27414 cat >>confdefs.h <<\_ACEOF
27415 #define HAVE_STD_STRING_COMPARE 1
27420 { echo "$as_me:$LINENO: checking for hash_map" >&5
27421 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27422 if test "${ac_cv_header_hash_map+set}" = set; then
27423 echo $ECHO_N "(cached) $ECHO_C" >&6
27425 cat >conftest.$ac_ext <<_ACEOF
27428 cat confdefs.h >>conftest.$ac_ext
27429 cat >>conftest.$ac_ext <<_ACEOF
27430 /* end confdefs.h. */
27434 #include <hash_map>
27436 rm -f conftest.$ac_objext
27437 if { (ac_try="$ac_compile"
27438 case "(($ac_try" in
27439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27440 *) ac_try_echo=$ac_try;;
27442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27443 (eval "$ac_compile") 2>conftest.er1
27445 grep -v '^
*+' conftest.er1 >conftest.err
27447 cat conftest.err >&5
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); } && {
27450 test -z "$ac_cxx_werror_flag" ||
27451 test ! -s conftest.err
27452 } && test -s conftest.$ac_objext; then
27453 ac_cv_header_hash_map=yes
27455 echo "$as_me: failed program was:" >&5
27456 sed 's
/^
/| /' conftest.$ac_ext >&5
27458 ac_cv_header_hash_map=no
27461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27463 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27464 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27465 if test $ac_cv_header_hash_map = yes; then
27466 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27467 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27468 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27469 echo $ECHO_N "(cached) $ECHO_C" >&6
27471 cat >conftest.$ac_ext <<_ACEOF
27474 cat confdefs.h >>conftest.$ac_ext
27475 cat >>conftest.$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477 #include <hash_map>
27478 #include <hash_set>
27482 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27483 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27488 rm -f conftest.$ac_objext
27489 if { (ac_try="$ac_compile"
27490 case "(($ac_try" in
27491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27492 *) ac_try_echo=$ac_try;;
27494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27495 (eval "$ac_compile") 2>conftest.er1
27497 grep -v '^
*+' conftest.er1 >conftest.err
27499 cat conftest.err >&5
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); } && {
27502 test -z "$ac_cxx_werror_flag" ||
27503 test ! -s conftest.err
27504 } && test -s conftest.$ac_objext; then
27505 wx_cv_class_stdhashmapset=yes
27507 echo "$as_me: failed program was:" >&5
27508 sed 's
/^
/| /' conftest.$ac_ext >&5
27510 wx_cv_class_stdhashmapset=no
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27517 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27518 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27523 if test "$wx_cv_class_stdhashmapset" = yes; then
27524 cat >>confdefs.h <<\_ACEOF
27525 #define HAVE_HASH_MAP 1
27528 cat >>confdefs.h <<\_ACEOF
27529 #define HAVE_STD_HASH_MAP 1
27534 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27535 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27536 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27537 echo $ECHO_N "(cached) $ECHO_C" >&6
27539 cat >conftest.$ac_ext <<_ACEOF
27542 cat confdefs.h >>conftest.$ac_ext
27543 cat >>conftest.$ac_ext <<_ACEOF
27544 /* end confdefs.h. */
27548 #include <ext/hash_map>
27550 rm -f conftest.$ac_objext
27551 if { (ac_try="$ac_compile"
27552 case "(($ac_try" in
27553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27554 *) ac_try_echo=$ac_try;;
27556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27557 (eval "$ac_compile") 2>conftest.er1
27559 grep -v '^
*+' conftest.er1 >conftest.err
27561 cat conftest.err >&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); } && {
27564 test -z "$ac_cxx_werror_flag" ||
27565 test ! -s conftest.err
27566 } && test -s conftest.$ac_objext; then
27567 ac_cv_header_ext_hash_map=yes
27569 echo "$as_me: failed program was:" >&5
27570 sed 's
/^
/| /' conftest.$ac_ext >&5
27572 ac_cv_header_ext_hash_map=no
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27577 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27578 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27579 if test $ac_cv_header_ext_hash_map = yes; then
27580 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27581 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27582 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27585 cat >conftest.$ac_ext <<_ACEOF
27588 cat confdefs.h >>conftest.$ac_ext
27589 cat >>conftest.$ac_ext <<_ACEOF
27590 /* end confdefs.h. */
27591 #include <ext/hash_map>
27592 #include <ext/hash_set>
27596 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27597 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27602 rm -f conftest.$ac_objext
27603 if { (ac_try="$ac_compile"
27604 case "(($ac_try" in
27605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27606 *) ac_try_echo=$ac_try;;
27608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27609 (eval "$ac_compile") 2>conftest.er1
27611 grep -v '^
*+' conftest.er1 >conftest.err
27613 cat conftest.err >&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); } && {
27616 test -z "$ac_cxx_werror_flag" ||
27617 test ! -s conftest.err
27618 } && test -s conftest.$ac_objext; then
27619 wx_cv_class_gnuhashmapset=yes
27621 echo "$as_me: failed program was:" >&5
27622 sed 's
/^
/| /' conftest.$ac_ext >&5
27624 wx_cv_class_gnuhashmapset=no
27627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27631 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27632 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27637 if test "$wx_cv_class_gnuhashmapset" = yes; then
27638 cat >>confdefs.h <<\_ACEOF
27639 #define HAVE_EXT_HASH_MAP 1
27642 cat >>confdefs.h <<\_ACEOF
27643 #define HAVE_GNU_CXX_HASH_MAP 1
27651 if test -n "$GCC"; then
27652 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27653 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27654 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27655 echo $ECHO_N "(cached) $ECHO_C" >&6
27658 cat >conftest.$ac_ext <<_ACEOF
27661 cat confdefs.h >>conftest.$ac_ext
27662 cat >>conftest.$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27670 __sync_fetch_and_add(&value, 1);
27671 __sync_sub_and_fetch(&value, 1);
27677 rm -f conftest.$ac_objext
27678 if { (ac_try="$ac_compile"
27679 case "(($ac_try" in
27680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27681 *) ac_try_echo=$ac_try;;
27683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27684 (eval "$ac_compile") 2>conftest.er1
27686 grep -v '^
*+' conftest.er1 >conftest.err
27688 cat conftest.err >&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); } && {
27691 test -z "$ac_cxx_werror_flag" ||
27692 test ! -s conftest.err
27693 } && test -s conftest.$ac_objext; then
27694 wx_cv_cc_gcc_atomic_builtins=yes
27696 echo "$as_me: failed program was:" >&5
27697 sed 's
/^
/| /' conftest.$ac_ext >&5
27699 wx_cv_cc_gcc_atomic_builtins=no
27702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27706 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27707 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27708 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27709 cat >>confdefs.h <<\_ACEOF
27710 #define HAVE_GCC_ATOMIC_BUILTINS 1
27718 ac_cpp='$CPP $CPPFLAGS'
27719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27720 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27726 /usr/local/include \
27728 /usr/Motif-2.1/include \
27729 /usr/Motif-1.2/include \
27730 /usr/include/Motif1.2 \
27733 /usr/openwin/include \
27737 /usr/X11R6/include \
27738 /usr/X11R6.4/include \
27739 /usr/X11R5/include \
27740 /usr/X11R4/include \
27742 /usr/include/X11R6 \
27743 /usr/include/X11R5 \
27744 /usr/include/X11R4 \
27746 /usr/local/X11R6/include \
27747 /usr/local/X11R5/include \
27748 /usr/local/X11R4/include \
27750 /usr/local/include/X11R6 \
27751 /usr/local/include/X11R5 \
27752 /usr/local/include/X11R4 \
27756 /usr/local/X11/include \
27757 /usr/local/include/X11 \
27759 /usr/XFree86/include/X11 \
27762 /usr/openwin/share/include"
27764 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27765 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27769 if test "${wx_cv_std_libpath+set}" = set; then
27770 echo $ECHO_N "(cached) $ECHO_C" >&6
27773 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27774 for e in a so sl dylib dll.a; do
27776 if test -f $libc; then
27779 cat >conftest.$ac_ext <<_ACEOF
27780 int main() { return 0; }
27782 rm -f conftest.$ac_objext conftest$ac_exeext
27783 if { (ac_try="$ac_link"
27784 case "(($ac_try" in
27785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27786 *) ac_try_echo=$ac_try;;
27788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27789 (eval "$ac_link") 2>conftest.er1
27791 grep -v '^
*+' conftest.er1 >conftest.err
27793 cat conftest.err >&5
27794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27795 (exit $ac_status); } && {
27796 test -z "$ac_c_werror_flag" ||
27797 test ! -s conftest.err
27798 } && test -s conftest$ac_exeext &&
27799 $as_test_x conftest$ac_exeext; then
27800 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27802 echo "$as_me: failed program was:" >&5
27803 sed 's
/^
/| /' conftest.$ac_ext >&5
27808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27809 conftest$ac_exeext conftest.$ac_ext
27811 if test "x$wx_cv_std_libpath" != "x"; then
27817 if test "x$wx_cv_std_libpath" = "x"; then
27818 wx_cv_std_libpath="lib"
27827 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27828 wx_cv_std_libpath="lib/64"
27830 wx_cv_std_libpath="lib"
27835 if test "$ac_cv_sizeof_void_p" = 8 -a \
27836 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27837 wx_cv_std_libpath="lib64"
27839 wx_cv_std_libpath="lib"
27844 wx_cv_std_libpath="lib";
27848 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27849 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27851 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27853 if test "$build" != "$host" -a "$GCC" = yes; then
27854 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27855 cross_root=`dirname $cross_root`
27856 cross_root=`dirname $cross_root`
27858 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27859 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27860 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27862 if test -z "$PKG_CONFIG_PATH"; then
27863 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27864 export PKG_CONFIG_PATH
27867 if test -z "$x_includes" -o "$x_includes" = NONE; then
27870 for ac_dir in $SEARCH_INCLUDE /usr/include;
27872 if test -f "$ac_dir/X11/Intrinsic.h"; then
27873 ac_find_includes=$ac_dir
27878 x_includes=$ac_find_includes
27880 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27883 for ac_dir in $SEARCH_LIB;
27885 for ac_extension in a so sl dylib dll.a; do
27886 if test -f "$ac_dir/libXt.$ac_extension"; then
27887 ac_find_libraries=$ac_dir
27893 x_libraries=$ac_find_libraries
27899 cat >confcache <<\_ACEOF
27900 # This file is a shell script that caches the results of configure
27901 # tests run on this system so they can be shared between configure
27902 # scripts and configure runs, see configure's option
--config-cache.
27903 # It is not useful on other systems. If it contains results you don't
27904 # want to keep, you may remove or edit it.
27906 # config.status only pays attention to the cache file if you give it
27907 # the --recheck option to rerun configure.
27909 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27910 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27911 # following values.
27915 # The following way of writing the cache mishandles newlines in values,
27916 # but we know of no workaround that is simple, portable, and efficient.
27917 # So, we kill variables containing newlines.
27918 # Ultrix sh set writes to stderr and can't be redirected directly,
27919 # and sets the high bit in the cache file unless we assign to the vars.
27921 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27922 eval ac_val
=\$
$ac_var
27926 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27927 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27930 _
| IFS
| as_nl
) ;; #(
27931 *) $as_unset $ac_var ;;
27937 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27938 *${as_nl}ac_space
=\
*)
27939 # `set' does not quote correctly, so add quotes (double-quote
27940 # substitution turns \\\\ into \\, and sed turns \\ into \).
27943 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27946 # `set' quotes correctly as required by POSIX, so do not add quotes.
27947 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27956 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27958 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27960 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27961 if test -w "$cache_file"; then
27962 test "x$cache_file" != "x/dev/null" &&
27963 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27964 echo "$as_me: updating cache $cache_file" >&6;}
27965 cat confcache
>$cache_file
27967 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27968 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27973 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27974 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27975 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27976 if test "${wx_cv_lib_glibc21+set}" = set; then
27977 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 cat >conftest.
$ac_ext <<_ACEOF
27983 cat confdefs.h
>>conftest.
$ac_ext
27984 cat >>conftest.
$ac_ext <<_ACEOF
27985 /* end confdefs.h. */
27986 #include <features.h>
27991 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27999 rm -f conftest.
$ac_objext
28000 if { (ac_try
="$ac_compile"
28001 case "(($ac_try" in
28002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28003 *) ac_try_echo=$ac_try;;
28005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28006 (eval "$ac_compile") 2>conftest.er1
28008 grep -v '^ *+' conftest.er1 >conftest.err
28010 cat conftest.err >&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); } && {
28013 test -z "$ac_c_werror_flag" ||
28014 test ! -s conftest.err
28015 } && test -s conftest.$ac_objext; then
28017 wx_cv_lib_glibc21=yes
28020 echo "$as_me: failed program was:" >&5
28021 sed 's/^/| /' conftest.$ac_ext >&5
28024 wx_cv_lib_glibc21=no
28029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28032 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
28033 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
28034 if test "$wx_cv_lib_glibc21" = "yes"; then
28035 cat >>confdefs.h <<\_ACEOF
28036 #define wxHAVE_GLIBC2 1
28042 if test "x$wx_cv_lib_glibc21" = "xyes"; then
28043 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
28044 cat >>confdefs.h <<\_ACEOF
28045 #define _GNU_SOURCE 1
28056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28057 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28059 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28060 echo $ECHO_N "(cached) $ECHO_C" >&6
28062 cat >conftest.$ac_ext <<_ACEOF
28065 cat confdefs.h >>conftest.$ac_ext
28066 cat >>conftest.$ac_ext <<_ACEOF
28067 /* end confdefs.h. */
28068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28070 #define $ac_func innocuous_$ac_func
28072 /* System header to define __stub macros and hopefully few prototypes,
28073 which can conflict with char $ac_func (); below.
28074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28075 <limits.h> exists even on freestanding compilers. */
28078 # include <limits.h>
28080 # include <assert.h>
28085 /* Override any GCC internal prototype to avoid an error.
28086 Use char because int might match the return type of a GCC
28087 builtin and then its argument prototype would still apply. */
28092 /* The GNU C library defines this for functions which it implements
28093 to always fail with ENOSYS. Some functions are actually named
28094 something starting with __ and the normal name is an alias. */
28095 #if defined __stub_$ac_func || defined __stub___$ac_func
28102 return $ac_func ();
28107 rm -f conftest.$ac_objext conftest$ac_exeext
28108 if { (ac_try="$ac_link"
28109 case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28111 *) ac_try_echo
=$ac_try;;
28113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_link") 2>conftest.er1
28116 grep -v '^ *+' conftest.er1
>conftest.err
28118 cat conftest.err
>&5
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); } && {
28121 test -z "$ac_c_werror_flag" ||
28122 test ! -s conftest.err
28123 } && test -s conftest
$ac_exeext &&
28124 $as_test_x conftest
$ac_exeext; then
28125 eval "$as_ac_var=yes"
28127 echo "$as_me: failed program was:" >&5
28128 sed 's/^/| /' conftest.
$ac_ext >&5
28130 eval "$as_ac_var=no"
28133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28134 conftest
$ac_exeext conftest.
$ac_ext
28136 ac_res
=`eval echo '${'$as_ac_var'}'`
28137 { echo "$as_me:$LINENO: result: $ac_res" >&5
28138 echo "${ECHO_T}$ac_res" >&6; }
28139 if test `eval echo '${'$as_ac_var'}'` = yes; then
28140 cat >>confdefs.h
<<_ACEOF
28141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28148 for ac_func
in floor
28150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28151 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28153 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28154 echo $ECHO_N "(cached) $ECHO_C" >&6
28156 cat >conftest.
$ac_ext <<_ACEOF
28159 cat confdefs.h
>>conftest.
$ac_ext
28160 cat >>conftest.
$ac_ext <<_ACEOF
28161 /* end confdefs.h. */
28162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28164 #define $ac_func innocuous_$ac_func
28166 /* System header to define __stub macros and hopefully few prototypes,
28167 which can conflict with char $ac_func (); below.
28168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28169 <limits.h> exists even on freestanding compilers. */
28172 # include <limits.h>
28174 # include <assert.h>
28179 /* Override any GCC internal prototype to avoid an error.
28180 Use char because int might match the return type of a GCC
28181 builtin and then its argument prototype would still apply. */
28186 /* The GNU C library defines this for functions which it implements
28187 to always fail with ENOSYS. Some functions are actually named
28188 something starting with __ and the normal name is an alias. */
28189 #if defined __stub_$ac_func || defined __stub___$ac_func
28196 return $ac_func ();
28201 rm -f conftest.
$ac_objext conftest
$ac_exeext
28202 if { (ac_try
="$ac_link"
28203 case "(($ac_try" in
28204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28205 *) ac_try_echo=$ac_try;;
28207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28208 (eval "$ac_link") 2>conftest.er1
28210 grep -v '^ *+' conftest.er1 >conftest.err
28212 cat conftest.err >&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); } && {
28215 test -z "$ac_c_werror_flag" ||
28216 test ! -s conftest.err
28217 } && test -s conftest$ac_exeext &&
28218 $as_test_x conftest$ac_exeext; then
28219 eval "$as_ac_var=yes"
28221 echo "$as_me: failed program was:" >&5
28222 sed 's/^/| /' conftest.$ac_ext >&5
28224 eval "$as_ac_var=no"
28227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28228 conftest$ac_exeext conftest.$ac_ext
28230 ac_res=`eval echo '${'$as_ac_var'}'`
28231 { echo "$as_me:$LINENO: result: $ac_res" >&5
28232 echo "${ECHO_T}$ac_res" >&6; }
28233 if test `eval echo '${'$as_ac_var'}'` = yes; then
28234 cat >>confdefs.h <<_ACEOF
28235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28241 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28242 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28243 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28244 { echo "$as_me:$LINENO: result: yes" >&5
28245 echo "${ECHO_T}yes" >&6; }
28247 { echo "$as_me:$LINENO: result: no" >&5
28248 echo "${ECHO_T}no" >&6; }
28250 # use different functions to avoid configure caching
28256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28257 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28259 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28262 cat >conftest.$ac_ext <<_ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28270 #define $ac_func innocuous_$ac_func
28272 /* System header to define __stub macros and hopefully few prototypes,
28273 which can conflict with char $ac_func (); below.
28274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28275 <limits.h> exists even on freestanding compilers. */
28278 # include <limits.h>
28280 # include <assert.h>
28285 /* Override any GCC internal prototype to avoid an error.
28286 Use char because int might match the return type of a GCC
28287 builtin and then its argument prototype would still apply. */
28292 /* The GNU C library defines this for functions which it implements
28293 to always fail with ENOSYS. Some functions are actually named
28294 something starting with __ and the normal name is an alias. */
28295 #if defined __stub_$ac_func || defined __stub___$ac_func
28302 return $ac_func ();
28307 rm -f conftest.$ac_objext conftest$ac_exeext
28308 if { (ac_try="$ac_link"
28309 case "(($ac_try" in
28310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28311 *) ac_try_echo
=$ac_try;;
28313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28314 (eval "$ac_link") 2>conftest.er1
28316 grep -v '^ *+' conftest.er1
>conftest.err
28318 cat conftest.err
>&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); } && {
28321 test -z "$ac_c_werror_flag" ||
28322 test ! -s conftest.err
28323 } && test -s conftest
$ac_exeext &&
28324 $as_test_x conftest
$ac_exeext; then
28325 eval "$as_ac_var=yes"
28327 echo "$as_me: failed program was:" >&5
28328 sed 's/^/| /' conftest.
$ac_ext >&5
28330 eval "$as_ac_var=no"
28333 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28334 conftest
$ac_exeext conftest.
$ac_ext
28336 ac_res
=`eval echo '${'$as_ac_var'}'`
28337 { echo "$as_me:$LINENO: result: $ac_res" >&5
28338 echo "${ECHO_T}$ac_res" >&6; }
28339 if test `eval echo '${'$as_ac_var'}'` = yes; then
28340 cat >>confdefs.h
<<_ACEOF
28341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28348 for ac_func
in ceil
28350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28351 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28353 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28354 echo $ECHO_N "(cached) $ECHO_C" >&6
28356 cat >conftest.
$ac_ext <<_ACEOF
28359 cat confdefs.h
>>conftest.
$ac_ext
28360 cat >>conftest.
$ac_ext <<_ACEOF
28361 /* end confdefs.h. */
28362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28364 #define $ac_func innocuous_$ac_func
28366 /* System header to define __stub macros and hopefully few prototypes,
28367 which can conflict with char $ac_func (); below.
28368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28369 <limits.h> exists even on freestanding compilers. */
28372 # include <limits.h>
28374 # include <assert.h>
28379 /* Override any GCC internal prototype to avoid an error.
28380 Use char because int might match the return type of a GCC
28381 builtin and then its argument prototype would still apply. */
28386 /* The GNU C library defines this for functions which it implements
28387 to always fail with ENOSYS. Some functions are actually named
28388 something starting with __ and the normal name is an alias. */
28389 #if defined __stub_$ac_func || defined __stub___$ac_func
28396 return $ac_func ();
28401 rm -f conftest.
$ac_objext conftest
$ac_exeext
28402 if { (ac_try
="$ac_link"
28403 case "(($ac_try" in
28404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28405 *) ac_try_echo=$ac_try;;
28407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28408 (eval "$ac_link") 2>conftest.er1
28410 grep -v '^ *+' conftest.er1 >conftest.err
28412 cat conftest.err >&5
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); } && {
28415 test -z "$ac_c_werror_flag" ||
28416 test ! -s conftest.err
28417 } && test -s conftest$ac_exeext &&
28418 $as_test_x conftest$ac_exeext; then
28419 eval "$as_ac_var=yes"
28421 echo "$as_me: failed program was:" >&5
28422 sed 's/^/| /' conftest.$ac_ext >&5
28424 eval "$as_ac_var=no"
28427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28428 conftest$ac_exeext conftest.$ac_ext
28430 ac_res=`eval echo '${'$as_ac_var'}'`
28431 { echo "$as_me:$LINENO: result: $ac_res" >&5
28432 echo "${ECHO_T}$ac_res" >&6; }
28433 if test `eval echo '${'$as_ac_var'}'` = yes; then
28434 cat >>confdefs.h <<_ACEOF
28435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28441 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28442 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28443 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28444 { echo "$as_me:$LINENO: result: yes" >&5
28445 echo "${ECHO_T}yes" >&6; }
28447 { echo "$as_me:$LINENO: result: no" >&5
28448 echo "${ECHO_T}no" >&6; }
28449 # not sure we should warn the user, crash, etc.
28454 ac_cpp='$CXXCPP $CPPFLAGS'
28455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28459 if test "wxUSE_UNICODE" = "yes"; then
28461 for wx_func in wcstoull
28463 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28464 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28465 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28466 echo $ECHO_N "(cached) $ECHO_C" >&6
28469 cat >conftest.$ac_ext <<_ACEOF
28473 cat confdefs.h >>conftest.$ac_ext
28474 cat >>conftest.$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28478 $ac_includes_default
28494 rm -f conftest.$ac_objext conftest$ac_exeext
28495 if { (ac_try="$ac_link"
28496 case "(($ac_try" in
28497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28498 *) ac_try_echo
=$ac_try;;
28500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28501 (eval "$ac_link") 2>conftest.er1
28503 grep -v '^ *+' conftest.er1
>conftest.err
28505 cat conftest.err
>&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); } && {
28508 test -z "$ac_cxx_werror_flag" ||
28509 test ! -s conftest.err
28510 } && test -s conftest
$ac_exeext &&
28511 $as_test_x conftest
$ac_exeext; then
28512 eval wx_cv_func_
$wx_func=yes
28514 echo "$as_me: failed program was:" >&5
28515 sed 's/^/| /' conftest.
$ac_ext >&5
28517 eval wx_cv_func_
$wx_func=no
28520 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28521 conftest
$ac_exeext conftest.
$ac_ext
28524 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28525 { echo "$as_me:$LINENO: result: $ac_res" >&5
28526 echo "${ECHO_T}$ac_res" >&6; }
28528 if eval test \
$wx_cv_func_$wx_func = yes
28530 cat >>confdefs.h
<<_ACEOF
28531 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28543 for wx_func
in strtoull
28545 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28546 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28547 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28551 cat >conftest.
$ac_ext <<_ACEOF
28555 cat confdefs.h
>>conftest.
$ac_ext
28556 cat >>conftest.
$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28560 $ac_includes_default
28576 rm -f conftest.
$ac_objext conftest
$ac_exeext
28577 if { (ac_try
="$ac_link"
28578 case "(($ac_try" in
28579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28580 *) ac_try_echo=$ac_try;;
28582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28583 (eval "$ac_link") 2>conftest.er1
28585 grep -v '^ *+' conftest.er1 >conftest.err
28587 cat conftest.err >&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); } && {
28590 test -z "$ac_cxx_werror_flag" ||
28591 test ! -s conftest.err
28592 } && test -s conftest$ac_exeext &&
28593 $as_test_x conftest$ac_exeext; then
28594 eval wx_cv_func_$wx_func=yes
28596 echo "$as_me: failed program was:" >&5
28597 sed 's/^/| /' conftest.$ac_ext >&5
28599 eval wx_cv_func_$wx_func=no
28602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28603 conftest$ac_exeext conftest.$ac_ext
28606 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28607 { echo "$as_me:$LINENO: result: $ac_res" >&5
28608 echo "${ECHO_T}$ac_res" >&6; }
28610 if eval test \$wx_cv_func_$wx_func = yes
28612 cat >>confdefs.h <<_ACEOF
28613 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28625 ac_cpp='$CPP $CPPFLAGS'
28626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28633 if test "$wxUSE_REGEX" != "no"; then
28634 cat >>confdefs.h <<\_ACEOF
28635 #define wxUSE_REGEX 1
28639 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28640 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28641 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28642 wxUSE_REGEX=builtin
28645 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28646 { echo "$as_me:$LINENO: checking for regex.h" >&5
28647 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28648 if test "${ac_cv_header_regex_h+set}" = set; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 cat >conftest.$ac_ext <<_ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28661 rm -f conftest.$ac_objext
28662 if { (ac_try="$ac_compile"
28663 case "(($ac_try" in
28664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28665 *) ac_try_echo
=$ac_try;;
28667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28668 (eval "$ac_compile") 2>conftest.er1
28670 grep -v '^ *+' conftest.er1
>conftest.err
28672 cat conftest.err
>&5
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); } && {
28675 test -z "$ac_c_werror_flag" ||
28676 test ! -s conftest.err
28677 } && test -s conftest.
$ac_objext; then
28678 ac_cv_header_regex_h
=yes
28680 echo "$as_me: failed program was:" >&5
28681 sed 's/^/| /' conftest.
$ac_ext >&5
28683 ac_cv_header_regex_h
=no
28686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28688 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28689 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28690 if test $ac_cv_header_regex_h = yes; then
28693 for ac_func
in regcomp re_search
28695 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28698 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28699 echo $ECHO_N "(cached) $ECHO_C" >&6
28701 cat >conftest.
$ac_ext <<_ACEOF
28704 cat confdefs.h
>>conftest.
$ac_ext
28705 cat >>conftest.
$ac_ext <<_ACEOF
28706 /* end confdefs.h. */
28707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28709 #define $ac_func innocuous_$ac_func
28711 /* System header to define __stub macros and hopefully few prototypes,
28712 which can conflict with char $ac_func (); below.
28713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28714 <limits.h> exists even on freestanding compilers. */
28717 # include <limits.h>
28719 # include <assert.h>
28724 /* Override any GCC internal prototype to avoid an error.
28725 Use char because int might match the return type of a GCC
28726 builtin and then its argument prototype would still apply. */
28731 /* The GNU C library defines this for functions which it implements
28732 to always fail with ENOSYS. Some functions are actually named
28733 something starting with __ and the normal name is an alias. */
28734 #if defined __stub_$ac_func || defined __stub___$ac_func
28741 return $ac_func ();
28746 rm -f conftest.
$ac_objext conftest
$ac_exeext
28747 if { (ac_try
="$ac_link"
28748 case "(($ac_try" in
28749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28750 *) ac_try_echo=$ac_try;;
28752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28753 (eval "$ac_link") 2>conftest.er1
28755 grep -v '^ *+' conftest.er1 >conftest.err
28757 cat conftest.err >&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); } && {
28760 test -z "$ac_c_werror_flag" ||
28761 test ! -s conftest.err
28762 } && test -s conftest$ac_exeext &&
28763 $as_test_x conftest$ac_exeext; then
28764 eval "$as_ac_var=yes"
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.$ac_ext >&5
28769 eval "$as_ac_var=no"
28772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28773 conftest$ac_exeext conftest.$ac_ext
28775 ac_res=`eval echo '${'$as_ac_var'}'`
28776 { echo "$as_me:$LINENO: result: $ac_res" >&5
28777 echo "${ECHO_T}$ac_res" >&6; }
28778 if test `eval echo '${'$as_ac_var'}'` = yes; then
28779 cat >>confdefs.h <<_ACEOF
28780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28790 if test "x$ac_cv_func_regcomp" != "xyes"; then
28791 if test "$wxUSE_REGEX" = "sys" ; then
28792 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28793 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28794 { (exit 1); exit 1; }; }
28796 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28797 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28798 wxUSE_REGEX=builtin
28802 cat >>confdefs.h <<\_ACEOF
28803 #define WX_NO_REGEX_ADVANCED 1
28812 if test "$wxUSE_ZLIB" != "no" ; then
28813 cat >>confdefs.h <<\_ACEOF
28814 #define wxUSE_ZLIB 1
28818 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28819 if test "$USE_DARWIN" = 1; then
28820 system_zlib_h_ok="yes"
28822 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28823 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28824 if test "${ac_cv_header_zlib_h+set}" = set; then
28825 echo $ECHO_N "(cached) $ECHO_C" >&6
28827 if test "$cross_compiling" = yes; then
28828 unset ac_cv_header_zlib_h
28831 cat >conftest.$ac_ext <<_ACEOF
28834 cat confdefs.h >>conftest.$ac_ext
28835 cat >>conftest.$ac_ext <<_ACEOF
28836 /* end confdefs.h. */
28843 FILE *f=fopen("conftestval", "w");
28846 ZLIB_VERSION[0] == '1' &&
28847 (ZLIB_VERSION[2] > '1' ||
28848 (ZLIB_VERSION[2] == '1' &&
28849 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28854 rm -f conftest$ac_exeext
28855 if { (ac_try="$ac_link"
28856 case "(($ac_try" in
28857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28858 *) ac_try_echo
=$ac_try;;
28860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28861 (eval "$ac_link") 2>&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28865 { (case "(($ac_try" in
28866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28867 *) ac_try_echo=$ac_try;;
28869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28870 (eval "$ac_try") 2>&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); }; }; then
28874 ac_cv_header_zlib_h=`cat conftestval
`
28876 echo "$as_me: program exited with status $ac_status" >&5
28877 echo "$as_me: failed program was:" >&5
28878 sed 's/^/| /' conftest.$ac_ext >&5
28880 ( exit $ac_status )
28881 ac_cv_header_zlib_h=no
28883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28889 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28890 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28891 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28892 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28893 if test "${ac_cv_header_zlib_h+set}" = set; then
28894 echo $ECHO_N "(cached) $ECHO_C" >&6
28896 cat >conftest.$ac_ext <<_ACEOF
28899 cat confdefs.h >>conftest.$ac_ext
28900 cat >>conftest.$ac_ext <<_ACEOF
28901 /* end confdefs.h. */
28906 rm -f conftest.$ac_objext
28907 if { (ac_try="$ac_compile"
28908 case "(($ac_try" in
28909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28910 *) ac_try_echo
=$ac_try;;
28912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28913 (eval "$ac_compile") 2>conftest.er1
28915 grep -v '^ *+' conftest.er1
>conftest.err
28917 cat conftest.err
>&5
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); } && {
28920 test -z "$ac_c_werror_flag" ||
28921 test ! -s conftest.err
28922 } && test -s conftest.
$ac_objext; then
28923 ac_cv_header_zlib_h
=yes
28925 echo "$as_me: failed program was:" >&5
28926 sed 's/^/| /' conftest.
$ac_ext >&5
28928 ac_cv_header_zlib_h
=no
28931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28933 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28934 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28938 system_zlib_h_ok
=$ac_cv_header_zlib_h
28941 if test "$system_zlib_h_ok" = "yes"; then
28942 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28943 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28944 if test "${ac_cv_lib_z_deflate+set}" = set; then
28945 echo $ECHO_N "(cached) $ECHO_C" >&6
28947 ac_check_lib_save_LIBS
=$LIBS
28949 cat >conftest.
$ac_ext <<_ACEOF
28952 cat confdefs.h
>>conftest.
$ac_ext
28953 cat >>conftest.
$ac_ext <<_ACEOF
28954 /* end confdefs.h. */
28956 /* Override any GCC internal prototype to avoid an error.
28957 Use char because int might match the return type of a GCC
28958 builtin and then its argument prototype would still apply. */
28971 rm -f conftest.
$ac_objext conftest
$ac_exeext
28972 if { (ac_try
="$ac_link"
28973 case "(($ac_try" in
28974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28975 *) ac_try_echo=$ac_try;;
28977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28978 (eval "$ac_link") 2>conftest.er1
28980 grep -v '^ *+' conftest.er1 >conftest.err
28982 cat conftest.err >&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); } && {
28985 test -z "$ac_c_werror_flag" ||
28986 test ! -s conftest.err
28987 } && test -s conftest$ac_exeext &&
28988 $as_test_x conftest$ac_exeext; then
28989 ac_cv_lib_z_deflate=yes
28991 echo "$as_me: failed program was:" >&5
28992 sed 's/^/| /' conftest.$ac_ext >&5
28994 ac_cv_lib_z_deflate=no
28997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28998 conftest$ac_exeext conftest.$ac_ext
28999 LIBS=$ac_check_lib_save_LIBS
29001 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29002 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29003 if test $ac_cv_lib_z_deflate = yes; then
29009 if test "x$ZLIB_LINK" = "x" ; then
29010 if test "$wxUSE_ZLIB" = "sys" ; then
29011 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29012 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29013 { (exit 1); exit 1; }; }
29015 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29016 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29027 if test "$wxUSE_LIBPNG" != "no" ; then
29028 cat >>confdefs.h <<\_ACEOF
29029 #define wxUSE_LIBPNG 1
29033 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29034 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29035 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29039 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29040 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29041 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29042 wxUSE_LIBPNG=builtin
29045 if test "$wxUSE_MGL" != 1 ; then
29046 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29047 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29048 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29049 if test "${ac_cv_header_png_h+set}" = set; then
29050 echo $ECHO_N "(cached) $ECHO_C" >&6
29052 if test "$cross_compiling" = yes; then
29053 unset ac_cv_header_png_h
29056 cat >conftest.$ac_ext <<_ACEOF
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29068 FILE *f=fopen("conftestval", "w");
29071 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29076 rm -f conftest$ac_exeext
29077 if { (ac_try="$ac_link"
29078 case "(($ac_try" in
29079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29080 *) ac_try_echo
=$ac_try;;
29082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29083 (eval "$ac_link") 2>&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29087 { (case "(($ac_try" in
29088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29089 *) ac_try_echo=$ac_try;;
29091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29092 (eval "$ac_try") 2>&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); }; }; then
29096 ac_cv_header_png_h=`cat conftestval
`
29098 echo "$as_me: program exited with status $ac_status" >&5
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.$ac_ext >&5
29102 ( exit $ac_status )
29103 ac_cv_header_png_h=no
29105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29111 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29112 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29113 { echo "$as_me:$LINENO: checking for png.h" >&5
29114 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29115 if test "${ac_cv_header_png_h+set}" = set; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29118 cat >conftest.$ac_ext <<_ACEOF
29121 cat confdefs.h >>conftest.$ac_ext
29122 cat >>conftest.$ac_ext <<_ACEOF
29123 /* end confdefs.h. */
29128 rm -f conftest.$ac_objext
29129 if { (ac_try="$ac_compile"
29130 case "(($ac_try" in
29131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29132 *) ac_try_echo
=$ac_try;;
29134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29135 (eval "$ac_compile") 2>conftest.er1
29137 grep -v '^ *+' conftest.er1
>conftest.err
29139 cat conftest.err
>&5
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); } && {
29142 test -z "$ac_c_werror_flag" ||
29143 test ! -s conftest.err
29144 } && test -s conftest.
$ac_objext; then
29145 ac_cv_header_png_h
=yes
29147 echo "$as_me: failed program was:" >&5
29148 sed 's/^/| /' conftest.
$ac_ext >&5
29150 ac_cv_header_png_h
=no
29153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29155 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29156 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29160 if test "$ac_cv_header_png_h" = "yes"; then
29161 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29162 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29163 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29164 echo $ECHO_N "(cached) $ECHO_C" >&6
29166 ac_check_lib_save_LIBS
=$LIBS
29167 LIBS
="-lpng -lz -lm $LIBS"
29168 cat >conftest.
$ac_ext <<_ACEOF
29171 cat confdefs.h
>>conftest.
$ac_ext
29172 cat >>conftest.
$ac_ext <<_ACEOF
29173 /* end confdefs.h. */
29175 /* Override any GCC internal prototype to avoid an error.
29176 Use char because int might match the return type of a GCC
29177 builtin and then its argument prototype would still apply. */
29181 char png_check_sig ();
29185 return png_check_sig ();
29190 rm -f conftest.
$ac_objext conftest
$ac_exeext
29191 if { (ac_try
="$ac_link"
29192 case "(($ac_try" in
29193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29194 *) ac_try_echo=$ac_try;;
29196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29197 (eval "$ac_link") 2>conftest.er1
29199 grep -v '^ *+' conftest.er1 >conftest.err
29201 cat conftest.err >&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); } && {
29204 test -z "$ac_c_werror_flag" ||
29205 test ! -s conftest.err
29206 } && test -s conftest$ac_exeext &&
29207 $as_test_x conftest$ac_exeext; then
29208 ac_cv_lib_png_png_check_sig=yes
29210 echo "$as_me: failed program was:" >&5
29211 sed 's/^/| /' conftest.$ac_ext >&5
29213 ac_cv_lib_png_png_check_sig=no
29216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29217 conftest$ac_exeext conftest.$ac_ext
29218 LIBS=$ac_check_lib_save_LIBS
29220 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29221 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29222 if test $ac_cv_lib_png_png_check_sig = yes; then
29223 PNG_LINK=" -lpng -lz"
29228 if test "x$PNG_LINK" = "x" ; then
29229 if test "$wxUSE_LIBPNG" = "sys" ; then
29230 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29231 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29232 { (exit 1); exit 1; }; }
29234 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29235 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29236 wxUSE_LIBPNG=builtin
29247 if test "$wxUSE_LIBJPEG" != "no" ; then
29248 cat >>confdefs.h <<\_ACEOF
29249 #define wxUSE_LIBJPEG 1
29253 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29254 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29255 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29259 if test "$wxUSE_MGL" != 1 ; then
29260 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29261 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29262 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29263 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29264 echo $ECHO_N "(cached) $ECHO_C" >&6
29266 cat >conftest.$ac_ext <<_ACEOF
29269 cat confdefs.h >>conftest.$ac_ext
29270 cat >>conftest.$ac_ext <<_ACEOF
29271 /* end confdefs.h. */
29273 #undef HAVE_STDLIB_H
29275 #include <jpeglib.h>
29286 rm -f conftest.$ac_objext
29287 if { (ac_try="$ac_compile"
29288 case "(($ac_try" in
29289 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29290 *) ac_try_echo
=$ac_try;;
29292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29293 (eval "$ac_compile") 2>conftest.er1
29295 grep -v '^ *+' conftest.er1
>conftest.err
29297 cat conftest.err
>&5
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); } && {
29300 test -z "$ac_c_werror_flag" ||
29301 test ! -s conftest.err
29302 } && test -s conftest.
$ac_objext; then
29303 ac_cv_header_jpeglib_h
=yes
29305 echo "$as_me: failed program was:" >&5
29306 sed 's/^/| /' conftest.
$ac_ext >&5
29308 ac_cv_header_jpeglib_h
=no
29312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29316 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29317 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29319 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29320 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29321 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29322 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29323 echo $ECHO_N "(cached) $ECHO_C" >&6
29325 ac_check_lib_save_LIBS
=$LIBS
29326 LIBS
="-ljpeg $LIBS"
29327 cat >conftest.
$ac_ext <<_ACEOF
29330 cat confdefs.h
>>conftest.
$ac_ext
29331 cat >>conftest.
$ac_ext <<_ACEOF
29332 /* end confdefs.h. */
29334 /* Override any GCC internal prototype to avoid an error.
29335 Use char because int might match the return type of a GCC
29336 builtin and then its argument prototype would still apply. */
29340 char jpeg_read_header ();
29344 return jpeg_read_header ();
29349 rm -f conftest.
$ac_objext conftest
$ac_exeext
29350 if { (ac_try
="$ac_link"
29351 case "(($ac_try" in
29352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29353 *) ac_try_echo=$ac_try;;
29355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29356 (eval "$ac_link") 2>conftest.er1
29358 grep -v '^ *+' conftest.er1 >conftest.err
29360 cat conftest.err >&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); } && {
29363 test -z "$ac_c_werror_flag" ||
29364 test ! -s conftest.err
29365 } && test -s conftest$ac_exeext &&
29366 $as_test_x conftest$ac_exeext; then
29367 ac_cv_lib_jpeg_jpeg_read_header=yes
29369 echo "$as_me: failed program was:" >&5
29370 sed 's/^/| /' conftest.$ac_ext >&5
29372 ac_cv_lib_jpeg_jpeg_read_header=no
29375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29376 conftest$ac_exeext conftest.$ac_ext
29377 LIBS=$ac_check_lib_save_LIBS
29379 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29380 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29381 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29382 JPEG_LINK=" -ljpeg"
29387 if test "x$JPEG_LINK" = "x" ; then
29388 if test "$wxUSE_LIBJPEG" = "sys" ; then
29389 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29390 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29391 { (exit 1); exit 1; }; }
29393 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29394 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29395 wxUSE_LIBJPEG=builtin
29400 if test "$wxUSE_MSW" = 1; then
29401 { echo "$as_me:$LINENO: checking for boolean" >&5
29402 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29403 if test "${ac_cv_type_boolean+set}" = set; then
29404 echo $ECHO_N "(cached) $ECHO_C" >&6
29406 cat >conftest.$ac_ext <<_ACEOF
29409 cat confdefs.h >>conftest.$ac_ext
29410 cat >>conftest.$ac_ext <<_ACEOF
29411 /* end confdefs.h. */
29412 #include <windows.h>
29414 typedef boolean ac__type_new_;
29418 if ((ac__type_new_ *) 0)
29420 if (sizeof (ac__type_new_))
29426 rm -f conftest.$ac_objext
29427 if { (ac_try="$ac_compile"
29428 case "(($ac_try" in
29429 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29430 *) ac_try_echo
=$ac_try;;
29432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29433 (eval "$ac_compile") 2>conftest.er1
29435 grep -v '^ *+' conftest.er1
>conftest.err
29437 cat conftest.err
>&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } && {
29440 test -z "$ac_c_werror_flag" ||
29441 test ! -s conftest.err
29442 } && test -s conftest.
$ac_objext; then
29443 ac_cv_type_boolean
=yes
29445 echo "$as_me: failed program was:" >&5
29446 sed 's/^/| /' conftest.
$ac_ext >&5
29448 ac_cv_type_boolean
=no
29451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29453 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29454 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29455 if test $ac_cv_type_boolean = yes; then
29457 cat >>confdefs.h
<<_ACEOF
29458 #define HAVE_BOOLEAN 1
29462 { echo "$as_me:$LINENO: checking for boolean" >&5
29463 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29464 if test "${ac_cv_type_boolean+set}" = set; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29467 cat >conftest.
$ac_ext <<_ACEOF
29470 cat confdefs.h
>>conftest.
$ac_ext
29471 cat >>conftest.
$ac_ext <<_ACEOF
29472 /* end confdefs.h. */
29474 #undef HAVE_BOOLEAN
29476 #include <jpeglib.h>
29479 typedef boolean ac__type_new_;
29483 if ((ac__type_new_ *) 0)
29485 if (sizeof (ac__type_new_))
29491 rm -f conftest.
$ac_objext
29492 if { (ac_try
="$ac_compile"
29493 case "(($ac_try" in
29494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29495 *) ac_try_echo=$ac_try;;
29497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29498 (eval "$ac_compile") 2>conftest.er1
29500 grep -v '^ *+' conftest.er1 >conftest.err
29502 cat conftest.err >&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } && {
29505 test -z "$ac_c_werror_flag" ||
29506 test ! -s conftest.err
29507 } && test -s conftest.$ac_objext; then
29508 ac_cv_type_boolean=yes
29510 echo "$as_me: failed program was:" >&5
29511 sed 's/^/| /' conftest.$ac_ext >&5
29513 ac_cv_type_boolean=no
29516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29518 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29519 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29521 # The cast to long int works around a bug in the HP C Compiler
29522 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29523 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29524 # This bug is HP SR number 8606223364.
29525 { echo "$as_me:$LINENO: checking size of boolean" >&5
29526 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29527 if test "${ac_cv_sizeof_boolean+set}" = set; then
29528 echo $ECHO_N "(cached) $ECHO_C" >&6
29530 if test "$cross_compiling" = yes; then
29531 # Depending upon the size, compute the lo and hi bounds.
29532 cat >conftest.$ac_ext <<_ACEOF
29535 cat confdefs.h >>conftest.$ac_ext
29536 cat >>conftest.$ac_ext <<_ACEOF
29537 /* end confdefs.h. */
29539 #undef HAVE_BOOLEAN
29541 #include <jpeglib.h>
29544 typedef boolean ac__type_sizeof_;
29548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29555 rm -f conftest.$ac_objext
29556 if { (ac_try="$ac_compile"
29557 case "(($ac_try" in
29558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29559 *) ac_try_echo=$ac_try;;
29561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29562 (eval "$ac_compile") 2>conftest.er1
29564 grep -v '^
*+' conftest.er1 >conftest.err
29566 cat conftest.err >&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); } && {
29569 test -z "$ac_c_werror_flag" ||
29570 test ! -s conftest.err
29571 } && test -s conftest.$ac_objext; then
29574 cat >conftest.$ac_ext <<_ACEOF
29577 cat confdefs.h >>conftest.$ac_ext
29578 cat >>conftest.$ac_ext <<_ACEOF
29579 /* end confdefs.h. */
29581 #undef HAVE_BOOLEAN
29583 #include <jpeglib.h>
29586 typedef boolean ac__type_sizeof_;
29590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29597 rm -f conftest.$ac_objext
29598 if { (ac_try="$ac_compile"
29599 case "(($ac_try" in
29600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29601 *) ac_try_echo=$ac_try;;
29603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29604 (eval "$ac_compile") 2>conftest.er1
29606 grep -v '^
*+' conftest.er1 >conftest.err
29608 cat conftest.err >&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } && {
29611 test -z "$ac_c_werror_flag" ||
29612 test ! -s conftest.err
29613 } && test -s conftest.$ac_objext; then
29614 ac_hi=$ac_mid; break
29616 echo "$as_me: failed program was:" >&5
29617 sed 's
/^
/| /' conftest.$ac_ext >&5
29619 ac_lo=`expr $ac_mid + 1`
29620 if test $ac_lo -le $ac_mid; then
29624 ac_mid=`expr 2 '*' $ac_mid + 1`
29627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29630 echo "$as_me: failed program was:" >&5
29631 sed 's
/^
/| /' conftest.$ac_ext >&5
29633 cat >conftest.$ac_ext <<_ACEOF
29636 cat confdefs.h >>conftest.$ac_ext
29637 cat >>conftest.$ac_ext <<_ACEOF
29638 /* end confdefs.h. */
29640 #undef HAVE_BOOLEAN
29642 #include <jpeglib.h>
29645 typedef boolean ac__type_sizeof_;
29649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29656 rm -f conftest.$ac_objext
29657 if { (ac_try="$ac_compile"
29658 case "(($ac_try" in
29659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29660 *) ac_try_echo=$ac_try;;
29662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29663 (eval "$ac_compile") 2>conftest.er1
29665 grep -v '^
*+' conftest.er1 >conftest.err
29667 cat conftest.err >&5
29668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); } && {
29670 test -z "$ac_c_werror_flag" ||
29671 test ! -s conftest.err
29672 } && test -s conftest.$ac_objext; then
29675 cat >conftest.$ac_ext <<_ACEOF
29678 cat confdefs.h >>conftest.$ac_ext
29679 cat >>conftest.$ac_ext <<_ACEOF
29680 /* end confdefs.h. */
29682 #undef HAVE_BOOLEAN
29684 #include <jpeglib.h>
29687 typedef boolean ac__type_sizeof_;
29691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29698 rm -f conftest.$ac_objext
29699 if { (ac_try="$ac_compile"
29700 case "(($ac_try" in
29701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29702 *) ac_try_echo=$ac_try;;
29704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29705 (eval "$ac_compile") 2>conftest.er1
29707 grep -v '^
*+' conftest.er1 >conftest.err
29709 cat conftest.err >&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); } && {
29712 test -z "$ac_c_werror_flag" ||
29713 test ! -s conftest.err
29714 } && test -s conftest.$ac_objext; then
29715 ac_lo=$ac_mid; break
29717 echo "$as_me: failed program was:" >&5
29718 sed 's
/^
/| /' conftest.$ac_ext >&5
29720 ac_hi=`expr '(' $ac_mid ')' - 1`
29721 if test $ac_mid -le $ac_hi; then
29725 ac_mid=`expr 2 '*' $ac_mid`
29728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29731 echo "$as_me: failed program was:" >&5
29732 sed 's
/^
/| /' conftest.$ac_ext >&5
29737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29741 # Binary search between lo and hi bounds.
29742 while test "x$ac_lo" != "x$ac_hi"; do
29743 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29744 cat >conftest.$ac_ext <<_ACEOF
29747 cat confdefs.h >>conftest.$ac_ext
29748 cat >>conftest.$ac_ext <<_ACEOF
29749 /* end confdefs.h. */
29751 #undef HAVE_BOOLEAN
29753 #include <jpeglib.h>
29756 typedef boolean ac__type_sizeof_;
29760 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29767 rm -f conftest.$ac_objext
29768 if { (ac_try="$ac_compile"
29769 case "(($ac_try" in
29770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29771 *) ac_try_echo=$ac_try;;
29773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29774 (eval "$ac_compile") 2>conftest.er1
29776 grep -v '^
*+' conftest.er1 >conftest.err
29778 cat conftest.err >&5
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); } && {
29781 test -z "$ac_c_werror_flag" ||
29782 test ! -s conftest.err
29783 } && test -s conftest.$ac_objext; then
29786 echo "$as_me: failed program was:" >&5
29787 sed 's
/^
/| /' conftest.$ac_ext >&5
29789 ac_lo=`expr '(' $ac_mid ')' + 1`
29792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29795 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29796 '') if test "$ac_cv_type_boolean" = yes; then
29797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29798 See \`config.log' for more details.
" >&5
29799 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29800 See \
`config.log' for more details." >&2;}
29801 { (exit 77); exit 77; }; }
29803 ac_cv_sizeof_boolean=0
29807 cat >conftest.$ac_ext <<_ACEOF
29810 cat confdefs.h >>conftest.$ac_ext
29811 cat >>conftest.$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29814 #undef HAVE_BOOLEAN
29816 #include <jpeglib.h>
29819 typedef boolean ac__type_sizeof_;
29820 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29821 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29823 #include <stdlib.h>
29828 FILE *f = fopen ("conftest.val", "w");
29831 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29833 long int i = longval ();
29834 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29836 fprintf (f, "%ld\n", i);
29840 unsigned long int i = ulongval ();
29841 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29843 fprintf (f, "%lu\n", i);
29845 return ferror (f) || fclose (f) != 0;
29851 rm -f conftest$ac_exeext
29852 if { (ac_try="$ac_link"
29853 case "(($ac_try" in
29854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29855 *) ac_try_echo
=$ac_try;;
29857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29858 (eval "$ac_link") 2>&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29862 { (case "(($ac_try" in
29863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29864 *) ac_try_echo=$ac_try;;
29866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29867 (eval "$ac_try") 2>&5
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); }; }; then
29871 ac_cv_sizeof_boolean=`cat conftest.val
`
29873 echo "$as_me: program exited with status $ac_status" >&5
29874 echo "$as_me: failed program was:" >&5
29875 sed 's/^/| /' conftest.$ac_ext >&5
29877 ( exit $ac_status )
29878 if test "$ac_cv_type_boolean" = yes; then
29879 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29880 See \`config.log
' for more details." >&5
29881 echo "$as_me: error: cannot compute sizeof (boolean)
29882 See \`config.log' for more details.
" >&2;}
29883 { (exit 77); exit 77; }; }
29885 ac_cv_sizeof_boolean=0
29888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29892 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29893 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29897 cat >>confdefs.h <<_ACEOF
29898 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29902 cat >>confdefs.h <<_ACEOF
29903 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29917 TIFF_PREREQ_LINKS=-lm
29918 if test "$wxUSE_LIBTIFF" != "no
" ; then
29919 cat >>confdefs.h <<\_ACEOF
29920 #define wxUSE_LIBTIFF 1
29924 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29925 if test "$wxUSE_LIBJPEG" = "sys
"; then
29926 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29928 if test "$wxUSE_ZLIB" = "sys
"; then
29929 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29931 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29932 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29933 if test "${ac_cv_header_tiffio_h+set}" = set; then
29934 echo $ECHO_N "(cached
) $ECHO_C" >&6
29936 cat >conftest.$ac_ext <<_ACEOF
29939 cat confdefs.h >>conftest.$ac_ext
29940 cat >>conftest.$ac_ext <<_ACEOF
29941 /* end confdefs.h. */
29945 #include <tiffio.h>
29947 rm -f conftest.$ac_objext
29948 if { (ac_try="$ac_compile"
29949 case "(($ac_try" in
29950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29951 *) ac_try_echo=$ac_try;;
29953 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29954 (eval "$ac_compile") 2>conftest.er1
29956 grep -v '^ *+' conftest.er1 >conftest.err
29958 cat conftest.err >&5
29959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29960 (exit $ac_status); } && {
29961 test -z "$ac_c_werror_flag" ||
29962 test ! -s conftest.err
29963 } && test -s conftest.$ac_objext; then
29964 ac_cv_header_tiffio_h=yes
29966 echo "$as_me: failed program was
:" >&5
29967 sed 's/^/| /' conftest.$ac_ext >&5
29969 ac_cv_header_tiffio_h=no
29972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29974 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29975 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29976 if test $ac_cv_header_tiffio_h = yes; then
29978 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29979 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29980 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29981 echo $ECHO_N "(cached
) $ECHO_C" >&6
29983 ac_check_lib_save_LIBS=$LIBS
29984 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29985 cat >conftest.$ac_ext <<_ACEOF
29988 cat confdefs.h >>conftest.$ac_ext
29989 cat >>conftest.$ac_ext <<_ACEOF
29990 /* end confdefs.h. */
29992 /* Override any GCC internal prototype to avoid an error.
29993 Use char because int might match the return type of a GCC
29994 builtin and then its argument prototype would still apply. */
30002 return TIFFError ();
30007 rm -f conftest.$ac_objext conftest$ac_exeext
30008 if { (ac_try="$ac_link"
30009 case "(($ac_try" in
30010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30011 *) ac_try_echo=$ac_try;;
30013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30014 (eval "$ac_link") 2>conftest.er1
30016 grep -v '^ *+' conftest.er1 >conftest.err
30018 cat conftest.err >&5
30019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30020 (exit $ac_status); } && {
30021 test -z "$ac_c_werror_flag" ||
30022 test ! -s conftest.err
30023 } && test -s conftest$ac_exeext &&
30024 $as_test_x conftest$ac_exeext; then
30025 ac_cv_lib_tiff_TIFFError=yes
30027 echo "$as_me: failed program was
:" >&5
30028 sed 's/^/| /' conftest.$ac_ext >&5
30030 ac_cv_lib_tiff_TIFFError=no
30033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30034 conftest$ac_exeext conftest.$ac_ext
30035 LIBS=$ac_check_lib_save_LIBS
30037 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
30038 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30039 if test $ac_cv_lib_tiff_TIFFError = yes; then
30040 TIFF_LINK=" -ltiff"
30048 if test "x
$TIFF_LINK" = "x
" ; then
30049 if test "$wxUSE_LIBTIFF" = "sys
" ; then
30050 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
30051 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
30052 { (exit 1); exit 1; }; }
30054 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
30055 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
30056 wxUSE_LIBTIFF=builtin
30061 if test "$wxUSE_LIBTIFF" = "builtin" ; then
30062 subdirs="$subdirs src
/tiff
"
30069 if test "$wxUSE_WCHAR_T" != "yes"; then
30070 if test "$wxUSE_EXPAT" != "no
"; then
30071 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
30072 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
30075 if test "$wxUSE_XML" != "no
"; then
30076 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
30077 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
30082 if test "$wxUSE_EXPAT" != "no
"; then
30084 cat >>confdefs.h <<\_ACEOF
30085 #define wxUSE_EXPAT 1
30088 cat >>confdefs.h <<\_ACEOF
30089 #define wxUSE_XML 1
30093 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
30094 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
30095 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
30096 if test "${ac_cv_header_expat_h+set}" = set; then
30097 echo $ECHO_N "(cached
) $ECHO_C" >&6
30099 cat >conftest.$ac_ext <<_ACEOF
30102 cat confdefs.h >>conftest.$ac_ext
30103 cat >>conftest.$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30109 rm -f conftest.$ac_objext
30110 if { (ac_try="$ac_compile"
30111 case "(($ac_try" in
30112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30113 *) ac_try_echo=$ac_try;;
30115 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30116 (eval "$ac_compile") 2>conftest.er1
30118 grep -v '^ *+' conftest.er1 >conftest.err
30120 cat conftest.err >&5
30121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30122 (exit $ac_status); } && {
30123 test -z "$ac_c_werror_flag" ||
30124 test ! -s conftest.err
30125 } && test -s conftest.$ac_objext; then
30126 ac_cv_header_expat_h=yes
30128 echo "$as_me: failed program was
:" >&5
30129 sed 's/^/| /' conftest.$ac_ext >&5
30131 ac_cv_header_expat_h=no
30134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30136 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
30137 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30138 if test $ac_cv_header_expat_h = yes; then
30143 if test "x
$found_expat_h" = "x1
"; then
30144 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
30145 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
30146 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30147 echo $ECHO_N "(cached
) $ECHO_C" >&6
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30156 cat >conftest.$ac_ext <<_ACEOF
30159 cat confdefs.h >>conftest.$ac_ext
30160 cat >>conftest.$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30171 rm -f conftest.$ac_objext
30172 if { (ac_try="$ac_compile"
30173 case "(($ac_try" in
30174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30175 *) ac_try_echo=$ac_try;;
30177 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30178 (eval "$ac_compile") 2>conftest.er1
30180 grep -v '^ *+' conftest.er1 >conftest.err
30182 cat conftest.err >&5
30183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30184 (exit $ac_status); } && {
30185 test -z "$ac_cxx_werror_flag" ||
30186 test ! -s conftest.err
30187 } && test -s conftest.$ac_objext; then
30188 wx_cv_expat_is_not_broken=yes
30190 echo "$as_me: failed program was
:" >&5
30191 sed 's/^/| /' conftest.$ac_ext >&5
30193 wx_cv_expat_is_not_broken=no
30197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30199 ac_cpp='$CPP $CPPFLAGS'
30200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30207 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30208 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30209 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30210 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30211 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30212 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30213 echo $ECHO_N "(cached
) $ECHO_C" >&6
30215 ac_check_lib_save_LIBS=$LIBS
30216 LIBS="-lexpat $LIBS"
30217 cat >conftest.$ac_ext <<_ACEOF
30220 cat confdefs.h >>conftest.$ac_ext
30221 cat >>conftest.$ac_ext <<_ACEOF
30222 /* end confdefs.h. */
30224 /* Override any GCC internal prototype to avoid an error.
30225 Use char because int might match the return type of a GCC
30226 builtin and then its argument prototype would still apply. */
30230 char XML_ParserCreate ();
30234 return XML_ParserCreate ();
30239 rm -f conftest.$ac_objext conftest$ac_exeext
30240 if { (ac_try="$ac_link"
30241 case "(($ac_try" in
30242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30243 *) ac_try_echo=$ac_try;;
30245 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30246 (eval "$ac_link") 2>conftest.er1
30248 grep -v '^ *+' conftest.er1 >conftest.err
30250 cat conftest.err >&5
30251 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30252 (exit $ac_status); } && {
30253 test -z "$ac_c_werror_flag" ||
30254 test ! -s conftest.err
30255 } && test -s conftest$ac_exeext &&
30256 $as_test_x conftest$ac_exeext; then
30257 ac_cv_lib_expat_XML_ParserCreate=yes
30259 echo "$as_me: failed program was
:" >&5
30260 sed 's/^/| /' conftest.$ac_ext >&5
30262 ac_cv_lib_expat_XML_ParserCreate=no
30265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30266 conftest$ac_exeext conftest.$ac_ext
30267 LIBS=$ac_check_lib_save_LIBS
30269 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30270 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30271 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30272 EXPAT_LINK=" -lexpat"
30277 if test "x
$EXPAT_LINK" = "x
" ; then
30278 if test "$wxUSE_EXPAT" = "sys
" ; then
30279 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30280 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30281 { (exit 1); exit 1; }; }
30283 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30284 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30285 wxUSE_EXPAT=builtin
30291 if test "$wxUSE_EXPAT" = "builtin" ; then
30292 subdirs="$subdirs src
/expat
"
30299 if test "$wxUSE_LIBMSPACK" != "no
"; then
30300 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30301 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30302 if test "${ac_cv_header_mspack_h+set}" = set; then
30303 echo $ECHO_N "(cached
) $ECHO_C" >&6
30305 cat >conftest.$ac_ext <<_ACEOF
30308 cat confdefs.h >>conftest.$ac_ext
30309 cat >>conftest.$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30313 #include <mspack.h>
30315 rm -f conftest.$ac_objext
30316 if { (ac_try="$ac_compile"
30317 case "(($ac_try" in
30318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30319 *) ac_try_echo=$ac_try;;
30321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_compile") 2>conftest.er1
30324 grep -v '^ *+' conftest.er1 >conftest.err
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30328 (exit $ac_status); } && {
30329 test -z "$ac_c_werror_flag" ||
30330 test ! -s conftest.err
30331 } && test -s conftest.$ac_objext; then
30332 ac_cv_header_mspack_h=yes
30334 echo "$as_me: failed program was
:" >&5
30335 sed 's/^/| /' conftest.$ac_ext >&5
30337 ac_cv_header_mspack_h=no
30340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30342 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30343 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30344 if test $ac_cv_header_mspack_h = yes; then
30349 if test "x
$found_mspack_h" = "x1
"; then
30350 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30351 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30352 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30353 echo $ECHO_N "(cached
) $ECHO_C" >&6
30355 ac_check_lib_save_LIBS=$LIBS
30356 LIBS="-lmspack $LIBS"
30357 cat >conftest.$ac_ext <<_ACEOF
30360 cat confdefs.h >>conftest.$ac_ext
30361 cat >>conftest.$ac_ext <<_ACEOF
30362 /* end confdefs.h. */
30364 /* Override any GCC internal prototype to avoid an error.
30365 Use char because int might match the return type of a GCC
30366 builtin and then its argument prototype would still apply. */
30370 char mspack_create_chm_decompressor ();
30374 return mspack_create_chm_decompressor ();
30379 rm -f conftest.$ac_objext conftest$ac_exeext
30380 if { (ac_try="$ac_link"
30381 case "(($ac_try" in
30382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30383 *) ac_try_echo=$ac_try;;
30385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30386 (eval "$ac_link") 2>conftest.er1
30388 grep -v '^ *+' conftest.er1 >conftest.err
30390 cat conftest.err >&5
30391 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30392 (exit $ac_status); } && {
30393 test -z "$ac_c_werror_flag" ||
30394 test ! -s conftest.err
30395 } && test -s conftest$ac_exeext &&
30396 $as_test_x conftest$ac_exeext; then
30397 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30399 echo "$as_me: failed program was
:" >&5
30400 sed 's/^/| /' conftest.$ac_ext >&5
30402 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30406 conftest$ac_exeext conftest.$ac_ext
30407 LIBS=$ac_check_lib_save_LIBS
30409 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30410 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30411 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30412 MSPACK_LINK=" -lmspack"
30416 if test "x
$MSPACK_LINK" = "x
" ; then
30421 if test "$wxUSE_LIBMSPACK" != "no
"; then
30422 cat >>confdefs.h <<\_ACEOF
30423 #define wxUSE_LIBMSPACK 1
30437 if test "$USE_WIN32" = 1 ; then
30439 for ac_header in w32api.h
30441 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30442 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30443 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30444 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30445 echo $ECHO_N "(cached
) $ECHO_C" >&6
30447 cat >conftest.$ac_ext <<_ACEOF
30450 cat confdefs.h >>conftest.$ac_ext
30451 cat >>conftest.$ac_ext <<_ACEOF
30452 /* end confdefs.h. */
30455 #include <$ac_header>
30457 rm -f conftest.$ac_objext
30458 if { (ac_try="$ac_compile"
30459 case "(($ac_try" in
30460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30461 *) ac_try_echo=$ac_try;;
30463 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30464 (eval "$ac_compile") 2>conftest.er1
30466 grep -v '^ *+' conftest.er1 >conftest.err
30468 cat conftest.err >&5
30469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30470 (exit $ac_status); } && {
30471 test -z "$ac_c_werror_flag" ||
30472 test ! -s conftest.err
30473 } && test -s conftest.$ac_objext; then
30474 eval "$as_ac_Header=yes"
30476 echo "$as_me: failed program was
:" >&5
30477 sed 's/^/| /' conftest.$ac_ext >&5
30479 eval "$as_ac_Header=no
"
30482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30484 ac_res=`eval echo '${'$as_ac_Header'}'`
30485 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30486 echo "${ECHO_T}$ac_res" >&6; }
30487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30488 cat >>confdefs.h <<_ACEOF
30489 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30496 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30497 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30498 if test "${ac_cv_header_windows_h+set}" = set; then
30499 echo $ECHO_N "(cached
) $ECHO_C" >&6
30501 cat >conftest.$ac_ext <<_ACEOF
30504 cat confdefs.h >>conftest.$ac_ext
30505 cat >>conftest.$ac_ext <<_ACEOF
30506 /* end confdefs.h. */
30509 #include <windows.h>
30511 rm -f conftest.$ac_objext
30512 if { (ac_try="$ac_compile"
30513 case "(($ac_try" in
30514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30515 *) ac_try_echo=$ac_try;;
30517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30518 (eval "$ac_compile") 2>conftest.er1
30520 grep -v '^ *+' conftest.er1 >conftest.err
30522 cat conftest.err >&5
30523 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30524 (exit $ac_status); } && {
30525 test -z "$ac_c_werror_flag" ||
30526 test ! -s conftest.err
30527 } && test -s conftest.$ac_objext; then
30528 ac_cv_header_windows_h=yes
30530 echo "$as_me: failed program was
:" >&5
30531 sed 's/^/| /' conftest.$ac_ext >&5
30533 ac_cv_header_windows_h=no
30536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30538 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30539 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30540 if test $ac_cv_header_windows_h = yes; then
30544 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30545 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30546 { (exit 1); exit 1; }; }
30552 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30554 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30555 LIBS="$LIBS -loleacc"
30560 LIBS="$LIBS -lkernel32 -luser32"
30563 if test "$wxUSE_ODBC" = "sys
" ; then
30566 if test "$wxUSE_ODBC" = "yes" ; then
30567 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30568 cat >>confdefs.h <<\_ACEOF
30569 #define wxUSE_ODBC 1
30574 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30575 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30577 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30579 WIN32INSTALL=win32install
30581 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30582 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30583 if test "${ac_cv_header_pbt_h+set}" = set; then
30584 echo $ECHO_N "(cached
) $ECHO_C" >&6
30586 cat >conftest.$ac_ext <<_ACEOF
30589 cat confdefs.h >>conftest.$ac_ext
30590 cat >>conftest.$ac_ext <<_ACEOF
30591 /* end confdefs.h. */
30596 rm -f conftest.$ac_objext
30597 if { (ac_try="$ac_compile"
30598 case "(($ac_try" in
30599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30600 *) ac_try_echo=$ac_try;;
30602 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30603 (eval "$ac_compile") 2>conftest.er1
30605 grep -v '^ *+' conftest.er1 >conftest.err
30607 cat conftest.err >&5
30608 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30609 (exit $ac_status); } && {
30610 test -z "$ac_c_werror_flag" ||
30611 test ! -s conftest.err
30612 } && test -s conftest.$ac_objext; then
30613 ac_cv_header_pbt_h=yes
30615 echo "$as_me: failed program was
:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30618 ac_cv_header_pbt_h=no
30621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30623 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30624 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30625 if test $ac_cv_header_pbt_h = yes; then
30628 cat >>confdefs.h <<\_ACEOF
30629 #define NEED_PBT_H 1
30637 if test "$wxUSE_GUI" = "yes"; then
30647 if test "$wxUSE_COCOA" = 1 ; then
30648 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30649 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30650 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30651 wxUSE_PRINTING_ARCHITECTURE=no
30653 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30654 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30655 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30656 wxUSE_DRAG_AND_DROP=no
30658 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30659 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30660 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30665 if test "$wxUSE_MSW" = 1 ; then
30671 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30675 if test "$wxUSE_GTK" = 1; then
30676 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30677 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30679 gtk_version_cached=1
30680 if test "${wx_cv_lib_gtk+set}" = set; then
30681 echo $ECHO_N "(cached
) $ECHO_C" >&6
30684 gtk_version_cached=0
30685 { echo "$as_me:$LINENO: result
: " >&5
30686 echo "${ECHO_T}" >&6; }
30689 if test "$wxUSE_THREADS" = "yes"; then
30690 GTK_MODULES=gthread
30694 if test "x
$wxGTK_VERSION" != "x1
"
30698 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30703 # Check whether --enable-gtktest was given.
30704 if test "${enable_gtktest+set}" = set; then
30705 enableval=$enable_gtktest;
30711 pkg_config_args=gtk+-2.0
30712 for module in . $GTK_MODULES
30716 pkg_config_args="$pkg_config_args gthread
-2.0
"
30723 # Extract the first word of "pkg
-config", so it can be a program name with args.
30724 set dummy pkg-config; ac_word=$2
30725 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30726 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30727 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30728 echo $ECHO_N "(cached
) $ECHO_C" >&6
30730 case $PKG_CONFIG in
30732 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30736 for as_dir in $PATH
30739 test -z "$as_dir" && as_dir=.
30740 for ac_exec_ext in '' $ac_executable_extensions; do
30741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30742 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30743 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30750 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30754 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30755 if test -n "$PKG_CONFIG"; then
30756 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30757 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30759 { echo "$as_me:$LINENO: result
: no
" >&5
30760 echo "${ECHO_T}no
" >&6; }
30765 if test x$PKG_CONFIG != xno ; then
30766 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30769 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30777 min_gtk_version=2.0.0
30778 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30779 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30781 if test x$PKG_CONFIG != xno ; then
30782 ## don't try to run the test against uninstalled libtool libs
30783 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30784 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30788 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30795 if test x"$no_gtk" = x ; then
30796 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30797 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30798 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30800 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30802 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30803 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30804 if test "x
$enable_gtktest" = "xyes
" ; then
30805 ac_save_CFLAGS="$CFLAGS"
30806 ac_save_LIBS="$LIBS"
30807 CFLAGS="$CFLAGS $GTK_CFLAGS"
30808 LIBS="$GTK_LIBS $LIBS"
30810 if test "$cross_compiling" = yes; then
30811 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30813 cat >conftest.$ac_ext <<_ACEOF
30816 cat confdefs.h >>conftest.$ac_ext
30817 cat >>conftest.$ac_ext <<_ACEOF
30818 /* end confdefs.h. */
30820 #include <gtk/gtk.h>
30822 #include <stdlib.h>
30827 int major, minor, micro;
30830 system ("touch conf.gtktest
");
30832 /* HP/UX 9 (%@#!) writes to sscanf strings */
30833 tmp_version = g_strdup("$min_gtk_version");
30834 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30835 printf("%s
, bad version string
\n", "$min_gtk_version");
30839 if ((gtk_major_version != $gtk_config_major_version) ||
30840 (gtk_minor_version != $gtk_config_minor_version) ||
30841 (gtk_micro_version != $gtk_config_micro_version))
30843 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30844 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30845 gtk_major_version, gtk_minor_version, gtk_micro_version);
30846 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30847 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30848 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30849 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30850 printf("*** required on your system.
\n");
30851 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30852 printf("*** to point to the correct configuration files
\n");
30854 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30855 (gtk_minor_version != GTK_MINOR_VERSION) ||
30856 (gtk_micro_version != GTK_MICRO_VERSION))
30858 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30859 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30860 printf("*** library
(version
%d.
%d.
%d
)\n",
30861 gtk_major_version, gtk_minor_version, gtk_micro_version);
30865 if ((gtk_major_version > major) ||
30866 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30867 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30873 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30874 gtk_major_version, gtk_minor_version, gtk_micro_version);
30875 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30876 major, minor, micro);
30877 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30879 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30880 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30881 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30882 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30883 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30884 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30885 printf("*** so that the correct libraries are found
at run
-time))\n");
30892 rm -f conftest$ac_exeext
30893 if { (ac_try="$ac_link"
30894 case "(($ac_try" in
30895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30896 *) ac_try_echo=$ac_try;;
30898 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30899 (eval "$ac_link") 2>&5
30901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30903 { (case "(($ac_try" in
30904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30905 *) ac_try_echo=$ac_try;;
30907 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30908 (eval "$ac_try") 2>&5
30910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30911 (exit $ac_status); }; }; then
30914 echo "$as_me: program exited with status
$ac_status" >&5
30915 echo "$as_me: failed program was
:" >&5
30916 sed 's/^/| /' conftest.$ac_ext >&5
30918 ( exit $ac_status )
30921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30925 CFLAGS="$ac_save_CFLAGS"
30926 LIBS="$ac_save_LIBS"
30929 if test "x
$no_gtk" = x ; then
30930 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30931 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30934 { echo "$as_me:$LINENO: result
: no
" >&5
30935 echo "${ECHO_T}no
" >&6; }
30936 if test "$PKG_CONFIG" = "no
" ; then
30937 echo "*** A new enough version of pkg
-config was not found.
"
30938 echo "*** See http
://pkgconfig.sourceforge.net
"
30940 if test -f conf.gtktest ; then
30943 echo "*** Could not run GTK
+ test program
, checking why...
"
30944 ac_save_CFLAGS="$CFLAGS"
30945 ac_save_LIBS="$LIBS"
30946 CFLAGS="$CFLAGS $GTK_CFLAGS"
30947 LIBS="$LIBS $GTK_LIBS"
30948 cat >conftest.$ac_ext <<_ACEOF
30951 cat confdefs.h >>conftest.$ac_ext
30952 cat >>conftest.$ac_ext <<_ACEOF
30953 /* end confdefs.h. */
30955 #include <gtk/gtk.h>
30961 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30966 rm -f conftest.$ac_objext conftest$ac_exeext
30967 if { (ac_try="$ac_link"
30968 case "(($ac_try" in
30969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30970 *) ac_try_echo=$ac_try;;
30972 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30973 (eval "$ac_link") 2>conftest.er1
30975 grep -v '^ *+' conftest.er1 >conftest.err
30977 cat conftest.err >&5
30978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30979 (exit $ac_status); } && {
30980 test -z "$ac_c_werror_flag" ||
30981 test ! -s conftest.err
30982 } && test -s conftest$ac_exeext &&
30983 $as_test_x conftest$ac_exeext; then
30984 echo "*** The
test program compiled
, but did not run. This usually means
"
30985 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30986 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30987 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30988 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30989 echo "*** is required on your system"
30991 echo "*** If you have an old version installed, it is best to remove it, although"
30992 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30994 echo "$as_me: failed program was:" >&5
30995 sed 's
/^
/| /' conftest.$ac_ext >&5
30997 echo "*** The test program failed to compile or link. See the file config.log for the"
30998 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
31001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31002 conftest$ac_exeext conftest.$ac_ext
31003 CFLAGS="$ac_save_CFLAGS"
31004 LIBS="$ac_save_LIBS"
31018 if test "$wxUSE_SHARED" != "yes"; then
31019 GTK_LIBS="$GTK_LIBS -lX11"
31024 if test -z "$wx_cv_lib_gtk"; then
31025 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
31027 # Check whether --with-gtk-prefix was given.
31028 if test "${with_gtk_prefix+set}" = set; then
31029 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31031 gtk_config_prefix=""
31035 # Check whether --with-gtk-exec-prefix was given.
31036 if test "${with_gtk_exec_prefix+set}" = set; then
31037 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31039 gtk_config_exec_prefix=""
31042 # Check whether --enable-gtktest was given.
31043 if test "${enable_gtktest+set}" = set; then
31044 enableval=$enable_gtktest;
31050 for module in . $GTK_MODULES
31054 gtk_config_args="$gtk_config_args gthread"
31059 if test x$gtk_config_exec_prefix != x ; then
31060 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31061 if test x${GTK_CONFIG+set} != xset ; then
31062 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31065 if test x$gtk_config_prefix != x ; then
31066 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31067 if test x${GTK_CONFIG+set} != xset ; then
31068 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31072 # Extract the first word of "gtk-config", so it can be a program name with args.
31073 set dummy gtk-config; ac_word=$2
31074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31076 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31077 echo $ECHO_N "(cached) $ECHO_C" >&6
31079 case $GTK_CONFIG in
31081 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31085 for as_dir in $PATH
31088 test -z "$as_dir" && as_dir=.
31089 for ac_exec_ext in '' $ac_executable_extensions; do
31090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31091 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31099 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31103 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31104 if test -n "$GTK_CONFIG"; then
31105 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31106 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31108 { echo "$as_me:$LINENO: result: no" >&5
31109 echo "${ECHO_T}no" >&6; }
31113 min_gtk_version=1.2.7
31114 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31115 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31117 if test "$GTK_CONFIG" = "no" ; then
31120 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31121 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31122 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31123 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
31124 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31125 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
31126 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31127 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
31128 if test "x$enable_gtktest" = "xyes" ; then
31129 ac_save_CFLAGS="$CFLAGS"
31130 ac_save_LIBS="$LIBS"
31131 CFLAGS="$CFLAGS $GTK_CFLAGS"
31132 LIBS="$GTK_LIBS $LIBS"
31134 if test "$cross_compiling" = yes; then
31135 echo $ac_n "cross compiling; assumed OK... $ac_c"
31137 cat >conftest.$ac_ext <<_ACEOF
31140 cat confdefs.h >>conftest.$ac_ext
31141 cat >>conftest.$ac_ext <<_ACEOF
31142 /* end confdefs.h. */
31144 #include <gtk/gtk.h>
31146 #include <stdlib.h>
31151 int major, minor, micro;
31154 system ("touch conf.gtktest");
31156 /* HP/UX 9 (%@#!) writes to sscanf strings */
31157 tmp_version = g_strdup("$min_gtk_version");
31158 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31159 printf("%s, bad version string\n", "$min_gtk_version");
31163 if ((gtk_major_version != $gtk_config_major_version) ||
31164 (gtk_minor_version != $gtk_config_minor_version) ||
31165 (gtk_micro_version != $gtk_config_micro_version))
31167 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31168 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31169 gtk_major_version, gtk_minor_version, gtk_micro_version);
31170 printf ("*** was found! If gtk-config was correct, then it is best\n");
31171 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31172 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31173 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31174 printf("*** required on your system.\n");
31175 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31176 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31177 printf("*** before re-running configure\n");
31179 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31180 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31181 (gtk_minor_version != GTK_MINOR_VERSION) ||
31182 (gtk_micro_version != GTK_MICRO_VERSION))
31184 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31185 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31186 printf("*** library (version %d.%d.%d)\n",
31187 gtk_major_version, gtk_minor_version, gtk_micro_version);
31189 #endif /* defined (GTK_MAJOR_VERSION) ... */
31192 if ((gtk_major_version > major) ||
31193 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31194 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31200 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31201 gtk_major_version, gtk_minor_version, gtk_micro_version);
31202 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31203 major, minor, micro);
31204 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31206 printf("*** If you have already installed a sufficiently new version, this error\n");
31207 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31208 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31209 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31210 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31211 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31212 printf("*** so that the correct libraries are found at run-time))\n");
31219 rm -f conftest$ac_exeext
31220 if { (ac_try="$ac_link"
31221 case "(($ac_try" in
31222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31223 *) ac_try_echo=$ac_try;;
31225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31226 (eval "$ac_link") 2>&5
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31230 { (case "(($ac_try" in
31231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31232 *) ac_try_echo=$ac_try;;
31234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31235 (eval "$ac_try") 2>&5
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; }; then
31241 echo "$as_me: program exited with status $ac_status" >&5
31242 echo "$as_me: failed program was:" >&5
31243 sed 's
/^
/| /' conftest.$ac_ext >&5
31245 ( exit $ac_status )
31248 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31252 CFLAGS="$ac_save_CFLAGS"
31253 LIBS="$ac_save_LIBS"
31256 if test "x$no_gtk" = x ; then
31257 { echo "$as_me:$LINENO: result: yes" >&5
31258 echo "${ECHO_T}yes" >&6; }
31259 wx_cv_lib_gtk=1.2.7
31261 { echo "$as_me:$LINENO: result: no" >&5
31262 echo "${ECHO_T}no" >&6; }
31263 if test "$GTK_CONFIG" = "no" ; then
31264 echo "*** The gtk-config script installed by GTK could not be found"
31265 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31266 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31267 echo "*** full path to gtk-config."
31269 if test -f conf.gtktest ; then
31272 echo "*** Could not run GTK test program, checking why..."
31273 CFLAGS="$CFLAGS $GTK_CFLAGS"
31274 LIBS="$LIBS $GTK_LIBS"
31275 cat >conftest.$ac_ext <<_ACEOF
31278 cat confdefs.h >>conftest.$ac_ext
31279 cat >>conftest.$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31282 #include <gtk/gtk.h>
31288 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31293 rm -f conftest.$ac_objext conftest$ac_exeext
31294 if { (ac_try="$ac_link"
31295 case "(($ac_try" in
31296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31297 *) ac_try_echo=$ac_try;;
31299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31300 (eval "$ac_link") 2>conftest.er1
31302 grep -v '^
*+' conftest.er1 >conftest.err
31304 cat conftest.err >&5
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); } && {
31307 test -z "$ac_c_werror_flag" ||
31308 test ! -s conftest.err
31309 } && test -s conftest$ac_exeext &&
31310 $as_test_x conftest$ac_exeext; then
31311 echo "*** The test program compiled, but did not run. This usually means"
31312 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31313 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31314 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31315 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31316 echo "*** is required on your system
"
31318 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31319 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31321 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31322 echo "*** came with the system with the
command"
31324 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31326 echo "$as_me: failed program was
:" >&5
31327 sed 's/^/| /' conftest.$ac_ext >&5
31329 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31330 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31331 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31332 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31336 conftest$ac_exeext conftest.$ac_ext
31337 CFLAGS="$ac_save_CFLAGS"
31338 LIBS="$ac_save_LIBS"
31350 if test -z "$wx_cv_lib_gtk"; then
31352 # Check whether --with-gtk-prefix was given.
31353 if test "${with_gtk_prefix+set}" = set; then
31354 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31356 gtk_config_prefix=""
31360 # Check whether --with-gtk-exec-prefix was given.
31361 if test "${with_gtk_exec_prefix+set}" = set; then
31362 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31364 gtk_config_exec_prefix=""
31367 # Check whether --enable-gtktest was given.
31368 if test "${enable_gtktest+set}" = set; then
31369 enableval=$enable_gtktest;
31375 for module in . $GTK_MODULES
31379 gtk_config_args="$gtk_config_args gthread
"
31384 if test x$gtk_config_exec_prefix != x ; then
31385 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31386 if test x${GTK_CONFIG+set} != xset ; then
31387 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31390 if test x$gtk_config_prefix != x ; then
31391 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31392 if test x${GTK_CONFIG+set} != xset ; then
31393 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31397 # Extract the first word of "gtk
-config", so it can be a program name with args.
31398 set dummy gtk-config; ac_word=$2
31399 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31400 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31401 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31402 echo $ECHO_N "(cached
) $ECHO_C" >&6
31404 case $GTK_CONFIG in
31406 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31410 for as_dir in $PATH
31413 test -z "$as_dir" && as_dir=.
31414 for ac_exec_ext in '' $ac_executable_extensions; do
31415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31416 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31417 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31424 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31428 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31429 if test -n "$GTK_CONFIG"; then
31430 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31431 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31433 { echo "$as_me:$LINENO: result
: no
" >&5
31434 echo "${ECHO_T}no
" >&6; }
31438 min_gtk_version=1.2.3
31439 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31440 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31442 if test "$GTK_CONFIG" = "no
" ; then
31445 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31446 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31447 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31449 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31451 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31453 if test "x
$enable_gtktest" = "xyes
" ; then
31454 ac_save_CFLAGS="$CFLAGS"
31455 ac_save_LIBS="$LIBS"
31456 CFLAGS="$CFLAGS $GTK_CFLAGS"
31457 LIBS="$GTK_LIBS $LIBS"
31459 if test "$cross_compiling" = yes; then
31460 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31462 cat >conftest.$ac_ext <<_ACEOF
31465 cat confdefs.h >>conftest.$ac_ext
31466 cat >>conftest.$ac_ext <<_ACEOF
31467 /* end confdefs.h. */
31469 #include <gtk/gtk.h>
31471 #include <stdlib.h>
31476 int major, minor, micro;
31479 system ("touch conf.gtktest
");
31481 /* HP/UX 9 (%@#!) writes to sscanf strings */
31482 tmp_version = g_strdup("$min_gtk_version");
31483 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31484 printf("%s
, bad version string
\n", "$min_gtk_version");
31488 if ((gtk_major_version != $gtk_config_major_version) ||
31489 (gtk_minor_version != $gtk_config_minor_version) ||
31490 (gtk_micro_version != $gtk_config_micro_version))
31492 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31493 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31494 gtk_major_version, gtk_minor_version, gtk_micro_version);
31495 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31496 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31497 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31498 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31499 printf("*** required on your system.
\n");
31500 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31501 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31502 printf("*** before re
-running configure
\n");
31504 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31505 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31506 (gtk_minor_version != GTK_MINOR_VERSION) ||
31507 (gtk_micro_version != GTK_MICRO_VERSION))
31509 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31510 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31511 printf("*** library
(version
%d.
%d.
%d
)\n",
31512 gtk_major_version, gtk_minor_version, gtk_micro_version);
31514 #endif /* defined (GTK_MAJOR_VERSION) ... */
31517 if ((gtk_major_version > major) ||
31518 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31519 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31525 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31526 gtk_major_version, gtk_minor_version, gtk_micro_version);
31527 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31528 major, minor, micro);
31529 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31531 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31532 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31533 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31534 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31535 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31536 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31537 printf("*** so that the correct libraries are found
at run
-time))\n");
31544 rm -f conftest$ac_exeext
31545 if { (ac_try="$ac_link"
31546 case "(($ac_try" in
31547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31548 *) ac_try_echo=$ac_try;;
31550 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31551 (eval "$ac_link") 2>&5
31553 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31555 { (case "(($ac_try" in
31556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31557 *) ac_try_echo=$ac_try;;
31559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31560 (eval "$ac_try") 2>&5
31562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31563 (exit $ac_status); }; }; then
31566 echo "$as_me: program exited with status
$ac_status" >&5
31567 echo "$as_me: failed program was
:" >&5
31568 sed 's/^/| /' conftest.$ac_ext >&5
31570 ( exit $ac_status )
31573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31577 CFLAGS="$ac_save_CFLAGS"
31578 LIBS="$ac_save_LIBS"
31581 if test "x
$no_gtk" = x ; then
31582 { echo "$as_me:$LINENO: result
: yes" >&5
31583 echo "${ECHO_T}yes" >&6; }
31584 wx_cv_lib_gtk=1.2.3
31586 { echo "$as_me:$LINENO: result
: no
" >&5
31587 echo "${ECHO_T}no
" >&6; }
31588 if test "$GTK_CONFIG" = "no
" ; then
31589 echo "*** The gtk
-config script installed by GTK could not be found
"
31590 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31591 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31592 echo "*** full path to gtk
-config.
"
31594 if test -f conf.gtktest ; then
31597 echo "*** Could not run GTK
test program
, checking why...
"
31598 CFLAGS="$CFLAGS $GTK_CFLAGS"
31599 LIBS="$LIBS $GTK_LIBS"
31600 cat >conftest.$ac_ext <<_ACEOF
31603 cat confdefs.h >>conftest.$ac_ext
31604 cat >>conftest.$ac_ext <<_ACEOF
31605 /* end confdefs.h. */
31607 #include <gtk/gtk.h>
31613 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31618 rm -f conftest.$ac_objext conftest$ac_exeext
31619 if { (ac_try="$ac_link"
31620 case "(($ac_try" in
31621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31622 *) ac_try_echo=$ac_try;;
31624 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31625 (eval "$ac_link") 2>conftest.er1
31627 grep -v '^ *+' conftest.er1 >conftest.err
31629 cat conftest.err >&5
31630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31631 (exit $ac_status); } && {
31632 test -z "$ac_c_werror_flag" ||
31633 test ! -s conftest.err
31634 } && test -s conftest$ac_exeext &&
31635 $as_test_x conftest$ac_exeext; then
31636 echo "*** The
test program compiled
, but did not run. This usually means
"
31637 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31638 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31639 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31640 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31641 echo "*** is required on your system"
31643 echo "*** If you have an old version installed, it is best to remove it, although"
31644 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31646 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31647 echo "*** came with the system with the command"
31649 echo "*** rpm --erase --nodeps gtk gtk-devel"
31651 echo "$as_me: failed program was:" >&5
31652 sed 's
/^
/| /' conftest.$ac_ext >&5
31654 echo "*** The test program failed to compile or link. See the file config.log for the"
31655 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31656 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31657 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31661 conftest$ac_exeext conftest.$ac_ext
31662 CFLAGS="$ac_save_CFLAGS"
31663 LIBS="$ac_save_LIBS"
31678 if test -z "$wx_cv_lib_gtk"; then
31681 wx_cv_cflags_gtk=$GTK_CFLAGS
31682 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31689 if test "$gtk_version_cached" = 1; then
31690 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31691 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31694 case "$wx_cv_lib_gtk" in
31703 *) { { echo "$as_me:$LINENO: error:
31704 The development files for GTK+ were not found. For GTK+ 2, please
31705 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31706 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31707 and that the version is 1.2.3 or above. Also check that the
31708 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31709 --libs' are in the LD_LIBRARY_PATH or equivalent.
31711 echo "$as_me: error:
31712 The development files for GTK+ were not found. For GTK+ 2, please
31713 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31714 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31715 and that the version is 1.2.3 or above. Also check that the
31716 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31717 --libs' are in the LD_LIBRARY_PATH or equivalent.
31719 { (exit 1); exit 1; }; }
31723 if test "$WXGTK20" = 1; then
31724 save_CFLAGS="$CFLAGS"
31726 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31727 LIBS="$LIBS $wx_cv_libs_gtk"
31729 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31730 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31731 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31732 echo $ECHO_N "(cached) $ECHO_C" >&6
31734 cat >conftest.$ac_ext <<_ACEOF
31737 cat confdefs.h >>conftest.$ac_ext
31738 cat >>conftest.$ac_ext <<_ACEOF
31739 /* end confdefs.h. */
31740 #include <gtk/gtk.h>
31745 #ifndef gtk_icon_size_lookup
31746 (void) gtk_icon_size_lookup;
31753 rm -f conftest.$ac_objext
31754 if { (ac_try="$ac_compile"
31755 case "(($ac_try" in
31756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31757 *) ac_try_echo=$ac_try;;
31759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31760 (eval "$ac_compile") 2>conftest.er1
31762 grep -v '^
*+' conftest.er1 >conftest.err
31764 cat conftest.err >&5
31765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31766 (exit $ac_status); } && {
31767 test -z "$ac_c_werror_flag" ||
31768 test ! -s conftest.err
31769 } && test -s conftest.$ac_objext; then
31770 ac_cv_have_decl_gtk_icon_size_lookup=yes
31772 echo "$as_me: failed program was:" >&5
31773 sed 's
/^
/| /' conftest.$ac_ext >&5
31775 ac_cv_have_decl_gtk_icon_size_lookup=no
31778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31780 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31781 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31782 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31784 cat >>confdefs.h <<_ACEOF
31785 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31790 cat >>confdefs.h <<_ACEOF
31791 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31794 cat >>confdefs.h <<\_ACEOF
31795 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31803 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31804 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31805 cat >conftest.$ac_ext <<_ACEOF
31808 cat confdefs.h >>conftest.$ac_ext
31809 cat >>conftest.$ac_ext <<_ACEOF
31810 /* end confdefs.h. */
31812 #include <gtk/gtk.h>
31818 #if !GTK_CHECK_VERSION(2,10,0)
31826 rm -f conftest.$ac_objext
31827 if { (ac_try="$ac_compile"
31828 case "(($ac_try" in
31829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31830 *) ac_try_echo=$ac_try;;
31832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31833 (eval "$ac_compile") 2>conftest.er1
31835 grep -v '^
*+' conftest.er1 >conftest.err
31837 cat conftest.err >&5
31838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31839 (exit $ac_status); } && {
31840 test -z "$ac_c_werror_flag" ||
31841 test ! -s conftest.err
31842 } && test -s conftest.$ac_objext; then
31844 cat >>confdefs.h <<\_ACEOF
31845 #define __WXGTK210__ 1
31848 cat >>confdefs.h <<\_ACEOF
31849 #define __WXGTK26__ 1
31852 cat >>confdefs.h <<\_ACEOF
31853 #define __WXGTK24__ 1
31856 { echo "$as_me:$LINENO: result: yes" >&5
31857 echo "${ECHO_T}yes" >&6; }
31861 echo "$as_me: failed program was:" >&5
31862 sed 's
/^
/| /' conftest.$ac_ext >&5
31865 { echo "$as_me:$LINENO: result: no" >&5
31866 echo "${ECHO_T}no" >&6; }
31871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873 if test "$ac_wxgtk210" = 0; then
31874 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31875 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31876 cat >conftest.$ac_ext <<_ACEOF
31879 cat confdefs.h >>conftest.$ac_ext
31880 cat >>conftest.$ac_ext <<_ACEOF
31881 /* end confdefs.h. */
31883 #include <gtk/gtk.h>
31889 #if !GTK_CHECK_VERSION(2,6,0)
31897 rm -f conftest.$ac_objext
31898 if { (ac_try="$ac_compile"
31899 case "(($ac_try" in
31900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31901 *) ac_try_echo=$ac_try;;
31903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31904 (eval "$ac_compile") 2>conftest.er1
31906 grep -v '^
*+' conftest.er1 >conftest.err
31908 cat conftest.err >&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); } && {
31911 test -z "$ac_c_werror_flag" ||
31912 test ! -s conftest.err
31913 } && test -s conftest.$ac_objext; then
31915 cat >>confdefs.h <<\_ACEOF
31916 #define __WXGTK26__ 1
31919 cat >>confdefs.h <<\_ACEOF
31920 #define __WXGTK24__ 1
31923 { echo "$as_me:$LINENO: result: yes" >&5
31924 echo "${ECHO_T}yes" >&6; }
31928 echo "$as_me: failed program was:" >&5
31929 sed 's
/^
/| /' conftest.$ac_ext >&5
31932 { echo "$as_me:$LINENO: result: no" >&5
31933 echo "${ECHO_T}no" >&6; }
31938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31941 if test "$ac_wxgtk26" = 0; then
31942 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31943 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31944 cat >conftest.$ac_ext <<_ACEOF
31947 cat confdefs.h >>conftest.$ac_ext
31948 cat >>conftest.$ac_ext <<_ACEOF
31949 /* end confdefs.h. */
31951 #include <gtk/gtk.h>
31957 #if !GTK_CHECK_VERSION(2,4,0)
31965 rm -f conftest.$ac_objext
31966 if { (ac_try="$ac_compile"
31967 case "(($ac_try" in
31968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31969 *) ac_try_echo=$ac_try;;
31971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31972 (eval "$ac_compile") 2>conftest.er1
31974 grep -v '^
*+' conftest.er1 >conftest.err
31976 cat conftest.err >&5
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 (exit $ac_status); } && {
31979 test -z "$ac_c_werror_flag" ||
31980 test ! -s conftest.err
31981 } && test -s conftest.$ac_objext; then
31983 cat >>confdefs.h <<\_ACEOF
31984 #define __WXGTK24__ 1
31987 { echo "$as_me:$LINENO: result: yes" >&5
31988 echo "${ECHO_T}yes" >&6; }
31991 echo "$as_me: failed program was:" >&5
31992 sed 's
/^
/| /' conftest.$ac_ext >&5
31995 { echo "$as_me:$LINENO: result: no" >&5
31996 echo "${ECHO_T}no" >&6; }
32000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32003 CFLAGS="$save_CFLAGS"
32006 if test "$wxUSE_UNICODE" = "yes"; then
32007 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
32008 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
32012 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
32013 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
32014 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
32015 echo $ECHO_N "(cached) $ECHO_C" >&6
32017 ac_check_lib_save_LIBS=$LIBS
32019 cat >conftest.$ac_ext <<_ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h. */
32026 /* Override any GCC internal prototype to avoid an error.
32027 Use char because int might match the return type of a GCC
32028 builtin and then its argument prototype would still apply. */
32032 char gdk_im_open ();
32036 return gdk_im_open ();
32041 rm -f conftest.$ac_objext conftest$ac_exeext
32042 if { (ac_try="$ac_link"
32043 case "(($ac_try" in
32044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32045 *) ac_try_echo=$ac_try;;
32047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32048 (eval "$ac_link") 2>conftest.er1
32050 grep -v '^
*+' conftest.er1 >conftest.err
32052 cat conftest.err >&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); } && {
32055 test -z "$ac_c_werror_flag" ||
32056 test ! -s conftest.err
32057 } && test -s conftest$ac_exeext &&
32058 $as_test_x conftest$ac_exeext; then
32059 ac_cv_lib_gdk_gdk_im_open=yes
32061 echo "$as_me: failed program was:" >&5
32062 sed 's
/^
/| /' conftest.$ac_ext >&5
32064 ac_cv_lib_gdk_gdk_im_open=no
32067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32068 conftest$ac_exeext conftest.$ac_ext
32069 LIBS=$ac_check_lib_save_LIBS
32071 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32072 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32073 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32074 cat >>confdefs.h <<\_ACEOF
32081 if test "$USE_DARWIN" != 1; then
32083 for ac_func in poll
32085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32089 echo $ECHO_N "(cached) $ECHO_C" >&6
32091 cat >conftest.$ac_ext <<_ACEOF
32094 cat confdefs.h >>conftest.$ac_ext
32095 cat >>conftest.$ac_ext <<_ACEOF
32096 /* end confdefs.h. */
32097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32099 #define $ac_func innocuous_$ac_func
32101 /* System header to define __stub macros and hopefully few prototypes,
32102 which can conflict with char $ac_func (); below.
32103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32104 <limits.h> exists even on freestanding compilers. */
32107 # include <limits.h>
32109 # include <assert.h>
32114 /* Override any GCC internal prototype to avoid an error.
32115 Use char because int might match the return type of a GCC
32116 builtin and then its argument prototype would still apply. */
32121 /* The GNU C library defines this for functions which it implements
32122 to always fail with ENOSYS. Some functions are actually named
32123 something starting with __ and the normal name is an alias. */
32124 #if defined __stub_$ac_func || defined __stub___$ac_func
32131 return $ac_func ();
32136 rm -f conftest.$ac_objext conftest$ac_exeext
32137 if { (ac_try="$ac_link"
32138 case "(($ac_try" in
32139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32140 *) ac_try_echo=$ac_try;;
32142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32143 (eval "$ac_link") 2>conftest.er1
32145 grep -v '^
*+' conftest.er1 >conftest.err
32147 cat conftest.err >&5
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); } && {
32150 test -z "$ac_c_werror_flag" ||
32151 test ! -s conftest.err
32152 } && test -s conftest$ac_exeext &&
32153 $as_test_x conftest$ac_exeext; then
32154 eval "$as_ac_var=yes"
32156 echo "$as_me: failed program was:" >&5
32157 sed 's
/^
/| /' conftest.$ac_ext >&5
32159 eval "$as_ac_var=no"
32162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32163 conftest$ac_exeext conftest.$ac_ext
32165 ac_res=`eval echo '${'$as_ac_var'}'`
32166 { echo "$as_me:$LINENO: result: $ac_res" >&5
32167 echo "${ECHO_T}$ac_res" >&6; }
32168 if test `eval echo '${'$as_ac_var'}'` = yes; then
32169 cat >>confdefs.h <<_ACEOF
32170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32179 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32180 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32182 AFMINSTALL=afminstall
32186 if test "$wxUSE_GPE" = "yes"; then
32187 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32188 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32191 for ac_dir in $SEARCH_LIB;
32193 for ac_extension in a so sl dylib dll.a; do
32194 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32195 ac_find_libraries=$ac_dir
32201 if test "$ac_find_libraries" != "" ; then
32203 if test "$ac_find_libraries" = "default location"; then
32206 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32208 if test $result = 0; then
32211 ac_path_to_link=" -L$ac_find_libraries"
32215 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32217 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32218 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32220 { echo "$as_me:$LINENO: result: not found" >&5
32221 echo "${ECHO_T}not found" >&6; }
32227 if test "$wxUSE_MGL" = 1; then
32228 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32229 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32230 if test "x$MGL_ROOT" = x ; then
32231 { echo "$as_me:$LINENO: result: not found" >&5
32232 echo "${ECHO_T}not found" >&6; }
32233 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32234 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32235 { (exit 1); exit 1; }; }
32237 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32238 echo "${ECHO_T}$MGL_ROOT" >&6; }
32241 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32242 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32245 if test "x$wxUSE_SHARED" = xyes ; then
32246 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32248 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32252 mgl_os_candidates="dos32/dj2"
32255 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32256 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32257 { (exit 1); exit 1; }; }
32263 for mgl_os_i in $mgl_os_candidates ; do
32264 if test "x$mgl_os" = x ; then
32265 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32266 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32267 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32272 if test "x$mgl_lib_type" = x ; then
32273 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32274 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32275 mgl_lib_type=release
32282 if test "x$mgl_os" = x ; then
32283 { echo "$as_me:$LINENO: result: not found" >&5
32284 echo "${ECHO_T}not found" >&6; }
32285 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32286 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32287 { (exit 1); exit 1; }; }
32289 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32290 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32292 wxUSE_UNIVERSAL="yes"
32294 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32295 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32297 AFMINSTALL=afminstall
32302 if test "$wxUSE_DFB" = 1; then
32305 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32306 if test -n "$ac_tool_prefix"; then
32307 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32308 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32311 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32314 case $PKG_CONFIG in
32316 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32320 for as_dir in $PATH
32323 test -z "$as_dir" && as_dir=.
32324 for ac_exec_ext in '' $ac_executable_extensions; do
32325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32326 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32337 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32338 if test -n "$PKG_CONFIG"; then
32339 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32340 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32342 { echo "$as_me:$LINENO: result: no" >&5
32343 echo "${ECHO_T}no" >&6; }
32348 if test -z "$ac_cv_path_PKG_CONFIG"; then
32349 ac_pt_PKG_CONFIG=$PKG_CONFIG
32350 # Extract the first word of "pkg-config", so it can be a program name with args.
32351 set dummy pkg-config; ac_word=$2
32352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32354 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32355 echo $ECHO_N "(cached) $ECHO_C" >&6
32357 case $ac_pt_PKG_CONFIG in
32359 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32363 for as_dir in $PATH
32366 test -z "$as_dir" && as_dir=.
32367 for ac_exec_ext in '' $ac_executable_extensions; do
32368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32369 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32380 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32381 if test -n "$ac_pt_PKG_CONFIG"; then
32382 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32383 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32385 { echo "$as_me:$LINENO: result: no" >&5
32386 echo "${ECHO_T}no" >&6; }
32389 if test "x$ac_pt_PKG_CONFIG" = x; then
32392 case $cross_compiling:$ac_tool_warned in
32394 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32395 whose name does not start with the host triplet. If you think this
32396 configuration is useful to you, please write to autoconf@gnu.org." >&5
32397 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32398 whose name does not start with the host triplet. If you think this
32399 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32400 ac_tool_warned=yes ;;
32402 PKG_CONFIG=$ac_pt_PKG_CONFIG
32405 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32409 if test -n "$PKG_CONFIG"; then
32410 _pkg_min_version=0.9.0
32411 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32412 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32413 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32414 { echo "$as_me:$LINENO: result: yes" >&5
32415 echo "${ECHO_T}yes" >&6; }
32417 { echo "$as_me:$LINENO: result: no" >&5
32418 echo "${ECHO_T}no" >&6; }
32426 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32427 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32429 if test -n "$PKG_CONFIG"; then
32430 if test -n "$DIRECTFB_CFLAGS"; then
32431 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32433 if test -n "$PKG_CONFIG" && \
32434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32435 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; then
32439 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32447 if test -n "$PKG_CONFIG"; then
32448 if test -n "$DIRECTFB_LIBS"; then
32449 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32451 if test -n "$PKG_CONFIG" && \
32452 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32453 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 (exit $ac_status); }; then
32457 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32468 if test $pkg_failed = yes; then
32470 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32471 _pkg_short_errors_supported=yes
32473 _pkg_short_errors_supported=no
32475 if test $_pkg_short_errors_supported = yes; then
32476 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32478 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32480 # Put the nasty error message in config.log where it belongs
32481 echo "$DIRECTFB_PKG_ERRORS" >&5
32484 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32485 echo "$as_me: error: DirectFB not found." >&2;}
32486 { (exit 1); exit 1; }; }
32489 elif test $pkg_failed = untried; then
32491 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32492 echo "$as_me: error: DirectFB not found." >&2;}
32493 { (exit 1); exit 1; }; }
32497 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32498 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32499 { echo "$as_me:$LINENO: result: yes" >&5
32500 echo "${ECHO_T}yes" >&6; }
32502 wxUSE_UNIVERSAL="yes"
32503 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32504 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32511 if test "$wxUSE_MICROWIN" = 1; then
32512 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32513 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32514 if test "x$MICROWINDOWS" = x ; then
32515 { echo "$as_me:$LINENO: result: not found" >&5
32516 echo "${ECHO_T}not found" >&6; }
32517 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32518 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32519 { (exit 1); exit 1; }; }
32521 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32522 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32525 if test -f $MICROWINDOWS/lib/libmwin.a; then
32526 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32527 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32529 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32530 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32531 { (exit 1); exit 1; }; }
32534 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32535 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32537 wxUSE_UNIVERSAL="yes"
32539 AFMINSTALL=afminstall
32541 GUIDIST=MICROWIN_DIST
32543 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32546 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32547 { echo "$as_me:$LINENO: checking for X" >&5
32548 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32551 # Check whether --with-x was given.
32552 if test "${with_x+set}" = set; then
32556 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32557 if test "x$with_x" = xno; then
32558 # The user explicitly disabled X.
32561 case $x_includes,$x_libraries in #(
32562 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32563 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32564 { (exit 1); exit 1; }; };; #(
32565 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32566 echo $ECHO_N "(cached) $ECHO_C" >&6
32568 # One or both of the vars are not set, and there is no cached value.
32569 ac_x_includes=no ac_x_libraries=no
32570 rm -f -r conftest.dir
32571 if mkdir conftest.dir; then
32573 cat >Imakefile <<'_ACEOF'
32575 @echo incroot='${INCROOT}'
32577 @echo usrlibdir='${USRLIBDIR}'
32579 @echo libdir='${LIBDIR}'
32581 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32583 for ac_var in incroot usrlibdir libdir; do
32584 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32586 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32587 for ac_extension in a so sl; do
32588 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32589 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32590 ac_im_usrlibdir=$ac_im_libdir; break
32593 # Screen out bogus values from the imake configuration. They are
32594 # bogus both because they are the default anyway, and because
32595 # using them would break gcc on systems where it needs fixed includes.
32596 case $ac_im_incroot in
32597 /usr/include) ac_x_includes= ;;
32598 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32600 case $ac_im_usrlibdir in
32601 /usr/lib | /lib) ;;
32602 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32606 rm -f -r conftest.dir
32609 # Standard set of common directories for X headers.
32610 # Check X11 before X11Rn because it is often a symlink to the current release.
32622 /usr
/local
/X
11/include
32623 /usr
/local
/X
11R
6/include
32624 /usr
/local
/X
11R
5/include
32625 /usr
/local
/X
11R
4/include
32627 /usr
/local
/include
/X11
32628 /usr
/local
/include
/X11R6
32629 /usr
/local
/include
/X11R5
32630 /usr
/local
/include
/X11R4
32634 /usr
/XFree
86/include
/X11
32638 /usr
/unsupported
/include
32639 /usr
/athena
/include
32640 /usr
/local
/x
11r
5/include
32641 /usr
/lpp
/Xamples
/include
32643 /usr
/openwin
/include
32644 /usr
/openwin
/share
/include
'
32646 if test "$ac_x_includes" = no; then
32647 # Guess where to find include files, by looking for Xlib.h.
32648 # First, try using that file with no special directory specified.
32649 cat >conftest.$ac_ext <<_ACEOF
32652 cat confdefs.h >>conftest.$ac_ext
32653 cat >>conftest.$ac_ext <<_ACEOF
32654 /* end confdefs.h. */
32655 #include <X11/Xlib.h>
32657 if { (ac_try="$ac_cpp conftest.$ac_ext"
32658 case "(($ac_try" in
32659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32660 *) ac_try_echo=$ac_try;;
32662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32665 grep -v '^
*+' conftest.er1 >conftest.err
32667 cat conftest.err >&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); } >/dev/null && {
32670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32671 test ! -s conftest.err
32673 # We can compile using X headers with no special include directory.
32676 echo "$as_me: failed program was:" >&5
32677 sed 's
/^
/| /' conftest.$ac_ext >&5
32679 for ac_dir in $ac_x_header_dirs; do
32680 if test -r "$ac_dir/X11/Xlib.h"; then
32681 ac_x_includes=$ac_dir
32687 rm -f conftest.err conftest.$ac_ext
32688 fi # $ac_x_includes = no
32690 if test "$ac_x_libraries" = no; then
32691 # Check for the libraries.
32692 # See if we find them without any special options.
32693 # Don't add to
$LIBS permanently.
32696 cat >conftest.
$ac_ext <<_ACEOF
32699 cat confdefs.h
>>conftest.
$ac_ext
32700 cat >>conftest.
$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32702 #include <X11/Xlib.h>
32711 rm -f conftest.
$ac_objext conftest
$ac_exeext
32712 if { (ac_try
="$ac_link"
32713 case "(($ac_try" in
32714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32715 *) ac_try_echo=$ac_try;;
32717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32718 (eval "$ac_link") 2>conftest.er1
32720 grep -v '^ *+' conftest.er1 >conftest.err
32722 cat conftest.err >&5
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); } && {
32725 test -z "$ac_c_werror_flag" ||
32726 test ! -s conftest.err
32727 } && test -s conftest$ac_exeext &&
32728 $as_test_x conftest$ac_exeext; then
32730 # We can link X programs with no special library path.
32733 echo "$as_me: failed program was:" >&5
32734 sed 's/^/| /' conftest.$ac_ext >&5
32737 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32739 # Don't even attempt the hair of trying to link an X program!
32740 for ac_extension in a so sl; do
32741 if test -r "$ac_dir/libX11.$ac_extension"; then
32742 ac_x_libraries=$ac_dir
32749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32750 conftest$ac_exeext conftest.$ac_ext
32751 fi # $ac_x_libraries = no
32753 case $ac_x_includes,$ac_x_libraries in #(
32754 no,* | *,no | *\'*)
32755 # Didn't find X, or a directory has "'" in its name.
32756 ac_cv_have_x="have_x=no";; #(
32758 # Record where we found X for the cache.
32759 ac_cv_have_x="have_x=yes\
32760 ac_x_includes='$ac_x_includes'\
32761 ac_x_libraries='$ac_x_libraries'"
32767 eval "$ac_cv_have_x"
32770 if test "$have_x" != yes; then
32771 { echo "$as_me:$LINENO: result: $have_x" >&5
32772 echo "${ECHO_T}$have_x" >&6; }
32775 # If each of the values was on the command line, it overrides each guess.
32776 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32777 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32778 # Update the cache value to reflect the command line values.
32779 ac_cv_have_x="have_x=yes\
32780 ac_x_includes='$x_includes'\
32781 ac_x_libraries='$x_libraries'"
32782 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32783 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32786 if test "$no_x" = yes; then
32787 # Not all programs may use this symbol, but it does not hurt to define it.
32789 cat >>confdefs.h <<\_ACEOF
32790 #define X_DISPLAY_MISSING 1
32793 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32795 if test -n "$x_includes"; then
32796 X_CFLAGS="$X_CFLAGS -I$x_includes"
32799 # It would also be nice to do this for all -L options, not just this one.
32800 if test -n "$x_libraries"; then
32801 X_LIBS="$X_LIBS -L$x_libraries"
32802 # For Solaris; some versions of Sun CC require a space after -R and
32803 # others require no space. Words are not sufficient . . . .
32804 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32805 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32806 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32807 ac_xsave_c_werror_flag=$ac_c_werror_flag
32808 ac_c_werror_flag=yes
32809 cat >conftest.$ac_ext <<_ACEOF
32812 cat confdefs.h >>conftest.$ac_ext
32813 cat >>conftest.$ac_ext <<_ACEOF
32814 /* end confdefs.h. */
32824 rm -f conftest.$ac_objext conftest$ac_exeext
32825 if { (ac_try="$ac_link"
32826 case "(($ac_try" in
32827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32828 *) ac_try_echo
=$ac_try;;
32830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32831 (eval "$ac_link") 2>conftest.er1
32833 grep -v '^ *+' conftest.er1
>conftest.err
32835 cat conftest.err
>&5
32836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837 (exit $ac_status); } && {
32838 test -z "$ac_c_werror_flag" ||
32839 test ! -s conftest.err
32840 } && test -s conftest
$ac_exeext &&
32841 $as_test_x conftest
$ac_exeext; then
32842 { echo "$as_me:$LINENO: result: no" >&5
32843 echo "${ECHO_T}no" >&6; }
32844 X_LIBS
="$X_LIBS -R$x_libraries"
32846 echo "$as_me: failed program was:" >&5
32847 sed 's/^/| /' conftest.
$ac_ext >&5
32849 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32850 cat >conftest.
$ac_ext <<_ACEOF
32853 cat confdefs.h
>>conftest.
$ac_ext
32854 cat >>conftest.
$ac_ext <<_ACEOF
32855 /* end confdefs.h. */
32865 rm -f conftest.
$ac_objext conftest
$ac_exeext
32866 if { (ac_try
="$ac_link"
32867 case "(($ac_try" in
32868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32869 *) ac_try_echo=$ac_try;;
32871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32872 (eval "$ac_link") 2>conftest.er1
32874 grep -v '^ *+' conftest.er1 >conftest.err
32876 cat conftest.err >&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); } && {
32879 test -z "$ac_c_werror_flag" ||
32880 test ! -s conftest.err
32881 } && test -s conftest$ac_exeext &&
32882 $as_test_x conftest$ac_exeext; then
32883 { echo "$as_me:$LINENO: result: yes" >&5
32884 echo "${ECHO_T}yes" >&6; }
32885 X_LIBS="$X_LIBS -R $x_libraries"
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.$ac_ext >&5
32890 { echo "$as_me:$LINENO: result: neither works" >&5
32891 echo "${ECHO_T}neither works" >&6; }
32894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32895 conftest$ac_exeext conftest.$ac_ext
32898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32899 conftest$ac_exeext conftest.$ac_ext
32900 ac_c_werror_flag=$ac_xsave_c_werror_flag
32901 LIBS=$ac_xsave_LIBS
32904 # Check for system-dependent libraries X programs must link with.
32905 # Do this before checking for the system-independent R6 libraries
32906 # (-lICE), since we may need -lsocket or whatever for X linking.
32908 if test "$ISC" = yes; then
32909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32911 # Martyn Johnson says this is needed for Ultrix, if the X
32912 # libraries were built with DECnet support. And Karl Berry says
32913 # the Alpha needs dnet_stub (dnet does not exist).
32914 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32915 cat >conftest.$ac_ext <<_ACEOF
32918 cat confdefs.h >>conftest.$ac_ext
32919 cat >>conftest.$ac_ext <<_ACEOF
32920 /* end confdefs.h. */
32922 /* Override any GCC internal prototype to avoid an error.
32923 Use char because int might match the return type of a GCC
32924 builtin and then its argument prototype would still apply. */
32928 char XOpenDisplay ();
32932 return XOpenDisplay ();
32937 rm -f conftest.$ac_objext conftest$ac_exeext
32938 if { (ac_try="$ac_link"
32939 case "(($ac_try" in
32940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32941 *) ac_try_echo
=$ac_try;;
32943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32944 (eval "$ac_link") 2>conftest.er1
32946 grep -v '^ *+' conftest.er1
>conftest.err
32948 cat conftest.err
>&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); } && {
32951 test -z "$ac_c_werror_flag" ||
32952 test ! -s conftest.err
32953 } && test -s conftest
$ac_exeext &&
32954 $as_test_x conftest
$ac_exeext; then
32957 echo "$as_me: failed program was:" >&5
32958 sed 's/^/| /' conftest.
$ac_ext >&5
32960 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32961 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32962 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32963 echo $ECHO_N "(cached) $ECHO_C" >&6
32965 ac_check_lib_save_LIBS
=$LIBS
32966 LIBS
="-ldnet $LIBS"
32967 cat >conftest.
$ac_ext <<_ACEOF
32970 cat confdefs.h
>>conftest.
$ac_ext
32971 cat >>conftest.
$ac_ext <<_ACEOF
32972 /* end confdefs.h. */
32974 /* Override any GCC internal prototype to avoid an error.
32975 Use char because int might match the return type of a GCC
32976 builtin and then its argument prototype would still apply. */
32984 return dnet_ntoa ();
32989 rm -f conftest.
$ac_objext conftest
$ac_exeext
32990 if { (ac_try
="$ac_link"
32991 case "(($ac_try" in
32992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32993 *) ac_try_echo=$ac_try;;
32995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32996 (eval "$ac_link") 2>conftest.er1
32998 grep -v '^ *+' conftest.er1 >conftest.err
33000 cat conftest.err >&5
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); } && {
33003 test -z "$ac_c_werror_flag" ||
33004 test ! -s conftest.err
33005 } && test -s conftest$ac_exeext &&
33006 $as_test_x conftest$ac_exeext; then
33007 ac_cv_lib_dnet_dnet_ntoa=yes
33009 echo "$as_me: failed program was:" >&5
33010 sed 's/^/| /' conftest.$ac_ext >&5
33012 ac_cv_lib_dnet_dnet_ntoa=no
33015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33016 conftest$ac_exeext conftest.$ac_ext
33017 LIBS=$ac_check_lib_save_LIBS
33019 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
33020 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
33021 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
33022 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
33025 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
33026 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
33027 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
33028 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
33029 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 ac_check_lib_save_LIBS=$LIBS
33032 LIBS="-ldnet_stub $LIBS"
33033 cat >conftest.$ac_ext <<_ACEOF
33036 cat confdefs.h >>conftest.$ac_ext
33037 cat >>conftest.$ac_ext <<_ACEOF
33038 /* end confdefs.h. */
33040 /* Override any GCC internal prototype to avoid an error.
33041 Use char because int might match the return type of a GCC
33042 builtin and then its argument prototype would still apply. */
33050 return dnet_ntoa ();
33055 rm -f conftest.$ac_objext conftest$ac_exeext
33056 if { (ac_try="$ac_link"
33057 case "(($ac_try" in
33058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33059 *) ac_try_echo
=$ac_try;;
33061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33062 (eval "$ac_link") 2>conftest.er1
33064 grep -v '^ *+' conftest.er1
>conftest.err
33066 cat conftest.err
>&5
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); } && {
33069 test -z "$ac_c_werror_flag" ||
33070 test ! -s conftest.err
33071 } && test -s conftest
$ac_exeext &&
33072 $as_test_x conftest
$ac_exeext; then
33073 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
33075 echo "$as_me: failed program was:" >&5
33076 sed 's/^/| /' conftest.
$ac_ext >&5
33078 ac_cv_lib_dnet_stub_dnet_ntoa
=no
33081 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33082 conftest
$ac_exeext conftest.
$ac_ext
33083 LIBS
=$ac_check_lib_save_LIBS
33085 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33086 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33087 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33088 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
33094 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33095 conftest
$ac_exeext conftest.
$ac_ext
33096 LIBS
="$ac_xsave_LIBS"
33098 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33099 # to get the SysV transport functions.
33100 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33102 # The nsl library prevents programs from opening the X display
33103 # on Irix 5.2, according to T.E. Dickey.
33104 # The functions gethostbyname, getservbyname, and inet_addr are
33105 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33106 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33107 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33108 if test "${ac_cv_func_gethostbyname+set}" = set; then
33109 echo $ECHO_N "(cached) $ECHO_C" >&6
33111 cat >conftest.
$ac_ext <<_ACEOF
33114 cat confdefs.h
>>conftest.
$ac_ext
33115 cat >>conftest.
$ac_ext <<_ACEOF
33116 /* end confdefs.h. */
33117 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33119 #define gethostbyname innocuous_gethostbyname
33121 /* System header to define __stub macros and hopefully few prototypes,
33122 which can conflict with char gethostbyname (); below.
33123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33124 <limits.h> exists even on freestanding compilers. */
33127 # include <limits.h>
33129 # include <assert.h>
33132 #undef gethostbyname
33134 /* Override any GCC internal prototype to avoid an error.
33135 Use char because int might match the return type of a GCC
33136 builtin and then its argument prototype would still apply. */
33140 char gethostbyname ();
33141 /* The GNU C library defines this for functions which it implements
33142 to always fail with ENOSYS. Some functions are actually named
33143 something starting with __ and the normal name is an alias. */
33144 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33151 return gethostbyname ();
33156 rm -f conftest.
$ac_objext conftest
$ac_exeext
33157 if { (ac_try
="$ac_link"
33158 case "(($ac_try" in
33159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33160 *) ac_try_echo=$ac_try;;
33162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33163 (eval "$ac_link") 2>conftest.er1
33165 grep -v '^ *+' conftest.er1 >conftest.err
33167 cat conftest.err >&5
33168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169 (exit $ac_status); } && {
33170 test -z "$ac_c_werror_flag" ||
33171 test ! -s conftest.err
33172 } && test -s conftest$ac_exeext &&
33173 $as_test_x conftest$ac_exeext; then
33174 ac_cv_func_gethostbyname=yes
33176 echo "$as_me: failed program was:" >&5
33177 sed 's/^/| /' conftest.$ac_ext >&5
33179 ac_cv_func_gethostbyname=no
33182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33183 conftest$ac_exeext conftest.$ac_ext
33185 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33186 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33188 if test $ac_cv_func_gethostbyname = no; then
33189 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33190 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33191 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33194 ac_check_lib_save_LIBS=$LIBS
33196 cat >conftest.$ac_ext <<_ACEOF
33199 cat confdefs.h >>conftest.$ac_ext
33200 cat >>conftest.$ac_ext <<_ACEOF
33201 /* end confdefs.h. */
33203 /* Override any GCC internal prototype to avoid an error.
33204 Use char because int might match the return type of a GCC
33205 builtin and then its argument prototype would still apply. */
33209 char gethostbyname ();
33213 return gethostbyname ();
33218 rm -f conftest.$ac_objext conftest$ac_exeext
33219 if { (ac_try="$ac_link"
33220 case "(($ac_try" in
33221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33222 *) ac_try_echo
=$ac_try;;
33224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33225 (eval "$ac_link") 2>conftest.er1
33227 grep -v '^ *+' conftest.er1
>conftest.err
33229 cat conftest.err
>&5
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); } && {
33232 test -z "$ac_c_werror_flag" ||
33233 test ! -s conftest.err
33234 } && test -s conftest
$ac_exeext &&
33235 $as_test_x conftest
$ac_exeext; then
33236 ac_cv_lib_nsl_gethostbyname
=yes
33238 echo "$as_me: failed program was:" >&5
33239 sed 's/^/| /' conftest.
$ac_ext >&5
33241 ac_cv_lib_nsl_gethostbyname
=no
33244 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33245 conftest
$ac_exeext conftest.
$ac_ext
33246 LIBS
=$ac_check_lib_save_LIBS
33248 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33249 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33250 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33251 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33254 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33255 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33256 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33257 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33258 echo $ECHO_N "(cached) $ECHO_C" >&6
33260 ac_check_lib_save_LIBS
=$LIBS
33262 cat >conftest.
$ac_ext <<_ACEOF
33265 cat confdefs.h
>>conftest.
$ac_ext
33266 cat >>conftest.
$ac_ext <<_ACEOF
33267 /* end confdefs.h. */
33269 /* Override any GCC internal prototype to avoid an error.
33270 Use char because int might match the return type of a GCC
33271 builtin and then its argument prototype would still apply. */
33275 char gethostbyname ();
33279 return gethostbyname ();
33284 rm -f conftest.
$ac_objext conftest
$ac_exeext
33285 if { (ac_try
="$ac_link"
33286 case "(($ac_try" in
33287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33288 *) ac_try_echo=$ac_try;;
33290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33291 (eval "$ac_link") 2>conftest.er1
33293 grep -v '^ *+' conftest.er1 >conftest.err
33295 cat conftest.err >&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); } && {
33298 test -z "$ac_c_werror_flag" ||
33299 test ! -s conftest.err
33300 } && test -s conftest$ac_exeext &&
33301 $as_test_x conftest$ac_exeext; then
33302 ac_cv_lib_bsd_gethostbyname=yes
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.$ac_ext >&5
33307 ac_cv_lib_bsd_gethostbyname=no
33310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33311 conftest$ac_exeext conftest.$ac_ext
33312 LIBS=$ac_check_lib_save_LIBS
33314 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33315 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33316 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33323 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33324 # socket/setsockopt and other routines are undefined under SCO ODT
33325 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33326 # on later versions), says Simon Leinen: it contains gethostby*
33327 # variants that don't use the name server (or something). -lsocket
33328 # must be given before -lnsl if both are needed. We assume that
33329 # if connect needs -lnsl, so does gethostbyname.
33330 { echo "$as_me:$LINENO: checking for connect" >&5
33331 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33332 if test "${ac_cv_func_connect+set}" = set; then
33333 echo $ECHO_N "(cached) $ECHO_C" >&6
33335 cat >conftest.$ac_ext <<_ACEOF
33338 cat confdefs.h >>conftest.$ac_ext
33339 cat >>conftest.$ac_ext <<_ACEOF
33340 /* end confdefs.h. */
33341 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33343 #define connect innocuous_connect
33345 /* System header to define __stub macros and hopefully few prototypes,
33346 which can conflict with char connect (); below.
33347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33348 <limits.h> exists even on freestanding compilers. */
33351 # include <limits.h>
33353 # include <assert.h>
33358 /* Override any GCC internal prototype to avoid an error.
33359 Use char because int might match the return type of a GCC
33360 builtin and then its argument prototype would still apply. */
33365 /* The GNU C library defines this for functions which it implements
33366 to always fail with ENOSYS. Some functions are actually named
33367 something starting with __ and the normal name is an alias. */
33368 #if defined __stub_connect || defined __stub___connect
33380 rm -f conftest.$ac_objext conftest$ac_exeext
33381 if { (ac_try="$ac_link"
33382 case "(($ac_try" in
33383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33384 *) ac_try_echo
=$ac_try;;
33386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33387 (eval "$ac_link") 2>conftest.er1
33389 grep -v '^ *+' conftest.er1
>conftest.err
33391 cat conftest.err
>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); } && {
33394 test -z "$ac_c_werror_flag" ||
33395 test ! -s conftest.err
33396 } && test -s conftest
$ac_exeext &&
33397 $as_test_x conftest
$ac_exeext; then
33398 ac_cv_func_connect
=yes
33400 echo "$as_me: failed program was:" >&5
33401 sed 's/^/| /' conftest.
$ac_ext >&5
33403 ac_cv_func_connect
=no
33406 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33407 conftest
$ac_exeext conftest.
$ac_ext
33409 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33410 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33412 if test $ac_cv_func_connect = no
; then
33413 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33414 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33415 if test "${ac_cv_lib_socket_connect+set}" = set; then
33416 echo $ECHO_N "(cached) $ECHO_C" >&6
33418 ac_check_lib_save_LIBS
=$LIBS
33419 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33420 cat >conftest.
$ac_ext <<_ACEOF
33423 cat confdefs.h
>>conftest.
$ac_ext
33424 cat >>conftest.
$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33427 /* Override any GCC internal prototype to avoid an error.
33428 Use char because int might match the return type of a GCC
33429 builtin and then its argument prototype would still apply. */
33442 rm -f conftest.
$ac_objext conftest
$ac_exeext
33443 if { (ac_try
="$ac_link"
33444 case "(($ac_try" in
33445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33446 *) ac_try_echo=$ac_try;;
33448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33449 (eval "$ac_link") 2>conftest.er1
33451 grep -v '^ *+' conftest.er1 >conftest.err
33453 cat conftest.err >&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } && {
33456 test -z "$ac_c_werror_flag" ||
33457 test ! -s conftest.err
33458 } && test -s conftest$ac_exeext &&
33459 $as_test_x conftest$ac_exeext; then
33460 ac_cv_lib_socket_connect=yes
33462 echo "$as_me: failed program was:" >&5
33463 sed 's/^/| /' conftest.$ac_ext >&5
33465 ac_cv_lib_socket_connect=no
33468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33469 conftest$ac_exeext conftest.$ac_ext
33470 LIBS=$ac_check_lib_save_LIBS
33472 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33473 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33474 if test $ac_cv_lib_socket_connect = yes; then
33475 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33480 # Guillermo Gomez says -lposix is necessary on A/UX.
33481 { echo "$as_me:$LINENO: checking for remove" >&5
33482 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33483 if test "${ac_cv_func_remove+set}" = set; then
33484 echo $ECHO_N "(cached) $ECHO_C" >&6
33486 cat >conftest.$ac_ext <<_ACEOF
33489 cat confdefs.h >>conftest.$ac_ext
33490 cat >>conftest.$ac_ext <<_ACEOF
33491 /* end confdefs.h. */
33492 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33494 #define remove innocuous_remove
33496 /* System header to define __stub macros and hopefully few prototypes,
33497 which can conflict with char remove (); below.
33498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33499 <limits.h> exists even on freestanding compilers. */
33502 # include <limits.h>
33504 # include <assert.h>
33509 /* Override any GCC internal prototype to avoid an error.
33510 Use char because int might match the return type of a GCC
33511 builtin and then its argument prototype would still apply. */
33516 /* The GNU C library defines this for functions which it implements
33517 to always fail with ENOSYS. Some functions are actually named
33518 something starting with __ and the normal name is an alias. */
33519 #if defined __stub_remove || defined __stub___remove
33531 rm -f conftest.$ac_objext conftest$ac_exeext
33532 if { (ac_try="$ac_link"
33533 case "(($ac_try" in
33534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33535 *) ac_try_echo
=$ac_try;;
33537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33538 (eval "$ac_link") 2>conftest.er1
33540 grep -v '^ *+' conftest.er1
>conftest.err
33542 cat conftest.err
>&5
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); } && {
33545 test -z "$ac_c_werror_flag" ||
33546 test ! -s conftest.err
33547 } && test -s conftest
$ac_exeext &&
33548 $as_test_x conftest
$ac_exeext; then
33549 ac_cv_func_remove
=yes
33551 echo "$as_me: failed program was:" >&5
33552 sed 's/^/| /' conftest.
$ac_ext >&5
33554 ac_cv_func_remove
=no
33557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33558 conftest
$ac_exeext conftest.
$ac_ext
33560 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33561 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33563 if test $ac_cv_func_remove = no
; then
33564 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33565 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33566 if test "${ac_cv_lib_posix_remove+set}" = set; then
33567 echo $ECHO_N "(cached) $ECHO_C" >&6
33569 ac_check_lib_save_LIBS
=$LIBS
33570 LIBS
="-lposix $LIBS"
33571 cat >conftest.
$ac_ext <<_ACEOF
33574 cat confdefs.h
>>conftest.
$ac_ext
33575 cat >>conftest.
$ac_ext <<_ACEOF
33576 /* end confdefs.h. */
33578 /* Override any GCC internal prototype to avoid an error.
33579 Use char because int might match the return type of a GCC
33580 builtin and then its argument prototype would still apply. */
33593 rm -f conftest.
$ac_objext conftest
$ac_exeext
33594 if { (ac_try
="$ac_link"
33595 case "(($ac_try" in
33596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33597 *) ac_try_echo=$ac_try;;
33599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33600 (eval "$ac_link") 2>conftest.er1
33602 grep -v '^ *+' conftest.er1 >conftest.err
33604 cat conftest.err >&5
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); } && {
33607 test -z "$ac_c_werror_flag" ||
33608 test ! -s conftest.err
33609 } && test -s conftest$ac_exeext &&
33610 $as_test_x conftest$ac_exeext; then
33611 ac_cv_lib_posix_remove=yes
33613 echo "$as_me: failed program was:" >&5
33614 sed 's/^/| /' conftest.$ac_ext >&5
33616 ac_cv_lib_posix_remove=no
33619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33620 conftest$ac_exeext conftest.$ac_ext
33621 LIBS=$ac_check_lib_save_LIBS
33623 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33624 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33625 if test $ac_cv_lib_posix_remove = yes; then
33626 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33631 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33632 { echo "$as_me:$LINENO: checking for shmat" >&5
33633 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33634 if test "${ac_cv_func_shmat+set}" = set; then
33635 echo $ECHO_N "(cached) $ECHO_C" >&6
33637 cat >conftest.$ac_ext <<_ACEOF
33640 cat confdefs.h >>conftest.$ac_ext
33641 cat >>conftest.$ac_ext <<_ACEOF
33642 /* end confdefs.h. */
33643 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33645 #define shmat innocuous_shmat
33647 /* System header to define __stub macros and hopefully few prototypes,
33648 which can conflict with char shmat (); below.
33649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33650 <limits.h> exists even on freestanding compilers. */
33653 # include <limits.h>
33655 # include <assert.h>
33660 /* Override any GCC internal prototype to avoid an error.
33661 Use char because int might match the return type of a GCC
33662 builtin and then its argument prototype would still apply. */
33667 /* The GNU C library defines this for functions which it implements
33668 to always fail with ENOSYS. Some functions are actually named
33669 something starting with __ and the normal name is an alias. */
33670 #if defined __stub_shmat || defined __stub___shmat
33682 rm -f conftest.$ac_objext conftest$ac_exeext
33683 if { (ac_try="$ac_link"
33684 case "(($ac_try" in
33685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33686 *) ac_try_echo
=$ac_try;;
33688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33689 (eval "$ac_link") 2>conftest.er1
33691 grep -v '^ *+' conftest.er1
>conftest.err
33693 cat conftest.err
>&5
33694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695 (exit $ac_status); } && {
33696 test -z "$ac_c_werror_flag" ||
33697 test ! -s conftest.err
33698 } && test -s conftest
$ac_exeext &&
33699 $as_test_x conftest
$ac_exeext; then
33700 ac_cv_func_shmat
=yes
33702 echo "$as_me: failed program was:" >&5
33703 sed 's/^/| /' conftest.
$ac_ext >&5
33705 ac_cv_func_shmat
=no
33708 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33709 conftest
$ac_exeext conftest.
$ac_ext
33711 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33712 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33714 if test $ac_cv_func_shmat = no
; then
33715 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33716 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33717 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33718 echo $ECHO_N "(cached) $ECHO_C" >&6
33720 ac_check_lib_save_LIBS
=$LIBS
33722 cat >conftest.
$ac_ext <<_ACEOF
33725 cat confdefs.h
>>conftest.
$ac_ext
33726 cat >>conftest.
$ac_ext <<_ACEOF
33727 /* end confdefs.h. */
33729 /* Override any GCC internal prototype to avoid an error.
33730 Use char because int might match the return type of a GCC
33731 builtin and then its argument prototype would still apply. */
33744 rm -f conftest.
$ac_objext conftest
$ac_exeext
33745 if { (ac_try
="$ac_link"
33746 case "(($ac_try" in
33747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33748 *) ac_try_echo=$ac_try;;
33750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33751 (eval "$ac_link") 2>conftest.er1
33753 grep -v '^ *+' conftest.er1 >conftest.err
33755 cat conftest.err >&5
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); } && {
33758 test -z "$ac_c_werror_flag" ||
33759 test ! -s conftest.err
33760 } && test -s conftest$ac_exeext &&
33761 $as_test_x conftest$ac_exeext; then
33762 ac_cv_lib_ipc_shmat=yes
33764 echo "$as_me: failed program was:" >&5
33765 sed 's/^/| /' conftest.$ac_ext >&5
33767 ac_cv_lib_ipc_shmat=no
33770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33771 conftest$ac_exeext conftest.$ac_ext
33772 LIBS=$ac_check_lib_save_LIBS
33774 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33775 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33776 if test $ac_cv_lib_ipc_shmat = yes; then
33777 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33783 # Check for libraries that X11R6 Xt/Xaw programs need.
33784 ac_save_LDFLAGS=$LDFLAGS
33785 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33786 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33787 # check for ICE first), but we must link in the order -lSM -lICE or
33788 # we get undefined symbols. So assume we have SM if we have ICE.
33789 # These have to be linked with before -lX11, unlike the other
33790 # libraries we check for below, so use a different variable.
33791 # John Interrante, Karl Berry
33792 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33793 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33794 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33795 echo $ECHO_N "(cached) $ECHO_C" >&6
33797 ac_check_lib_save_LIBS=$LIBS
33798 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33799 cat >conftest.$ac_ext <<_ACEOF
33802 cat confdefs.h >>conftest.$ac_ext
33803 cat >>conftest.$ac_ext <<_ACEOF
33804 /* end confdefs.h. */
33806 /* Override any GCC internal prototype to avoid an error.
33807 Use char because int might match the return type of a GCC
33808 builtin and then its argument prototype would still apply. */
33812 char IceConnectionNumber ();
33816 return IceConnectionNumber ();
33821 rm -f conftest.$ac_objext conftest$ac_exeext
33822 if { (ac_try="$ac_link"
33823 case "(($ac_try" in
33824 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33825 *) ac_try_echo
=$ac_try;;
33827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33828 (eval "$ac_link") 2>conftest.er1
33830 grep -v '^ *+' conftest.er1
>conftest.err
33832 cat conftest.err
>&5
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); } && {
33835 test -z "$ac_c_werror_flag" ||
33836 test ! -s conftest.err
33837 } && test -s conftest
$ac_exeext &&
33838 $as_test_x conftest
$ac_exeext; then
33839 ac_cv_lib_ICE_IceConnectionNumber
=yes
33841 echo "$as_me: failed program was:" >&5
33842 sed 's/^/| /' conftest.
$ac_ext >&5
33844 ac_cv_lib_ICE_IceConnectionNumber
=no
33847 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33848 conftest
$ac_exeext conftest.
$ac_ext
33849 LIBS
=$ac_check_lib_save_LIBS
33851 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33852 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33853 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33854 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33857 LDFLAGS
=$ac_save_LDFLAGS
33862 if test "$no_x" = "yes"; then
33863 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33864 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33865 { (exit 1); exit 1; }; }
33868 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33869 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33870 AFMINSTALL
=afminstall
33871 COMPILED_X_PROGRAM
=0
33875 if test "$wxUSE_X11" = 1; then
33876 if test "$wxUSE_NANOX" = "yes"; then
33877 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33878 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33879 if test "x$MICROWIN" = x
; then
33880 { echo "$as_me:$LINENO: result: not found" >&5
33881 echo "${ECHO_T}not found" >&6; }
33882 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33883 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33884 { (exit 1); exit 1; }; }
33886 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33887 echo "${ECHO_T}$MICROWIN" >&6; }
33888 cat >>confdefs.h
<<\_ACEOF
33889 #define wxUSE_NANOX 1
33895 if test "$wxUSE_UNICODE" = "yes"; then
33898 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33899 if test -n "$ac_tool_prefix"; then
33900 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33901 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33904 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33905 echo $ECHO_N "(cached) $ECHO_C" >&6
33907 case $PKG_CONFIG in
33909 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33913 for as_dir
in $PATH
33916 test -z "$as_dir" && as_dir
=.
33917 for ac_exec_ext
in '' $ac_executable_extensions; do
33918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33919 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33930 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33931 if test -n "$PKG_CONFIG"; then
33932 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33933 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33935 { echo "$as_me:$LINENO: result: no" >&5
33936 echo "${ECHO_T}no" >&6; }
33941 if test -z "$ac_cv_path_PKG_CONFIG"; then
33942 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33943 # Extract the first word of "pkg-config", so it can be a program name with args.
33944 set dummy pkg
-config; ac_word
=$2
33945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33947 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33948 echo $ECHO_N "(cached) $ECHO_C" >&6
33950 case $ac_pt_PKG_CONFIG in
33952 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33956 for as_dir
in $PATH
33959 test -z "$as_dir" && as_dir
=.
33960 for ac_exec_ext
in '' $ac_executable_extensions; do
33961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33962 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33973 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33974 if test -n "$ac_pt_PKG_CONFIG"; then
33975 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33976 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33978 { echo "$as_me:$LINENO: result: no" >&5
33979 echo "${ECHO_T}no" >&6; }
33982 if test "x$ac_pt_PKG_CONFIG" = x
; then
33985 case $cross_compiling:$ac_tool_warned in
33987 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33988 whose name does not start with the host triplet. If you think this
33989 configuration is useful to you, please write to autoconf@gnu.org." >&5
33990 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33991 whose name does not start with the host triplet. If you think this
33992 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33993 ac_tool_warned
=yes ;;
33995 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33998 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34002 if test -n "$PKG_CONFIG"; then
34003 _pkg_min_version
=0.9.0
34004 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34005 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34006 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34007 { echo "$as_me:$LINENO: result: yes" >&5
34008 echo "${ECHO_T}yes" >&6; }
34010 { echo "$as_me:$LINENO: result: no" >&5
34011 echo "${ECHO_T}no" >&6; }
34019 { echo "$as_me:$LINENO: checking for PANGOX" >&5
34020 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
34022 if test -n "$PKG_CONFIG"; then
34023 if test -n "$PANGOX_CFLAGS"; then
34024 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
34026 if test -n "$PKG_CONFIG" && \
34027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34028 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); }; then
34032 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
34040 if test -n "$PKG_CONFIG"; then
34041 if test -n "$PANGOX_LIBS"; then
34042 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
34044 if test -n "$PKG_CONFIG" && \
34045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34046 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); }; then
34050 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
34061 if test $pkg_failed = yes; then
34063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34064 _pkg_short_errors_supported
=yes
34066 _pkg_short_errors_supported
=no
34068 if test $_pkg_short_errors_supported = yes; then
34069 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34071 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34073 # Put the nasty error message in config.log where it belongs
34074 echo "$PANGOX_PKG_ERRORS" >&5
34077 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34078 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34079 { (exit 1); exit 1; }; }
34082 elif test $pkg_failed = untried
; then
34084 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34085 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34086 { (exit 1); exit 1; }; }
34090 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
34091 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
34092 { echo "$as_me:$LINENO: result: yes" >&5
34093 echo "${ECHO_T}yes" >&6; }
34095 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
34096 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
34097 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
34102 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34103 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34105 if test -n "$PKG_CONFIG"; then
34106 if test -n "$PANGOFT2_CFLAGS"; then
34107 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
34109 if test -n "$PKG_CONFIG" && \
34110 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34111 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; then
34115 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34123 if test -n "$PKG_CONFIG"; then
34124 if test -n "$PANGOFT2_LIBS"; then
34125 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
34127 if test -n "$PKG_CONFIG" && \
34128 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34129 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132 (exit $ac_status); }; then
34133 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34144 if test $pkg_failed = yes; then
34146 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34147 _pkg_short_errors_supported
=yes
34149 _pkg_short_errors_supported
=no
34151 if test $_pkg_short_errors_supported = yes; then
34152 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34154 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34156 # Put the nasty error message in config.log where it belongs
34157 echo "$PANGOFT2_PKG_ERRORS" >&5
34160 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34161 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34162 wxUSE_PRINTING_ARCHITECTURE
="no"
34165 elif test $pkg_failed = untried
; then
34167 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34168 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34169 wxUSE_PRINTING_ARCHITECTURE
="no"
34173 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
34174 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
34175 { echo "$as_me:$LINENO: result: yes" >&5
34176 echo "${ECHO_T}yes" >&6; }
34178 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
34179 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
34180 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34185 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34186 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34188 if test -n "$PKG_CONFIG"; then
34189 if test -n "$PANGOXFT_CFLAGS"; then
34190 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
34192 if test -n "$PKG_CONFIG" && \
34193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34194 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); }; then
34198 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34206 if test -n "$PKG_CONFIG"; then
34207 if test -n "$PANGOXFT_LIBS"; then
34208 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34210 if test -n "$PKG_CONFIG" && \
34211 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34212 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34215 (exit $ac_status); }; then
34216 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34227 if test $pkg_failed = yes; then
34229 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34230 _pkg_short_errors_supported
=yes
34232 _pkg_short_errors_supported
=no
34234 if test $_pkg_short_errors_supported = yes; then
34235 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34237 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34239 # Put the nasty error message in config.log where it belongs
34240 echo "$PANGOXFT_PKG_ERRORS" >&5
34243 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34244 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34247 elif test $pkg_failed = untried
; then
34249 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34250 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34254 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34255 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34256 { echo "$as_me:$LINENO: result: yes" >&5
34257 echo "${ECHO_T}yes" >&6; }
34259 cat >>confdefs.h
<<\_ACEOF
34260 #define HAVE_PANGO_XFT 1
34263 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34264 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34265 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34269 LIBS
="$LIBS $PANGOX_LIBS"
34271 for ac_func
in pango_font_family_is_monospace
34273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34276 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34277 echo $ECHO_N "(cached) $ECHO_C" >&6
34279 cat >conftest.
$ac_ext <<_ACEOF
34282 cat confdefs.h
>>conftest.
$ac_ext
34283 cat >>conftest.
$ac_ext <<_ACEOF
34284 /* end confdefs.h. */
34285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34287 #define $ac_func innocuous_$ac_func
34289 /* System header to define __stub macros and hopefully few prototypes,
34290 which can conflict with char $ac_func (); below.
34291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34292 <limits.h> exists even on freestanding compilers. */
34295 # include <limits.h>
34297 # include <assert.h>
34302 /* Override any GCC internal prototype to avoid an error.
34303 Use char because int might match the return type of a GCC
34304 builtin and then its argument prototype would still apply. */
34309 /* The GNU C library defines this for functions which it implements
34310 to always fail with ENOSYS. Some functions are actually named
34311 something starting with __ and the normal name is an alias. */
34312 #if defined __stub_$ac_func || defined __stub___$ac_func
34319 return $ac_func ();
34324 rm -f conftest.
$ac_objext conftest
$ac_exeext
34325 if { (ac_try
="$ac_link"
34326 case "(($ac_try" in
34327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34328 *) ac_try_echo=$ac_try;;
34330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34331 (eval "$ac_link") 2>conftest.er1
34333 grep -v '^ *+' conftest.er1 >conftest.err
34335 cat conftest.err >&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); } && {
34338 test -z "$ac_c_werror_flag" ||
34339 test ! -s conftest.err
34340 } && test -s conftest$ac_exeext &&
34341 $as_test_x conftest$ac_exeext; then
34342 eval "$as_ac_var=yes"
34344 echo "$as_me: failed program was:" >&5
34345 sed 's/^/| /' conftest.$ac_ext >&5
34347 eval "$as_ac_var=no"
34350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34351 conftest$ac_exeext conftest.$ac_ext
34353 ac_res=`eval echo '${'$as_ac_var'}'`
34354 { echo "$as_me:$LINENO: result: $ac_res" >&5
34355 echo "${ECHO_T}$ac_res" >&6; }
34356 if test `eval echo '${'$as_ac_var'}'` = yes; then
34357 cat >>confdefs.h <<_ACEOF
34358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34367 wxUSE_UNIVERSAL="yes"
34369 if test "$wxUSE_NANOX" = "yes"; then
34370 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34371 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"
34372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34374 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34381 if test "$wxUSE_MOTIF" = 1; then
34382 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34383 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34386 for ac_dir in $SEARCH_INCLUDE /usr/include;
34388 if test -f "$ac_dir/Xm/Xm.h"; then
34389 ac_find_includes=$ac_dir
34394 if test "$ac_find_includes" != "" ; then
34395 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34396 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34398 if test "x$ac_find_includes" = "x/usr/include"; then
34399 ac_path_to_include=""
34401 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34403 if test $result = 0; then
34404 ac_path_to_include=""
34406 ac_path_to_include=" -I$ac_find_includes"
34410 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34412 save_CFLAGS=$CFLAGS
34413 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34415 cat >conftest.$ac_ext <<_ACEOF
34418 cat confdefs.h >>conftest.$ac_ext
34419 cat >>conftest.$ac_ext <<_ACEOF
34420 /* end confdefs.h. */
34429 version = xmUseVersion;
34435 rm -f conftest.$ac_objext
34436 if { (ac_try="$ac_compile"
34437 case "(($ac_try" in
34438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34439 *) ac_try_echo
=$ac_try;;
34441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34442 (eval "$ac_compile") 2>conftest.er1
34444 grep -v '^ *+' conftest.er1
>conftest.err
34446 cat conftest.err
>&5
34447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34448 (exit $ac_status); } && {
34449 test -z "$ac_c_werror_flag" ||
34450 test ! -s conftest.err
34451 } && test -s conftest.
$ac_objext; then
34453 { echo "$as_me:$LINENO: result: found in default search path" >&5
34454 echo "${ECHO_T}found in default search path" >&6; }
34455 COMPILED_X_PROGRAM
=1
34458 echo "$as_me: failed program was:" >&5
34459 sed 's/^/| /' conftest.
$ac_ext >&5
34462 { echo "$as_me:$LINENO: result: no" >&5
34463 echo "${ECHO_T}no" >&6; }
34464 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34465 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34466 { (exit 1); exit 1; }; }
34471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34473 CFLAGS
=$save_CFLAGS
34477 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34478 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34481 for ac_dir
in $SEARCH_LIB;
34483 for ac_extension
in a so sl dylib dll.a
; do
34484 if test -f "$ac_dir/libXm.$ac_extension"; then
34485 ac_find_libraries
=$ac_dir
34492 if test "x$ac_find_libraries" != "x" ; then
34493 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34494 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34497 if test "$ac_find_libraries" = "default location"; then
34500 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34502 if test $result = 0; then
34505 ac_path_to_link
=" -L$ac_find_libraries"
34509 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34511 save_CFLAGS
=$CFLAGS
34512 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34514 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34516 cat >conftest.
$ac_ext <<_ACEOF
34519 cat confdefs.h
>>conftest.
$ac_ext
34520 cat >>conftest.
$ac_ext <<_ACEOF
34521 /* end confdefs.h. */
34530 version = xmUseVersion;
34536 rm -f conftest.
$ac_objext conftest
$ac_exeext
34537 if { (ac_try
="$ac_link"
34538 case "(($ac_try" in
34539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34540 *) ac_try_echo=$ac_try;;
34542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34543 (eval "$ac_link") 2>conftest.er1
34545 grep -v '^ *+' conftest.er1 >conftest.err
34547 cat conftest.err >&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } && {
34550 test -z "$ac_c_werror_flag" ||
34551 test ! -s conftest.err
34552 } && test -s conftest$ac_exeext &&
34553 $as_test_x conftest$ac_exeext; then
34555 { echo "$as_me:$LINENO: result: found in default search path" >&5
34556 echo "${ECHO_T}found in default search path" >&6; }
34557 COMPILED_X_PROGRAM=1
34560 echo "$as_me: failed program was:" >&5
34561 sed 's/^/| /' conftest.$ac_ext >&5
34564 { echo "$as_me:$LINENO: result: no" >&5
34565 echo "${ECHO_T}no" >&6; }
34566 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34567 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34568 { (exit 1); exit 1; }; }
34573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34574 conftest$ac_exeext conftest.$ac_ext
34576 CFLAGS=$save_CFLAGS
34580 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34581 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34585 for libp in "" " -lXp"; do
34586 if test "$libs_found" = "0"; then
34587 for libsm_ice in "" " -lSM -lICE"; do
34588 if test "$libs_found" = "0"; then
34590 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34591 save_CFLAGS=$CFLAGS
34592 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34594 cat >conftest.$ac_ext <<_ACEOF
34597 cat confdefs.h >>conftest.$ac_ext
34598 cat >>conftest.$ac_ext <<_ACEOF
34599 /* end confdefs.h. */
34602 #include <Xm/List.h>
34608 XmString string = NULL;
34611 XmListAddItem(w, string, position);
34617 rm -f conftest.$ac_objext conftest$ac_exeext
34618 if { (ac_try="$ac_link"
34619 case "(($ac_try" in
34620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34621 *) ac_try_echo
=$ac_try;;
34623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34624 (eval "$ac_link") 2>conftest.er1
34626 grep -v '^ *+' conftest.er1
>conftest.err
34628 cat conftest.err
>&5
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); } && {
34631 test -z "$ac_c_werror_flag" ||
34632 test ! -s conftest.err
34633 } && test -s conftest
$ac_exeext &&
34634 $as_test_x conftest
$ac_exeext; then
34637 libsm_ice_link
="$libsm_ice"
34638 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34639 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34643 echo "$as_me: failed program was:" >&5
34644 sed 's/^/| /' conftest.
$ac_ext >&5
34650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34651 conftest
$ac_exeext conftest.
$ac_ext
34654 CFLAGS
=$save_CFLAGS
34660 if test "$libs_found" = "0"; then
34661 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34662 echo "${ECHO_T}can't find the right libraries" >&6; }
34663 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34664 echo "$as_me: error: can't link a simple motif program" >&2;}
34665 { (exit 1); exit 1; }; }
34668 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34669 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34670 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34671 echo $ECHO_N "(cached) $ECHO_C" >&6
34673 ac_check_lib_save_LIBS
=$LIBS
34675 cat >conftest.
$ac_ext <<_ACEOF
34678 cat confdefs.h
>>conftest.
$ac_ext
34679 cat >>conftest.
$ac_ext <<_ACEOF
34680 /* end confdefs.h. */
34682 /* Override any GCC internal prototype to avoid an error.
34683 Use char because int might match the return type of a GCC
34684 builtin and then its argument prototype would still apply. */
34688 char SgCreateList ();
34692 return SgCreateList ();
34697 rm -f conftest.
$ac_objext conftest
$ac_exeext
34698 if { (ac_try
="$ac_link"
34699 case "(($ac_try" in
34700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34701 *) ac_try_echo=$ac_try;;
34703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34704 (eval "$ac_link") 2>conftest.er1
34706 grep -v '^ *+' conftest.er1 >conftest.err
34708 cat conftest.err >&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); } && {
34711 test -z "$ac_c_werror_flag" ||
34712 test ! -s conftest.err
34713 } && test -s conftest$ac_exeext &&
34714 $as_test_x conftest$ac_exeext; then
34715 ac_cv_lib_Sgm_SgCreateList=yes
34717 echo "$as_me: failed program was:" >&5
34718 sed 's/^/| /' conftest.$ac_ext >&5
34720 ac_cv_lib_Sgm_SgCreateList=no
34723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34724 conftest$ac_exeext conftest.$ac_ext
34725 LIBS=$ac_check_lib_save_LIBS
34727 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34728 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34729 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34730 libsgm_link=" -lSgm"
34734 save_CFLAGS=$CFLAGS
34735 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34737 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34738 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34739 if test "${wx_cv_lib_motif2+set}" = set; then
34740 echo $ECHO_N "(cached) $ECHO_C" >&6
34742 cat >conftest.$ac_ext <<_ACEOF
34745 cat confdefs.h >>conftest.$ac_ext
34746 cat >>conftest.$ac_ext <<_ACEOF
34747 /* end confdefs.h. */
34755 #if XmVersion < 2000
34763 rm -f conftest.$ac_objext
34764 if { (ac_try="$ac_compile"
34765 case "(($ac_try" in
34766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34767 *) ac_try_echo
=$ac_try;;
34769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34770 (eval "$ac_compile") 2>conftest.er1
34772 grep -v '^ *+' conftest.er1
>conftest.err
34774 cat conftest.err
>&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); } && {
34777 test -z "$ac_c_werror_flag" ||
34778 test ! -s conftest.err
34779 } && test -s conftest.
$ac_objext; then
34780 wx_cv_lib_motif2
="yes"
34782 echo "$as_me: failed program was:" >&5
34783 sed 's/^/| /' conftest.
$ac_ext >&5
34785 wx_cv_lib_motif2
="no"
34788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34790 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34791 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34792 if test "$wx_cv_lib_motif2" = "yes"; then
34793 cat >>confdefs.h
<<\_ACEOF
34794 #define __WXMOTIF20__ 1
34798 cat >>confdefs.h
<<\_ACEOF
34799 #define __WXMOTIF20__ 0
34804 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34805 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34806 if test "${wx_cv_lib_lesstif+set}" = set; then
34807 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 cat >conftest.
$ac_ext <<_ACEOF
34812 cat confdefs.h
>>conftest.
$ac_ext
34813 cat >>conftest.
$ac_ext <<_ACEOF
34814 /* end confdefs.h. */
34822 #if !defined(LesstifVersion) || LesstifVersion <= 0
34830 rm -f conftest.
$ac_objext
34831 if { (ac_try
="$ac_compile"
34832 case "(($ac_try" in
34833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34834 *) ac_try_echo=$ac_try;;
34836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34837 (eval "$ac_compile") 2>conftest.er1
34839 grep -v '^ *+' conftest.er1 >conftest.err
34841 cat conftest.err >&5
34842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34843 (exit $ac_status); } && {
34844 test -z "$ac_c_werror_flag" ||
34845 test ! -s conftest.err
34846 } && test -s conftest.$ac_objext; then
34847 wx_cv_lib_lesstif="yes"
34849 echo "$as_me: failed program was:" >&5
34850 sed 's/^/| /' conftest.$ac_ext >&5
34852 wx_cv_lib_lesstif="no"
34855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34858 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34859 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34860 if test "$wx_cv_lib_lesstif" = "yes"; then
34861 cat >>confdefs.h <<\_ACEOF
34862 #define __WXLESSTIF__ 1
34866 cat >>confdefs.h <<\_ACEOF
34867 #define __WXLESSTIF__ 0
34872 CFLAGS=$save_CFLAGS
34874 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34879 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34880 if test "$wxUSE_LIBXPM" = "sys"; then
34881 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34882 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34885 for ac_dir in $SEARCH_LIB;
34887 for ac_extension in a so sl dylib dll.a; do
34888 if test -f "$ac_dir/libXpm.$ac_extension"; then
34889 ac_find_libraries=$ac_dir
34895 if test "$ac_find_libraries" != "" ; then
34897 if test "$ac_find_libraries" = "default location"; then
34900 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34902 if test $result = 0; then
34905 ac_path_to_link=" -L$ac_find_libraries"
34909 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34910 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34911 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34913 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34914 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34915 if test "${wx_cv_x11_xpm_h+set}" = set; then
34916 echo $ECHO_N "(cached) $ECHO_C" >&6
34919 save_CFLAGS=$CFLAGS
34920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34922 cat >conftest.$ac_ext <<_ACEOF
34925 cat confdefs.h >>conftest.$ac_ext
34926 cat >>conftest.$ac_ext <<_ACEOF
34927 /* end confdefs.h. */
34929 #include <X11/xpm.h>
34936 version = XpmLibraryVersion();
34942 rm -f conftest.$ac_objext
34943 if { (ac_try="$ac_compile"
34944 case "(($ac_try" in
34945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34946 *) ac_try_echo
=$ac_try;;
34948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34949 (eval "$ac_compile") 2>conftest.er1
34951 grep -v '^ *+' conftest.er1
>conftest.err
34953 cat conftest.err
>&5
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); } && {
34956 test -z "$ac_c_werror_flag" ||
34957 test ! -s conftest.err
34958 } && test -s conftest.
$ac_objext; then
34959 wx_cv_x11_xpm_h
=yes
34961 echo "$as_me: failed program was:" >&5
34962 sed 's/^/| /' conftest.
$ac_ext >&5
34968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34970 CFLAGS
=$save_CFLAGS
34974 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34975 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34977 if test $wx_cv_x11_xpm_h = "yes"; then
34978 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34979 cat >>confdefs.h
<<\_ACEOF
34980 #define wxHAVE_LIB_XPM 1
34984 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34985 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34991 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34992 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34993 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34996 ac_check_lib_save_LIBS
=$LIBS
34997 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34998 cat >conftest.
$ac_ext <<_ACEOF
35001 cat confdefs.h
>>conftest.
$ac_ext
35002 cat >>conftest.
$ac_ext <<_ACEOF
35003 /* end confdefs.h. */
35005 /* Override any GCC internal prototype to avoid an error.
35006 Use char because int might match the return type of a GCC
35007 builtin and then its argument prototype would still apply. */
35011 char XShapeQueryExtension ();
35015 return XShapeQueryExtension ();
35020 rm -f conftest.
$ac_objext conftest
$ac_exeext
35021 if { (ac_try
="$ac_link"
35022 case "(($ac_try" in
35023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35024 *) ac_try_echo=$ac_try;;
35026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35027 (eval "$ac_link") 2>conftest.er1
35029 grep -v '^ *+' conftest.er1 >conftest.err
35031 cat conftest.err >&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } && {
35034 test -z "$ac_c_werror_flag" ||
35035 test ! -s conftest.err
35036 } && test -s conftest$ac_exeext &&
35037 $as_test_x conftest$ac_exeext; then
35038 ac_cv_lib_Xext_XShapeQueryExtension=yes
35040 echo "$as_me: failed program was:" >&5
35041 sed 's/^/| /' conftest.$ac_ext >&5
35043 ac_cv_lib_Xext_XShapeQueryExtension=no
35046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35047 conftest$ac_exeext conftest.$ac_ext
35048 LIBS=$ac_check_lib_save_LIBS
35050 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
35051 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
35052 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
35054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
35060 if test "$wxHAVE_XEXT_LIB" = 1; then
35061 save_CFLAGS="$CFLAGS"
35062 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35064 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35065 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35066 cat >conftest.$ac_ext <<_ACEOF
35069 cat confdefs.h >>conftest.$ac_ext
35070 cat >>conftest.$ac_ext <<_ACEOF
35071 /* end confdefs.h. */
35073 #include <X11/Xlib.h>
35074 #include <X11/extensions/shape.h>
35080 int dummy1, dummy2;
35081 XShapeQueryExtension((Display*)NULL,
35082 (int*)NULL, (int*)NULL);
35088 rm -f conftest.$ac_objext
35089 if { (ac_try="$ac_compile"
35090 case "(($ac_try" in
35091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35092 *) ac_try_echo
=$ac_try;;
35094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35095 (eval "$ac_compile") 2>conftest.er1
35097 grep -v '^ *+' conftest.er1
>conftest.err
35099 cat conftest.err
>&5
35100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35101 (exit $ac_status); } && {
35102 test -z "$ac_c_werror_flag" ||
35103 test ! -s conftest.err
35104 } && test -s conftest.
$ac_objext; then
35106 cat >>confdefs.h
<<\_ACEOF
35107 #define HAVE_XSHAPE 1
35110 { echo "$as_me:$LINENO: result: found" >&5
35111 echo "${ECHO_T}found" >&6; }
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.
$ac_ext >&5
35118 { echo "$as_me:$LINENO: result: not found" >&5
35119 echo "${ECHO_T}not found" >&6; }
35123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35124 CFLAGS
="$save_CFLAGS"
35129 if test "$wxUSE_MAC" = 1; then
35130 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35131 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35132 if test "$GCC" = yes; then
35133 { echo "$as_me:$LINENO: result: gcc" >&5
35134 echo "${ECHO_T}gcc" >&6; }
35135 CPPFLAGS_PASCAL
="-fpascal-strings"
35136 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35137 { echo "$as_me:$LINENO: result: xlc" >&5
35138 echo "${ECHO_T}xlc" >&6; }
35139 CPPFLAGS_PASCAL
="-qmacpstr"
35141 { echo "$as_me:$LINENO: result: none" >&5
35142 echo "${ECHO_T}none" >&6; }
35145 if test "x$wxUSE_UNIX" = "xyes"; then
35146 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35148 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35153 WXBASEPORT
="_carbon"
35156 if test "$wxUSE_COCOA" = 1; then
35161 if test "$wxUSE_PM" = 1; then
35164 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35165 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35166 if test "${wx_cv_spbcdata+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35170 cat >conftest.
$ac_ext <<_ACEOF
35173 cat confdefs.h
>>conftest.
$ac_ext
35174 cat >>conftest.
$ac_ext <<_ACEOF
35175 /* end confdefs.h. */
35190 rm -f conftest.
$ac_objext
35191 if { (ac_try
="$ac_compile"
35192 case "(($ac_try" in
35193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35194 *) ac_try_echo=$ac_try;;
35196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35197 (eval "$ac_compile") 2>conftest.er1
35199 grep -v '^ *+' conftest.er1 >conftest.err
35201 cat conftest.err >&5
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); } && {
35204 test -z "$ac_c_werror_flag" ||
35205 test ! -s conftest.err
35206 } && test -s conftest.$ac_objext; then
35209 echo "$as_me: failed program was:" >&5
35210 sed 's/^/| /' conftest.$ac_ext >&5
35216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35220 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35221 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35223 if test $wx_cv_spbcdata = "yes"; then
35224 cat >>confdefs.h <<\_ACEOF
35225 #define HAVE_SPBCDATA 1
35231 if test "$TOOLKIT" = "PM" ; then
35234 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35237 if test "$wxUSE_UNIVERSAL" = "yes"; then
35238 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35242 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35243 DISTDIR="wx\$(TOOLKIT)"
35249 if test "$USE_WIN32" = 1 ; then
35253 GUIDIST="BASE_DIST"
35259 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35260 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35261 wxUSE_UNICODE_UTF8=yes
35262 elif test "$USE_OS2" = "1" ; then
35263 wxUSE_UNICODE_UTF8=yes
35265 wxUSE_UNICODE_UTF8=no
35270 if test "$wxUSE_GUI" = "yes"; then
35271 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35273 for ac_header in X11/Xlib.h
35275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35279 echo $ECHO_N "(cached) $ECHO_C" >&6
35281 cat >conftest.$ac_ext <<_ACEOF
35284 cat confdefs.h >>conftest.$ac_ext
35285 cat >>conftest.$ac_ext <<_ACEOF
35286 /* end confdefs.h. */
35289 #include <$ac_header>
35291 rm -f conftest.$ac_objext
35292 if { (ac_try="$ac_compile"
35293 case "(($ac_try" in
35294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35295 *) ac_try_echo
=$ac_try;;
35297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35298 (eval "$ac_compile") 2>conftest.er1
35300 grep -v '^ *+' conftest.er1
>conftest.err
35302 cat conftest.err
>&5
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); } && {
35305 test -z "$ac_c_werror_flag" ||
35306 test ! -s conftest.err
35307 } && test -s conftest.
$ac_objext; then
35308 eval "$as_ac_Header=yes"
35310 echo "$as_me: failed program was:" >&5
35311 sed 's/^/| /' conftest.
$ac_ext >&5
35313 eval "$as_ac_Header=no"
35316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35318 ac_res
=`eval echo '${'$as_ac_Header'}'`
35319 { echo "$as_me:$LINENO: result: $ac_res" >&5
35320 echo "${ECHO_T}$ac_res" >&6; }
35321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35322 cat >>confdefs.h
<<_ACEOF
35323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35331 for ac_header
in X
11/XKBlib.h
35333 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35336 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35337 echo $ECHO_N "(cached) $ECHO_C" >&6
35339 cat >conftest.
$ac_ext <<_ACEOF
35342 cat confdefs.h
>>conftest.
$ac_ext
35343 cat >>conftest.
$ac_ext <<_ACEOF
35344 /* end confdefs.h. */
35346 #if HAVE_X11_XLIB_H
35347 #include <X11/Xlib.h>
35351 #include <$ac_header>
35353 rm -f conftest.
$ac_objext
35354 if { (ac_try
="$ac_compile"
35355 case "(($ac_try" in
35356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35357 *) ac_try_echo=$ac_try;;
35359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35360 (eval "$ac_compile") 2>conftest.er1
35362 grep -v '^ *+' conftest.er1 >conftest.err
35364 cat conftest.err >&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); } && {
35367 test -z "$ac_c_werror_flag" ||
35368 test ! -s conftest.err
35369 } && test -s conftest.$ac_objext; then
35370 eval "$as_ac_Header=yes"
35372 echo "$as_me: failed program was:" >&5
35373 sed 's/^/| /' conftest.$ac_ext >&5
35375 eval "$as_ac_Header=no"
35378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35380 ac_res=`eval echo '${'$as_ac_Header'}'`
35381 { echo "$as_me:$LINENO: result: $ac_res" >&5
35382 echo "${ECHO_T}$ac_res" >&6; }
35383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35384 cat >>confdefs.h <<_ACEOF
35385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35400 if test "$TOOLKIT" != "MSW" ; then
35402 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35404 { echo "$as_me:$LINENO: checking for sql.h" >&5
35405 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35406 if test "${ac_cv_header_sql_h+set}" = set; then
35407 echo $ECHO_N "(cached) $ECHO_C" >&6
35409 cat >conftest.$ac_ext <<_ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35419 rm -f conftest.$ac_objext
35420 if { (ac_try="$ac_compile"
35421 case "(($ac_try" in
35422 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35423 *) ac_try_echo
=$ac_try;;
35425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35426 (eval "$ac_compile") 2>conftest.er1
35428 grep -v '^ *+' conftest.er1
>conftest.err
35430 cat conftest.err
>&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } && {
35433 test -z "$ac_c_werror_flag" ||
35434 test ! -s conftest.err
35435 } && test -s conftest.
$ac_objext; then
35436 ac_cv_header_sql_h
=yes
35438 echo "$as_me: failed program was:" >&5
35439 sed 's/^/| /' conftest.
$ac_ext >&5
35441 ac_cv_header_sql_h
=no
35444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35446 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35447 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35448 if test $ac_cv_header_sql_h = yes; then
35453 if test "x$found_sql_h" = "x1" ; then
35454 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35455 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35456 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35457 echo $ECHO_N "(cached) $ECHO_C" >&6
35459 ac_check_lib_save_LIBS
=$LIBS
35460 LIBS
="-liodbc $LIBS"
35461 cat >conftest.
$ac_ext <<_ACEOF
35464 cat confdefs.h
>>conftest.
$ac_ext
35465 cat >>conftest.
$ac_ext <<_ACEOF
35466 /* end confdefs.h. */
35468 /* Override any GCC internal prototype to avoid an error.
35469 Use char because int might match the return type of a GCC
35470 builtin and then its argument prototype would still apply. */
35474 char SQLAllocEnv ();
35478 return SQLAllocEnv ();
35483 rm -f conftest.
$ac_objext conftest
$ac_exeext
35484 if { (ac_try
="$ac_link"
35485 case "(($ac_try" in
35486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35487 *) ac_try_echo=$ac_try;;
35489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35490 (eval "$ac_link") 2>conftest.er1
35492 grep -v '^ *+' conftest.er1 >conftest.err
35494 cat conftest.err >&5
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); } && {
35497 test -z "$ac_c_werror_flag" ||
35498 test ! -s conftest.err
35499 } && test -s conftest$ac_exeext &&
35500 $as_test_x conftest$ac_exeext; then
35501 ac_cv_lib_iodbc_SQLAllocEnv=yes
35503 echo "$as_me: failed program was:" >&5
35504 sed 's/^/| /' conftest.$ac_ext >&5
35506 ac_cv_lib_iodbc_SQLAllocEnv=no
35509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35510 conftest$ac_exeext conftest.$ac_ext
35511 LIBS=$ac_check_lib_save_LIBS
35513 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35514 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35515 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35516 ODBC_LINK=" -liodbc"
35519 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35520 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35521 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35522 echo $ECHO_N "(cached) $ECHO_C" >&6
35524 ac_check_lib_save_LIBS=$LIBS
35525 LIBS="-lunixodbc $LIBS"
35526 cat >conftest.$ac_ext <<_ACEOF
35529 cat confdefs.h >>conftest.$ac_ext
35530 cat >>conftest.$ac_ext <<_ACEOF
35531 /* end confdefs.h. */
35533 /* Override any GCC internal prototype to avoid an error.
35534 Use char because int might match the return type of a GCC
35535 builtin and then its argument prototype would still apply. */
35539 char SQLAllocEnv ();
35543 return SQLAllocEnv ();
35548 rm -f conftest.$ac_objext conftest$ac_exeext
35549 if { (ac_try="$ac_link"
35550 case "(($ac_try" in
35551 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35552 *) ac_try_echo
=$ac_try;;
35554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35555 (eval "$ac_link") 2>conftest.er1
35557 grep -v '^ *+' conftest.er1
>conftest.err
35559 cat conftest.err
>&5
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); } && {
35562 test -z "$ac_c_werror_flag" ||
35563 test ! -s conftest.err
35564 } && test -s conftest
$ac_exeext &&
35565 $as_test_x conftest
$ac_exeext; then
35566 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
35568 echo "$as_me: failed program was:" >&5
35569 sed 's/^/| /' conftest.
$ac_ext >&5
35571 ac_cv_lib_unixodbc_SQLAllocEnv
=no
35574 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35575 conftest
$ac_exeext conftest.
$ac_ext
35576 LIBS
=$ac_check_lib_save_LIBS
35578 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35579 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35580 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35581 ODBC_LINK
=" -lunixodbc"
35584 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35585 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35586 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35587 echo $ECHO_N "(cached) $ECHO_C" >&6
35589 ac_check_lib_save_LIBS
=$LIBS
35590 LIBS
="-lodbc $LIBS"
35591 cat >conftest.
$ac_ext <<_ACEOF
35594 cat confdefs.h
>>conftest.
$ac_ext
35595 cat >>conftest.
$ac_ext <<_ACEOF
35596 /* end confdefs.h. */
35598 /* Override any GCC internal prototype to avoid an error.
35599 Use char because int might match the return type of a GCC
35600 builtin and then its argument prototype would still apply. */
35604 char SQLAllocEnv ();
35608 return SQLAllocEnv ();
35613 rm -f conftest.
$ac_objext conftest
$ac_exeext
35614 if { (ac_try
="$ac_link"
35615 case "(($ac_try" in
35616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_link") 2>conftest.er1
35622 grep -v '^ *+' conftest.er1 >conftest.err
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } && {
35627 test -z "$ac_c_werror_flag" ||
35628 test ! -s conftest.err
35629 } && test -s conftest$ac_exeext &&
35630 $as_test_x conftest$ac_exeext; then
35631 ac_cv_lib_odbc_SQLAllocEnv=yes
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35636 ac_cv_lib_odbc_SQLAllocEnv=no
35639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35640 conftest$ac_exeext conftest.$ac_ext
35641 LIBS=$ac_check_lib_save_LIBS
35643 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35644 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35645 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35646 ODBC_LINK=" -lodbc"
35656 if test "x$ODBC_LINK" = "x" ; then
35657 if test "$wxUSE_ODBC" = "sys" ; then
35658 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35659 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35660 { (exit 1); exit 1; }; }
35662 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35663 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35671 if test "$wxUSE_ODBC" = "builtin" ; then
35672 cat >>confdefs.h <<\_ACEOF
35673 #define wxUSE_BUILTIN_IODBC 1
35679 if test "$wxUSE_ODBC" != "no" ; then
35680 cat >>confdefs.h <<\_ACEOF
35681 #define wxUSE_ODBC 1
35684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35686 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35690 if test "$wxUSE_DISPLAY" = "yes"; then
35691 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35692 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35693 echo $ECHO_N "checking for Xinerama... $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/libXinerama.$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 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35721 LDFLAGS="$LDFLAGS $ac_path_to_link"
35723 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35724 { echo "$as_me:$LINENO: result: yes" >&5
35725 echo "${ECHO_T}yes" >&6; }
35727 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35728 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35731 for ac_dir in $SEARCH_LIB;
35733 for ac_extension in a so sl dylib dll.a; do
35734 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35735 ac_find_libraries=$ac_dir
35741 if test "$ac_find_libraries" != "" ; then
35742 { echo "$as_me:$LINENO: result: yes" >&5
35743 echo "${ECHO_T}yes" >&6; }
35745 for ac_header in X11/extensions/xf86vmode.h
35747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35748 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35750 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35751 echo $ECHO_N "(cached) $ECHO_C" >&6
35753 cat >conftest.$ac_ext <<_ACEOF
35756 cat confdefs.h >>conftest.$ac_ext
35757 cat >>conftest.$ac_ext <<_ACEOF
35758 /* end confdefs.h. */
35760 #if HAVE_X11_XLIB_H
35761 #include <X11/Xlib.h>
35765 #include <$ac_header>
35767 rm -f conftest.$ac_objext
35768 if { (ac_try="$ac_compile"
35769 case "(($ac_try" in
35770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35771 *) ac_try_echo
=$ac_try;;
35773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35774 (eval "$ac_compile") 2>conftest.er1
35776 grep -v '^ *+' conftest.er1
>conftest.err
35778 cat conftest.err
>&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } && {
35781 test -z "$ac_c_werror_flag" ||
35782 test ! -s conftest.err
35783 } && test -s conftest.
$ac_objext; then
35784 eval "$as_ac_Header=yes"
35786 echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.
$ac_ext >&5
35789 eval "$as_ac_Header=no"
35792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35794 ac_res
=`eval echo '${'$as_ac_Header'}'`
35795 { echo "$as_me:$LINENO: result: $ac_res" >&5
35796 echo "${ECHO_T}$ac_res" >&6; }
35797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35798 cat >>confdefs.h
<<_ACEOF
35799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35802 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35809 { echo "$as_me:$LINENO: result: no" >&5
35810 echo "${ECHO_T}no" >&6; }
35814 { echo "$as_me:$LINENO: result: no" >&5
35815 echo "${ECHO_T}no" >&6; }
35816 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35817 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35820 elif test "$wxUSE_MSW" = 1; then
35821 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35822 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35823 if test "${ac_cv_header_ddraw_h+set}" = set; then
35824 echo $ECHO_N "(cached) $ECHO_C" >&6
35826 cat >conftest.
$ac_ext <<_ACEOF
35829 cat confdefs.h
>>conftest.
$ac_ext
35830 cat >>conftest.
$ac_ext <<_ACEOF
35831 /* end confdefs.h. */
35832 #include <windows.h>
35836 rm -f conftest.
$ac_objext
35837 if { (ac_try
="$ac_compile"
35838 case "(($ac_try" in
35839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35840 *) ac_try_echo=$ac_try;;
35842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35843 (eval "$ac_compile") 2>conftest.er1
35845 grep -v '^ *+' conftest.er1 >conftest.err
35847 cat conftest.err >&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); } && {
35850 test -z "$ac_c_werror_flag" ||
35851 test ! -s conftest.err
35852 } && test -s conftest.$ac_objext; then
35853 ac_cv_header_ddraw_h=yes
35855 echo "$as_me: failed program was:" >&5
35856 sed 's/^/| /' conftest.$ac_ext >&5
35858 ac_cv_header_ddraw_h=no
35861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35863 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35864 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35870 if test "$wxUSE_DETECT_SM" = "yes"; then
35871 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35872 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35873 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35876 for ac_dir in $SEARCH_LIB;
35878 for ac_extension in a so sl dylib dll.a; do
35879 if test -f "$ac_dir/libSM.$ac_extension"; then
35880 ac_find_libraries=$ac_dir
35886 if test "$ac_find_libraries" != "" ; then
35888 if test "$ac_find_libraries" = "default location"; then
35891 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35893 if test $result = 0; then
35896 ac_path_to_link=" -L$ac_find_libraries"
35900 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35901 LDFLAGS="$LDFLAGS $ac_path_to_link"
35903 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35904 { echo "$as_me:$LINENO: result: yes" >&5
35905 echo "${ECHO_T}yes" >&6; }
35907 { echo "$as_me:$LINENO: result: no" >&5
35908 echo "${ECHO_T}no" >&6; }
35909 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35910 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35911 wxUSE_DETECT_SM="no"
35914 wxUSE_DETECT_SM="no"
35921 if test "$wxUSE_OPENGL" = "yes"; then
35922 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35923 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35924 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35926 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35927 OPENGL_LIBS="-framework OpenGL -framework AGL"
35928 elif test "$wxUSE_MSW" = 1; then
35929 OPENGL_LIBS="-lopengl32 -lglu32"
35931 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35932 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35935 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35937 if test -f "$ac_dir/GL/gl.h"; then
35938 ac_find_includes=$ac_dir
35943 if test "$ac_find_includes" != "" ; then
35944 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35945 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35947 if test "x$ac_find_includes" = "x/usr/include"; then
35948 ac_path_to_include=""
35950 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35952 if test $result = 0; then
35953 ac_path_to_include=""
35955 ac_path_to_include=" -I$ac_find_includes"
35959 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35961 { echo "$as_me:$LINENO: result: not found" >&5
35962 echo "${ECHO_T}not found" >&6; }
35965 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35966 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35967 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35968 echo $ECHO_N "(cached) $ECHO_C" >&6
35970 cat >conftest.$ac_ext <<_ACEOF
35973 cat confdefs.h >>conftest.$ac_ext
35974 cat >>conftest.$ac_ext <<_ACEOF
35975 /* end confdefs.h. */
35980 rm -f conftest.$ac_objext
35981 if { (ac_try="$ac_compile"
35982 case "(($ac_try" in
35983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35984 *) ac_try_echo
=$ac_try;;
35986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35987 (eval "$ac_compile") 2>conftest.er1
35989 grep -v '^ *+' conftest.er1
>conftest.err
35991 cat conftest.err
>&5
35992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35993 (exit $ac_status); } && {
35994 test -z "$ac_c_werror_flag" ||
35995 test ! -s conftest.err
35996 } && test -s conftest.
$ac_objext; then
35997 ac_cv_header_GL_gl_h
=yes
35999 echo "$as_me: failed program was:" >&5
36000 sed 's/^/| /' conftest.
$ac_ext >&5
36002 ac_cv_header_GL_gl_h
=no
36005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36007 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36008 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36009 if test $ac_cv_header_GL_gl_h = yes; then
36011 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36012 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36013 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36014 echo $ECHO_N "(cached) $ECHO_C" >&6
36016 cat >conftest.
$ac_ext <<_ACEOF
36019 cat confdefs.h
>>conftest.
$ac_ext
36020 cat >>conftest.
$ac_ext <<_ACEOF
36021 /* end confdefs.h. */
36024 #include <GL/glu.h>
36026 rm -f conftest.
$ac_objext
36027 if { (ac_try
="$ac_compile"
36028 case "(($ac_try" in
36029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36030 *) ac_try_echo=$ac_try;;
36032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36033 (eval "$ac_compile") 2>conftest.er1
36035 grep -v '^ *+' conftest.er1 >conftest.err
36037 cat conftest.err >&5
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); } && {
36040 test -z "$ac_c_werror_flag" ||
36041 test ! -s conftest.err
36042 } && test -s conftest.$ac_objext; then
36043 ac_cv_header_GL_glu_h=yes
36045 echo "$as_me: failed program was:" >&5
36046 sed 's/^/| /' conftest.$ac_ext >&5
36048 ac_cv_header_GL_glu_h=no
36051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36053 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36054 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36055 if test $ac_cv_header_GL_glu_h = yes; then
36059 { echo "$as_me:$LINENO: checking for -lGL" >&5
36060 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
36063 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36065 for ac_extension in a so sl dylib dll.a; do
36066 if test -f "$ac_dir/libGL.$ac_extension"; then
36067 ac_find_libraries=$ac_dir
36073 if test "$ac_find_libraries" != "" ; then
36074 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36075 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36078 if test "$ac_find_libraries" = "default location"; then
36081 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36083 if test $result = 0; then
36086 ac_path_to_link=" -L$ac_find_libraries"
36090 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36091 LDFLAGS_GL="$ac_path_to_link"
36094 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36095 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36098 for ac_dir in $SEARCH_LIB;
36100 for ac_extension in a so sl dylib dll.a; do
36101 if test -f "$ac_dir/libGLU.$ac_extension"; then
36102 ac_find_libraries=$ac_dir
36108 if test "$ac_find_libraries" != "" ; then
36110 if test "$ac_find_libraries" = "default location"; then
36113 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36115 if test $result = 0; then
36118 ac_path_to_link=" -L$ac_find_libraries"
36122 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36123 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36124 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36128 OPENGL_LIBS="-lGL -lGLU"
36129 { echo "$as_me:$LINENO: result: yes" >&5
36130 echo "${ECHO_T}yes" >&6; }
36132 { echo "$as_me:$LINENO: result: no" >&5
36133 echo "${ECHO_T}no" >&6; }
36136 { echo "$as_me:$LINENO: result: no" >&5
36137 echo "${ECHO_T}no" >&6; }
36140 if test "$found_gl" != 1; then
36141 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36142 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36145 for ac_dir in $SEARCH_LIB;
36147 for ac_extension in a so sl dylib dll.a; do
36148 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36149 ac_find_libraries=$ac_dir
36155 if test "$ac_find_libraries" != "" ; then
36157 if test "$ac_find_libraries" = "default location"; then
36160 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36162 if test $result = 0; then
36165 ac_path_to_link=" -L$ac_find_libraries"
36169 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36170 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36171 { echo "$as_me:$LINENO: result: yes" >&5
36172 echo "${ECHO_T}yes" >&6; }
36174 { echo "$as_me:$LINENO: result: no" >&5
36175 echo "${ECHO_T}no" >&6; }
36187 if test "x$OPENGL_LIBS" = "x"; then
36188 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36189 echo "$as_me: error: OpenGL libraries not available" >&2;}
36190 { (exit 1); exit 1; }; }
36194 if test "$wxUSE_OPENGL" = "yes"; then
36196 cat >>confdefs.h <<\_ACEOF
36197 #define wxUSE_OPENGL 1
36200 cat >>confdefs.h <<\_ACEOF
36201 #define wxUSE_GLCANVAS 1
36204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36209 if test -n "$TOOLKIT" ; then
36210 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36215 if test "$wxUSE_SHARED" = "yes"; then
36219 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36220 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36225 if test "$wxUSE_SHARED" = "yes"; then
36229 *-*-cygwin* | *-*-mingw* )
36230 wx_cv_version_script=no
36234 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36235 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36236 if test "${wx_cv_version_script+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36240 echo "VER_1 { *; };" >conftest.sym
36241 echo "int main() { return 0; }" >conftest.cpp
36244 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36245 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36247 (eval $ac_try) 2>&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); }; } ; then
36251 if test -s conftest.stderr ; then
36252 wx_cv_version_script=no
36254 wx_cv_version_script=yes
36257 wx_cv_version_script=no
36260 if test $wx_cv_version_script = yes
36262 echo "struct B { virtual ~B() { } }; \
36263 struct D : public B { }; \
36264 void F() { D d; }" > conftest.cpp
36267 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36268 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36270 (eval $ac_try) 2>&5
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); }; } &&
36275 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36276 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36278 (eval $ac_try) 2>&5
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); }; }
36284 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36285 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36287 (eval $ac_try) 2>&5
36289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36290 (exit $ac_status); }; }
36292 wx_cv_version_script=yes
36294 wx_cv_version_script=no
36299 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36300 rm -f conftest1.output conftest2.output conftest3.output
36303 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36304 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36306 if test $wx_cv_version_script = yes ; then
36307 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36313 if test "$wxUSE_VISIBILITY" != "no"; then
36316 if test -n "$GCC"; then
36317 CFLAGS_VISIBILITY="-fvisibility=hidden"
36318 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36319 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36320 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36321 if test "${wx_cv_cc_visibility+set}" = set; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36325 wx_save_CXXFLAGS="$CXXFLAGS"
36326 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36328 ac_cpp='$CXXCPP $CPPFLAGS'
36329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36333 cat >conftest.$ac_ext <<_ACEOF
36336 cat confdefs.h >>conftest.$ac_ext
36337 cat >>conftest.$ac_ext <<_ACEOF
36338 /* end confdefs.h. */
36340 /* we need gcc >= 4.0, older versions with visibility support
36341 didn't have class visibility: */
36342 #if defined(__GNUC__) && __GNUC__ < 4
36343 error this gcc is too old;
36346 /* visibility only makes sense for ELF shared libs: */
36347 #if !defined(__ELF__) && !defined(__APPLE__)
36348 error this platform has no visibility;
36351 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36352 extern __attribute__((__visibility__("default"))) int exportedvar;
36353 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36354 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36355 class __attribute__((__visibility__("default"))) Foo {
36367 rm -f conftest.$ac_objext
36368 if { (ac_try="$ac_compile"
36369 case "(($ac_try" in
36370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36371 *) ac_try_echo
=$ac_try;;
36373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36374 (eval "$ac_compile") 2>conftest.er1
36376 grep -v '^ *+' conftest.er1
>conftest.err
36378 cat conftest.err
>&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); } && {
36381 test -z "$ac_cxx_werror_flag" ||
36382 test ! -s conftest.err
36383 } && test -s conftest.
$ac_objext; then
36384 wx_cv_cc_visibility
=yes
36386 echo "$as_me: failed program was:" >&5
36387 sed 's/^/| /' conftest.
$ac_ext >&5
36389 wx_cv_cc_visibility
=no
36392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36394 ac_cpp
='$CPP $CPPFLAGS'
36395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36399 CXXFLAGS
="$wx_save_CXXFLAGS"
36402 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36403 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36404 if test $wx_cv_cc_visibility = yes; then
36405 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36406 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36407 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36408 echo $ECHO_N "(cached) $ECHO_C" >&6
36411 wx_save_CXXFLAGS
="$CXXFLAGS"
36412 wx_save_LDFLAGS
="$LDFLAGS"
36413 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36414 LDFLAGS
="$LDFLAGS -shared -fPIC"
36416 ac_cpp
='$CXXCPP $CPPFLAGS'
36417 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36421 cat >conftest.
$ac_ext <<_ACEOF
36424 cat confdefs.h
>>conftest.
$ac_ext
36425 cat >>conftest.
$ac_ext <<_ACEOF
36426 /* end confdefs.h. */
36434 std::string s("hello");
36441 rm -f conftest.
$ac_objext conftest
$ac_exeext
36442 if { (ac_try
="$ac_link"
36443 case "(($ac_try" in
36444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36445 *) ac_try_echo=$ac_try;;
36447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36448 (eval "$ac_link") 2>conftest.er1
36450 grep -v '^ *+' conftest.er1 >conftest.err
36452 cat conftest.err >&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); } && {
36455 test -z "$ac_cxx_werror_flag" ||
36456 test ! -s conftest.err
36457 } && test -s conftest$ac_exeext &&
36458 $as_test_x conftest$ac_exeext; then
36459 wx_cv_cc_broken_libstdcxx_visibility=no
36461 echo "$as_me: failed program was:" >&5
36462 sed 's/^/| /' conftest.$ac_ext >&5
36464 wx_cv_cc_broken_libstdcxx_visibility=yes
36467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36468 conftest$ac_exeext 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
36475 CXXFLAGS="$wx_save_CXXFLAGS"
36476 LDFLAGS="$wx_save_LDFLAGS"
36479 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36480 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36482 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36483 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36484 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36485 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36486 echo $ECHO_N "(cached) $ECHO_C" >&6
36490 ac_cpp='$CXXCPP $CPPFLAGS'
36491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36495 cat >conftest.$ac_ext <<_ACEOF
36498 cat confdefs.h >>conftest.$ac_ext
36499 cat >>conftest.$ac_ext <<_ACEOF
36500 /* end confdefs.h. */
36502 #pragma GCC visibility push(default)
36504 #pragma GCC visibility pop
36510 std::string s("hello");
36517 rm -f conftest.$ac_objext conftest$ac_exeext
36518 if { (ac_try="$ac_link"
36519 case "(($ac_try" in
36520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36521 *) ac_try_echo
=$ac_try;;
36523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36524 (eval "$ac_link") 2>conftest.er1
36526 grep -v '^ *+' conftest.er1
>conftest.err
36528 cat conftest.err
>&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); } && {
36531 test -z "$ac_cxx_werror_flag" ||
36532 test ! -s conftest.err
36533 } && test -s conftest
$ac_exeext &&
36534 $as_test_x conftest
$ac_exeext; then
36535 wx_cv_cc_visibility_workaround
=no
36537 echo "$as_me: failed program was:" >&5
36538 sed 's/^/| /' conftest.
$ac_ext >&5
36540 wx_cv_cc_visibility_workaround
=yes
36543 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36544 conftest
$ac_exeext conftest.
$ac_ext
36546 ac_cpp
='$CPP $CPPFLAGS'
36547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36554 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36555 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36557 if test $wx_cv_cc_visibility_workaround = no
; then
36558 wx_cv_cc_visibility
=no
36563 if test $wx_cv_cc_visibility = yes; then
36564 cat >>confdefs.h
<<\_ACEOF
36565 #define HAVE_VISIBILITY 1
36568 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36569 cat >>confdefs.h
<<\_ACEOF
36570 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36575 CFLAGS_VISIBILITY
=""
36576 CXXFLAGS_VISIBILITY
=""
36584 if test "x$SUNCXX" = xyes
; then
36585 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
36586 WXCONFIG_RPATH
="-R\$libdir"
36589 *-*-linux* | *-*-gnu* )
36590 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36591 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36596 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
36598 saveLdflags
="$LDFLAGS"
36599 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
36600 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36601 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36602 cat >conftest.
$ac_ext <<_ACEOF
36605 cat confdefs.h
>>conftest.
$ac_ext
36606 cat >>conftest.
$ac_ext <<_ACEOF
36607 /* end confdefs.h. */
36617 rm -f conftest.
$ac_objext conftest
$ac_exeext
36618 if { (ac_try
="$ac_link"
36619 case "(($ac_try" in
36620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36621 *) ac_try_echo=$ac_try;;
36623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36624 (eval "$ac_link") 2>conftest.er1
36626 grep -v '^ *+' conftest.er1 >conftest.err
36628 cat conftest.err >&5
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); } && {
36631 test -z "$ac_c_werror_flag" ||
36632 test ! -s conftest.err
36633 } && test -s conftest$ac_exeext &&
36634 $as_test_x conftest$ac_exeext; then
36636 { echo "$as_me:$LINENO: result: yes" >&5
36637 echo "${ECHO_T}yes" >&6; }
36638 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36639 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36642 echo "$as_me: failed program was:" >&5
36643 sed 's/^/| /' conftest.$ac_ext >&5
36646 { echo "$as_me:$LINENO: result: no" >&5
36647 echo "${ECHO_T}no" >&6; }
36648 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36649 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36650 LDFLAGS="$saveLdflags -Wl,-R,/"
36651 cat >conftest.$ac_ext <<_ACEOF
36654 cat confdefs.h >>conftest.$ac_ext
36655 cat >>conftest.$ac_ext <<_ACEOF
36656 /* end confdefs.h. */
36666 rm -f conftest.$ac_objext conftest$ac_exeext
36667 if { (ac_try="$ac_link"
36668 case "(($ac_try" in
36669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36670 *) ac_try_echo
=$ac_try;;
36672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36673 (eval "$ac_link") 2>conftest.er1
36675 grep -v '^ *+' conftest.er1
>conftest.err
36677 cat conftest.err
>&5
36678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36679 (exit $ac_status); } && {
36680 test -z "$ac_c_werror_flag" ||
36681 test ! -s conftest.err
36682 } && test -s conftest
$ac_exeext &&
36683 $as_test_x conftest
$ac_exeext; then
36685 { echo "$as_me:$LINENO: result: yes" >&5
36686 echo "${ECHO_T}yes" >&6; }
36687 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
36688 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
36691 echo "$as_me: failed program was:" >&5
36692 sed 's/^/| /' conftest.
$ac_ext >&5
36695 { echo "$as_me:$LINENO: result: no" >&5
36696 echo "${ECHO_T}no" >&6; }
36700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36701 conftest
$ac_exeext conftest.
$ac_ext
36705 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36706 conftest
$ac_exeext conftest.
$ac_ext
36707 LDFLAGS
="$saveLdflags"
36711 install_name_tool
=`which install_name_tool`
36712 if test "$install_name_tool" -a -x "$install_name_tool"; then
36713 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36714 cat <<EOF >change-install-names
36716 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36717 inst_cmd="install_name_tool "
36718 for i in \${libnames} ; do
36719 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36723 chmod +x change
-install-names
36727 *-*-cygwin* | *-*-mingw32* )
36728 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36732 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
36733 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
36739 if test $wxUSE_RPATH = "no"; then
36740 SAMPLES_RPATH_FLAG
=''
36741 SAMPLES_RPATH_POSTLINK
=''
36749 config_linkage_component
="-static"
36756 lib_unicode_suffix
=
36758 if test "$wxUSE_UNICODE" = "yes"; then
36759 lib_unicode_suffix
=u
36760 WX_CHARTYPE
="unicode"
36765 WX_DEBUGTYPE
="release"
36767 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36769 WX_DEBUGTYPE
="debug"
36773 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
36774 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
36777 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36781 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36783 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36785 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36787 if test "$cross_compiling" = "yes"; then
36788 HOST_SUFFIX
="-$host_alias"
36789 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
36790 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
36793 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36794 if test "${TOOLKIT_DIR}" = "os2"; then
36795 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36797 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36802 if test "$wxUSE_COCOA" = 1; then
36805 ac_cpp
='$CPP $CPPFLAGS'
36806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36812 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36813 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36814 cat >conftest.
$ac_ext <<_ACEOF
36817 cat confdefs.h
>>conftest.
$ac_ext
36818 cat >>conftest.
$ac_ext <<_ACEOF
36819 /* end confdefs.h. */
36820 #include <AppKit/NSEvent.h>
36821 #include <CoreFoundation/CoreFoundation.h>
36831 rm -f conftest.
$ac_objext
36832 if { (ac_try
="$ac_compile"
36833 case "(($ac_try" in
36834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36835 *) ac_try_echo=$ac_try;;
36837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36838 (eval "$ac_compile") 2>conftest.er1
36840 grep -v '^ *+' conftest.er1 >conftest.err
36842 cat conftest.err >&5
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); } && {
36845 test -z "$ac_c_werror_flag" ||
36846 test ! -s conftest.err
36847 } && test -s conftest.$ac_objext; then
36848 { echo "$as_me:$LINENO: result: no" >&5
36849 echo "${ECHO_T}no" >&6; }
36851 echo "$as_me: failed program was:" >&5
36852 sed 's/^/| /' conftest.$ac_ext >&5
36854 { echo "$as_me:$LINENO: result: yes" >&5
36855 echo "${ECHO_T}yes" >&6; }
36856 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36857 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36858 cat >conftest.$ac_ext <<_ACEOF
36861 cat confdefs.h >>conftest.$ac_ext
36862 cat >>conftest.$ac_ext <<_ACEOF
36863 /* end confdefs.h. */
36864 #define __Point__ 1
36865 #include <AppKit/NSEvent.h>
36866 #include <CoreFoundation/CoreFoundation.h>
36876 rm -f conftest.$ac_objext
36877 if { (ac_try="$ac_compile"
36878 case "(($ac_try" in
36879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36880 *) ac_try_echo
=$ac_try;;
36882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36883 (eval "$ac_compile") 2>conftest.er1
36885 grep -v '^ *+' conftest.er1
>conftest.err
36887 cat conftest.err
>&5
36888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889 (exit $ac_status); } && {
36890 test -z "$ac_c_werror_flag" ||
36891 test ! -s conftest.err
36892 } && test -s conftest.
$ac_objext; then
36893 { echo "$as_me:$LINENO: result: yes" >&5
36894 echo "${ECHO_T}yes" >&6; }
36895 cat >>confdefs.h
<<\_ACEOF
36896 #define __Point__ 1
36901 echo "$as_me: failed program was:" >&5
36902 sed 's/^/| /' conftest.
$ac_ext >&5
36904 { { echo "$as_me:$LINENO: error: no
36905 See \`config.log' for more details." >&5
36906 echo "$as_me: error: no
36907 See \`config.log' for more details." >&2;}
36908 { (exit 1); exit 1; }; }
36912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36918 ac_cpp
='$CPP $CPPFLAGS'
36919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36926 { echo "$as_me:$LINENO: checking for mode_t" >&5
36927 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36928 if test "${ac_cv_type_mode_t+set}" = set; then
36929 echo $ECHO_N "(cached) $ECHO_C" >&6
36931 cat >conftest.
$ac_ext <<_ACEOF
36934 cat confdefs.h
>>conftest.
$ac_ext
36935 cat >>conftest.
$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937 $ac_includes_default
36938 typedef mode_t ac__type_new_;
36942 if ((ac__type_new_ *) 0)
36944 if (sizeof (ac__type_new_))
36950 rm -f conftest.
$ac_objext
36951 if { (ac_try
="$ac_compile"
36952 case "(($ac_try" in
36953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36954 *) ac_try_echo=$ac_try;;
36956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36957 (eval "$ac_compile") 2>conftest.er1
36959 grep -v '^ *+' conftest.er1 >conftest.err
36961 cat conftest.err >&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); } && {
36964 test -z "$ac_c_werror_flag" ||
36965 test ! -s conftest.err
36966 } && test -s conftest.$ac_objext; then
36967 ac_cv_type_mode_t=yes
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.$ac_ext >&5
36972 ac_cv_type_mode_t=no
36975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36977 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36978 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36979 if test $ac_cv_type_mode_t = yes; then
36983 cat >>confdefs.h <<_ACEOF
36989 { echo "$as_me:$LINENO: checking for off_t" >&5
36990 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36991 if test "${ac_cv_type_off_t+set}" = set; then
36992 echo $ECHO_N "(cached) $ECHO_C" >&6
36994 cat >conftest.$ac_ext <<_ACEOF
36997 cat confdefs.h >>conftest.$ac_ext
36998 cat >>conftest.$ac_ext <<_ACEOF
36999 /* end confdefs.h. */
37000 $ac_includes_default
37001 typedef off_t ac__type_new_;
37005 if ((ac__type_new_ *) 0)
37007 if (sizeof (ac__type_new_))
37013 rm -f conftest.$ac_objext
37014 if { (ac_try="$ac_compile"
37015 case "(($ac_try" in
37016 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37017 *) ac_try_echo
=$ac_try;;
37019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37020 (eval "$ac_compile") 2>conftest.er1
37022 grep -v '^ *+' conftest.er1
>conftest.err
37024 cat conftest.err
>&5
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); } && {
37027 test -z "$ac_c_werror_flag" ||
37028 test ! -s conftest.err
37029 } && test -s conftest.
$ac_objext; then
37030 ac_cv_type_off_t
=yes
37032 echo "$as_me: failed program was:" >&5
37033 sed 's/^/| /' conftest.
$ac_ext >&5
37035 ac_cv_type_off_t
=no
37038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37040 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
37041 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
37042 if test $ac_cv_type_off_t = yes; then
37046 cat >>confdefs.h
<<_ACEOF
37047 #define off_t long int
37052 { echo "$as_me:$LINENO: checking for pid_t" >&5
37053 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
37054 if test "${ac_cv_type_pid_t+set}" = set; then
37055 echo $ECHO_N "(cached) $ECHO_C" >&6
37057 cat >conftest.
$ac_ext <<_ACEOF
37060 cat confdefs.h
>>conftest.
$ac_ext
37061 cat >>conftest.
$ac_ext <<_ACEOF
37062 /* end confdefs.h. */
37063 $ac_includes_default
37064 typedef pid_t ac__type_new_;
37068 if ((ac__type_new_ *) 0)
37070 if (sizeof (ac__type_new_))
37076 rm -f conftest.
$ac_objext
37077 if { (ac_try
="$ac_compile"
37078 case "(($ac_try" in
37079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37080 *) ac_try_echo=$ac_try;;
37082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37083 (eval "$ac_compile") 2>conftest.er1
37085 grep -v '^ *+' conftest.er1 >conftest.err
37087 cat conftest.err >&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } && {
37090 test -z "$ac_c_werror_flag" ||
37091 test ! -s conftest.err
37092 } && test -s conftest.$ac_objext; then
37093 ac_cv_type_pid_t=yes
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37098 ac_cv_type_pid_t=no
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37103 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
37104 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
37105 if test $ac_cv_type_pid_t = yes; then
37109 cat >>confdefs.h <<_ACEOF
37115 { echo "$as_me:$LINENO: checking for size_t" >&5
37116 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
37117 if test "${ac_cv_type_size_t+set}" = set; then
37118 echo $ECHO_N "(cached) $ECHO_C" >&6
37120 cat >conftest.$ac_ext <<_ACEOF
37123 cat confdefs.h >>conftest.$ac_ext
37124 cat >>conftest.$ac_ext <<_ACEOF
37125 /* end confdefs.h. */
37126 $ac_includes_default
37127 typedef size_t ac__type_new_;
37131 if ((ac__type_new_ *) 0)
37133 if (sizeof (ac__type_new_))
37139 rm -f conftest.$ac_objext
37140 if { (ac_try="$ac_compile"
37141 case "(($ac_try" in
37142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37143 *) ac_try_echo
=$ac_try;;
37145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37146 (eval "$ac_compile") 2>conftest.er1
37148 grep -v '^ *+' conftest.er1
>conftest.err
37150 cat conftest.err
>&5
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); } && {
37153 test -z "$ac_c_werror_flag" ||
37154 test ! -s conftest.err
37155 } && test -s conftest.
$ac_objext; then
37156 ac_cv_type_size_t
=yes
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.
$ac_ext >&5
37161 ac_cv_type_size_t
=no
37164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37166 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
37167 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37168 if test $ac_cv_type_size_t = yes; then
37172 cat >>confdefs.h
<<_ACEOF
37173 #define size_t unsigned int
37178 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
37179 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
37180 if test "${ac_cv_type_uid_t+set}" = set; then
37181 echo $ECHO_N "(cached) $ECHO_C" >&6
37183 cat >conftest.
$ac_ext <<_ACEOF
37186 cat confdefs.h
>>conftest.
$ac_ext
37187 cat >>conftest.
$ac_ext <<_ACEOF
37188 /* end confdefs.h. */
37189 #include <sys/types.h>
37192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37193 $EGREP "uid_t" >/dev
/null
2>&1; then
37194 ac_cv_type_uid_t
=yes
37196 ac_cv_type_uid_t
=no
37201 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37202 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37203 if test $ac_cv_type_uid_t = no
; then
37205 cat >>confdefs.h
<<\_ACEOF
37210 cat >>confdefs.h
<<\_ACEOF
37217 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37218 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37219 if test "${ac_cv_type_ssize_t+set}" = set; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37222 cat >conftest.
$ac_ext <<_ACEOF
37225 cat confdefs.h
>>conftest.
$ac_ext
37226 cat >>conftest.
$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 $ac_includes_default
37229 typedef ssize_t ac__type_new_;
37233 if ((ac__type_new_ *) 0)
37235 if (sizeof (ac__type_new_))
37241 rm -f conftest.
$ac_objext
37242 if { (ac_try
="$ac_compile"
37243 case "(($ac_try" in
37244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37245 *) ac_try_echo=$ac_try;;
37247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37248 (eval "$ac_compile") 2>conftest.er1
37250 grep -v '^ *+' conftest.er1 >conftest.err
37252 cat conftest.err >&5
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); } && {
37255 test -z "$ac_c_werror_flag" ||
37256 test ! -s conftest.err
37257 } && test -s conftest.$ac_objext; then
37258 ac_cv_type_ssize_t=yes
37260 echo "$as_me: failed program was:" >&5
37261 sed 's/^/| /' conftest.$ac_ext >&5
37263 ac_cv_type_ssize_t=no
37266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37268 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37269 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37270 if test $ac_cv_type_ssize_t = yes; then
37272 cat >>confdefs.h <<_ACEOF
37273 #define HAVE_SSIZE_T 1
37281 ac_cpp='$CXXCPP $CPPFLAGS'
37282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37285 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37286 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37287 if test "${wx_cv_size_t_is_uint+set}" = set; then
37288 echo $ECHO_N "(cached) $ECHO_C" >&6
37291 cat >conftest.$ac_ext <<_ACEOF
37294 cat confdefs.h >>conftest.$ac_ext
37295 cat >>conftest.$ac_ext <<_ACEOF
37296 /* end confdefs.h. */
37297 #include <stddef.h>
37304 struct Foo { void foo(size_t); void foo(unsigned int); };
37312 rm -f conftest.$ac_objext
37313 if { (ac_try="$ac_compile"
37314 case "(($ac_try" in
37315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37316 *) ac_try_echo
=$ac_try;;
37318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37319 (eval "$ac_compile") 2>conftest.er1
37321 grep -v '^ *+' conftest.er1
>conftest.err
37323 cat conftest.err
>&5
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); } && {
37326 test -z "$ac_cxx_werror_flag" ||
37327 test ! -s conftest.err
37328 } && test -s conftest.
$ac_objext; then
37329 wx_cv_size_t_is_uint
=no
37331 echo "$as_me: failed program was:" >&5
37332 sed 's/^/| /' conftest.
$ac_ext >&5
37334 wx_cv_size_t_is_uint
=yes
37338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37342 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37343 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37345 if test "$wx_cv_size_t_is_uint" = "yes"; then
37346 cat >>confdefs.h
<<\_ACEOF
37347 #define wxSIZE_T_IS_UINT 1
37351 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37352 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37353 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37354 echo $ECHO_N "(cached) $ECHO_C" >&6
37356 cat >conftest.
$ac_ext <<_ACEOF
37359 cat confdefs.h
>>conftest.
$ac_ext
37360 cat >>conftest.
$ac_ext <<_ACEOF
37361 /* end confdefs.h. */
37362 #include <stddef.h>
37369 struct Foo { void foo(size_t); void foo(unsigned long); };
37377 rm -f conftest.
$ac_objext
37378 if { (ac_try
="$ac_compile"
37379 case "(($ac_try" in
37380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37381 *) ac_try_echo=$ac_try;;
37383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37384 (eval "$ac_compile") 2>conftest.er1
37386 grep -v '^ *+' conftest.er1 >conftest.err
37388 cat conftest.err >&5
37389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390 (exit $ac_status); } && {
37391 test -z "$ac_cxx_werror_flag" ||
37392 test ! -s conftest.err
37393 } && test -s conftest.$ac_objext; then
37394 wx_cv_size_t_is_ulong=no
37396 echo "$as_me: failed program was:" >&5
37397 sed 's/^/| /' conftest.$ac_ext >&5
37399 wx_cv_size_t_is_ulong=yes
37403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37406 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37407 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37409 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37410 cat >>confdefs.h <<\_ACEOF
37411 #define wxSIZE_T_IS_ULONG 1
37417 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37418 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37419 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37420 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 cat >conftest.$ac_ext <<_ACEOF
37425 cat confdefs.h >>conftest.$ac_ext
37426 cat >>conftest.$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37435 struct Foo { void foo(wchar_t);
37436 void foo(unsigned short);
37437 void foo(unsigned int);
37438 void foo(unsigned long); };
37446 rm -f conftest.$ac_objext
37447 if { (ac_try="$ac_compile"
37448 case "(($ac_try" in
37449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37450 *) ac_try_echo
=$ac_try;;
37452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37453 (eval "$ac_compile") 2>conftest.er1
37455 grep -v '^ *+' conftest.er1
>conftest.err
37457 cat conftest.err
>&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); } && {
37460 test -z "$ac_cxx_werror_flag" ||
37461 test ! -s conftest.err
37462 } && test -s conftest.
$ac_objext; then
37463 wx_cv_wchar_t_is_separate_type
=yes
37465 echo "$as_me: failed program was:" >&5
37466 sed 's/^/| /' conftest.
$ac_ext >&5
37468 wx_cv_wchar_t_is_separate_type
=no
37472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37475 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37476 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37478 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37479 cat >>confdefs.h
<<\_ACEOF
37480 #define wxWCHAR_T_IS_REAL_TYPE 1
37484 cat >>confdefs.h
<<\_ACEOF
37485 #define wxWCHAR_T_IS_REAL_TYPE 0
37491 ac_cpp
='$CPP $CPPFLAGS'
37492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37497 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37498 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37499 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37500 echo $ECHO_N "(cached) $ECHO_C" >&6
37503 cat >conftest.
$ac_ext <<_ACEOF
37506 cat confdefs.h
>>conftest.
$ac_ext
37507 cat >>conftest.
$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37522 rm -f conftest.
$ac_objext
37523 if { (ac_try
="$ac_compile"
37524 case "(($ac_try" in
37525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37526 *) ac_try_echo=$ac_try;;
37528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37529 (eval "$ac_compile") 2>conftest.er1
37531 grep -v '^ *+' conftest.er1 >conftest.err
37533 cat conftest.err >&5
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); } && {
37536 test -z "$ac_c_werror_flag" ||
37537 test ! -s conftest.err
37538 } && test -s conftest.$ac_objext; then
37540 wx_cv_struct_pw_gecos=yes
37543 echo "$as_me: failed program was:" >&5
37544 sed 's/^/| /' conftest.$ac_ext >&5
37547 wx_cv_struct_pw_gecos=no
37552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37556 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37557 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37559 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37560 cat >>confdefs.h <<\_ACEOF
37561 #define HAVE_PW_GECOS 1
37567 if test "$wxUSE_WCHAR_T" = "yes"; then
37568 cat >>confdefs.h <<\_ACEOF
37569 #define wxUSE_WCHAR_T 1
37576 for ac_func in wcslen
37578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37582 echo $ECHO_N "(cached) $ECHO_C" >&6
37584 cat >conftest.$ac_ext <<_ACEOF
37587 cat confdefs.h >>conftest.$ac_ext
37588 cat >>conftest.$ac_ext <<_ACEOF
37589 /* end confdefs.h. */
37590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37592 #define $ac_func innocuous_$ac_func
37594 /* System header to define __stub macros and hopefully few prototypes,
37595 which can conflict with char $ac_func (); below.
37596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37597 <limits.h> exists even on freestanding compilers. */
37600 # include <limits.h>
37602 # include <assert.h>
37607 /* Override any GCC internal prototype to avoid an error.
37608 Use char because int might match the return type of a GCC
37609 builtin and then its argument prototype would still apply. */
37614 /* The GNU C library defines this for functions which it implements
37615 to always fail with ENOSYS. Some functions are actually named
37616 something starting with __ and the normal name is an alias. */
37617 #if defined __stub_$ac_func || defined __stub___$ac_func
37624 return $ac_func ();
37629 rm -f conftest.$ac_objext conftest$ac_exeext
37630 if { (ac_try="$ac_link"
37631 case "(($ac_try" in
37632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37633 *) ac_try_echo
=$ac_try;;
37635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37636 (eval "$ac_link") 2>conftest.er1
37638 grep -v '^ *+' conftest.er1
>conftest.err
37640 cat conftest.err
>&5
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); } && {
37643 test -z "$ac_c_werror_flag" ||
37644 test ! -s conftest.err
37645 } && test -s conftest
$ac_exeext &&
37646 $as_test_x conftest
$ac_exeext; then
37647 eval "$as_ac_var=yes"
37649 echo "$as_me: failed program was:" >&5
37650 sed 's/^/| /' conftest.
$ac_ext >&5
37652 eval "$as_ac_var=no"
37655 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37656 conftest
$ac_exeext conftest.
$ac_ext
37658 ac_res
=`eval echo '${'$as_ac_var'}'`
37659 { echo "$as_me:$LINENO: result: $ac_res" >&5
37660 echo "${ECHO_T}$ac_res" >&6; }
37661 if test `eval echo '${'$as_ac_var'}'` = yes; then
37662 cat >>confdefs.h
<<_ACEOF
37663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37670 if test "$WCSLEN_FOUND" = 0; then
37671 if test "$TOOLKIT" = "MSW"; then
37672 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37673 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37674 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37675 echo $ECHO_N "(cached) $ECHO_C" >&6
37677 ac_check_lib_save_LIBS
=$LIBS
37678 LIBS
="-lmsvcrt $LIBS"
37679 cat >conftest.
$ac_ext <<_ACEOF
37682 cat confdefs.h
>>conftest.
$ac_ext
37683 cat >>conftest.
$ac_ext <<_ACEOF
37684 /* end confdefs.h. */
37686 /* Override any GCC internal prototype to avoid an error.
37687 Use char because int might match the return type of a GCC
37688 builtin and then its argument prototype would still apply. */
37701 rm -f conftest.
$ac_objext conftest
$ac_exeext
37702 if { (ac_try
="$ac_link"
37703 case "(($ac_try" in
37704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37705 *) ac_try_echo=$ac_try;;
37707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37708 (eval "$ac_link") 2>conftest.er1
37710 grep -v '^ *+' conftest.er1 >conftest.err
37712 cat conftest.err >&5
37713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37714 (exit $ac_status); } && {
37715 test -z "$ac_c_werror_flag" ||
37716 test ! -s conftest.err
37717 } && test -s conftest$ac_exeext &&
37718 $as_test_x conftest$ac_exeext; then
37719 ac_cv_lib_msvcrt_wcslen=yes
37721 echo "$as_me: failed program was:" >&5
37722 sed 's/^/| /' conftest.$ac_ext >&5
37724 ac_cv_lib_msvcrt_wcslen=no
37727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37728 conftest$ac_exeext conftest.$ac_ext
37729 LIBS=$ac_check_lib_save_LIBS
37731 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37732 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37733 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37738 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37739 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37740 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37741 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 ac_check_lib_save_LIBS=$LIBS
37745 cat >conftest.$ac_ext <<_ACEOF
37748 cat confdefs.h >>conftest.$ac_ext
37749 cat >>conftest.$ac_ext <<_ACEOF
37750 /* end confdefs.h. */
37752 /* Override any GCC internal prototype to avoid an error.
37753 Use char because int might match the return type of a GCC
37754 builtin and then its argument prototype would still apply. */
37767 rm -f conftest.$ac_objext conftest$ac_exeext
37768 if { (ac_try="$ac_link"
37769 case "(($ac_try" in
37770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37771 *) ac_try_echo
=$ac_try;;
37773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37774 (eval "$ac_link") 2>conftest.er1
37776 grep -v '^ *+' conftest.er1
>conftest.err
37778 cat conftest.err
>&5
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); } && {
37781 test -z "$ac_c_werror_flag" ||
37782 test ! -s conftest.err
37783 } && test -s conftest
$ac_exeext &&
37784 $as_test_x conftest
$ac_exeext; then
37785 ac_cv_lib_w_wcslen
=yes
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.
$ac_ext >&5
37790 ac_cv_lib_w_wcslen
=no
37793 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37794 conftest
$ac_exeext conftest.
$ac_ext
37795 LIBS
=$ac_check_lib_save_LIBS
37797 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37798 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37799 if test $ac_cv_lib_w_wcslen = yes; then
37809 if test "$WCSLEN_FOUND" = 1; then
37810 cat >>confdefs.h
<<\_ACEOF
37811 #define HAVE_WCSLEN 1
37817 for ac_func
in wcsdup
37819 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37820 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37822 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37823 echo $ECHO_N "(cached) $ECHO_C" >&6
37825 cat >conftest.
$ac_ext <<_ACEOF
37828 cat confdefs.h
>>conftest.
$ac_ext
37829 cat >>conftest.
$ac_ext <<_ACEOF
37830 /* end confdefs.h. */
37831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37833 #define $ac_func innocuous_$ac_func
37835 /* System header to define __stub macros and hopefully few prototypes,
37836 which can conflict with char $ac_func (); below.
37837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37838 <limits.h> exists even on freestanding compilers. */
37841 # include <limits.h>
37843 # include <assert.h>
37848 /* Override any GCC internal prototype to avoid an error.
37849 Use char because int might match the return type of a GCC
37850 builtin and then its argument prototype would still apply. */
37855 /* The GNU C library defines this for functions which it implements
37856 to always fail with ENOSYS. Some functions are actually named
37857 something starting with __ and the normal name is an alias. */
37858 #if defined __stub_$ac_func || defined __stub___$ac_func
37865 return $ac_func ();
37870 rm -f conftest.
$ac_objext conftest
$ac_exeext
37871 if { (ac_try
="$ac_link"
37872 case "(($ac_try" in
37873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37874 *) ac_try_echo=$ac_try;;
37876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37877 (eval "$ac_link") 2>conftest.er1
37879 grep -v '^ *+' conftest.er1 >conftest.err
37881 cat conftest.err >&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); } && {
37884 test -z "$ac_c_werror_flag" ||
37885 test ! -s conftest.err
37886 } && test -s conftest$ac_exeext &&
37887 $as_test_x conftest$ac_exeext; then
37888 eval "$as_ac_var=yes"
37890 echo "$as_me: failed program was:" >&5
37891 sed 's/^/| /' conftest.$ac_ext >&5
37893 eval "$as_ac_var=no"
37896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37897 conftest$ac_exeext conftest.$ac_ext
37899 ac_res=`eval echo '${'$as_ac_var'}'`
37900 { echo "$as_me:$LINENO: result: $ac_res" >&5
37901 echo "${ECHO_T}$ac_res" >&6; }
37902 if test `eval echo '${'$as_ac_var'}'` = yes; then
37903 cat >>confdefs.h <<_ACEOF
37904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37911 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37912 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37915 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37916 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37917 if test "${ac_cv_type_mbstate_t+set}" = set; then
37918 echo $ECHO_N "(cached) $ECHO_C" >&6
37920 cat >conftest.$ac_ext <<_ACEOF
37923 cat confdefs.h >>conftest.$ac_ext
37924 cat >>conftest.$ac_ext <<_ACEOF
37925 /* end confdefs.h. */
37928 typedef mbstate_t ac__type_new_;
37932 if ((ac__type_new_ *) 0)
37934 if (sizeof (ac__type_new_))
37940 rm -f conftest.$ac_objext
37941 if { (ac_try="$ac_compile"
37942 case "(($ac_try" in
37943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37944 *) ac_try_echo
=$ac_try;;
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_compile") 2>conftest.er1
37949 grep -v '^ *+' conftest.er1
>conftest.err
37951 cat conftest.err
>&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } && {
37954 test -z "$ac_c_werror_flag" ||
37955 test ! -s conftest.err
37956 } && test -s conftest.
$ac_objext; then
37957 ac_cv_type_mbstate_t
=yes
37959 echo "$as_me: failed program was:" >&5
37960 sed 's/^/| /' conftest.
$ac_ext >&5
37962 ac_cv_type_mbstate_t
=no
37965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37967 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37968 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37969 if test $ac_cv_type_mbstate_t = yes; then
37971 cat >>confdefs.h
<<_ACEOF
37972 #define HAVE_MBSTATE_T 1
37976 for ac_func
in wcsrtombs
37978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37979 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37981 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37982 echo $ECHO_N "(cached) $ECHO_C" >&6
37984 cat >conftest.
$ac_ext <<_ACEOF
37987 cat confdefs.h
>>conftest.
$ac_ext
37988 cat >>conftest.
$ac_ext <<_ACEOF
37989 /* end confdefs.h. */
37990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37992 #define $ac_func innocuous_$ac_func
37994 /* System header to define __stub macros and hopefully few prototypes,
37995 which can conflict with char $ac_func (); below.
37996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37997 <limits.h> exists even on freestanding compilers. */
38000 # include <limits.h>
38002 # include <assert.h>
38007 /* Override any GCC internal prototype to avoid an error.
38008 Use char because int might match the return type of a GCC
38009 builtin and then its argument prototype would still apply. */
38014 /* The GNU C library defines this for functions which it implements
38015 to always fail with ENOSYS. Some functions are actually named
38016 something starting with __ and the normal name is an alias. */
38017 #if defined __stub_$ac_func || defined __stub___$ac_func
38024 return $ac_func ();
38029 rm -f conftest.
$ac_objext conftest
$ac_exeext
38030 if { (ac_try
="$ac_link"
38031 case "(($ac_try" in
38032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38033 *) ac_try_echo=$ac_try;;
38035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38036 (eval "$ac_link") 2>conftest.er1
38038 grep -v '^ *+' conftest.er1 >conftest.err
38040 cat conftest.err >&5
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); } && {
38043 test -z "$ac_c_werror_flag" ||
38044 test ! -s conftest.err
38045 } && test -s conftest$ac_exeext &&
38046 $as_test_x conftest$ac_exeext; then
38047 eval "$as_ac_var=yes"
38049 echo "$as_me: failed program was:" >&5
38050 sed 's/^/| /' conftest.$ac_ext >&5
38052 eval "$as_ac_var=no"
38055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38056 conftest$ac_exeext conftest.$ac_ext
38058 ac_res=`eval echo '${'$as_ac_var'}'`
38059 { echo "$as_me:$LINENO: result: $ac_res" >&5
38060 echo "${ECHO_T}$ac_res" >&6; }
38061 if test `eval echo '${'$as_ac_var'}'` = yes; then
38062 cat >>confdefs.h <<_ACEOF
38063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38072 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
38073 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
38078 for ac_func in snprintf vsnprintf
38080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38083 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38084 echo $ECHO_N "(cached) $ECHO_C" >&6
38086 cat >conftest.$ac_ext <<_ACEOF
38089 cat confdefs.h >>conftest.$ac_ext
38090 cat >>conftest.$ac_ext <<_ACEOF
38091 /* end confdefs.h. */
38092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38094 #define $ac_func innocuous_$ac_func
38096 /* System header to define __stub macros and hopefully few prototypes,
38097 which can conflict with char $ac_func (); below.
38098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38099 <limits.h> exists even on freestanding compilers. */
38102 # include <limits.h>
38104 # include <assert.h>
38109 /* Override any GCC internal prototype to avoid an error.
38110 Use char because int might match the return type of a GCC
38111 builtin and then its argument prototype would still apply. */
38116 /* The GNU C library defines this for functions which it implements
38117 to always fail with ENOSYS. Some functions are actually named
38118 something starting with __ and the normal name is an alias. */
38119 #if defined __stub_$ac_func || defined __stub___$ac_func
38126 return $ac_func ();
38131 rm -f conftest.$ac_objext conftest$ac_exeext
38132 if { (ac_try="$ac_link"
38133 case "(($ac_try" in
38134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38135 *) ac_try_echo
=$ac_try;;
38137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38138 (eval "$ac_link") 2>conftest.er1
38140 grep -v '^ *+' conftest.er1
>conftest.err
38142 cat conftest.err
>&5
38143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38144 (exit $ac_status); } && {
38145 test -z "$ac_c_werror_flag" ||
38146 test ! -s conftest.err
38147 } && test -s conftest
$ac_exeext &&
38148 $as_test_x conftest
$ac_exeext; then
38149 eval "$as_ac_var=yes"
38151 echo "$as_me: failed program was:" >&5
38152 sed 's/^/| /' conftest.
$ac_ext >&5
38154 eval "$as_ac_var=no"
38157 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38158 conftest
$ac_exeext conftest.
$ac_ext
38160 ac_res
=`eval echo '${'$as_ac_var'}'`
38161 { echo "$as_me:$LINENO: result: $ac_res" >&5
38162 echo "${ECHO_T}$ac_res" >&6; }
38163 if test `eval echo '${'$as_ac_var'}'` = yes; then
38164 cat >>confdefs.h
<<_ACEOF
38165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38172 if test "$ac_cv_func_vsnprintf" = "yes"; then
38173 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
38174 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
38175 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38176 echo $ECHO_N "(cached) $ECHO_C" >&6
38179 cat >conftest.
$ac_ext <<_ACEOF
38182 cat confdefs.h
>>conftest.
$ac_ext
38183 cat >>conftest.
$ac_ext <<_ACEOF
38184 /* end confdefs.h. */
38187 #include <stdarg.h>
38189 #if __MSL__ >= 0x6000
38191 using namespace std;
38201 vsnprintf(buf, 10u, "%s", ap);
38207 rm -f conftest.
$ac_objext
38208 if { (ac_try
="$ac_compile"
38209 case "(($ac_try" in
38210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38211 *) ac_try_echo=$ac_try;;
38213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38214 (eval "$ac_compile") 2>conftest.er1
38216 grep -v '^ *+' conftest.er1 >conftest.err
38218 cat conftest.err >&5
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); } && {
38221 test -z "$ac_c_werror_flag" ||
38222 test ! -s conftest.err
38223 } && test -s conftest.$ac_objext; then
38224 wx_cv_func_vsnprintf_decl=yes
38226 echo "$as_me: failed program was:" >&5
38227 sed 's/^/| /' conftest.$ac_ext >&5
38229 wx_cv_func_vsnprintf_decl=no
38233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38237 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38238 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38240 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38241 cat >>confdefs.h <<\_ACEOF
38242 #define HAVE_VSNPRINTF_DECL 1
38246 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38247 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38248 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38249 echo $ECHO_N "(cached) $ECHO_C" >&6
38252 cat >conftest.$ac_ext <<_ACEOF
38255 cat confdefs.h >>conftest.$ac_ext
38256 cat >>conftest.$ac_ext <<_ACEOF
38257 /* end confdefs.h. */
38260 #include <stdarg.h>
38262 #if __MSL__ >= 0x6000
38264 using namespace std;
38274 const char *fmt = "%s";
38275 vsnprintf(buf, 10u, fmt, ap);
38281 rm -f conftest.$ac_objext
38282 if { (ac_try="$ac_compile"
38283 case "(($ac_try" in
38284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38285 *) ac_try_echo
=$ac_try;;
38287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38288 (eval "$ac_compile") 2>conftest.er1
38290 grep -v '^ *+' conftest.er1
>conftest.err
38292 cat conftest.err
>&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); } && {
38295 test -z "$ac_c_werror_flag" ||
38296 test ! -s conftest.err
38297 } && test -s conftest.
$ac_objext; then
38298 wx_cv_func_broken_vsnprintf_decl
=no
38300 echo "$as_me: failed program was:" >&5
38301 sed 's/^/| /' conftest.
$ac_ext >&5
38303 wx_cv_func_broken_vsnprintf_decl
=yes
38307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38311 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38312 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38314 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38315 cat >>confdefs.h
<<\_ACEOF
38316 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38323 if test "$ac_cv_func_snprintf" = "yes"; then
38324 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38325 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38326 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38327 echo $ECHO_N "(cached) $ECHO_C" >&6
38330 cat >conftest.
$ac_ext <<_ACEOF
38333 cat confdefs.h
>>conftest.
$ac_ext
38334 cat >>conftest.
$ac_ext <<_ACEOF
38335 /* end confdefs.h. */
38338 #include <stdarg.h>
38340 #if __MSL__ >= 0x6000
38342 using namespace std;
38351 snprintf(buf, 10u, "%s", "wx");
38357 rm -f conftest.
$ac_objext
38358 if { (ac_try
="$ac_compile"
38359 case "(($ac_try" in
38360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38361 *) ac_try_echo=$ac_try;;
38363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38364 (eval "$ac_compile") 2>conftest.er1
38366 grep -v '^ *+' conftest.er1 >conftest.err
38368 cat conftest.err >&5
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); } && {
38371 test -z "$ac_c_werror_flag" ||
38372 test ! -s conftest.err
38373 } && test -s conftest.$ac_objext; then
38374 wx_cv_func_snprintf_decl=yes
38376 echo "$as_me: failed program was:" >&5
38377 sed 's/^/| /' conftest.$ac_ext >&5
38379 wx_cv_func_snprintf_decl=no
38383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38387 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38388 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38390 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38391 cat >>confdefs.h <<\_ACEOF
38392 #define HAVE_SNPRINTF_DECL 1
38397 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38399 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38400 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38401 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38402 echo $ECHO_N "(cached) $ECHO_C" >&6
38405 if test "$cross_compiling" = yes; then
38407 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38408 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38409 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38410 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38411 wx_cv_func_snprintf_pos_params=no
38415 cat >conftest.$ac_ext <<_ACEOF
38418 cat confdefs.h >>conftest.$ac_ext
38419 cat >>conftest.$ac_ext <<_ACEOF
38420 /* end confdefs.h. */
38427 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38428 if (strcmp ("2 3 1", buffer) == 0)
38434 rm -f conftest$ac_exeext
38435 if { (ac_try="$ac_link"
38436 case "(($ac_try" in
38437 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38438 *) ac_try_echo
=$ac_try;;
38440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38441 (eval "$ac_link") 2>&5
38443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38445 { (case "(($ac_try" in
38446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38447 *) ac_try_echo=$ac_try;;
38449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38450 (eval "$ac_try") 2>&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454 wx_cv_func_snprintf_pos_params=no
38456 echo "$as_me: program exited with status $ac_status" >&5
38457 echo "$as_me: failed program was:" >&5
38458 sed 's/^/| /' conftest.$ac_ext >&5
38460 ( exit $ac_status )
38461 wx_cv_func_snprintf_pos_params=yes
38463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38470 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38471 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38473 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38474 cat >>confdefs.h <<\_ACEOF
38475 #define HAVE_UNIX98_PRINTF 1
38482 if test "$wxUSE_UNICODE" = yes; then
38484 wchar_headers="#include <stdio.h>
38485 #include <wchar.h>"
38489 for ac_header in widec.h
38491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38495 echo $ECHO_N "(cached) $ECHO_C" >&6
38497 cat >conftest.$ac_ext <<_ACEOF
38500 cat confdefs.h >>conftest.$ac_ext
38501 cat >>conftest.$ac_ext <<_ACEOF
38502 /* end confdefs.h. */
38503 $ac_includes_default
38505 #include <$ac_header>
38507 rm -f conftest.$ac_objext
38508 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
38524 eval "$as_ac_Header=yes"
38526 echo "$as_me: failed program was:" >&5
38527 sed 's/^/| /' conftest.
$ac_ext >&5
38529 eval "$as_ac_Header=no"
38532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38534 ac_res
=`eval echo '${'$as_ac_Header'}'`
38535 { echo "$as_me:$LINENO: result: $ac_res" >&5
38536 echo "${ECHO_T}$ac_res" >&6; }
38537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38538 cat >>confdefs.h
<<_ACEOF
38539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38546 if test "$ac_cv_header_widec_h" = "yes"; then
38547 wchar_headers
="$wchar_headers
38548 #include <widec.h>"
38553 for wx_func
in putws fputws wprintf vswprintf
38555 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38556 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38557 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38561 cat >conftest.
$ac_ext <<_ACEOF
38565 cat confdefs.h
>>conftest.
$ac_ext
38566 cat >>conftest.
$ac_ext <<_ACEOF
38567 /* end confdefs.h. */
38570 $ac_includes_default
38586 rm -f conftest.
$ac_objext conftest
$ac_exeext
38587 if { (ac_try
="$ac_link"
38588 case "(($ac_try" in
38589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38590 *) ac_try_echo=$ac_try;;
38592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38593 (eval "$ac_link") 2>conftest.er1
38595 grep -v '^ *+' conftest.er1 >conftest.err
38597 cat conftest.err >&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } && {
38600 test -z "$ac_c_werror_flag" ||
38601 test ! -s conftest.err
38602 } && test -s conftest$ac_exeext &&
38603 $as_test_x conftest$ac_exeext; then
38604 eval wx_cv_func_$wx_func=yes
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38609 eval wx_cv_func_$wx_func=no
38612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38613 conftest$ac_exeext conftest.$ac_ext
38616 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38617 { echo "$as_me:$LINENO: result: $ac_res" >&5
38618 echo "${ECHO_T}$ac_res" >&6; }
38620 if eval test \$wx_cv_func_$wx_func = yes
38622 cat >>confdefs.h <<_ACEOF
38623 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38634 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38635 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38636 cat >conftest.$ac_ext <<_ACEOF
38639 cat confdefs.h >>conftest.$ac_ext
38640 cat >>conftest.$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38651 rm -f conftest.$ac_objext
38652 if { (ac_try="$ac_compile"
38653 case "(($ac_try" in
38654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38655 *) ac_try_echo
=$ac_try;;
38657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38658 (eval "$ac_compile") 2>conftest.er1
38660 grep -v '^ *+' conftest.er1
>conftest.err
38662 cat conftest.err
>&5
38663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38664 (exit $ac_status); } && {
38665 test -z "$ac_c_werror_flag" ||
38666 test ! -s conftest.err
38667 } && test -s conftest.
$ac_objext; then
38668 { echo "$as_me:$LINENO: result: yes" >&5
38669 echo "${ECHO_T}yes" >&6; }
38670 cat >>confdefs.h
<<\_ACEOF
38671 #define HAVE__VSNWPRINTF 1
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.
$ac_ext >&5
38678 { echo "$as_me:$LINENO: result: no" >&5
38679 echo "${ECHO_T}no" >&6; }
38682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
38685 if test "$wxUSE_FILE" = "yes"; then
38687 for wx_func
in fsync
38689 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38690 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38691 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38692 echo $ECHO_N "(cached) $ECHO_C" >&6
38695 cat >conftest.
$ac_ext <<_ACEOF
38699 cat confdefs.h
>>conftest.
$ac_ext
38700 cat >>conftest.
$ac_ext <<_ACEOF
38701 /* end confdefs.h. */
38704 $ac_includes_default
38720 rm -f conftest.
$ac_objext conftest
$ac_exeext
38721 if { (ac_try
="$ac_link"
38722 case "(($ac_try" in
38723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38724 *) ac_try_echo=$ac_try;;
38726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38727 (eval "$ac_link") 2>conftest.er1
38729 grep -v '^ *+' conftest.er1 >conftest.err
38731 cat conftest.err >&5
38732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733 (exit $ac_status); } && {
38734 test -z "$ac_c_werror_flag" ||
38735 test ! -s conftest.err
38736 } && test -s conftest$ac_exeext &&
38737 $as_test_x conftest$ac_exeext; then
38738 eval wx_cv_func_$wx_func=yes
38740 echo "$as_me: failed program was:" >&5
38741 sed 's/^/| /' conftest.$ac_ext >&5
38743 eval wx_cv_func_$wx_func=no
38746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38747 conftest$ac_exeext conftest.$ac_ext
38750 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38751 { echo "$as_me:$LINENO: result: $ac_res" >&5
38752 echo "${ECHO_T}$ac_res" >&6; }
38754 if eval test \$wx_cv_func_$wx_func = yes
38756 cat >>confdefs.h <<_ACEOF
38757 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38770 ac_cpp='$CXXCPP $CPPFLAGS'
38771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38776 for wx_func in round
38778 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38779 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38780 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38781 echo $ECHO_N "(cached) $ECHO_C" >&6
38784 cat >conftest.$ac_ext <<_ACEOF
38788 cat confdefs.h >>conftest.$ac_ext
38789 cat >>conftest.$ac_ext <<_ACEOF
38790 /* end confdefs.h. */
38793 $ac_includes_default
38809 rm -f conftest.$ac_objext conftest$ac_exeext
38810 if { (ac_try="$ac_link"
38811 case "(($ac_try" in
38812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38813 *) ac_try_echo
=$ac_try;;
38815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38816 (eval "$ac_link") 2>conftest.er1
38818 grep -v '^ *+' conftest.er1
>conftest.err
38820 cat conftest.err
>&5
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); } && {
38823 test -z "$ac_cxx_werror_flag" ||
38824 test ! -s conftest.err
38825 } && test -s conftest
$ac_exeext &&
38826 $as_test_x conftest
$ac_exeext; then
38827 eval wx_cv_func_
$wx_func=yes
38829 echo "$as_me: failed program was:" >&5
38830 sed 's/^/| /' conftest.
$ac_ext >&5
38832 eval wx_cv_func_
$wx_func=no
38835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38836 conftest
$ac_exeext conftest.
$ac_ext
38839 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38840 { echo "$as_me:$LINENO: result: $ac_res" >&5
38841 echo "${ECHO_T}$ac_res" >&6; }
38843 if eval test \
$wx_cv_func_$wx_func = yes
38845 cat >>confdefs.h
<<_ACEOF
38846 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38857 ac_cpp
='$CPP $CPPFLAGS'
38858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38863 if test "$TOOLKIT" != "MSW"; then
38869 # Check whether --with-libiconv-prefix was given.
38870 if test "${with_libiconv_prefix+set}" = set; then
38871 withval
=$with_libiconv_prefix;
38872 for dir
in `echo "$withval" | tr : ' '`; do
38873 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38874 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38880 { echo "$as_me:$LINENO: checking for iconv" >&5
38881 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38882 if test "${am_cv_func_iconv+set}" = set; then
38883 echo $ECHO_N "(cached) $ECHO_C" >&6
38886 am_cv_func_iconv
="no, consider installing GNU libiconv"
38888 cat >conftest.
$ac_ext <<_ACEOF
38891 cat confdefs.h
>>conftest.
$ac_ext
38892 cat >>conftest.
$ac_ext <<_ACEOF
38893 /* end confdefs.h. */
38894 #include <stdlib.h>
38899 iconv_t cd = iconv_open("","");
38900 iconv(cd,NULL,NULL,NULL,NULL);
38906 rm -f conftest.
$ac_objext conftest
$ac_exeext
38907 if { (ac_try
="$ac_link"
38908 case "(($ac_try" in
38909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38910 *) ac_try_echo=$ac_try;;
38912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38913 (eval "$ac_link") 2>conftest.er1
38915 grep -v '^ *+' conftest.er1 >conftest.err
38917 cat conftest.err >&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); } && {
38920 test -z "$ac_c_werror_flag" ||
38921 test ! -s conftest.err
38922 } && test -s conftest$ac_exeext &&
38923 $as_test_x conftest$ac_exeext; then
38924 am_cv_func_iconv=yes
38926 echo "$as_me: failed program was:" >&5
38927 sed 's/^/| /' conftest.$ac_ext >&5
38932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38933 conftest$ac_exeext conftest.$ac_ext
38934 if test "$am_cv_func_iconv" != yes; then
38935 am_save_LIBS="$LIBS"
38936 LIBS="$LIBS -liconv"
38937 cat >conftest.$ac_ext <<_ACEOF
38940 cat confdefs.h >>conftest.$ac_ext
38941 cat >>conftest.$ac_ext <<_ACEOF
38942 /* end confdefs.h. */
38943 #include <stdlib.h>
38948 iconv_t cd = iconv_open("","");
38949 iconv(cd,NULL,NULL,NULL,NULL);
38955 rm -f conftest.$ac_objext conftest$ac_exeext
38956 if { (ac_try="$ac_link"
38957 case "(($ac_try" in
38958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38959 *) ac_try_echo
=$ac_try;;
38961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38962 (eval "$ac_link") 2>conftest.er1
38964 grep -v '^ *+' conftest.er1
>conftest.err
38966 cat conftest.err
>&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } && {
38969 test -z "$ac_c_werror_flag" ||
38970 test ! -s conftest.err
38971 } && test -s conftest
$ac_exeext &&
38972 $as_test_x conftest
$ac_exeext; then
38973 am_cv_lib_iconv
=yes
38974 am_cv_func_iconv
=yes
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.
$ac_ext >&5
38982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38983 conftest
$ac_exeext conftest.
$ac_ext
38984 LIBS
="$am_save_LIBS"
38988 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38989 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38990 if test "$am_cv_func_iconv" = yes; then
38992 cat >>confdefs.h
<<\_ACEOF
38993 #define HAVE_ICONV 1
38996 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38997 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38998 if test "${wx_cv_func_iconv_const+set}" = set; then
38999 echo $ECHO_N "(cached) $ECHO_C" >&6
39001 cat >conftest.
$ac_ext <<_ACEOF
39004 cat confdefs.h
>>conftest.
$ac_ext
39005 cat >>conftest.
$ac_ext <<_ACEOF
39006 /* end confdefs.h. */
39008 #include <stdlib.h>
39014 #if defined(__STDC__) || defined(__cplusplus)
39015 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39028 rm -f conftest.
$ac_objext
39029 if { (ac_try
="$ac_compile"
39030 case "(($ac_try" in
39031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39032 *) ac_try_echo=$ac_try;;
39034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39035 (eval "$ac_compile") 2>conftest.er1
39037 grep -v '^ *+' conftest.er1 >conftest.err
39039 cat conftest.err >&5
39040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39041 (exit $ac_status); } && {
39042 test -z "$ac_c_werror_flag" ||
39043 test ! -s conftest.err
39044 } && test -s conftest.$ac_objext; then
39045 wx_cv_func_iconv_const="no"
39047 echo "$as_me: failed program was:" >&5
39048 sed 's/^/| /' conftest.$ac_ext >&5
39050 wx_cv_func_iconv_const="yes"
39054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39057 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39058 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39061 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39062 iconv_const="const"
39066 cat >>confdefs.h <<_ACEOF
39067 #define ICONV_CONST $iconv_const
39072 if test "$am_cv_lib_iconv" = yes; then
39077 LIBS="$LIBICONV $LIBS"
39079 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39081 for ac_func in sigaction
39083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39084 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39087 echo $ECHO_N "(cached) $ECHO_C" >&6
39089 cat >conftest.$ac_ext <<_ACEOF
39092 cat confdefs.h >>conftest.$ac_ext
39093 cat >>conftest.$ac_ext <<_ACEOF
39094 /* end confdefs.h. */
39095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39097 #define $ac_func innocuous_$ac_func
39099 /* System header to define __stub macros and hopefully few prototypes,
39100 which can conflict with char $ac_func (); below.
39101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39102 <limits.h> exists even on freestanding compilers. */
39105 # include <limits.h>
39107 # include <assert.h>
39112 /* Override any GCC internal prototype to avoid an error.
39113 Use char because int might match the return type of a GCC
39114 builtin and then its argument prototype would still apply. */
39119 /* The GNU C library defines this for functions which it implements
39120 to always fail with ENOSYS. Some functions are actually named
39121 something starting with __ and the normal name is an alias. */
39122 #if defined __stub_$ac_func || defined __stub___$ac_func
39129 return $ac_func ();
39134 rm -f conftest.$ac_objext conftest$ac_exeext
39135 if { (ac_try="$ac_link"
39136 case "(($ac_try" in
39137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39138 *) ac_try_echo
=$ac_try;;
39140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39141 (eval "$ac_link") 2>conftest.er1
39143 grep -v '^ *+' conftest.er1
>conftest.err
39145 cat conftest.err
>&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } && {
39148 test -z "$ac_c_werror_flag" ||
39149 test ! -s conftest.err
39150 } && test -s conftest
$ac_exeext &&
39151 $as_test_x conftest
$ac_exeext; then
39152 eval "$as_ac_var=yes"
39154 echo "$as_me: failed program was:" >&5
39155 sed 's/^/| /' conftest.
$ac_ext >&5
39157 eval "$as_ac_var=no"
39160 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39161 conftest
$ac_exeext conftest.
$ac_ext
39163 ac_res
=`eval echo '${'$as_ac_var'}'`
39164 { echo "$as_me:$LINENO: result: $ac_res" >&5
39165 echo "${ECHO_T}$ac_res" >&6; }
39166 if test `eval echo '${'$as_ac_var'}'` = yes; then
39167 cat >>confdefs.h
<<_ACEOF
39168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39175 if test "$ac_cv_func_sigaction" = "no"; then
39176 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39177 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39178 wxUSE_ON_FATAL_EXCEPTION
=no
39181 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39182 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39183 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39184 if test "${wx_cv_type_sa_handler+set}" = set; then
39185 echo $ECHO_N "(cached) $ECHO_C" >&6
39189 ac_cpp
='$CXXCPP $CPPFLAGS'
39190 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39191 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39192 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39194 cat >conftest.
$ac_ext <<_ACEOF
39197 cat confdefs.h
>>conftest.
$ac_ext
39198 cat >>conftest.
$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39200 #include <signal.h>
39205 extern void testSigHandler(int);
39207 struct sigaction sa;
39208 sa.sa_handler = testSigHandler;
39214 rm -f conftest.
$ac_objext
39215 if { (ac_try
="$ac_compile"
39216 case "(($ac_try" in
39217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39218 *) ac_try_echo=$ac_try;;
39220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39221 (eval "$ac_compile") 2>conftest.er1
39223 grep -v '^ *+' conftest.er1 >conftest.err
39225 cat conftest.err >&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } && {
39228 test -z "$ac_cxx_werror_flag" ||
39229 test ! -s conftest.err
39230 } && test -s conftest.$ac_objext; then
39232 wx_cv_type_sa_handler=int
39235 echo "$as_me: failed program was:" >&5
39236 sed 's/^/| /' conftest.$ac_ext >&5
39239 wx_cv_type_sa_handler=void
39243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39245 ac_cpp='$CPP $CPPFLAGS'
39246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39252 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39253 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39255 cat >>confdefs.h <<_ACEOF
39256 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39262 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39263 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39264 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39265 if test "${wx_cv_func_backtrace+set}" = set; then
39266 echo $ECHO_N "(cached) $ECHO_C" >&6
39270 ac_cpp='$CXXCPP $CPPFLAGS'
39271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39275 cat >conftest.$ac_ext <<_ACEOF
39278 cat confdefs.h >>conftest.$ac_ext
39279 cat >>conftest.$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39281 #include <execinfo.h>
39289 backtrace(trace, 1);
39290 messages = backtrace_symbols(trace, 1);
39296 rm -f conftest.$ac_objext
39297 if { (ac_try="$ac_compile"
39298 case "(($ac_try" in
39299 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39300 *) ac_try_echo
=$ac_try;;
39302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39303 (eval "$ac_compile") 2>conftest.er1
39305 grep -v '^ *+' conftest.er1
>conftest.err
39307 cat conftest.err
>&5
39308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39309 (exit $ac_status); } && {
39310 test -z "$ac_cxx_werror_flag" ||
39311 test ! -s conftest.err
39312 } && test -s conftest.
$ac_objext; then
39313 wx_cv_func_backtrace
=yes
39315 echo "$as_me: failed program was:" >&5
39316 sed 's/^/| /' conftest.
$ac_ext >&5
39318 wx_cv_func_backtrace
=no
39322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39324 ac_cpp
='$CPP $CPPFLAGS'
39325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39332 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39333 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39336 if test "$wx_cv_func_backtrace" = "no"; then
39337 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39338 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39339 wxUSE_STACKWALKER
=no
39341 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39342 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39343 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39344 echo $ECHO_N "(cached) $ECHO_C" >&6
39348 ac_cpp
='$CXXCPP $CPPFLAGS'
39349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39353 cat >conftest.
$ac_ext <<_ACEOF
39356 cat confdefs.h
>>conftest.
$ac_ext
39357 cat >>conftest.
$ac_ext <<_ACEOF
39358 /* end confdefs.h. */
39359 #include <cxxabi.h>
39365 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39371 rm -f conftest.
$ac_objext conftest
$ac_exeext
39372 if { (ac_try
="$ac_link"
39373 case "(($ac_try" in
39374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39375 *) ac_try_echo=$ac_try;;
39377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39378 (eval "$ac_link") 2>conftest.er1
39380 grep -v '^ *+' conftest.er1 >conftest.err
39382 cat conftest.err >&5
39383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39384 (exit $ac_status); } && {
39385 test -z "$ac_cxx_werror_flag" ||
39386 test ! -s conftest.err
39387 } && test -s conftest$ac_exeext &&
39388 $as_test_x conftest$ac_exeext; then
39389 wx_cv_func_cxa_demangle=yes
39391 echo "$as_me: failed program was:" >&5
39392 sed 's/^/| /' conftest.$ac_ext >&5
39394 wx_cv_func_cxa_demangle=no
39398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39399 conftest$ac_exeext conftest.$ac_ext
39401 ac_cpp='$CPP $CPPFLAGS'
39402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39409 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39410 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39412 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39413 cat >>confdefs.h <<\_ACEOF
39414 #define HAVE_CXA_DEMANGLE 1
39421 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39422 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39423 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39424 wxUSE_STACKWALKER=no
39430 for ac_func in mkstemp mktemp
39432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39433 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39435 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39436 echo $ECHO_N "(cached) $ECHO_C" >&6
39438 cat >conftest.$ac_ext <<_ACEOF
39441 cat confdefs.h >>conftest.$ac_ext
39442 cat >>conftest.$ac_ext <<_ACEOF
39443 /* end confdefs.h. */
39444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39446 #define $ac_func innocuous_$ac_func
39448 /* System header to define __stub macros and hopefully few prototypes,
39449 which can conflict with char $ac_func (); below.
39450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39451 <limits.h> exists even on freestanding compilers. */
39454 # include <limits.h>
39456 # include <assert.h>
39461 /* Override any GCC internal prototype to avoid an error.
39462 Use char because int might match the return type of a GCC
39463 builtin and then its argument prototype would still apply. */
39468 /* The GNU C library defines this for functions which it implements
39469 to always fail with ENOSYS. Some functions are actually named
39470 something starting with __ and the normal name is an alias. */
39471 #if defined __stub_$ac_func || defined __stub___$ac_func
39478 return $ac_func ();
39483 rm -f conftest.$ac_objext conftest$ac_exeext
39484 if { (ac_try="$ac_link"
39485 case "(($ac_try" in
39486 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39487 *) ac_try_echo
=$ac_try;;
39489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39490 (eval "$ac_link") 2>conftest.er1
39492 grep -v '^ *+' conftest.er1
>conftest.err
39494 cat conftest.err
>&5
39495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39496 (exit $ac_status); } && {
39497 test -z "$ac_c_werror_flag" ||
39498 test ! -s conftest.err
39499 } && test -s conftest
$ac_exeext &&
39500 $as_test_x conftest
$ac_exeext; then
39501 eval "$as_ac_var=yes"
39503 echo "$as_me: failed program was:" >&5
39504 sed 's/^/| /' conftest.
$ac_ext >&5
39506 eval "$as_ac_var=no"
39509 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39510 conftest
$ac_exeext conftest.
$ac_ext
39512 ac_res
=`eval echo '${'$as_ac_var'}'`
39513 { echo "$as_me:$LINENO: result: $ac_res" >&5
39514 echo "${ECHO_T}$ac_res" >&6; }
39515 if test `eval echo '${'$as_ac_var'}'` = yes; then
39516 cat >>confdefs.h
<<_ACEOF
39517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39524 { echo "$as_me:$LINENO: checking for statfs" >&5
39525 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39526 if test "${wx_cv_func_statfs+set}" = set; then
39527 echo $ECHO_N "(cached) $ECHO_C" >&6
39529 cat >conftest.
$ac_ext <<_ACEOF
39532 cat confdefs.h
>>conftest.
$ac_ext
39533 cat >>conftest.
$ac_ext <<_ACEOF
39534 /* end confdefs.h. */
39536 #if defined(__BSD__)
39537 #include <sys/param.h>
39538 #include <sys/mount.h>
39540 #include <sys/vfs.h>
39558 rm -f conftest.
$ac_objext
39559 if { (ac_try
="$ac_compile"
39560 case "(($ac_try" in
39561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39562 *) ac_try_echo=$ac_try;;
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_compile") 2>conftest.er1
39567 grep -v '^ *+' conftest.er1 >conftest.err
39569 cat conftest.err >&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_c_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest.$ac_objext; then
39575 wx_cv_func_statfs=yes
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.$ac_ext >&5
39580 wx_cv_func_statfs=no
39584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39587 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39588 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39590 if test "$wx_cv_func_statfs" = "yes"; then
39591 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39592 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39593 if test "${wx_cv_func_statfs_decl+set}" = set; then
39594 echo $ECHO_N "(cached) $ECHO_C" >&6
39597 ac_cpp='$CXXCPP $CPPFLAGS'
39598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39602 cat >conftest.$ac_ext <<_ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39609 #if defined(__BSD__)
39610 #include <sys/param.h>
39611 #include <sys/mount.h>
39613 #include <sys/vfs.h>
39627 rm -f conftest.$ac_objext
39628 if { (ac_try="$ac_compile"
39629 case "(($ac_try" in
39630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39631 *) ac_try_echo
=$ac_try;;
39633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39634 (eval "$ac_compile") 2>conftest.er1
39636 grep -v '^ *+' conftest.er1
>conftest.err
39638 cat conftest.err
>&5
39639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640 (exit $ac_status); } && {
39641 test -z "$ac_cxx_werror_flag" ||
39642 test ! -s conftest.err
39643 } && test -s conftest.
$ac_objext; then
39644 wx_cv_func_statfs_decl
=yes
39646 echo "$as_me: failed program was:" >&5
39647 sed 's/^/| /' conftest.
$ac_ext >&5
39649 wx_cv_func_statfs_decl
=no
39653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39655 ac_cpp
='$CPP $CPPFLAGS'
39656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39662 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39663 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39665 if test "$wx_cv_func_statfs_decl" = "yes"; then
39666 cat >>confdefs.h
<<\_ACEOF
39667 #define HAVE_STATFS_DECL 1
39672 wx_cv_type_statvfs_t
="struct statfs"
39673 cat >>confdefs.h
<<\_ACEOF
39674 #define HAVE_STATFS 1
39678 { echo "$as_me:$LINENO: checking for statvfs" >&5
39679 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39680 if test "${wx_cv_func_statvfs+set}" = set; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39683 cat >conftest.
$ac_ext <<_ACEOF
39686 cat confdefs.h
>>conftest.
$ac_ext
39687 cat >>conftest.
$ac_ext <<_ACEOF
39688 /* end confdefs.h. */
39690 #include <stddef.h>
39691 #include <sys/statvfs.h>
39697 statvfs("/", NULL);
39703 rm -f conftest.
$ac_objext
39704 if { (ac_try
="$ac_compile"
39705 case "(($ac_try" in
39706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39707 *) ac_try_echo=$ac_try;;
39709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39710 (eval "$ac_compile") 2>conftest.er1
39712 grep -v '^ *+' conftest.er1 >conftest.err
39714 cat conftest.err >&5
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); } && {
39717 test -z "$ac_c_werror_flag" ||
39718 test ! -s conftest.err
39719 } && test -s conftest.$ac_objext; then
39720 wx_cv_func_statvfs=yes
39722 echo "$as_me: failed program was:" >&5
39723 sed 's/^/| /' conftest.$ac_ext >&5
39725 wx_cv_func_statvfs=no
39729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39732 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39733 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39735 if test "$wx_cv_func_statvfs" = "yes"; then
39736 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39737 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39738 if test "${wx_cv_type_statvfs_t+set}" = set; then
39739 echo $ECHO_N "(cached) $ECHO_C" >&6
39742 ac_cpp='$CXXCPP $CPPFLAGS'
39743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39747 cat >conftest.$ac_ext <<_ACEOF
39750 cat confdefs.h >>conftest.$ac_ext
39751 cat >>conftest.$ac_ext <<_ACEOF
39752 /* end confdefs.h. */
39754 #include <sys/statvfs.h>
39771 rm -f conftest.$ac_objext
39772 if { (ac_try="$ac_compile"
39773 case "(($ac_try" in
39774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39775 *) ac_try_echo
=$ac_try;;
39777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39778 (eval "$ac_compile") 2>conftest.er1
39780 grep -v '^ *+' conftest.er1
>conftest.err
39782 cat conftest.err
>&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } && {
39785 test -z "$ac_cxx_werror_flag" ||
39786 test ! -s conftest.err
39787 } && test -s conftest.
$ac_objext; then
39788 wx_cv_type_statvfs_t
=statvfs_t
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.
$ac_ext >&5
39794 cat >conftest.
$ac_ext <<_ACEOF
39797 cat confdefs.h
>>conftest.
$ac_ext
39798 cat >>conftest.
$ac_ext <<_ACEOF
39799 /* end confdefs.h. */
39801 #include <sys/statvfs.h>
39818 rm -f conftest.
$ac_objext
39819 if { (ac_try
="$ac_compile"
39820 case "(($ac_try" in
39821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39822 *) ac_try_echo=$ac_try;;
39824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39825 (eval "$ac_compile") 2>conftest.er1
39827 grep -v '^ *+' conftest.er1 >conftest.err
39829 cat conftest.err >&5
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); } && {
39832 test -z "$ac_cxx_werror_flag" ||
39833 test ! -s conftest.err
39834 } && test -s conftest.$ac_objext; then
39835 wx_cv_type_statvfs_t="struct statvfs"
39837 echo "$as_me: failed program was:" >&5
39838 sed 's/^/| /' conftest.$ac_ext >&5
39840 wx_cv_type_statvfs_t="unknown"
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39851 ac_cpp='$CPP $CPPFLAGS'
39852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39858 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39859 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39861 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39862 cat >>confdefs.h <<\_ACEOF
39863 #define HAVE_STATVFS 1
39868 wx_cv_type_statvfs_t="unknown"
39872 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39873 cat >>confdefs.h <<_ACEOF
39874 #define WX_STATFS_T $wx_cv_type_statvfs_t
39878 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39879 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39882 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39885 for ac_func in fcntl flock
39887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39888 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39890 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39891 echo $ECHO_N "(cached) $ECHO_C" >&6
39893 cat >conftest.$ac_ext <<_ACEOF
39896 cat confdefs.h >>conftest.$ac_ext
39897 cat >>conftest.$ac_ext <<_ACEOF
39898 /* end confdefs.h. */
39899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39901 #define $ac_func innocuous_$ac_func
39903 /* System header to define __stub macros and hopefully few prototypes,
39904 which can conflict with char $ac_func (); below.
39905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39906 <limits.h> exists even on freestanding compilers. */
39909 # include <limits.h>
39911 # include <assert.h>
39916 /* Override any GCC internal prototype to avoid an error.
39917 Use char because int might match the return type of a GCC
39918 builtin and then its argument prototype would still apply. */
39923 /* The GNU C library defines this for functions which it implements
39924 to always fail with ENOSYS. Some functions are actually named
39925 something starting with __ and the normal name is an alias. */
39926 #if defined __stub_$ac_func || defined __stub___$ac_func
39933 return $ac_func ();
39938 rm -f conftest.$ac_objext conftest$ac_exeext
39939 if { (ac_try="$ac_link"
39940 case "(($ac_try" in
39941 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39942 *) ac_try_echo
=$ac_try;;
39944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39945 (eval "$ac_link") 2>conftest.er1
39947 grep -v '^ *+' conftest.er1
>conftest.err
39949 cat conftest.err
>&5
39950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951 (exit $ac_status); } && {
39952 test -z "$ac_c_werror_flag" ||
39953 test ! -s conftest.err
39954 } && test -s conftest
$ac_exeext &&
39955 $as_test_x conftest
$ac_exeext; then
39956 eval "$as_ac_var=yes"
39958 echo "$as_me: failed program was:" >&5
39959 sed 's/^/| /' conftest.
$ac_ext >&5
39961 eval "$as_ac_var=no"
39964 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39965 conftest
$ac_exeext conftest.
$ac_ext
39967 ac_res
=`eval echo '${'$as_ac_var'}'`
39968 { echo "$as_me:$LINENO: result: $ac_res" >&5
39969 echo "${ECHO_T}$ac_res" >&6; }
39970 if test `eval echo '${'$as_ac_var'}'` = yes; then
39971 cat >>confdefs.h
<<_ACEOF
39972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39979 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39980 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39981 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39982 wxUSE_SNGLINST_CHECKER
=no
39988 for ac_func
in setenv putenv
39990 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39993 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39994 echo $ECHO_N "(cached) $ECHO_C" >&6
39996 cat >conftest.
$ac_ext <<_ACEOF
39999 cat confdefs.h
>>conftest.
$ac_ext
40000 cat >>conftest.
$ac_ext <<_ACEOF
40001 /* end confdefs.h. */
40002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40004 #define $ac_func innocuous_$ac_func
40006 /* System header to define __stub macros and hopefully few prototypes,
40007 which can conflict with char $ac_func (); below.
40008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40009 <limits.h> exists even on freestanding compilers. */
40012 # include <limits.h>
40014 # include <assert.h>
40019 /* Override any GCC internal prototype to avoid an error.
40020 Use char because int might match the return type of a GCC
40021 builtin and then its argument prototype would still apply. */
40026 /* The GNU C library defines this for functions which it implements
40027 to always fail with ENOSYS. Some functions are actually named
40028 something starting with __ and the normal name is an alias. */
40029 #if defined __stub_$ac_func || defined __stub___$ac_func
40036 return $ac_func ();
40041 rm -f conftest.
$ac_objext conftest
$ac_exeext
40042 if { (ac_try
="$ac_link"
40043 case "(($ac_try" in
40044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40045 *) ac_try_echo=$ac_try;;
40047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40048 (eval "$ac_link") 2>conftest.er1
40050 grep -v '^ *+' conftest.er1 >conftest.err
40052 cat conftest.err >&5
40053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40054 (exit $ac_status); } && {
40055 test -z "$ac_c_werror_flag" ||
40056 test ! -s conftest.err
40057 } && test -s conftest$ac_exeext &&
40058 $as_test_x conftest$ac_exeext; then
40059 eval "$as_ac_var=yes"
40061 echo "$as_me: failed program was:" >&5
40062 sed 's/^/| /' conftest.$ac_ext >&5
40064 eval "$as_ac_var=no"
40067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40068 conftest$ac_exeext conftest.$ac_ext
40070 ac_res=`eval echo '${'$as_ac_var'}'`
40071 { echo "$as_me:$LINENO: result: $ac_res" >&5
40072 echo "${ECHO_T}$ac_res" >&6; }
40073 if test `eval echo '${'$as_ac_var'}'` = yes; then
40074 cat >>confdefs.h <<_ACEOF
40075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40081 if test "$ac_cv_func_setenv" = "yes"; then
40083 for ac_func in unsetenv
40085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40089 echo $ECHO_N "(cached) $ECHO_C" >&6
40091 cat >conftest.$ac_ext <<_ACEOF
40094 cat confdefs.h >>conftest.$ac_ext
40095 cat >>conftest.$ac_ext <<_ACEOF
40096 /* end confdefs.h. */
40097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40099 #define $ac_func innocuous_$ac_func
40101 /* System header to define __stub macros and hopefully few prototypes,
40102 which can conflict with char $ac_func (); below.
40103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40104 <limits.h> exists even on freestanding compilers. */
40107 # include <limits.h>
40109 # include <assert.h>
40114 /* Override any GCC internal prototype to avoid an error.
40115 Use char because int might match the return type of a GCC
40116 builtin and then its argument prototype would still apply. */
40121 /* The GNU C library defines this for functions which it implements
40122 to always fail with ENOSYS. Some functions are actually named
40123 something starting with __ and the normal name is an alias. */
40124 #if defined __stub_$ac_func || defined __stub___$ac_func
40131 return $ac_func ();
40136 rm -f conftest.$ac_objext conftest$ac_exeext
40137 if { (ac_try="$ac_link"
40138 case "(($ac_try" in
40139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40140 *) ac_try_echo
=$ac_try;;
40142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40143 (eval "$ac_link") 2>conftest.er1
40145 grep -v '^ *+' conftest.er1
>conftest.err
40147 cat conftest.err
>&5
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); } && {
40150 test -z "$ac_c_werror_flag" ||
40151 test ! -s conftest.err
40152 } && test -s conftest
$ac_exeext &&
40153 $as_test_x conftest
$ac_exeext; then
40154 eval "$as_ac_var=yes"
40156 echo "$as_me: failed program was:" >&5
40157 sed 's/^/| /' conftest.
$ac_ext >&5
40159 eval "$as_ac_var=no"
40162 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40163 conftest
$ac_exeext conftest.
$ac_ext
40165 ac_res
=`eval echo '${'$as_ac_var'}'`
40166 { echo "$as_me:$LINENO: result: $ac_res" >&5
40167 echo "${ECHO_T}$ac_res" >&6; }
40168 if test `eval echo '${'$as_ac_var'}'` = yes; then
40169 cat >>confdefs.h
<<_ACEOF
40170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40178 HAVE_SOME_SLEEP_FUNC
=0
40179 if test "$USE_BEOS" = 1; then
40180 cat >>confdefs.h
<<\_ACEOF
40181 #define HAVE_SLEEP 1
40184 HAVE_SOME_SLEEP_FUNC
=1
40187 if test "$USE_DARWIN" = 1; then
40188 cat >>confdefs.h
<<\_ACEOF
40189 #define HAVE_USLEEP 1
40192 HAVE_SOME_SLEEP_FUNC
=1
40195 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40198 for ac_func
in nanosleep
40200 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40201 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40203 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40204 echo $ECHO_N "(cached) $ECHO_C" >&6
40206 cat >conftest.
$ac_ext <<_ACEOF
40209 cat confdefs.h
>>conftest.
$ac_ext
40210 cat >>conftest.
$ac_ext <<_ACEOF
40211 /* end confdefs.h. */
40212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40214 #define $ac_func innocuous_$ac_func
40216 /* System header to define __stub macros and hopefully few prototypes,
40217 which can conflict with char $ac_func (); below.
40218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40219 <limits.h> exists even on freestanding compilers. */
40222 # include <limits.h>
40224 # include <assert.h>
40229 /* Override any GCC internal prototype to avoid an error.
40230 Use char because int might match the return type of a GCC
40231 builtin and then its argument prototype would still apply. */
40236 /* The GNU C library defines this for functions which it implements
40237 to always fail with ENOSYS. Some functions are actually named
40238 something starting with __ and the normal name is an alias. */
40239 #if defined __stub_$ac_func || defined __stub___$ac_func
40246 return $ac_func ();
40251 rm -f conftest.
$ac_objext conftest
$ac_exeext
40252 if { (ac_try
="$ac_link"
40253 case "(($ac_try" in
40254 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40255 *) ac_try_echo=$ac_try;;
40257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40258 (eval "$ac_link") 2>conftest.er1
40260 grep -v '^ *+' conftest.er1 >conftest.err
40262 cat conftest.err >&5
40263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40264 (exit $ac_status); } && {
40265 test -z "$ac_c_werror_flag" ||
40266 test ! -s conftest.err
40267 } && test -s conftest$ac_exeext &&
40268 $as_test_x conftest$ac_exeext; then
40269 eval "$as_ac_var=yes"
40271 echo "$as_me: failed program was:" >&5
40272 sed 's/^/| /' conftest.$ac_ext >&5
40274 eval "$as_ac_var=no"
40277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40278 conftest$ac_exeext conftest.$ac_ext
40280 ac_res=`eval echo '${'$as_ac_var'}'`
40281 { echo "$as_me:$LINENO: result: $ac_res" >&5
40282 echo "${ECHO_T}$ac_res" >&6; }
40283 if test `eval echo '${'$as_ac_var'}'` = yes; then
40284 cat >>confdefs.h <<_ACEOF
40285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40287 cat >>confdefs.h <<\_ACEOF
40288 #define HAVE_NANOSLEEP 1
40293 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40294 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40295 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40296 echo $ECHO_N "(cached) $ECHO_C" >&6
40298 ac_check_lib_save_LIBS=$LIBS
40299 LIBS="-lposix4 $LIBS"
40300 cat >conftest.$ac_ext <<_ACEOF
40303 cat confdefs.h >>conftest.$ac_ext
40304 cat >>conftest.$ac_ext <<_ACEOF
40305 /* end confdefs.h. */
40307 /* Override any GCC internal prototype to avoid an error.
40308 Use char because int might match the return type of a GCC
40309 builtin and then its argument prototype would still apply. */
40317 return nanosleep ();
40322 rm -f conftest.$ac_objext conftest$ac_exeext
40323 if { (ac_try="$ac_link"
40324 case "(($ac_try" in
40325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40326 *) ac_try_echo
=$ac_try;;
40328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40329 (eval "$ac_link") 2>conftest.er1
40331 grep -v '^ *+' conftest.er1
>conftest.err
40333 cat conftest.err
>&5
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); } && {
40336 test -z "$ac_c_werror_flag" ||
40337 test ! -s conftest.err
40338 } && test -s conftest
$ac_exeext &&
40339 $as_test_x conftest
$ac_exeext; then
40340 ac_cv_lib_posix4_nanosleep
=yes
40342 echo "$as_me: failed program was:" >&5
40343 sed 's/^/| /' conftest.
$ac_ext >&5
40345 ac_cv_lib_posix4_nanosleep
=no
40348 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40349 conftest
$ac_exeext conftest.
$ac_ext
40350 LIBS
=$ac_check_lib_save_LIBS
40352 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40353 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40354 if test $ac_cv_lib_posix4_nanosleep = yes; then
40356 cat >>confdefs.h
<<\_ACEOF
40357 #define HAVE_NANOSLEEP 1
40360 POSIX4_LINK
=" -lposix4"
40365 for wx_func
in usleep
40367 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40368 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40369 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40370 echo $ECHO_N "(cached) $ECHO_C" >&6
40373 cat >conftest.
$ac_ext <<_ACEOF
40377 cat confdefs.h
>>conftest.
$ac_ext
40378 cat >>conftest.
$ac_ext <<_ACEOF
40379 /* end confdefs.h. */
40382 $ac_includes_default
40398 rm -f conftest.
$ac_objext conftest
$ac_exeext
40399 if { (ac_try
="$ac_link"
40400 case "(($ac_try" in
40401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40402 *) ac_try_echo=$ac_try;;
40404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40405 (eval "$ac_link") 2>conftest.er1
40407 grep -v '^ *+' conftest.er1 >conftest.err
40409 cat conftest.err >&5
40410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40411 (exit $ac_status); } && {
40412 test -z "$ac_c_werror_flag" ||
40413 test ! -s conftest.err
40414 } && test -s conftest$ac_exeext &&
40415 $as_test_x conftest$ac_exeext; then
40416 eval wx_cv_func_$wx_func=yes
40418 echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.$ac_ext >&5
40421 eval wx_cv_func_$wx_func=no
40424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40425 conftest$ac_exeext conftest.$ac_ext
40428 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40429 { echo "$as_me:$LINENO: result: $ac_res" >&5
40430 echo "${ECHO_T}$ac_res" >&6; }
40432 if eval test \$wx_cv_func_$wx_func = yes
40434 cat >>confdefs.h <<_ACEOF
40435 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40441 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40442 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40459 for wx_func in uname
40461 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40462 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40463 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40464 echo $ECHO_N "(cached) $ECHO_C" >&6
40467 cat >conftest.$ac_ext <<_ACEOF
40471 cat confdefs.h >>conftest.$ac_ext
40472 cat >>conftest.$ac_ext <<_ACEOF
40473 /* end confdefs.h. */
40475 #include <sys/utsname.h>
40476 $ac_includes_default
40492 rm -f conftest.$ac_objext conftest$ac_exeext
40493 if { (ac_try="$ac_link"
40494 case "(($ac_try" in
40495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40496 *) ac_try_echo
=$ac_try;;
40498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40499 (eval "$ac_link") 2>conftest.er1
40501 grep -v '^ *+' conftest.er1
>conftest.err
40503 cat conftest.err
>&5
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); } && {
40506 test -z "$ac_c_werror_flag" ||
40507 test ! -s conftest.err
40508 } && test -s conftest
$ac_exeext &&
40509 $as_test_x conftest
$ac_exeext; then
40510 eval wx_cv_func_
$wx_func=yes
40512 echo "$as_me: failed program was:" >&5
40513 sed 's/^/| /' conftest.
$ac_ext >&5
40515 eval wx_cv_func_
$wx_func=no
40518 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40519 conftest
$ac_exeext conftest.
$ac_ext
40522 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40523 { echo "$as_me:$LINENO: result: $ac_res" >&5
40524 echo "${ECHO_T}$ac_res" >&6; }
40526 if eval test \
$wx_cv_func_$wx_func = yes
40528 cat >>confdefs.h
<<_ACEOF
40529 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40539 if test "$wx_cv_func_uname" != yes; then
40541 for wx_func
in gethostname
40543 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40544 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40545 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40546 echo $ECHO_N "(cached) $ECHO_C" >&6
40549 cat >conftest.
$ac_ext <<_ACEOF
40553 cat confdefs.h
>>conftest.
$ac_ext
40554 cat >>conftest.
$ac_ext <<_ACEOF
40555 /* end confdefs.h. */
40558 $ac_includes_default
40574 rm -f conftest.
$ac_objext conftest
$ac_exeext
40575 if { (ac_try
="$ac_link"
40576 case "(($ac_try" in
40577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40578 *) ac_try_echo=$ac_try;;
40580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40581 (eval "$ac_link") 2>conftest.er1
40583 grep -v '^ *+' conftest.er1 >conftest.err
40585 cat conftest.err >&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); } && {
40588 test -z "$ac_c_werror_flag" ||
40589 test ! -s conftest.err
40590 } && test -s conftest$ac_exeext &&
40591 $as_test_x conftest$ac_exeext; then
40592 eval wx_cv_func_$wx_func=yes
40594 echo "$as_me: failed program was:" >&5
40595 sed 's/^/| /' conftest.$ac_ext >&5
40597 eval wx_cv_func_$wx_func=no
40600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40601 conftest$ac_exeext conftest.$ac_ext
40604 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40605 { echo "$as_me:$LINENO: result: $ac_res" >&5
40606 echo "${ECHO_T}$ac_res" >&6; }
40608 if eval test \$wx_cv_func_$wx_func = yes
40610 cat >>confdefs.h <<_ACEOF
40611 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40624 for wx_func in strtok_r
40626 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40627 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40628 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40629 echo $ECHO_N "(cached) $ECHO_C" >&6
40632 cat >conftest.$ac_ext <<_ACEOF
40636 cat confdefs.h >>conftest.$ac_ext
40637 cat >>conftest.$ac_ext <<_ACEOF
40638 /* end confdefs.h. */
40641 $ac_includes_default
40657 rm -f conftest.$ac_objext conftest$ac_exeext
40658 if { (ac_try="$ac_link"
40659 case "(($ac_try" in
40660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40661 *) ac_try_echo
=$ac_try;;
40663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40664 (eval "$ac_link") 2>conftest.er1
40666 grep -v '^ *+' conftest.er1
>conftest.err
40668 cat conftest.err
>&5
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); } && {
40671 test -z "$ac_c_werror_flag" ||
40672 test ! -s conftest.err
40673 } && test -s conftest
$ac_exeext &&
40674 $as_test_x conftest
$ac_exeext; then
40675 eval wx_cv_func_
$wx_func=yes
40677 echo "$as_me: failed program was:" >&5
40678 sed 's/^/| /' conftest.
$ac_ext >&5
40680 eval wx_cv_func_
$wx_func=no
40683 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40684 conftest
$ac_exeext conftest.
$ac_ext
40687 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40688 { echo "$as_me:$LINENO: result: $ac_res" >&5
40689 echo "${ECHO_T}$ac_res" >&6; }
40691 if eval test \
$wx_cv_func_$wx_func = yes
40693 cat >>confdefs.h
<<_ACEOF
40694 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40707 for ac_func
in inet_addr
40709 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40712 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40713 echo $ECHO_N "(cached) $ECHO_C" >&6
40715 cat >conftest.
$ac_ext <<_ACEOF
40718 cat confdefs.h
>>conftest.
$ac_ext
40719 cat >>conftest.
$ac_ext <<_ACEOF
40720 /* end confdefs.h. */
40721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40723 #define $ac_func innocuous_$ac_func
40725 /* System header to define __stub macros and hopefully few prototypes,
40726 which can conflict with char $ac_func (); below.
40727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40728 <limits.h> exists even on freestanding compilers. */
40731 # include <limits.h>
40733 # include <assert.h>
40738 /* Override any GCC internal prototype to avoid an error.
40739 Use char because int might match the return type of a GCC
40740 builtin and then its argument prototype would still apply. */
40745 /* The GNU C library defines this for functions which it implements
40746 to always fail with ENOSYS. Some functions are actually named
40747 something starting with __ and the normal name is an alias. */
40748 #if defined __stub_$ac_func || defined __stub___$ac_func
40755 return $ac_func ();
40760 rm -f conftest.
$ac_objext conftest
$ac_exeext
40761 if { (ac_try
="$ac_link"
40762 case "(($ac_try" in
40763 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40764 *) ac_try_echo=$ac_try;;
40766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40767 (eval "$ac_link") 2>conftest.er1
40769 grep -v '^ *+' conftest.er1 >conftest.err
40771 cat conftest.err >&5
40772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40773 (exit $ac_status); } && {
40774 test -z "$ac_c_werror_flag" ||
40775 test ! -s conftest.err
40776 } && test -s conftest$ac_exeext &&
40777 $as_test_x conftest$ac_exeext; then
40778 eval "$as_ac_var=yes"
40780 echo "$as_me: failed program was:" >&5
40781 sed 's/^/| /' conftest.$ac_ext >&5
40783 eval "$as_ac_var=no"
40786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40787 conftest$ac_exeext conftest.$ac_ext
40789 ac_res=`eval echo '${'$as_ac_var'}'`
40790 { echo "$as_me:$LINENO: result: $ac_res" >&5
40791 echo "${ECHO_T}$ac_res" >&6; }
40792 if test `eval echo '${'$as_ac_var'}'` = yes; then
40793 cat >>confdefs.h <<_ACEOF
40794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40796 cat >>confdefs.h <<\_ACEOF
40797 #define HAVE_INET_ADDR 1
40802 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40803 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40804 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40805 echo $ECHO_N "(cached) $ECHO_C" >&6
40807 ac_check_lib_save_LIBS=$LIBS
40809 cat >conftest.$ac_ext <<_ACEOF
40812 cat confdefs.h >>conftest.$ac_ext
40813 cat >>conftest.$ac_ext <<_ACEOF
40814 /* end confdefs.h. */
40816 /* Override any GCC internal prototype to avoid an error.
40817 Use char because int might match the return type of a GCC
40818 builtin and then its argument prototype would still apply. */
40826 return inet_addr ();
40831 rm -f conftest.$ac_objext conftest$ac_exeext
40832 if { (ac_try="$ac_link"
40833 case "(($ac_try" in
40834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40835 *) ac_try_echo
=$ac_try;;
40837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40838 (eval "$ac_link") 2>conftest.er1
40840 grep -v '^ *+' conftest.er1
>conftest.err
40842 cat conftest.err
>&5
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); } && {
40845 test -z "$ac_c_werror_flag" ||
40846 test ! -s conftest.err
40847 } && test -s conftest
$ac_exeext &&
40848 $as_test_x conftest
$ac_exeext; then
40849 ac_cv_lib_nsl_inet_addr
=yes
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.
$ac_ext >&5
40854 ac_cv_lib_nsl_inet_addr
=no
40857 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40858 conftest
$ac_exeext conftest.
$ac_ext
40859 LIBS
=$ac_check_lib_save_LIBS
40861 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40862 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40863 if test $ac_cv_lib_nsl_inet_addr = yes; then
40867 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40868 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40869 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40870 echo $ECHO_N "(cached) $ECHO_C" >&6
40872 ac_check_lib_save_LIBS
=$LIBS
40873 LIBS
="-lresolv $LIBS"
40874 cat >conftest.
$ac_ext <<_ACEOF
40877 cat confdefs.h
>>conftest.
$ac_ext
40878 cat >>conftest.
$ac_ext <<_ACEOF
40879 /* end confdefs.h. */
40881 /* Override any GCC internal prototype to avoid an error.
40882 Use char because int might match the return type of a GCC
40883 builtin and then its argument prototype would still apply. */
40891 return inet_addr ();
40896 rm -f conftest.
$ac_objext conftest
$ac_exeext
40897 if { (ac_try
="$ac_link"
40898 case "(($ac_try" in
40899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40900 *) ac_try_echo=$ac_try;;
40902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40903 (eval "$ac_link") 2>conftest.er1
40905 grep -v '^ *+' conftest.er1 >conftest.err
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } && {
40910 test -z "$ac_c_werror_flag" ||
40911 test ! -s conftest.err
40912 } && test -s conftest$ac_exeext &&
40913 $as_test_x conftest$ac_exeext; then
40914 ac_cv_lib_resolv_inet_addr=yes
40916 echo "$as_me: failed program was:" >&5
40917 sed 's/^/| /' conftest.$ac_ext >&5
40919 ac_cv_lib_resolv_inet_addr=no
40922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40923 conftest$ac_exeext conftest.$ac_ext
40924 LIBS=$ac_check_lib_save_LIBS
40926 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40927 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40928 if test $ac_cv_lib_resolv_inet_addr = yes; then
40932 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40933 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40934 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40935 echo $ECHO_N "(cached) $ECHO_C" >&6
40937 ac_check_lib_save_LIBS=$LIBS
40938 LIBS="-lsocket $LIBS"
40939 cat >conftest.$ac_ext <<_ACEOF
40942 cat confdefs.h >>conftest.$ac_ext
40943 cat >>conftest.$ac_ext <<_ACEOF
40944 /* end confdefs.h. */
40946 /* Override any GCC internal prototype to avoid an error.
40947 Use char because int might match the return type of a GCC
40948 builtin and then its argument prototype would still apply. */
40956 return inet_addr ();
40961 rm -f conftest.$ac_objext conftest$ac_exeext
40962 if { (ac_try="$ac_link"
40963 case "(($ac_try" in
40964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40965 *) ac_try_echo
=$ac_try;;
40967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40968 (eval "$ac_link") 2>conftest.er1
40970 grep -v '^ *+' conftest.er1
>conftest.err
40972 cat conftest.err
>&5
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); } && {
40975 test -z "$ac_c_werror_flag" ||
40976 test ! -s conftest.err
40977 } && test -s conftest
$ac_exeext &&
40978 $as_test_x conftest
$ac_exeext; then
40979 ac_cv_lib_socket_inet_addr
=yes
40981 echo "$as_me: failed program was:" >&5
40982 sed 's/^/| /' conftest.
$ac_ext >&5
40984 ac_cv_lib_socket_inet_addr
=no
40987 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40988 conftest
$ac_exeext conftest.
$ac_ext
40989 LIBS
=$ac_check_lib_save_LIBS
40991 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40992 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40993 if test $ac_cv_lib_socket_inet_addr = yes; then
41013 for ac_func
in inet_aton
41015 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41018 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41019 echo $ECHO_N "(cached) $ECHO_C" >&6
41021 cat >conftest.
$ac_ext <<_ACEOF
41024 cat confdefs.h
>>conftest.
$ac_ext
41025 cat >>conftest.
$ac_ext <<_ACEOF
41026 /* end confdefs.h. */
41027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41029 #define $ac_func innocuous_$ac_func
41031 /* System header to define __stub macros and hopefully few prototypes,
41032 which can conflict with char $ac_func (); below.
41033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41034 <limits.h> exists even on freestanding compilers. */
41037 # include <limits.h>
41039 # include <assert.h>
41044 /* Override any GCC internal prototype to avoid an error.
41045 Use char because int might match the return type of a GCC
41046 builtin and then its argument prototype would still apply. */
41051 /* The GNU C library defines this for functions which it implements
41052 to always fail with ENOSYS. Some functions are actually named
41053 something starting with __ and the normal name is an alias. */
41054 #if defined __stub_$ac_func || defined __stub___$ac_func
41061 return $ac_func ();
41066 rm -f conftest.
$ac_objext conftest
$ac_exeext
41067 if { (ac_try
="$ac_link"
41068 case "(($ac_try" in
41069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41070 *) ac_try_echo=$ac_try;;
41072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41073 (eval "$ac_link") 2>conftest.er1
41075 grep -v '^ *+' conftest.er1 >conftest.err
41077 cat conftest.err >&5
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); } && {
41080 test -z "$ac_c_werror_flag" ||
41081 test ! -s conftest.err
41082 } && test -s conftest$ac_exeext &&
41083 $as_test_x conftest$ac_exeext; then
41084 eval "$as_ac_var=yes"
41086 echo "$as_me: failed program was:" >&5
41087 sed 's/^/| /' conftest.$ac_ext >&5
41089 eval "$as_ac_var=no"
41092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41093 conftest$ac_exeext conftest.$ac_ext
41095 ac_res=`eval echo '${'$as_ac_var'}'`
41096 { echo "$as_me:$LINENO: result: $ac_res" >&5
41097 echo "${ECHO_T}$ac_res" >&6; }
41098 if test `eval echo '${'$as_ac_var'}'` = yes; then
41099 cat >>confdefs.h <<_ACEOF
41100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41102 cat >>confdefs.h <<\_ACEOF
41103 #define HAVE_INET_ATON 1
41108 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41109 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41110 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41111 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41112 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 ac_check_lib_save_LIBS=$LIBS
41115 LIBS="-l$INET_LINK $LIBS"
41116 cat >conftest.$ac_ext <<_ACEOF
41119 cat confdefs.h >>conftest.$ac_ext
41120 cat >>conftest.$ac_ext <<_ACEOF
41121 /* end confdefs.h. */
41123 /* Override any GCC internal prototype to avoid an error.
41124 Use char because int might match the return type of a GCC
41125 builtin and then its argument prototype would still apply. */
41133 return inet_aton ();
41138 rm -f conftest.$ac_objext conftest$ac_exeext
41139 if { (ac_try="$ac_link"
41140 case "(($ac_try" in
41141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41142 *) ac_try_echo
=$ac_try;;
41144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41145 (eval "$ac_link") 2>conftest.er1
41147 grep -v '^ *+' conftest.er1
>conftest.err
41149 cat conftest.err
>&5
41150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41151 (exit $ac_status); } && {
41152 test -z "$ac_c_werror_flag" ||
41153 test ! -s conftest.err
41154 } && test -s conftest
$ac_exeext &&
41155 $as_test_x conftest
$ac_exeext; then
41156 eval "$as_ac_Lib=yes"
41158 echo "$as_me: failed program was:" >&5
41159 sed 's/^/| /' conftest.
$ac_ext >&5
41161 eval "$as_ac_Lib=no"
41164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41165 conftest
$ac_exeext conftest.
$ac_ext
41166 LIBS
=$ac_check_lib_save_LIBS
41168 ac_res
=`eval echo '${'$as_ac_Lib'}'`
41169 { echo "$as_me:$LINENO: result: $ac_res" >&5
41170 echo "${ECHO_T}$ac_res" >&6; }
41171 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41172 cat >>confdefs.h
<<\_ACEOF
41173 #define HAVE_INET_ATON 1
41183 if test "x$INET_LINK" != "x"; then
41184 cat >>confdefs.h
<<\_ACEOF
41185 #define HAVE_INET_ADDR 1
41188 INET_LINK
=" -l$INET_LINK"
41192 for wx_func
in fdopen
41194 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41195 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41196 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41197 echo $ECHO_N "(cached) $ECHO_C" >&6
41200 cat >conftest.
$ac_ext <<_ACEOF
41204 cat confdefs.h
>>conftest.
$ac_ext
41205 cat >>conftest.
$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41209 $ac_includes_default
41225 rm -f conftest.
$ac_objext conftest
$ac_exeext
41226 if { (ac_try
="$ac_link"
41227 case "(($ac_try" in
41228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41229 *) ac_try_echo=$ac_try;;
41231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41232 (eval "$ac_link") 2>conftest.er1
41234 grep -v '^ *+' conftest.er1 >conftest.err
41236 cat conftest.err >&5
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); } && {
41239 test -z "$ac_c_werror_flag" ||
41240 test ! -s conftest.err
41241 } && test -s conftest$ac_exeext &&
41242 $as_test_x conftest$ac_exeext; then
41243 eval wx_cv_func_$wx_func=yes
41245 echo "$as_me: failed program was:" >&5
41246 sed 's/^/| /' conftest.$ac_ext >&5
41248 eval wx_cv_func_$wx_func=no
41251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41252 conftest$ac_exeext conftest.$ac_ext
41255 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41256 { echo "$as_me:$LINENO: result: $ac_res" >&5
41257 echo "${ECHO_T}$ac_res" >&6; }
41259 if eval test \$wx_cv_func_$wx_func = yes
41261 cat >>confdefs.h <<_ACEOF
41262 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41277 cat >confcache <<\_ACEOF
41278 # This file is a shell script that caches the results of configure
41279 # tests run on this system so they can be shared between configure
41280 # scripts and configure runs, see configure's option --config-cache.
41281 # It is not useful on other systems. If it contains results you don't
41282 # want to keep, you may remove or edit it.
41284 # config.status only pays attention to the cache file if you give it
41285 # the --recheck option to rerun configure.
41287 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
41288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41289 # following values.
41293 # The following way of writing the cache mishandles newlines in values,
41294 # but we know of no workaround that is simple, portable, and efficient.
41295 # So, we kill variables containing newlines.
41296 # Ultrix sh set writes to stderr and can't be redirected directly,
41297 # and sets the high bit in the cache file unless we assign to the vars.
41299 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41300 eval ac_val
=\$
$ac_var
41304 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41305 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41308 _
| IFS
| as_nl
) ;; #(
41309 *) $as_unset $ac_var ;;
41315 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41316 *${as_nl}ac_space
=\
*)
41317 # `set' does not quote correctly, so add quotes (double-quote
41318 # substitution turns \\\\ into \\, and sed turns \\ into \).
41321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41324 # `set' quotes correctly as required by POSIX, so do not add quotes.
41325 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41334 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41336 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41338 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41339 if test -w "$cache_file"; then
41340 test "x$cache_file" != "x/dev/null" &&
41341 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41342 echo "$as_me: updating cache $cache_file" >&6;}
41343 cat confcache
>$cache_file
41345 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41346 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41352 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41358 if test "$wxUSE_THREADS" = "yes" ; then
41359 if test "$USE_BEOS" = 1; then
41360 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41361 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41366 if test "$wxUSE_THREADS" = "yes" ; then
41369 THREAD_OPTS
="-pthread"
41370 if test "x$SUNCXX" = xyes
; then
41371 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41375 *-*-solaris2* | *-*-sunos4* )
41376 if test "x$GCC" = "xyes"; then
41377 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41381 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41383 *-*-darwin* | *-*-cygwin* )
41387 THREAD_OPTS
="pthreads"
41390 if test "x$GCC" = "xyes"; then
41391 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41399 if test "x$GCC" = "xyes"; then
41405 if test "x$GCC" != "xyes"; then
41406 THREAD_OPTS
="-Ethread"
41411 THREAD_OPTS
="$THREAD_OPTS pthread none"
41414 for flag
in $THREAD_OPTS; do
41417 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41418 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41422 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41423 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41424 THREADS_CFLAGS
="$flag"
41428 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41429 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41430 THREADS_LINK
="-l$flag"
41435 save_CFLAGS
="$CFLAGS"
41436 LIBS
="$THREADS_LINK $LIBS"
41437 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41439 cat >conftest.
$ac_ext <<_ACEOF
41442 cat confdefs.h
>>conftest.
$ac_ext
41443 cat >>conftest.
$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41445 #include <pthread.h>
41449 pthread_create(0,0,0,0);
41454 rm -f conftest.
$ac_objext conftest
$ac_exeext
41455 if { (ac_try
="$ac_link"
41456 case "(($ac_try" in
41457 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41458 *) ac_try_echo=$ac_try;;
41460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41461 (eval "$ac_link") 2>conftest.er1
41463 grep -v '^ *+' conftest.er1 >conftest.err
41465 cat conftest.err >&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); } && {
41468 test -z "$ac_c_werror_flag" ||
41469 test ! -s conftest.err
41470 } && test -s conftest$ac_exeext &&
41471 $as_test_x conftest$ac_exeext; then
41474 echo "$as_me: failed program was:" >&5
41475 sed 's/^/| /' conftest.$ac_ext >&5
41480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41481 conftest$ac_exeext conftest.$ac_ext
41484 CFLAGS="$save_CFLAGS"
41486 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41487 echo "${ECHO_T}$THREADS_OK" >&6; }
41488 if test "x$THREADS_OK" = "xyes"; then
41496 if test "x$THREADS_OK" != "xyes"; then
41498 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41499 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41501 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41502 LIBS="$THREADS_LINK $LIBS"
41504 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41505 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41509 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41510 flag="-D_THREAD_SAFE"
41513 flag="-D_THREAD_SAFE"
41516 flag="-D_REENTRANT"
41517 if test "x$GCC" != "xyes"; then
41518 flag="$flag -D_RWSTD_MULTI_THREAD"
41521 *solaris* | alpha*-osf*)
41522 flag="-D_REENTRANT"
41525 { echo "$as_me:$LINENO: result: ${flag}" >&5
41526 echo "${ECHO_T}${flag}" >&6; }
41527 if test "x$flag" != xno; then
41528 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41531 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41535 if test "$wxUSE_THREADS" = "yes" ; then
41537 for ac_func in thr_setconcurrency
41539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41543 echo $ECHO_N "(cached) $ECHO_C" >&6
41545 cat >conftest.$ac_ext <<_ACEOF
41548 cat confdefs.h >>conftest.$ac_ext
41549 cat >>conftest.$ac_ext <<_ACEOF
41550 /* end confdefs.h. */
41551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41553 #define $ac_func innocuous_$ac_func
41555 /* System header to define __stub macros and hopefully few prototypes,
41556 which can conflict with char $ac_func (); below.
41557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41558 <limits.h> exists even on freestanding compilers. */
41561 # include <limits.h>
41563 # include <assert.h>
41568 /* Override any GCC internal prototype to avoid an error.
41569 Use char because int might match the return type of a GCC
41570 builtin and then its argument prototype would still apply. */
41575 /* The GNU C library defines this for functions which it implements
41576 to always fail with ENOSYS. Some functions are actually named
41577 something starting with __ and the normal name is an alias. */
41578 #if defined __stub_$ac_func || defined __stub___$ac_func
41585 return $ac_func ();
41590 rm -f conftest.$ac_objext conftest$ac_exeext
41591 if { (ac_try="$ac_link"
41592 case "(($ac_try" in
41593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41594 *) ac_try_echo
=$ac_try;;
41596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41597 (eval "$ac_link") 2>conftest.er1
41599 grep -v '^ *+' conftest.er1
>conftest.err
41601 cat conftest.err
>&5
41602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41603 (exit $ac_status); } && {
41604 test -z "$ac_c_werror_flag" ||
41605 test ! -s conftest.err
41606 } && test -s conftest
$ac_exeext &&
41607 $as_test_x conftest
$ac_exeext; then
41608 eval "$as_ac_var=yes"
41610 echo "$as_me: failed program was:" >&5
41611 sed 's/^/| /' conftest.
$ac_ext >&5
41613 eval "$as_ac_var=no"
41616 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41617 conftest
$ac_exeext conftest.
$ac_ext
41619 ac_res
=`eval echo '${'$as_ac_var'}'`
41620 { echo "$as_me:$LINENO: result: $ac_res" >&5
41621 echo "${ECHO_T}$ac_res" >&6; }
41622 if test `eval echo '${'$as_ac_var'}'` = yes; then
41623 cat >>confdefs.h
<<_ACEOF
41624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41631 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41632 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41633 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41634 echo $ECHO_N "(cached) $ECHO_C" >&6
41638 ac_cpp
='$CXXCPP $CPPFLAGS'
41639 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41640 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41641 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41643 cat >conftest.
$ac_ext <<_ACEOF
41646 cat confdefs.h
>>conftest.
$ac_ext
41647 cat >>conftest.
$ac_ext <<_ACEOF
41648 /* end confdefs.h. */
41649 #include <pthread.h>
41650 void ThreadCleanupFunc(void *p);
41657 pthread_cleanup_push(ThreadCleanupFunc, p);
41658 pthread_cleanup_pop(0);
41664 rm -f conftest.
$ac_objext
41665 if { (ac_try
="$ac_compile"
41666 case "(($ac_try" in
41667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41668 *) ac_try_echo=$ac_try;;
41670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41671 (eval "$ac_compile") 2>conftest.er1
41673 grep -v '^ *+' conftest.er1 >conftest.err
41675 cat conftest.err >&5
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); } && {
41678 test -z "$ac_cxx_werror_flag" ||
41679 test ! -s conftest.err
41680 } && test -s conftest.$ac_objext; then
41682 wx_cv_func_pthread_cleanup=yes
41685 echo "$as_me: failed program was:" >&5
41686 sed 's/^/| /' conftest.$ac_ext >&5
41689 wx_cv_func_pthread_cleanup=no
41694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41696 ac_cpp='$CPP $CPPFLAGS'
41697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41703 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41704 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41705 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41706 cat >>confdefs.h <<\_ACEOF
41707 #define wxHAVE_PTHREAD_CLEANUP 1
41713 for ac_header in sched.h
41715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41716 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41719 echo $ECHO_N "(cached) $ECHO_C" >&6
41721 cat >conftest.$ac_ext <<_ACEOF
41724 cat confdefs.h >>conftest.$ac_ext
41725 cat >>conftest.$ac_ext <<_ACEOF
41726 /* end confdefs.h. */
41727 $ac_includes_default
41729 #include <$ac_header>
41731 rm -f conftest.$ac_objext
41732 if { (ac_try="$ac_compile"
41733 case "(($ac_try" in
41734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41735 *) ac_try_echo
=$ac_try;;
41737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41738 (eval "$ac_compile") 2>conftest.er1
41740 grep -v '^ *+' conftest.er1
>conftest.err
41742 cat conftest.err
>&5
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); } && {
41745 test -z "$ac_c_werror_flag" ||
41746 test ! -s conftest.err
41747 } && test -s conftest.
$ac_objext; then
41748 eval "$as_ac_Header=yes"
41750 echo "$as_me: failed program was:" >&5
41751 sed 's/^/| /' conftest.
$ac_ext >&5
41753 eval "$as_ac_Header=no"
41756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41758 ac_res
=`eval echo '${'$as_ac_Header'}'`
41759 { echo "$as_me:$LINENO: result: $ac_res" >&5
41760 echo "${ECHO_T}$ac_res" >&6; }
41761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41762 cat >>confdefs.h
<<_ACEOF
41763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41770 if test "$ac_cv_header_sched_h" = "yes"; then
41771 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41772 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41773 if test "${ac_cv_func_sched_yield+set}" = set; then
41774 echo $ECHO_N "(cached) $ECHO_C" >&6
41776 cat >conftest.
$ac_ext <<_ACEOF
41779 cat confdefs.h
>>conftest.
$ac_ext
41780 cat >>conftest.
$ac_ext <<_ACEOF
41781 /* end confdefs.h. */
41782 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41784 #define sched_yield innocuous_sched_yield
41786 /* System header to define __stub macros and hopefully few prototypes,
41787 which can conflict with char sched_yield (); below.
41788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41789 <limits.h> exists even on freestanding compilers. */
41792 # include <limits.h>
41794 # include <assert.h>
41799 /* Override any GCC internal prototype to avoid an error.
41800 Use char because int might match the return type of a GCC
41801 builtin and then its argument prototype would still apply. */
41805 char sched_yield ();
41806 /* The GNU C library defines this for functions which it implements
41807 to always fail with ENOSYS. Some functions are actually named
41808 something starting with __ and the normal name is an alias. */
41809 #if defined __stub_sched_yield || defined __stub___sched_yield
41816 return sched_yield ();
41821 rm -f conftest.
$ac_objext conftest
$ac_exeext
41822 if { (ac_try
="$ac_link"
41823 case "(($ac_try" in
41824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41825 *) ac_try_echo=$ac_try;;
41827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41828 (eval "$ac_link") 2>conftest.er1
41830 grep -v '^ *+' conftest.er1 >conftest.err
41832 cat conftest.err >&5
41833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41834 (exit $ac_status); } && {
41835 test -z "$ac_c_werror_flag" ||
41836 test ! -s conftest.err
41837 } && test -s conftest$ac_exeext &&
41838 $as_test_x conftest$ac_exeext; then
41839 ac_cv_func_sched_yield=yes
41841 echo "$as_me: failed program was:" >&5
41842 sed 's/^/| /' conftest.$ac_ext >&5
41844 ac_cv_func_sched_yield=no
41847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41848 conftest$ac_exeext conftest.$ac_ext
41850 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41851 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41852 if test $ac_cv_func_sched_yield = yes; then
41853 cat >>confdefs.h <<\_ACEOF
41854 #define HAVE_SCHED_YIELD 1
41859 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41860 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41861 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41862 echo $ECHO_N "(cached) $ECHO_C" >&6
41864 ac_check_lib_save_LIBS=$LIBS
41865 LIBS="-lposix4 $LIBS"
41866 cat >conftest.$ac_ext <<_ACEOF
41869 cat confdefs.h >>conftest.$ac_ext
41870 cat >>conftest.$ac_ext <<_ACEOF
41871 /* end confdefs.h. */
41873 /* Override any GCC internal prototype to avoid an error.
41874 Use char because int might match the return type of a GCC
41875 builtin and then its argument prototype would still apply. */
41879 char sched_yield ();
41883 return sched_yield ();
41888 rm -f conftest.$ac_objext conftest$ac_exeext
41889 if { (ac_try="$ac_link"
41890 case "(($ac_try" in
41891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41892 *) ac_try_echo
=$ac_try;;
41894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41895 (eval "$ac_link") 2>conftest.er1
41897 grep -v '^ *+' conftest.er1
>conftest.err
41899 cat conftest.err
>&5
41900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41901 (exit $ac_status); } && {
41902 test -z "$ac_c_werror_flag" ||
41903 test ! -s conftest.err
41904 } && test -s conftest
$ac_exeext &&
41905 $as_test_x conftest
$ac_exeext; then
41906 ac_cv_lib_posix4_sched_yield
=yes
41908 echo "$as_me: failed program was:" >&5
41909 sed 's/^/| /' conftest.
$ac_ext >&5
41911 ac_cv_lib_posix4_sched_yield
=no
41914 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41915 conftest
$ac_exeext conftest.
$ac_ext
41916 LIBS
=$ac_check_lib_save_LIBS
41918 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41919 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41920 if test $ac_cv_lib_posix4_sched_yield = yes; then
41921 cat >>confdefs.h
<<\_ACEOF
41922 #define HAVE_SCHED_YIELD 1
41924 POSIX4_LINK
=" -lposix4"
41926 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41927 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41938 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41939 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41940 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41941 echo $ECHO_N "(cached) $ECHO_C" >&6
41943 cat >conftest.
$ac_ext <<_ACEOF
41946 cat confdefs.h
>>conftest.
$ac_ext
41947 cat >>conftest.
$ac_ext <<_ACEOF
41948 /* end confdefs.h. */
41949 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41951 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41953 /* System header to define __stub macros and hopefully few prototypes,
41954 which can conflict with char pthread_attr_getschedpolicy (); below.
41955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41956 <limits.h> exists even on freestanding compilers. */
41959 # include <limits.h>
41961 # include <assert.h>
41964 #undef pthread_attr_getschedpolicy
41966 /* Override any GCC internal prototype to avoid an error.
41967 Use char because int might match the return type of a GCC
41968 builtin and then its argument prototype would still apply. */
41972 char pthread_attr_getschedpolicy ();
41973 /* The GNU C library defines this for functions which it implements
41974 to always fail with ENOSYS. Some functions are actually named
41975 something starting with __ and the normal name is an alias. */
41976 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41983 return pthread_attr_getschedpolicy ();
41988 rm -f conftest.
$ac_objext conftest
$ac_exeext
41989 if { (ac_try
="$ac_link"
41990 case "(($ac_try" in
41991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41992 *) ac_try_echo=$ac_try;;
41994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41995 (eval "$ac_link") 2>conftest.er1
41997 grep -v '^ *+' conftest.er1 >conftest.err
41999 cat conftest.err >&5
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); } && {
42002 test -z "$ac_c_werror_flag" ||
42003 test ! -s conftest.err
42004 } && test -s conftest$ac_exeext &&
42005 $as_test_x conftest$ac_exeext; then
42006 ac_cv_func_pthread_attr_getschedpolicy=yes
42008 echo "$as_me: failed program was:" >&5
42009 sed 's/^/| /' conftest.$ac_ext >&5
42011 ac_cv_func_pthread_attr_getschedpolicy=no
42014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42015 conftest$ac_exeext conftest.$ac_ext
42017 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42018 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42019 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42020 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42021 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42022 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42023 echo $ECHO_N "(cached) $ECHO_C" >&6
42025 cat >conftest.$ac_ext <<_ACEOF
42028 cat confdefs.h >>conftest.$ac_ext
42029 cat >>conftest.$ac_ext <<_ACEOF
42030 /* end confdefs.h. */
42031 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42033 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42035 /* System header to define __stub macros and hopefully few prototypes,
42036 which can conflict with char pthread_attr_setschedparam (); below.
42037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42038 <limits.h> exists even on freestanding compilers. */
42041 # include <limits.h>
42043 # include <assert.h>
42046 #undef pthread_attr_setschedparam
42048 /* Override any GCC internal prototype to avoid an error.
42049 Use char because int might match the return type of a GCC
42050 builtin and then its argument prototype would still apply. */
42054 char pthread_attr_setschedparam ();
42055 /* The GNU C library defines this for functions which it implements
42056 to always fail with ENOSYS. Some functions are actually named
42057 something starting with __ and the normal name is an alias. */
42058 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42065 return pthread_attr_setschedparam ();
42070 rm -f conftest.$ac_objext conftest$ac_exeext
42071 if { (ac_try="$ac_link"
42072 case "(($ac_try" in
42073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42074 *) ac_try_echo
=$ac_try;;
42076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42077 (eval "$ac_link") 2>conftest.er1
42079 grep -v '^ *+' conftest.er1
>conftest.err
42081 cat conftest.err
>&5
42082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42083 (exit $ac_status); } && {
42084 test -z "$ac_c_werror_flag" ||
42085 test ! -s conftest.err
42086 } && test -s conftest
$ac_exeext &&
42087 $as_test_x conftest
$ac_exeext; then
42088 ac_cv_func_pthread_attr_setschedparam
=yes
42090 echo "$as_me: failed program was:" >&5
42091 sed 's/^/| /' conftest.
$ac_ext >&5
42093 ac_cv_func_pthread_attr_setschedparam
=no
42096 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42097 conftest
$ac_exeext conftest.
$ac_ext
42099 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42100 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42101 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42102 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42103 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42104 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42105 echo $ECHO_N "(cached) $ECHO_C" >&6
42107 cat >conftest.
$ac_ext <<_ACEOF
42110 cat confdefs.h
>>conftest.
$ac_ext
42111 cat >>conftest.
$ac_ext <<_ACEOF
42112 /* end confdefs.h. */
42113 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42115 #define sched_get_priority_max innocuous_sched_get_priority_max
42117 /* System header to define __stub macros and hopefully few prototypes,
42118 which can conflict with char sched_get_priority_max (); below.
42119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42120 <limits.h> exists even on freestanding compilers. */
42123 # include <limits.h>
42125 # include <assert.h>
42128 #undef sched_get_priority_max
42130 /* Override any GCC internal prototype to avoid an error.
42131 Use char because int might match the return type of a GCC
42132 builtin and then its argument prototype would still apply. */
42136 char sched_get_priority_max ();
42137 /* The GNU C library defines this for functions which it implements
42138 to always fail with ENOSYS. Some functions are actually named
42139 something starting with __ and the normal name is an alias. */
42140 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42147 return sched_get_priority_max ();
42152 rm -f conftest.
$ac_objext conftest
$ac_exeext
42153 if { (ac_try
="$ac_link"
42154 case "(($ac_try" in
42155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42156 *) ac_try_echo=$ac_try;;
42158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42159 (eval "$ac_link") 2>conftest.er1
42161 grep -v '^ *+' conftest.er1 >conftest.err
42163 cat conftest.err >&5
42164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42165 (exit $ac_status); } && {
42166 test -z "$ac_c_werror_flag" ||
42167 test ! -s conftest.err
42168 } && test -s conftest$ac_exeext &&
42169 $as_test_x conftest$ac_exeext; then
42170 ac_cv_func_sched_get_priority_max=yes
42172 echo "$as_me: failed program was:" >&5
42173 sed 's/^/| /' conftest.$ac_ext >&5
42175 ac_cv_func_sched_get_priority_max=no
42178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42179 conftest$ac_exeext conftest.$ac_ext
42181 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42182 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42183 if test $ac_cv_func_sched_get_priority_max = yes; then
42186 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42187 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42188 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42189 echo $ECHO_N "(cached) $ECHO_C" >&6
42191 ac_check_lib_save_LIBS=$LIBS
42192 LIBS="-lposix4 $LIBS"
42193 cat >conftest.$ac_ext <<_ACEOF
42196 cat confdefs.h >>conftest.$ac_ext
42197 cat >>conftest.$ac_ext <<_ACEOF
42198 /* end confdefs.h. */
42200 /* Override any GCC internal prototype to avoid an error.
42201 Use char because int might match the return type of a GCC
42202 builtin and then its argument prototype would still apply. */
42206 char sched_get_priority_max ();
42210 return sched_get_priority_max ();
42215 rm -f conftest.$ac_objext conftest$ac_exeext
42216 if { (ac_try="$ac_link"
42217 case "(($ac_try" in
42218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42219 *) ac_try_echo
=$ac_try;;
42221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42222 (eval "$ac_link") 2>conftest.er1
42224 grep -v '^ *+' conftest.er1
>conftest.err
42226 cat conftest.err
>&5
42227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42228 (exit $ac_status); } && {
42229 test -z "$ac_c_werror_flag" ||
42230 test ! -s conftest.err
42231 } && test -s conftest
$ac_exeext &&
42232 $as_test_x conftest
$ac_exeext; then
42233 ac_cv_lib_posix4_sched_get_priority_max
=yes
42235 echo "$as_me: failed program was:" >&5
42236 sed 's/^/| /' conftest.
$ac_ext >&5
42238 ac_cv_lib_posix4_sched_get_priority_max
=no
42241 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42242 conftest
$ac_exeext conftest.
$ac_ext
42243 LIBS
=$ac_check_lib_save_LIBS
42245 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42246 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42247 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42250 POSIX4_LINK
=" -lposix4"
42264 if test "$HAVE_PRIOR_FUNCS" = 1; then
42265 cat >>confdefs.h
<<\_ACEOF
42266 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42270 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42271 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42274 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42275 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42276 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42277 echo $ECHO_N "(cached) $ECHO_C" >&6
42279 cat >conftest.
$ac_ext <<_ACEOF
42282 cat confdefs.h
>>conftest.
$ac_ext
42283 cat >>conftest.
$ac_ext <<_ACEOF
42284 /* end confdefs.h. */
42285 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42287 #define pthread_cancel innocuous_pthread_cancel
42289 /* System header to define __stub macros and hopefully few prototypes,
42290 which can conflict with char pthread_cancel (); below.
42291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42292 <limits.h> exists even on freestanding compilers. */
42295 # include <limits.h>
42297 # include <assert.h>
42300 #undef pthread_cancel
42302 /* Override any GCC internal prototype to avoid an error.
42303 Use char because int might match the return type of a GCC
42304 builtin and then its argument prototype would still apply. */
42308 char pthread_cancel ();
42309 /* The GNU C library defines this for functions which it implements
42310 to always fail with ENOSYS. Some functions are actually named
42311 something starting with __ and the normal name is an alias. */
42312 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42319 return pthread_cancel ();
42324 rm -f conftest.
$ac_objext conftest
$ac_exeext
42325 if { (ac_try
="$ac_link"
42326 case "(($ac_try" in
42327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42328 *) ac_try_echo=$ac_try;;
42330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42331 (eval "$ac_link") 2>conftest.er1
42333 grep -v '^ *+' conftest.er1 >conftest.err
42335 cat conftest.err >&5
42336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42337 (exit $ac_status); } && {
42338 test -z "$ac_c_werror_flag" ||
42339 test ! -s conftest.err
42340 } && test -s conftest$ac_exeext &&
42341 $as_test_x conftest$ac_exeext; then
42342 ac_cv_func_pthread_cancel=yes
42344 echo "$as_me: failed program was:" >&5
42345 sed 's/^/| /' conftest.$ac_ext >&5
42347 ac_cv_func_pthread_cancel=no
42350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42351 conftest$ac_exeext conftest.$ac_ext
42353 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42354 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42355 if test $ac_cv_func_pthread_cancel = yes; then
42356 cat >>confdefs.h <<\_ACEOF
42357 #define HAVE_PTHREAD_CANCEL 1
42361 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42362 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42366 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42367 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42368 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42369 echo $ECHO_N "(cached) $ECHO_C" >&6
42371 cat >conftest.$ac_ext <<_ACEOF
42374 cat confdefs.h >>conftest.$ac_ext
42375 cat >>conftest.$ac_ext <<_ACEOF
42376 /* end confdefs.h. */
42377 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42379 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42381 /* System header to define __stub macros and hopefully few prototypes,
42382 which can conflict with char pthread_mutex_timedlock (); below.
42383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42384 <limits.h> exists even on freestanding compilers. */
42387 # include <limits.h>
42389 # include <assert.h>
42392 #undef pthread_mutex_timedlock
42394 /* Override any GCC internal prototype to avoid an error.
42395 Use char because int might match the return type of a GCC
42396 builtin and then its argument prototype would still apply. */
42400 char pthread_mutex_timedlock ();
42401 /* The GNU C library defines this for functions which it implements
42402 to always fail with ENOSYS. Some functions are actually named
42403 something starting with __ and the normal name is an alias. */
42404 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42411 return pthread_mutex_timedlock ();
42416 rm -f conftest.$ac_objext conftest$ac_exeext
42417 if { (ac_try="$ac_link"
42418 case "(($ac_try" in
42419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42420 *) ac_try_echo
=$ac_try;;
42422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42423 (eval "$ac_link") 2>conftest.er1
42425 grep -v '^ *+' conftest.er1
>conftest.err
42427 cat conftest.err
>&5
42428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42429 (exit $ac_status); } && {
42430 test -z "$ac_c_werror_flag" ||
42431 test ! -s conftest.err
42432 } && test -s conftest
$ac_exeext &&
42433 $as_test_x conftest
$ac_exeext; then
42434 ac_cv_func_pthread_mutex_timedlock
=yes
42436 echo "$as_me: failed program was:" >&5
42437 sed 's/^/| /' conftest.
$ac_ext >&5
42439 ac_cv_func_pthread_mutex_timedlock
=no
42442 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42443 conftest
$ac_exeext conftest.
$ac_ext
42445 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42446 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42447 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42448 cat >>confdefs.h
<<\_ACEOF
42449 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42453 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42454 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42458 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42459 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42460 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42461 echo $ECHO_N "(cached) $ECHO_C" >&6
42463 cat >conftest.
$ac_ext <<_ACEOF
42466 cat confdefs.h
>>conftest.
$ac_ext
42467 cat >>conftest.
$ac_ext <<_ACEOF
42468 /* end confdefs.h. */
42469 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42471 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42473 /* System header to define __stub macros and hopefully few prototypes,
42474 which can conflict with char pthread_attr_setstacksize (); below.
42475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42476 <limits.h> exists even on freestanding compilers. */
42479 # include <limits.h>
42481 # include <assert.h>
42484 #undef pthread_attr_setstacksize
42486 /* Override any GCC internal prototype to avoid an error.
42487 Use char because int might match the return type of a GCC
42488 builtin and then its argument prototype would still apply. */
42492 char pthread_attr_setstacksize ();
42493 /* The GNU C library defines this for functions which it implements
42494 to always fail with ENOSYS. Some functions are actually named
42495 something starting with __ and the normal name is an alias. */
42496 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42503 return pthread_attr_setstacksize ();
42508 rm -f conftest.
$ac_objext conftest
$ac_exeext
42509 if { (ac_try
="$ac_link"
42510 case "(($ac_try" in
42511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42512 *) ac_try_echo=$ac_try;;
42514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42515 (eval "$ac_link") 2>conftest.er1
42517 grep -v '^ *+' conftest.er1 >conftest.err
42519 cat conftest.err >&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); } && {
42522 test -z "$ac_c_werror_flag" ||
42523 test ! -s conftest.err
42524 } && test -s conftest$ac_exeext &&
42525 $as_test_x conftest$ac_exeext; then
42526 ac_cv_func_pthread_attr_setstacksize=yes
42528 echo "$as_me: failed program was:" >&5
42529 sed 's/^/| /' conftest.$ac_ext >&5
42531 ac_cv_func_pthread_attr_setstacksize=no
42534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42535 conftest$ac_exeext conftest.$ac_ext
42537 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42538 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42539 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42540 cat >>confdefs.h <<\_ACEOF
42541 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42548 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42549 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42550 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42551 echo $ECHO_N "(cached) $ECHO_C" >&6
42554 cat >conftest.$ac_ext <<_ACEOF
42557 cat confdefs.h >>conftest.$ac_ext
42558 cat >>conftest.$ac_ext <<_ACEOF
42559 /* end confdefs.h. */
42560 #include <pthread.h>
42565 pthread_mutexattr_t attr;
42566 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42572 rm -f conftest.$ac_objext
42573 if { (ac_try="$ac_compile"
42574 case "(($ac_try" in
42575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42576 *) ac_try_echo
=$ac_try;;
42578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42579 (eval "$ac_compile") 2>conftest.er1
42581 grep -v '^ *+' conftest.er1
>conftest.err
42583 cat conftest.err
>&5
42584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42585 (exit $ac_status); } && {
42586 test -z "$ac_c_werror_flag" ||
42587 test ! -s conftest.err
42588 } && test -s conftest.
$ac_objext; then
42589 wx_cv_type_pthread_mutexattr_t
=yes
42591 echo "$as_me: failed program was:" >&5
42592 sed 's/^/| /' conftest.
$ac_ext >&5
42594 wx_cv_type_pthread_mutexattr_t
=no
42598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42601 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42602 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42604 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42605 cat >>confdefs.h
<<\_ACEOF
42606 #define HAVE_PTHREAD_MUTEXATTR_T 1
42610 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42611 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42612 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42613 echo $ECHO_N "(cached) $ECHO_C" >&6
42616 cat >conftest.
$ac_ext <<_ACEOF
42619 cat confdefs.h
>>conftest.
$ac_ext
42620 cat >>conftest.
$ac_ext <<_ACEOF
42621 /* end confdefs.h. */
42622 #include <pthread.h>
42627 pthread_mutexattr_t attr;
42628 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42634 rm -f conftest.
$ac_objext
42635 if { (ac_try
="$ac_compile"
42636 case "(($ac_try" in
42637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42638 *) ac_try_echo=$ac_try;;
42640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42641 (eval "$ac_compile") 2>conftest.er1
42643 grep -v '^ *+' conftest.er1 >conftest.err
42645 cat conftest.err >&5
42646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42647 (exit $ac_status); } && {
42648 test -z "$ac_c_werror_flag" ||
42649 test ! -s conftest.err
42650 } && test -s conftest.$ac_objext; then
42651 wx_cv_func_pthread_mutexattr_settype_decl=yes
42653 echo "$as_me: failed program was:" >&5
42654 sed 's/^/| /' conftest.$ac_ext >&5
42656 wx_cv_func_pthread_mutexattr_settype_decl=no
42660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42663 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42664 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42665 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42666 cat >>confdefs.h <<\_ACEOF
42667 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42672 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42673 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42674 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42675 echo $ECHO_N "(cached) $ECHO_C" >&6
42678 cat >conftest.$ac_ext <<_ACEOF
42681 cat confdefs.h >>conftest.$ac_ext
42682 cat >>conftest.$ac_ext <<_ACEOF
42683 /* end confdefs.h. */
42684 #include <pthread.h>
42689 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42695 rm -f conftest.$ac_objext
42696 if { (ac_try="$ac_compile"
42697 case "(($ac_try" in
42698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42699 *) ac_try_echo
=$ac_try;;
42701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42702 (eval "$ac_compile") 2>conftest.er1
42704 grep -v '^ *+' conftest.er1
>conftest.err
42706 cat conftest.err
>&5
42707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42708 (exit $ac_status); } && {
42709 test -z "$ac_c_werror_flag" ||
42710 test ! -s conftest.err
42711 } && test -s conftest.
$ac_objext; then
42713 wx_cv_type_pthread_rec_mutex_init
=yes
42716 echo "$as_me: failed program was:" >&5
42717 sed 's/^/| /' conftest.
$ac_ext >&5
42720 wx_cv_type_pthread_rec_mutex_init
=no
42725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42728 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42729 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42730 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42731 cat >>confdefs.h
<<\_ACEOF
42732 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42736 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42737 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42743 if test "$wxUSE_THREADS" = "yes" ; then
42746 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42747 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42748 if test "${wx_cv_cflags_mthread+set}" = set; then
42749 echo $ECHO_N "(cached) $ECHO_C" >&6
42752 CFLAGS_OLD
="$CFLAGS"
42753 CFLAGS
="-mthreads $CFLAGS"
42754 cat >conftest.
$ac_ext <<_ACEOF
42757 cat confdefs.h
>>conftest.
$ac_ext
42758 cat >>conftest.
$ac_ext <<_ACEOF
42759 /* end confdefs.h. */
42769 rm -f conftest.
$ac_objext
42770 if { (ac_try
="$ac_compile"
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_compile") 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_objext; then
42786 wx_cv_cflags_mthread=yes
42788 echo "$as_me: failed program was:" >&5
42789 sed 's/^/| /' conftest.$ac_ext >&5
42791 wx_cv_cflags_mthread=no
42795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42799 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42800 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42802 if test "$wx_cv_cflags_mthread" = "yes"; then
42803 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42804 LDFLAGS="$LDFLAGS -mthreads"
42806 CFLAGS="$CFLAGS_OLD"
42810 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42811 LDFLAGS="$LDFLAGS -Zmt"
42817 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42818 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42819 if test "${ac_cv_func_localtime_r+set}" = set; then
42820 echo $ECHO_N "(cached) $ECHO_C" >&6
42822 cat >conftest.$ac_ext <<_ACEOF
42825 cat confdefs.h >>conftest.$ac_ext
42826 cat >>conftest.$ac_ext <<_ACEOF
42827 /* end confdefs.h. */
42828 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42830 #define localtime_r innocuous_localtime_r
42832 /* System header to define __stub macros and hopefully few prototypes,
42833 which can conflict with char localtime_r (); below.
42834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42835 <limits.h> exists even on freestanding compilers. */
42838 # include <limits.h>
42840 # include <assert.h>
42845 /* Override any GCC internal prototype to avoid an error.
42846 Use char because int might match the return type of a GCC
42847 builtin and then its argument prototype would still apply. */
42851 char localtime_r ();
42852 /* The GNU C library defines this for functions which it implements
42853 to always fail with ENOSYS. Some functions are actually named
42854 something starting with __ and the normal name is an alias. */
42855 #if defined __stub_localtime_r || defined __stub___localtime_r
42862 return localtime_r ();
42867 rm -f conftest.$ac_objext conftest$ac_exeext
42868 if { (ac_try="$ac_link"
42869 case "(($ac_try" in
42870 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42871 *) ac_try_echo
=$ac_try;;
42873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42874 (eval "$ac_link") 2>conftest.er1
42876 grep -v '^ *+' conftest.er1
>conftest.err
42878 cat conftest.err
>&5
42879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42880 (exit $ac_status); } && {
42881 test -z "$ac_c_werror_flag" ||
42882 test ! -s conftest.err
42883 } && test -s conftest
$ac_exeext &&
42884 $as_test_x conftest
$ac_exeext; then
42885 ac_cv_func_localtime_r
=yes
42887 echo "$as_me: failed program was:" >&5
42888 sed 's/^/| /' conftest.
$ac_ext >&5
42890 ac_cv_func_localtime_r
=no
42893 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42894 conftest
$ac_exeext conftest.
$ac_ext
42896 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42897 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42898 if test $ac_cv_func_localtime_r = yes; then
42899 cat >>confdefs.h
<<\_ACEOF
42900 #define HAVE_LOCALTIME_R 1
42905 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42906 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42907 if test "${ac_cv_func_gmtime_r+set}" = set; then
42908 echo $ECHO_N "(cached) $ECHO_C" >&6
42910 cat >conftest.
$ac_ext <<_ACEOF
42913 cat confdefs.h
>>conftest.
$ac_ext
42914 cat >>conftest.
$ac_ext <<_ACEOF
42915 /* end confdefs.h. */
42916 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42918 #define gmtime_r innocuous_gmtime_r
42920 /* System header to define __stub macros and hopefully few prototypes,
42921 which can conflict with char gmtime_r (); below.
42922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42923 <limits.h> exists even on freestanding compilers. */
42926 # include <limits.h>
42928 # include <assert.h>
42933 /* Override any GCC internal prototype to avoid an error.
42934 Use char because int might match the return type of a GCC
42935 builtin and then its argument prototype would still apply. */
42940 /* The GNU C library defines this for functions which it implements
42941 to always fail with ENOSYS. Some functions are actually named
42942 something starting with __ and the normal name is an alias. */
42943 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42950 return gmtime_r ();
42955 rm -f conftest.
$ac_objext conftest
$ac_exeext
42956 if { (ac_try
="$ac_link"
42957 case "(($ac_try" in
42958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42959 *) ac_try_echo=$ac_try;;
42961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42962 (eval "$ac_link") 2>conftest.er1
42964 grep -v '^ *+' conftest.er1 >conftest.err
42966 cat conftest.err >&5
42967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42968 (exit $ac_status); } && {
42969 test -z "$ac_c_werror_flag" ||
42970 test ! -s conftest.err
42971 } && test -s conftest$ac_exeext &&
42972 $as_test_x conftest$ac_exeext; then
42973 ac_cv_func_gmtime_r=yes
42975 echo "$as_me: failed program was:" >&5
42976 sed 's/^/| /' conftest.$ac_ext >&5
42978 ac_cv_func_gmtime_r=no
42981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42982 conftest$ac_exeext conftest.$ac_ext
42984 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42985 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42986 if test $ac_cv_func_gmtime_r = yes; then
42987 cat >>confdefs.h <<\_ACEOF
42988 #define HAVE_GMTIME_R 1
42997 ac_cpp='$CPP $CPPFLAGS'
42998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43002 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43003 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43005 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43006 echo $ECHO_N "(cached) $ECHO_C" >&6
43010 ################################################################
43012 ac_cv_func_which_gethostbyname_r=unknown
43015 # ONE ARGUMENT (sanity check)
43018 # This should fail, as there is no variant of gethostbyname_r() that takes
43019 # a single argument. If it actually compiles, then we can assume that
43020 # netdb.h is not declaring the function, and the compiler is thereby
43021 # assuming an implicit prototype. In which case, we're out of luck.
43023 cat >conftest.$ac_ext <<_ACEOF
43026 cat confdefs.h >>conftest.$ac_ext
43027 cat >>conftest.$ac_ext <<_ACEOF
43028 /* end confdefs.h. */
43034 char *name = "www.gnu.org";
43035 (void)gethostbyname_r(name) /* ; */
43041 rm -f conftest.$ac_objext
43042 if { (ac_try="$ac_compile"
43043 case "(($ac_try" in
43044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43045 *) ac_try_echo
=$ac_try;;
43047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43048 (eval "$ac_compile") 2>conftest.er1
43050 grep -v '^ *+' conftest.er1
>conftest.err
43052 cat conftest.err
>&5
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); } && {
43055 test -z "$ac_c_werror_flag" ||
43056 test ! -s conftest.err
43057 } && test -s conftest.
$ac_objext; then
43058 ac_cv_func_which_gethostbyname_r
=no
43060 echo "$as_me: failed program was:" >&5
43061 sed 's/^/| /' conftest.
$ac_ext >&5
43066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43073 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43075 cat >conftest.
$ac_ext <<_ACEOF
43078 cat confdefs.h
>>conftest.
$ac_ext
43079 cat >>conftest.
$ac_ext <<_ACEOF
43080 /* end confdefs.h. */
43086 char *name = "www.gnu.org";
43087 struct hostent ret, *retp;
43091 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43097 rm -f conftest.
$ac_objext
43098 if { (ac_try
="$ac_compile"
43099 case "(($ac_try" in
43100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43101 *) ac_try_echo=$ac_try;;
43103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43104 (eval "$ac_compile") 2>conftest.er1
43106 grep -v '^ *+' conftest.er1 >conftest.err
43108 cat conftest.err >&5
43109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43110 (exit $ac_status); } && {
43111 test -z "$ac_c_werror_flag" ||
43112 test ! -s conftest.err
43113 } && test -s conftest.$ac_objext; then
43114 ac_cv_func_which_gethostbyname_r=six
43116 echo "$as_me: failed program was:" >&5
43117 sed 's/^/| /' conftest.$ac_ext >&5
43122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43131 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43133 cat >conftest.$ac_ext <<_ACEOF
43136 cat confdefs.h >>conftest.$ac_ext
43137 cat >>conftest.$ac_ext <<_ACEOF
43138 /* end confdefs.h. */
43144 char *name = "www.gnu.org";
43145 struct hostent ret;
43149 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43155 rm -f conftest.$ac_objext
43156 if { (ac_try="$ac_compile"
43157 case "(($ac_try" in
43158 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43159 *) ac_try_echo
=$ac_try;;
43161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43162 (eval "$ac_compile") 2>conftest.er1
43164 grep -v '^ *+' conftest.er1
>conftest.err
43166 cat conftest.err
>&5
43167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43168 (exit $ac_status); } && {
43169 test -z "$ac_c_werror_flag" ||
43170 test ! -s conftest.err
43171 } && test -s conftest.
$ac_objext; then
43172 ac_cv_func_which_gethostbyname_r
=five
43174 echo "$as_me: failed program was:" >&5
43175 sed 's/^/| /' conftest.
$ac_ext >&5
43180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43186 # (e.g. AIX, HP-UX, Tru64)
43189 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43191 cat >conftest.
$ac_ext <<_ACEOF
43194 cat confdefs.h
>>conftest.
$ac_ext
43195 cat >>conftest.
$ac_ext <<_ACEOF
43196 /* end confdefs.h. */
43202 char *name = "www.gnu.org";
43203 struct hostent ret;
43204 struct hostent_data data;
43205 (void)gethostbyname_r(name, &ret, &data) /* ; */
43211 rm -f conftest.
$ac_objext
43212 if { (ac_try
="$ac_compile"
43213 case "(($ac_try" in
43214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43215 *) ac_try_echo=$ac_try;;
43217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43218 (eval "$ac_compile") 2>conftest.er1
43220 grep -v '^ *+' conftest.er1 >conftest.err
43222 cat conftest.err >&5
43223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43224 (exit $ac_status); } && {
43225 test -z "$ac_c_werror_flag" ||
43226 test ! -s conftest.err
43227 } && test -s conftest.$ac_objext; then
43228 ac_cv_func_which_gethostbyname_r=three
43230 echo "$as_me: failed program was:" >&5
43231 sed 's/^/| /' conftest.$ac_ext >&5
43236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43240 ################################################################
43245 case "$ac_cv_func_which_gethostbyname_r" in
43247 { echo "$as_me:$LINENO: result: three" >&5
43248 echo "${ECHO_T}three" >&6; }
43249 cat >>confdefs.h <<\_ACEOF
43250 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43256 { echo "$as_me:$LINENO: result: five" >&5
43257 echo "${ECHO_T}five" >&6; }
43258 cat >>confdefs.h <<\_ACEOF
43259 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43265 { echo "$as_me:$LINENO: result: six" >&5
43266 echo "${ECHO_T}six" >&6; }
43267 cat >>confdefs.h <<\_ACEOF
43268 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43274 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43275 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43279 { echo "$as_me:$LINENO: result: can't tell" >&5
43280 echo "${ECHO_T}can't tell" >&6; }
43284 { { echo "$as_me:$LINENO: error: internal error" >&5
43285 echo "$as_me: error: internal error" >&2;}
43286 { (exit 1); exit 1; }; }
43291 ac_cpp='$CPP $CPPFLAGS'
43292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43298 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43299 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43300 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43301 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43302 if test "${ac_cv_func_gethostbyname+set}" = set; then
43303 echo $ECHO_N "(cached) $ECHO_C" >&6
43305 cat >conftest.$ac_ext <<_ACEOF
43308 cat confdefs.h >>conftest.$ac_ext
43309 cat >>conftest.$ac_ext <<_ACEOF
43310 /* end confdefs.h. */
43311 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43313 #define gethostbyname innocuous_gethostbyname
43315 /* System header to define __stub macros and hopefully few prototypes,
43316 which can conflict with char gethostbyname (); below.
43317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43318 <limits.h> exists even on freestanding compilers. */
43321 # include <limits.h>
43323 # include <assert.h>
43326 #undef gethostbyname
43328 /* Override any GCC internal prototype to avoid an error.
43329 Use char because int might match the return type of a GCC
43330 builtin and then its argument prototype would still apply. */
43334 char gethostbyname ();
43335 /* The GNU C library defines this for functions which it implements
43336 to always fail with ENOSYS. Some functions are actually named
43337 something starting with __ and the normal name is an alias. */
43338 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43345 return gethostbyname ();
43350 rm -f conftest.$ac_objext conftest$ac_exeext
43351 if { (ac_try="$ac_link"
43352 case "(($ac_try" in
43353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43354 *) ac_try_echo
=$ac_try;;
43356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43357 (eval "$ac_link") 2>conftest.er1
43359 grep -v '^ *+' conftest.er1
>conftest.err
43361 cat conftest.err
>&5
43362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43363 (exit $ac_status); } && {
43364 test -z "$ac_c_werror_flag" ||
43365 test ! -s conftest.err
43366 } && test -s conftest
$ac_exeext &&
43367 $as_test_x conftest
$ac_exeext; then
43368 ac_cv_func_gethostbyname
=yes
43370 echo "$as_me: failed program was:" >&5
43371 sed 's/^/| /' conftest.
$ac_ext >&5
43373 ac_cv_func_gethostbyname
=no
43376 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43377 conftest
$ac_exeext conftest.
$ac_ext
43379 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43380 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43381 if test $ac_cv_func_gethostbyname = yes; then
43382 cat >>confdefs.h
<<\_ACEOF
43383 #define HAVE_GETHOSTBYNAME 1
43390 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43391 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43392 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43393 echo $ECHO_N "(cached) $ECHO_C" >&6
43397 ac_cpp
='$CXXCPP $CPPFLAGS'
43398 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43399 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43400 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43403 cat >conftest.
$ac_ext <<_ACEOF
43406 cat confdefs.h
>>conftest.
$ac_ext
43407 cat >>conftest.
$ac_ext <<_ACEOF
43408 /* end confdefs.h. */
43416 struct servent *se, *res;
43419 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43425 rm -f conftest.
$ac_objext
43426 if { (ac_try
="$ac_compile"
43427 case "(($ac_try" in
43428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43429 *) ac_try_echo=$ac_try;;
43431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43432 (eval "$ac_compile") 2>conftest.er1
43434 grep -v '^ *+' conftest.er1 >conftest.err
43436 cat conftest.err >&5
43437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43438 (exit $ac_status); } && {
43439 test -z "$ac_cxx_werror_flag" ||
43440 test ! -s conftest.err
43441 } && test -s conftest.$ac_objext; then
43442 ac_cv_func_which_getservbyname_r=six
43444 echo "$as_me: failed program was:" >&5
43445 sed 's/^/| /' conftest.$ac_ext >&5
43448 cat >conftest.$ac_ext <<_ACEOF
43451 cat confdefs.h >>conftest.$ac_ext
43452 cat >>conftest.$ac_ext <<_ACEOF
43453 /* end confdefs.h. */
43461 struct servent *se;
43464 (void) getservbyname_r(name, proto, se, buffer, buflen)
43470 rm -f conftest.$ac_objext
43471 if { (ac_try="$ac_compile"
43472 case "(($ac_try" in
43473 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43474 *) ac_try_echo
=$ac_try;;
43476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43477 (eval "$ac_compile") 2>conftest.er1
43479 grep -v '^ *+' conftest.er1
>conftest.err
43481 cat conftest.err
>&5
43482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43483 (exit $ac_status); } && {
43484 test -z "$ac_cxx_werror_flag" ||
43485 test ! -s conftest.err
43486 } && test -s conftest.
$ac_objext; then
43487 ac_cv_func_which_getservbyname_r
=five
43489 echo "$as_me: failed program was:" >&5
43490 sed 's/^/| /' conftest.
$ac_ext >&5
43493 cat >conftest.
$ac_ext <<_ACEOF
43496 cat confdefs.h
>>conftest.
$ac_ext
43497 cat >>conftest.
$ac_ext <<_ACEOF
43498 /* end confdefs.h. */
43506 struct servent *se;
43507 struct servent_data data;
43508 (void) getservbyname_r(name, proto, se, &data);
43514 rm -f conftest.
$ac_objext
43515 if { (ac_try
="$ac_compile"
43516 case "(($ac_try" in
43517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43518 *) ac_try_echo=$ac_try;;
43520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43521 (eval "$ac_compile") 2>conftest.er1
43523 grep -v '^ *+' conftest.er1 >conftest.err
43525 cat conftest.err >&5
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); } && {
43528 test -z "$ac_cxx_werror_flag" ||
43529 test ! -s conftest.err
43530 } && test -s conftest.$ac_objext; then
43531 ac_cv_func_which_getservbyname_r=four
43533 echo "$as_me: failed program was:" >&5
43534 sed 's/^/| /' conftest.$ac_ext >&5
43536 ac_cv_func_which_getservbyname_r=no
43540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43552 ac_cpp='$CPP $CPPFLAGS'
43553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43560 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43561 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43563 if test $ac_cv_func_which_getservbyname_r = six; then
43564 cat >>confdefs.h <<\_ACEOF
43565 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43568 elif test $ac_cv_func_which_getservbyname_r = five; then
43569 cat >>confdefs.h <<\_ACEOF
43570 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43573 elif test $ac_cv_func_which_getservbyname_r = four; then
43574 cat >>confdefs.h <<\_ACEOF
43575 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43581 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43582 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43584 for ac_func in getservbyname
43586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43587 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43589 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43590 echo $ECHO_N "(cached) $ECHO_C" >&6
43592 cat >conftest.$ac_ext <<_ACEOF
43595 cat confdefs.h >>conftest.$ac_ext
43596 cat >>conftest.$ac_ext <<_ACEOF
43597 /* end confdefs.h. */
43598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43600 #define $ac_func innocuous_$ac_func
43602 /* System header to define __stub macros and hopefully few prototypes,
43603 which can conflict with char $ac_func (); below.
43604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43605 <limits.h> exists even on freestanding compilers. */
43608 # include <limits.h>
43610 # include <assert.h>
43615 /* Override any GCC internal prototype to avoid an error.
43616 Use char because int might match the return type of a GCC
43617 builtin and then its argument prototype would still apply. */
43622 /* The GNU C library defines this for functions which it implements
43623 to always fail with ENOSYS. Some functions are actually named
43624 something starting with __ and the normal name is an alias. */
43625 #if defined __stub_$ac_func || defined __stub___$ac_func
43632 return $ac_func ();
43637 rm -f conftest.$ac_objext conftest$ac_exeext
43638 if { (ac_try="$ac_link"
43639 case "(($ac_try" in
43640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43641 *) ac_try_echo
=$ac_try;;
43643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43644 (eval "$ac_link") 2>conftest.er1
43646 grep -v '^ *+' conftest.er1
>conftest.err
43648 cat conftest.err
>&5
43649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43650 (exit $ac_status); } && {
43651 test -z "$ac_c_werror_flag" ||
43652 test ! -s conftest.err
43653 } && test -s conftest
$ac_exeext &&
43654 $as_test_x conftest
$ac_exeext; then
43655 eval "$as_ac_var=yes"
43657 echo "$as_me: failed program was:" >&5
43658 sed 's/^/| /' conftest.
$ac_ext >&5
43660 eval "$as_ac_var=no"
43663 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43664 conftest
$ac_exeext conftest.
$ac_ext
43666 ac_res
=`eval echo '${'$as_ac_var'}'`
43667 { echo "$as_me:$LINENO: result: $ac_res" >&5
43668 echo "${ECHO_T}$ac_res" >&6; }
43669 if test `eval echo '${'$as_ac_var'}'` = yes; then
43670 cat >>confdefs.h
<<_ACEOF
43671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43673 cat >>confdefs.h
<<\_ACEOF
43674 #define HAVE_GETSERVBYNAME 1
43682 if test "$wxUSE_THREADS" = "yes"; then
43683 cat >>confdefs.h
<<\_ACEOF
43684 #define wxUSE_THREADS 1
43688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
43690 if test "$wx_cv_func_strtok_r" = "yes"; then
43691 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43692 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43693 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43694 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43695 { echo "$as_me:$LINENO: result: yes" >&5
43696 echo "${ECHO_T}yes" >&6; }
43698 { echo "$as_me:$LINENO: result: no" >&5
43699 echo "${ECHO_T}no" >&6; }
43704 if test "$WXGTK20" = 1 ; then
43705 cat >>confdefs.h
<<_ACEOF
43706 #define __WXGTK20__ $WXGTK20
43712 if test "$WXGTK12" = 1 ; then
43713 cat >>confdefs.h
<<_ACEOF
43714 #define __WXGTK12__ $WXGTK12
43719 if test "$WXGTK127" = 1 ; then
43720 cat >>confdefs.h
<<_ACEOF
43721 #define __WXGTK127__ $WXGTK127
43726 if test "$WXGPE" = 1 ; then
43727 cat >>confdefs.h
<<_ACEOF
43728 #define __WXGPE__ $WXGPE
43734 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43739 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43740 wxUSE_DEBUG_INFO
=yes
43741 if test "$GCC" = yes; then
43742 DEBUG_CFLAGS
="-ggdb"
43746 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43747 cat >>confdefs.h
<<\_ACEOF
43751 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43753 if test "$wxUSE_GTK" = 1 ; then
43754 if test "x$wxGTK_VERSION" = "x1" ; then
43755 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43760 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43761 cat >>confdefs.h
<<\_ACEOF
43762 #define wxUSE_MEMORY_TRACING 1
43765 cat >>confdefs.h
<<\_ACEOF
43766 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43769 cat >>confdefs.h
<<\_ACEOF
43770 #define wxUSE_DEBUG_NEW_ALWAYS 1
43773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
43776 if test "$wxUSE_DMALLOC" = "yes" ; then
43777 DMALLOC_LIBS
="-ldmallocthcxx"
43781 if test "$wxUSE_PROFILE" = "yes" ; then
43782 PROFILE_FLAGS
=" -pg"
43785 if test "$GCC" = "yes" ; then
43786 if test "$wxUSE_NO_RTTI" = "yes" ; then
43787 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
43789 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43790 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
43792 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43793 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
43798 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
43801 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
43807 if test "$wxUSE_OPTIMISE" = "no" ; then
43808 if test "$GCC" = yes ; then
43809 OPTIMISE_CFLAGS
="-O0"
43812 if test "$GCC" = yes ; then
43814 *-pc-os2_emx | *-pc-os2-emx )
43815 OPTIMISE_CFLAGS
="-O2"
43818 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
43822 OPTIMISE_CFLAGS
="-O"
43827 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43828 cat >>confdefs.h
<<\_ACEOF
43829 #define WXWIN_COMPATIBILITY_2_6 1
43833 WXWIN_COMPATIBILITY_2_8
="yes"
43836 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43837 cat >>confdefs.h
<<\_ACEOF
43838 #define WXWIN_COMPATIBILITY_2_8 1
43844 if test "$wxUSE_GUI" = "yes"; then
43845 cat >>confdefs.h
<<\_ACEOF
43846 #define wxUSE_GUI 1
43853 if test "$wxUSE_UNIX" = "yes"; then
43854 cat >>confdefs.h
<<\_ACEOF
43855 #define wxUSE_UNIX 1
43861 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43865 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43866 if test "$USE_DARWIN" = 1; then
43868 elif test "$USE_DOS" = 1; then
43872 for ac_func
in dlopen
43874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43877 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43878 echo $ECHO_N "(cached) $ECHO_C" >&6
43880 cat >conftest.
$ac_ext <<_ACEOF
43883 cat confdefs.h
>>conftest.
$ac_ext
43884 cat >>conftest.
$ac_ext <<_ACEOF
43885 /* end confdefs.h. */
43886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43888 #define $ac_func innocuous_$ac_func
43890 /* System header to define __stub macros and hopefully few prototypes,
43891 which can conflict with char $ac_func (); below.
43892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43893 <limits.h> exists even on freestanding compilers. */
43896 # include <limits.h>
43898 # include <assert.h>
43903 /* Override any GCC internal prototype to avoid an error.
43904 Use char because int might match the return type of a GCC
43905 builtin and then its argument prototype would still apply. */
43910 /* The GNU C library defines this for functions which it implements
43911 to always fail with ENOSYS. Some functions are actually named
43912 something starting with __ and the normal name is an alias. */
43913 #if defined __stub_$ac_func || defined __stub___$ac_func
43920 return $ac_func ();
43925 rm -f conftest.
$ac_objext conftest
$ac_exeext
43926 if { (ac_try
="$ac_link"
43927 case "(($ac_try" in
43928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43929 *) ac_try_echo=$ac_try;;
43931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43932 (eval "$ac_link") 2>conftest.er1
43934 grep -v '^ *+' conftest.er1 >conftest.err
43936 cat conftest.err >&5
43937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938 (exit $ac_status); } && {
43939 test -z "$ac_c_werror_flag" ||
43940 test ! -s conftest.err
43941 } && test -s conftest$ac_exeext &&
43942 $as_test_x conftest$ac_exeext; then
43943 eval "$as_ac_var=yes"
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.$ac_ext >&5
43948 eval "$as_ac_var=no"
43951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43952 conftest$ac_exeext conftest.$ac_ext
43954 ac_res=`eval echo '${'$as_ac_var'}'`
43955 { echo "$as_me:$LINENO: result: $ac_res" >&5
43956 echo "${ECHO_T}$ac_res" >&6; }
43957 if test `eval echo '${'$as_ac_var'}'` = yes; then
43958 cat >>confdefs.h <<_ACEOF
43959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43962 cat >>confdefs.h <<\_ACEOF
43963 #define HAVE_DLOPEN 1
43970 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43971 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43972 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43973 echo $ECHO_N "(cached) $ECHO_C" >&6
43975 ac_check_lib_save_LIBS=$LIBS
43977 cat >conftest.$ac_ext <<_ACEOF
43980 cat confdefs.h >>conftest.$ac_ext
43981 cat >>conftest.$ac_ext <<_ACEOF
43982 /* end confdefs.h. */
43984 /* Override any GCC internal prototype to avoid an error.
43985 Use char because int might match the return type of a GCC
43986 builtin and then its argument prototype would still apply. */
43999 rm -f conftest.$ac_objext conftest$ac_exeext
44000 if { (ac_try="$ac_link"
44001 case "(($ac_try" in
44002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44003 *) ac_try_echo
=$ac_try;;
44005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44006 (eval "$ac_link") 2>conftest.er1
44008 grep -v '^ *+' conftest.er1
>conftest.err
44010 cat conftest.err
>&5
44011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012 (exit $ac_status); } && {
44013 test -z "$ac_c_werror_flag" ||
44014 test ! -s conftest.err
44015 } && test -s conftest
$ac_exeext &&
44016 $as_test_x conftest
$ac_exeext; then
44017 ac_cv_lib_dl_dlopen
=yes
44019 echo "$as_me: failed program was:" >&5
44020 sed 's/^/| /' conftest.
$ac_ext >&5
44022 ac_cv_lib_dl_dlopen
=no
44025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44026 conftest
$ac_exeext conftest.
$ac_ext
44027 LIBS
=$ac_check_lib_save_LIBS
44029 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44030 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44031 if test $ac_cv_lib_dl_dlopen = yes; then
44033 cat >>confdefs.h
<<\_ACEOF
44034 #define HAVE_DLOPEN 1
44038 DL_LINK
=" -ldl$DL_LINK"
44043 for ac_func
in shl_load
44045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44046 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44048 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44049 echo $ECHO_N "(cached) $ECHO_C" >&6
44051 cat >conftest.
$ac_ext <<_ACEOF
44054 cat confdefs.h
>>conftest.
$ac_ext
44055 cat >>conftest.
$ac_ext <<_ACEOF
44056 /* end confdefs.h. */
44057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44059 #define $ac_func innocuous_$ac_func
44061 /* System header to define __stub macros and hopefully few prototypes,
44062 which can conflict with char $ac_func (); below.
44063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44064 <limits.h> exists even on freestanding compilers. */
44067 # include <limits.h>
44069 # include <assert.h>
44074 /* Override any GCC internal prototype to avoid an error.
44075 Use char because int might match the return type of a GCC
44076 builtin and then its argument prototype would still apply. */
44081 /* The GNU C library defines this for functions which it implements
44082 to always fail with ENOSYS. Some functions are actually named
44083 something starting with __ and the normal name is an alias. */
44084 #if defined __stub_$ac_func || defined __stub___$ac_func
44091 return $ac_func ();
44096 rm -f conftest.
$ac_objext conftest
$ac_exeext
44097 if { (ac_try
="$ac_link"
44098 case "(($ac_try" in
44099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44100 *) ac_try_echo=$ac_try;;
44102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44103 (eval "$ac_link") 2>conftest.er1
44105 grep -v '^ *+' conftest.er1 >conftest.err
44107 cat conftest.err >&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); } && {
44110 test -z "$ac_c_werror_flag" ||
44111 test ! -s conftest.err
44112 } && test -s conftest$ac_exeext &&
44113 $as_test_x conftest$ac_exeext; then
44114 eval "$as_ac_var=yes"
44116 echo "$as_me: failed program was:" >&5
44117 sed 's/^/| /' conftest.$ac_ext >&5
44119 eval "$as_ac_var=no"
44122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44123 conftest$ac_exeext conftest.$ac_ext
44125 ac_res=`eval echo '${'$as_ac_var'}'`
44126 { echo "$as_me:$LINENO: result: $ac_res" >&5
44127 echo "${ECHO_T}$ac_res" >&6; }
44128 if test `eval echo '${'$as_ac_var'}'` = yes; then
44129 cat >>confdefs.h <<_ACEOF
44130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44133 cat >>confdefs.h <<\_ACEOF
44134 #define HAVE_SHL_LOAD 1
44141 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44142 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44143 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44144 echo $ECHO_N "(cached) $ECHO_C" >&6
44146 ac_check_lib_save_LIBS=$LIBS
44147 LIBS="-lshl_load $LIBS"
44148 cat >conftest.$ac_ext <<_ACEOF
44151 cat confdefs.h >>conftest.$ac_ext
44152 cat >>conftest.$ac_ext <<_ACEOF
44153 /* end confdefs.h. */
44155 /* Override any GCC internal prototype to avoid an error.
44156 Use char because int might match the return type of a GCC
44157 builtin and then its argument prototype would still apply. */
44170 rm -f conftest.$ac_objext conftest$ac_exeext
44171 if { (ac_try="$ac_link"
44172 case "(($ac_try" in
44173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44174 *) ac_try_echo
=$ac_try;;
44176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44177 (eval "$ac_link") 2>conftest.er1
44179 grep -v '^ *+' conftest.er1
>conftest.err
44181 cat conftest.err
>&5
44182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44183 (exit $ac_status); } && {
44184 test -z "$ac_c_werror_flag" ||
44185 test ! -s conftest.err
44186 } && test -s conftest
$ac_exeext &&
44187 $as_test_x conftest
$ac_exeext; then
44188 ac_cv_lib_shl_load_dld
=yes
44190 echo "$as_me: failed program was:" >&5
44191 sed 's/^/| /' conftest.
$ac_ext >&5
44193 ac_cv_lib_shl_load_dld
=no
44196 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44197 conftest
$ac_exeext conftest.
$ac_ext
44198 LIBS
=$ac_check_lib_save_LIBS
44200 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44201 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44202 if test $ac_cv_lib_shl_load_dld = yes; then
44205 DL_LINK
=" -ldld$DL_LINK"
44221 if test "$HAVE_DL_FUNCS" = 1; then
44223 for ac_func
in dlerror
44225 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44226 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44228 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44229 echo $ECHO_N "(cached) $ECHO_C" >&6
44231 cat >conftest.
$ac_ext <<_ACEOF
44234 cat confdefs.h
>>conftest.
$ac_ext
44235 cat >>conftest.
$ac_ext <<_ACEOF
44236 /* end confdefs.h. */
44237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44239 #define $ac_func innocuous_$ac_func
44241 /* System header to define __stub macros and hopefully few prototypes,
44242 which can conflict with char $ac_func (); below.
44243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44244 <limits.h> exists even on freestanding compilers. */
44247 # include <limits.h>
44249 # include <assert.h>
44254 /* Override any GCC internal prototype to avoid an error.
44255 Use char because int might match the return type of a GCC
44256 builtin and then its argument prototype would still apply. */
44261 /* The GNU C library defines this for functions which it implements
44262 to always fail with ENOSYS. Some functions are actually named
44263 something starting with __ and the normal name is an alias. */
44264 #if defined __stub_$ac_func || defined __stub___$ac_func
44271 return $ac_func ();
44276 rm -f conftest.
$ac_objext conftest
$ac_exeext
44277 if { (ac_try
="$ac_link"
44278 case "(($ac_try" in
44279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44280 *) ac_try_echo=$ac_try;;
44282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44283 (eval "$ac_link") 2>conftest.er1
44285 grep -v '^ *+' conftest.er1 >conftest.err
44287 cat conftest.err >&5
44288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44289 (exit $ac_status); } && {
44290 test -z "$ac_c_werror_flag" ||
44291 test ! -s conftest.err
44292 } && test -s conftest$ac_exeext &&
44293 $as_test_x conftest$ac_exeext; then
44294 eval "$as_ac_var=yes"
44296 echo "$as_me: failed program was:" >&5
44297 sed 's/^/| /' conftest.$ac_ext >&5
44299 eval "$as_ac_var=no"
44302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44303 conftest$ac_exeext conftest.$ac_ext
44305 ac_res=`eval echo '${'$as_ac_var'}'`
44306 { echo "$as_me:$LINENO: result: $ac_res" >&5
44307 echo "${ECHO_T}$ac_res" >&6; }
44308 if test `eval echo '${'$as_ac_var'}'` = yes; then
44309 cat >>confdefs.h <<_ACEOF
44310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44312 cat >>confdefs.h <<\_ACEOF
44313 #define HAVE_DLERROR 1
44318 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44319 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44320 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44321 echo $ECHO_N "(cached) $ECHO_C" >&6
44323 ac_check_lib_save_LIBS=$LIBS
44325 cat >conftest.$ac_ext <<_ACEOF
44328 cat confdefs.h >>conftest.$ac_ext
44329 cat >>conftest.$ac_ext <<_ACEOF
44330 /* end confdefs.h. */
44332 /* Override any GCC internal prototype to avoid an error.
44333 Use char because int might match the return type of a GCC
44334 builtin and then its argument prototype would still apply. */
44347 rm -f conftest.$ac_objext conftest$ac_exeext
44348 if { (ac_try="$ac_link"
44349 case "(($ac_try" in
44350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44351 *) ac_try_echo
=$ac_try;;
44353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44354 (eval "$ac_link") 2>conftest.er1
44356 grep -v '^ *+' conftest.er1
>conftest.err
44358 cat conftest.err
>&5
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); } && {
44361 test -z "$ac_c_werror_flag" ||
44362 test ! -s conftest.err
44363 } && test -s conftest
$ac_exeext &&
44364 $as_test_x conftest
$ac_exeext; then
44365 ac_cv_lib_dl_dlerror
=yes
44367 echo "$as_me: failed program was:" >&5
44368 sed 's/^/| /' conftest.
$ac_ext >&5
44370 ac_cv_lib_dl_dlerror
=no
44373 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44374 conftest
$ac_exeext conftest.
$ac_ext
44375 LIBS
=$ac_check_lib_save_LIBS
44377 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44378 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44379 if test $ac_cv_lib_dl_dlerror = yes; then
44380 cat >>confdefs.h
<<\_ACEOF
44381 #define HAVE_DLERROR 1
44394 if test "$HAVE_DL_FUNCS" = 0; then
44395 if test "$HAVE_SHL_FUNCS" = 0; then
44396 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44397 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44398 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44399 wxUSE_DYNAMIC_LOADER
=no
44400 wxUSE_DYNLIB_CLASS
=no
44402 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44403 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44410 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44411 cat >>confdefs.h
<<\_ACEOF
44412 #define wxUSE_DYNAMIC_LOADER 1
44416 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44417 cat >>confdefs.h
<<\_ACEOF
44418 #define wxUSE_DYNLIB_CLASS 1
44425 if test "$wxUSE_PLUGINS" = "yes" ; then
44426 if test "$wxUSE_SHARED" = "no" ; then
44427 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44428 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44431 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44432 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44433 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44436 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44437 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44438 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44441 if test "$wxUSE_PLUGINS" = "yes" ; then
44442 cat >>confdefs.h
<<\_ACEOF
44443 #define wxUSE_PLUGINS 1
44450 if test "$wxUSE_STL" = "yes"; then
44451 cat >>confdefs.h
<<\_ACEOF
44452 #define wxUSE_STL 1
44457 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44458 cat >>confdefs.h
<<\_ACEOF
44459 #define wxUSE_EXTENDED_RTTI 1
44464 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44465 cat >>confdefs.h
<<\_ACEOF
44466 #define wxUSE_APPLE_IEEE 1
44471 if test "$wxUSE_TIMER" = "yes"; then
44472 cat >>confdefs.h
<<\_ACEOF
44473 #define wxUSE_TIMER 1
44478 if test "$USE_UNIX" = "1" ; then
44479 if test "$wxUSE_MGL" != 1; then
44480 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44481 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44482 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44483 echo $ECHO_N "(cached) $ECHO_C" >&6
44486 cat >conftest.
$ac_ext <<_ACEOF
44489 cat confdefs.h
>>conftest.
$ac_ext
44490 cat >>conftest.
$ac_ext <<_ACEOF
44491 /* end confdefs.h. */
44493 #include <sys/ioctl.h>
44494 #include <sys/soundcard.h>
44500 ioctl(0, SNDCTL_DSP_SPEED, 0);
44506 rm -f conftest.
$ac_objext conftest
$ac_exeext
44507 if { (ac_try
="$ac_link"
44508 case "(($ac_try" in
44509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44510 *) ac_try_echo=$ac_try;;
44512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44513 (eval "$ac_link") 2>conftest.er1
44515 grep -v '^ *+' conftest.er1 >conftest.err
44517 cat conftest.err >&5
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); } && {
44520 test -z "$ac_c_werror_flag" ||
44521 test ! -s conftest.err
44522 } && test -s conftest$ac_exeext &&
44523 $as_test_x conftest$ac_exeext; then
44524 ac_cv_header_sys_soundcard=yes
44526 echo "$as_me: failed program was:" >&5
44527 sed 's/^/| /' conftest.$ac_ext >&5
44531 LIBS="$saveLibs -lossaudio"
44532 cat >conftest.$ac_ext <<_ACEOF
44535 cat confdefs.h >>conftest.$ac_ext
44536 cat >>conftest.$ac_ext <<_ACEOF
44537 /* end confdefs.h. */
44539 #include <sys/ioctl.h>
44540 #include <sys/soundcard.h>
44546 ioctl(0, SNDCTL_DSP_SPEED, 0);
44552 rm -f conftest.$ac_objext conftest$ac_exeext
44553 if { (ac_try="$ac_link"
44554 case "(($ac_try" in
44555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44556 *) ac_try_echo
=$ac_try;;
44558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44559 (eval "$ac_link") 2>conftest.er1
44561 grep -v '^ *+' conftest.er1
>conftest.err
44563 cat conftest.err
>&5
44564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44565 (exit $ac_status); } && {
44566 test -z "$ac_c_werror_flag" ||
44567 test ! -s conftest.err
44568 } && test -s conftest
$ac_exeext &&
44569 $as_test_x conftest
$ac_exeext; then
44570 ac_cv_header_sys_soundcard
=yes
44572 echo "$as_me: failed program was:" >&5
44573 sed 's/^/| /' conftest.
$ac_ext >&5
44577 ac_cv_header_sys_soundcard
=no
44582 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44583 conftest
$ac_exeext conftest.
$ac_ext
44588 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44589 conftest
$ac_exeext conftest.
$ac_ext
44592 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44593 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44596 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44597 cat >>confdefs.h
<<\_ACEOF
44598 #define HAVE_SYS_SOUNDCARD_H 1
44605 if test "$wxUSE_SOUND" = "yes"; then
44606 if test "$USE_UNIX" = "1" ; then
44607 if test "$wxUSE_LIBSDL" != "no"; then
44609 # Check whether --with-sdl-prefix was given.
44610 if test "${with_sdl_prefix+set}" = set; then
44611 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
44617 # Check whether --with-sdl-exec-prefix was given.
44618 if test "${with_sdl_exec_prefix+set}" = set; then
44619 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
44624 # Check whether --enable-sdltest was given.
44625 if test "${enable_sdltest+set}" = set; then
44626 enableval
=$enable_sdltest;
44632 if test x
$sdl_exec_prefix != x
; then
44633 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
44634 if test x
${SDL_CONFIG+set} != xset
; then
44635 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
44638 if test x
$sdl_prefix != x
; then
44639 sdl_args
="$sdl_args --prefix=$sdl_prefix"
44640 if test x
${SDL_CONFIG+set} != xset
; then
44641 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
44645 if test "x$prefix" != xNONE
; then
44646 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
44648 # Extract the first word of "sdl-config", so it can be a program name with args.
44649 set dummy sdl
-config; ac_word
=$2
44650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44652 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44653 echo $ECHO_N "(cached) $ECHO_C" >&6
44655 case $SDL_CONFIG in
44657 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
44660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44661 for as_dir
in $PATH
44664 test -z "$as_dir" && as_dir
=.
44665 for ac_exec_ext
in '' $ac_executable_extensions; do
44666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44667 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44675 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
44679 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
44680 if test -n "$SDL_CONFIG"; then
44681 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44682 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44684 { echo "$as_me:$LINENO: result: no" >&5
44685 echo "${ECHO_T}no" >&6; }
44689 min_sdl_version
=1.2.0
44690 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44691 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44693 if test "$SDL_CONFIG" = "no" ; then
44696 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
44697 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
44699 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
44700 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44701 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
44702 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44703 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
44704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44705 if test "x$enable_sdltest" = "xyes" ; then
44706 ac_save_CFLAGS
="$CFLAGS"
44707 ac_save_CXXFLAGS
="$CXXFLAGS"
44708 ac_save_LIBS
="$LIBS"
44709 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44710 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44711 LIBS
="$LIBS $SDL_LIBS"
44713 if test "$cross_compiling" = yes; then
44714 echo $ac_n "cross compiling; assumed OK... $ac_c"
44716 cat >conftest.
$ac_ext <<_ACEOF
44719 cat confdefs.h
>>conftest.
$ac_ext
44720 cat >>conftest.
$ac_ext <<_ACEOF
44721 /* end confdefs.h. */
44724 #include <stdlib.h>
44725 #include <string.h>
44729 my_strdup (char *str)
44735 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44736 strcpy (new_str, str);
44744 int main (int argc, char *argv[])
44746 int major, minor, micro;
44749 /* This hangs on some systems (?)
44750 system ("touch conf.sdltest");
44752 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44754 /* HP/UX 9 (%@#!) writes to sscanf strings */
44755 tmp_version = my_strdup("$min_sdl_version");
44756 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44757 printf("%s, bad version string\n", "$min_sdl_version");
44761 if (($sdl_major_version > major) ||
44762 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44763 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44769 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44770 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44771 printf("*** best to upgrade to the required version.\n");
44772 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44773 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44774 printf("*** config.cache before re-running configure\n");
44781 rm -f conftest
$ac_exeext
44782 if { (ac_try
="$ac_link"
44783 case "(($ac_try" in
44784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44785 *) ac_try_echo=$ac_try;;
44787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44788 (eval "$ac_link") 2>&5
44790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44792 { (case "(($ac_try" in
44793 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44794 *) ac_try_echo
=$ac_try;;
44796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44797 (eval "$ac_try") 2>&5
44799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44800 (exit $ac_status); }; }; then
44803 echo "$as_me: program exited with status $ac_status" >&5
44804 echo "$as_me: failed program was:" >&5
44805 sed 's/^/| /' conftest.
$ac_ext >&5
44807 ( exit $ac_status )
44810 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
44814 CFLAGS
="$ac_save_CFLAGS"
44815 CXXFLAGS
="$ac_save_CXXFLAGS"
44816 LIBS
="$ac_save_LIBS"
44819 if test "x$no_sdl" = x
; then
44820 { echo "$as_me:$LINENO: result: yes" >&5
44821 echo "${ECHO_T}yes" >&6; }
44823 EXTRALIBS_SDL
="$SDL_LIBS"
44824 CFLAGS
="$SDL_CFLAGS $CFLAGS"
44825 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
44826 cat >>confdefs.h
<<\_ACEOF
44827 #define wxUSE_LIBSDL 1
44832 { echo "$as_me:$LINENO: result: no" >&5
44833 echo "${ECHO_T}no" >&6; }
44834 if test "$SDL_CONFIG" = "no" ; then
44835 echo "*** The sdl-config script installed by SDL could not be found"
44836 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44837 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44838 echo "*** full path to sdl-config."
44840 if test -f conf.sdltest
; then
44843 echo "*** Could not run SDL test program, checking why..."
44844 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44845 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44846 LIBS
="$LIBS $SDL_LIBS"
44847 cat >conftest.
$ac_ext <<_ACEOF
44850 cat confdefs.h
>>conftest.
$ac_ext
44851 cat >>conftest.
$ac_ext <<_ACEOF
44852 /* end confdefs.h. */
44857 int main(int argc, char *argv[])
44860 #define main K_and_R_C_main
44870 rm -f conftest.
$ac_objext conftest
$ac_exeext
44871 if { (ac_try
="$ac_link"
44872 case "(($ac_try" in
44873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44874 *) ac_try_echo=$ac_try;;
44876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44877 (eval "$ac_link") 2>conftest.er1
44879 grep -v '^ *+' conftest.er1 >conftest.err
44881 cat conftest.err >&5
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); } && {
44884 test -z "$ac_c_werror_flag" ||
44885 test ! -s conftest.err
44886 } && test -s conftest$ac_exeext &&
44887 $as_test_x conftest$ac_exeext; then
44888 echo "*** The test program compiled, but did not run. This usually means"
44889 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44890 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44891 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44892 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44893 echo "*** is required on your system"
44895 echo "*** If you have an old version installed, it is best to remove it, although"
44896 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44898 echo "$as_me: failed program was:" >&5
44899 sed 's/^/| /' conftest.$ac_ext >&5
44901 echo "*** The test program failed to compile or link. See the file config.log for the"
44902 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44903 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44904 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44908 conftest$ac_exeext conftest.$ac_ext
44909 CFLAGS="$ac_save_CFLAGS"
44910 CXXFLAGS="$ac_save_CXXFLAGS"
44911 LIBS="$ac_save_LIBS"
44922 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44927 if test "$wxUSE_MGL" = 1; then
44928 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44929 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44935 if test "$wxUSE_SOUND" = "yes"; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_SOUND 1
44940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44943 if test "$WXGTK20" = 1; then
44946 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44947 if test -n "$ac_tool_prefix"; then
44948 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44949 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44952 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44953 echo $ECHO_N "(cached) $ECHO_C" >&6
44955 case $PKG_CONFIG in
44957 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44961 for as_dir in $PATH
44964 test -z "$as_dir" && as_dir=.
44965 for ac_exec_ext in '' $ac_executable_extensions; do
44966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44967 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44978 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44979 if test -n "$PKG_CONFIG"; then
44980 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44981 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44983 { echo "$as_me:$LINENO: result: no" >&5
44984 echo "${ECHO_T}no" >&6; }
44989 if test -z "$ac_cv_path_PKG_CONFIG"; then
44990 ac_pt_PKG_CONFIG=$PKG_CONFIG
44991 # Extract the first word of "pkg-config", so it can be a program name with args.
44992 set dummy pkg-config; ac_word=$2
44993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44995 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44996 echo $ECHO_N "(cached) $ECHO_C" >&6
44998 case $ac_pt_PKG_CONFIG in
45000 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45004 for as_dir in $PATH
45007 test -z "$as_dir" && as_dir=.
45008 for ac_exec_ext in '' $ac_executable_extensions; do
45009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45010 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45021 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45022 if test -n "$ac_pt_PKG_CONFIG"; then
45023 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45024 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45026 { echo "$as_me:$LINENO: result: no" >&5
45027 echo "${ECHO_T}no" >&6; }
45030 if test "x$ac_pt_PKG_CONFIG" = x; then
45033 case $cross_compiling:$ac_tool_warned in
45035 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45036 whose name does not start with the host triplet. If you think this
45037 configuration is useful to you, please write to autoconf@gnu.org." >&5
45038 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45039 whose name does not start with the host triplet. If you think this
45040 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45041 ac_tool_warned=yes ;;
45043 PKG_CONFIG=$ac_pt_PKG_CONFIG
45046 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45050 if test -n "$PKG_CONFIG"; then
45051 _pkg_min_version=0.9.0
45052 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45053 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45054 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45055 { echo "$as_me:$LINENO: result: yes" >&5
45056 echo "${ECHO_T}yes" >&6; }
45058 { echo "$as_me:$LINENO: result: no" >&5
45059 echo "${ECHO_T}no" >&6; }
45065 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45067 if test "$wxUSE_GTKPRINT" = "yes" ; then
45071 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
45072 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
45074 if test -n "$PKG_CONFIG"; then
45075 if test -n "$GTKPRINT_CFLAGS"; then
45076 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
45078 if test -n "$PKG_CONFIG" && \
45079 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45080 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45083 (exit $ac_status); }; then
45084 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
45092 if test -n "$PKG_CONFIG"; then
45093 if test -n "$GTKPRINT_LIBS"; then
45094 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
45096 if test -n "$PKG_CONFIG" && \
45097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45098 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45101 (exit $ac_status); }; then
45102 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
45113 if test $pkg_failed = yes; then
45115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45116 _pkg_short_errors_supported=yes
45118 _pkg_short_errors_supported=no
45120 if test $_pkg_short_errors_supported = yes; then
45121 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45123 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45125 # Put the nasty error message in config.log where it belongs
45126 echo "$GTKPRINT_PKG_ERRORS" >&5
45129 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45130 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45131 wxUSE_GTKPRINT="no"
45134 elif test $pkg_failed = untried; then
45136 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45137 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45138 wxUSE_GTKPRINT="no"
45142 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45143 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45144 { echo "$as_me:$LINENO: result: yes" >&5
45145 echo "${ECHO_T}yes" >&6; }
45147 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45148 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45149 cat >>confdefs.h <<\_ACEOF
45150 #define wxUSE_GTKPRINT 1
45157 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45161 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45162 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45164 if test -n "$PKG_CONFIG"; then
45165 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45166 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45168 if test -n "$PKG_CONFIG" && \
45169 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45170 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45173 (exit $ac_status); }; then
45174 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45182 if test -n "$PKG_CONFIG"; then
45183 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45184 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45186 if test -n "$PKG_CONFIG" && \
45187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45188 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191 (exit $ac_status); }; then
45192 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45203 if test $pkg_failed = yes; then
45205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45206 _pkg_short_errors_supported=yes
45208 _pkg_short_errors_supported=no
45210 if test $_pkg_short_errors_supported = yes; then
45211 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45213 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45215 # Put the nasty error message in config.log where it belongs
45216 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45219 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45220 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45221 wxUSE_LIBGNOMEPRINT="no"
45224 elif test $pkg_failed = untried; then
45226 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45227 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45228 wxUSE_LIBGNOMEPRINT="no"
45232 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45233 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45234 { echo "$as_me:$LINENO: result: yes" >&5
45235 echo "${ECHO_T}yes" >&6; }
45237 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45238 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45239 cat >>confdefs.h <<\_ACEOF
45240 #define wxUSE_LIBGNOMEPRINT 1
45248 if test "$wxUSE_MIMETYPE" = "yes" ; then
45249 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45253 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45254 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45256 if test -n "$PKG_CONFIG"; then
45257 if test -n "$GNOMEVFS_CFLAGS"; then
45258 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45260 if test -n "$PKG_CONFIG" && \
45261 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45262 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45265 (exit $ac_status); }; then
45266 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45274 if test -n "$PKG_CONFIG"; then
45275 if test -n "$GNOMEVFS_LIBS"; then
45276 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45278 if test -n "$PKG_CONFIG" && \
45279 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45280 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45283 (exit $ac_status); }; then
45284 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45295 if test $pkg_failed = yes; then
45297 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45298 _pkg_short_errors_supported=yes
45300 _pkg_short_errors_supported=no
45302 if test $_pkg_short_errors_supported = yes; then
45303 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45305 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45307 # Put the nasty error message in config.log where it belongs
45308 echo "$GNOMEVFS_PKG_ERRORS" >&5
45311 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45312 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45313 wxUSE_LIBGNOMEVFS="no"
45316 elif test $pkg_failed = untried; then
45318 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45319 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45320 wxUSE_LIBGNOMEVFS="no"
45324 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45325 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45326 { echo "$as_me:$LINENO: result: yes" >&5
45327 echo "${ECHO_T}yes" >&6; }
45329 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45330 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_LIBGNOMEVFS 1
45340 if test "$wxUSE_LIBHILDON" = "yes" ; then
45343 { echo "$as_me:$LINENO: checking for HILDON" >&5
45344 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45346 if test -n "$PKG_CONFIG"; then
45347 if test -n "$HILDON_CFLAGS"; then
45348 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45350 if test -n "$PKG_CONFIG" && \
45351 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45352 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45355 (exit $ac_status); }; then
45356 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
45364 if test -n "$PKG_CONFIG"; then
45365 if test -n "$HILDON_LIBS"; then
45366 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45368 if test -n "$PKG_CONFIG" && \
45369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45370 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45373 (exit $ac_status); }; then
45374 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
45385 if test $pkg_failed = yes; then
45387 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45388 _pkg_short_errors_supported=yes
45390 _pkg_short_errors_supported=no
45392 if test $_pkg_short_errors_supported = yes; then
45393 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45395 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45397 # Put the nasty error message in config.log where it belongs
45398 echo "$HILDON_PKG_ERRORS" >&5
45401 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45402 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45403 wxUSE_LIBHILDON="no"
45406 elif test $pkg_failed = untried; then
45408 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45409 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45410 wxUSE_LIBHILDON="no"
45414 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45415 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45416 { echo "$as_me:$LINENO: result: yes" >&5
45417 echo "${ECHO_T}yes" >&6; }
45419 EXTRALIBS_HILDON="$HILDON_LIBS"
45420 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45421 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45422 cat >>confdefs.h <<\_ACEOF
45423 #define wxUSE_LIBHILDON 1
45431 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45432 cat >>confdefs.h <<\_ACEOF
45433 #define wxUSE_CMDLINE_PARSER 1
45438 if test "$wxUSE_STOPWATCH" = "yes"; then
45439 cat >>confdefs.h <<\_ACEOF
45440 #define wxUSE_STOPWATCH 1
45445 if test "$wxUSE_DATETIME" = "yes"; then
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_DATETIME 1
45452 if test "$wxUSE_FILE" = "yes"; then
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_FILE 1
45459 if test "$wxUSE_FFILE" = "yes"; then
45460 cat >>confdefs.h <<\_ACEOF
45461 #define wxUSE_FFILE 1
45466 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45467 if test "$wxUSE_STREAMS" != yes; then
45468 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45469 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45470 wxUSE_ARCHIVE_STREAMS=no
45472 cat >>confdefs.h <<\_ACEOF
45473 #define wxUSE_ARCHIVE_STREAMS 1
45479 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45480 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45481 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45482 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45483 elif test "$wxUSE_ZLIB" = "no"; then
45484 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45485 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_ZIPSTREAM 1
45494 if test "$wxUSE_TARSTREAM" = "yes"; then
45495 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45496 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45497 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45499 cat >>confdefs.h <<\_ACEOF
45500 #define wxUSE_TARSTREAM 1
45506 if test "$wxUSE_FILESYSTEM" = "yes"; then
45507 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45508 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45509 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45510 wxUSE_FILESYSTEM=no
45512 cat >>confdefs.h <<\_ACEOF
45513 #define wxUSE_FILESYSTEM 1
45519 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45520 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45521 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45522 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45524 cat >>confdefs.h <<\_ACEOF
45525 #define wxUSE_FS_ARCHIVE 1
45531 if test "$wxUSE_FS_ZIP" = "yes"; then
45532 if test "$wxUSE_FS_ARCHIVE" != yes; then
45533 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45534 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_FS_ZIP 1
45543 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45544 if test "$USE_UNIX" != 1; then
45545 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45546 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45547 wxUSE_ON_FATAL_EXCEPTION=no
45549 cat >>confdefs.h <<\_ACEOF
45550 #define wxUSE_ON_FATAL_EXCEPTION 1
45556 if test "$wxUSE_STACKWALKER" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_STACKWALKER 1
45563 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45564 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45565 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45566 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45567 wxUSE_DEBUGREPORT=no
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_DEBUGREPORT 1
45573 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45579 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_SNGLINST_CHECKER 1
45586 if test "$wxUSE_BUSYINFO" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_BUSYINFO 1
45593 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_STD_IOSTREAM 1
45600 if test "$wxUSE_STD_STRING" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_STD_STRING 1
45607 if test "$wxUSE_STDPATHS" = "yes"; then
45608 cat >>confdefs.h <<\_ACEOF
45609 #define wxUSE_STDPATHS 1
45614 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45615 cat >>confdefs.h <<\_ACEOF
45616 #define wxUSE_TEXTBUFFER 1
45621 if test "$wxUSE_TEXTFILE" = "yes"; then
45622 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45623 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45624 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_TEXTFILE 1
45633 if test "$wxUSE_CONFIG" = "yes" ; then
45634 if test "$wxUSE_TEXTFILE" != "yes"; then
45635 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45636 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_CONFIG 1
45642 cat >>confdefs.h <<\_ACEOF
45643 #define wxUSE_CONFIG_NATIVE 1
45646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45650 if test "$wxUSE_INTL" = "yes" ; then
45651 if test "$wxUSE_FILE" != "yes"; then
45652 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45653 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45655 cat >>confdefs.h <<\_ACEOF
45656 #define wxUSE_INTL 1
45659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45660 GUIDIST="$GUIDIST INTL_DIST"
45664 if test "$wxUSE_LOG" = "yes"; then
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_LOG 1
45670 if test "$wxUSE_LOGGUI" = "yes"; then
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_LOGGUI 1
45677 if test "$wxUSE_LOGWINDOW" = "yes"; then
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_LOGWINDOW 1
45684 if test "$wxUSE_LOGDIALOG" = "yes"; then
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_LOG_DIALOG 1
45691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45694 if test "$wxUSE_LONGLONG" = "yes"; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_LONGLONG 1
45701 if test "$wxUSE_GEOMETRY" = "yes"; then
45702 cat >>confdefs.h <<\_ACEOF
45703 #define wxUSE_GEOMETRY 1
45708 if test "$wxUSE_BASE64" = "yes"; then
45709 cat >>confdefs.h <<\_ACEOF
45710 #define wxUSE_BASE64 1
45715 if test "$wxUSE_STREAMS" = "yes" ; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_STREAMS 1
45722 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_PRINTF_POS_PARAMS 1
45729 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_OBJC_UNIQUIFYING 1
45737 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_CONSOLE_EVENTLOOP 1
45743 if test "$wxUSE_UNIX" = "yes"; then
45744 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define wxUSE_SELECT_DISPATCHER 1
45751 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45753 for ac_header in sys/epoll.h
45755 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45759 echo $ECHO_N "(cached) $ECHO_C" >&6
45761 cat >conftest.$ac_ext <<_ACEOF
45764 cat confdefs.h >>conftest.$ac_ext
45765 cat >>conftest.$ac_ext <<_ACEOF
45766 /* end confdefs.h. */
45767 $ac_includes_default
45769 #include <$ac_header>
45771 rm -f conftest.$ac_objext
45772 if { (ac_try="$ac_compile"
45773 case "(($ac_try" in
45774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45775 *) ac_try_echo
=$ac_try;;
45777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45778 (eval "$ac_compile") 2>conftest.er1
45780 grep -v '^ *+' conftest.er1
>conftest.err
45782 cat conftest.err
>&5
45783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45784 (exit $ac_status); } && {
45785 test -z "$ac_c_werror_flag" ||
45786 test ! -s conftest.err
45787 } && test -s conftest.
$ac_objext; then
45788 eval "$as_ac_Header=yes"
45790 echo "$as_me: failed program was:" >&5
45791 sed 's/^/| /' conftest.
$ac_ext >&5
45793 eval "$as_ac_Header=no"
45796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45798 ac_res
=`eval echo '${'$as_ac_Header'}'`
45799 { echo "$as_me:$LINENO: result: $ac_res" >&5
45800 echo "${ECHO_T}$ac_res" >&6; }
45801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45802 cat >>confdefs.h
<<_ACEOF
45803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45810 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45811 cat >>confdefs.h
<<\_ACEOF
45812 #define wxUSE_EPOLL_DISPATCHER 1
45816 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45817 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45826 for ac_func
in gettimeofday ftime
45828 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45831 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45832 echo $ECHO_N "(cached) $ECHO_C" >&6
45834 cat >conftest.
$ac_ext <<_ACEOF
45837 cat confdefs.h
>>conftest.
$ac_ext
45838 cat >>conftest.
$ac_ext <<_ACEOF
45839 /* end confdefs.h. */
45840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45842 #define $ac_func innocuous_$ac_func
45844 /* System header to define __stub macros and hopefully few prototypes,
45845 which can conflict with char $ac_func (); below.
45846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45847 <limits.h> exists even on freestanding compilers. */
45850 # include <limits.h>
45852 # include <assert.h>
45857 /* Override any GCC internal prototype to avoid an error.
45858 Use char because int might match the return type of a GCC
45859 builtin and then its argument prototype would still apply. */
45864 /* The GNU C library defines this for functions which it implements
45865 to always fail with ENOSYS. Some functions are actually named
45866 something starting with __ and the normal name is an alias. */
45867 #if defined __stub_$ac_func || defined __stub___$ac_func
45874 return $ac_func ();
45879 rm -f conftest.
$ac_objext conftest
$ac_exeext
45880 if { (ac_try
="$ac_link"
45881 case "(($ac_try" in
45882 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45883 *) ac_try_echo=$ac_try;;
45885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45886 (eval "$ac_link") 2>conftest.er1
45888 grep -v '^ *+' conftest.er1 >conftest.err
45890 cat conftest.err >&5
45891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45892 (exit $ac_status); } && {
45893 test -z "$ac_c_werror_flag" ||
45894 test ! -s conftest.err
45895 } && test -s conftest$ac_exeext &&
45896 $as_test_x conftest$ac_exeext; then
45897 eval "$as_ac_var=yes"
45899 echo "$as_me: failed program was:" >&5
45900 sed 's/^/| /' conftest.$ac_ext >&5
45902 eval "$as_ac_var=no"
45905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45906 conftest$ac_exeext conftest.$ac_ext
45908 ac_res=`eval echo '${'$as_ac_var'}'`
45909 { echo "$as_me:$LINENO: result: $ac_res" >&5
45910 echo "${ECHO_T}$ac_res" >&6; }
45911 if test `eval echo '${'$as_ac_var'}'` = yes; then
45912 cat >>confdefs.h <<_ACEOF
45913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45920 if test "$ac_cv_func_gettimeofday" = "yes"; then
45921 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45922 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45923 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45924 echo $ECHO_N "(cached) $ECHO_C" >&6
45927 cat >conftest.$ac_ext <<_ACEOF
45930 cat confdefs.h >>conftest.$ac_ext
45931 cat >>conftest.$ac_ext <<_ACEOF
45932 /* end confdefs.h. */
45934 #include <sys/time.h>
45935 #include <unistd.h>
45942 gettimeofday(&tv, NULL);
45948 rm -f conftest.$ac_objext
45949 if { (ac_try="$ac_compile"
45950 case "(($ac_try" in
45951 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45952 *) ac_try_echo
=$ac_try;;
45954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45955 (eval "$ac_compile") 2>conftest.er1
45957 grep -v '^ *+' conftest.er1
>conftest.err
45959 cat conftest.err
>&5
45960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961 (exit $ac_status); } && {
45962 test -z "$ac_c_werror_flag" ||
45963 test ! -s conftest.err
45964 } && test -s conftest.
$ac_objext; then
45965 wx_cv_func_gettimeofday_has_2_args
=yes
45967 echo "$as_me: failed program was:" >&5
45968 sed 's/^/| /' conftest.
$ac_ext >&5
45970 cat >conftest.
$ac_ext <<_ACEOF
45973 cat confdefs.h
>>conftest.
$ac_ext
45974 cat >>conftest.
$ac_ext <<_ACEOF
45975 /* end confdefs.h. */
45977 #include <sys/time.h>
45978 #include <unistd.h>
45991 rm -f conftest.
$ac_objext
45992 if { (ac_try
="$ac_compile"
45993 case "(($ac_try" in
45994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45995 *) ac_try_echo=$ac_try;;
45997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45998 (eval "$ac_compile") 2>conftest.er1
46000 grep -v '^ *+' conftest.er1 >conftest.err
46002 cat conftest.err >&5
46003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46004 (exit $ac_status); } && {
46005 test -z "$ac_c_werror_flag" ||
46006 test ! -s conftest.err
46007 } && test -s conftest.$ac_objext; then
46008 wx_cv_func_gettimeofday_has_2_args=no
46010 echo "$as_me: failed program was:" >&5
46011 sed 's/^/| /' conftest.$ac_ext >&5
46014 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46015 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46016 wx_cv_func_gettimeofday_has_2_args=unknown
46021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46028 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46029 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46031 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46032 cat >>confdefs.h <<\_ACEOF
46033 #define WX_GETTIMEOFDAY_NO_TZ 1
46039 if test "$wxUSE_DATETIME" = "yes"; then
46040 { echo "$as_me:$LINENO: checking for strptime" >&5
46041 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46042 if test "${ac_cv_func_strptime+set}" = set; then
46043 echo $ECHO_N "(cached) $ECHO_C" >&6
46045 cat >conftest.$ac_ext <<_ACEOF
46048 cat confdefs.h >>conftest.$ac_ext
46049 cat >>conftest.$ac_ext <<_ACEOF
46050 /* end confdefs.h. */
46051 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46053 #define strptime innocuous_strptime
46055 /* System header to define __stub macros and hopefully few prototypes,
46056 which can conflict with char strptime (); below.
46057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46058 <limits.h> exists even on freestanding compilers. */
46061 # include <limits.h>
46063 # include <assert.h>
46068 /* Override any GCC internal prototype to avoid an error.
46069 Use char because int might match the return type of a GCC
46070 builtin and then its argument prototype would still apply. */
46075 /* The GNU C library defines this for functions which it implements
46076 to always fail with ENOSYS. Some functions are actually named
46077 something starting with __ and the normal name is an alias. */
46078 #if defined __stub_strptime || defined __stub___strptime
46085 return strptime ();
46090 rm -f conftest.$ac_objext conftest$ac_exeext
46091 if { (ac_try="$ac_link"
46092 case "(($ac_try" in
46093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46094 *) ac_try_echo
=$ac_try;;
46096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46097 (eval "$ac_link") 2>conftest.er1
46099 grep -v '^ *+' conftest.er1
>conftest.err
46101 cat conftest.err
>&5
46102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46103 (exit $ac_status); } && {
46104 test -z "$ac_c_werror_flag" ||
46105 test ! -s conftest.err
46106 } && test -s conftest
$ac_exeext &&
46107 $as_test_x conftest
$ac_exeext; then
46108 ac_cv_func_strptime
=yes
46110 echo "$as_me: failed program was:" >&5
46111 sed 's/^/| /' conftest.
$ac_ext >&5
46113 ac_cv_func_strptime
=no
46116 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46117 conftest
$ac_exeext conftest.
$ac_ext
46119 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46120 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46122 if test "$ac_cv_func_strptime" = "yes"; then
46123 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46124 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46125 if test "${wx_cv_func_strptime_decl+set}" = set; then
46126 echo $ECHO_N "(cached) $ECHO_C" >&6
46130 ac_cpp
='$CXXCPP $CPPFLAGS'
46131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46135 cat >conftest.
$ac_ext <<_ACEOF
46138 cat confdefs.h
>>conftest.
$ac_ext
46139 cat >>conftest.
$ac_ext <<_ACEOF
46140 /* end confdefs.h. */
46149 strptime("foo", "bar", &t);
46155 rm -f conftest.
$ac_objext
46156 if { (ac_try
="$ac_compile"
46157 case "(($ac_try" in
46158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46159 *) ac_try_echo=$ac_try;;
46161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46162 (eval "$ac_compile") 2>conftest.er1
46164 grep -v '^ *+' conftest.er1 >conftest.err
46166 cat conftest.err >&5
46167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46168 (exit $ac_status); } && {
46169 test -z "$ac_cxx_werror_flag" ||
46170 test ! -s conftest.err
46171 } && test -s conftest.$ac_objext; then
46172 wx_cv_func_strptime_decl=yes
46174 echo "$as_me: failed program was:" >&5
46175 sed 's/^/| /' conftest.$ac_ext >&5
46177 wx_cv_func_strptime_decl=no
46181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46183 ac_cpp='$CPP $CPPFLAGS'
46184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46191 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46192 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46194 if test "$wx_cv_func_strptime_decl" = "yes"; then
46195 cat >>confdefs.h <<\_ACEOF
46196 #define HAVE_STRPTIME_DECL 1
46200 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46202 if test "$ac_cv_func_strptime" = "yes"; then
46203 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46204 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46205 if test "${wx_cv_func_strptime_ok+set}" = set; then
46206 echo $ECHO_N "(cached) $ECHO_C" >&6
46208 if test "$cross_compiling" = yes; then
46209 wx_cv_func_strptime_ok=no
46212 cat >conftest.$ac_ext <<_ACEOF
46214 #include <stdlib.h>
46216 #include "confdefs.h"
46223 return !!strptime("", "%x", &t);
46227 rm -f conftest$ac_exeext
46228 if { (ac_try="$ac_link"
46229 case "(($ac_try" in
46230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46231 *) ac_try_echo
=$ac_try;;
46233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46234 (eval "$ac_link") 2>&5
46236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46237 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46238 { (case "(($ac_try" in
46239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46240 *) ac_try_echo=$ac_try;;
46242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46243 (eval "$ac_try") 2>&5
46245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46246 (exit $ac_status); }; }; then
46247 wx_cv_func_strptime_ok=yes
46249 echo "$as_me: program exited with status $ac_status" >&5
46250 echo "$as_me: failed program was:" >&5
46251 sed 's/^/| /' conftest.$ac_ext >&5
46253 ( exit $ac_status )
46254 wx_cv_func_strptime_ok=no
46256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46262 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46263 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46265 if test "$wx_cv_func_strptime_ok" = "yes"; then
46266 cat >>confdefs.h <<\_ACEOF
46267 #define HAVE_STRPTIME 1
46273 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46274 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46275 if test "${wx_cv_var_timezone+set}" = set; then
46276 echo $ECHO_N "(cached) $ECHO_C" >&6
46280 ac_cpp='$CXXCPP $CPPFLAGS'
46281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46285 cat >conftest.$ac_ext <<_ACEOF
46288 cat confdefs.h >>conftest.$ac_ext
46289 cat >>conftest.$ac_ext <<_ACEOF
46290 /* end confdefs.h. */
46305 rm -f conftest.$ac_objext
46306 if { (ac_try="$ac_compile"
46307 case "(($ac_try" in
46308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46309 *) ac_try_echo
=$ac_try;;
46311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46312 (eval "$ac_compile") 2>conftest.er1
46314 grep -v '^ *+' conftest.er1
>conftest.err
46316 cat conftest.err
>&5
46317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46318 (exit $ac_status); } && {
46319 test -z "$ac_cxx_werror_flag" ||
46320 test ! -s conftest.err
46321 } && test -s conftest.
$ac_objext; then
46323 wx_cv_var_timezone
=timezone
46326 echo "$as_me: failed program was:" >&5
46327 sed 's/^/| /' conftest.
$ac_ext >&5
46330 cat >conftest.
$ac_ext <<_ACEOF
46333 cat confdefs.h
>>conftest.
$ac_ext
46334 cat >>conftest.
$ac_ext <<_ACEOF
46335 /* end confdefs.h. */
46350 rm -f conftest.
$ac_objext
46351 if { (ac_try
="$ac_compile"
46352 case "(($ac_try" in
46353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46354 *) ac_try_echo=$ac_try;;
46356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46357 (eval "$ac_compile") 2>conftest.er1
46359 grep -v '^ *+' conftest.er1 >conftest.err
46361 cat conftest.err >&5
46362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46363 (exit $ac_status); } && {
46364 test -z "$ac_cxx_werror_flag" ||
46365 test ! -s conftest.err
46366 } && test -s conftest.$ac_objext; then
46368 wx_cv_var_timezone=_timezone
46371 echo "$as_me: failed program was:" >&5
46372 sed 's/^/| /' conftest.$ac_ext >&5
46375 cat >conftest.$ac_ext <<_ACEOF
46378 cat confdefs.h >>conftest.$ac_ext
46379 cat >>conftest.$ac_ext <<_ACEOF
46380 /* end confdefs.h. */
46395 rm -f conftest.$ac_objext
46396 if { (ac_try="$ac_compile"
46397 case "(($ac_try" in
46398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46399 *) ac_try_echo
=$ac_try;;
46401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46402 (eval "$ac_compile") 2>conftest.er1
46404 grep -v '^ *+' conftest.er1
>conftest.err
46406 cat conftest.err
>&5
46407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46408 (exit $ac_status); } && {
46409 test -z "$ac_cxx_werror_flag" ||
46410 test ! -s conftest.err
46411 } && test -s conftest.
$ac_objext; then
46413 wx_cv_var_timezone
=__timezone
46416 echo "$as_me: failed program was:" >&5
46417 sed 's/^/| /' conftest.
$ac_ext >&5
46420 if test "$USE_DOS" = 0 ; then
46421 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46422 echo "$as_me: WARNING: no timezone variable" >&2;}
46428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46440 ac_cpp
='$CPP $CPPFLAGS'
46441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46448 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46449 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46451 if test "x$wx_cv_var_timezone" != x
; then
46452 cat >>confdefs.h
<<_ACEOF
46453 #define WX_TIMEZONE $wx_cv_var_timezone
46459 for ac_func
in localtime
46461 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46462 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46464 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46465 echo $ECHO_N "(cached) $ECHO_C" >&6
46467 cat >conftest.
$ac_ext <<_ACEOF
46470 cat confdefs.h
>>conftest.
$ac_ext
46471 cat >>conftest.
$ac_ext <<_ACEOF
46472 /* end confdefs.h. */
46473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46475 #define $ac_func innocuous_$ac_func
46477 /* System header to define __stub macros and hopefully few prototypes,
46478 which can conflict with char $ac_func (); below.
46479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46480 <limits.h> exists even on freestanding compilers. */
46483 # include <limits.h>
46485 # include <assert.h>
46490 /* Override any GCC internal prototype to avoid an error.
46491 Use char because int might match the return type of a GCC
46492 builtin and then its argument prototype would still apply. */
46497 /* The GNU C library defines this for functions which it implements
46498 to always fail with ENOSYS. Some functions are actually named
46499 something starting with __ and the normal name is an alias. */
46500 #if defined __stub_$ac_func || defined __stub___$ac_func
46507 return $ac_func ();
46512 rm -f conftest.
$ac_objext conftest
$ac_exeext
46513 if { (ac_try
="$ac_link"
46514 case "(($ac_try" in
46515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46516 *) ac_try_echo=$ac_try;;
46518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46519 (eval "$ac_link") 2>conftest.er1
46521 grep -v '^ *+' conftest.er1 >conftest.err
46523 cat conftest.err >&5
46524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46525 (exit $ac_status); } && {
46526 test -z "$ac_c_werror_flag" ||
46527 test ! -s conftest.err
46528 } && test -s conftest$ac_exeext &&
46529 $as_test_x conftest$ac_exeext; then
46530 eval "$as_ac_var=yes"
46532 echo "$as_me: failed program was:" >&5
46533 sed 's/^/| /' conftest.$ac_ext >&5
46535 eval "$as_ac_var=no"
46538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46539 conftest$ac_exeext conftest.$ac_ext
46541 ac_res=`eval echo '${'$as_ac_var'}'`
46542 { echo "$as_me:$LINENO: result: $ac_res" >&5
46543 echo "${ECHO_T}$ac_res" >&6; }
46544 if test `eval echo '${'$as_ac_var'}'` = yes; then
46545 cat >>confdefs.h <<_ACEOF
46546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46553 if test "$ac_cv_func_localtime" = "yes"; then
46554 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46555 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46556 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46557 echo $ECHO_N "(cached) $ECHO_C" >&6
46560 cat >conftest.$ac_ext <<_ACEOF
46563 cat confdefs.h >>conftest.$ac_ext
46564 cat >>conftest.$ac_ext <<_ACEOF
46565 /* end confdefs.h. */
46580 rm -f conftest.$ac_objext
46581 if { (ac_try="$ac_compile"
46582 case "(($ac_try" in
46583 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46584 *) ac_try_echo
=$ac_try;;
46586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46587 (eval "$ac_compile") 2>conftest.er1
46589 grep -v '^ *+' conftest.er1
>conftest.err
46591 cat conftest.err
>&5
46592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46593 (exit $ac_status); } && {
46594 test -z "$ac_c_werror_flag" ||
46595 test ! -s conftest.err
46596 } && test -s conftest.
$ac_objext; then
46598 wx_cv_struct_tm_has_gmtoff
=yes
46601 echo "$as_me: failed program was:" >&5
46602 sed 's/^/| /' conftest.
$ac_ext >&5
46604 wx_cv_struct_tm_has_gmtoff
=no
46608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46611 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46612 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46615 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46616 cat >>confdefs.h
<<\_ACEOF
46617 #define WX_GMTOFF_IN_TM 1
46622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46626 if test "$wxUSE_SOCKETS" = "yes"; then
46627 if test "$wxUSE_MGL" = "1"; then
46628 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46629 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46634 if test "$wxUSE_SOCKETS" = "yes"; then
46635 if test "$TOOLKIT" != "MSW"; then
46636 { echo "$as_me:$LINENO: checking for socket" >&5
46637 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46638 if test "${ac_cv_func_socket+set}" = set; then
46639 echo $ECHO_N "(cached) $ECHO_C" >&6
46641 cat >conftest.
$ac_ext <<_ACEOF
46644 cat confdefs.h
>>conftest.
$ac_ext
46645 cat >>conftest.
$ac_ext <<_ACEOF
46646 /* end confdefs.h. */
46647 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46649 #define socket innocuous_socket
46651 /* System header to define __stub macros and hopefully few prototypes,
46652 which can conflict with char socket (); below.
46653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46654 <limits.h> exists even on freestanding compilers. */
46657 # include <limits.h>
46659 # include <assert.h>
46664 /* Override any GCC internal prototype to avoid an error.
46665 Use char because int might match the return type of a GCC
46666 builtin and then its argument prototype would still apply. */
46671 /* The GNU C library defines this for functions which it implements
46672 to always fail with ENOSYS. Some functions are actually named
46673 something starting with __ and the normal name is an alias. */
46674 #if defined __stub_socket || defined __stub___socket
46686 rm -f conftest.
$ac_objext conftest
$ac_exeext
46687 if { (ac_try
="$ac_link"
46688 case "(($ac_try" in
46689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46690 *) ac_try_echo=$ac_try;;
46692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46693 (eval "$ac_link") 2>conftest.er1
46695 grep -v '^ *+' conftest.er1 >conftest.err
46697 cat conftest.err >&5
46698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699 (exit $ac_status); } && {
46700 test -z "$ac_c_werror_flag" ||
46701 test ! -s conftest.err
46702 } && test -s conftest$ac_exeext &&
46703 $as_test_x conftest$ac_exeext; then
46704 ac_cv_func_socket=yes
46706 echo "$as_me: failed program was:" >&5
46707 sed 's/^/| /' conftest.$ac_ext >&5
46709 ac_cv_func_socket=no
46712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46713 conftest$ac_exeext conftest.$ac_ext
46715 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46716 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46717 if test $ac_cv_func_socket = yes; then
46721 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46722 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46723 if test "${ac_cv_lib_socket_socket+set}" = set; then
46724 echo $ECHO_N "(cached) $ECHO_C" >&6
46726 ac_check_lib_save_LIBS=$LIBS
46727 LIBS="-lsocket $LIBS"
46728 cat >conftest.$ac_ext <<_ACEOF
46731 cat confdefs.h >>conftest.$ac_ext
46732 cat >>conftest.$ac_ext <<_ACEOF
46733 /* end confdefs.h. */
46735 /* Override any GCC internal prototype to avoid an error.
46736 Use char because int might match the return type of a GCC
46737 builtin and then its argument prototype would still apply. */
46750 rm -f conftest.$ac_objext conftest$ac_exeext
46751 if { (ac_try="$ac_link"
46752 case "(($ac_try" in
46753 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46754 *) ac_try_echo
=$ac_try;;
46756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46757 (eval "$ac_link") 2>conftest.er1
46759 grep -v '^ *+' conftest.er1
>conftest.err
46761 cat conftest.err
>&5
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); } && {
46764 test -z "$ac_c_werror_flag" ||
46765 test ! -s conftest.err
46766 } && test -s conftest
$ac_exeext &&
46767 $as_test_x conftest
$ac_exeext; then
46768 ac_cv_lib_socket_socket
=yes
46770 echo "$as_me: failed program was:" >&5
46771 sed 's/^/| /' conftest.
$ac_ext >&5
46773 ac_cv_lib_socket_socket
=no
46776 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46777 conftest
$ac_exeext conftest.
$ac_ext
46778 LIBS
=$ac_check_lib_save_LIBS
46780 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46781 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46782 if test $ac_cv_lib_socket_socket = yes; then
46783 if test "$INET_LINK" != " -lsocket"; then
46784 INET_LINK
="$INET_LINK -lsocket"
46788 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46789 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46802 if test "$wxUSE_SOCKETS" = "yes" ; then
46803 if test "$TOOLKIT" != "MSW"; then
46804 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46805 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46806 if test "${wx_cv_type_getsockname3+set}" = set; then
46807 echo $ECHO_N "(cached) $ECHO_C" >&6
46811 ac_cpp
='$CXXCPP $CPPFLAGS'
46812 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46816 cat >conftest.
$ac_ext <<_ACEOF
46819 cat confdefs.h
>>conftest.
$ac_ext
46820 cat >>conftest.
$ac_ext <<_ACEOF
46821 /* end confdefs.h. */
46823 #include <sys/types.h>
46824 #include <sys/socket.h>
46831 getsockname(0, 0, &len);
46837 rm -f conftest.
$ac_objext
46838 if { (ac_try
="$ac_compile"
46839 case "(($ac_try" in
46840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46841 *) ac_try_echo=$ac_try;;
46843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46844 (eval "$ac_compile") 2>conftest.er1
46846 grep -v '^ *+' conftest.er1 >conftest.err
46848 cat conftest.err >&5
46849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46850 (exit $ac_status); } && {
46851 test -z "$ac_cxx_werror_flag" ||
46852 test ! -s conftest.err
46853 } && test -s conftest.$ac_objext; then
46854 wx_cv_type_getsockname3=socklen_t
46856 echo "$as_me: failed program was:" >&5
46857 sed 's/^/| /' conftest.$ac_ext >&5
46860 CFLAGS_OLD="$CFLAGS"
46861 if test "$GCC" = yes ; then
46862 CFLAGS="-Werror $CFLAGS"
46865 cat >conftest.$ac_ext <<_ACEOF
46868 cat confdefs.h >>conftest.$ac_ext
46869 cat >>conftest.$ac_ext <<_ACEOF
46870 /* end confdefs.h. */
46872 #include <sys/types.h>
46873 #include <sys/socket.h>
46880 getsockname(0, 0, &len);
46886 rm -f conftest.$ac_objext
46887 if { (ac_try="$ac_compile"
46888 case "(($ac_try" in
46889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46890 *) ac_try_echo
=$ac_try;;
46892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46893 (eval "$ac_compile") 2>conftest.er1
46895 grep -v '^ *+' conftest.er1
>conftest.err
46897 cat conftest.err
>&5
46898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46899 (exit $ac_status); } && {
46900 test -z "$ac_cxx_werror_flag" ||
46901 test ! -s conftest.err
46902 } && test -s conftest.
$ac_objext; then
46903 wx_cv_type_getsockname3
=size_t
46905 echo "$as_me: failed program was:" >&5
46906 sed 's/^/| /' conftest.
$ac_ext >&5
46908 cat >conftest.
$ac_ext <<_ACEOF
46911 cat confdefs.h
>>conftest.
$ac_ext
46912 cat >>conftest.
$ac_ext <<_ACEOF
46913 /* end confdefs.h. */
46915 #include <sys/types.h>
46916 #include <sys/socket.h>
46923 getsockname(0, 0, &len);
46929 rm -f conftest.
$ac_objext
46930 if { (ac_try
="$ac_compile"
46931 case "(($ac_try" in
46932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46933 *) ac_try_echo=$ac_try;;
46935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46936 (eval "$ac_compile") 2>conftest.er1
46938 grep -v '^ *+' conftest.er1 >conftest.err
46940 cat conftest.err >&5
46941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46942 (exit $ac_status); } && {
46943 test -z "$ac_cxx_werror_flag" ||
46944 test ! -s conftest.err
46945 } && test -s conftest.$ac_objext; then
46946 wx_cv_type_getsockname3=int
46948 echo "$as_me: failed program was:" >&5
46949 sed 's/^/| /' conftest.$ac_ext >&5
46951 wx_cv_type_getsockname3=unknown
46955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46961 CFLAGS="$CFLAGS_OLD"
46966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46968 ac_cpp='$CPP $CPPFLAGS'
46969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46975 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46976 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46978 if test "$wx_cv_type_getsockname3" = "unknown"; then
46980 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46981 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46983 cat >>confdefs.h <<_ACEOF
46984 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46988 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46989 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46990 if test "${wx_cv_type_getsockopt5+set}" = set; then
46991 echo $ECHO_N "(cached) $ECHO_C" >&6
46995 ac_cpp='$CXXCPP $CPPFLAGS'
46996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47000 cat >conftest.$ac_ext <<_ACEOF
47003 cat confdefs.h >>conftest.$ac_ext
47004 cat >>conftest.$ac_ext <<_ACEOF
47005 /* end confdefs.h. */
47007 #include <sys/types.h>
47008 #include <sys/socket.h>
47015 getsockopt(0, 0, 0, 0, &len);
47021 rm -f conftest.$ac_objext
47022 if { (ac_try="$ac_compile"
47023 case "(($ac_try" in
47024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47025 *) ac_try_echo
=$ac_try;;
47027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47028 (eval "$ac_compile") 2>conftest.er1
47030 grep -v '^ *+' conftest.er1
>conftest.err
47032 cat conftest.err
>&5
47033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47034 (exit $ac_status); } && {
47035 test -z "$ac_cxx_werror_flag" ||
47036 test ! -s conftest.err
47037 } && test -s conftest.
$ac_objext; then
47038 wx_cv_type_getsockopt5
=socklen_t
47040 echo "$as_me: failed program was:" >&5
47041 sed 's/^/| /' conftest.
$ac_ext >&5
47044 cat >conftest.
$ac_ext <<_ACEOF
47047 cat confdefs.h
>>conftest.
$ac_ext
47048 cat >>conftest.
$ac_ext <<_ACEOF
47049 /* end confdefs.h. */
47051 #include <sys/types.h>
47052 #include <sys/socket.h>
47059 getsockopt(0, 0, 0, 0, &len);
47065 rm -f conftest.
$ac_objext
47066 if { (ac_try
="$ac_compile"
47067 case "(($ac_try" in
47068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47069 *) ac_try_echo=$ac_try;;
47071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47072 (eval "$ac_compile") 2>conftest.er1
47074 grep -v '^ *+' conftest.er1 >conftest.err
47076 cat conftest.err >&5
47077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078 (exit $ac_status); } && {
47079 test -z "$ac_cxx_werror_flag" ||
47080 test ! -s conftest.err
47081 } && test -s conftest.$ac_objext; then
47082 wx_cv_type_getsockopt5=size_t
47084 echo "$as_me: failed program was:" >&5
47085 sed 's/^/| /' conftest.$ac_ext >&5
47087 cat >conftest.$ac_ext <<_ACEOF
47090 cat confdefs.h >>conftest.$ac_ext
47091 cat >>conftest.$ac_ext <<_ACEOF
47092 /* end confdefs.h. */
47094 #include <sys/types.h>
47095 #include <sys/socket.h>
47102 getsockopt(0, 0, 0, 0, &len);
47108 rm -f conftest.$ac_objext
47109 if { (ac_try="$ac_compile"
47110 case "(($ac_try" in
47111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47112 *) ac_try_echo
=$ac_try;;
47114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47115 (eval "$ac_compile") 2>conftest.er1
47117 grep -v '^ *+' conftest.er1
>conftest.err
47119 cat conftest.err
>&5
47120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47121 (exit $ac_status); } && {
47122 test -z "$ac_cxx_werror_flag" ||
47123 test ! -s conftest.err
47124 } && test -s conftest.
$ac_objext; then
47125 wx_cv_type_getsockopt5
=int
47127 echo "$as_me: failed program was:" >&5
47128 sed 's/^/| /' conftest.
$ac_ext >&5
47130 wx_cv_type_getsockopt5
=unknown
47134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47145 ac_cpp
='$CPP $CPPFLAGS'
47146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47152 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47153 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47155 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47157 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47158 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47160 cat >>confdefs.h
<<_ACEOF
47161 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47168 if test "$wxUSE_SOCKETS" = "yes" ; then
47169 cat >>confdefs.h
<<\_ACEOF
47170 #define wxUSE_SOCKETS 1
47173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47176 if test "$wxUSE_PROTOCOL" = "yes"; then
47177 if test "$wxUSE_SOCKETS" != "yes"; then
47178 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47179 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47184 if test "$wxUSE_PROTOCOL" = "yes"; then
47185 cat >>confdefs.h
<<\_ACEOF
47186 #define wxUSE_PROTOCOL 1
47190 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47191 cat >>confdefs.h
<<\_ACEOF
47192 #define wxUSE_PROTOCOL_HTTP 1
47196 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47197 cat >>confdefs.h
<<\_ACEOF
47198 #define wxUSE_PROTOCOL_FTP 1
47202 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47203 cat >>confdefs.h
<<\_ACEOF
47204 #define wxUSE_PROTOCOL_FILE 1
47209 if test "$wxUSE_FS_INET" = "yes"; then
47210 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47211 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47216 if test "$wxUSE_URL" = "yes"; then
47217 if test "$wxUSE_PROTOCOL" != "yes"; then
47218 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47219 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47222 if test "$wxUSE_URL" = "yes"; then
47223 cat >>confdefs.h
<<\_ACEOF
47224 #define wxUSE_URL 1
47230 if test "$wxUSE_VARIANT" = "yes"; then
47231 cat >>confdefs.h
<<\_ACEOF
47232 #define wxUSE_VARIANT 1
47237 if test "$wxUSE_FS_INET" = "yes"; then
47238 cat >>confdefs.h
<<\_ACEOF
47239 #define wxUSE_FS_INET 1
47245 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47248 if test "$TOOLKIT" = "MSW"; then
47251 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47252 if test "$USE_DARWIN" = 1; then
47253 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47254 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47256 ac_cpp
='$CXXCPP $CPPFLAGS'
47257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47261 cat >conftest.
$ac_ext <<_ACEOF
47264 cat confdefs.h
>>conftest.
$ac_ext
47265 cat >>conftest.
$ac_ext <<_ACEOF
47266 /* end confdefs.h. */
47267 #include <IOKit/hid/IOHIDLib.h>
47271 IOHIDQueueInterface *qi = NULL;
47272 IOHIDCallbackFunction cb = NULL;
47273 qi->setEventCallout(NULL, cb, NULL, NULL);
47278 rm -f conftest.
$ac_objext
47279 if { (ac_try
="$ac_compile"
47280 case "(($ac_try" in
47281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47282 *) ac_try_echo=$ac_try;;
47284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47285 (eval "$ac_compile") 2>conftest.er1
47287 grep -v '^ *+' conftest.er1 >conftest.err
47289 cat conftest.err >&5
47290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47291 (exit $ac_status); } && {
47292 test -z "$ac_cxx_werror_flag" ||
47293 test ! -s conftest.err
47294 } && test -s conftest.$ac_objext; then
47298 echo "$as_me: failed program was:" >&5
47299 sed 's/^/| /' conftest.$ac_ext >&5
47304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47306 ac_cpp='$CPP $CPPFLAGS'
47307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47311 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47312 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47316 if test "$wxUSE_MGL" != "1"; then
47318 for ac_header in linux/joystick.h
47320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47324 echo $ECHO_N "(cached) $ECHO_C" >&6
47326 cat >conftest.$ac_ext <<_ACEOF
47329 cat confdefs.h >>conftest.$ac_ext
47330 cat >>conftest.$ac_ext <<_ACEOF
47331 /* end confdefs.h. */
47332 $ac_includes_default
47334 #include <$ac_header>
47336 rm -f conftest.$ac_objext
47337 if { (ac_try="$ac_compile"
47338 case "(($ac_try" in
47339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47340 *) ac_try_echo
=$ac_try;;
47342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47343 (eval "$ac_compile") 2>conftest.er1
47345 grep -v '^ *+' conftest.er1
>conftest.err
47347 cat conftest.err
>&5
47348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47349 (exit $ac_status); } && {
47350 test -z "$ac_c_werror_flag" ||
47351 test ! -s conftest.err
47352 } && test -s conftest.
$ac_objext; then
47353 eval "$as_ac_Header=yes"
47355 echo "$as_me: failed program was:" >&5
47356 sed 's/^/| /' conftest.
$ac_ext >&5
47358 eval "$as_ac_Header=no"
47361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47363 ac_res
=`eval echo '${'$as_ac_Header'}'`
47364 { echo "$as_me:$LINENO: result: $ac_res" >&5
47365 echo "${ECHO_T}$ac_res" >&6; }
47366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47367 cat >>confdefs.h
<<_ACEOF
47368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47378 if test "$wxUSE_JOYSTICK" = "yes"; then
47379 cat >>confdefs.h
<<\_ACEOF
47380 #define wxUSE_JOYSTICK 1
47383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47385 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47386 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47392 if test "$wxUSE_FONTENUM" = "yes" ; then
47393 cat >>confdefs.h
<<\_ACEOF
47394 #define wxUSE_FONTENUM 1
47399 if test "$wxUSE_FONTMAP" = "yes" ; then
47400 cat >>confdefs.h
<<\_ACEOF
47401 #define wxUSE_FONTMAP 1
47406 if test "$wxUSE_UNICODE" = "yes" ; then
47407 cat >>confdefs.h
<<\_ACEOF
47408 #define wxUSE_UNICODE 1
47412 if test "$USE_WIN32" != 1; then
47413 wxUSE_UNICODE_MSLU
=no
47416 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47417 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47418 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47419 if test "${ac_cv_lib_unicows_main+set}" = set; then
47420 echo $ECHO_N "(cached) $ECHO_C" >&6
47422 ac_check_lib_save_LIBS
=$LIBS
47423 LIBS
="-lunicows $LIBS"
47424 cat >conftest.
$ac_ext <<_ACEOF
47427 cat confdefs.h
>>conftest.
$ac_ext
47428 cat >>conftest.
$ac_ext <<_ACEOF
47429 /* end confdefs.h. */
47440 rm -f conftest.
$ac_objext conftest
$ac_exeext
47441 if { (ac_try
="$ac_link"
47442 case "(($ac_try" in
47443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47444 *) ac_try_echo=$ac_try;;
47446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47447 (eval "$ac_link") 2>conftest.er1
47449 grep -v '^ *+' conftest.er1 >conftest.err
47451 cat conftest.err >&5
47452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47453 (exit $ac_status); } && {
47454 test -z "$ac_c_werror_flag" ||
47455 test ! -s conftest.err
47456 } && test -s conftest$ac_exeext &&
47457 $as_test_x conftest$ac_exeext; then
47458 ac_cv_lib_unicows_main=yes
47460 echo "$as_me: failed program was:" >&5
47461 sed 's/^/| /' conftest.$ac_ext >&5
47463 ac_cv_lib_unicows_main=no
47466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47467 conftest$ac_exeext conftest.$ac_ext
47468 LIBS=$ac_check_lib_save_LIBS
47470 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47471 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47472 if test $ac_cv_lib_unicows_main = yes; then
47474 cat >>confdefs.h <<\_ACEOF
47475 #define wxUSE_UNICODE_MSLU 1
47481 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47482 Applications will only run on Windows NT/2000/XP!" >&5
47483 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47484 Applications will only run on Windows NT/2000/XP!" >&2;}
47485 wxUSE_UNICODE_MSLU=no
47492 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47493 cat >>confdefs.h <<\_ACEOF
47494 #define wxUSE_UNICODE_UTF8 1
47498 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47499 cat >>confdefs.h <<\_ACEOF
47500 #define wxUSE_UTF8_LOCALE_ONLY 1
47507 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47508 cat >>confdefs.h <<\_ACEOF
47509 #define wxUSE_CONSTRAINTS 1
47512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47515 if test "$wxUSE_MDI" = "yes"; then
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_MDI 1
47521 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_MDI_ARCHITECTURE 1
47526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47530 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47531 cat >>confdefs.h <<\_ACEOF
47532 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47536 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47541 if test "$wxUSE_HELP" = "yes"; then
47542 cat >>confdefs.h <<\_ACEOF
47543 #define wxUSE_HELP 1
47546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47548 if test "$wxUSE_MSW" = 1; then
47549 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47550 cat >>confdefs.h <<\_ACEOF
47551 #define wxUSE_MS_HTML_HELP 1
47557 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47558 if test "$wxUSE_HTML" = "yes"; then
47559 cat >>confdefs.h <<\_ACEOF
47560 #define wxUSE_WXHTML_HELP 1
47564 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47565 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47566 wxUSE_WXHTML_HELP=no
47571 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47572 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47573 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47574 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47576 cat >>confdefs.h <<\_ACEOF
47577 #define wxUSE_PRINTING_ARCHITECTURE 1
47581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47584 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47585 cat >>confdefs.h <<\_ACEOF
47586 #define wxUSE_POSTSCRIPT 1
47591 cat >>confdefs.h <<\_ACEOF
47592 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47596 if test "$wxUSE_SVG" = "yes"; then
47597 cat >>confdefs.h <<\_ACEOF
47598 #define wxUSE_SVG 1
47604 if test "$wxUSE_METAFILE" = "yes"; then
47605 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47606 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47607 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47613 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47614 -o "$wxUSE_CLIPBOARD" = "yes" \
47615 -o "$wxUSE_OLE" = "yes" \
47616 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47617 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47618 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47619 if test "${ac_cv_header_ole2_h+set}" = set; then
47620 echo $ECHO_N "(cached) $ECHO_C" >&6
47622 cat >conftest.$ac_ext <<_ACEOF
47625 cat confdefs.h >>conftest.$ac_ext
47626 cat >>conftest.$ac_ext <<_ACEOF
47627 /* end confdefs.h. */
47632 rm -f conftest.$ac_objext
47633 if { (ac_try="$ac_compile"
47634 case "(($ac_try" in
47635 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47636 *) ac_try_echo
=$ac_try;;
47638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47639 (eval "$ac_compile") 2>conftest.er1
47641 grep -v '^ *+' conftest.er1
>conftest.err
47643 cat conftest.err
>&5
47644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47645 (exit $ac_status); } && {
47646 test -z "$ac_c_werror_flag" ||
47647 test ! -s conftest.err
47648 } && test -s conftest.
$ac_objext; then
47649 ac_cv_header_ole2_h
=yes
47651 echo "$as_me: failed program was:" >&5
47652 sed 's/^/| /' conftest.
$ac_ext >&5
47654 ac_cv_header_ole2_h
=no
47657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47659 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47660 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47664 if test "$ac_cv_header_ole2_h" = "yes" ; then
47665 if test "$GCC" = yes ; then
47666 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47667 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47668 cat >conftest.
$ac_ext <<_ACEOF
47671 cat confdefs.h
>>conftest.
$ac_ext
47672 cat >>conftest.
$ac_ext <<_ACEOF
47673 /* end confdefs.h. */
47674 #include <windows.h>
47684 rm -f conftest.
$ac_objext
47685 if { (ac_try
="$ac_compile"
47686 case "(($ac_try" in
47687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47688 *) ac_try_echo=$ac_try;;
47690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47691 (eval "$ac_compile") 2>conftest.er1
47693 grep -v '^ *+' conftest.er1 >conftest.err
47695 cat conftest.err >&5
47696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47697 (exit $ac_status); } && {
47698 test -z "$ac_c_werror_flag" ||
47699 test ! -s conftest.err
47700 } && test -s conftest.$ac_objext; then
47701 { echo "$as_me:$LINENO: result: no" >&5
47702 echo "${ECHO_T}no" >&6; }
47704 echo "$as_me: failed program was:" >&5
47705 sed 's/^/| /' conftest.$ac_ext >&5
47707 { echo "$as_me:$LINENO: result: yes" >&5
47708 echo "${ECHO_T}yes" >&6; }
47709 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47713 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47714 if test "$wxUSE_OLE" = "yes" ; then
47715 cat >>confdefs.h <<\_ACEOF
47716 #define wxUSE_OLE 1
47719 cat >>confdefs.h <<\_ACEOF
47720 #define wxUSE_OLE_AUTOMATION 1
47723 cat >>confdefs.h <<\_ACEOF
47724 #define wxUSE_ACTIVEX 1
47727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47731 if test "$wxUSE_DATAOBJ" = "yes" ; then
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_DATAOBJ 1
47738 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47739 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47742 wxUSE_DRAG_AND_DROP=no
47747 if test "$wxUSE_METAFILE" = "yes"; then
47748 cat >>confdefs.h <<\_ACEOF
47749 #define wxUSE_METAFILE 1
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_ENH_METAFILE 1
47760 if test "$wxUSE_IPC" = "yes"; then
47761 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47762 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47763 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47767 if test "$wxUSE_IPC" = "yes"; then
47768 cat >>confdefs.h <<\_ACEOF
47769 #define wxUSE_IPC 1
47772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47776 if test "$wxUSE_DATAOBJ" = "yes"; then
47777 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47778 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47779 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_DATAOBJ 1
47788 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47789 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47791 wxUSE_DRAG_AND_DROP=no
47794 if test "$wxUSE_CLIPBOARD" = "yes"; then
47795 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47796 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47797 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47801 if test "$wxUSE_CLIPBOARD" = "yes"; then
47802 cat >>confdefs.h <<\_ACEOF
47803 #define wxUSE_CLIPBOARD 1
47809 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47810 if test "$wxUSE_GTK" = 1; then
47811 if test "$WXGTK12" != 1; then
47812 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47813 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47814 wxUSE_DRAG_AND_DROP=no
47818 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47819 "$wxUSE_DFB" = 1; then
47820 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47821 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47822 wxUSE_DRAG_AND_DROP=no
47825 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47826 cat >>confdefs.h <<\_ACEOF
47827 #define wxUSE_DRAG_AND_DROP 1
47834 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47838 if test "$wxUSE_SPLINES" = "yes" ; then
47839 cat >>confdefs.h <<\_ACEOF
47840 #define wxUSE_SPLINES 1
47845 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47846 cat >>confdefs.h <<\_ACEOF
47847 #define wxUSE_MOUSEWHEEL 1
47854 if test "$wxUSE_CONTROLS" = "yes"; then
47858 if test "$wxUSE_ACCEL" = "yes"; then
47859 cat >>confdefs.h <<\_ACEOF
47860 #define wxUSE_ACCEL 1
47866 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_ANIMATIONCTRL 1
47872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47875 if test "$wxUSE_BUTTON" = "yes"; then
47876 cat >>confdefs.h <<\_ACEOF
47877 #define wxUSE_BUTTON 1
47883 if test "$wxUSE_BMPBUTTON" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_BMPBUTTON 1
47891 if test "$wxUSE_CALCTRL" = "yes"; then
47892 cat >>confdefs.h <<\_ACEOF
47893 #define wxUSE_CALENDARCTRL 1
47897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47900 if test "$wxUSE_CARET" = "yes"; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_CARET 1
47906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47909 if test "$wxUSE_COLLPANE" = "yes"; then
47910 cat >>confdefs.h <<\_ACEOF
47911 #define wxUSE_COLLPANE 1
47915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47918 if test "$wxUSE_COMBOBOX" = "yes"; then
47919 cat >>confdefs.h <<\_ACEOF
47920 #define wxUSE_COMBOBOX 1
47926 if test "$wxUSE_COMBOCTRL" = "yes"; then
47927 cat >>confdefs.h <<\_ACEOF
47928 #define wxUSE_COMBOCTRL 1
47934 if test "$wxUSE_CHOICE" = "yes"; then
47935 cat >>confdefs.h <<\_ACEOF
47936 #define wxUSE_CHOICE 1
47942 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_CHOICEBOOK 1
47950 if test "$wxUSE_CHECKBOX" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_CHECKBOX 1
47958 if test "$wxUSE_CHECKLST" = "yes"; then
47959 cat >>confdefs.h <<\_ACEOF
47960 #define wxUSE_CHECKLISTBOX 1
47966 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_COLOURPICKERCTRL 1
47974 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47975 cat >>confdefs.h <<\_ACEOF
47976 #define wxUSE_DATEPICKCTRL 1
47982 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_DIRPICKERCTRL 1
47990 if test "$wxUSE_FILECTRL" = "yes"; then
47991 cat >>confdefs.h <<\_ACEOF
47992 #define wxUSE_FILECTRL 1
47998 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_FILEPICKERCTRL 1
48006 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_FONTPICKERCTRL 1
48014 if test "$wxUSE_DISPLAY" = "yes"; then
48015 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48016 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48017 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48020 cat >>confdefs.h <<\_ACEOF
48021 #define wxUSE_DISPLAY 1
48024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
48028 if test "$wxUSE_DETECT_SM" = "yes"; then
48029 cat >>confdefs.h <<\_ACEOF
48030 #define wxUSE_DETECT_SM 1
48035 if test "$wxUSE_GAUGE" = "yes"; then
48036 cat >>confdefs.h <<\_ACEOF
48037 #define wxUSE_GAUGE 1
48043 if test "$wxUSE_GRID" = "yes"; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_GRID 1
48049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48052 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_HYPERLINKCTRL 1
48060 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48061 cat >>confdefs.h <<\_ACEOF
48062 #define wxUSE_BITMAPCOMBOBOX 1
48068 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_DATAVIEWCTRL 1
48074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48077 if test "$wxUSE_IMAGLIST" = "yes"; then
48078 cat >>confdefs.h <<\_ACEOF
48079 #define wxUSE_IMAGLIST 1
48084 if test "$wxUSE_LISTBOOK" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_LISTBOOK 1
48092 if test "$wxUSE_LISTBOX" = "yes"; then
48093 cat >>confdefs.h <<\_ACEOF
48094 #define wxUSE_LISTBOX 1
48100 if test "$wxUSE_LISTCTRL" = "yes"; then
48101 if test "$wxUSE_IMAGLIST" = "yes"; then
48102 cat >>confdefs.h <<\_ACEOF
48103 #define wxUSE_LISTCTRL 1
48107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48109 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48110 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48114 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48115 cat >>confdefs.h <<\_ACEOF
48116 #define wxUSE_EDITABLELISTBOX 1
48120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48123 if test "$wxUSE_NOTEBOOK" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_NOTEBOOK 1
48129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48132 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48133 cat >>confdefs.h <<\_ACEOF
48134 #define wxUSE_ODCOMBOBOX 1
48138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48141 if test "$wxUSE_RADIOBOX" = "yes"; then
48142 cat >>confdefs.h <<\_ACEOF
48143 #define wxUSE_RADIOBOX 1
48149 if test "$wxUSE_RADIOBTN" = "yes"; then
48150 cat >>confdefs.h <<\_ACEOF
48151 #define wxUSE_RADIOBTN 1
48157 if test "$wxUSE_SASH" = "yes"; then
48158 cat >>confdefs.h <<\_ACEOF
48159 #define wxUSE_SASH 1
48162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48165 if test "$wxUSE_SCROLLBAR" = "yes"; then
48166 cat >>confdefs.h <<\_ACEOF
48167 #define wxUSE_SCROLLBAR 1
48171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48174 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48175 cat >>confdefs.h <<\_ACEOF
48176 #define wxUSE_SEARCHCTRL 1
48182 if test "$wxUSE_SLIDER" = "yes"; then
48183 cat >>confdefs.h <<\_ACEOF
48184 #define wxUSE_SLIDER 1
48190 if test "$wxUSE_SPINBTN" = "yes"; then
48191 cat >>confdefs.h <<\_ACEOF
48192 #define wxUSE_SPINBTN 1
48198 if test "$wxUSE_SPINCTRL" = "yes"; then
48199 cat >>confdefs.h <<\_ACEOF
48200 #define wxUSE_SPINCTRL 1
48206 if test "$wxUSE_SPLITTER" = "yes"; then
48207 cat >>confdefs.h <<\_ACEOF
48208 #define wxUSE_SPLITTER 1
48211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48214 if test "$wxUSE_STATBMP" = "yes"; then
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_STATBMP 1
48222 if test "$wxUSE_STATBOX" = "yes"; then
48223 cat >>confdefs.h <<\_ACEOF
48224 #define wxUSE_STATBOX 1
48230 if test "$wxUSE_STATTEXT" = "yes"; then
48231 cat >>confdefs.h <<\_ACEOF
48232 #define wxUSE_STATTEXT 1
48238 if test "$wxUSE_STATLINE" = "yes"; then
48239 cat >>confdefs.h <<\_ACEOF
48240 #define wxUSE_STATLINE 1
48246 if test "$wxUSE_STATUSBAR" = "yes"; then
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_NATIVE_STATUSBAR 1
48251 cat >>confdefs.h <<\_ACEOF
48252 #define wxUSE_STATUSBAR 1
48257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48260 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_TAB_DIALOG 1
48267 if test "$wxUSE_TEXTCTRL" = "yes"; then
48268 cat >>confdefs.h <<\_ACEOF
48269 #define wxUSE_TEXTCTRL 1
48273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48276 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48277 if test "$wxUSE_COCOA" = 1 ; then
48278 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48279 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48283 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_TOGGLEBTN 1
48292 if test "$wxUSE_TOOLBAR" = "yes"; then
48293 cat >>confdefs.h <<\_ACEOF
48294 #define wxUSE_TOOLBAR 1
48299 if test "$wxUSE_UNIVERSAL" = "yes"; then
48300 wxUSE_TOOLBAR_NATIVE="no"
48302 wxUSE_TOOLBAR_NATIVE="yes"
48303 cat >>confdefs.h <<\_ACEOF
48304 #define wxUSE_TOOLBAR_NATIVE 1
48309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48312 if test "$wxUSE_TOOLTIPS" = "yes"; then
48313 if test "$wxUSE_MOTIF" = 1; then
48314 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48315 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48317 if test "$wxUSE_UNIVERSAL" = "yes"; then
48318 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48319 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48321 cat >>confdefs.h <<\_ACEOF
48322 #define wxUSE_TOOLTIPS 1
48329 if test "$wxUSE_TREEBOOK" = "yes"; then
48330 cat >>confdefs.h <<\_ACEOF
48331 #define wxUSE_TREEBOOK 1
48337 if test "$wxUSE_TOOLBOOK" = "yes"; then
48338 cat >>confdefs.h <<\_ACEOF
48339 #define wxUSE_TOOLBOOK 1
48345 if test "$wxUSE_TREECTRL" = "yes"; then
48346 if test "$wxUSE_IMAGLIST" = "yes"; then
48347 cat >>confdefs.h <<\_ACEOF
48348 #define wxUSE_TREECTRL 1
48352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48354 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48355 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48359 if test "$wxUSE_POPUPWIN" = "yes"; then
48360 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48361 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48362 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48364 if test "$wxUSE_PM" = 1; then
48365 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48366 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48368 cat >>confdefs.h <<\_ACEOF
48369 #define wxUSE_POPUPWIN 1
48372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48379 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48380 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48381 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48382 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48384 cat >>confdefs.h <<\_ACEOF
48385 #define wxUSE_DIALUP_MANAGER 1
48388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48392 if test "$wxUSE_TIPWINDOW" = "yes"; then
48393 if test "$wxUSE_PM" = 1; then
48394 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48395 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48397 cat >>confdefs.h <<\_ACEOF
48398 #define wxUSE_TIPWINDOW 1
48404 if test "$USES_CONTROLS" = 1; then
48405 cat >>confdefs.h <<\_ACEOF
48406 #define wxUSE_CONTROLS 1
48412 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48413 cat >>confdefs.h <<\_ACEOF
48414 #define wxUSE_ACCESSIBILITY 1
48417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48420 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48421 cat >>confdefs.h <<\_ACEOF
48422 #define wxUSE_DRAGIMAGE 1
48425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48428 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48429 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48430 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48431 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48433 cat >>confdefs.h <<\_ACEOF
48434 #define wxUSE_EXCEPTIONS 1
48437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48442 if test "$wxUSE_HTML" = "yes"; then
48443 cat >>confdefs.h <<\_ACEOF
48444 #define wxUSE_HTML 1
48448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48449 if test "$wxUSE_MAC" = 1; then
48450 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48453 if test "$wxUSE_WEBKIT" = "yes"; then
48454 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48455 old_CPPFLAGS="$CPPFLAGS"
48456 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48457 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48458 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48459 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48460 echo $ECHO_N "(cached) $ECHO_C" >&6
48462 cat >conftest.$ac_ext <<_ACEOF
48465 cat confdefs.h >>conftest.$ac_ext
48466 cat >>conftest.$ac_ext <<_ACEOF
48467 /* end confdefs.h. */
48469 #include <Carbon/Carbon.h>
48470 #include <WebKit/WebKit.h>
48473 #include <WebKit/HIWebView.h>
48475 rm -f conftest.$ac_objext
48476 if { (ac_try="$ac_compile"
48477 case "(($ac_try" in
48478 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48479 *) ac_try_echo
=$ac_try;;
48481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48482 (eval "$ac_compile") 2>conftest.er1
48484 grep -v '^ *+' conftest.er1
>conftest.err
48486 cat conftest.err
>&5
48487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48488 (exit $ac_status); } && {
48489 test -z "$ac_c_werror_flag" ||
48490 test ! -s conftest.err
48491 } && test -s conftest.
$ac_objext; then
48492 ac_cv_header_WebKit_HIWebView_h
=yes
48494 echo "$as_me: failed program was:" >&5
48495 sed 's/^/| /' conftest.
$ac_ext >&5
48497 ac_cv_header_WebKit_HIWebView_h
=no
48500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48502 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48503 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48504 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48506 cat >>confdefs.h
<<\_ACEOF
48507 #define wxUSE_WEBKIT 1
48510 WEBKIT_LINK
="-framework WebKit"
48514 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48515 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48521 CPPFLAGS
="$old_CPPFLAGS"
48522 elif test "$wxUSE_COCOA" = 1; then
48523 cat >>confdefs.h
<<\_ACEOF
48524 #define wxUSE_WEBKIT 1
48533 if test "$wxUSE_XRC" = "yes"; then
48534 if test "$wxUSE_XML" != "yes"; then
48535 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48536 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48539 cat >>confdefs.h
<<\_ACEOF
48540 #define wxUSE_XRC 1
48544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48549 if test "$wxUSE_AUI" = "yes"; then
48550 cat >>confdefs.h
<<\_ACEOF
48551 #define wxUSE_AUI 1
48555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48559 if test "$wxUSE_STC" = "yes"; then
48560 cat >>confdefs.h
<<\_ACEOF
48561 #define wxUSE_STC 1
48565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48568 if test "$wxUSE_MENUS" = "yes"; then
48569 cat >>confdefs.h
<<\_ACEOF
48570 #define wxUSE_MENUS 1
48573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48576 if test "$wxUSE_METAFILE" = "yes"; then
48577 cat >>confdefs.h
<<\_ACEOF
48578 #define wxUSE_METAFILE 1
48583 if test "$wxUSE_MIMETYPE" = "yes"; then
48584 cat >>confdefs.h
<<\_ACEOF
48585 #define wxUSE_MIMETYPE 1
48590 if test "$wxUSE_MINIFRAME" = "yes"; then
48591 cat >>confdefs.h
<<\_ACEOF
48592 #define wxUSE_MINIFRAME 1
48597 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48598 cat >>confdefs.h
<<\_ACEOF
48599 #define wxUSE_SYSTEM_OPTIONS 1
48604 if test "$wxUSE_TASKBARICON" = "yes"; then
48605 cat >>confdefs.h
<<\_ACEOF
48606 #define wxUSE_TASKBARICON 1
48609 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48613 if test "$wxUSE_VALIDATORS" = "yes"; then
48614 cat >>confdefs.h
<<\_ACEOF
48615 #define wxUSE_VALIDATORS 1
48618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48621 if test "$wxUSE_PALETTE" = "yes" ; then
48622 if test "$wxUSE_DFB" = 1; then
48623 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48624 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48627 cat >>confdefs.h
<<\_ACEOF
48628 #define wxUSE_PALETTE 1
48634 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48635 LIBS
=" -lunicows $LIBS"
48639 if test "$wxUSE_RICHTEXT" = "yes"; then
48640 cat >>confdefs.h
<<\_ACEOF
48641 #define wxUSE_RICHTEXT 1
48645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48649 if test "$wxUSE_IMAGE" = "yes" ; then
48650 cat >>confdefs.h
<<\_ACEOF
48651 #define wxUSE_IMAGE 1
48655 if test "$wxUSE_GIF" = "yes" ; then
48656 cat >>confdefs.h
<<\_ACEOF
48657 #define wxUSE_GIF 1
48662 if test "$wxUSE_PCX" = "yes" ; then
48663 cat >>confdefs.h
<<\_ACEOF
48664 #define wxUSE_PCX 1
48669 if test "$wxUSE_TGA" = "yes" ; then
48670 cat >>confdefs.h
<<\_ACEOF
48671 #define wxUSE_TGA 1
48676 if test "$wxUSE_IFF" = "yes" ; then
48677 cat >>confdefs.h
<<\_ACEOF
48678 #define wxUSE_IFF 1
48683 if test "$wxUSE_PNM" = "yes" ; then
48684 cat >>confdefs.h
<<\_ACEOF
48685 #define wxUSE_PNM 1
48690 if test "$wxUSE_XPM" = "yes" ; then
48691 cat >>confdefs.h
<<\_ACEOF
48692 #define wxUSE_XPM 1
48697 if test "$wxUSE_ICO_CUR" = "yes" ; then
48698 cat >>confdefs.h
<<\_ACEOF
48699 #define wxUSE_ICO_CUR 1
48706 if test "$wxUSE_ABOUTDLG" = "yes"; then
48707 cat >>confdefs.h
<<\_ACEOF
48708 #define wxUSE_ABOUTDLG 1
48713 if test "$wxUSE_CHOICEDLG" = "yes"; then
48714 cat >>confdefs.h
<<\_ACEOF
48715 #define wxUSE_CHOICEDLG 1
48720 if test "$wxUSE_COLOURDLG" = "yes"; then
48721 cat >>confdefs.h
<<\_ACEOF
48722 #define wxUSE_COLOURDLG 1
48727 if test "$wxUSE_FILEDLG" = "yes"; then
48728 cat >>confdefs.h
<<\_ACEOF
48729 #define wxUSE_FILEDLG 1
48734 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48735 cat >>confdefs.h
<<\_ACEOF
48736 #define wxUSE_FINDREPLDLG 1
48741 if test "$wxUSE_FONTDLG" = "yes"; then
48742 cat >>confdefs.h
<<\_ACEOF
48743 #define wxUSE_FONTDLG 1
48748 if test "$wxUSE_DIRDLG" = "yes"; then
48749 if test "$wxUSE_TREECTRL" != "yes"; then
48750 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48751 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48753 cat >>confdefs.h
<<\_ACEOF
48754 #define wxUSE_DIRDLG 1
48760 if test "$wxUSE_MSGDLG" = "yes"; then
48761 cat >>confdefs.h
<<\_ACEOF
48762 #define wxUSE_MSGDLG 1
48767 if test "$wxUSE_NUMBERDLG" = "yes"; then
48768 cat >>confdefs.h
<<\_ACEOF
48769 #define wxUSE_NUMBERDLG 1
48774 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48775 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48776 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48777 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48779 cat >>confdefs.h
<<\_ACEOF
48780 #define wxUSE_PROGRESSDLG 1
48786 if test "$wxUSE_SPLASH" = "yes"; then
48787 cat >>confdefs.h
<<\_ACEOF
48788 #define wxUSE_SPLASH 1
48791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48794 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48795 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48796 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48797 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48799 cat >>confdefs.h
<<\_ACEOF
48800 #define wxUSE_STARTUP_TIPS 1
48806 if test "$wxUSE_TEXTDLG" = "yes"; then
48807 cat >>confdefs.h
<<\_ACEOF
48808 #define wxUSE_TEXTDLG 1
48813 if test "$wxUSE_WIZARDDLG" = "yes"; then
48814 cat >>confdefs.h
<<\_ACEOF
48815 #define wxUSE_WIZARDDLG 1
48818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48822 if test "$wxUSE_MSW" = 1 ; then
48824 if test "$wxUSE_DC_CACHEING" = "yes"; then
48825 cat >>confdefs.h
<<\_ACEOF
48826 #define wxUSE_DC_CACHEING 1
48831 if test "$wxUSE_DIB" = "yes"; then
48832 cat >>confdefs.h
<<\_ACEOF
48833 #define wxUSE_WXDIB 1
48838 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48839 cat >>confdefs.h
<<\_ACEOF
48840 #define wxUSE_OWNER_DRAWN 1
48845 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48846 cat >>confdefs.h
<<\_ACEOF
48847 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48852 if test "$wxUSE_UXTHEME" = "yes"; then
48853 cat >>confdefs.h
<<\_ACEOF
48854 #define wxUSE_UXTHEME 1
48862 if test "$USE_WIN32" = 1 ; then
48863 if test "$wxUSE_INICONF" = "yes"; then
48864 cat >>confdefs.h
<<\_ACEOF
48865 #define wxUSE_INICONF 1
48870 if test "$wxUSE_REGKEY" = "yes"; then
48871 cat >>confdefs.h
<<\_ACEOF
48872 #define wxUSE_REGKEY 1
48879 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48880 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48881 cat >>confdefs.h
<<\_ACEOF
48882 #define wxUSE_GRAPHICS_CONTEXT 1
48885 elif test "$wxUSE_GTK" != 1; then
48886 cat >>confdefs.h
<<\_ACEOF
48887 #define wxUSE_GRAPHICS_CONTEXT 1
48893 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48894 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48896 if test -n "$PKG_CONFIG"; then
48897 if test -n "$CAIRO_CFLAGS"; then
48898 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48900 if test -n "$PKG_CONFIG" && \
48901 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48902 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48905 (exit $ac_status); }; then
48906 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48914 if test -n "$PKG_CONFIG"; then
48915 if test -n "$CAIRO_LIBS"; then
48916 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48918 if test -n "$PKG_CONFIG" && \
48919 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48920 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48923 (exit $ac_status); }; then
48924 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48935 if test $pkg_failed = yes; then
48937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48938 _pkg_short_errors_supported
=yes
48940 _pkg_short_errors_supported
=no
48942 if test $_pkg_short_errors_supported = yes; then
48943 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48945 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48947 # Put the nasty error message in config.log where it belongs
48948 echo "$CAIRO_PKG_ERRORS" >&5
48950 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48951 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48953 elif test $pkg_failed = untried
; then
48954 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48955 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48958 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48959 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48960 { echo "$as_me:$LINENO: result: yes" >&5
48961 echo "${ECHO_T}yes" >&6; }
48962 cat >>confdefs.h
<<\_ACEOF
48963 #define wxUSE_GRAPHICS_CONTEXT 1
48973 if test "$wxUSE_MEDIACTRL" = "yes"; then
48976 if test "$wxUSE_GTK" = 1; then
48977 wxUSE_GSTREAMER
="no"
48979 GST_VERSION_MAJOR
=0
48980 GST_VERSION_MINOR
=10
48981 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48983 if test "$wxUSE_GSTREAMER8" = "no"; then
48986 { echo "$as_me:$LINENO: checking for GST" >&5
48987 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48989 if test -n "$PKG_CONFIG"; then
48990 if test -n "$GST_CFLAGS"; then
48991 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48993 if test -n "$PKG_CONFIG" && \
48994 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48995 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48998 (exit $ac_status); }; then
48999 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49007 if test -n "$PKG_CONFIG"; then
49008 if test -n "$GST_LIBS"; then
49009 pkg_cv_GST_LIBS
="$GST_LIBS"
49011 if test -n "$PKG_CONFIG" && \
49012 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49013 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49016 (exit $ac_status); }; then
49017 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49028 if test $pkg_failed = yes; then
49030 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49031 _pkg_short_errors_supported
=yes
49033 _pkg_short_errors_supported
=no
49035 if test $_pkg_short_errors_supported = yes; then
49036 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49038 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49040 # Put the nasty error message in config.log where it belongs
49041 echo "$GST_PKG_ERRORS" >&5
49044 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49045 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49046 GST_VERSION_MINOR
=8
49049 elif test $pkg_failed = untried
; then
49051 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49052 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49053 GST_VERSION_MINOR
=8
49057 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49058 GST_LIBS
=$pkg_cv_GST_LIBS
49059 { echo "$as_me:$LINENO: result: yes" >&5
49060 echo "${ECHO_T}yes" >&6; }
49062 wxUSE_GSTREAMER
="yes"
49063 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49067 GST_VERSION_MINOR
=8
49070 if test $GST_VERSION_MINOR = "8"; then
49071 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
49074 { echo "$as_me:$LINENO: checking for GST" >&5
49075 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49077 if test -n "$PKG_CONFIG"; then
49078 if test -n "$GST_CFLAGS"; then
49079 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
49081 if test -n "$PKG_CONFIG" && \
49082 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49083 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49086 (exit $ac_status); }; then
49087 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49095 if test -n "$PKG_CONFIG"; then
49096 if test -n "$GST_LIBS"; then
49097 pkg_cv_GST_LIBS
="$GST_LIBS"
49099 if test -n "$PKG_CONFIG" && \
49100 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49101 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49104 (exit $ac_status); }; then
49105 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49116 if test $pkg_failed = yes; then
49118 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49119 _pkg_short_errors_supported
=yes
49121 _pkg_short_errors_supported
=no
49123 if test $_pkg_short_errors_supported = yes; then
49124 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49126 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49128 # Put the nasty error message in config.log where it belongs
49129 echo "$GST_PKG_ERRORS" >&5
49132 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49133 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49135 elif test $pkg_failed = untried
; then
49137 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49138 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49141 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49142 GST_LIBS
=$pkg_cv_GST_LIBS
49143 { echo "$as_me:$LINENO: result: yes" >&5
49144 echo "${ECHO_T}yes" >&6; }
49145 wxUSE_GSTREAMER
="yes"
49150 if test "$wxUSE_GSTREAMER" = "yes"; then
49151 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
49152 LIBS
="$GST_LIBS $LIBS"
49154 cat >>confdefs.h
<<\_ACEOF
49155 #define wxUSE_GSTREAMER 1
49163 if test $USE_MEDIA = 1; then
49164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49165 cat >>confdefs.h
<<\_ACEOF
49166 #define wxUSE_MEDIACTRL 1
49173 if test "$cross_compiling" = "yes"; then
49176 OSINFO
=`uname -s -r -m`
49177 OSINFO
="\"$OSINFO\""
49180 cat >>confdefs.h
<<_ACEOF
49181 #define WXWIN_OS_DESCRIPTION $OSINFO
49186 if test "x$prefix" != "xNONE"; then
49189 wxPREFIX
=$ac_default_prefix
49192 cat >>confdefs.h
<<_ACEOF
49193 #define wxINSTALL_PREFIX "$wxPREFIX"
49199 STD_BASE_LIBS
="base"
49201 BUILT_WX_LIBS
="base"
49202 ALL_WX_LIBS
="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49204 if test "$wxUSE_SOCKETS" = "yes" ; then
49205 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49206 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49208 if test "$wxUSE_ODBC" != "no" ; then
49209 BUILT_WX_LIBS
="odbc $BUILT_WX_LIBS"
49211 if test "$wxUSE_XML" = "yes" ; then
49212 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49213 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49216 if test "$wxUSE_GUI" = "yes"; then
49217 STD_GUI_LIBS
="adv core"
49218 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49220 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49221 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49222 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49224 if test "$wxUSE_ODBC" != "no" ; then
49225 BUILT_WX_LIBS
="dbgrid $BUILT_WX_LIBS"
49227 if test "$wxUSE_HTML" = "yes" ; then
49228 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49229 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49231 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49232 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49234 if test "$wxUSE_OPENGL" = "yes" ; then
49235 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49237 if test "$wxUSE_AUI" = "yes" ; then
49238 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49240 if test "$wxUSE_STC" = "yes" ; then
49241 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49243 if test "$wxUSE_XRC" = "yes" ; then
49244 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49245 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49256 if test "$wxUSE_MAC" = 1 ; then
49257 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49258 if test "$USE_DARWIN" = 1; then
49259 LDFLAGS
="$LDFLAGS -framework QuickTime"
49261 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49264 if test "$USE_DARWIN" = 1; then
49265 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49267 LDFLAGS
="$LDFLAGS -lCarbonLib"
49270 if test "$wxUSE_COCOA" = 1 ; then
49271 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49272 if test "$wxUSE_MEDIACTRL" = "yes"; then
49273 LDFLAGS
="$LDFLAGS -framework QuickTime"
49276 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49277 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49280 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49282 if test "$wxUSE_GUI" = "yes"; then
49285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49286 erase event exec font image minimal mobile \
49287 mobile/wxedit mobile/styles render \
49288 shaped svg taborder vscroll widgets"
49290 if test "$wxUSE_MONOLITHIC" != "yes"; then
49291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49293 if test "$TOOLKIT" = "MSW"; then
49294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49295 if test "$wxUSE_UNIVERSAL" != "yes"; then
49296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49299 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49303 SAMPLES_SUBDIRS
="console"
49304 if test "$wxUSE_SOCKETS" = "yes" ; then
49305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
49310 if test "x$INTELCC" = "xyes" ; then
49311 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49312 elif test "$GCC" = yes ; then
49313 CWARNINGS
="-Wall -Wundef"
49316 if test "x$INTELCXX" = "xyes" ; then
49317 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49318 elif test "$GXX" = yes ; then
49319 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
49323 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49324 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49327 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49328 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49329 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49332 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49333 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49334 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49336 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49339 if test "x$MWCC" = "xyes"; then
49341 CC
="$CC -cwd source -I-"
49342 CXX
="$CXX -cwd source -I-"
49347 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49348 EXTRALIBS_XML
="$EXPAT_LINK"
49349 EXTRALIBS_HTML
="$MSPACK_LINK"
49350 EXTRALIBS_ODBC
="$ODBC_LINK"
49351 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49352 if test "$wxUSE_GUI" = "yes"; then
49353 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49355 if test "$wxUSE_OPENGL" = "yes"; then
49356 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49359 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49361 WXCONFIG_LIBS
="$LIBS"
49363 if test "$wxUSE_REGEX" = "builtin" ; then
49364 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49366 if test "$wxUSE_EXPAT" = "builtin" ; then
49367 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49369 if test "$wxUSE_ODBC" = "builtin" ; then
49370 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
49372 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49373 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49375 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49376 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49378 if test "$wxUSE_LIBPNG" = "builtin" ; then
49379 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49381 if test "$wxUSE_ZLIB" = "builtin" ; then
49382 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49385 for i
in $wxconfig_3rdparty ; do
49386 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49390 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49393 case "$wxUNIV_THEMES" in
49395 cat >>confdefs.h
<<\_ACEOF
49396 #define wxUSE_ALL_THEMES 1
49402 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49403 cat >>confdefs.h
<<_ACEOF
49404 #define wxUSE_THEME_$t 1
49421 if test $wxUSE_MONOLITHIC = "yes" ; then
49427 if test $wxUSE_PLUGINS = "yes" ; then
49433 if test $wxUSE_ODBC != "no" ; then
49439 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49445 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49477 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49488 TOOLKIT_DESC
="GTK+"
49489 if test "$WXGTK20" = 1; then
49490 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49491 if test "$wxUSE_GTKPRINT" = "yes" ; then
49492 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49494 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49495 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49497 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49498 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49500 if test "$wxUSE_LIBHILDON" = "yes"; then
49501 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49504 if test "$TOOLKIT_EXTRA" != ""; then
49505 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49511 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49515 TOOLKIT_DESC
="base only"
49519 if test "$wxUSE_WINE" = "yes"; then
49520 BAKEFILE_FORCE_PLATFORM
=win32
49523 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49525 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49526 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49527 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49528 echo $ECHO_N "(cached) $ECHO_C" >&6
49531 echo '#include <stdio.h>
49532 const wchar_t test_var[] = L"awidetest";' > conftest.h
49534 echo '#include "conftest.h"
49537 printf("%ls", test_var);
49541 wx_cv_gcc_pch_bug
="pch not supported"
49543 if $CXX conftest.h
>/dev
/null
2>&1
49547 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49549 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49550 grep awidetest
>/dev
/null
49552 wx_cv_gcc_pch_bug
=no
49554 wx_cv_gcc_pch_bug
=yes
49559 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49562 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49563 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49565 if test "$wx_cv_gcc_pch_bug" = yes; then
49573 if test "x$BAKEFILE_HOST" = "x"; then
49574 if test "x${host}" = "x" ; then
49575 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49576 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49577 { (exit 1); exit 1; }; }
49580 BAKEFILE_HOST
="${host}"
49583 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49585 if test -n "$ac_tool_prefix"; then
49586 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49587 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49590 if test "${ac_cv_prog_RANLIB+set}" = set; then
49591 echo $ECHO_N "(cached) $ECHO_C" >&6
49593 if test -n "$RANLIB"; then
49594 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49597 for as_dir
in $PATH
49600 test -z "$as_dir" && as_dir
=.
49601 for ac_exec_ext
in '' $ac_executable_extensions; do
49602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49603 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49613 RANLIB
=$ac_cv_prog_RANLIB
49614 if test -n "$RANLIB"; then
49615 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49616 echo "${ECHO_T}$RANLIB" >&6; }
49618 { echo "$as_me:$LINENO: result: no" >&5
49619 echo "${ECHO_T}no" >&6; }
49624 if test -z "$ac_cv_prog_RANLIB"; then
49625 ac_ct_RANLIB
=$RANLIB
49626 # Extract the first word of "ranlib", so it can be a program name with args.
49627 set dummy ranlib
; ac_word
=$2
49628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49630 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49631 echo $ECHO_N "(cached) $ECHO_C" >&6
49633 if test -n "$ac_ct_RANLIB"; then
49634 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49637 for as_dir
in $PATH
49640 test -z "$as_dir" && as_dir
=.
49641 for ac_exec_ext
in '' $ac_executable_extensions; do
49642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49643 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49653 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49654 if test -n "$ac_ct_RANLIB"; then
49655 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49656 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49658 { echo "$as_me:$LINENO: result: no" >&5
49659 echo "${ECHO_T}no" >&6; }
49662 if test "x$ac_ct_RANLIB" = x
; then
49665 case $cross_compiling:$ac_tool_warned in
49667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49668 whose name does not start with the host triplet. If you think this
49669 configuration is useful to you, please write to autoconf@gnu.org." >&5
49670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49671 whose name does not start with the host triplet. If you think this
49672 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49673 ac_tool_warned
=yes ;;
49675 RANLIB
=$ac_ct_RANLIB
49678 RANLIB
="$ac_cv_prog_RANLIB"
49681 # Find a good install program. We prefer a C program (faster),
49682 # so one script is as good as another. But avoid the broken or
49683 # incompatible versions:
49684 # SysV /etc/install, /usr/sbin/install
49685 # SunOS /usr/etc/install
49686 # IRIX /sbin/install
49688 # AmigaOS /C/install, which installs bootblocks on floppy discs
49689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49692 # OS/2's system install, which has a completely different semantic
49693 # ./install, which can be erroneously created by make from ./install.sh.
49694 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49695 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49696 if test -z "$INSTALL"; then
49697 if test "${ac_cv_path_install+set}" = set; then
49698 echo $ECHO_N "(cached) $ECHO_C" >&6
49700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49701 for as_dir
in $PATH
49704 test -z "$as_dir" && as_dir
=.
49705 # Account for people who put trailing slashes in PATH elements.
49707 .
/ | .
// | /cC
/* | \
49708 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49709 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49712 # OSF1 and SCO ODT 3.0 have their own names for install.
49713 # Don't use installbsd from OSF since it installs stuff as root
49715 for ac_prog
in ginstall scoinst
install; do
49716 for ac_exec_ext
in '' $ac_executable_extensions; do
49717 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49718 if test $ac_prog = install &&
49719 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49720 # AIX install. It has an incompatible calling convention.
49722 elif test $ac_prog = install &&
49723 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49724 # program-specific install script used by HP pwplus--don't use.
49727 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49740 if test "${ac_cv_path_install+set}" = set; then
49741 INSTALL
=$ac_cv_path_install
49743 # As a last resort, use the slow shell script. Don't cache a
49744 # value for INSTALL within a source directory, because that will
49745 # break other packages using the cache if that directory is
49746 # removed, or if the value is a relative name.
49747 INSTALL
=$ac_install_sh
49750 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49751 echo "${ECHO_T}$INSTALL" >&6; }
49753 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49754 # It thinks the first close brace ends the variable substitution.
49755 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49757 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49759 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49761 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49762 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49764 if test "$LN_S" = "ln -s"; then
49765 { echo "$as_me:$LINENO: result: yes" >&5
49766 echo "${ECHO_T}yes" >&6; }
49768 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49769 echo "${ECHO_T}no, using $LN_S" >&6; }
49773 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49774 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49775 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49776 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49777 echo $ECHO_N "(cached) $ECHO_C" >&6
49779 cat >conftest.
make <<\_ACEOF
49782 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49784 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49785 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49786 *@@@
%%%=?
*=@@@
%%%*)
49787 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49789 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49791 rm -f conftest.
make
49793 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49794 { echo "$as_me:$LINENO: result: yes" >&5
49795 echo "${ECHO_T}yes" >&6; }
49798 { echo "$as_me:$LINENO: result: no" >&5
49799 echo "${ECHO_T}no" >&6; }
49800 SET_MAKE
="MAKE=${MAKE-make}"
49805 if test "x$SUNCXX" = "xyes"; then
49807 AROPTIONS
="-xar -o"
49809 elif test "x$SGICC" = "xyes"; then
49814 if test -n "$ac_tool_prefix"; then
49815 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49816 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49819 if test "${ac_cv_prog_AR+set}" = set; then
49820 echo $ECHO_N "(cached) $ECHO_C" >&6
49822 if test -n "$AR"; then
49823 ac_cv_prog_AR
="$AR" # Let the user override the test.
49825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49826 for as_dir
in $PATH
49829 test -z "$as_dir" && as_dir
=.
49830 for ac_exec_ext
in '' $ac_executable_extensions; do
49831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49832 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49843 if test -n "$AR"; then
49844 { echo "$as_me:$LINENO: result: $AR" >&5
49845 echo "${ECHO_T}$AR" >&6; }
49847 { echo "$as_me:$LINENO: result: no" >&5
49848 echo "${ECHO_T}no" >&6; }
49853 if test -z "$ac_cv_prog_AR"; then
49855 # Extract the first word of "ar", so it can be a program name with args.
49856 set dummy
ar; ac_word
=$2
49857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49859 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49860 echo $ECHO_N "(cached) $ECHO_C" >&6
49862 if test -n "$ac_ct_AR"; then
49863 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49866 for as_dir
in $PATH
49869 test -z "$as_dir" && as_dir
=.
49870 for ac_exec_ext
in '' $ac_executable_extensions; do
49871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49872 ac_cv_prog_ac_ct_AR
="ar"
49873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49882 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49883 if test -n "$ac_ct_AR"; then
49884 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49885 echo "${ECHO_T}$ac_ct_AR" >&6; }
49887 { echo "$as_me:$LINENO: result: no" >&5
49888 echo "${ECHO_T}no" >&6; }
49891 if test "x$ac_ct_AR" = x
; then
49894 case $cross_compiling:$ac_tool_warned in
49896 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49897 whose name does not start with the host triplet. If you think this
49898 configuration is useful to you, please write to autoconf@gnu.org." >&5
49899 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49900 whose name does not start with the host triplet. If you think this
49901 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49902 ac_tool_warned
=yes ;;
49907 AR
="$ac_cv_prog_AR"
49914 if test -n "$ac_tool_prefix"; then
49915 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49916 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49919 if test "${ac_cv_prog_STRIP+set}" = set; then
49920 echo $ECHO_N "(cached) $ECHO_C" >&6
49922 if test -n "$STRIP"; then
49923 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49926 for as_dir
in $PATH
49929 test -z "$as_dir" && as_dir
=.
49930 for ac_exec_ext
in '' $ac_executable_extensions; do
49931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49932 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49942 STRIP
=$ac_cv_prog_STRIP
49943 if test -n "$STRIP"; then
49944 { echo "$as_me:$LINENO: result: $STRIP" >&5
49945 echo "${ECHO_T}$STRIP" >&6; }
49947 { echo "$as_me:$LINENO: result: no" >&5
49948 echo "${ECHO_T}no" >&6; }
49953 if test -z "$ac_cv_prog_STRIP"; then
49955 # Extract the first word of "strip", so it can be a program name with args.
49956 set dummy strip
; ac_word
=$2
49957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49959 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49960 echo $ECHO_N "(cached) $ECHO_C" >&6
49962 if test -n "$ac_ct_STRIP"; then
49963 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49966 for as_dir
in $PATH
49969 test -z "$as_dir" && as_dir
=.
49970 for ac_exec_ext
in '' $ac_executable_extensions; do
49971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49972 ac_cv_prog_ac_ct_STRIP
="strip"
49973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49982 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49983 if test -n "$ac_ct_STRIP"; then
49984 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49985 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49987 { echo "$as_me:$LINENO: result: no" >&5
49988 echo "${ECHO_T}no" >&6; }
49991 if test "x$ac_ct_STRIP" = x
; then
49994 case $cross_compiling:$ac_tool_warned in
49996 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49997 whose name does not start with the host triplet. If you think this
49998 configuration is useful to you, please write to autoconf@gnu.org." >&5
49999 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50000 whose name does not start with the host triplet. If you think this
50001 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50002 ac_tool_warned
=yes ;;
50007 STRIP
="$ac_cv_prog_STRIP"
50010 if test -n "$ac_tool_prefix"; then
50011 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50012 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
50013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50015 if test "${ac_cv_prog_NM+set}" = set; then
50016 echo $ECHO_N "(cached) $ECHO_C" >&6
50018 if test -n "$NM"; then
50019 ac_cv_prog_NM
="$NM" # Let the user override the test.
50021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50022 for as_dir
in $PATH
50025 test -z "$as_dir" && as_dir
=.
50026 for ac_exec_ext
in '' $ac_executable_extensions; do
50027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50028 ac_cv_prog_NM
="${ac_tool_prefix}nm"
50029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50039 if test -n "$NM"; then
50040 { echo "$as_me:$LINENO: result: $NM" >&5
50041 echo "${ECHO_T}$NM" >&6; }
50043 { echo "$as_me:$LINENO: result: no" >&5
50044 echo "${ECHO_T}no" >&6; }
50049 if test -z "$ac_cv_prog_NM"; then
50051 # Extract the first word of "nm", so it can be a program name with args.
50052 set dummy nm
; ac_word
=$2
50053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50055 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50056 echo $ECHO_N "(cached) $ECHO_C" >&6
50058 if test -n "$ac_ct_NM"; then
50059 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
50061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50062 for as_dir
in $PATH
50065 test -z "$as_dir" && as_dir
=.
50066 for ac_exec_ext
in '' $ac_executable_extensions; do
50067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50068 ac_cv_prog_ac_ct_NM
="nm"
50069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50078 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
50079 if test -n "$ac_ct_NM"; then
50080 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50081 echo "${ECHO_T}$ac_ct_NM" >&6; }
50083 { echo "$as_me:$LINENO: result: no" >&5
50084 echo "${ECHO_T}no" >&6; }
50087 if test "x$ac_ct_NM" = x
; then
50090 case $cross_compiling:$ac_tool_warned in
50092 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50093 whose name does not start with the host triplet. If you think this
50094 configuration is useful to you, please write to autoconf@gnu.org." >&5
50095 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50096 whose name does not start with the host triplet. If you think this
50097 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50098 ac_tool_warned
=yes ;;
50103 NM
="$ac_cv_prog_NM"
50107 case ${BAKEFILE_HOST} in
50109 INSTALL_DIR
="mkdir -p"
50112 INSTALL_DIR
='$(INSTALL) -d'
50118 case ${BAKEFILE_HOST} in
50119 *-*-cygwin* | *-*-mingw32* )
50120 LDFLAGS_GUI
="-mwindows"
50126 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50127 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50128 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50129 echo $ECHO_N "(cached) $ECHO_C" >&6
50132 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
50133 egrep -s GNU
> /dev
/null
); then
50134 bakefile_cv_prog_makeisgnu
="yes"
50136 bakefile_cv_prog_makeisgnu
="no"
50140 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50141 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50143 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50160 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50161 case "${BAKEFILE_HOST}" in
50168 *-pc-os2_emx | *-pc-os2-emx )
50178 powerpc
-apple-macos* )
50187 case "$BAKEFILE_FORCE_PLATFORM" in
50222 # Check whether --enable-omf was given.
50223 if test "${enable_omf+set}" = set; then
50224 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50228 case "${BAKEFILE_HOST}" in
50230 if test "x$GCC" = "xyes"; then
50231 CFLAGS
="$CFLAGS -fno-common"
50232 CXXFLAGS
="$CXXFLAGS -fno-common"
50234 if test "x$XLCC" = "xyes"; then
50235 CFLAGS
="$CFLAGS -qnocommon"
50236 CXXFLAGS
="$CXXFLAGS -qnocommon"
50240 *-pc-os2_emx | *-pc-os2-emx )
50241 if test "x$bk_os2_use_omf" = "xyes" ; then
50244 LDFLAGS
="-Zomf $LDFLAGS"
50245 CFLAGS
="-Zomf $CFLAGS"
50246 CXXFLAGS
="-Zomf $CXXFLAGS"
50254 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50260 SO_SUFFIX_MODULE
="so"
50265 DLLPREFIX_MODULE
=""
50269 case "${BAKEFILE_HOST}" in
50272 SO_SUFFIX_MODULE
="sl"
50276 SO_SUFFIX_MODULE
="a"
50280 SO_SUFFIX_MODULE
="dll"
50281 DLLIMP_SUFFIX
="dll.a"
50288 SO_SUFFIX_MODULE
="dll"
50289 DLLIMP_SUFFIX
="dll.a"
50299 *-pc-os2_emx | *-pc-os2-emx )
50301 SO_SUFFIX_MODULE
="dll"
50302 DLLIMP_SUFFIX
=$OS2_LIBEXT
50306 LIBEXT
=".$OS2_LIBEXT"
50311 SO_SUFFIX_MODULE
="bundle"
50315 if test "x$DLLIMP_SUFFIX" = "x" ; then
50316 DLLIMP_SUFFIX
="$SO_SUFFIX"
50331 if test "x$GCC" = "xyes"; then
50335 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50336 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50339 case "${BAKEFILE_HOST}" in
50341 if test "x$GCC" != "xyes"; then
50342 LDFLAGS
="$LDFLAGS -L/usr/lib"
50344 SHARED_LD_CC
="${CC} -b -o"
50345 SHARED_LD_CXX
="${CXX} -b -o"
50351 if test "$INTELCC" = "yes"; then
50353 elif test "x$SUNCXX" = "xyes"; then
50354 SHARED_LD_CC
="${CC} -G -o"
50355 SHARED_LD_CXX
="${CXX} -G -o"
50361 if test "x$SUNCXX" = xyes
; then
50362 SHARED_LD_CC
="${CC} -G -o"
50363 SHARED_LD_CXX
="${CXX} -G -o"
50371 cat <<EOF >shared-ld-sh
50373 #-----------------------------------------------------------------------------
50374 #-- Name: distrib/mac/shared-ld-sh
50375 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50376 #-- Author: Gilles Depeyrot
50377 #-- Copyright: (c) 2002 Gilles Depeyrot
50378 #-- Licence: any use permitted
50379 #-----------------------------------------------------------------------------
50384 linking_flag="-dynamiclib"
50385 ldargs="-r -keep_private_externs -nostdlib"
50387 while test ${D}# -gt 0; do
50394 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50395 # collect these options and values
50396 args="${D}{args} ${D}1 ${D}2"
50401 # collect these load args
50402 ldargs="${D}{ldargs} ${D}1"
50405 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50406 # collect these options
50407 args="${D}{args} ${D}1"
50410 -dynamiclib|-bundle)
50411 linking_flag="${D}1"
50415 echo "shared-ld: unhandled option '${D}1'"
50419 *.o | *.a | *.dylib)
50420 # collect object files
50421 objects="${D}{objects} ${D}1"
50425 echo "shared-ld: unhandled argument '${D}1'"
50436 # Link one module containing all the others
50438 if test ${D}{verbose} = 1; then
50439 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50441 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50445 # Link the shared library from the single module created, but only if the
50446 # previous command didn't fail:
50448 if test ${D}{status} = 0; then
50449 if test ${D}{verbose} = 1; then
50450 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50452 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50457 # Remove intermediate module
50459 rm -f master.${D}${D}.o
50464 chmod +x shared
-ld-sh
50466 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50467 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50470 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50471 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50472 if test "${bakefile_cv_gcc31+set}" = set; then
50473 echo $ECHO_N "(cached) $ECHO_C" >&6
50476 cat >conftest.
$ac_ext <<_ACEOF
50479 cat confdefs.h
>>conftest.
$ac_ext
50480 cat >>conftest.
$ac_ext <<_ACEOF
50481 /* end confdefs.h. */
50487 #if (__GNUC__ < 3) || \
50488 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50496 rm -f conftest.
$ac_objext
50497 if { (ac_try
="$ac_compile"
50498 case "(($ac_try" in
50499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50500 *) ac_try_echo=$ac_try;;
50502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50503 (eval "$ac_compile") 2>conftest.er1
50505 grep -v '^ *+' conftest.er1 >conftest.err
50507 cat conftest.err >&5
50508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50509 (exit $ac_status); } && {
50510 test -z "$ac_c_werror_flag" ||
50511 test ! -s conftest.err
50512 } && test -s conftest.$ac_objext; then
50514 bakefile_cv_gcc31=yes
50517 echo "$as_me: failed program was:" >&5
50518 sed 's/^/| /' conftest.$ac_ext >&5
50521 bakefile_cv_gcc31=no
50526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50529 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50530 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50531 if test "$bakefile_cv_gcc31" = "no"; then
50532 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50533 SHARED_LD_CXX="$SHARED_LD_CC"
50535 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50536 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50539 if test "x$GCC" == "xyes"; then
50540 PIC_FLAG="-dynamic -fPIC"
50542 if test "x$XLCC" = "xyes"; then
50543 PIC_FLAG="-dynamic -DPIC"
50548 if test "x$GCC" = "xyes"; then
50551 case "${BAKEFILE_HOST}" in
50553 LD_EXPFULL="-Wl,-bexpfull"
50557 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50558 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50560 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50561 set dummy makeC++SharedLib; ac_word=$2
50562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50564 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50565 echo $ECHO_N "(cached) $ECHO_C" >&6
50567 if test -n "$AIX_CXX_LD"; then
50568 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50571 for as_dir in $PATH
50574 test -z "$as_dir" && as_dir=.
50575 for ac_exec_ext in '' $ac_executable_extensions; do
50576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50577 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50585 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50588 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50589 if test -n "$AIX_CXX_LD"; then
50590 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50591 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50593 { echo "$as_me:$LINENO: result: no" >&5
50594 echo "${ECHO_T}no" >&6; }
50598 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50599 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50604 SHARED_LD_CC="${LD} -nostart -o"
50605 SHARED_LD_CXX="${LD} -nostart -o"
50609 if test "x$GCC" != "xyes"; then
50614 *-*-cygwin* | *-*-mingw32* )
50616 SHARED_LD_CC="\$(CC) -shared -o"
50617 SHARED_LD_CXX="\$(CXX) -shared -o"
50621 *-pc-os2_emx | *-pc-os2-emx )
50622 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50623 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50627 cat <<EOF >dllar.sh
50630 # dllar - a tool to build both a .dll and an .a file
50631 # from a set of object (.o) files for EMX/OS2.
50633 # Written by Andrew Zabolotny, bit@freya.etu.ru
50634 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50636 # This script will accept a set of files on the command line.
50637 # All the public symbols from the .o files will be exported into
50638 # a .DEF file, then linker will be run (through gcc) against them to
50639 # build a shared library consisting of all given .o files. All libraries
50640 # (.a) will be first decompressed into component .o files then act as
50641 # described above. You can optionally give a description (-d "description")
50642 # which will be put into .DLL. To see the list of accepted options (as well
50643 # as command-line format) simply run this program without options. The .DLL
50644 # is built to be imported by name (there is no guarantee that new versions
50645 # of the library you build will have same ordinals for same symbols).
50647 # dllar is free software; you can redistribute it and/or modify
50648 # it under the terms of the GNU General Public License as published by
50649 # the Free Software Foundation; either version 2, or (at your option)
50650 # any later version.
50652 # dllar is distributed in the hope that it will be useful,
50653 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50654 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50655 # GNU General Public License for more details.
50657 # You should have received a copy of the GNU General Public License
50658 # along with dllar; see the file COPYING. If not, write to the Free
50659 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50662 # To successfuly run this program you will need:
50663 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50664 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50666 # (used to build the .dll)
50668 # (used to create .def file from .o files)
50670 # (used to create .a file from .def file)
50671 # - GNU text utilites (cat, sort, uniq)
50672 # used to process emxexp output
50673 # - GNU file utilities (mv, rm)
50675 # - lxlite (optional, see flag below)
50676 # (used for general .dll cleanup)
50683 # basnam, variant of basename, which does _not_ remove the path, _iff_
50684 # second argument (suffix to remove) is given
50688 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50691 echo ${D}1 | sed 's/'${D}2'${D}//'
50694 echo "error in basnam ${D}*"
50700 # Cleanup temporary files and output
50703 for i in ${D}inputFiles ; do
50706 rm -rf \`basnam
${D}i
!\
`
50713 # Kill result in case of failure as there is just to many stupid make/nmake
50714 # things out there which doesn't do this.
50715 if [ ${D}# -eq 0 ]; then
50716 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50720 # Print usage and exit script with rc=1.
50722 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50723 echo ' [-name-mangler-script script.sh]'
50724 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50725 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50726 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50727 echo ' [*.o] [*.a]'
50728 echo '*> "output_file" should have no extension.'
50729 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50730 echo ' The import library name is derived from this and is set to "name".a,'
50731 echo ' unless overridden by -import'
50732 echo '*> "importlib_name" should have no extension.'
50733 echo ' If it has the .o, or .a extension, it is automatically removed.'
50734 echo ' This name is used as the import library name and may be longer and'
50735 echo ' more descriptive than the DLL name which has to follow the old '
50736 echo ' 8.3 convention of FAT.'
50737 echo '*> "script.sh may be given to override the output_file name by a'
50738 echo ' different name. It is mainly useful if the regular make process'
50739 echo ' of some package does not take into account OS/2 restriction of'
50740 echo ' DLL name lengths. It takes the importlib name as input and is'
50741 echo ' supposed to procude a shorter name as output. The script should'
50742 echo ' expect to get importlib_name without extension and should produce'
50743 echo ' a (max.) 8 letter name without extension.'
50744 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50745 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50746 echo ' These flags will be put at the start of GCC command line.'
50747 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50748 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50749 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50750 echo ' If the last character of a symbol is "*", all symbols beginning'
50751 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50752 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50753 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50754 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50755 echo ' C runtime DLLs.'
50756 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50757 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50758 echo ' unchanged to GCC at the end of command line.'
50759 echo '*> If you create a DLL from a library and you do not specify -o,'
50760 echo ' the basename for DLL and import library will be set to library name,'
50761 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50762 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50763 echo ' library will be renamed into gcc_s.a.'
50766 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50767 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50772 # Execute a command.
50773 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50774 # @Uses Whatever CleanUp() uses.
50780 if [ ${D}rcCmd -ne 0 ]; then
50781 echo "command failed, exit code="${D}rcCmd
50796 CFLAGS="-s -Zcrtdll"
50798 EXPORT_BY_ORDINALS=0
50803 case ${D}curDirS in
50807 curDirS=${D}{curDirS}"/"
50810 # Parse commandline
50813 while [ ${D}1 ]; do
50816 EXPORT_BY_ORDINALS=1;
50826 -name-mangler-script)
50847 exclude_symbols=${D}{exclude_symbols}${D}1" "
50851 library_flags=${D}{library_flags}${D}1" "
50870 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50873 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50874 if [ ${D}omfLinking -eq 1 ]; then
50875 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50877 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50882 if [ ${D}libsToLink -ne 0 ]; then
50883 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50885 for file in ${D}1 ; do
50886 if [ -f ${D}file ]; then
50887 inputFiles="${D}{inputFiles} ${D}file"
50891 if [ ${D}found -eq 0 ]; then
50892 echo "ERROR: No file(s) found: "${D}1
50899 done # iterate cmdline words
50902 if [ -z "${D}inputFiles" ]; then
50903 echo "dllar: no input files"
50907 # Now extract all .o files from .a files
50909 for file in ${D}inputFiles ; do
50920 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50925 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50927 if [ ${D}? -ne 0 ]; then
50928 echo "Failed to create subdirectory ./${D}dirname"
50932 # Append '!' to indicate archive
50933 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50934 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50937 for subfile in ${D}dirname/*.o* ; do
50938 if [ -f ${D}subfile ]; then
50940 if [ -s ${D}subfile ]; then
50941 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50942 newInputFiles="${D}newInputFiles ${D}subfile"
50946 if [ ${D}found -eq 0 ]; then
50947 echo "WARNING: there are no files in archive \\'${D}file\\'"
50951 newInputFiles="${D}{newInputFiles} ${D}file"
50955 inputFiles="${D}newInputFiles"
50957 # Output filename(s).
50959 if [ -z ${D}outFile ]; then
50961 set outFile ${D}inputFiles; outFile=${D}2
50964 # If it is an archive, remove the '!' and the '_%' suffixes
50965 case ${D}outFile in
50967 outFile=\`basnam
${D}outFile _
%!\
`
50972 case ${D}outFile in
50974 outFile=\`basnam
${D}outFile .dll\
`
50977 outFile=\`basnam
${D}outFile .DLL\
`
50980 outFile=\`basnam
${D}outFile .o\
`
50983 outFile=\`basnam
${D}outFile .obj\
`
50986 outFile=\`basnam
${D}outFile .a\
`
50989 outFile=\`basnam
${D}outFile .lib\
`
50994 case ${D}outimpFile in
50996 outimpFile=\`basnam
${D}outimpFile .a\
`
50999 outimpFile=\`basnam
${D}outimpFile .lib\
`
51004 if [ -z ${D}outimpFile ]; then
51005 outimpFile=${D}outFile
51007 defFile="${D}{outFile}.def"
51008 arcFile="${D}{outimpFile}.a"
51009 arcFile2="${D}{outimpFile}.lib"
51011 #create ${D}dllFile as something matching 8.3 restrictions,
51012 if [ -z ${D}renameScript ] ; then
51013 dllFile="${D}outFile"
51015 dllFile=\`${D}renameScript
${D}outimpFile\
`
51018 if [ ${D}do_backup -ne 0 ] ; then
51019 if [ -f ${D}arcFile ] ; then
51020 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51022 if [ -f ${D}arcFile2 ] ; then
51023 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51027 # Extract public symbols from all the object files.
51028 tmpdefFile=${D}{defFile}_%
51029 rm -f ${D}tmpdefFile
51030 for file in ${D}inputFiles ; do
51035 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51040 # Create the def file.
51042 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
51043 dllFile="${D}{dllFile}.dll"
51044 if [ ! -z ${D}description ]; then
51045 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51047 echo "EXPORTS" >> ${D}defFile
51049 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51050 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51052 # Checks if the export is ok or not.
51053 for word in ${D}exclude_symbols; do
51054 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51055 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51059 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51060 sed "=" < ${D}tmpdefFile | \\
51064 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51066 ' > ${D}{tmpdefFile}%
51067 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51069 rm -f ${D}{tmpdefFile}%
51071 cat ${D}tmpdefFile >> ${D}defFile
51072 rm -f ${D}tmpdefFile
51074 # Do linking, create implib, and apply lxlite.
51076 for file in ${D}inputFiles ; do
51081 gccCmdl="${D}gccCmdl ${D}file"
51085 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51086 touch "${D}{outFile}.dll"
51088 doCommand "emximp -o ${D}arcFile ${D}defFile"
51089 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51091 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51094 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51096 doCommand "emxomf -s -l ${D}arcFile"
51106 powerpc-apple-macos* | \
51107 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51117 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51118 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51119 { (exit 1); exit 1; }; }
51122 if test "x$PIC_FLAG" != "x" ; then
51123 PIC_FLAG="$PIC_FLAG -DPIC"
51126 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51127 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51129 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51130 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51149 case "${BAKEFILE_HOST}" in
51150 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51151 if test "x$SUNCXX" = "xyes"; then
51154 SONAME_FLAG="-Wl,-soname,"
51189 # Check whether --enable-dependency-tracking was given.
51190 if test "${enable_dependency_tracking+set}" = set; then
51191 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51195 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51196 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51199 if test "x$bk_use_trackdeps" = "xno" ; then
51201 { echo "$as_me:$LINENO: result: disabled" >&5
51202 echo "${ECHO_T}disabled" >&6; }
51206 if test "x$GCC" = "xyes"; then
51208 case "${BAKEFILE_HOST}" in
51210 DEPSFLAG="-no-cpp-precomp -MMD"
51216 { echo "$as_me:$LINENO: result: gcc" >&5
51217 echo "${ECHO_T}gcc" >&6; }
51218 elif test "x$MWCC" = "xyes"; then
51221 { echo "$as_me:$LINENO: result: mwcc" >&5
51222 echo "${ECHO_T}mwcc" >&6; }
51223 elif test "x$SUNCC" = "xyes"; then
51226 { echo "$as_me:$LINENO: result: Sun cc" >&5
51227 echo "${ECHO_T}Sun cc" >&6; }
51228 elif test "x$SGICC" = "xyes"; then
51231 { echo "$as_me:$LINENO: result: SGI cc" >&5
51232 echo "${ECHO_T}SGI cc" >&6; }
51233 elif test "x$HPCC" = "xyes"; then
51236 { echo "$as_me:$LINENO: result: HP cc" >&5
51237 echo "${ECHO_T}HP cc" >&6; }
51238 elif test "x$COMPAQCC" = "xyes"; then
51241 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51242 echo "${ECHO_T}Compaq cc" >&6; }
51245 { echo "$as_me:$LINENO: result: none" >&5
51246 echo "${ECHO_T}none" >&6; }
51249 if test $DEPS_TRACKING = 1 ; then
51255 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51256 # script. It is used to track C/C++ files dependencies in portable way.
51258 # Permission is given to use this file in any way.
51260 DEPSMODE=${DEPSMODE}
51262 DEPSFLAG="${DEPSFLAG}"
51264 mkdir -p ${D}DEPSDIR
51266 if test ${D}DEPSMODE = gcc ; then
51267 ${D}* ${D}{DEPSFLAG}
51269 if test ${D}{status} != 0 ; then
51272 # move created file to the location we want it in:
51273 while test ${D}# -gt 0; do
51287 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51288 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51289 if test -f ${D}depfile ; then
51290 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51293 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51294 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51295 if test ! -f ${D}depfile ; then
51296 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51297 depfile="${D}objfile.d"
51299 if test -f ${D}depfile ; then
51300 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51305 elif test ${D}DEPSMODE = mwcc ; then
51306 ${D}* || exit ${D}?
51307 # Run mwcc again with -MM and redirect into the dep file we want
51308 # NOTE: We can't use shift here because we need ${D}* to be valid
51310 for arg in ${D}* ; do
51311 if test "${D}prevarg" = "-o"; then
51324 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51326 elif test ${D}DEPSMODE = unixcc; then
51327 ${D}* || exit ${D}?
51328 # Run compiler again with deps flag and redirect into the dep file.
51329 # It doesn't work if the '-o FILE' option is used, but without it the
51330 # dependency file will contain the wrong name for the object. So it is
51331 # removed from the command line, and the dep file is fixed with sed.
51333 while test ${D}# -gt 0; do
51340 eval arg${D}#=\\${D}1
51341 cmd="${D}cmd \\${D}arg${D}#"
51346 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51355 BK_DEPS="`pwd`/bk-deps"
51363 case ${BAKEFILE_HOST} in
51364 *-*-cygwin* | *-*-mingw32* )
51365 if test -n "$ac_tool_prefix"; then
51366 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51367 set dummy ${ac_tool_prefix}windres; ac_word=$2
51368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51370 if test "${ac_cv_prog_WINDRES+set}" = set; then
51371 echo $ECHO_N "(cached) $ECHO_C" >&6
51373 if test -n "$WINDRES"; then
51374 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51377 for as_dir in $PATH
51380 test -z "$as_dir" && as_dir=.
51381 for ac_exec_ext in '' $ac_executable_extensions; do
51382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51383 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51393 WINDRES=$ac_cv_prog_WINDRES
51394 if test -n "$WINDRES"; then
51395 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51396 echo "${ECHO_T}$WINDRES" >&6; }
51398 { echo "$as_me:$LINENO: result: no" >&5
51399 echo "${ECHO_T}no" >&6; }
51404 if test -z "$ac_cv_prog_WINDRES"; then
51405 ac_ct_WINDRES=$WINDRES
51406 # Extract the first word of "windres", so it can be a program name with args.
51407 set dummy windres; ac_word=$2
51408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51410 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51411 echo $ECHO_N "(cached) $ECHO_C" >&6
51413 if test -n "$ac_ct_WINDRES"; then
51414 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51417 for as_dir in $PATH
51420 test -z "$as_dir" && as_dir=.
51421 for ac_exec_ext in '' $ac_executable_extensions; do
51422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51423 ac_cv_prog_ac_ct_WINDRES="windres"
51424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51433 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51434 if test -n "$ac_ct_WINDRES"; then
51435 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51436 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51438 { echo "$as_me:$LINENO: result: no" >&5
51439 echo "${ECHO_T}no" >&6; }
51442 if test "x$ac_ct_WINDRES" = x; then
51445 case $cross_compiling:$ac_tool_warned in
51447 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51448 whose name does not start with the host triplet. If you think this
51449 configuration is useful to you, please write to autoconf@gnu.org." >&5
51450 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51451 whose name does not start with the host triplet. If you think this
51452 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51453 ac_tool_warned=yes ;;
51455 WINDRES=$ac_ct_WINDRES
51458 WINDRES="$ac_cv_prog_WINDRES"
51463 *-*-darwin* | powerpc-apple-macos* )
51464 # Extract the first word of "Rez", so it can be a program name with args.
51465 set dummy Rez; ac_word=$2
51466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51468 if test "${ac_cv_prog_REZ+set}" = set; then
51469 echo $ECHO_N "(cached) $ECHO_C" >&6
51471 if test -n "$REZ"; then
51472 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51475 for as_dir in $PATH
51478 test -z "$as_dir" && as_dir=.
51479 for ac_exec_ext in '' $ac_executable_extensions; do
51480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51481 ac_cv_prog_REZ="Rez"
51482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51489 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51492 REZ=$ac_cv_prog_REZ
51493 if test -n "$REZ"; then
51494 { echo "$as_me:$LINENO: result: $REZ" >&5
51495 echo "${ECHO_T}$REZ" >&6; }
51497 { echo "$as_me:$LINENO: result: no" >&5
51498 echo "${ECHO_T}no" >&6; }
51502 # Extract the first word of "SetFile", so it can be a program name with args.
51503 set dummy SetFile; ac_word=$2
51504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51506 if test "${ac_cv_prog_SETFILE+set}" = set; then
51507 echo $ECHO_N "(cached) $ECHO_C" >&6
51509 if test -n "$SETFILE"; then
51510 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51513 for as_dir in $PATH
51516 test -z "$as_dir" && as_dir=.
51517 for ac_exec_ext in '' $ac_executable_extensions; do
51518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51519 ac_cv_prog_SETFILE="SetFile"
51520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51527 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51530 SETFILE=$ac_cv_prog_SETFILE
51531 if test -n "$SETFILE"; then
51532 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51533 echo "${ECHO_T}$SETFILE" >&6; }
51535 { echo "$as_me:$LINENO: result: no" >&5
51536 echo "${ECHO_T}no" >&6; }
51548 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51551 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51555 # Check whether --enable-precomp-headers was given.
51556 if test "${enable_precomp_headers+set}" = set; then
51557 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51566 case ${BAKEFILE_HOST} in
51572 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51573 if test "x$GCC" = "xyes"; then
51574 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51575 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51576 cat >conftest.$ac_ext <<_ACEOF
51579 cat confdefs.h >>conftest.$ac_ext
51580 cat >>conftest.$ac_ext <<_ACEOF
51581 /* end confdefs.h. */
51587 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51588 There is no PCH support
51591 There is no PCH support
51593 #if (__GNUC__ == 3) && \
51594 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51595 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51596 ( defined(__INTEL_COMPILER) )
51597 There is no PCH support
51604 rm -f conftest.$ac_objext
51605 if { (ac_try="$ac_compile"
51606 case "(($ac_try" in
51607 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51608 *) ac_try_echo
=$ac_try;;
51610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51611 (eval "$ac_compile") 2>conftest.er1
51613 grep -v '^ *+' conftest.er1
>conftest.err
51615 cat conftest.err
>&5
51616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51617 (exit $ac_status); } && {
51618 test -z "$ac_c_werror_flag" ||
51619 test ! -s conftest.err
51620 } && test -s conftest.
$ac_objext; then
51622 { echo "$as_me:$LINENO: result: yes" >&5
51623 echo "${ECHO_T}yes" >&6; }
51627 echo "$as_me: failed program was:" >&5
51628 sed 's/^/| /' conftest.
$ac_ext >&5
51631 cat >conftest.
$ac_ext <<_ACEOF
51634 cat confdefs.h
>>conftest.
$ac_ext
51635 cat >>conftest.
$ac_ext <<_ACEOF
51636 /* end confdefs.h. */
51642 #if !defined(__INTEL_COMPILER) || \
51643 (__INTEL_COMPILER < 800)
51644 There is no PCH support
51651 rm -f conftest.
$ac_objext
51652 if { (ac_try
="$ac_compile"
51653 case "(($ac_try" in
51654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51655 *) ac_try_echo=$ac_try;;
51657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51658 (eval "$ac_compile") 2>conftest.er1
51660 grep -v '^ *+' conftest.er1 >conftest.err
51662 cat conftest.err >&5
51663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51664 (exit $ac_status); } && {
51665 test -z "$ac_c_werror_flag" ||
51666 test ! -s conftest.err
51667 } && test -s conftest.$ac_objext; then
51669 { echo "$as_me:$LINENO: result: yes" >&5
51670 echo "${ECHO_T}yes" >&6; }
51674 echo "$as_me: failed program was:" >&5
51675 sed 's/^/| /' conftest.$ac_ext >&5
51678 { echo "$as_me:$LINENO: result: no" >&5
51679 echo "${ECHO_T}no" >&6; }
51683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51688 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51692 cat <<EOF >bk-make-pch
51695 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51696 # script. It is used to generated precompiled headers.
51698 # Permission is given to use this file in any way.
51708 while test ${D}{#} -gt 0; do
51712 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51713 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51714 headerfile="${D}{incdir}/${D}{header}"
51717 -use-pch|-use_pch )
51722 if test ${D}add_to_cmdline = 1 ; then
51723 compiler="${D}{compiler} ${D}{1}"
51728 if test "x${D}{headerfile}" = "x" ; then
51729 echo "error: can't find header ${D}{header} in include paths" >&2
51731 if test -f ${D}{outfile} ; then
51732 rm -f ${D}{outfile}
51734 mkdir -p \`dirname ${D}{outfile
}\
`
51736 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51738 if test "x${GCC_PCH}" = "x1" ; then
51739 # can do this because gcc is >= 3.4:
51740 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51741 elif test "x${ICC_PCH}" = "x1" ; then
51742 filename=pch_gen-${D}${D}
51743 file=${D}{filename}.c
51744 dfile=${D}{filename}.d
51745 cat > ${D}file <<EOT
51746 #include "${D}header"
51748 # using -MF icc complains about differing command lines in creation/use
51749 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51750 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51751 rm -f ${D}file ${D}dfile ${D}{filename}.o
51757 chmod +x bk-make-pch
51758 BK_MAKE_PCH="`pwd`/bk-make-pch"
51767 COND_BUILD_DEBUG="#"
51768 if test "x$BUILD" = "xdebug" ; then
51769 COND_BUILD_DEBUG=""
51772 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51773 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51774 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51777 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51778 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51779 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51782 COND_BUILD_DEBUG_UNICODE_0="#"
51783 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51784 COND_BUILD_DEBUG_UNICODE_0=""
51787 COND_BUILD_DEBUG_UNICODE_1="#"
51788 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51789 COND_BUILD_DEBUG_UNICODE_1=""
51792 COND_BUILD_RELEASE="#"
51793 if test "x$BUILD" = "xrelease" ; then
51794 COND_BUILD_RELEASE=""
51797 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51798 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51799 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51802 COND_BUILD_RELEASE_UNICODE_0="#"
51803 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51804 COND_BUILD_RELEASE_UNICODE_0=""
51807 COND_BUILD_RELEASE_UNICODE_1="#"
51808 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51809 COND_BUILD_RELEASE_UNICODE_1=""
51812 COND_DEBUG_FLAG_1="#"
51813 if test "x$DEBUG_FLAG" = "x1" ; then
51814 COND_DEBUG_FLAG_1=""
51817 COND_DEBUG_INFO_0="#"
51818 if test "x$DEBUG_INFO" = "x0" ; then
51819 COND_DEBUG_INFO_0=""
51822 COND_DEBUG_INFO_1="#"
51823 if test "x$DEBUG_INFO" = "x1" ; then
51824 COND_DEBUG_INFO_1=""
51827 COND_DEPS_TRACKING_0="#"
51828 if test "x$DEPS_TRACKING" = "x0" ; then
51829 COND_DEPS_TRACKING_0=""
51832 COND_DEPS_TRACKING_1="#"
51833 if test "x$DEPS_TRACKING" = "x1" ; then
51834 COND_DEPS_TRACKING_1=""
51838 if test "x$GCC_PCH" = "x1" ; then
51843 if test "x$ICC_PCH" = "x1" ; then
51847 COND_MONOLITHIC_0="#"
51848 if test "x$MONOLITHIC" = "x0" ; then
51849 COND_MONOLITHIC_0=""
51852 COND_MONOLITHIC_0_SHARED_0="#"
51853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51854 COND_MONOLITHIC_0_SHARED_0=""
51857 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51859 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51867 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51869 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51872 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51874 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51877 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51879 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51882 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51884 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51887 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51889 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51892 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51894 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51897 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51899 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51902 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51904 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51907 COND_MONOLITHIC_0_SHARED_1="#"
51908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51909 COND_MONOLITHIC_0_SHARED_1=""
51912 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51914 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51917 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51919 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51922 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51924 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51927 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51929 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51932 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51934 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51937 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51939 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51942 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51944 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51947 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51949 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51952 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51954 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51957 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51959 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51962 COND_MONOLITHIC_0_USE_AUI_1="#"
51963 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51964 COND_MONOLITHIC_0_USE_AUI_1=""
51967 COND_MONOLITHIC_0_USE_GUI_1="#"
51968 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51969 COND_MONOLITHIC_0_USE_GUI_1=""
51972 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51973 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51974 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51977 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51978 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51979 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51982 COND_MONOLITHIC_0_USE_HTML_1="#"
51983 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51984 COND_MONOLITHIC_0_USE_HTML_1=""
51987 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51988 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51989 COND_MONOLITHIC_0_USE_MEDIA_1=""
51992 COND_MONOLITHIC_0_USE_ODBC_1="#"
51993 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51994 COND_MONOLITHIC_0_USE_ODBC_1=""
51997 COND_MONOLITHIC_0_USE_QA_1="#"
51998 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51999 COND_MONOLITHIC_0_USE_QA_1=""
52002 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52003 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52004 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52007 COND_MONOLITHIC_0_USE_STC_1="#"
52008 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52009 COND_MONOLITHIC_0_USE_STC_1=""
52012 COND_MONOLITHIC_0_USE_XRC_1="#"
52013 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52014 COND_MONOLITHIC_0_USE_XRC_1=""
52017 COND_MONOLITHIC_1="#"
52018 if test "x$MONOLITHIC" = "x1" ; then
52019 COND_MONOLITHIC_1=""
52022 COND_MONOLITHIC_1_SHARED_0="#"
52023 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52024 COND_MONOLITHIC_1_SHARED_0=""
52027 COND_MONOLITHIC_1_SHARED_1="#"
52028 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52029 COND_MONOLITHIC_1_SHARED_1=""
52032 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52033 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52034 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52037 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52038 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52039 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52042 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52043 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52044 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52047 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52048 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52049 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52052 COND_PLATFORM_MACOSX_1="#"
52053 if test "x$PLATFORM_MACOSX" = "x1" ; then
52054 COND_PLATFORM_MACOSX_1=""
52057 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52058 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52059 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52062 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52063 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52064 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52067 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52068 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52069 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52072 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52074 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52077 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52078 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52079 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52082 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52083 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52084 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52087 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52088 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52089 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52092 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52093 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52094 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52097 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52098 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52099 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52102 COND_PLATFORM_MACOS_1="#"
52103 if test "x$PLATFORM_MACOS" = "x1" ; then
52104 COND_PLATFORM_MACOS_1=""
52107 COND_PLATFORM_MAC_1="#"
52108 if test "x$PLATFORM_MAC" = "x1" ; then
52109 COND_PLATFORM_MAC_1=""
52112 COND_PLATFORM_MSDOS_0="#"
52113 if test "x$PLATFORM_MSDOS" = "x0" ; then
52114 COND_PLATFORM_MSDOS_0=""
52117 COND_PLATFORM_MSDOS_1="#"
52118 if test "x$PLATFORM_MSDOS" = "x1" ; then
52119 COND_PLATFORM_MSDOS_1=""
52122 COND_PLATFORM_OS2_1="#"
52123 if test "x$PLATFORM_OS2" = "x1" ; then
52124 COND_PLATFORM_OS2_1=""
52127 COND_PLATFORM_UNIX_0="#"
52128 if test "x$PLATFORM_UNIX" = "x0" ; then
52129 COND_PLATFORM_UNIX_0=""
52132 COND_PLATFORM_UNIX_1="#"
52133 if test "x$PLATFORM_UNIX" = "x1" ; then
52134 COND_PLATFORM_UNIX_1=""
52137 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52138 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52139 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52142 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52143 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52144 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52147 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52148 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52149 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52152 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52153 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52154 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52157 COND_PLATFORM_WIN32_0="#"
52158 if test "x$PLATFORM_WIN32" = "x0" ; then
52159 COND_PLATFORM_WIN32_0=""
52162 COND_PLATFORM_WIN32_1="#"
52163 if test "x$PLATFORM_WIN32" = "x1" ; then
52164 COND_PLATFORM_WIN32_1=""
52168 if test "x$SHARED" = "x0" ; then
52172 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52173 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52174 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52177 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52178 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52179 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52182 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52183 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52184 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52187 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52188 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52189 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52192 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52193 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52194 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52197 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52198 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52199 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52202 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52203 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52204 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52207 COND_SHARED_0_USE_STC_1="#"
52208 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52209 COND_SHARED_0_USE_STC_1=""
52212 COND_SHARED_0_USE_XRC_1="#"
52213 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52214 COND_SHARED_0_USE_XRC_1=""
52217 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52218 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52219 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52222 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52223 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52224 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52227 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52228 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52229 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52232 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52233 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52234 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52238 if test "x$SHARED" = "x1" ; then
52242 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52243 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52244 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52247 COND_SHARED_1_USE_XRC_1="#"
52248 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52249 COND_SHARED_1_USE_XRC_1=""
52253 if test "x$TOOLKIT" = "x" ; then
52257 COND_TOOLKIT_COCOA="#"
52258 if test "x$TOOLKIT" = "xCOCOA" ; then
52259 COND_TOOLKIT_COCOA=""
52262 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52263 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52264 COND_TOOLKIT_COCOA_USE_GUI_1=""
52267 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52268 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52269 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52272 COND_TOOLKIT_DFB="#"
52273 if test "x$TOOLKIT" = "xDFB" ; then
52274 COND_TOOLKIT_DFB=""
52277 COND_TOOLKIT_DFB_USE_GUI_1="#"
52278 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52279 COND_TOOLKIT_DFB_USE_GUI_1=""
52282 COND_TOOLKIT_GTK="#"
52283 if test "x$TOOLKIT" = "xGTK" ; then
52284 COND_TOOLKIT_GTK=""
52287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52288 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52292 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52293 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52297 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52298 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52302 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52303 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52304 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52307 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52308 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52312 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52313 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52314 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52317 COND_TOOLKIT_GTK_USE_GUI_1="#"
52318 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52319 COND_TOOLKIT_GTK_USE_GUI_1=""
52322 COND_TOOLKIT_MAC="#"
52323 if test "x$TOOLKIT" = "xMAC" ; then
52324 COND_TOOLKIT_MAC=""
52327 COND_TOOLKIT_MAC_USE_GUI_1="#"
52328 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52329 COND_TOOLKIT_MAC_USE_GUI_1=""
52332 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52333 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52334 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52337 COND_TOOLKIT_MGL="#"
52338 if test "x$TOOLKIT" = "xMGL" ; then
52339 COND_TOOLKIT_MGL=""
52342 COND_TOOLKIT_MGL_USE_GUI_1="#"
52343 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52344 COND_TOOLKIT_MGL_USE_GUI_1=""
52347 COND_TOOLKIT_MOTIF="#"
52348 if test "x$TOOLKIT" = "xMOTIF" ; then
52349 COND_TOOLKIT_MOTIF=""
52352 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52353 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52354 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52357 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52358 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52359 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52362 COND_TOOLKIT_MSW="#"
52363 if test "x$TOOLKIT" = "xMSW" ; then
52364 COND_TOOLKIT_MSW=""
52367 COND_TOOLKIT_MSW_USE_GUI_1="#"
52368 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52369 COND_TOOLKIT_MSW_USE_GUI_1=""
52372 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52373 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52374 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52377 COND_TOOLKIT_MSW_WXUNIV_0="#"
52378 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52379 COND_TOOLKIT_MSW_WXUNIV_0=""
52382 COND_TOOLKIT_PM="#"
52383 if test "x$TOOLKIT" = "xPM" ; then
52387 COND_TOOLKIT_PM_USE_GUI_1="#"
52388 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52389 COND_TOOLKIT_PM_USE_GUI_1=""
52392 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52393 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52394 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52397 COND_TOOLKIT_WINCE="#"
52398 if test "x$TOOLKIT" = "xWINCE" ; then
52399 COND_TOOLKIT_WINCE=""
52402 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52403 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52404 COND_TOOLKIT_WINCE_USE_GUI_1=""
52407 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52408 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52409 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52412 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52413 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52414 COND_TOOLKIT_WINCE_WXUNIV_0=""
52417 COND_TOOLKIT_X11="#"
52418 if test "x$TOOLKIT" = "xX11" ; then
52419 COND_TOOLKIT_X11=""
52422 COND_TOOLKIT_X11_USE_GUI_1="#"
52423 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52424 COND_TOOLKIT_X11_USE_GUI_1=""
52428 if test "x$UNICODE" = "x1" ; then
52432 COND_USE_EXCEPTIONS_0="#"
52433 if test "x$USE_EXCEPTIONS" = "x0" ; then
52434 COND_USE_EXCEPTIONS_0=""
52437 COND_USE_EXCEPTIONS_1="#"
52438 if test "x$USE_EXCEPTIONS" = "x1" ; then
52439 COND_USE_EXCEPTIONS_1=""
52443 if test "x$USE_GUI" = "x0" ; then
52448 if test "x$USE_GUI" = "x1" ; then
52452 COND_USE_GUI_1_USE_OPENGL_1="#"
52453 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52454 COND_USE_GUI_1_USE_OPENGL_1=""
52457 COND_USE_GUI_1_WXUNIV_0="#"
52458 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52459 COND_USE_GUI_1_WXUNIV_0=""
52462 COND_USE_GUI_1_WXUNIV_1="#"
52463 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52464 COND_USE_GUI_1_WXUNIV_1=""
52467 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52468 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52469 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52472 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52473 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52474 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52477 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52478 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52479 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52482 COND_USE_ODBC_1="#"
52483 if test "x$USE_ODBC" = "x1" ; then
52487 COND_USE_OPENGL_1="#"
52488 if test "x$USE_OPENGL" = "x1" ; then
52489 COND_USE_OPENGL_1=""
52493 if test "x$USE_PCH" = "x1" ; then
52497 COND_USE_PLUGINS_0="#"
52498 if test "x$USE_PLUGINS" = "x0" ; then
52499 COND_USE_PLUGINS_0=""
52502 COND_USE_RTTI_0="#"
52503 if test "x$USE_RTTI" = "x0" ; then
52507 COND_USE_RTTI_1="#"
52508 if test "x$USE_RTTI" = "x1" ; then
52512 COND_USE_SOSYMLINKS_1="#"
52513 if test "x$USE_SOSYMLINKS" = "x1" ; then
52514 COND_USE_SOSYMLINKS_1=""
52517 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52518 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52519 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52522 COND_USE_SOVERLINUX_1="#"
52523 if test "x$USE_SOVERLINUX" = "x1" ; then
52524 COND_USE_SOVERLINUX_1=""
52527 COND_USE_SOVERSION_0="#"
52528 if test "x$USE_SOVERSION" = "x0" ; then
52529 COND_USE_SOVERSION_0=""
52532 COND_USE_SOVERSOLARIS_1="#"
52533 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52534 COND_USE_SOVERSOLARIS_1=""
52538 if test "x$USE_STC" = "x1" ; then
52542 COND_USE_THREADS_0="#"
52543 if test "x$USE_THREADS" = "x0" ; then
52544 COND_USE_THREADS_0=""
52547 COND_USE_THREADS_1="#"
52548 if test "x$USE_THREADS" = "x1" ; then
52549 COND_USE_THREADS_1=""
52553 if test "x$USE_XRC" = "x1" ; then
52557 COND_WINDOWS_IMPLIB_1="#"
52558 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52559 COND_WINDOWS_IMPLIB_1=""
52562 COND_WITH_PLUGIN_SDL_1="#"
52563 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52564 COND_WITH_PLUGIN_SDL_1=""
52568 if test "x$WXUNIV" = "x0" ; then
52573 if test "x$WXUNIV" = "x1" ; then
52577 COND_WXUSE_EXPAT_BUILTIN="#"
52578 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52579 COND_WXUSE_EXPAT_BUILTIN=""
52582 COND_WXUSE_LIBJPEG_BUILTIN="#"
52583 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52584 COND_WXUSE_LIBJPEG_BUILTIN=""
52587 COND_WXUSE_LIBPNG_BUILTIN="#"
52588 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52589 COND_WXUSE_LIBPNG_BUILTIN=""
52592 COND_WXUSE_LIBTIFF_BUILTIN="#"
52593 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52594 COND_WXUSE_LIBTIFF_BUILTIN=""
52597 COND_WXUSE_ODBC_BUILTIN="#"
52598 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52599 COND_WXUSE_ODBC_BUILTIN=""
52602 COND_WXUSE_REGEX_BUILTIN="#"
52603 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52604 COND_WXUSE_REGEX_BUILTIN=""
52607 COND_WXUSE_ZLIB_BUILTIN="#"
52608 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52609 COND_WXUSE_ZLIB_BUILTIN=""
52614 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52615 { { 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
52616 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;}
52617 { (exit 1); exit 1; }; }
52620 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52621 { { 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
52622 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;}
52623 { (exit 1); exit 1; }; }
52630 ?:* ) # Drive letter, considered as absolute.
52633 INSTALL=`pwd`/${INSTALL} ;;
52636 if test "$wxUSE_GUI" = "yes"; then
52638 if test "$wxUSE_MSW" = 1 ; then
52639 if test "x$WINDRES" = "x"; then
52640 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52641 echo "$as_me: error: Required windres program not found" >&2;}
52642 { (exit 1); exit 1; }; }
52648 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52649 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52650 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52652 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52654 # Extract the first word of "DeRez", so it can be a program name with args.
52655 set dummy DeRez; ac_word=$2
52656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52658 if test "${ac_cv_prog_DEREZ+set}" = set; then
52659 echo $ECHO_N "(cached) $ECHO_C" >&6
52661 if test -n "$DEREZ"; then
52662 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52665 for as_dir in $PATH
52668 test -z "$as_dir" && as_dir=.
52669 for ac_exec_ext in '' $ac_executable_extensions; do
52670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52671 ac_cv_prog_DEREZ="DeRez"
52672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52679 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52682 DEREZ=$ac_cv_prog_DEREZ
52683 if test -n "$DEREZ"; then
52684 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52685 echo "${ECHO_T}$DEREZ" >&6; }
52687 { echo "$as_me:$LINENO: result: no" >&5
52688 echo "${ECHO_T}no" >&6; }
52693 MACSETFILE="\$(SETFILE)"
52695 if test "$wxUSE_MAC" = 1; then
52696 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52698 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52700 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52701 RESCOMP="cat /dev/null \| $REZ"
52702 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52708 if test "$wxUSE_PM" = 1; then
52710 WXCONFIG_RESFLAGS="-ep"
52712 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52714 POSTLINK_COMMAND="@true"
52721 if test $GCC_PCH = 1
52723 if test "$wx_cv_gcc_pch_bug" = yes; then
52724 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52725 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52726 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52727 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52728 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52729 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52732 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52736 if test "$wxUSE_MAC" = 1 ; then
52737 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52738 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52744 if test "$wxUSE_SHARED" = "yes"; then
52746 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52747 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52750 *-pc-os2_emx | *-pc-os2-emx )
52751 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52752 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52753 cp -p ${srcdir}/src/os2/dllnames.sh .
52754 cp -p ${srcdir}/src/os2/dllar.sh .
52759 EXE_LINKER="$CXX -o"
52762 if test "$wxUSE_OMF" = "yes"; then
52764 *-pc-os2_emx | *-pc-os2-emx )
52765 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52766 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52767 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52772 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52777 if "$GCC" = yes; then
52778 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52779 LIBS=`echo $LIBS | sed 's/-mt//'`
52780 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52785 if test "x$SUNCXX" = xyes; then
52786 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52787 LIBS=`echo $LIBS | sed 's/-pthread//'`
52788 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52793 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52794 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52796 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52858 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52859 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52860 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52861 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52862 echo $ECHO_N "(cached) $ECHO_C" >&6
52864 cat >conftest.make <<\_ACEOF
52867 @echo '@@@%%%=$(MAKE)=@@@%%%'
52869 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52870 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52871 *@@@%%%=?*=@@@%%%*)
52872 eval ac_cv_prog_make_${ac_make}_set=yes;;
52874 eval ac_cv_prog_make_${ac_make}_set=no;;
52876 rm -f conftest.make
52878 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52879 { echo "$as_me:$LINENO: result: yes" >&5
52880 echo "${ECHO_T}yes" >&6; }
52883 { echo "$as_me:$LINENO: result: no" >&5
52884 echo "${ECHO_T}no" >&6; }
52885 SET_MAKE="MAKE=${MAKE-make}"
52890 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52893 if test "$USE_WIN32" = 1; then
52894 ac_config_commands="$ac_config_commands
52900 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52903 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52906 if test "$wx_cv_version_script" = "yes"; then
52907 ac_config_files="$ac_config_files version-script"
52910 ac_config_files="$ac_config_files Makefile"
52913 ac_config_commands="$ac_config_commands wx-config"
52917 if test "$wxWITH_SUBDIRS" != "no"; then
52918 if test "$wxUSE_GUI" = "yes"; then
52919 SUBDIRS="samples demos utils"
52920 else SUBDIRS="samples utils"
52925 # Check whether --with-cppunit-prefix was given.
52926 if test "${with_cppunit_prefix+set}" = set; then
52927 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52929 cppunit_config_prefix=""
52933 # Check whether --with-cppunit-exec-prefix was given.
52934 if test "${with_cppunit_exec_prefix+set}" = set; then
52935 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52937 cppunit_config_exec_prefix=""
52941 if test x$cppunit_config_exec_prefix != x ; then
52942 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52943 if test x${CPPUNIT_CONFIG+set} != xset ; then
52944 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52947 if test x$cppunit_config_prefix != x ; then
52948 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52949 if test x${CPPUNIT_CONFIG+set} != xset ; then
52950 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52954 # Extract the first word of "cppunit-config", so it can be a program name with args.
52955 set dummy cppunit-config; ac_word=$2
52956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52958 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52959 echo $ECHO_N "(cached) $ECHO_C" >&6
52961 case $CPPUNIT_CONFIG in
52963 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52967 for as_dir in $PATH
52970 test -z "$as_dir" && as_dir=.
52971 for ac_exec_ext in '' $ac_executable_extensions; do
52972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52973 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52981 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52985 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52986 if test -n "$CPPUNIT_CONFIG"; then
52987 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52988 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52990 { echo "$as_me:$LINENO: result: no" >&5
52991 echo "${ECHO_T}no" >&6; }
52995 cppunit_version_min=1.8.0
52997 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52998 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53000 if test "$CPPUNIT_CONFIG" = "no" ; then
53001 { echo "$as_me:$LINENO: result: no" >&5
53002 echo "${ECHO_T}no" >&6; }
53005 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53006 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53007 cppunit_version=`$CPPUNIT_CONFIG --version`
53009 cppunit_major_version=`echo $cppunit_version | \
53010 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53011 cppunit_minor_version=`echo $cppunit_version | \
53012 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53013 cppunit_micro_version=`echo $cppunit_version | \
53014 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53016 cppunit_major_min=`echo $cppunit_version_min | \
53017 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53018 cppunit_minor_min=`echo $cppunit_version_min | \
53019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53020 cppunit_micro_min=`echo $cppunit_version_min | \
53021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53023 cppunit_version_proper=`expr \
53024 $cppunit_major_version \
> $cppunit_major_min \
| \
53025 $cppunit_major_version \
= $cppunit_major_min \
& \
53026 $cppunit_minor_version \
> $cppunit_minor_min \
| \
53027 $cppunit_major_version \
= $cppunit_major_min \
& \
53028 $cppunit_minor_version \
= $cppunit_minor_min \
& \
53029 $cppunit_micro_version \
>= $cppunit_micro_min `
53031 if test "$cppunit_version_proper" = "1" ; then
53032 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53033 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53035 { echo "$as_me:$LINENO: result: no" >&5
53036 echo "${ECHO_T}no" >&6; }
53041 if test "x$no_cppunit" = x ; then
53042 SUBDIRS="$SUBDIRS tests"
53053 for subdir in `echo $SUBDIRS`; do
53054 if test -d ${srcdir}/${subdir} ; then
53055 if test "$wxUSE_GUI" = "yes"; then
53056 if test ${subdir} = "samples"; then
53057 makefiles="samples/Makefile.in $makefiles"
53058 for sample in `echo $SAMPLES_SUBDIRS`; do
53059 if test -d $srcdir/samples/$sample; then
53060 makefiles="samples/$sample/Makefile.in $makefiles"
53064 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
53065 eval "disabled=\$$disabled_var"
53066 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
53067 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
53069 else if test ${subdir} = "samples"; then
53070 makefiles="samples/Makefile.in $makefiles"
53071 for sample in `echo $SAMPLES_SUBDIRS`; do
53072 if test -d $srcdir/samples/$sample; then
53073 makefiles="samples/$sample/Makefile.in $makefiles"
53076 elif test ${subdir} = "utils"; then
53078 for util in HelpGen tex2rtf ; do
53079 if test -d $srcdir/utils/$util ; then
53080 makefiles="utils/$util/Makefile.in \
53081 utils/$util/src/Makefile.in \
53085 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
53089 for mkin in $makefiles ; do
53090 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53091 ac_config_files="$ac_config_files $mk"
53097 cat >confcache <<\_ACEOF
53098 # This file is a shell script that caches the results of configure
53099 # tests run on this system so they can be shared between configure
53100 # scripts and configure runs, see configure's option --config-cache.
53101 # It is not useful on other systems. If it contains results you don't
53102 # want to keep, you may remove or edit it.
53104 # config.status only pays attention to the cache file if you give it
53105 # the --recheck option to rerun configure.
53107 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
53108 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53109 # following values.
53113 # The following way of writing the cache mishandles newlines in values,
53114 # but we know of no workaround that is simple, portable, and efficient.
53115 # So, we kill variables containing newlines.
53116 # Ultrix sh set writes to stderr and can't be redirected directly,
53117 # and sets the high bit in the cache file unless we assign to the vars.
53119 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53120 eval ac_val
=\$
$ac_var
53124 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53125 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53128 _
| IFS
| as_nl
) ;; #(
53129 *) $as_unset $ac_var ;;
53135 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53136 *${as_nl}ac_space
=\
*)
53137 # `set' does not quote correctly, so add quotes (double-quote
53138 # substitution turns \\\\ into \\, and sed turns \\ into \).
53141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53144 # `set' quotes correctly as required by POSIX, so do not add quotes.
53145 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53154 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53156 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53158 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53159 if test -w "$cache_file"; then
53160 test "x$cache_file" != "x/dev/null" &&
53161 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53162 echo "$as_me: updating cache $cache_file" >&6;}
53163 cat confcache
>$cache_file
53165 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53166 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53171 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53172 # Let make expand exec_prefix.
53173 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53175 DEFS
=-DHAVE_CONFIG_H
53179 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53180 # 1. Remove the extension, and $U if already installed.
53181 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53182 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53183 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53184 # will be set to the directory where LIBOBJS objects are built.
53185 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53186 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53188 LIBOBJS
=$ac_libobjs
53190 LTLIBOBJS
=$ac_ltlibobjs
53194 : ${CONFIG_STATUS=./config.status}
53195 ac_clean_files_save
=$ac_clean_files
53196 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53197 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53198 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53199 cat >$CONFIG_STATUS <<_ACEOF
53201 # Generated by $as_me.
53202 # Run this file to recreate the current configuration.
53203 # Compiler output produced by configure, useful for debugging
53204 # configure, is in config.log if it exists.
53207 ac_cs_recheck=false
53209 SHELL=\${CONFIG_SHELL-$SHELL}
53212 cat >>$CONFIG_STATUS <<\_ACEOF
53213 ## --------------------- ##
53214 ## M4sh Initialization. ##
53215 ## --------------------- ##
53217 # Be more Bourne compatible
53218 DUALCASE
=1; export DUALCASE
# for MKS sh
53219 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53222 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53223 # is contrary to our usage. Disable this feature.
53224 alias -g '${1+"$@"}'='"$@"'
53225 setopt NO_GLOB_SUBST
53227 case `(set -o) 2>/dev/null` in
53228 *posix
*) set -o posix
;;
53237 # Avoid depending upon Character Ranges.
53238 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53239 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53240 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53241 as_cr_digits
='0123456789'
53242 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53244 # The user is always right.
53245 if test "${PATH_SEPARATOR+set}" != set; then
53246 echo "#! /bin/sh" >conf$$.sh
53247 echo "exit 0" >>conf$$.sh
53249 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53257 # Support unset when possible.
53258 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53266 # We need space, tab and new line, in precisely that order. Quoting is
53267 # there to prevent editors from complaining about space-tab.
53268 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53269 # splitting by setting IFS to empty value.)
53274 # Find who we are. Look in the path if we contain no directory separator.
53276 *[\\/]* ) as_myself
=$0 ;;
53277 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53278 for as_dir
in $PATH
53281 test -z "$as_dir" && as_dir
=.
53282 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53288 # We did not find ourselves, most probably we were run as `sh COMMAND'
53289 # in which case we are not to be found in the path.
53290 if test "x$as_myself" = x
; then
53293 if test ! -f "$as_myself"; then
53294 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53295 { (exit 1); exit 1; }
53298 # Work around bugs in pre-3.0 UWIN ksh.
53299 for as_var
in ENV MAIL MAILPATH
53300 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53308 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53309 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53310 LC_TELEPHONE LC_TIME
53312 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53313 eval $as_var=C
; export $as_var
53315 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53319 # Required to use basename.
53320 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53321 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53327 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53328 as_basename
=basename
53334 # Name of the executable.
53335 as_me
=`$as_basename -- "$0" ||
53336 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53337 X"$0" : 'X\(//\)$' \| \
53338 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53340 sed '/^.*\/\([^/][^/]*\)\/*$/{
53359 as_lineno_1
=$LINENO
53360 as_lineno_2
=$LINENO
53361 test "x$as_lineno_1" != "x$as_lineno_2" &&
53362 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53364 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53365 # uniformly replaced by the line number. The first 'sed' inserts a
53366 # line-number line after each line using $LINENO; the second 'sed'
53367 # does the real work. The second script uses 'N' to pair each
53368 # line-number line with the line containing $LINENO, and appends
53369 # trailing '-' during substitution so that $LINENO is not a special
53370 # case at line end.
53371 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53372 # scripts with optimization help from Paolo Bonzini. Blame Lee
53373 # E. McMahon (1931-1989) for sed's syntax. :-)
53385 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53388 ' >$as_me.lineno
&&
53389 chmod +x
"$as_me.lineno" ||
53390 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53391 { (exit 1); exit 1; }; }
53393 # Don't try to exec as it changes $[0], causing all sort of problems
53394 # (the dirname of $[0] is not the place where we might find the
53395 # original and so on. Autoconf is especially sensitive to this).
53396 .
"./$as_me.lineno"
53397 # Exit status is that of the last command.
53402 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53408 ECHO_C
= ECHO_N
= ECHO_T
=
53409 case `echo -n x` in
53411 case `echo 'x\c'` in
53412 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53426 rm -f conf$$ conf$$.exe conf$$.
file
53427 if test -d conf$$.dir
; then
53428 rm -f conf$$.dir
/conf$$.
file
53434 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53436 # ... but there are two gotchas:
53437 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53438 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53439 # In both cases, we have to default to `cp -p'.
53440 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53442 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53447 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53448 rmdir conf$$.dir
2>/dev
/null
53450 if mkdir -p .
2>/dev
/null
; then
53453 test -d .
/-p && rmdir .
/-p
53457 if test -x / >/dev
/null
2>&1; then
53458 as_test_x
='test -x'
53460 if ls -dL / >/dev
/null
2>&1; then
53467 if test -d "$1"; then
53473 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53474 ???[sx]*):;;*)false;;esac;fi
53478 as_executable_p
=$as_test_x
53480 # Sed expression to map a string onto a valid CPP name.
53481 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53483 # Sed expression to map a string onto a valid variable name.
53484 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53489 # Save the log message, to keep $[0] and so on meaningful, and to
53490 # report actual input values of CONFIG_FILES etc. instead of their
53491 # values after options handling.
53493 This file was extended by wxWidgets $as_me 2.9.0, which was
53494 generated by GNU Autoconf 2.61. Invocation command line was
53496 CONFIG_FILES = $CONFIG_FILES
53497 CONFIG_HEADERS = $CONFIG_HEADERS
53498 CONFIG_LINKS = $CONFIG_LINKS
53499 CONFIG_COMMANDS = $CONFIG_COMMANDS
53502 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53507 cat >>$CONFIG_STATUS <<_ACEOF
53508 # Files that config.status was made for.
53509 config_files="$ac_config_files"
53510 config_headers="$ac_config_headers"
53511 config_commands="$ac_config_commands"
53515 cat >>$CONFIG_STATUS <<\_ACEOF
53517 \`$as_me' instantiates files from templates according to the
53518 current configuration.
53520 Usage: $0 [OPTIONS] [FILE]...
53522 -h, --help print this help, then exit
53523 -V, --version print version number and configuration settings, then exit
53524 -q, --quiet do not print progress messages
53525 -d, --debug don't remove temporary files
53526 --recheck update $as_me by reconfiguring in the same conditions
53527 --file=FILE[:TEMPLATE]
53528 instantiate the configuration file FILE
53529 --header=FILE[:TEMPLATE]
53530 instantiate the configuration header FILE
53532 Configuration files:
53535 Configuration headers:
53538 Configuration commands:
53541 Report bugs to <bug-autoconf@gnu.org>."
53544 cat >>$CONFIG_STATUS <<_ACEOF
53546 wxWidgets config.status 2.9.0
53547 configured by $0, generated by GNU Autoconf 2.61,
53548 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53550 Copyright (C) 2006 Free Software Foundation, Inc.
53551 This config.status script is free software; the Free Software Foundation
53552 gives unlimited permission to copy, distribute and modify it."
53559 cat >>$CONFIG_STATUS <<\_ACEOF
53560 # If no file are specified by the user, then we need to provide default
53561 # value. By we need to know if files were specified by the user.
53567 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53568 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53579 # Handling of the options.
53580 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53582 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53583 echo "$ac_cs_version"; exit ;;
53584 --debug | --debu | --deb | --de | --d | -d )
53586 --file | --fil | --fi | --f )
53588 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53589 ac_need_defaults
=false
;;
53590 --header | --heade | --head | --hea )
53592 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53593 ac_need_defaults
=false
;;
53595 # Conflict between --help and --header
53596 { echo "$as_me: error: ambiguous option: $1
53597 Try \`$0 --help' for more information." >&2
53598 { (exit 1); exit 1; }; };;
53599 --help | --hel | -h )
53600 echo "$ac_cs_usage"; exit ;;
53601 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53602 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53605 # This is an error.
53606 -*) { echo "$as_me: error: unrecognized option: $1
53607 Try \`$0 --help' for more information." >&2
53608 { (exit 1); exit 1; }; } ;;
53610 *) ac_config_targets
="$ac_config_targets $1"
53611 ac_need_defaults
=false
;;
53617 ac_configure_extra_args
=
53619 if $ac_cs_silent; then
53621 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53625 cat >>$CONFIG_STATUS <<_ACEOF
53626 if \$ac_cs_recheck; then
53627 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53628 CONFIG_SHELL=$SHELL
53629 export CONFIG_SHELL
53630 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53634 cat >>$CONFIG_STATUS <<\_ACEOF
53638 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53639 ## Running $as_me. ##
53645 cat >>$CONFIG_STATUS <<_ACEOF
53651 infile="$srcdir/include/wx/msw/genrcdefs.h"
53652 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53655 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53656 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53657 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53663 cat >>$CONFIG_STATUS <<\_ACEOF
53665 # Handling of arguments.
53666 for ac_config_target
in $ac_config_targets
53668 case $ac_config_target in
53669 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53670 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53671 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53672 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53673 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53674 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53675 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53676 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53678 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53679 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53680 { (exit 1); exit 1; }; };;
53685 # If the user did not use the arguments to specify the items to instantiate,
53686 # then the envvar interface is used. Set only those that are not.
53687 # We use the long form for the default assignment because of an extremely
53688 # bizarre bug on SunOS 4.1.3.
53689 if $ac_need_defaults; then
53690 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53691 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53692 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53695 # Have a temporary directory for convenience. Make it in the build tree
53696 # simply because there is no reason against having it here, and in addition,
53697 # creating and moving files from /tmp can sometimes cause problems.
53698 # Hook for its removal unless debugging.
53699 # Note that there is a small window in which the directory will not be cleaned:
53700 # after its creation but before its name has been assigned to `$tmp'.
53704 trap 'exit_status=$?
53705 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53707 trap '{ (exit 1); exit 1; }' 1 2 13 15
53709 # Create a (secure) tmp directory for tmp files.
53712 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53713 test -n "$tmp" && test -d "$tmp"
53716 tmp
=.
/conf$$
-$RANDOM
53717 (umask 077 && mkdir "$tmp")
53720 echo "$me: cannot create a temporary directory in ." >&2
53721 { (exit 1); exit 1; }
53725 # Set up the sed scripts for CONFIG_FILES section.
53728 # No need to generate the scripts if there are no CONFIG_FILES.
53729 # This happens for instance when ./config.status config.h
53730 if test -n "$CONFIG_FILES"; then
53737 for ac_last_try
in false false false false false
:; do
53738 cat >conf$
$subs.
sed <<_ACEOF
53739 SHELL!$SHELL$ac_delim
53740 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53741 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53742 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53743 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53744 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53745 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53746 exec_prefix!$exec_prefix$ac_delim
53747 prefix!$prefix$ac_delim
53748 program_transform_name!$program_transform_name$ac_delim
53749 bindir!$bindir$ac_delim
53750 sbindir!$sbindir$ac_delim
53751 libexecdir!$libexecdir$ac_delim
53752 datarootdir!$datarootdir$ac_delim
53753 datadir!$datadir$ac_delim
53754 sysconfdir!$sysconfdir$ac_delim
53755 sharedstatedir!$sharedstatedir$ac_delim
53756 localstatedir!$localstatedir$ac_delim
53757 includedir!$includedir$ac_delim
53758 oldincludedir!$oldincludedir$ac_delim
53759 docdir!$docdir$ac_delim
53760 infodir!$infodir$ac_delim
53761 htmldir!$htmldir$ac_delim
53762 dvidir!$dvidir$ac_delim
53763 pdfdir!$pdfdir$ac_delim
53764 psdir!$psdir$ac_delim
53765 libdir!$libdir$ac_delim
53766 localedir!$localedir$ac_delim
53767 mandir!$mandir$ac_delim
53768 DEFS!$DEFS$ac_delim
53769 ECHO_C!$ECHO_C$ac_delim
53770 ECHO_N!$ECHO_N$ac_delim
53771 ECHO_T!$ECHO_T$ac_delim
53772 LIBS!$LIBS$ac_delim
53773 build_alias!$build_alias$ac_delim
53774 host_alias!$host_alias$ac_delim
53775 target_alias!$target_alias$ac_delim
53776 build!$build$ac_delim
53777 build_cpu!$build_cpu$ac_delim
53778 build_vendor!$build_vendor$ac_delim
53779 build_os!$build_os$ac_delim
53780 host!$host$ac_delim
53781 host_cpu!$host_cpu$ac_delim
53782 host_vendor!$host_vendor$ac_delim
53783 host_os!$host_os$ac_delim
53784 target!$target$ac_delim
53785 target_cpu!$target_cpu$ac_delim
53786 target_vendor!$target_vendor$ac_delim
53787 target_os!$target_os$ac_delim
53788 wx_top_builddir!$wx_top_builddir$ac_delim
53790 CFLAGS!$CFLAGS$ac_delim
53791 LDFLAGS!$LDFLAGS$ac_delim
53792 CPPFLAGS!$CPPFLAGS$ac_delim
53793 ac_ct_CC!$ac_ct_CC$ac_delim
53794 EXEEXT!$EXEEXT$ac_delim
53795 OBJEXT!$OBJEXT$ac_delim
53797 GREP!$GREP$ac_delim
53798 EGREP!$EGREP$ac_delim
53800 CXXFLAGS!$CXXFLAGS$ac_delim
53801 ac_ct_CXX!$ac_ct_CXX$ac_delim
53803 subdirs!$subdirs$ac_delim
53804 PKG_CONFIG!$PKG_CONFIG$ac_delim
53805 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53806 GTK_LIBS!$GTK_LIBS$ac_delim
53807 GTK_CONFIG!$GTK_CONFIG$ac_delim
53808 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53809 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53810 XMKMF!$XMKMF$ac_delim
53811 X_CFLAGS!$X_CFLAGS$ac_delim
53812 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53813 X_LIBS!$X_LIBS$ac_delim
53814 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53815 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53816 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53817 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53818 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53819 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53820 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53821 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53822 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53823 LIBICONV!$LIBICONV$ac_delim
53824 SDL_CONFIG!$SDL_CONFIG$ac_delim
53825 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53826 SDL_LIBS!$SDL_LIBS$ac_delim
53827 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53828 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53829 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53830 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53831 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53832 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53833 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53834 HILDON_LIBS!$HILDON_LIBS$ac_delim
53835 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53838 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53840 elif $ac_last_try; then
53841 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53842 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53843 { (exit 1); exit 1; }; }
53845 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53849 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53850 if test -n "$ac_eof"; then
53851 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53852 ac_eof
=`expr $ac_eof + 1`
53855 cat >>$CONFIG_STATUS <<_ACEOF
53856 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53857 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53860 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53861 s/^/s,@/; s/!/@,|#_!!_#|/
53864 s/'"$ac_delim"'$/,g/; t
53866 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53867 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53868 rm -f conf$
$subs.
sed
53869 cat >>$CONFIG_STATUS <<_ACEOF
53875 for ac_last_try
in false false false false false
:; do
53876 cat >conf$
$subs.
sed <<_ACEOF
53877 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53878 GST_CFLAGS!$GST_CFLAGS$ac_delim
53879 GST_LIBS!$GST_LIBS$ac_delim
53880 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53881 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53882 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53883 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53884 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53885 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53886 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53887 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53888 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53889 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53890 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53891 VENDOR!$VENDOR$ac_delim
53892 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53893 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53894 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53895 WXUNIV!$WXUNIV$ac_delim
53896 MONOLITHIC!$MONOLITHIC$ac_delim
53897 USE_PLUGINS!$USE_PLUGINS$ac_delim
53898 CXXWARNINGS!$CXXWARNINGS$ac_delim
53899 EXTRALIBS!$EXTRALIBS$ac_delim
53900 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53901 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53902 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53903 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53904 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53905 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53906 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53907 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53908 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53909 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53910 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53911 UNICODE!$UNICODE$ac_delim
53912 BUILD!$BUILD$ac_delim
53913 DEBUG_INFO!$DEBUG_INFO$ac_delim
53914 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53915 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53916 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53917 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53918 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53919 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53920 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53921 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53922 RANLIB!$RANLIB$ac_delim
53923 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53924 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53925 INSTALL_DATA!$INSTALL_DATA$ac_delim
53926 LN_S!$LN_S$ac_delim
53927 SET_MAKE!$SET_MAKE$ac_delim
53928 MAKE_SET!$MAKE_SET$ac_delim
53929 AROPTIONS!$AROPTIONS$ac_delim
53930 STRIP!$STRIP$ac_delim
53932 INSTALL_DIR!$INSTALL_DIR$ac_delim
53933 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53934 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53935 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53936 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53937 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53938 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53939 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53940 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53941 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53942 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53943 SO_SUFFIX!$SO_SUFFIX$ac_delim
53944 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53945 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53946 LIBPREFIX!$LIBPREFIX$ac_delim
53947 LIBEXT!$LIBEXT$ac_delim
53948 DLLPREFIX!$DLLPREFIX$ac_delim
53949 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53950 dlldir!$dlldir$ac_delim
53951 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53952 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53953 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53954 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53955 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53956 PIC_FLAG!$PIC_FLAG$ac_delim
53957 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53958 USE_SOVERSION!$USE_SOVERSION$ac_delim
53959 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53960 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53961 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53962 USE_MACVERSION!$USE_MACVERSION$ac_delim
53963 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53964 SONAME_FLAG!$SONAME_FLAG$ac_delim
53965 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53966 BK_DEPS!$BK_DEPS$ac_delim
53967 WINDRES!$WINDRES$ac_delim
53969 SETFILE!$SETFILE$ac_delim
53970 GCC_PCH!$GCC_PCH$ac_delim
53971 ICC_PCH!$ICC_PCH$ac_delim
53972 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53973 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53976 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53978 elif $ac_last_try; then
53979 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53980 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53981 { (exit 1); exit 1; }; }
53983 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53987 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53988 if test -n "$ac_eof"; then
53989 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53990 ac_eof
=`expr $ac_eof + 1`
53993 cat >>$CONFIG_STATUS <<_ACEOF
53994 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53995 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53998 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53999 s/^/s,@/; s/!/@,|#_!!_#|/
54002 s/'"$ac_delim"'$/,g/; t
54004 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54005 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54006 rm -f conf$
$subs.
sed
54007 cat >>$CONFIG_STATUS <<_ACEOF
54013 for ac_last_try
in false false false false false
:; do
54014 cat >conf$
$subs.
sed <<_ACEOF
54015 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54016 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54017 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54018 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54019 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54020 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54021 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54022 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54023 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54024 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54025 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54026 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54027 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54028 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54029 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54030 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54031 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54032 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54033 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54034 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54035 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54036 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54037 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54038 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54039 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54040 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54041 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54042 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54043 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54044 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54045 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54046 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54047 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54048 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54049 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54050 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54051 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54052 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54053 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54054 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54055 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54056 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54057 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54058 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54059 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54060 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54061 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54062 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54063 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54064 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54065 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54066 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54067 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54068 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54069 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54070 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54071 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54072 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54073 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54074 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54075 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54076 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54077 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54078 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54079 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54080 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54081 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54082 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54083 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54084 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54085 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54086 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54087 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54088 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54089 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54090 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54091 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54092 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54093 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54094 COND_SHARED_0!$COND_SHARED_0$ac_delim
54095 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54096 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54097 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54098 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54099 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54100 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54101 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54102 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54103 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54104 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54105 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54106 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54107 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54108 COND_SHARED_1!$COND_SHARED_1$ac_delim
54109 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54110 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54111 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54114 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54116 elif $ac_last_try; then
54117 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54118 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54119 { (exit 1); exit 1; }; }
54121 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54125 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54126 if test -n "$ac_eof"; then
54127 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54128 ac_eof
=`expr $ac_eof + 1`
54131 cat >>$CONFIG_STATUS <<_ACEOF
54132 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54133 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54136 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54137 s/^/s,@/; s/!/@,|#_!!_#|/
54140 s/'"$ac_delim"'$/,g/; t
54142 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54143 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54144 rm -f conf$
$subs.
sed
54145 cat >>$CONFIG_STATUS <<_ACEOF
54151 for ac_last_try
in false false false false false
:; do
54152 cat >conf$
$subs.
sed <<_ACEOF
54153 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54154 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54155 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54156 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54157 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54158 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54159 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54160 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54161 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54162 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54163 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54164 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54165 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54166 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54167 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54168 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54169 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54170 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54171 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54172 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54173 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54174 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54175 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54176 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54177 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54178 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54179 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54180 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54181 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54182 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54183 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54184 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54185 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54186 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54187 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54188 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54189 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54190 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54191 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54192 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54193 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54194 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54195 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54196 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54197 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54198 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54199 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54200 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54201 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54202 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54203 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54204 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54205 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54206 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54207 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54208 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54209 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54210 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54211 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54212 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54213 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54214 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54215 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54216 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54217 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54218 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54219 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54220 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54221 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54222 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54223 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54224 DEREZ!$DEREZ$ac_delim
54225 SHARED!$SHARED$ac_delim
54226 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54227 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54228 USE_GUI!$USE_GUI$ac_delim
54229 AFMINSTALL!$AFMINSTALL$ac_delim
54230 WIN32INSTALL!$WIN32INSTALL$ac_delim
54231 TOOLKIT!$TOOLKIT$ac_delim
54232 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54233 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54234 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54235 cross_compiling!$cross_compiling$ac_delim
54236 WIDGET_SET!$WIDGET_SET$ac_delim
54237 WX_RELEASE!$WX_RELEASE$ac_delim
54238 WX_VERSION!$WX_VERSION$ac_delim
54239 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54240 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54241 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54242 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54243 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54244 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54245 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54246 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54247 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54248 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54249 EXE_LINKER!$EXE_LINKER$ac_delim
54252 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54254 elif $ac_last_try; then
54255 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54256 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54257 { (exit 1); exit 1; }; }
54259 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54263 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54264 if test -n "$ac_eof"; then
54265 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54266 ac_eof
=`expr $ac_eof + 1`
54269 cat >>$CONFIG_STATUS <<_ACEOF
54270 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54271 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54274 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54275 s/^/s,@/; s/!/@,|#_!!_#|/
54278 s/'"$ac_delim"'$/,g/; t
54280 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54281 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54282 rm -f conf$
$subs.
sed
54283 cat >>$CONFIG_STATUS <<_ACEOF
54289 for ac_last_try
in false false false false false
:; do
54290 cat >conf$
$subs.
sed <<_ACEOF
54291 GUIDIST!$GUIDIST$ac_delim
54292 DISTDIR!$DISTDIR$ac_delim
54293 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54294 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54295 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54296 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54297 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54298 RESCOMP!$RESCOMP$ac_delim
54299 RESFLAGS!$RESFLAGS$ac_delim
54300 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54301 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54302 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54303 LIBWXMACRES!$LIBWXMACRES$ac_delim
54304 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54305 MACSETFILE!$MACSETFILE$ac_delim
54307 DLLTOOL!$DLLTOOL$ac_delim
54308 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54309 LIBOBJS!$LIBOBJS$ac_delim
54310 LTLIBOBJS!$LTLIBOBJS$ac_delim
54313 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
54315 elif $ac_last_try; then
54316 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54317 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54318 { (exit 1); exit 1; }; }
54320 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54324 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54325 if test -n "$ac_eof"; then
54326 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54327 ac_eof
=`expr $ac_eof + 1`
54330 cat >>$CONFIG_STATUS <<_ACEOF
54331 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54335 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54336 s/^/s,@/; s/!/@,|#_!!_#|/
54339 s/'"$ac_delim"'$/,g/; t
54341 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54342 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54343 rm -f conf$
$subs.
sed
54344 cat >>$CONFIG_STATUS <<_ACEOF
54351 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54352 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54353 # trailing colons and then remove the whole line if VPATH becomes empty
54354 # (actually we leave an empty line to preserve line numbers).
54355 if test "x$srcdir" = x.
; then
54356 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54357 s/:*\$(srcdir):*/:/
54358 s/:*\${srcdir}:*/:/
54360 s/^\([^=]*=[ ]*\):*/\1/
54366 cat >>$CONFIG_STATUS <<\_ACEOF
54367 fi # test -n "$CONFIG_FILES"
54370 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54373 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54375 case $ac_mode$ac_tag in
54377 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54378 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54379 { (exit 1); exit 1; }; };;
54380 :[FH
]-) ac_tag
=-:-;;
54381 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54398 -) ac_f
="$tmp/stdin";;
54399 *) # Look for the file first in the build tree, then in the source tree
54400 # (if the path is not absolute). The absolute path cannot be DOS-style,
54401 # because $ac_f cannot contain `:'.
54405 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54407 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54408 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54409 { (exit 1); exit 1; }; };;
54411 ac_file_inputs
="$ac_file_inputs $ac_f"
54414 # Let's still pretend it is `configure' which instantiates (i.e., don't
54415 # use $as_me), people would be surprised to read:
54416 # /* config.h. Generated by config.status. */
54417 configure_input
="Generated from "`IFS=:
54418 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54419 if test x
"$ac_file" != x
-; then
54420 configure_input
="$ac_file. $configure_input"
54421 { echo "$as_me:$LINENO: creating $ac_file" >&5
54422 echo "$as_me: creating $ac_file" >&6;}
54426 *:-:* | *:-) cat >"$tmp/stdin";;
54431 ac_dir
=`$as_dirname -- "$ac_file" ||
54432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54433 X"$ac_file" : 'X\(//\)[^/]' \| \
54434 X"$ac_file" : 'X\(//\)$' \| \
54435 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54441 /^X\(\/\/\)[^/].*/{
54456 -*) as_dir
=.
/$as_dir;;
54458 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54462 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54463 *) as_qdir
=$as_dir;;
54465 as_dirs
="'$as_qdir' $as_dirs"
54466 as_dir
=`$as_dirname -- "$as_dir" ||
54467 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54468 X"$as_dir" : 'X\(//\)[^/]' \| \
54469 X"$as_dir" : 'X\(//\)$' \| \
54470 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54476 /^X\(\/\/\)[^/].*/{
54489 test -d "$as_dir" && break
54491 test -z "$as_dirs" || eval "mkdir $as_dirs"
54492 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54493 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54494 { (exit 1); exit 1; }; }; }
54498 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54500 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54501 # A ".." for each directory in $ac_dir_suffix.
54502 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54503 case $ac_top_builddir_sub in
54504 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54505 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54508 ac_abs_top_builddir
=$ac_pwd
54509 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54510 # for backward compatibility:
54511 ac_top_builddir
=$ac_top_build_prefix
54514 .
) # We are building in place.
54516 ac_top_srcdir
=$ac_top_builddir_sub
54517 ac_abs_top_srcdir
=$ac_pwd ;;
54518 [\\/]* | ?
:[\\/]* ) # Absolute name.
54519 ac_srcdir
=$srcdir$ac_dir_suffix;
54520 ac_top_srcdir
=$srcdir
54521 ac_abs_top_srcdir
=$srcdir ;;
54522 *) # Relative name.
54523 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54524 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54525 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54527 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54537 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54538 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54542 cat >>$CONFIG_STATUS <<\_ACEOF
54543 # If the template does not know about datarootdir, expand it.
54544 # FIXME: This hack should be removed a few years after 2.60.
54545 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54547 case `sed -n '/datarootdir/ {
54556 ' $ac_file_inputs` in
54557 *datarootdir
*) ac_datarootdir_seen
=yes;;
54558 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54559 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54560 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54562 cat >>$CONFIG_STATUS <<_ACEOF
54563 ac_datarootdir_hack='
54564 s&@datadir@&$datadir&g
54565 s&@docdir@&$docdir&g
54566 s&@infodir@&$infodir&g
54567 s&@localedir@&$localedir&g
54568 s&@mandir@&$mandir&g
54569 s&\\\${datarootdir}&$datarootdir&g' ;;
54573 # Neutralize VPATH when `$srcdir' = `.'.
54574 # Shell code in configure.ac might set extrasub.
54575 # FIXME: do we really want to maintain this feature?
54576 cat >>$CONFIG_STATUS <<_ACEOF
54580 cat >>$CONFIG_STATUS <<\_ACEOF
54582 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54583 s
&@configure_input@
&$configure_input&;t t
54584 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54585 s
&@srcdir@
&$ac_srcdir&;t t
54586 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54587 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54588 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54589 s
&@builddir@
&$ac_builddir&;t t
54590 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54591 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54592 s
&@INSTALL@
&$ac_INSTALL&;t t
54593 $ac_datarootdir_hack
54594 " $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
54596 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54597 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54598 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54599 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54600 which seems to be undefined. Please make sure it is defined." >&5
54601 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54602 which seems to be undefined. Please make sure it is defined." >&2;}
54606 -) cat "$tmp/out"; rm -f "$tmp/out";;
54607 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54616 # Transform confdefs.h into a sed script `conftest.defines', that
54617 # substitutes the proper values into config.h.in to produce config.h.
54618 rm -f conftest.defines conftest.
tail
54619 # First, append a space to every undef/define line, to ease matching.
54620 echo 's/$/ /' >conftest.defines
54621 # Then, protect against being on the right side of a sed subst, or in
54622 # an unquoted here document, in config.status. If some macros were
54623 # called several times there might be several #defines for the same
54624 # symbol, which is useless. But do not sort them, since the last
54625 # AC_DEFINE must be honored.
54626 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54627 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54628 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54629 # PARAMS is the parameter list in the macro definition--in most cases, it's
54630 # just an empty string.
54631 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54632 ac_dB
='\\)[ (].*,\\1define\\2'
54640 s/^[ ]*#[ ]*define[ ][ ]*//
54645 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54646 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54647 ' >>conftest.defines
54649 # Remove the space that was appended to ease matching.
54650 # Then replace #undef with comments. This is necessary, for
54651 # example, in the case of _POSIX_SOURCE, which is predefined and required
54652 # on some systems where configure will not decide to define it.
54653 # (The regexp can be short, since the line contains either #define or #undef.)
54655 s,^[ #]*u.*,/* & */,' >>conftest.defines
54657 # Break up conftest.defines:
54658 ac_max_sed_lines
=50
54660 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54661 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54662 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54664 ac_in
='$ac_file_inputs'
54665 ac_out
='"$tmp/out1"'
54666 ac_nxt
='"$tmp/out2"'
54670 # Write a here document:
54671 cat >>$CONFIG_STATUS <<_ACEOF
54672 # First, check the format of the line:
54673 cat >"\$tmp/defines.sed" <<\\CEOF
54674 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54675 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54679 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54681 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54682 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54683 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54684 grep . conftest.
tail >/dev
/null
|| break
54685 rm -f conftest.defines
54686 mv conftest.
tail conftest.defines
54688 rm -f conftest.defines conftest.
tail
54690 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54691 cat >>$CONFIG_STATUS <<\_ACEOF
54692 if test x
"$ac_file" != x
-; then
54693 echo "/* $configure_input */" >"$tmp/config.h"
54694 cat "$ac_result" >>"$tmp/config.h"
54695 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54696 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54697 echo "$as_me: $ac_file is unchanged" >&6;}
54700 mv "$tmp/config.h" $ac_file
54703 echo "/* $configure_input */"
54709 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54710 echo "$as_me: executing $ac_file commands" >&6;}
54715 case $ac_file$ac_mode in
54717 mkdir -p $outdir &&
54718 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54720 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54721 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54722 "wx-config":C
) rm -f wx
-config
54723 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54730 { (exit 0); exit 0; }
54732 chmod +x
$CONFIG_STATUS
54733 ac_clean_files
=$ac_clean_files_save
54736 # configure is writing to config.log, and then calls config.status.
54737 # config.status does its own redirection, appending to config.log.
54738 # Unfortunately, on DOS this fails, as config.log is still kept open
54739 # by configure, so config.status won't be able to write to it; its
54740 # output is simply discarded. So we exec the FD to /dev/null,
54741 # effectively closing config.log, so it can be properly (re)opened and
54742 # appended to by config.status. When coming back to configure, we
54743 # need to make the FD available again.
54744 if test "$no_create" != yes; then
54746 ac_config_status_args
=
54747 test "$silent" = yes &&
54748 ac_config_status_args
="$ac_config_status_args --quiet"
54750 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54752 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54753 # would make configure fail if this is the last instruction.
54754 $ac_cs_success || { (exit 1); exit 1; }
54758 # CONFIG_SUBDIRS section.
54760 if test "$no_recursion" != yes; then
54762 # Remove --cache-file and --srcdir arguments so they do not pile up.
54763 ac_sub_configure_args
=
54765 eval "set x $ac_configure_args"
54769 if test -n "$ac_prev"; then
54774 -cache-file | --cache-file | --cache-fil | --cache-fi \
54775 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54776 ac_prev
=cache_file
;;
54777 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54778 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54781 --config-cache | -C)
54783 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54785 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54787 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54789 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54793 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54795 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54799 # Always prepend --prefix to ensure using the same prefix
54800 # in subdir configurations.
54801 ac_arg
="--prefix=$prefix"
54803 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54805 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54808 if test "$silent" = yes; then
54809 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54813 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54815 # Do not complain, so a configure script can configure whichever
54816 # parts of a large source tree are present.
54817 test -d "$srcdir/$ac_dir" || continue
54819 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54820 echo "$as_me:$LINENO: $ac_msg" >&5
54824 -*) as_dir
=.
/$as_dir;;
54826 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54830 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54831 *) as_qdir
=$as_dir;;
54833 as_dirs
="'$as_qdir' $as_dirs"
54834 as_dir
=`$as_dirname -- "$as_dir" ||
54835 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54836 X"$as_dir" : 'X\(//\)[^/]' \| \
54837 X"$as_dir" : 'X\(//\)$' \| \
54838 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54844 /^X\(\/\/\)[^/].*/{
54857 test -d "$as_dir" && break
54859 test -z "$as_dirs" || eval "mkdir $as_dirs"
54860 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54861 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54862 { (exit 1); exit 1; }; }; }
54866 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54868 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54869 # A ".." for each directory in $ac_dir_suffix.
54870 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54871 case $ac_top_builddir_sub in
54872 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54873 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54876 ac_abs_top_builddir
=$ac_pwd
54877 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54878 # for backward compatibility:
54879 ac_top_builddir
=$ac_top_build_prefix
54882 .
) # We are building in place.
54884 ac_top_srcdir
=$ac_top_builddir_sub
54885 ac_abs_top_srcdir
=$ac_pwd ;;
54886 [\\/]* | ?
:[\\/]* ) # Absolute name.
54887 ac_srcdir
=$srcdir$ac_dir_suffix;
54888 ac_top_srcdir
=$srcdir
54889 ac_abs_top_srcdir
=$srcdir ;;
54890 *) # Relative name.
54891 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54892 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54893 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54895 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54900 # Check for guested configure; otherwise get Cygnus style configure.
54901 if test -f "$ac_srcdir/configure.gnu"; then
54902 ac_sub_configure
=$ac_srcdir/configure.gnu
54903 elif test -f "$ac_srcdir/configure"; then
54904 ac_sub_configure
=$ac_srcdir/configure
54905 elif test -f "$ac_srcdir/configure.in"; then
54906 # This should be Cygnus configure.
54907 ac_sub_configure
=$ac_aux_dir/configure
54909 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54910 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54914 # The recursion is here.
54915 if test -n "$ac_sub_configure"; then
54916 # Make the cache file name correct relative to the subdirectory.
54917 case $cache_file in
54918 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54919 *) # Relative name.
54920 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54923 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54924 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54925 # The eval makes quoting arguments work.
54926 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54927 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54928 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54929 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54930 { (exit 1); exit 1; }; }
54939 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54941 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54942 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54944 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54945 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54946 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54947 if test "$wxUSE_UNICODE" = "yes"; then
54948 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54949 echo " (using UTF-8)"
54951 echo " (using wchar_t)"
54957 echo " What level of wxWidgets compatibility should be enabled?"
54958 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54959 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54961 echo " Which libraries should wxWidgets use?"
54962 echo " STL ${wxUSE_STL}"
54963 echo " jpeg ${wxUSE_LIBJPEG-none}"
54964 echo " png ${wxUSE_LIBPNG-none}"
54965 echo " regex ${wxUSE_REGEX}"
54966 echo " tiff ${wxUSE_LIBTIFF-none}"
54967 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54968 echo " xpm ${wxUSE_LIBXPM-none}"
54970 echo " zlib ${wxUSE_ZLIB}"
54971 echo " odbc ${wxUSE_ODBC}"
54972 echo " expat ${wxUSE_EXPAT}"
54973 echo " libmspack ${wxUSE_LIBMSPACK}"
54974 echo " sdl ${wxUSE_LIBSDL}"